/* Airwaves R13 — focused post-R12 stabilization. The R12 theme and templates remain intact. */

/* Remove visible navigational breadcrumb/eyebrow lines, not actual page headings,
   category card labels or structured SEO metadata. */
body .aw-r12-page .aw-r12-breadcrumb,
body .aw-r12-page .aw-r12-page-head > .aw-r12-eyebrow,
body .aw-article-pre,
body .aw-info-breadcrumb,
body nav[aria-label="Breadcrumb"],
body .yoast-breadcrumb,
body .rank-math-breadcrumb,
body .breadcrumb-trail { display:none!important; }

/* Forms: present as a centred, readable editorial workflow on desktop.
   Scope to R12's existing forms; avoid changing PWA login/search controls. */
body .aw-r12-page .aw-r12-form {
  box-sizing:border-box;
  width:min(100%, 920px);
  max-width:920px;
  margin-inline:auto;
  padding:clamp(20px,2.7vw,34px);
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 20px;
  border-radius:16px;
}
body .aw-r12-submission-page > .aw-r12-page-head,
body .aw-r12-submission-page > .aw-r12-heritage,
body .aw-r12-submission-page > .aw-r12-notice,
body .aw-r12-submission-page > .aw-r12-contact-categories {
  width:min(100%,920px);
  max-width:920px;
  margin-inline:auto;
  box-sizing:border-box;
}
body .aw-r12-page .aw-r12-contact-section {
  max-width:920px;
  width:100%;
  margin:48px auto 0;
  box-sizing:border-box;
}
body .aw-r12-page .aw-r12-contact-section > h2,
body .aw-r12-page .aw-r12-contact-section > p { max-width:860px; }
body .aw-r12-page .aw-r12-notice { margin-inline:auto; width:min(100%,920px); max-width:920px; box-sizing:border-box; }
body .aw-r12-page .aw-r12-form label { min-width:0; width:100%; }
body .aw-r12-page .aw-r12-form label:has(textarea),
body .aw-r12-page .aw-r12-form label:has(input[type="file"]),
body .aw-r12-page .aw-r12-form .aw-r12-consent,
body .aw-r12-page .aw-r12-form button {grid-column:1/-1;}
body .aw-r12-page .aw-r12-form button {justify-self:start;min-width:172px;}
body .aw-r12-page .aw-r12-form input:not([type="checkbox"]),
body .aw-r12-page .aw-r12-form textarea {box-sizing:border-box;max-width:100%;min-height:46px;}
body .aw-r12-page .aw-r12-form input[type="file"] {height:auto;min-height:46px;}
body .aw-r12-page .aw-r12-form textarea {min-height:125px;}
body .aw-r12-page .aw-r12-form input:focus-visible,
body .aw-r12-page .aw-r12-form textarea:focus-visible,
body .aw-r12-page .aw-r12-form button:focus-visible {outline:2px solid var(--blue);outline-offset:2px;}

/* About: neutral editorial heading instead of the highlighted title panel. */
body .aw-r12-about .aw-r12-page-head {
  background:transparent!important;
  background-image:none!important;
  color:var(--ink)!important;
  border:0!important;
  box-shadow:none!important;
  padding:8px 0 25px!important;
  border-radius:0!important;
  margin-inline:auto;
  max-width:1080px;
}
body .aw-r12-about .aw-r12-page-head h1,
body .aw-r12-about .aw-r12-page-head h1 em {color:var(--ink)!important;}
body .aw-r12-about .aw-r12-page-head p {color:var(--muted)!important;}
body .aw-r12-about .aw-r12-heritage {
  background:var(--surface)!important;
  background-image:none!important;
  color:var(--ink)!important;
  box-shadow:none!important;
  border:1px solid var(--line)!important;
  border-left:3px solid var(--blue)!important;
}

/* Restore the balanced earlier four-column footer rhythm. R12 adds a third link
   group; move the existing FAQ into a compact strip instead of a fifth column. */
@media(min-width:1025px) {
  body .aw-site-footer .aw-footer-body {
    display:grid!important;
    grid-template-columns:minmax(220px,1.55fr) repeat(3,minmax(135px,1fr))!important;
    gap:clamp(20px,2.5vw,42px)!important;
    align-items:start;
    padding-block:43px 24px!important;
    max-width:1460px;
    margin-inline:auto;
  }
  body .aw-site-footer .aw-footer-brand-column {grid-column:1;min-width:0;}
  body .aw-site-footer .aw-footer-nav-col {min-width:0;gap:9px;}
  body .aw-site-footer .aw-footer-faq {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px 22px;
    border-top:1px solid var(--aw-ft-rule,var(--line));
    padding-top:18px;
    margin-top:4px;
    min-width:0;
  }
  body .aw-site-footer .aw-footer-faq h3 {grid-column:1/-1;margin:0 0 1px;}
  body .aw-site-footer .aw-footer-faq details {min-width:0;}
  body .aw-site-footer .aw-footer-faq summary {padding-block:10px;}
}
@media(min-width:768px) and (max-width:1024px) {
  body .aw-site-footer .aw-footer-body {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:26px!important;
    padding-block:34px 25px!important;
  }
  body .aw-site-footer .aw-footer-brand-column {grid-column:1/-1;}
  body .aw-site-footer .aw-footer-faq {grid-column:1/-1;}
}
body .aw-site-footer .aw-r12-newsletter {
  box-sizing:border-box;
  width:100%;
  max-width:1460px;
  margin:0 auto;
  padding-block:22px;
  gap:18px 28px;
  align-items:center;
}
body .aw-site-footer .aw-r12-newsletter h2 {font-size:clamp(19px,1.7vw,24px);margin:3px 0 5px;}
body .aw-site-footer .aw-r12-newsletter p {margin:4px 0;max-width:62ch;}
body .aw-site-footer .aw-footer-bottom {max-width:1460px;margin-inline:auto;}

@media(max-width:767px) {
  body .aw-r12-page .aw-r12-form {width:100%;padding:18px 16px;grid-template-columns:minmax(0,1fr);gap:15px;}
  body .aw-r12-page .aw-r12-form button {width:100%;justify-self:stretch;}
  body .aw-r12-page .aw-r12-form input:not([type="checkbox"]),
  body .aw-r12-page .aw-r12-form textarea {font-size:16px;}
  body .aw-r12-submission-page > .aw-r12-page-head,
  body .aw-r12-submission-page > .aw-r12-heritage,
  body .aw-r12-submission-page > .aw-r12-contact-categories {width:100%;}
  body .aw-r12-page .aw-r12-contact-section {margin-top:34px;}
  body .aw-site-footer .aw-footer-body {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px 17px!important;
    padding-block:30px 22px!important;
  }
  body .aw-site-footer .aw-footer-brand-column,
  body .aw-site-footer .aw-footer-faq {grid-column:1/-1;}
  body .aw-site-footer .aw-footer-nav-col {min-width:0;gap:9px;}
  body .aw-site-footer .aw-footer-nav-col:nth-of-type(3) {grid-column:1/-1;}
  body .aw-site-footer .aw-footer-faq details {margin:0;}
  body .aw-site-footer .aw-r12-newsletter {grid-template-columns:1fr;padding-block:20px;}
}
@media(max-width:380px) {
  body .aw-site-footer .aw-footer-body {column-gap:12px;}
  body .aw-site-footer .aw-footer-nav-col a {font-size:11px;overflow-wrap:anywhere;}
}
