/* Shared styles used by the PHP header and footer includes. */
.header a,
.footer a { text-underline-offset: 3px; }
.header .nav { align-items: center; }
.header .nav .plan {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 7px;
  background: #c92745;
  color: #fff;
  text-decoration: none;
}
.header .nav .plan:hover { background: #a91f3a; color: #fff; }
.header a:focus-visible,
.footer a:focus-visible,
.menu:focus-visible,
.privacy-settings:focus-visible,
.analytics-consent button:focus-visible { outline: 3px solid #287a69; outline-offset: 3px; }
.footer { background: #28252d; color: #fff; padding: 26px 0 22px; }
.footin { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footlogo { display: inline-flex; align-items: center; }
.footlogo img { display: block; width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; }
.footlinks { display: flex; align-items: center; justify-content: flex-end; gap: 12px 22px; flex-wrap: wrap; }
.footlinks a { color: #fff; font-size: 12px; font-weight: 650; text-decoration: none; }
.footlinks a:hover { color: #ffd9df; text-decoration: underline; }
.disclosure { border-top: 1px solid #514b54; margin-top: 20px; padding-top: 13px; max-width: 900px; color: #e3dce1; font-size: 12px; line-height: 1.6; }
.disclosure a { color: #fff; }
.privacy-settings { padding: 7px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent[hidden] { display: none; }
.analytics-consent { position: relative; width: min(1000px, calc(100% - 32px)); margin: 20px auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 22px; border: 1px solid #ead9dc; border-radius: 14px; background: #fffaf8; color: #24232b; box-shadow: 0 8px 28px #21182018, 0 2px 7px #2118200d; }
.analytics-consent-copy strong { display: block; font-size: 15px; line-height: 1.35; }
.analytics-consent-copy p { margin: 5px 0 0; color: #5b5862; font-size: 13px; line-height: 1.5; }
.analytics-consent-copy a { color: #9d1b34; }
.analytics-consent-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.analytics-consent-actions button { min-height: 44px; padding: 9px 13px; border: 1px solid #c92745; border-radius: 8px; background: #fff; color: #9d1b34; font: inherit; font-size: 12px; font-weight: 750; line-height: 1.3; cursor: pointer; }
.analytics-consent-actions button:hover { background: #fff4f5; }
.analytics-consent-actions button[data-analytics-choice="accept"] { background: #c92745; color: #fff; }
.analytics-consent-actions button[data-analytics-choice="accept"]:hover { background: #a91f3a; }
@media (max-width: 700px) {
  .footin { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footlinks { justify-content: flex-start; gap: 8px 18px; }
  .disclosure { margin-top: 16px; }
}
@media (max-width: 620px) {
  .analytics-consent { width: calc(100% - 24px); grid-template-columns: 1fr; gap: 12px; padding: 16px; border-radius: 12px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .analytics-consent-actions button { min-width: 0; padding: 9px 7px; font-size: 12px; }
}
