/* A bilingual gateway to Naedong Church's local and global ministry. */
.gateway-page {
  --gateway-dark: #1f241f;
  --gateway-panel: #2a3029;
  --gateway-soft: #c5cdbf;
  background: #fffefa;
}
.gateway-page .site-header { background: rgba(255,254,250,.98); }
.gateway-page .header-inner { gap: 28px; }
.gateway-page .desktop-nav { gap: 25px; margin-left: auto; }
.gateway-page .desktop-nav a { font-size: .875rem; }
.header-actions { display: flex; align-items: center; gap: 19px; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border: 1px solid #dddcd3; border-radius: 3px; }
.language-switch a { display: inline-flex; justify-content: center; align-items: center; min-width: 37px; min-height: 32px; padding: 4px 9px; border-radius: 1px; color: #73786c; font-size: .8125rem; line-height: 1.5; }
.language-switch a.active, .language-switch a[aria-current=page] { background: var(--ink); color: #fff; font-weight: 600; }
.language-switch a:hover { background: #edece3; color: var(--ink); }
.language-switch a.active:hover, .language-switch a[aria-current=page]:hover { background: #40483b; color: #fff; }
.header-social { display: inline-flex; align-items: center; gap: 13px; color: #69705e; font-size: .875rem; }
.header-social:hover, .header-social a:hover { color: var(--accent); }
.header-actions .menu-toggle { flex-shrink: 0; }

.gateway-hero { overflow: hidden; background: var(--gateway-dark); color: #fffefa; }
.gateway-hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 65px; align-items: center; padding-block: 76px 68px; }
.gateway-intro { padding-bottom: 10px; }
.gateway-intro > .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: #e7a181; font-size: .8125rem; letter-spacing: .15em; }
.gateway-intro > .eyebrow::before { content: ''; display: block; flex-shrink: 0; width: 25px; height: 1px; background: #cc764f; }
.gateway-title { margin: 0; font: 500 clamp(2.5rem,4.2vw,3.75rem)/1.43 var(--serif); letter-spacing: -.065em; }
.gateway-title em { color: #efae88; font-style: normal; }
.gateway-lead { max-width: 500px; margin-top: 28px; color: #d8dfd3; font-size: 1.0625rem; line-height: 1.95; letter-spacing: -.025em; }
.gateway-identity { max-width: 500px; margin-top: 14px; color: #98a591; font-size: .875rem; line-height: 1.85; }
.gateway-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.gateway-buttons .button { min-height: 52px; gap: 9px; padding: 13px 23px; font-size: .9375rem; }
.gateway-buttons .button.youtube { background: var(--accent); border-color: var(--accent); color: #fff; }
.gateway-buttons .button.youtube:hover { background: #e26237; border-color: #e26237; transform: translateY(-2px); }
.gateway-buttons .button.instagram { border-color: #697460; background: transparent; color: #f4f5ed; }
.gateway-buttons .button.instagram:hover { background: #343d30; border-color: #b2bea7; }
.gateway-buttons svg { width: 20px; height: 20px; }
.gateway-caption { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 19px; color: #a6b39b; font-size: .8125rem; line-height: 1.7; letter-spacing: .045em; }
.gateway-caption span { color: #97a68a; letter-spacing: 0; }
.featured-panel { min-width: 0; padding: 28px 27px 13px; border: 1px solid #53604a; border-radius: 5px; background: #293027; box-shadow: 0 20px 60px -28px #0006; }
.featured-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 17px; border-bottom: 1px solid #495341; }
.featured-heading .eyebrow { margin: 0; color: #a8b79a; font-size: .8125rem; letter-spacing: .12em; }
.featured-heading h2 { margin: 0; font: 500 1rem/1.6 var(--sans); letter-spacing: -.025em; color: #f6f7ee; }
.featured-heading > p:not(.eyebrow) { flex-basis: 100%; margin-top: 1px; color: #a0af93; font-size: .8125rem; line-height: 1.7; }
.top-sermons { display: flex; flex-direction: column; }
.top-sermon { display: grid; grid-template-columns: 21px 136px minmax(0,1fr); align-items: center; gap: 13px; padding-block: 18px; }
.top-sermon + .top-sermon { border-top: 1px solid #404b38; }
.rank { color: #7e8d71; font: 400 1rem/1.4 Georgia,serif; font-variant-numeric: tabular-nums; }
.top-thumb { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 16/9; border-radius: 2px; background: #12160f; }
.top-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.top-thumb .play-small { width: 31px; height: 31px; color: #fff; background: #171d14b8; border: 1px solid #fffb; }
.top-thumb .play-small svg { width: 14px; height: 14px; }
.top-thumb .play-small { font-size: .6875rem; line-height: 1; padding-left: 2px; }
.top-info { min-width: 0; }
.top-subtitle { display: block; margin-bottom: 4px; color: #abb99d; font-size: .75rem; letter-spacing: .045em; line-height: 1.5; }
.top-info h3 { margin: 0; color: #fffefa; font-size: 1rem; font-weight: 500; line-height: 1.55; letter-spacing: -.035em; }
.top-info > p { margin-top: 3px; color: #acb89f; font-size: .8125rem; line-height: 1.6; }
.top-views { display: block; margin-top: 5px; color: #efad89; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.top-sermon:hover .top-thumb img { transform: scale(1.035); opacity: .88; }
.top-sermon:hover h3 { color: #efad89; }
.top-sermon:focus-visible { border-radius: 3px; outline-color: #efad89; }
.impact-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 27px 28px; border-top: 1px solid #4b5842; border-bottom: 1px solid #4b5842; }
.impact-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 2px 24px; text-align: center; }
.impact-stat + .impact-stat { border-left: 1px solid #4b5842; }
.impact-stat strong { color: #fffefa; font: 400 2.5rem/1.25 var(--serif); letter-spacing: -.035em; }
.impact-stat strong small { font: 400 1rem/1.5 var(--sans); margin-inline: 2px; color: #d5dfcd; }
.impact-stat span { color: #adbba1; font-size: .875rem; line-height: 1.7; }
.stats-note { padding-block: 14px 22px; color: #99a78d; font-size: .8125rem; line-height: 1.8; text-align: center; }

/* Two genuine ministries; shared purpose, distinct places and practices. */
.dual-mission { background: #fffefa; }
.dual-mission .section-heading { align-items: flex-end; margin-bottom: 39px; }
.mission-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 29px; }
.mission-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 36px 38px 34px; border-radius: 4px; border: 1px solid #e4ddd2; background: #fff6ef; }
.mission-card.global { border-color: #d9e0d2; background: #f1f5ed; }
.mission-kicker { margin: 0 0 17px; color: #b16b44; font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.mission-card.global .mission-kicker { color: #667d53; }
.mission-card h3 { font: 500 1.8125rem/1.5 var(--serif); letter-spacing: -.05em; }
.mission-card > p:not(.mission-kicker) { max-width: 450px; margin-top: 15px; color: #716b60; font-size: 1rem; line-height: 1.9; }
.mission-card.global > p:not(.mission-kicker) { color: #66715d; }
.mission-number { display: flex; gap: 13px; align-items: baseline; margin-block: 25px 21px; }
.mission-number strong { color: var(--accent); font: 500 2.875rem/1.25 var(--serif); letter-spacing: -.05em; }
.mission-number span { color: #8f7866; font-size: .875rem; }
.mission-card.global .mission-number strong { color: #667d53; }
.mission-card.global .mission-number span { color: #7e8c72; }
.mission-points { width: 100%; padding: 22px 0 0 18px; margin: 0 0 26px; border-top: 1px solid #e4d7c8; color: #6d675c; font-size: 1rem; line-height: 1.9; }
.mission-card.global .mission-points { border-color: #d7e0cf; color: #5d6c52; }
.mission-points li { padding-left: 2px; }
.mission-points li + li { margin-top: 7px; }
.mission-points li::marker { color: #c99b7b; font-size: .7em; }
.mission-card.global .mission-points li::marker { color: #95aa81; }
.mission-card .text-link { margin-top: auto; color: #95633e; font-size: .875rem; }
.mission-card.global .text-link { color: #61734f; }
.mission-card .text-link:hover { color: var(--accent); }

.pastor-story { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 105px; }
.pastor-statement h2 { max-width: 450px; }
.pastor-statement h2 em { color: var(--accent); font-style: normal; }
.pastor-section { padding-top: 10px; }
.pastor-narrative > p { color: #697062; font-size: 1rem; line-height: 2; }
.pastor-narrative > p + p { margin-top: 20px; }
.pastor-narrative .story-lead { color: #37422f; font: 500 1.25rem/1.85 var(--serif); letter-spacing: -.025em; }
.pastor-narrative .pastor-sign { justify-content: flex-start; margin-top: 24px; color: #7b806e; font-size: .875rem; }
.scripture-band { margin-top: 29px; padding: 23px 26px; border-left: 2px solid #c98059; background: #faf2e9; }
.scripture-band p { color: #936144; font: 400 1.1875rem/1.85 var(--serif); letter-spacing: -.03em; }
.scripture-band p + p, .scripture-band small { display: block; margin-top: 8px; color: #9c8370; font: 400 .8125rem/1.7 var(--sans); }
.scripture-band > span { display: block; margin-top: 8px; color: #9c8370; font-size: .8125rem; line-height: 1.7; }

.channel-gateway { padding-block: 68px 72px; background: #edf2e7; border-top: 1px solid #dbe3d3; border-bottom: 1px solid #dbe3d3; }
.channel-gateway > .container > .eyebrow { color: #6c7e5b; margin-bottom: 12px; }
.channel-gateway h2 { font: 500 clamp(1.875rem,3vw,2.625rem)/1.45 var(--serif); letter-spacing: -.055em; }
.channel-gateway > .container > p:not(.eyebrow) { margin-top: 16px; color: #68785a; font-size: 1rem; line-height: 1.9; }
.channel-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.channel-action { display: flex; align-items: center; gap: 20px; padding: 23px 27px; border: 1px solid #cfdbc4; background: #fffefa; border-radius: 4px; transition: border-color .2s, background .2s; }
.channel-action > svg { width: 31px; height: 31px; color: var(--accent); }
.channel-action.instagram > svg { color: #7b755e; }
.channel-action > div { display: flex; flex-direction: column; gap: 2px; }
.channel-action strong { color: #34402d; font-size: 1.1875rem; font-weight: 600; line-height: 1.5; }
.channel-action span { color: #728064; font-size: .875rem; line-height: 1.7; }
.channel-action small { margin-left: auto; color: #9a795a; font-size: .8125rem; }
.channel-action:hover { border-color: #96ac82; background: #f9fcf5; }
.channel-action.youtube:hover > svg { color: #e56238; }
.gateway-page .social-card-content p { font-size: 1rem; }
.gateway-page .visit-section { background: #faf4eb; }
.gateway-page .footer-links a { font-size: .875rem; }
.gateway-page .footer-bottom { font-size: .8125rem; }

/* Longer English headings retain the same typographic hierarchy. */
html[lang=en] .gateway-title { font-size: clamp(2.5rem,4.05vw,3.625rem); line-height: 1.26; letter-spacing: -.035em; }
html[lang=en] .gateway-lead { line-height: 1.85; }
html[lang=en] .featured-heading { gap: 5px 12px; }
html[lang=en] .top-info h3 { font-size: .9375rem; line-height: 1.45; letter-spacing: -.015em; }
html[lang=en] .gateway-page { word-break: normal; overflow-wrap: break-word; }
html[lang=en] .desktop-nav a { font-size: .8125rem; }
html[lang=en] .impact-stat strong { font-size: 2.25rem; }
html[lang=en] .mission-card h3 { letter-spacing: -.025em; }
html[lang=en] .mission-number { flex-wrap: wrap; gap: 8px 13px; }
html[lang=en] .brand-copy strong { font-size: 1.3125rem; letter-spacing: -.045em; }

@media (min-width: 1500px) {
  .gateway-hero-grid { padding-block: 92px 80px; gap: 73px; }
}
@media (max-width: 1100px) {
  .gateway-page .header-inner { gap: 21px; }
  .header-social { display: none; }
  .gateway-hero-grid { gap: 36px; padding-block: 61px 56px; grid-template-columns: 1fr 1.03fr; }
  .gateway-title { font-size: clamp(2.5rem,4.5vw,3.1rem); }
  .featured-panel { padding: 22px 22px 9px; }
  .featured-heading { display: block; }
  .featured-heading h2 { margin-top: 7px; }
  .featured-heading > p:not(.eyebrow) { margin-top: 6px; }
  .top-sermon { grid-template-columns: 17px 116px minmax(0,1fr); gap: 10px; padding-block: 16px; }
  .top-info h3 { font-size: .9375rem; }
  .top-subtitle { font-size: .75rem; }
  .top-views { font-size: .8125rem; }
  .gateway-buttons { gap: 10px; }
  .gateway-buttons .button { padding-inline: 18px; font-size: .875rem; }
  .mission-card { padding: 32px 30px 30px; }
  .pastor-story { gap: 65px; }
  .channel-action { gap: 15px; padding-inline: 23px; }
  .channel-action small { display: none; }
}
@media (max-width: 850px) {
  .gateway-page .header-inner { gap: 18px; }
  .header-actions { margin-left: auto; gap: 12px; }
  .gateway-hero-grid { grid-template-columns: 1fr; gap: 37px; padding-block: 53px 45px; }
  .gateway-intro { padding: 0; }
  .gateway-title { font-size: 3.3rem; }
  .gateway-lead { max-width: 590px; margin-top: 22px; }
  .gateway-identity { max-width: 600px; }
  .gateway-buttons { margin-top: 27px; }
  .featured-panel { padding: 25px 26px 12px; }
  .featured-heading { display: flex; }
  .featured-heading h2 { margin-top: 0; }
  .top-sermon { grid-template-columns: 24px 170px minmax(0,1fr); gap: 18px; padding-block: 17px; }
  .top-info h3 { font-size: 1.125rem; }
  .top-subtitle { font-size: .8125rem; }
  .top-views { font-size: .9375rem; }
  .impact-stat { padding-inline: 14px; }
  .impact-stat strong { font-size: 2.1rem; }
  .impact-stat span { font-size: .8125rem; }
  .mission-pair { gap: 22px; }
  .mission-card { padding: 29px 26px; }
  .mission-card h3 { font-size: 1.625rem; }
  .mission-number { flex-wrap: wrap; gap: 7px 12px; }
  .mission-number strong { font-size: 2.5rem; }
  .pastor-story { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .pastor-section { padding-top: 0; }
  .pastor-narrative .story-lead { font-size: 1.125rem; }
  .channel-gateway { padding-block: 57px; }
  .channel-action { gap: 13px; padding-inline: 19px; }
  .channel-action > svg { width: 27px; height: 27px; }
  .channel-action span { font-size: .8125rem; }
  html[lang=en] .gateway-title { max-width: 670px; font-size: 3.25rem; }
  html[lang=en] .top-info h3 { font-size: 1rem; }
  html[lang=en] .impact-stat strong { font-size: 1.875rem; }
}
@media (max-width: 640px) {
  .gateway-page .header-inner { gap: 10px; }
  .header-actions { gap: 7px; }
  .language-switch { padding: 2px; }
  .language-switch a { min-width: 33px; min-height: 32px; padding-inline: 6px; font-size: .8125rem; }
  .gateway-hero-grid { padding-block: 42px 34px; gap: 31px; }
  .gateway-intro > .eyebrow { margin-bottom: 22px; gap: 10px; font-size: .75rem; letter-spacing: .1em; }
  .gateway-intro > .eyebrow::before { width: 20px; }
  .gateway-title { font-size: clamp(2.2rem,9vw,3.25rem); line-height: 1.43; letter-spacing: -.065em; }
  .gateway-lead { margin-top: 21px; font-size: 1rem; line-height: 1.9; }
  .gateway-identity { margin-top: 13px; font-size: .875rem; line-height: 1.8; }
  .gateway-buttons { gap: 10px; margin-top: 25px; }
  .gateway-buttons .button { min-height: 50px; padding: 12px 17px; font-size: .875rem; }
  .gateway-buttons svg { width: 18px; height: 18px; }
  .gateway-caption { font-size: .8125rem; gap: 4px; flex-direction: column; margin-top: 18px; }
  .featured-panel { padding: 22px 18px 6px; }
  .featured-heading { flex-direction: column; align-items: flex-start; gap: 7px; padding-bottom: 16px; }
  .featured-heading .eyebrow { font-size: .75rem; }
  .featured-heading h2 { font-size: .9375rem; }
  .featured-heading > p:not(.eyebrow) { margin-top: 0; flex-basis: auto; }
  .top-sermon { grid-template-columns: 17px 104px minmax(0,1fr); gap: 10px; padding-block: 17px; }
  .rank { font-size: .875rem; }
  .top-info h3 { font-size: .9375rem; line-height: 1.55; }
  .top-subtitle { margin-bottom: 3px; font-size: .75rem; }
  .top-info > p { margin-top: 3px; font-size: .8125rem; }
  .top-views { margin-top: 5px; font-size: .875rem; }
  .top-thumb .play-small { width: 27px; height: 27px; }
  .top-thumb .play-small svg { width: 12px; height: 12px; }
  .impact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 0; }
  .impact-stat { padding: 23px 14px; gap: 6px; }
  .impact-stat + .impact-stat { border-left: 0; }
  .impact-stat:nth-child(2n) { border-left: 1px solid #4b5842; }
  .impact-stat:nth-child(n+3) { border-top: 1px solid #4b5842; }
  .impact-stat strong { font-size: 2.0625rem; }
  .impact-stat span { font-size: .8125rem; }
  .stats-note { padding-block: 15px 22px; font-size: .8125rem; text-align: left; }
  .dual-mission .section-heading { align-items: flex-start; margin-bottom: 28px; }
  .mission-pair { grid-template-columns: 1fr; gap: 23px; }
  .mission-card { padding: 29px 26px; }
  .mission-kicker { font-size: .8125rem; margin-bottom: 14px; }
  .mission-card h3 { font-size: 1.75rem; }
  .mission-card > p:not(.mission-kicker) { font-size: 1rem; }
  .mission-number { margin-block: 23px 20px; }
  .mission-number strong { font-size: 2.75rem; }
  .mission-points { padding-top: 20px; margin-bottom: 22px; }
  .pastor-story { grid-template-columns: 1fr; gap: 28px; }
  .pastor-section { padding-top: 0; }
  .pastor-statement h2 { max-width: none; }
  .pastor-narrative .story-lead { font-size: 1.1875rem; }
  .scripture-band { padding: 21px 23px; }
  .scripture-band p { font-size: 1.125rem; }
  .channel-gateway { padding-block: 51px 54px; }
  .channel-gateway h2 { font-size: 1.9375rem; }
  .channel-actions { grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
  .channel-action { padding: 23px; gap: 18px; }
  .channel-action > svg { width: 30px; height: 30px; }
  .channel-action strong { font-size: 1.125rem; }
  .channel-action span { font-size: .875rem; }
  html[lang=en] .gateway-title { font-size: clamp(2.3rem,9vw,3.1rem); line-height: 1.25; }
  html[lang=en] .top-info h3 { font-size: .9375rem; }
  html[lang=en] .impact-stat strong { font-size: 1.875rem; }
  html[lang=en] .gateway-buttons .button { padding-inline: 14px; font-size: .875rem; }
  html[lang=en] .brand-copy strong { max-width: 130px; font-size: 1.0625rem; letter-spacing: -.035em; line-height: 1.35; }
  html[lang=en] .brand-copy small { font-size: .75rem; letter-spacing: .07em; }
}
@media (max-width: 370px) {
  .gateway-page .brand-copy strong { font-size: 1.0625rem; }
  .gateway-page .brand-copy small { font-size: .75rem; letter-spacing: .03em; }
  .gateway-page .brand { gap: 6px; }
  .gateway-page .brand-mark { width: 23px; }
  .header-actions { gap: 3px; }
  .language-switch a { min-width: 29px; padding-inline: 5px; }
  .gateway-page .menu-toggle { min-width: 40px; width: 40px; }
  .gateway-title { font-size: 2.25rem; }
  .gateway-intro > .eyebrow { font-size: .75rem; letter-spacing: .05em; }
  .gateway-buttons { flex-direction: column; align-items: stretch; }
  .featured-panel { padding-inline: 14px; }
  .top-sermon { grid-template-columns: 14px 84px minmax(0,1fr); gap: 8px; }
  .top-info h3 { font-size: .875rem; }
  .top-info > p, .top-subtitle { font-size: .75rem; }
  .mission-card { padding: 26px 23px; }
  .mission-number strong { font-size: 2.5rem; }
  html[lang=en] .gateway-title { font-size: 2.25rem; }
  html[lang=en] .top-info h3 { font-size: .875rem; }
  html[lang=en] .brand-copy strong { max-width: 98px; font-size: 1rem; }
}

/* UI labels remain legible; only supporting metadata uses 13px. */
.language-switch a, .gateway-page .desktop-nav a, .mission-kicker, .impact-stat span, .top-views, .channel-action span { font-size: .875rem; }
.top-subtitle, .top-info > p { font-size: .8125rem; }
.gateway-page .sermon-thumb > a { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #e6dfd5; }
.gateway-page .sermon-thumb > a > img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.gateway-page .sermon-thumb > a:hover > img { transform: scale(1.035); }
.gateway-page .sermon-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 16px 20px; }
.gateway-page .filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.gateway-page .sermon-toolbar .search-wrap { flex-shrink: 0; }
.gateway-page .sermon-info h3 > a { color: inherit; }
.gateway-page .sermon-info h3 > a:hover { color: var(--accent); }
@media (max-width: 960px) {
  .gateway-page .sermon-toolbar .search-wrap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gateway-page *, .gateway-page *::before, .gateway-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Footer is limited to the church address. */
.gateway-page .address-only-footer { padding: 24px 0; border-top: 1px solid var(--line); }
.address-only-footer address { margin: 0; font-size: .875rem; font-style: normal; line-height: 1.8; color: #63685c; text-align: center; }
