@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@1,600&display=swap');

* { box-sizing: border-box; }
body { margin: 0; color: #222; background: #f7f6f2; font: 16px Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.font-accent { font-family: 'Cormorant', serif; font-style: italic; font-weight: 600; letter-spacing: 0.02em; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: bold; letter-spacing: 2px; text-decoration: none; }


.top-banner{
    height:50px;
    background:#0f0f0f;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 2rem;

    border-bottom:1px solid rgba(255,255,255,.08);

    position:relative;
    z-index:999;
}

.service-info{
    display:flex;
    align-items:center;
    gap:.75rem;

    font-size:.875rem;
    font-weight:500;
}

.divider{
    opacity:.4;
}

.top-icons{
    display:flex;
    align-items:center;
    gap:1rem;
}

.top-icons a{
    color:#fff;
    text-decoration:none;

    display:flex;
    align-items:center;
    gap:.4rem;

    transition:.3s ease;
}

.top-icons a:hover{
    color:#d4af37;
    transform:translateY(-2px);
}

.top-icons svg{
    width:18px;
    height:18px;
    fill:currentColor;
}

.phone-link span{
    font-size:.85rem;
    font-weight:500;
}

/* Tablet */
@media (max-width: 991px){

    .top-banner{
        justify-content:center;
        padding:0 1rem;
        height:45px;
    }

    .service-info{
        display:none;
    }

    .phone-link{
        display:none !important;
    }

    .top-icons{
        width:100%;
        justify-content:center;
        gap:1.2rem;
    }
}

/* Mobile */
@media (max-width: 767px){

    .top-icons svg{
        width:20px;
        height:20px;
    }

    .top-icons{
        gap:1rem;
    }
}
.hero { min-height: 650px; height: 100vh; position: relative; display: flex; align-items: center; color: white; background: #222; }
.hero { height: calc(100vh - var(--contact-bar-height) - 44px); height: calc(100svh - var(--contact-bar-height) - 44px); min-height: min(620px, calc(100svh - var(--contact-bar-height) - 44px)); background: linear-gradient(#1118, #1118), url("images/service-image.png") center 42% / cover no-repeat, #222; }
.hero video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { position: absolute; z-index: 1; inset: 0; background: #1118; content: ""; }
.hero-content { position: relative; z-index: 2; width: min(900px, 80%); max-width: 900px; margin: 0 10%; color: white; }
.hero-content p, .label { color: #d5ad78; font-size: 12px; font-weight: bold; letter-spacing: 2px; }
.hero h1 { margin: 16px 0 28px; color: white; font-size: clamp(48px, 7vw, 100px); line-height: .98; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; }
.button { display: inline-block; padding: 12px 20px; color: #222; background: white; text-decoration: none; }
.section { padding: 80px 8%; }
.section > p:not(.label) { max-width: 620px; }
.dark { color: white; background: #1b201d; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 35px 0; }
.cards article { background: #2a302c; padding-bottom: 20px; }
.cards img { width: 100%; height: 250px; object-fit: cover; }
.cards h3, .cards p { margin: 12px 18px; }
.harlingen-location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; margin: 35px 0; color: var(--color-ink); background: #f1ece2; border-radius: 5px; }
.harlingen-location > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.harlingen-location-info { align-self: center; padding: clamp(22px, 4vw, 42px); }
.harlingen-location-info > h3 { margin: 0 0 18px; font-size: 28px; }
.service-times { display: grid; gap: 12px; }
.service-times article { padding: 14px 16px; background: var(--color-background); border-left: 4px solid var(--color-primary); }
.service-times h4, .service-times p { margin: 0; }
.service-times h4 { font-size: 16px; }
.service-times p { margin-top: 4px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.feature img { width: 100%; max-height: 480px; object-fit: cover; }
.callout { color: white; text-align: center; background: #333a34; }
.footer { padding: 30px 8%; color: white; background: #151815; }
.footer .logo { display: inline-block; }
.footer small { color: #aaa; }
.page-banner { position: relative; min-height: clamp(480px, 68svh, 760px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: clamp(170px, 21vh, 230px) 8% clamp(60px, 8vh, 90px); color: white; background: linear-gradient(90deg, rgba(13, 30, 21, .88), rgba(13, 30, 21, .48) 64%, rgba(13, 30, 21, .18)); background-position: center; background-size: cover; }
.page-banner > * { position: relative; z-index: 1; }
.page-banner .label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #e4d1a3; }
.page-banner .label::before { width: 38px; height: 1px; background: #e4d1a3; content: ""; }
.page-banner h1 { max-width: 900px; margin: 0; color: white; font-size: clamp(70px, 10vw, 120px); line-height: .92; text-shadow: 0 3px 28px #0005; }
.page-banner-copy { max-width: 600px; margin: 24px 0 0; color: #f3f5ef; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.content { width: min(1000px, 84%); margin: 0 auto; padding: 60px 0; }
.content h2 { margin-top: 0; }
.simple-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.simple-card { padding: 24px; background: #eeede7; }
.simple-card h3 { margin-top: 0; }
.simple-card p { margin-bottom: 0; }
.page-image { width: 100%; max-height: 520px; object-fit: cover; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.choice-list button { padding: 10px 16px; border: 1px solid #888; background: transparent; cursor: pointer; }
.choice-list button.selected { color: white; background: #222; }
.notice { min-height: 24px; color: #555; }
.content details { margin: 12px 0; padding: 18px; background: #eeede7; }
.content summary { cursor: pointer; font-weight: bold; }
.content details p { margin: 12px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sermon-video { overflow: hidden; padding: 72px 7% 78px; color: #f7f6f2; background: #62776c; }
.sermon-video-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: clamp(28px, 6vw, 72px); max-width: 1200px; margin: 0 auto; }
.sermon-video-player { overflow: hidden; aspect-ratio: 16 / 9; background: #014421; border-radius: 5px; }
.sermon-video-play { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; background: #62776c; border: 0; cursor: pointer; }
.sermon-video-play:focus-visible { outline: 2px solid var(--color-background); outline-offset: -4px; }
.sermon-video-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #014421; }
.sermon-video-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sermon-video-play:hover .sermon-video-image img { transform: scale(1.04); }
.media-play { position: absolute; top: 50%; left: 50%; display: grid; width: 56px; height: 56px; place-items: center; color: whitesmoke; background: #62776c; border-radius: 50%; transform: translate(-50%, -50%); transition: transform .2s ease; }
.sermon-video-play:hover .media-play { transform: translate(-50%, -50%) scale(1.08); }
.sermon-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.sermon-video-info .label { margin: 0 0 8px; color: var(--color-accent); }
.sermon-video-info h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); }
.sermon-video-subtitle { margin: 14px 0 8px; font-size: 22px; }
.sermon-video-description { margin: 0; color: #d2d9cf; }
.sermon-social { display: flex; gap: 12px; margin-top: 24px; }
.sermon-social a { display: grid; width: 42px; height: 42px; place-items: center; color: var(--color-background); border: 1px solid #e8e1d4a6; border-radius: 50%; transition: color .2s, background .2s, border-color .2s; }
.sermon-social svg { width: 19px; height: 19px; fill: currentColor; }
.sermon-social a:hover { color: white; background: #014421; border-color: white; }
.sermon-social a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 760px) {
  .cards, .feature, .harlingen-location { grid-template-columns: 1fr; }
  .harlingen-location > img { min-height: 0; max-height: 340px; }
  .simple-cards { grid-template-columns: 1fr; }
  .section { padding: 55px 7%; }
  .hero { min-height: min(560px, calc(100svh - var(--contact-bar-height) - 44px)); }
  .hero-content { width: auto; margin: 0 7%; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); }
  .page-banner { min-height: 360px; padding-right: 7%; padding-left: 7%; }
  .sermon-video { padding: 52px 6% 58px; }
  .sermon-video-inner { grid-template-columns: 1fr; gap: 28px; }
  .sermon-video-info h2 { font-size: clamp(38px, 9vw, 48px); }
}
@media (max-width: 760px) {
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding: 34px 7%; text-align: center; }
  .footer-brand p { margin-right: auto; margin-left: auto; }
  .footer-navigation { gap: 12px 18px; }
  .footer-social { justify-content: center; }
  .footer small { grid-column: auto; width: 100%; }
}

:root {
  --color-primary: #627769;
  --color-background: #fbf5e6;
  --color-accent: #c2d0bd;
  --color-ink: #62776c;
  --contact-bar-height: 56px;
}
body { color: var(--color-ink); background: var(--color-background); }
.site-contact-bar { position: relative; z-index: 3; height: var(--contact-bar-height); padding: 0 5%; color: white; background: #014421; font-size: 12px; }
.contact-bar-inner { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(310px, 1.2fr) minmax(350px, 1.35fr); align-items: center; gap: 18px; width: min(100%, 1440px); height: 100%; margin: 0 auto; }
.contact-bar-address, .contact-bar-links a { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.contact-bar-address { gap: 8px; white-space: nowrap; }
.contact-bar-address svg, .contact-bar-links svg { flex: 0 0 auto; width: 17px; height: 17px; fill: currentColor; }
.top-service-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 12px; line-height: 1.35; text-align: center; }
.contact-bar-links { display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.contact-bar-links a { min-height: 32px; justify-content: center; }
.contact-bar-links a:hover, .contact-bar-address:hover { color: var(--color-accent); }
.contact-bar-phone { gap: 6px; white-space: nowrap; }
.contact-bar-links a:focus-visible, .contact-bar-address:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.announcement-bar { display: flex; min-height: 44px; align-items: center; overflow: hidden; padding: 8px 0; color: white; background: #014421; text-align: center; }
.announcement-track { display: flex; flex: 0 0 auto; width: max-content; margin: 0; animation: announcement-scroll 24s linear infinite; color: white; font-size: clamp(11px, 3.5vw, 14px); font-weight: bold; line-height: 1.4; white-space: nowrap; }
.announcement-track span { padding: 0 3rem; }
@keyframes announcement-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.footer { display: grid; grid-template-columns: minmax(220px, 1.2fr) 1fr auto; align-items: center; gap: 26px; padding: 38px 8%; color: var(--color-background); background: var(--color-primary); }
.footer .logo { display: inline-flex; }
.footer-contact { display: grid; gap: 5px; margin-top: 12px; font-size: 14px; font-style: normal; }
.footer-contact a { color: var(--color-background); text-decoration: none; }
.footer-contact a:hover { color: white; }
.footer-brand p { max-width: 280px; margin: 10px 0 0; color: #f5f1e9; }
.footer-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer-navigation a, .footer-social a { color: var(--color-background); }
.footer-navigation a { font-size: 14px; text-decoration: none; }
.footer-social { display: flex; justify-content: end; gap: 12px; }
.footer-social a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #e8e1d4a6; border-radius: 50%; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }
.footer small { grid-column: 1 / -1; padding-top: 15px; color: #f5f1e9; border-top: 1px solid #e8e1d466; }
.footer-navigation a:hover, .footer-social a:hover { color: white; }
.footer-social a:hover { background: #014421; border-color: white; }
.footer a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.footer-social a { border-color: #e8e1d4a6; }
.footer-brand p, .footer small { color: #f5f1e9; }
.footer small { border-color: #e8e1d466; }
.footer-social a:hover { background: #014421; border-color: white; }
.footer-navigation a:hover, .footer-social a:hover { color: white; }
.label { color: var(--color-primary); }
.hero-content p { color: var(--color-background); }
.button, .content .contact-link, .content .giving-link, .content > .button {
  color: white;
  background: var(--color-primary);
}
.button:hover, .content .contact-link:hover, .content .giving-link:hover, .content > .button:hover { background: #014421; }
.choice-list button.selected { color: white; background: var(--color-primary); }
.dark { background: var(--color-primary); }
.cards article { color: var(--color-ink); background: #f1ece2; }
.callout { background: #014421; }
.simple-card, .content details, .mission-values { background: var(--color-background); }
.notice { color: var(--color-primary); }
.page-banner { background-color: var(--color-primary); }
.footer a:focus-visible, .footer-social a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 760px) {
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding: 34px 7%; text-align: center; }
  .footer-brand p { margin-right: auto; margin-left: auto; }
  .footer-navigation { gap: 12px 18px; }
  .footer-social { justify-content: center; }
  .footer small { grid-column: auto; width: 100%; }
}

@media (max-width: 1000px) {
  :root { --contact-bar-height: 88px; }
  .contact-bar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
  .top-service-times { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
  :root { --contact-bar-height: 122px; }
  .site-contact-bar { padding: 8px 4%; }
  .contact-bar-inner { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .contact-bar-address { font-size: 11px; }
  .top-service-times { gap: 2px 9px; font-size: 11px; }
  .contact-bar-links { gap: 12px; }
  .contact-bar-links a { min-height: 28px; }
  .contact-bar-links svg { width: 16px; height: 16px; }
  .contact-bar-phone { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track { width: 100%; justify-content: center; animation: none; white-space: normal; }
  .announcement-track span { padding: 0 8px; }
  .announcement-track span[aria-hidden="true"] { display: none; }
}

.sermon-video, .section, .content {
  min-height: 100vh;
  min-height: 100dvh;
}
.section:not(.feature) { display: flex; flex-direction: column; justify-content: center; }
.section.feature { align-content: center; }
.sermon-video { display: grid; align-items: center; }
.content { display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 760px) {
  .page-banner { min-height: clamp(460px, 68svh, 620px); padding: 170px 7% 60px; }
  .page-banner h1 { font-size: clamp(58px, 13vw, 82px); }
  .page-banner .label { gap: 9px; font-size: 11px; letter-spacing: 1.6px; }
  .page-banner .label::before { width: 25px; }
  .page-banner-copy { margin-top: 20px; font-size: 17px; }
}

.header {
  position: relative;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6%;
  color: white;
  background: #173c2a;
}
.header .logo img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; }
.header nav { display: flex; gap: 22px; }
.header nav a { color: inherit; font-size: 13px; text-decoration: none; }
.header nav a:hover { color: var(--color-accent); }
.menu-button { display: none; }
.header a:focus-visible { outline: 2px solid white; outline-offset: 4px; }

@media (max-width: 1100px) {
  .header { align-items: center; }
  .menu-button { display: block; padding: 8px 12px; color: white; background: transparent; border: 1px solid white; }
  .header nav { position: absolute; z-index: 21; top: 100%; right: 0; left: 0; display: none; padding: 18px 6%; background: #171a18; }
  .header nav.open { display: grid; gap: 14px; }
}

@media (max-width: 760px) {
  .header .logo { max-width: calc(100% - 88px); white-space: normal; font-size: 13px; letter-spacing: 1.2px; }
  .header .logo img { flex-basis: 42px; width: 42px; height: 42px; }
}
