/* Mobile-only navigation additions. This file loads after style.css. */
.mobile-language-switch {
  display: none;
}

@media (max-width: 900px) {
  .registration-landing { padding-top: 24px; }
  .registration-heading { align-items: start; grid-template-columns: 1fr; gap: 28px; }
  .registration-event-meta { width: 100%; padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; grid-template-columns: 1fr 1fr; }
  .registration-form-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .registration-landing { padding: 36px 0 48px; }
  .registration-heading h1 { font-size: 2.65rem; }
  .registration-event-meta { grid-template-columns: 1fr; }
  .registration-sponsors { margin-top: 36px; }
  .registration-sponsors { padding-top: 36px; }
  .event-registration-form { padding: 24px 18px; }
  .event-registration-form-grid { grid-template-columns: 1fr; }
  .event-registration-form-grid label.wide { grid-column: auto; }
  .event-registration-submit { width: 100%; }
}

/* Directory rows and dedicated business profile */
@media (max-width: 1100px) {
  .business-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .directory-page .business-grid { grid-template-columns: 1fr; }
  .directory-page .business-row-open { min-height: 190px; grid-template-columns: 88px minmax(0, 1fr) auto; }
  .directory-page .business-row-logo { width: 84px; height: 84px; }
  .directory-page .business-row-action { grid-column: auto; }
  .business-detail-hero { padding: 34px 0 44px; }
  .business-contact-shell { grid-template-columns: 1fr; }
  .business-contact-shell .business-qr-column { min-height: 340px; }
  .business-location-heading { gap: 14px; grid-template-columns: 1fr; }
  .business-map-frame { height: 340px; }
}

@media (max-width: 680px) {
  .directory-page .business-row-open { min-height: 190px; padding: 24px 20px; align-items: start; grid-template-columns: 72px minmax(0, 1fr); }
  .directory-page .business-row-logo { width: 70px; height: 70px; }
  .directory-page .business-row-copy { align-self: center; }
  .directory-page .business-row-description { margin-top: 7px; font-size: .72rem; -webkit-line-clamp: 3; }
  .directory-page .business-row-action { margin-top: 2px; grid-column: 2; }
  .business-detail-hero { padding: 22px 0 34px; }
  .business-back-link { margin-bottom: 16px; }
  .business-profile-column { padding: 28px 20px 32px; }
  .business-profile-heading { align-items: flex-start; gap: 15px; }
  .business-detail-logo { width: 84px; height: 84px; flex-basis: 84px; border-radius: var(--radius-small); font-size: 1.25rem; }
  .business-profile-heading h1 { font-size: 2rem; line-height: 1.05; }
  .business-detail-tagline { font-size: .8rem; line-height: 1.55; }
  .business-profile-story { margin-top: 24px; padding-top: 20px; }
  .business-profile-story p { font-size: .84rem; line-height: 1.72; }
  .business-offerings-section { padding: 56px 0; }
  .business-offerings-intro { gap: 15px; grid-template-columns: 1fr; }
  .business-offerings-intro .section-heading { font-size: 2.15rem; }
  .business-product-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-product-image { aspect-ratio: 1 / 1; }
  .business-product-copy h3 { font-size: .92rem; }
  .business-product-copy p { font-size: .68rem; line-height: 1.5; }
  .business-contact-section { padding: 56px 0; }
  .business-contact-shell { border-radius: var(--r-lg); }
  .business-contact-panel { padding: 30px 22px; }
  .business-contact-panel > h2 { font-size: 1.9rem; }
  .business-contact-cards { grid-template-columns: 1fr; }
  .business-info-card { min-height: 118px; }
  .business-contact-shell .business-qr-column { min-height: 300px; padding: 34px 22px; }
  .business-qr-column .directory-qr-frame { width: 196px; }
  .business-location-section { padding: 56px 0; }
  .business-map-frame { height: 300px; border-radius: var(--radius-small); }
}

@media (max-width: 900px) {
  .business-row-open { grid-template-columns: 68px minmax(0, 1fr) auto; }
  .business-row-location { display: none; }
}

@media (max-width: 680px) {
  .directory-toolbar { padding: 12px; }
  .business-grid { gap: 10px; }
  .business-row { border-radius: var(--radius-small); }
  .business-row-open { min-height: 156px; padding: 22px 18px; gap: 16px; grid-template-columns: 70px minmax(0, 1fr); }
  .business-row-logo { width: 68px; height: 68px; border-radius: var(--radius-small); font-size: 1.08rem; }
  .business-row-copy > strong { font-size: 1.05rem; }
  .business-row-copy > small { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
  .business-row-action { grid-column: 2; font-size: .64rem; }
  .business-row-action b { width: 28px; height: 28px; }
  .directory-qr-frame { width: 220px; }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
    scrollbar-width: none;
  }

  /* overflow-x must live on <html>, not <body> — overflow-x:hidden on
     body breaks position:fixed on iOS Safari, making the lightbox
     scroll with the page instead of staying pinned to the screen. */
  html {
    overflow-x: hidden !important;
  }

  main,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  body {
    padding-top: 70px;
  }

  #communities {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    contain: inline-size;
  }

  #communities > .container {
    min-width: 0;
    overflow: hidden;
  }

  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-schedule-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-shell { grid-template-columns: 1fr; }
  .account-intro { padding: 42px; }
  .member-dashboard-grid { grid-template-columns: 1fr; }
  .member-dashboard-nav { position: static; grid-template-columns: 1fr 1fr; }
  .member-privacy-note { display: none; }
  .directory-toolbar { align-items: stretch; flex-direction: column; }
  .directory-search { max-width: none; flex-basis: auto; }
  .directory-intro-actions { max-width: none; justify-items: center; text-align: center; }
  .directory-apply-trigger { margin-inline: auto; }
  .events-overview-intro {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .events-overview-media { height: min(62vw, 360px); }

  .topbar {
    display: none !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0;
    width: 100%;
  }

  .mainbar-inner {
    position: relative !important;
    display: flex !important;
    width: calc(100% - 28px) !important;
    min-height: 70px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .mainbar .brand {
    min-width: 0 !important;
    max-width: calc(100% - 112px);
    order: 1;
  }

  .mainbar .brand img {
    width: 46px;
    height: 46px;
  }

  .language-switch {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    flex: 0 0 38px;
    order: 2;
    margin-left: auto;
  }

  .header-actions .language-switch {
    display: none !important;
  }

  .header-account-button {
    display: grid !important;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    box-shadow: var(--glow-red);
  }

  .header-account-button span {
    display: none;
  }

  .header-account-button svg {
    width: 17px;
    height: 17px;
  }

  .language-switch button {
    min-width: 24px;
    padding: 3px 2px;
    font-size: 0.68rem;
  }

  .menu-toggle {
    position: static !important;
    z-index: 1250;
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
    order: 3;
    margin: 0 !important;
    transform: none !important;
    border-color: rgba(17, 27, 52, .18) !important;
    background: #f8fafb !important;
    box-shadow: var(--e-2);
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    width: 17px;
    height: 2px;
    border-radius: var(--r-pill);
  }

  .site-nav,
  .utility-scrolled .site-nav {
    position: fixed !important;
    top: 78px !important;
    right: 14px !important;
    bottom: auto !important;
    left: 14px !important;
    z-index: 1200;
    visibility: hidden;
    width: auto;
    height: auto;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto;
    padding: 12px 20px 20px;
    border: 1px solid rgba(17, 27, 52, 0.1);
    border-radius: var(--radius-small);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity var(--t-base) ease, transform var(--t-base) ease, visibility var(--t-base) ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav ul {
    width: 100%;
    margin: 0;
  }

  .site-nav a {
    padding: 12px 2px !important;
    font-size: 1.08rem !important;
  }

  .mobile-language-switch {
    display: flex;
    width: 100%;
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-language-switch > div {
    display: flex;
    gap: 8px;
  }

  .mobile-language-switch button {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-xs);
    color: var(--navy);
    background: #fff;
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
  }

  .mobile-language-switch button.active {
    border-color: var(--red);
    color: #fff;
    background: var(--red);
  }

}

@media (max-width: 560px) {
  .brand-copy {
    display: none !important;
  }

  .mainbar .brand {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .header-actions {
    flex: 0 0 auto;
    gap: 7px;
    min-width: 0;
  }

  .header-donate-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: .62rem;
  }

  .mainbar .brand {
    max-width: calc(100% - 190px);
  }
}

@media (max-width: 560px) {
  .mainbar .brand {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .event-spotlight-section { padding: 34px 0 54px; }
  .event-spotlight { min-height: 420px; }
  .event-spotlight-copy { width: 100%; min-height: 420px; padding: 48px 42px; }
  .event-spotlight-media { width: 100%; }
  .event-spotlight h1 { max-width: 620px; }
  .event-detail-layout { grid-template-columns: 1fr; }
  .event-detail-media { min-height: 360px; }
  .event-registration-slot { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .event-spotlight-section { padding: 22px 0 46px; }
  .event-spotlight { min-height: 470px; border-radius: var(--radius-small); }
  .event-spotlight-copy { width: 100%; min-height: 470px; padding: 42px 26px; }
  .event-spotlight h1 { max-width: 330px; font-size: 2.55rem; }
  .event-spotlight-copy > p { max-width: 300px; font-size: .8rem; }
  .event-spotlight-actions { align-items: stretch; flex-direction: column; }
  .event-spotlight-actions .btn { width: 100%; }
  .event-spotlight-media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .event-detail-section { padding: 44px 0 74px; }
  .event-detail-layout { border-radius: var(--radius-small); }
  .event-detail-copy { padding: 38px 24px; }
  .event-detail-copy h1 { font-size: 2.7rem; }
  .event-detail-media { min-height: 270px; }
  .event-detail-meta { grid-template-columns: 1fr; }
  .event-registration-slot { padding: 28px 22px; }
  .event-registration-pending { white-space: normal; text-align: center; }
}

@media (max-width: 680px) {
  .lightbox {
    padding: 0 14px;
    background: rgba(3, 6, 12, .98);
    touch-action: none;
  }

  .lightbox-figure {
    display: grid;
    width: 100%;
    height: 100dvh;
    max-width: 100%;
    place-items: center;
  }

  .lightbox img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 72px);
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
  }

  /* Overlaid on the fixed lightbox itself (not stacked in the grid flow)
     so it can't add height and disturb the figure/image sizing. */
  .lightbox figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    padding: 20px 50px calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
    font-size: .85rem;
  }

  .lightbox-nav {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    transform: translateY(-50%) !important;
  }

  .lightbox-prev { right: auto; left: 10px; }
  .lightbox-next { right: 10px; left: auto; }

  .lightbox-close {
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .12);
  }

  .mobile-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 4500;
    display: grid;
    visibility: hidden;
    padding: 0 14px;
    place-items: center;
    background: rgba(3, 6, 12, .98);
    opacity: 0;
    touch-action: none;
    transition: opacity var(--t-base) ease, visibility var(--t-base) ease;
  }

  .mobile-image-viewer.open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-image-viewer img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 72px);
    object-fit: contain;
    transform: scale(.97);
    transition: transform var(--t-base) ease;
  }

  .mobile-image-viewer.open img { transform: scale(1); }

  .mobile-image-viewer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    font-size: 1.25rem;
    cursor: pointer;
  }

  .mobile-image-viewer-nav {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    transform: translateY(-50%) !important;
  }

  .mobile-image-viewer-prev { right: auto; left: 10px; }
  .mobile-image-viewer-next { right: 10px; left: auto; }

  main img:not(.lightbox img) { cursor: zoom-in; }

  .gallery-page .masonry {
    display: grid;
    columns: auto;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page .gallery-item {
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: var(--r-sm);
  }

  .gallery-page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #communities .communities-stage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    touch-action: pan-y;
  }

  #communities .community-card {
    width: min(calc(100% - 32px), 360px);
  }

  #communities .community-card[data-position="active"] {
    transform: translateX(-50%) scale(1);
  }

  #communities .community-card[data-position="prev"] {
    opacity: 0;
    transform: translateX(-145%) scale(.94);
  }

  #communities .community-card[data-position="next"] {
    opacity: 0;
    transform: translateX(60%) scale(.94);
  }

  .communities-stage > .slider-controls {
    display: none;
  }

  .community-mobile-progress {
    position: absolute;
    right: 10%;
    bottom: 24px;
    left: 10%;
    z-index: 7;
    display: flex;
    gap: 7px;
  }

  .community-mobile-progress span {
    height: 3px;
    flex: 1;
    border-radius: var(--r-pill);
    background: rgba(17, 27, 52, .18);
    transition: background var(--t-base) ease, transform var(--t-base) ease;
  }

  .community-mobile-progress span.active {
    background: var(--red);
    transform: scaleY(1.45);
  }

  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-card { padding: 18px 12px; }
  .board-card img { width: 110px; height: 110px; }
  .jyasana-photo-grid {
    grid-auto-rows: 145px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jyasana-photo-grid figure:nth-child(5n + 1) {
    grid-column: auto;
    grid-row: auto;
  }
  .business-grid { grid-template-columns: 1fr; }
  .account-section { padding: 30px 0; }
  .account-shell { width: calc(100% - 24px); border-radius: var(--r-lg); }
  .account-intro, .account-panel { padding: 30px 24px; }
  .account-intro h1 { font-size: 2.35rem; }
  .account-benefits { margin: 28px 0; }
  .account-form-row { grid-template-columns: 1fr; }
  .auth-tabs { margin-bottom: 30px; }
  .member-dashboard { width: calc(100% - 24px); }
  .member-dashboard-head { align-items: flex-start; flex-direction: column; padding: 22px; }
  .member-head-actions { width: 100%; justify-content: space-between; }
  .member-dashboard-nav { padding: 8px; }
  .member-dashboard-nav > button { justify-content: center; }
  .member-dashboard-content { padding: 24px 18px; }
  .dashboard-pane-heading { align-items: flex-start; }
  .completion-ring { width: 60px; height: 60px; flex-basis: 60px; border-width: 6px; }
  .census-form fieldset { padding: 18px 14px; }
  .census-grid { grid-template-columns: 1fr; }
  .census-grid label.wide { grid-column: auto; }
  .census-actions { align-items: stretch; flex-direction: column; }
  .census-actions .account-submit { width: 100%; margin-left: 0; }
  .directory-filters { display: grid; grid-template-columns: repeat(2, 1fr); }
  .directory-filters button { width: 100%; }
  .event-schedule-grid { grid-template-columns: 1fr; }
  .schedule-card { grid-template-columns: 1fr; }
  .schedule-card img { min-height: 230px; }
}

/* Keep directory businesses as full-width profile rows at every mobile size. */
@media (max-width: 900px) {
  .directory-page .business-grid { grid-template-columns: 1fr; }
  .directory-page .business-row-open { min-height: 190px; grid-template-columns: 88px minmax(0, 1fr) auto; }
  .directory-page .business-row-logo { width: 84px; height: 84px; }
  .directory-page .business-row-action { grid-column: auto; }
}

@media (max-width: 680px) {
  .board-history-switch { width: 100%; }
  .board-history-switch button { padding-inline: 10px; font-size: .66rem; }
  .past-board-history { margin-top: 38px; }
  .past-board-year { padding-bottom: 52px; }
  .past-board-year + .past-board-year { padding-top: 46px; }
  .past-board-tree { display: grid; justify-items: stretch; gap: 26px; }
  .past-board-level,
  .past-board-level.president-level,
  .past-board-level.officer-level,
  .past-board-level.member-level { width: 100%; grid-template-columns: 1fr; gap: 12px; }
  .past-board-person { padding: 18px 14px; }
  .directory-apply-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .directory-apply-panel { padding: 34px 20px 26px; }
  .directory-apply-grid { grid-template-columns: 1fr; }
  .directory-apply-grid label.wide { grid-column: auto; }
  .directory-apply-submit { width: 100%; }
  .directory-page .business-row-open { min-height: 190px; padding: 24px 20px; align-items: start; grid-template-columns: 72px minmax(0, 1fr); }
  .directory-page .business-row-logo { width: 70px; height: 70px; }
  .directory-page .business-row-description { display: -webkit-box; margin-top: 7px; font-size: .72rem; white-space: normal; -webkit-line-clamp: 3; }
  .directory-page .business-row-action { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; padding: 12px 2px !important; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: var(--heading); font-size: 1.08rem !important; text-transform: none; }
  .nav-dropdown-toggle::after { display: none; }
  .site-nav .nav-dropdown-menu { position: static; visibility: visible; overflow: hidden; width: 100%; max-height: 0; padding: 0 0 0 12px; border: 0; border-radius: 0; gap: 2px; background: #f7f9fa; box-shadow: none; opacity: 1; transform: none; transition: max-height var(--t-base) ease, padding var(--t-base) ease; }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { max-height: 0; padding-top: 0; padding-bottom: 0; transform: none; }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 190px; padding-top: 7px; padding-bottom: 7px; transform: none; }
  .site-nav .nav-dropdown-menu a { padding: 10px 12px !important; border-bottom: 0; }
  .site-nav .nav-dropdown-menu a span { font-size: .92rem; }
}

@media (max-width: 900px) {
}

@media (max-width: 680px) {
}

/* Institutional resources menu and awards archive */
@media (max-width: 900px) {
  .nav-dropdown-toggle {
    min-height: 48px;
    padding: 0 2px !important;
    align-items: center;
    line-height: 1.2;
  }
  .nav-dropdown-toggle svg { width: 12px; height: 8px; margin-right: 3px; }
  .nav-dropdown .nav-dropdown-toggle svg,
  .nav-dropdown:hover .nav-dropdown-toggle svg,
  .nav-dropdown:focus-within .nav-dropdown-toggle svg {
    transform: rotate(0deg) !important;
  }
  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg) !important;
  }
  .site-nav .nav-dropdown-menu {
    width: 100%;
    padding-left: 0;
    border-left: 2px solid #8f1520;
    background: #f5f6f7;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 120px; padding: 4px 0; }
  .site-nav .nav-dropdown-menu a {
    min-height: 43px;
    padding: 0 15px !important;
    border-bottom: 1px solid #e2e5e8;
    font-family: inherit;
    font-size: .8rem;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 310px;
    padding: 4px 0;
  }

  .site-nav .nav-dropdown-menu li:last-child a,
  .site-nav > ul > li:last-child > a {
    border-bottom: 0;
  }

  .mobile-language-switch {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 0;
  }

  .awards-register-heading,
  .awards-contribute-grid { grid-template-columns: 1fr; }
  .awards-register-heading { align-items: start; gap: 20px; }
  .honour-row { grid-template-columns: 40px 96px minmax(0, 1fr); row-gap: 10px; padding: 30px 4px 30px 18px; }
  .honour-note { grid-column: 2 / -1; padding-top: 0; }
  .honour-photo { grid-column: 2 / -1; width: 330px; max-width: 100%; height: 150px; margin-top: 4px; }
  .awards-contribute-grid { gap: 24px; }
}

@media (max-width: 680px) {
  .awards-register-section { padding: 72px 0 78px; }
  .awards-register-heading { margin-bottom: 34px; }
  .awards-register-heading h2 { font-size: 2.4rem; }
  .honour-row { grid-template-columns: 1fr; row-gap: 10px; padding: 28px 4px 28px 16px; }
  .honour-index { position: absolute; top: 30px; right: 4px; font-size: 1.7rem; }
  .honour-note { grid-column: auto; }
  /* Must reset the wider breakpoint's span, or `2 / -1` spawns an
     implicit second column and crushes the citation to one word per line. */
  .honour-photo { grid-column: auto; width: 100%; height: 225px; margin-top: 4px; }
  .awards-contribute { padding: 64px 0 70px; }
  .awards-contribute-grid > div h2 { font-size: 2.15rem; }
}

@media (max-width: 900px) {
  .heritage-panel {
    background-position: left top;
    background-size: auto 720px;
  }

  /* This section grew taller than the shared 720px art crop (dots +
     the mobile "View all stories" button live below that line), so
     stretch the pattern to the section's own full height instead. */
  #community-journal {
    background-size: auto 100%;
  }

}

/* Centre standalone content actions throughout the mobile experience. */
@media (max-width: 900px) {
  main .btn {
    display: flex;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Mobile content should read media first, then context and action. */
@media (max-width: 680px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .page-hero + section,
  .page-hero + svg + .section {
    padding-top: 40px;
  }

  /* The last block before the footer (a short CTA button) otherwise
     leaves this section's full bottom padding plus the footer's own
     top padding stacked together — too much dead air on mobile. */
  #living-culture {
    padding-bottom: 32px;
  }

  .split {
    gap: 34px;
  }

  .split > .framed-image {
    min-height: 330px;
    order: -1;
  }

  .framed-image::before {
    display: none;
  }

  .framed-image img {
    border-radius: var(--r-lg);
  }

  .editorial-list {
    gap: 62px;
  }

  .editorial-row {
    gap: 28px;
  }

  .editorial-row .editorial-media,
  .editorial-row.reverse .editorial-media {
    min-height: 300px;
    order: -1;
  }

  /* A vertical list is discoverable; a clipped swipe-only row is not. */
  .post-grid {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    scroll-snap-type: none;
  }

  .post-card {
    min-width: 0;
  }

  .text-link,
  .password-field button {
    min-height: 44px;
  }

  .password-field input {
    padding-right: 78px !important;
  }

  .password-field button {
    right: 4px;
    min-width: 56px;
    padding: 0 8px;
  }

  .remember-me,
  .account-consent {
    min-height: 44px;
    align-items: center;
  }

  .remember-me input,
  .account-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 0;
  }

  .podcast-section {
    padding-top: 68px;
  }

  .podcast-grid {
    gap: 0;
  }

  .podcast-brand {
    display: none;
  }

  .podcast-grid .media-shell {
    height: auto;
    margin: 0 0 28px;
    grid-column: auto;
    grid-row: auto;
    order: 3;
  }

  .podcast-copy {
    display: contents;
    max-width: none;
    grid-column: auto;
    grid-row: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .podcast-copy .section-kicker {
    margin-bottom: 14px;
    order: 1;
  }

  .podcast-copy .section-heading {
    margin-bottom: 26px;
    order: 2;
  }

  .podcast-copy .section-lead {
    margin-bottom: 26px;
    order: 4;
  }

  .podcast-copy .podcast-subscribe {
    margin-top: 0;
    order: 5;
  }

  #community-journal .post-grid {
    display: flex;
    overflow-x: auto;
    padding: 0;
    gap: 14px;
    grid-template-columns: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  #community-journal .post-grid::-webkit-scrollbar {
    display: none;
  }

  #community-journal .post-card {
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .post-card--clone {
    display: block;
  }

  #community-journal .post-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #community-journal .post-body {
    padding: 26px 24px 28px;
  }

  .journal-mobile-dots {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 46px;
    margin-top: -46px;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .journal-mobile-dots button {
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .journal-mobile-dots button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8cdd3;
    content: "";
    transform: translate(-50%, -50%);
    transition: width var(--t-fast) ease, height var(--t-fast) ease, background var(--t-fast) ease;
  }

  .journal-mobile-dots button.active::before {
    width: 10px;
    height: 10px;
    background: var(--red);
  }

  /* .reveal keeps a transform even once visible (translate(0)), which
     would otherwise anchor the absolutely-positioned button below to
     this heading instead of to the section. */
  #community-journal .section-intro.reveal {
    transform: none;
  }

  #community-journal {
    padding-bottom: 120px;
  }

  #community-journal .section-intro .btn {
    position: absolute;
    left: 50%;
    bottom: 20px;
    margin: 0;
    transform: translateX(-50%);
  }
}
