/* Additions to Marc's training pages (/training, /catalogue), loaded after his
   training.css by scripts/training-import.mjs. His palette, his classes; only
   what the site needs on top: footer links, cookie banner, phone CTA. */

/* footer: Marc's line + legal links */
.aet-foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.aet-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.aet-foot-nav a { color: var(--aet-muted); text-decoration: none; }
.aet-foot-nav a:hover { color: var(--aet-ink); text-decoration: underline; text-underline-offset: 3px; }

/* cookie banner: same text and stored choice as the rest of aetheis.com */
.aet-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; display: flex; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 16px 18px; background: #fff; border: 1px solid var(--aet-line); border-radius: var(--aet-radius); box-shadow: 0 18px 48px rgba(15, 23, 42, .18); }
.aet-cookie[hidden] { display: none; }
.aet-cookie p { margin: 0; font-family: var(--aet-serif); font-size: 14px; line-height: 1.5; color: var(--aet-body); }
.aet-cookie p a { text-underline-offset: 3px; }
.aet-cookie-actions { display: flex; flex: none; gap: 8px; }
.aet-cookie button { border: 0; border-radius: 10px; padding: 10px 16px; font: 700 14px/1.2 var(--aet-sans); cursor: pointer; }
.aet-cookie-no { background: transparent; color: var(--aet-muted); }
.aet-cookie-no:hover { color: var(--aet-ink); }
.aet-cookie-yes { background: var(--aet-blue); color: #fff; }
.aet-cookie-yes:hover { background: var(--aet-blue-dark); }
.aet-cookie button:focus-visible, .aet-mcta:focus-visible { outline: 2px solid var(--aet-blue); outline-offset: 2px; }
@media (max-width: 640px) {
  .aet-cookie { flex-direction: column; align-items: stretch; }
  .aet-cookie-actions { justify-content: flex-end; }
}

/* catalogue page, phones and tablets: jump straight to the form */
.aet-mcta { display: none; }
@media (max-width: 960px) {
  .aet-mcta { display: flex; width: 100%; margin-top: 22px; }
}
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Marc's training.css stacks the course layout with `1fr`, whose minimum is the
   content's width: on phones the programme table pushed the column (and the
   price card) 14px past the right margin. minmax(0, 1fr) keeps it in the gutter;
   the table already scrolls inside .aet-table-wrap. */
@media (max-width: 960px) {
  .aet-layout { grid-template-columns: minmax(0, 1fr); }
}
