/* Shared editorial controls. Course cards and image framing stay in styles.css. */
.button{min-height:48px;padding:13px 22px;border-radius:5px;line-height:1.4;box-shadow:none;transition:background-color 200ms ease,border-color 200ms ease,color 200ms ease}
.button:hover{transform:none;box-shadow:none}
.button:active{transform:translateY(1px)}
.button-dark{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:none}
.button-dark:hover{background:#30343a;border-color:#30343a;box-shadow:none}
.button-outline{background:var(--sand);color:var(--ink);border-color:var(--ink)}
.button-outline:hover{background:var(--cream);color:var(--ink);border-color:var(--gold)}
.button-whatsapp{--button-accent:#d3ae57;gap:14px;max-width:100%;text-align:left}
.button-icon{display:flex;align-items:center;align-self:stretch;flex-shrink:0;border-right:1px solid var(--button-accent);padding-right:14px}
.button-whatsapp .wa-icon{width:21px;height:21px;flex-basis:21px;margin:auto}
.button-label{min-width:0;flex:1}
.button-chevron{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:var(--button-accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform 200ms ease}
.button-whatsapp:hover .button-chevron{transform:translateX(2px)}
.button-outline.button-whatsapp{--button-accent:var(--gold)}
.button-whatsapp:focus-visible,.button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.whatsapp-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;width:fit-content;color:#856000;font-weight:600;font-size:14px;line-height:1.5;text-underline-offset:5px;text-decoration-thickness:1px;transition:color 200ms ease}
.whatsapp-link:hover{color:var(--ink);text-decoration:underline}
.whatsapp-link:active{color:var(--gold)}
.editorial-footer{background:var(--sand);border-top:1px solid var(--line);padding:34px 0}
.editorial-footer .footer-grid{grid-template-columns:minmax(0,1fr) auto;gap:24px}
.editorial-footer .footer-contact{padding:0;border:0;align-items:flex-start;font-family:var(--sans);gap:0}
.editorial-footer .footer-contact a{gap:9px;color:#856000}
.editorial-footer .footer-contact a:hover{color:var(--ink)}
.editorial-footer .footer-contact span{font-size:12px}
.editorial-footer .footer-legal{justify-self:start;text-align:left}
.editorial-footer .footer-legal p{font-size:12px;line-height:1.6;color:var(--ink)}
.editorial-footer .footer-legal nav{justify-content:flex-start;gap:0;margin-top:6px;flex-wrap:wrap}
.editorial-footer .footer-legal a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:0;font-size:12px;text-underline-offset:5px}
.editorial-footer .footer-legal a+a:before{content:"";height:12px;width:1px;background:var(--line);margin-left:-12px;margin-right:12px}
.editorial-footer .footer-legal a:hover{text-decoration:underline;color:#856000}
.footer-back-to-top{display:grid;place-items:center;justify-self:end;width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;background:transparent;color:var(--gold);transition:background-color 200ms ease,color 200ms ease}
.footer-back-to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.footer-back-to-top:hover{background:var(--cream);color:var(--ink)}
.footer-back-to-top:active{background:#e8e1d1}
.development-credit{width:min(1416px,calc(100% - 48px));margin:24px auto 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.5;text-align:center}
.development-credit a{color:inherit;text-decoration:none;text-underline-offset:3px;transition:color 180ms ease}
.development-credit a:hover{color:var(--gold);text-decoration:underline}
.form-privacy{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
.form-privacy a{text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
.gallery-arrow{min-width:44px;min-height:44px}
.lightbox-close,.close-button,.lead-modal-close{min-width:44px;min-height:44px}
.text-link,.back-link{min-height:44px}
summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.legal-header .header-inner{justify-content:space-between;gap:24px}
.legal-header nav{display:flex;align-items:center;gap:24px;font-size:14px}
.legal-header nav>a:not(.button){display:inline-flex;align-items:center;min-height:44px}
.legal-header nav>a:not(.button):hover{color:var(--gold)}
.legal-page{max-width:840px;padding-block:70px 90px}
.legal-page h1{font-size:clamp(38px,5vw,64px);line-height:1.08;letter-spacing:-.035em;margin:0 0 20px}
.legal-date{font-size:13px;color:var(--muted);margin:0 0 34px}
.legal-intro{font-family:var(--serif);font-size:22px;line-height:1.6}
.legal-page section{padding-top:28px;margin-top:28px;border-top:1px solid var(--line);scroll-margin-top:100px}
.legal-page h2{font-size:28px;line-height:1.2;margin-bottom:16px;text-transform:none;letter-spacing:normal}
.legal-page p,.legal-page li{line-height:1.8}
.legal-page li+li{margin-top:8px}
.legal-page a,.legal-page .eyebrow{color:#856000}
.legal-page a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.legal-page ul{padding-left:22px}
.legal-page .legal-contact{margin-top:28px;padding:22px 24px;background:var(--cream);border-left:2px solid var(--gold)}
@media(max-width:1100px){.header-cta.button-whatsapp{padding-inline:16px;gap:10px}.header-cta .button-icon{padding-right:10px}}
@media(max-width:760px){
  .button-whatsapp{padding-inline:18px;gap:12px}
  .button-icon{padding-right:12px}
  .editorial-footer{padding:28px 0}
  .editorial-footer .footer-grid{grid-template-columns:1fr;gap:16px;text-align:center}
  .editorial-footer .footer-contact{align-items:center}
  .editorial-footer .footer-legal{justify-self:center;text-align:center}
  .editorial-footer .footer-legal nav{justify-content:center}
  .footer-back-to-top{justify-self:center}
  .development-credit{width:min(100% - 28px,680px);margin-top:18px;padding-top:16px;font-size:11px}
  .legal-header nav{gap:12px}
  .legal-header .header-cta{display:none}
  .legal-page{padding-block:42px 56px}
  .legal-intro{font-size:20px}
  .legal-page h2{font-size:25px}
}
@media(max-width:420px){.button-whatsapp{font-size:13px;gap:10px;padding-inline:14px}.button-icon{padding-right:10px}.button-whatsapp .wa-icon{width:20px;height:20px;flex-basis:20px}}
@media(prefers-reduced-motion:reduce){.button,.button-chevron,.whatsapp-link,.footer-back-to-top{transition:none}.button:active,.button-whatsapp:hover .button-chevron{transform:none}html{scroll-behavior:auto}}
