/* Tablou.md — cookie banner corrections
   The plugin lets "Accept" span a full row while "Reject" stays half-width, which makes
   refusing visibly harder than accepting. Consent has to be as easy to refuse as to give,
   so the two decisions get identical buttons and the tertiary action drops below them. */
.cookieadmin_consent_btns {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.cookieadmin_consent_btns .cookieadmin_reject_btn,
.cookieadmin_consent_btns .cookieadmin_accept_btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  order: 1;
}
.cookieadmin_consent_btns .cookieadmin_customize_btn {
  flex: 1 1 100% !important;
  width: 100% !important;
  order: 2;
}
.cookieadmin_btn {
  font-family: inherit !important;
  font-size: 14px !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  cursor: pointer;
}
.cookieadmin_consent_btns .cookieadmin_customize_btn {
  border: 1px solid #d8d2c8 !important;
}

/* Legal pages — the processing and cookie inventories are tables, and they have to stay
   readable on a phone without pushing the page sideways. */
.tw-legal__table {
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid #ece9e2;
  border-radius: 12px;
}
.tw-legal__table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.tw-legal__table th,
.tw-legal__table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #f0ece5;
}
.tw-legal__table th {
  background: #f6f1e8;
  font-weight: 600;
  color: #1c1a17;
  white-space: nowrap;
}
.tw-legal__table tr:last-child td { border-bottom: 0; }
.tw-legal__table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: #f6f1e8;
  padding: 1px 5px;
  border-radius: 4px;
}
.tw-legal__note {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f6f1e8;
  border-left: 3px solid #c45a2f;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}
.tw-legal__meta {
  font-size: 14px;
  color: #8a8177;
}

/* Footer legal row.
   The links kept a cream colour at 55% opacity from when the footer had a dark background.
   On the current light footer that renders as near-invisible ghost text — and these are the
   links a visitor must be able to find. Give them real contrast and equal weight. */
.ft__bottom a,
.ft__bottom .tw-cookie-prefs {
  color: #454c58 !important;
  opacity: 1 !important;
  font-size: 14px !important;
  line-height: 1.4;
  text-decoration: none;
}
.ft__bottom a:hover,
.ft__bottom a:focus-visible,
.ft__bottom .tw-cookie-prefs:hover,
.ft__bottom .tw-cookie-prefs:focus-visible {
  color: #1c1a17 !important;
  text-decoration: underline;
}
.ft__bottom .tw-cookie-prefs { order: 9; } /* sits after the policy links, not between them */

/* Footer entry point — consent must be withdrawable as easily as it was given. */
.tw-cookie-prefs {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  opacity: .85;
}
.tw-cookie-prefs:hover {
  opacity: 1;
  text-decoration: underline;
}
