/* A phone layout, not a scaled-down desktop. Desktop stays unchanged. */
.mobile-brand-copy, .mobile-account-link, .mobile-hub-tabs, .nav-drawer__links .ui-icon { display: none; }
@media (max-width:760px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom,0px)); background: #f4f7f2; }
    html { scroll-padding-top: 78px; }
    .utility-bar { display: none; }
    .site-header, .site-header.is-scrolled { background: #fcfdf9f5; }
    .site-nav { width: calc(100% - 2rem); min-height: 64px; gap: .5rem; }
    .site-nav .brand { gap: .5rem; min-width: 0; }
    .site-nav .brand__mark { width: 54px; height: 44px; flex-shrink: 0; }
    .mobile-brand-copy { display: block; color: #123b2a; font-size: .98rem; line-height: 1.2; font-weight: 800; letter-spacing: .04em; }
    .mobile-brand-copy span { display: block; margin-top: .25rem; color: #52695f; font-weight: 500; font-size: .56rem; letter-spacing: 0; white-space: nowrap; }
    .nav-actions { gap: .35rem; }
    .nav-actions > .btn, .nav-actions > .nav-account { display: none; }
    .mobile-account-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d8e2d7; border-radius: 12px; color: #234c37; background: #fff; }
    .mobile-account-link .ui-icon { width: 21px; height: 21px; }
    .nav-toggle { display: block; width: 44px; min-width: 44px; height: 44px; border-radius: 12px; }
    .mobile-action-dock { position: fixed; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; inset: auto 0 0; z-index: 35; padding: 5px max(6px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left)); background: #fcfdf9f5; border: 0; border-top: 1px solid #d6dfd4; border-radius: 0; box-shadow: 0 -4px 18px #153b2a09; }
    .mobile-action-dock a, .mobile-action-dock button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-width: 0; min-height: 58px; padding: 5px 2px; border: 0; border-radius: 10px; background: transparent; color: #4c6255; font: inherit; font-size: .68rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
    .mobile-action-dock a span, .mobile-action-dock button span { font-size: inherit; white-space: nowrap; }
    .mobile-action-dock .ui-icon { width: 22px; height: 22px; }
    .mobile-action-dock a.is-active, .mobile-action-dock button.is-active { background: #e4eee3; color: #123b2a; }
    .mobile-action-dock a[aria-current="page"] .ui-icon { stroke-width: 2.2; }
    body.nav-open .mobile-action-dock { visibility: hidden; }
    .nav-drawer { width: min(410px,calc(100% - 1rem)); padding: 1rem; }
    .nav-drawer__head { top: -1rem; }
    .nav-drawer__head .brand__mark { width: 88px; height: 52px; }
    .nav-drawer__eyebrow { margin: 1rem 0 .75rem; font-size: .7rem; }
    .nav-drawer__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-bottom: 1rem; }
    .nav-drawer__links a { min-height: 78px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: .5rem; padding: .75rem; border: 1px solid #d9e2d7; border-radius: 12px; color: #234b36; background: #fff; font-size: .82rem; line-height: 1.35; font-weight: 600; }
    .nav-drawer__links .ui-icon { display: block; width: 22px; height: 22px; color: #40734f; }
    .nav-drawer__links .nav-drawer__account { margin: 0; box-shadow: none; }
    .nav-drawer__links .nav-drawer__account::after { display: none; }
    .nav-drawer__links .nav-drawer__account .ui-icon { color: #f4d68c; }
    .nav-drawer__links a[aria-current="page"] { border-color: #90ac8a; }
    .nav-drawer.is-open .nav-drawer__links a { animation: none; }
    .section, .page-wrap, .message-stack { width: calc(100% - 2rem); }
    .section { margin-top: 2rem; }
    .section--compact { margin-top: 1.5rem; }
    .home-hero--image-free { width: 100%; margin: 0; padding: 1.6rem 1.25rem; border: 0; border-radius: 0 0 24px 24px; box-shadow: none; }
    .home-hero h1 { font-family: var(--font-body); font-size: clamp(1.45rem,5.8vw,1.9rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: .7rem; text-wrap: pretty; }
    .home-hero__content > p:not(.eyebrow) { font-size: .92rem; line-height: 1.65; margin-bottom: 1rem; }
    .home-hero .eyebrow { font-size: .65rem; letter-spacing: .09em; }
    .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .45rem; }
    .hero-actions .btn { width: 100%; min-height: 46px; font-size: .88rem; }
    .hero-actions .btn--outline { border: 0; background: transparent; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; box-shadow: none; }
    .section-heading { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; margin-bottom: 1rem; }
    .section-heading h2 { font-family: var(--font-body); font-size: 1.4rem; line-height: 1.3; letter-spacing: -.025em; }
    .section-heading__copy { font-size: .92rem; margin: 0; }
    .home-content-hub > .section-heading .section-heading__eyebrow { display: none; }
    .home-content-hub.has-mobile-tabs > .section-heading .section-heading__copy { display: none; }
    .has-mobile-tabs .mobile-hub-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 1rem; padding: 4px; border: 1px solid #d2dfce; border-radius: 12px; background: #e6eee2; }
    .mobile-hub-tabs button { min-height: 46px; padding: .55rem; border: 0; border-radius: 8px; background: transparent; color: #405a49; font-size: .88rem; font-weight: 600; }
    .mobile-hub-tabs button[aria-selected="true"] { background: #fff; color: #123b2a; box-shadow: 0 2px 6px #173f2610; }
    .has-mobile-tabs .home-content-hub__panel.is-mobile-hidden { display: none; }
    .home-content-hub__grid { display: block; }
    .home-content-hub__panel { padding: 1.05rem; margin-bottom: 1rem; border-radius: 14px; box-shadow: none; background: #fff; backdrop-filter: none; }
    .home-content-hub__panel--prayer { background: #ecf2e7; }
    .home-content-hub__heading { gap: .5rem; align-items: center; flex-wrap: wrap; }
    .home-content-hub__heading .eyebrow { display: none; }
    .home-content-hub__heading h3 { margin: 0; font-size: 1.15rem; }
    .home-content-hub__heading > a { font-size: .8rem; }
    .home-article-list h4, .home-prayer-list h4 { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.4; }
    .home-article-list p, .home-prayer-list li { font-size: .94rem; line-height: 1.65; }
    .home-article-list article { padding-block: 1.1rem; }
    .home-article-list article > div, .home-prayer-list article > div { justify-content: space-between; }
    .journey-grid, .article-card-grid, .prayer-archive-grid, .weekly-program-grid, .program-flyer-grid, .program-grid--weekly, .event-grid, .resource-grid, .video-card-grid, .giving-grid, .leader-grid { grid-template-columns: minmax(0,1fr); }
    .journey-card { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: .4rem .9rem; border-radius: 14px; padding: 1.05rem; background: #fff; box-shadow: none; }
    .journey-card__icon { grid-column: 1; grid-row: 1 / 5; width: 36px; height: 36px; padding: 6px; }
    .journey-card > :not(.journey-card__icon) { grid-column: 2; }
    .journey-card__eyebrow { display: none; }
    .journey-card strong { font-size: 1.02rem; }
    .journey-card > span { font-size: .9rem; }
    .program-card, .weekly-program-card { min-height: 0; padding: 1.15rem; border-radius: 14px; box-shadow: none; }
    .time-zone-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .meeting-actions { gap: .7rem; flex-wrap: wrap; }
    .meeting-actions .btn { min-height: 48px; }
    .page-hero, .media-hero { width: 100%; margin: 0; padding: 1.5rem 1rem; border-radius: 0 0 20px 20px; border: 0; box-shadow: none; }
    .page-hero h1, .media-hero h1, .member-profile-page__intro h1 { font-family: var(--font-body); font-size: 1.75rem; line-height: 1.25; letter-spacing: -.025em; }
    .page-hero p:not(.eyebrow), .media-hero p:not(.eyebrow) { font-size: .94rem; line-height: 1.65; }
    .article-card { border-radius: 14px; box-shadow: none; }
    .article-card__image { max-height: 230px; object-fit: contain; background: #edf1e8; }
    .article-card__body { padding: 1.1rem; }
    .article-card h2 { font-size: 1.14rem; line-height: 1.35; }
    .article-card__body > p:not(.article-card__scripture) { font-size: .94rem; line-height: 1.65; }
    .article-detail__layout, .contact-layout, .prayer-layout, .auth-layout, .form-row { grid-template-columns: minmax(0,1fr); }
    .article-detail__header h1 { font-family: var(--font-body); font-size: 1.65rem; line-height: 1.35; }
    .article-detail__header, .article-detail__body { padding: 1.15rem; border-radius: 14px; box-shadow: none; }
    .article-detail__copy { font-size: 1rem; line-height: 1.8; }
    .article-detail__image img { max-height: 360px; object-fit: contain; }
    .media-hero__signal { display: none; }
    .member-profile-card, .member-profile-form { padding: 1rem; border-radius: 14px; box-shadow: none; }
    .member-profile-card__avatar { width: 72px; height: 72px; }
    .member-profile-card h2 { overflow-wrap: anywhere; }
    input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; min-height: 48px; }
    .form-field, .member-profile-form, .contact-form-card { min-width: 0; }
    .analytics-consent { bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 160px); overflow-y: auto; }
}
