/* Public-page-only desktop enhancements. Mobile navigation and layouts keep
   their original styles; staff administration does not load this stylesheet. */
.desktop-site-bar{display:none!important}
.desktop-photo-pair{display:contents}
.desktop-visit-cta{display:none!important}
@media screen and (min-width:721px){
  body>header.desktop-site-bar{display:block!important;height:auto;min-height:0;padding:0;background:#203c36;color:#fffefa;border-top:4px solid #b8893c;border-bottom:0}
  body>header:not(.desktop-site-bar):not(.mobile-site-bar):has(nav[aria-label="Main navigation"]){display:none}
  .desktop-nav-inner{max-width:1320px;margin:auto;padding:16px clamp(20px,3vw,42px);display:flex;align-items:center;justify-content:space-between;gap:24px}
  .desktop-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none;font-size:18px;line-height:1.2;font-weight:600;letter-spacing:0}
  .desktop-brand-mark{font:600 29px Georgia,serif;color:#e4c27d;border-right:1px solid #ffffff35;padding-right:12px;white-space:nowrap}
  .desktop-brand small{display:block;font-size:12px;font-weight:400;letter-spacing:.05em;margin-top:3px;color:#e2e8df}
  .desktop-site-bar .desktop-nav-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px clamp(8px,1.2vw,20px);width:auto;margin:0;font-size:15px;line-height:1.4}
  .desktop-nav-links>a,.desktop-nav-more>summary{display:flex;align-items:center;min-height:44px;padding:8px 3px;color:#fffefa;text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent;font-weight:500}
  .desktop-nav-links>a:hover,.desktop-nav-links>a[aria-current=page],.desktop-nav-more>summary:hover,.desktop-nav-more:has(a[aria-current=page])>summary{color:#e4c27d;border-bottom-color:#e4c27d}
  .desktop-nav-links>a.desktop-give{padding:8px 18px;background:#e4c27d;color:#203c36;border:0;border-radius:4px;font-weight:700}
  .desktop-nav-links>a.desktop-give:hover{background:#fff2d3;color:#203c36}
  .desktop-nav-more{position:relative}
  .desktop-nav-more>summary{list-style:none;cursor:pointer;gap:7px}
  .desktop-nav-more>summary::-webkit-details-marker{display:none}
  .desktop-nav-more>summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}
  .desktop-nav-more[open]>summary::after{transform:rotate(225deg);margin-top:4px}
  .desktop-nav-dropdown{position:absolute;z-index:1050;right:0;top:calc(100% + 5px);width:260px;background:#fffefa;color:#203c36;border:1px solid #dedfd3;border-top:3px solid #b8893c;box-shadow:0 8px 22px #203c3622;border-radius:4px;padding:6px}
  .desktop-nav-dropdown>a{display:flex;align-items:center;min-height:44px;padding:9px 13px;text-decoration:none;color:#203c36;font-size:15px;font-weight:500;border:0}
  .desktop-nav-dropdown>a:hover,.desktop-nav-dropdown>a[aria-current=page]{background:#f3ead9}
  .desktop-site-bar :focus-visible{outline:3px solid #e4c27d;outline-offset:2px}
  .desktop-nav-dropdown :focus-visible{outline-color:#75531f;outline-offset:-3px}
  body:has(>main>.identity)>main{width:min(calc(100% - 48px),1120px);padding:32px 0 36px}
  body:has(>main>.identity) .identity .monogram{display:none}
  body:has(>main>.identity) .identity .tagline{font:clamp(32px,4vw,52px)/1.1 'Libre Caslon Display',Georgia,serif;color:#203c36}
  body:has(>main>.identity) .home-church-photo img{aspect-ratio:2.5}
  body:has(>main>.identity) .links{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
  body:has(>main>.identity) .links>.tile{grid-column:span 2}
  body:has(>main>.identity) .links>.tile[href="/serving-rotations"],body:has(>main>.identity) .links>.tile[href="/giving"]{grid-column:span 3}
  body:has(>main>.identity) .links>.link-group-title,body:has(>main>.identity) .links>.discipleship-next,body:has(>main>.identity) .links>.staff-public-announcement,body:has(>main>.identity) .links>.primary,body:has(>main>.identity) .links>.conference-home-link{grid-column:1/-1}
  body:has(>main>.identity) .links>.link-group-title{font-size:18px;margin:20px 0 0}
  body:has(>main>.identity) .links>.tile{min-height:96px;padding:18px 14px}
  body:has(>main>.identity) .links>.primary{min-height:78px}
  body:has(>main>.identity) .links>.tile strong{font-size:18px}
  body:has(>main>.identity) .links>.tile span{font-size:15px}
  body:has(>main>.identity) .harvest-preview img{aspect-ratio:2;object-fit:cover}
  body:has(>main>.identity) .footer{border-top:1px solid var(--line);padding-top:22px}
  .visit:not(.conference-page):not(.life-gallery){width:min(calc(100% - 48px),1040px);padding-top:35px}
  .visit:not(.conference-page):not(.life-gallery)>p:not(.page-kicker){max-width:70ch;font-size:17px}
  .visit:not(.conference-page):not(.life-gallery)>h1{font-size:clamp(46px,5vw,62px)}
  .visit:not(.conference-page):not(.life-gallery) section>p{max-width:70ch}
  .life-gallery{width:min(calc(100% - 48px),1200px)}
  .life-gallery .life-grid{gap:18px}
  .life-gallery .life-grid img{aspect-ratio:1.5}
  .life-gallery .life-hero img{aspect-ratio:2.4}
  .conference-page.visit{width:min(calc(100% - 48px),860px)}
  .conference-page section p,.conference-page section ul{max-width:70ch}
  .sermons-page,.staff-page,.giving-page,.beliefs-page,.devotions-page{max-width:1320px}
  .sermons-page .sermons-hero,.staff-page .staff-hero,.giving-page .giving-hero,.beliefs-page .beliefs-hero,.devotions-page .devotions-hero{padding-top:46px;padding-bottom:38px}
  .sermons-page h1,.staff-page h1,.giving-page h1,.beliefs-page h1,.devotions-page h1{font-size:clamp(48px,5.6vw,76px);line-height:1.06}
  .sermons-page .featured-message{gap:clamp(24px,4vw,50px);margin-top:34px;align-items:center}
  .featured-player{border-radius:6px}
  .sermons-page .featured-copy h2{font-size:clamp(29px,3vw,43px)}
  .sermons-page .featured-passage,.sermons-page .featured-speaker,.sermons-page .featured-actions>a,.sermons-page .youtube-fallback,.sermons-page .message-open{font-size:15px}
  .sermons-page .messages-section .message-row{padding:20px 0;min-width:0}
  .devotions-page .devotion-list{max-width:1040px;margin-inline:auto;width:calc(100% - 80px)}
  .devotions-page .daily-devotion summary{grid-template-columns:150px minmax(0,1fr) auto;gap:16px}
  .devotions-page .devotion-body{padding:0 16px 30px 178px;max-width:none}
  .devotions-page .devotion-body>p,.devotions-page .devotion-body>ul,.devotions-page .devotion-body>ol{max-width:70ch;font-size:17px;line-height:1.8}
  .devotions-page .devotion-video{max-width:680px}
  .devotions-page .devotion-video-player{max-width:100%}
  .devotions-page .devotions-connect{margin-top:30px;margin-bottom:36px}
  .devotions-page .devotion-links a{font-size:16px}
  .beliefs-page .belief-content{max-width:80ch}
  .staff-page .pastor-photo{height:auto;aspect-ratio:1.6;border-radius:5px}
  .staff-page .team-grid{gap:0 28px}
  .staff-page .team-member{min-width:0}
  .giving-page .giving-main{gap:clamp(30px,5vw,65px)}
  .calendar-page #main-content{max-width:1440px}
  .calendar-page .calendar-section,.calendar-page .hub-panel{padding-inline:clamp(24px,5vw,70px)}
  .calendar-page .section-top{gap:18px;flex-wrap:wrap}
  .calendar-page .event{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
  .calendar-page .daynum{font-size:14px}
  .calendar-page .month-tabs button,.calendar-page .month-picker select,.calendar-page .training-filters select,.calendar-page .view-switch button{font-size:14px;min-height:44px}
  .calendar-page .hub-tabs a{font-size:15px}
  .calendar-page .highlight-date,.calendar-page .training-date{font-size:14px}
  .calendar-page .sermon-card{grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
  .calendar-page .sermon-card:not(:has(.reading)){grid-template-columns:90px minmax(0,1fr)}
  .calendar-page .sermon-card>*,.calendar-page .day{min-width:0}
}
@media screen and (min-width:721px) and (max-width:959px){
  .desktop-nav-inner{flex-direction:column;align-items:flex-start;gap:8px;padding-block:12px}
  .desktop-site-bar .desktop-nav-links{justify-content:flex-start;gap:4px 14px}
  .desktop-nav-dropdown{right:0}
}
@media screen and (min-width:960px) and (max-width:1200px){
  .desktop-nav-inner{gap:14px;padding-inline:20px}
  .desktop-brand{gap:9px;font-size:16px}
  .desktop-brand-mark{font-size:25px;padding-right:9px}
  .desktop-site-bar .desktop-nav-links{gap:4px 9px;font-size:14px}
  .desktop-nav-links>a.desktop-give{padding-inline:14px}
}
@media screen and (min-width:1000px){
  body:has(>main>.identity)>main{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px 32px;align-items:start}
  body:has(>main>.identity) .identity{grid-column:2;grid-row:1;align-self:end;text-align:left;padding:10px 0 0}
  body:has(>main>.identity) .home-church-photo{grid-column:1;grid-row:1/3;margin:0;align-self:stretch}
  body:has(>main>.identity) .home-church-photo img{height:100%;aspect-ratio:1.62;min-height:0;object-fit:cover}
  body:has(>main>.identity) .sunday{grid-column:2;grid-row:2;margin:0;padding:18px 0;text-align:left}
  body:has(>main>.identity) .times{justify-content:flex-start}
  body:has(>main>.identity) .sunday .directions{padding-left:0}
  body:has(>main>.identity) .sunday .desktop-visit-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:10px 19px;margin-right:12px;margin-top:6px;color:#fffefa;background:#203c36;border-radius:4px;text-decoration:none;font-weight:700;vertical-align:middle}
  body:has(>main>.identity) .sunday .desktop-visit-cta:hover{background:#31594d}
  body:has(>main>.identity) .links>.primary[href="/new-here"]{display:none!important}
  body:has(>main>.identity) .links{grid-column:1/-1;grid-row:3}
  body:has(>main>.identity) .harvest-preview,body:has(>main>.identity) .coming-up{margin-top:8px;min-width:0}
  body:has(>main>.identity) .footer{grid-column:1/-1}
  .desktop-photo-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;align-items:start;padding:24px 0;border-bottom:1px solid var(--line)}
  .desktop-photo-pair>.visit-photo{margin:0}
  .desktop-photo-pair>.visit-photo img{aspect-ratio:1.4}
  .desktop-photo-pair>section{border:0;padding:0}
  .desktop-photo-pair>section>h2{margin-top:0}
  .life-gallery .life-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .life-gallery section[aria-labelledby="grounds-heading"] .life-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .calendar-page .day{padding:10px;min-height:165px}
  .calendar-page .event{font-size:13px}
  /* Bring the primary task above the fold, with balanced space for copy. */
  .sermons-page .sermons-hero,.devotions-page .devotions-hero,.staff-page .staff-hero,.giving-page .giving-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:clamp(32px,5vw,64px);row-gap:12px;align-items:center;padding:36px 5.5% 30px}
  .sermons-page .sermons-hero>.page-kicker,.devotions-page .devotions-hero>.page-kicker,.staff-page .staff-hero>.page-kicker,.giving-page .giving-hero>.page-kicker{grid-column:1/-1;margin:0}
  .sermons-page .sermons-hero>h1,.devotions-page .devotions-hero>h1,.staff-page .staff-hero>h1,.giving-page .giving-hero>h1{grid-column:1;grid-row:2/5;font-size:clamp(47px,4.8vw,66px);margin:0;align-self:center}
  .sermons-page .sermons-hero>.intro,.devotions-page .devotions-hero>.intro,.staff-page .staff-hero>.intro,.giving-page .giving-hero>.intro{grid-column:2;grid-row:2;max-width:48ch;font-size:17px;margin:0;line-height:1.65}
  .sermons-page .sermons-hero-links{grid-column:2;grid-row:3;gap:14px 20px;align-items:center}
  .devotions-page .devotions-hero>.week-range{grid-column:2;grid-row:3;margin:0}
  .devotions-page .devotions-hero>.today-devotion-link{grid-column:2;grid-row:4;justify-self:start;margin:0}
  .sermons-page .featured-message{margin-top:28px;margin-bottom:38px}
  .devotions-page .devotions-connect{margin-top:24px;margin-bottom:28px;padding:24px 32px}
  .devotions-page .devotions-connect h2{margin:4px 0}
  .staff-page .pastors-grid{gap:clamp(24px,4vw,50px)}
  .life-gallery .life-grid figure{min-width:0}
  .calendar-page .calendar-section,.calendar-page .hub-panel{padding-top:35px}
}
@media screen and (min-width:721px) and (max-width:999px){
  .devotions-page .devotion-body{padding-left:16px}
  .calendar-page .sermon-card{grid-template-columns:75px minmax(0,1fr)}
  .calendar-page .sermon-card .reading{grid-column:2}
}
