/* Tablet layouts are composed independently of the phone and desktop layouts.
   A shared gutter, natural document flow and unmasked images keep each section
   balanced in both portrait and landscape orientations. */
@media (760px < width < 1200px) {
  :root{--tablet-gutter:clamp(28px,3.125vw,38px)}
  html{scroll-padding-top:148px}
  .wrap{width:calc(100% - var(--tablet-gutter)*2);max-width:1120px}
  .wrap>*{min-width:0}
  .section-space{padding-block:72px}
  h2{font-size:clamp(2.45rem,4.1vw,3rem);line-height:1.13}
  .eyebrow{font-size:.8125rem;line-height:1.55;letter-spacing:.08em}
  .text-link{font-size:1rem;gap:10px}
  .button{min-height:50px;font-size:1rem;padding:12px 20px}

  .header-inner{height:136px;gap:6px;align-content:center;flex-wrap:wrap}
  .site-header .brand{gap:13px}
  .site-header .brand>img{width:88px;height:60px}
  .site-header .brand strong{font-size:1.65rem;line-height:1.1}
  .site-header .brand small{font-size:.8125rem;line-height:1.4;margin-top:3px}
  .site-header .brand em{font-size:.6875rem;line-height:1.3;margin-top:2px}
  .header-actions{display:none}
  .header-inner nav{display:flex;position:static;flex-basis:100%;width:100%;max-width:none;justify-content:space-between;gap:6px;padding:0;border:0;box-shadow:none;background:transparent;flex-direction:row}
  .header-inner nav>a,.header-inner nav>button{width:auto;font-size:.9375rem;padding:10px 6px;line-height:1.5;white-space:nowrap}

  .service-strip{padding-top:18px}
  .service-inner{min-height:108px;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:0;border-radius:12px}
  .service-days{padding:19px 18px}
  .service-days .eyebrow{font-size:.6875rem;letter-spacing:.06em}
  .service-days p{font-size:.9375rem;line-height:1.5;margin-top:5px}
  .service-platform{padding:18px 14px;gap:11px;justify-content:center}
  .service-platform>.icon{width:27px;height:27px}
  .service-platform strong{font-size:1.4rem;line-height:1.25}
  .service-platform small{font-size:.875rem;line-height:1.4}

  /* The two photographs and story form one coherent editorial grid. */
  .intro{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:36px;row-gap:0;align-items:start}
  .intro-tall{grid-column:1;grid-row:1/6;position:relative;align-self:stretch;height:100%;padding-top:0;min-height:0;width:100%;max-width:none}
  .intro-tall>img{position:absolute;inset:0 0 35px;width:100%;height:calc(100% - 35px);min-height:0;object-fit:cover;object-position:center 26%;border-radius:8px}
  .image-caption{position:absolute;bottom:0;left:0;margin:0;font-size:.75rem;letter-spacing:.05em;line-height:1.6}
  .intro-story{display:contents}
  .intro-story>.eyebrow{grid-column:2;grid-row:1;align-self:start}
  .intro-story h2{grid-column:2;grid-row:2;font-size:clamp(2.35rem,4vw,2.8rem);line-height:1.12;margin-top:17px}
  .intro-story>p:not(.eyebrow){grid-column:2;max-width:none;font-size:1rem;line-height:1.85;margin-top:21px}
  .intro-story>p:nth-of-type(2){grid-row:3}
  .intro-story>p:nth-of-type(3){grid-row:4}
  .intro-story .text-link{grid-column:2;grid-row:5;align-self:start;justify-self:start;margin-top:22px}
  .intro-wide{grid-column:1/-1;grid-row:6;width:100%;height:265px;object-fit:cover;object-position:center 64%;margin:32px 0 0;border-radius:8px}
  .vision{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 36px;padding-bottom:72px}
  .vision>.eyebrow{grid-column:1/-1;margin:0}
  .vision h2{font-size:2.45rem;line-height:1.14}
  .vision>div>p{font-size:1rem;line-height:1.85;margin-top:20px}
  .vision-mission{padding-left:30px}
  .vision-mission>span:first-child{font-size:.8125rem;line-height:1.6}
  .scripture{margin-top:23px}
  .scripture>small{font-size:.75rem}

  .section-heading{display:flex;flex-wrap:wrap;align-items:flex-end;gap:22px 28px;margin-bottom:34px}
  .section-heading>div{min-width:0;flex:1 1 400px}
  .section-heading h2{font-size:clamp(2.5rem,4.2vw,3.05rem);margin-top:17px;line-height:1.12}
  .section-heading>.text-link{flex:0 1 auto;align-self:flex-start;margin:0;font-size:.9375rem}
  .heading-description{flex:0 1 280px;font-size:1rem;line-height:1.8}
  .watch-grid{grid-template-columns:1fr;gap:32px;align-items:center}
  .featured-video{height:430px;width:100%;max-width:760px;margin-inline:auto;border-radius:8px}
  .featured-video>img{width:66%;height:100%;object-fit:contain;object-position:right center}
  .video-tag{font-size:.75rem;left:26px;top:24px}
  .video-title{left:26px;right:26px;bottom:26px}
  .video-title>small{font-size:.75rem;line-height:1.6;max-width:55%;margin-bottom:16px}
  .video-title>strong{max-width:55%;font-size:3rem;line-height:1.08}
  .video-title>span{font-size:.75rem;margin-top:24px}
  .video-play{right:26px;width:60px;height:60px}
  .watch-copy{max-width:760px;width:100%;margin-inline:auto}
  .watch-copy h3{font-size:2.45rem;line-height:1.12;margin-top:16px}
  .watch-copy>p:not(.eyebrow){font-size:1rem;line-height:1.85;margin-top:20px}
  .watch-copy .button{margin-top:22px;max-width:100%}
  .replay-row{margin-top:26px;padding-top:24px}
  .replay-row strong{font-size:1rem}
  .replay-row small{font-size:.75rem;line-height:1.6}

  /* Two generous cards followed by a full-width ministry story. */
  .ministry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 28px}
  .ministry{min-width:0}
  .ministry-photo{height:auto;aspect-ratio:1.15;border-radius:8px}
  .ministry-photo>img{object-position:center 30%}
  .ministry-photo>span{left:18px;right:18px;bottom:19px;font-size:.75rem;line-height:1.6;letter-spacing:.04em}
  .ministry-content{padding-top:23px}
  .ministry-content h3{font-size:1.7rem;line-height:1.2}
  .ministry-content p{min-height:0;margin-top:14px;font-size:1rem;line-height:1.8}
  .ministry-content .text-link{margin-top:20px;font-size:.9375rem;line-height:1.6;max-width:100%}
  .ministry:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:28px}
  .ministry:last-child .ministry-photo{height:300px;aspect-ratio:auto}
  .ministry:last-child .ministry-content{padding:0 8px}
  .ministry:last-child .ministry-content h3{font-size:2rem}
  .ministry:last-child .ministry-content p{max-width:400px}

  .pastors-section{padding-block:70px}
  .pastors-grid{grid-template-columns:1fr;gap:32px;max-width:760px}
  .pastors-photo{width:100%;max-width:640px;margin-inline:auto}
  .pastors-photo>img{width:100%;height:auto;min-height:0;aspect-ratio:1733/907;object-fit:contain;object-position:center;background:#f5f0f8;border-radius:8px}
  .pastors-story h2{font-size:2.8rem;line-height:1.12;margin-top:17px}
  .pastors-story>p:not(.eyebrow){font-size:1rem;line-height:1.85;margin-top:20px}
  .pastors-story .text-link{margin-top:23px;font-size:1rem}
  .pastors-name{margin-top:20px;font-size:.875rem}
  .testimony-section{min-height:460px}
  .testimony-copy{padding-block:65px}
  .testimony-copy h2{font-size:3.8rem;line-height:1.06;margin-top:18px}
  .testimony-copy>p:not(.eyebrow){font-size:1rem;line-height:1.85;max-width:460px;margin-top:22px}
  .testimony-copy .button{margin-top:25px}
  .testimony-note{font-size:.875rem;margin-top:17px}

  .prayer-section{grid-template-columns:1fr;gap:34px;align-items:start}
  .prayer-copy{padding-top:0}
  .prayer-copy h2{font-size:clamp(2.6rem,4.7vw,3rem);line-height:1.14;margin-top:18px;max-width:760px}
  .prayer-copy>p:not(.eyebrow){max-width:760px;font-size:1rem;line-height:1.85;margin-top:21px}
  .care-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:29px}
  .care-steps>div{display:block}
  .care-steps .icon{width:23px;height:23px;margin:0 0 11px}
  .care-steps strong{font-size:1rem;line-height:1.5}
  .care-steps small{font-size:.875rem;line-height:1.65;margin-top:6px}
  .personal-prayer{padding-top:23px;margin-top:27px;gap:13px}
  .personal-prayer>span{font-size:.875rem;line-height:1.6}
  .personal-prayer strong{font-size:1rem}
  .prayer-form{padding:30px;border-radius:9px;min-width:0}
  .form-top h3{font-size:1.65rem}
  .preview-note{font-size:.875rem;line-height:1.7;margin-bottom:24px}
  .field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  form>label,.field-row>label,legend{font-size:1rem}
  .topic-options{gap:9px}
  .topic-options>label{max-width:100%}
  .topic-options label>span{font-size:.9375rem;padding:9px 11px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
  .field-help{font-size:.875rem;line-height:1.7;margin-top:12px}
  .sharing-permission label{font-size:1rem;line-height:1.65;margin-block:12px}
  .sharing-permission legend{font-size:1rem;line-height:1.6}
  .submit-prayer{font-size:1rem;min-height:52px}
  .prayer-after{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:32px;align-items:start;padding-bottom:72px}
  .prayer-after h2{font-size:2.4rem;line-height:1.14;margin-top:16px}
  .prayer-after ol{margin-top:22px;padding-left:23px}
  .prayer-after li{font-size:1rem;line-height:1.8;margin-bottom:17px;padding-left:4px}
  .prayer-now{padding:27px 26px;align-self:start;min-width:0}
  .prayer-now>.icon{width:25px;height:25px;margin-bottom:18px}
  .prayer-now h3{font-size:1.7rem;line-height:1.22;margin:0 0 18px}
  .prayer-now blockquote{margin:0 0 22px;font-size:1.0625rem;line-height:1.85;color:#496450}
  .prayer-now p{font-size:1rem;line-height:1.8}

  .ministry-gallery-section{padding-block:65px}
  .gallery-grid{grid-template-columns:1fr;gap:30px}
  .gallery-grid h2{font-size:2.7rem;line-height:1.12;margin-top:17px}
  .gallery-grid>div>p:not(.eyebrow){max-width:660px;font-size:1rem;line-height:1.85;margin-top:20px}
  .gallery-grid .text-link{margin-top:21px;font-size:1rem}
  .gallery-slides{height:auto;aspect-ratio:16/10}
  .gallery-slides>.slide{padding-bottom:45px}
  .gallery-slides>.slide>img{object-fit:contain;object-position:center}
  .gallery-controls{padding:5px 17px}
  .gallery-slides figcaption{font-size:.875rem;line-height:1.7}
  .salvation-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;padding-block:55px;align-items:center}
  .salvation h2{font-size:2.7rem;line-height:1.12;margin-top:17px}
  .salvation p:not(.eyebrow){font-size:1rem;line-height:1.8;margin-top:19px}
  .salvation .button{white-space:nowrap;align-self:center;margin-top:0}
  .giving-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;padding-block:45px;align-items:center}
  .giving-banner h2{font-size:2.1rem;line-height:1.18}
  .giving-banner p:not(.eyebrow){font-size:1rem;line-height:1.8}
  .giving-banner>.button{white-space:nowrap;margin-top:0}

  .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:33px 38px;padding-block:48px}
  .footer-brand{grid-column:1/-1}
  .footer-brand>.brand>img{width:96px;height:66px}
  .footer-brand .brand{gap:14px}
  .footer-brand .brand strong{font-size:1.55rem;line-height:1.15}
  .footer-brand .brand small{font-size:.8125rem;line-height:1.5}
  .footer-brand>p{font-size:1rem;line-height:1.8;margin-top:21px}
  .footer-youtube{font-size:1rem;margin-top:21px}
  .footer-main h3{font-size:1rem;margin-bottom:16px}
  .footer-links>a,.footer-contact>a,.footer-links>button{font-size:1rem;line-height:1.7;padding-block:4px}
  .footer-contact>.footer-email{font-size:1rem;overflow-wrap:anywhere}
  .footer-contact>.text-link{font-size:1rem}
  .footer-bottom{gap:18px;flex-wrap:wrap;padding-block:24px 36px;font-size:.8125rem;line-height:1.6}
  .footer-bottom>button{font-size:.8125rem}
  .floating-wa{right:18px;bottom:18px;padding:14px;border-radius:50%;gap:0}
  .floating-wa>span{display:none}
  .floating-wa>.icon{width:26px;height:26px}
  dialog{padding:25px 28px 80px;max-width:680px;max-height:88dvh}
  dialog h2{font-size:2.5rem}
  .pastor-bios article>img{height:280px;object-fit:contain;background:#f5f0f8}
  .pastor-bios h2{font-size:1.5rem;line-height:1.2}
}

@media (760px < width < 1000px) {
  .watch-section .section-heading{display:block}
  .watch-section .section-heading>.text-link{margin-top:22px}
  .community .section-heading{display:block}
  .heading-description{max-width:540px;margin-top:20px}
  .heading-description br{display:none}
}

@media (1000px <= width < 1200px) {
  .intro{column-gap:42px}
  .intro-wide{height:285px;margin-top:34px}
  .watch-grid{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:36px}
  .featured-video{height:410px;max-width:none}
  .featured-video>img{width:73%;object-position:right center}
  .video-title>strong{font-size:2.7rem;max-width:80%}
  .video-title>small{max-width:90%;font-size:.6875rem}
  .video-tag{font-size:.6875rem;left:21px;top:22px;padding:6px 9px}
  .video-title{left:22px;right:22px;bottom:24px}
  .video-play{right:21px;width:54px;height:54px;top:39%}
  .watch-copy h3{font-size:2.3rem;line-height:1.15}
  .watch-copy .eyebrow{font-size:.75rem;line-height:1.6}
  .watch-copy>p:not(.eyebrow){margin-top:19px}
  .watch-copy .button{padding-inline:17px;font-size:.9375rem;margin-top:21px}
  .ministry-grid{gap:42px 32px}
  .ministry-photo{aspect-ratio:1.35}
  .ministry:last-child{gap:40px}
  .ministry:last-child .ministry-photo{height:320px}
  .ministry:last-child .ministry-content{padding-inline:10px}
  .pastors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;max-width:1120px}
  .pastors-photo{max-width:none}
  .pastors-story h2{font-size:2.8rem}
  .prayer-section{grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:36px}
  .prayer-copy{padding-top:16px}
  .prayer-copy h2{font-size:2.6rem;line-height:1.15}
  .prayer-copy>p:not(.eyebrow){margin-top:21px}
  .care-steps{display:flex;gap:24px;margin-top:29px}
  .care-steps>div{display:flex;gap:14px}
  .care-steps .icon{width:21px;height:21px;margin:3px 0 0}
  .care-steps small{margin-top:4px}
  .prayer-form{padding:28px}
  .field-row{grid-template-columns:1fr;gap:0}
  .prayer-after{gap:40px}
  .prayer-now{padding:30px}
  .prayer-now h3{font-size:1.8rem}
  .gallery-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:42px}
  .gallery-grid h2{font-size:2.65rem}
  .gallery-grid>div>p:not(.eyebrow){max-width:none}
  .footer-main{grid-template-columns:minmax(0,1.2fr) minmax(0,.75fr) minmax(0,1.05fr);gap:28px}
  .footer-brand{grid-column:auto}
  .footer-brand>.brand>img{width:82px;height:57px}
  .footer-brand .brand{gap:11px}
  .footer-brand .brand strong{font-size:1.35rem}
  .footer-brand .brand small{font-size:.75rem}
  .footer-brand .brand em{font-size:.6875rem}
  .footer-contact>a,.footer-links>a,.footer-links>button{font-size:.9375rem}
  .footer-contact>.footer-email,.footer-contact>.text-link{font-size:.9375rem}
}

@media (1100px <= width < 1200px) {
  .prayer-form .field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
}

