/* Consul-specific styles: text wordmark logo + components that reuse template
   classes outside their original CSS scope. Values mirror the Governlia theme
   (shadow 0 10px 21.25px rgba(0,0,0,.06), icomoon check \e902, accent #17753a). */

/* --- wordmark logo (replaces the image logo) --- */
.logo h1, .logo .site-name, .nav-logo .site-name { margin: 0; line-height: 1.05; }
.logo h1 a, .logo .site-name a, .nav-logo .site-name a {
    font-family: 'Merriweather', serif; font-weight: 700; font-size: 30px;
    color: #fff; letter-spacing: -.5px; white-space: nowrap; text-decoration: none;
}
.logo h1 a:hover, .logo .site-name a:hover, .nav-logo .site-name a:hover { color: #17753a; }
.logo h1 a, .logo .site-name a { display: flex; align-items: center; gap: 14px; }
.logo-crest { height: 58px; width: auto; flex-shrink: 0; }
@media (max-width: 1139px) { .logo-crest { height: 44px; } .logo h1 a, .logo .site-name a { gap: 10px; } }
.logo .logo-region { display: block; font-family: 'Arimo', sans-serif; font-weight: 700;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #17753a; }
.nav-logo .site-name a { font-size: 26px; color: #fff; }
/* sticky header has a #111 background — keep the wordmark readable */
.sticky-header .logo .site-name a { color: #fff; }

/* hide the decorative watermark titles site-wide */
.big-title { display: none; }

/* darker body copy for readability (template default .text is a faint #555) */
.about-section .content-block .text, .services-section .service-block .content .text { color: #333; }

/* dark overlay on the page-title hero so the header nav + title stay readable over photos */
.page-title:before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.60) 0%, rgba(0,0,0,.35) 100%); }
.page-title .auto-container { position: relative; z-index: 2; }

/* --- territory cards (territories.php, .territory-cards only — scoped so it
   does NOT bleed onto .service-block cards that share .services-section) --- */
.territory-cards .inner-box { background: #fff; overflow: hidden; margin-bottom: 30px;
    box-shadow: 0 10px 21.25px 3.75px rgba(0, 0, 0, .06); }
.territory-cards .inner-box .image img { display: block; width: 100%; height: 300px; object-fit: cover; }
.territory-cards .inner-box .content { padding: 35px 40px 40px; }
.territory-cards .inner-box .content h3 { margin-bottom: 4px; }
.territory-cards .inner-box .content h4 { color: #17753a; font-family: 'Arimo', sans-serif;
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.territory-cards .inner-box .content .text { margin-bottom: 22px; }
.territory-cards .inner-box .content .list { display: flex; flex-wrap: wrap; gap: 10px; }
.territory-cards .inner-box .content .list li { background: #f4f4f4; color: #222; font-weight: 700;
    font-size: 13px; padding: 6px 14px; border-radius: 3px; }

/* --- list/text blocks reused under .city-program-section (mandates initiatives, about purpose) --- */
.city-program-section .content-block .text { color: #222; font-size: 16px; line-height: 30px; margin-bottom: 20px; }
.city-program-section .content-block .list li { position: relative; padding-left: 30px;
    margin-bottom: 12px; font-weight: 700; color: #222; }
.city-program-section .content-block .list li:after { font-family: 'icomoon'; content: "\e902";
    position: absolute; left: 0; top: 5px; font-size: 15px; font-weight: 400;
    border-right: 1px solid #222; padding-right: 5px; }

/* --- relief gallery: uniform tiles, caption overlaid so lengths don't stagger --- */
.relief-gallery { padding: 80px 0 50px; }
.relief-gallery .gallery-item { position: relative; margin: 0 0 30px; overflow: hidden;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); }
.relief-gallery .gallery-item img { display: block; width: 100%; height: 280px; object-fit: cover; }
.relief-gallery .gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0;
    padding: 45px 22px 18px; color: #fff; font-size: 14px; line-height: 20px;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 100%); }

/* --- submission flash message --- */
.portal-flash { margin: 30px 0 0; padding: 16px 24px; border-radius: 4px; font-weight: 700; }
.portal-flash.ok { background: #e8f5e9; color: #1b7a2f; border: 1px solid #b7e0bd; }
.portal-flash.err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* --- services portal: interactive service picker --- */
.pt-60 { padding-top: 60px !important; } .pt-0 { padding-top: 0 !important; } .pb-0 { padding-bottom: 0 !important; }
.svc-panel { padding: 40px; }
.svc-panel h3 { margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; max-height: 470px; overflow-y: auto; }
.svc-item { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
    border: 1px solid #e5e5e5; background: #fff; color: #222; font-weight: 700; font-size: 15px;
    padding: 14px 18px; border-radius: 4px; cursor: pointer; transition: .25s; }
.svc-item i { color: #17753a; font-size: 18px; width: 22px; text-align: center; transition: .25s; }
.svc-item:hover { border-color: #17753a; }
.svc-item.active { background: #17753a; border-color: #17753a; color: #fff; }
.svc-item.active i { color: #fff; }
.svc-selected { font-weight: 700; color: #17753a; }
.svc-subscribe { display: flex; flex-wrap: wrap; gap: 12px; max-width: 620px; margin: 25px auto 0; }
.svc-subscribe input[type=email] { flex: 1 1 240px; height: 55px; padding: 0 20px; border: 1px solid #ddd; border-radius: 4px; }

.svc-item .svc-go { margin-left: auto; font-size: 13px; color: #17753a; }

/* --- directory / resources rows --- */
.dir-table { max-width: 900px; margin: 0 auto; }
.dir-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    background: #fff; border: 1px solid #eee; box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.05);
    padding: 22px 28px; margin-bottom: 16px; border-radius: 4px; }
.dir-office { flex: 1 1 300px; }
.dir-office h4 { margin-bottom: 4px; }
.res-tag { display: inline-block; background: #eef4fd; color: #17753a; font-weight: 700;
    font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; }
.res-request { display: flex; gap: 10px; flex-wrap: wrap; }
.res-request input[type=email] { height: 48px; padding: 0 16px; border: 1px solid #ddd; border-radius: 4px; }

/* --- verification result cards --- */
.verify-results { margin-top: 35px; }
.verify-card { padding: 28px 30px; border-radius: 6px; margin-bottom: 18px; }
.verify-card.ok { background: #e8f5e9; border: 1px solid #b7e0bd; }
.verify-card.no { background: #fdf6ec; border: 1px solid #f2d9a6; }
.verify-badge { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.verify-card.ok .verify-badge { color: #1b7a2f; }
.verify-card.no .verify-badge { color: #a06a12; }
.verify-ref { margin-top: 8px; font-weight: 700; color: #222; letter-spacing: .5px; }

/* --- readable text over photo-background banner sections (overlay + white text) --- */
.video-section, .contact-info-section .wrapper-box { position: relative; }
.video-section:before, .contact-info-section .wrapper-box:before { content: ''; position: absolute;
    left: 0; right: 0; top: 0; bottom: 0; background: rgba(9, 14, 28, .74); border-radius: inherit; }
.video-section > *, .contact-info-section .wrapper-box > * { position: relative; z-index: 1; }
.contact-info-section .wrapper-box, .contact-info-section .wrapper-box h2,
.contact-info-section .wrapper-box h4, .contact-info-section .wrapper-box h5,
.contact-info-section .wrapper-box .text, .contact-info-section .wrapper-box a { color: #fff; }

/* --- donation amount selector --- */
.amount-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.amount-btn { border: 1px solid #ddd; background: #f4f4f4; color: #222; font-weight: 700;
    font-size: 16px; padding: 12px 22px; border-radius: 3px; cursor: pointer; transition: .3s; }
.amount-btn:hover { border-color: #17753a; color: #17753a; }
.amount-btn.active { background: #17753a; border-color: #17753a; color: #fff; }

/* --- contact left column (.contact-form-section .contact-info-block) --- */
.contact-form-section .contact-info-block h3 { margin-bottom: 12px; }
.contact-form-section .contact-info-block .contact-info li { display: flex; align-items: flex-start;
    gap: 15px; margin-bottom: 22px; }
.contact-form-section .contact-info-block .contact-info li .icon img { max-width: 40px; }
.contact-form-section .contact-info-block .contact-info li .text strong { display: block; color: #222; }
.contact-form-section .contact-info-block .contact-info li .text a { color: #17753a; }

/* ============================================================
   SaaS portal chrome (portal/* pages) — separate from public site
   ============================================================ */
.portal-body { background: #f4f6f9; color: #222; }
.portal-bar { display: flex; align-items: center; justify-content: space-between;
    background: #111; padding: 16px 40px; }
.portal-brand { font-family: 'Merriweather', serif; font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; }
.portal-brand span { color: #17753a; }
.portal-nav { display: flex; align-items: center; gap: 22px; }
.portal-nav a { color: #ddd; text-decoration: none; font-weight: 700; font-size: 15px; }
.portal-nav a:hover { color: #fff; }
.portal-user { color: #8a94a6; font-weight: 700; }
.portal-cta, .portal-logout { color: #fff !important; background: #17753a; padding: 8px 18px; border-radius: 4px; }
.portal-logout { background: #333; }
.portal-main { padding: 45px 0 70px; }
.portal-container { max-width: 1100px; margin: 0 auto; padding: 0 25px; }
.portal-narrow { max-width: 480px; margin: 0 auto; }
.portal-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 25px; align-items: start; }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-card { background: #fff; border: 1px solid #e8ebef; border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.05); padding: 32px 34px; margin-bottom: 25px; }
.portal-card h2 { font-size: 24px; margin-bottom: 18px; }
.portal-card label { display: block; font-weight: 700; margin-bottom: 16px; font-size: 14px; }
.portal-card input, .portal-card select, .portal-card textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px 15px; font-weight: 400;
    border: 1px solid #d7dce3; border-radius: 5px; background: #fff; }
.portal-card .muted, .muted { color: #8a94a6; font-size: 14px; }
.portal-card .theme-btn { margin-top: 8px; }
.portal-table { width: 100%; border-collapse: collapse; }
.portal-table th, .portal-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #eef1f5; font-size: 14px; vertical-align: top; }
.portal-table th { color: #8a94a6; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.portal-table .note { margin-top: 6px; color: #555; font-size: 13px; }
.stat { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.stat.new { background: #eef4fd; color: #17753a; }
.stat.review { background: #fff4e5; color: #a06a12; }
.stat.ok { background: #e8f5e9; color: #1b7a2f; }
.stat.err { background: #fdecea; color: #b3261e; }
.stat.muted { background: #eceff3; color: #6b7280; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters a { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 20px;
    background: #eef1f5; color: #444; text-decoration: none; }
.filters a.on { background: #17753a; color: #fff; }
.req { border: 1px solid #eef1f5; border-radius: 8px; padding: 20px 22px; margin-bottom: 16px; }
.req-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.req-subj { margin-top: 4px; }
.req-from { text-align: right; font-size: 13px; color: #555; }
.req-detail { margin: 14px 0; padding: 14px 16px; background: #f7f9fb; border-radius: 5px; font-size: 14px; }
.req-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.req-actions select { width: auto; padding: 10px 14px; border: 1px solid #d7dce3; border-radius: 5px; }
.req-actions input[type=text] { flex: 1 1 240px; padding: 10px 14px; border: 1px solid #d7dce3; border-radius: 5px; }
.req-actions .theme-btn { margin: 0; }
.portal-foot { text-align: center; padding: 24px; color: #8a94a6; font-size: 13px; }

/* --- blog / news cards --- */
.blog-card { background: #fff; overflow: hidden; margin-bottom: 30px;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); }
.blog-cover { display: block; height: 220px; background-size: cover; background-position: center; }
.blog-body { padding: 24px 26px 26px; }
.blog-date { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #17753a; margin-bottom: 8px; }
.blog-body h4 { margin-bottom: 10px; }
.blog-body h4 a { color: #222; } .blog-body h4 a:hover { color: #17753a; }
.blog-more { font-weight: 700; color: #17753a; }
.post-meta { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #17753a; margin-bottom: 14px; }
.post-lead { font-family: 'Merriweather', serif; font-weight: 400; line-height: 1.5; margin-bottom: 24px; color: #333; }
.post-body p { color: #333; font-size: 16px; line-height: 30px; margin-bottom: 18px; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions form { display: inline; }
.row-actions button { background: none; border: 0; color: #17753a; font-weight: 700; cursor: pointer; padding: 0; font-size: 13px; }
.row-actions button.danger { color: #b3261e; }
.portal-card label.check { display: flex; align-items: center; gap: 8px; }
.portal-card label.check input { width: auto; margin: 0; }

/* keep image boxes clipped (was part of the rounded-corner pass; still needed square) */
.contact-form-section .wrapper-box, .contact-form-section .our-facts, .relief-gallery .gallery-item,
.territory-cards .inner-box, .contact-info-section .wrapper-box { overflow: hidden; }

/* --- site-content CMS rows --- */
.cms-sub { font-size: 16px; margin: 22px 0 12px; }
.cms-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.cms-row input[type=text] { flex: 1 1 160px; padding: 10px 14px; border: 1px solid #d7dce3; }
.cms-row .theme-btn { margin: 0; }
.cms-del { background: none; border: 0; color: #b3261e; font-weight: 700; cursor: pointer; font-size: 13px; }

/* --- header language dropdown (Google-translated) --- */
.site-lang { -webkit-appearance: none; appearance: none;
    font-size: 13px; font-weight: 700; line-height: 1; padding: 8px 32px 8px 16px; margin: 0 22px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 17px;
    background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 13px center;
    color: #fff; cursor: pointer;
    max-width: 150px; transition: border-color .25s, background-color .25s; }
.site-lang option { color: #222; }
.site-lang:disabled { opacity: .5; }
.site-lang:hover, .site-lang:focus { border-color: #17753a; outline: 0; }
/* second copy of the picker lives inside the hamburger menu for small screens
   (the header-top one is display:none below 1500px via responsive.css) */
.menu-lang { padding: 25px 30px; }
.menu-lang .site-lang { width: 100%; max-width: 100%; margin: 0; padding: 10px 14px;
    border-radius: 6px; border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.06); }

/* hamburger active (<=1139px): logo left, burger top-right on one uncrowded row.
   clamp() scales the wordmark with the viewport so it can never collide with the burger,
   and overflow:hidden on the logo box is the belt-and-braces if it somehow still would. */
@media (max-width: 1139px) {
    .main-header .header-upper .inner-container { flex-wrap: nowrap; }
    .main-header .header-upper .logo-box { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .main-header .header-upper .logo-box .logo h1 a,
    .main-header .header-upper .logo-box .logo .site-name a { font-size: clamp(16px, 4.5vw, 24px); }
    .nav-outer { display: flex; align-items: center; flex-shrink: 0; margin-left: auto; padding-left: 15px; }
    .nav-outer .mobile-nav-toggler { float: none; margin: 0; }
    /* responsive.css hides .sticky-header on mobile; bring back the same
       slide-down fixed header the desktop gets (its cloned menu stays hidden) */
    .sticky-header { display: block !important; }
    .sticky-header .main-menu { display: none !important; }
}

/* --- translating state: gentle fade while text swaps --- */
.page-wrapper { transition: opacity .3s ease; }
html.translating { cursor: progress; }
html.translating .page-wrapper { opacity: .55; pointer-events: none; }

/* --- forms: responsive + focus/hover polish --- */
.contact-form .form-group input,
.contact-form .form-group textarea {
    font-size: 16px; /* 16px+ stops iOS zooming the page on focus */
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    background: #fff; border-color: #17753a; outline: 0;
    box-shadow: 0 4px 16px rgba(41, 130, 229, .12);
}
.amount-btn { transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease; }
.amount-btn:hover { transform: translateY(-1px); }
.theme-btn.btn-style-one { transition: transform .25s ease, box-shadow .25s ease; }
.theme-btn.btn-style-one:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(41, 130, 229, .25); }
.theme-btn.is-sending { opacity: .7; pointer-events: none; }
.theme-btn.is-sending span::before {
    content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 10px;
    border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%;
    vertical-align: -2px; animation: lw-spin .7s linear infinite;
}
@keyframes lw-spin { to { transform: rotate(360deg); } }

/* prayer meeting time + join link under the call to prayer */
.prayer-meet { margin-top: 30px; display: flex; align-items: center; justify-content: center;
    gap: 25px; flex-wrap: wrap; }
.prayer-time { color: #fff; font-weight: 700; font-size: 17px; }
.prayer-time i { margin-right: 8px; color: #17753a; }

/* gallery: subtle zoom, nothing showy */
.relief-gallery .gallery-item { overflow: hidden; }
.relief-gallery .gallery-item img { transition: transform .5s ease; }
.relief-gallery .gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 991px) {
    .contact-form-section { padding: 60px 0; }
    .contact-form-section .wrapper-box { padding: 0 5px; }
    .contact-form-section .our-facts { max-width: 100%; padding: 160px 25px 35px; margin-bottom: 10px; }
    .contact-form-section .contact-form-area { padding: 35px 20px 45px; }
    .contact-form .form-group input, .contact-form .form-group textarea { padding: 0 18px; }
    .contact-form .form-group textarea { padding-top: 14px; }
    /* preset amounts: 3-up grid instead of a ragged wrap */
    .amount-btn { flex: 1 1 calc(33.33% - 10px); min-width: 0; }
    /* full-width submit reads better on a phone */
    .contact-form .theme-btn.btn-style-one { width: 100%; text-align: center; }
}

/* ===================== crest theme =====================
   Palette from the Consular Office crest: deep green, gold, shield navy. */
:root { --c-green: #17753a; --c-green-dark: #0d3f21; --c-gold: #e5b93c; --c-navy: #26357e; }

.header-top { background: var(--c-green-dark); }
.header-style-one .sticky-header { background-color: var(--c-green-dark); }
/* solid in-flow header: the template's position:absolute overlay let hero
   content render behind the logo/nav on small or zoomed screens. In normal
   flow that overlap is structurally impossible. */
.main-header.header-style-one { position: relative; background: var(--c-green-dark); }
.logo .logo-region { color: var(--c-gold); }
.theme-btn.btn-style-one:hover { background-color: var(--c-gold); color: #1a1a1a; }
.theme-btn.btn-style-one.gold { background-color: var(--c-gold); }
.theme-btn.btn-style-one.gold span { color: #1a1a1a; }
.theme-btn.btn-style-one.gold:hover { background-color: #fff; }
.sec-title .sub-title { color: var(--c-gold); }
.site-lang:hover, .site-lang:focus { border-color: var(--c-gold); }
.prayer-time i { color: var(--c-gold); }

/* footer in crest colours */
.main-footer { background-color: var(--c-green-dark); }
.main-footer .widget-title { color: var(--c-gold); }
.main-footer .footer-bottom { background: rgba(0,0,0,.25); }
.main-footer .social-links li a:hover { background: var(--c-gold); color: #1a1a1a; }
.main-footer .links-widget a:hover, .main-footer .contact-info a:hover { color: var(--c-gold); }

/* ===================== homepage ===================== */
/* hero = full-bleed relief carousel */
.home-hero-slider .slide { position: relative; min-height: 78vh;
    background-size: cover; background-position: center; display: flex; align-items: center; }
.home-hero-slider .slide:before { content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,39,19,.92) 0%, rgba(7,39,19,.45) 60%, rgba(7,39,19,.55) 100%); }
/* header is solid and in-flow (see .main-header rule above), so the hero
   only needs its own breathing room */
.home-hero-slider .slide-inner { position: relative; z-index: 1; width: 100%; text-align: center; color: #fff;
    padding: 100px 15px; }
.home-hero-slider .sub-title { color: var(--c-gold); font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.home-hero-slider h1 { font-family: 'Merriweather', serif; color: #fff; font-size: 52px; margin-bottom: 16px; }
.home-hero-slider .cap-text { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.home-hero-slider .owl-dots { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; z-index: 2; }
.home-hero-slider .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 0 5px;
    background: rgba(255,255,255,.45); border-radius: 50%; display: inline-block; transition: .25s; }
.home-hero-slider .owl-dots .owl-dot.active span { background: var(--c-gold); width: 26px; border-radius: 6px; }

/* office identity band — its own solid section so the text is always readable */
.home-identity { padding: 90px 0 80px; text-align: center; color: #fff;
    background: radial-gradient(ellipse at 50% -20%, #1d8a46 0%, var(--c-green-dark) 55%, #072713 100%); }

/* consulate preview video: full-bleed section background, no content over it.
   Top and bottom edges feather into the deep green of the adjacent sections. */
.home-video { position: relative; height: 72vh; overflow: hidden; background: #000; }
.home-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* long eased fades whose outer edge exactly matches the neighbours' #072713,
   so the transition is effectively undetectable */
.home-video:before, .home-video:after { content: ''; position: absolute; left: 0; right: 0;
    height: 220px; z-index: 1; pointer-events: none; }
.home-video:before { top: 0; background: linear-gradient(to bottom,
    #072713 0%, rgba(7,39,19,.72) 28%, rgba(7,39,19,.35) 58%, rgba(7,39,19,0) 100%); }
.home-video:after { bottom: 0; background: linear-gradient(to top,
    #072713 0%, rgba(7,39,19,.72) 28%, rgba(7,39,19,.35) 58%, rgba(7,39,19,0) 100%); }
@media (max-width: 767px) { .home-video { height: 45vh; } .home-video:before, .home-video:after { height: 100px; } }
.hero-crest { height: 170px; width: auto; margin-bottom: 26px;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }
.home-identity h2 { font-family: 'Merriweather', serif; color: #fff; font-size: 42px; margin-bottom: 8px; }
.hero-territory { color: var(--c-gold); font-weight: 700; letter-spacing: 5px; text-transform: uppercase; font-size: 15px; margin-bottom: 22px; }
.hero-motto { display: inline-block; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25);
    padding: 10px 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hero-tagline { font-size: 18px; color: rgba(255,255,255,.9); }

.home-cta { position: relative; padding: 90px 0; text-align: center; background-size: cover; background-position: center; }
/* top edge solid #072713 so the video feather above lands on an identical colour */
.home-cta:before { content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, #072713 0%, rgba(7,39,19,.85) 180px, rgba(7,39,19,.85) 100%); }
.home-cta > * { position: relative; z-index: 1; }
.home-cta h2 { color: #fff; font-size: 38px; margin-bottom: 28px; }

/* ===================== dashboard (donations.php) ===================== */
.dash-bar { background: var(--c-green-dark); color: #fff; padding: 16px 0; }
.dash-bar .inner { display: flex; justify-content: space-between; align-items: center; }
.dash-bar .brand { display: flex; align-items: center; gap: 12px; font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700; color: #fff; }
.dash-bar .brand img { height: 40px; }
.dash-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dash-home-link { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--c-green); }
.dash-home-link:hover { color: var(--c-gold); }
.dash-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0 26px; }
.dash-stat { background: #fff; border-radius: 8px; padding: 22px 28px; flex: 1 1 180px;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); border-top: 3px solid var(--c-green); }
.dash-stat span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #667; }
.dash-stat b { display: block; font-size: 30px; margin-top: 6px; color: var(--c-green-dark); font-family: 'Merriweather', serif; }
.dash-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); margin-bottom: 60px; }
.dash-table th, .dash-table td { text-align: left; padding: 13px 16px; font-size: 14px; border-bottom: 1px solid #eef3ee; }
.dash-table th { background: var(--c-green-dark); color: var(--c-gold); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.dash-table .ok { color: var(--c-green); font-weight: 700; } .dash-table .bad { color: #b3261e; font-weight: 700; }
.dash-empty { padding: 44px; text-align: center; color: #667; background: #fff; border-radius: 8px;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); margin-bottom: 60px; }
.dash-login { max-width: 420px; margin: 80px auto; }
.dash-login .contact-form-area { background: #fff; padding: 45px 40px; border-radius: 8px;
    box-shadow: 0 10px 21.25px 3.75px rgba(0,0,0,.06); border-top: 4px solid var(--c-green); text-align: center; }
.dash-login img { height: 100px; margin-bottom: 18px; }
@media (max-width: 600px) { .dash-table th:nth-child(4), .dash-table td:nth-child(4) { display: none; } }

@media (max-width: 767px) {
    .home-hero-slider .slide { min-height: 88vh; }
    .home-hero-slider .slide-inner { padding: 70px 15px; }
    .home-hero-slider h1 { font-size: 30px; }
    .home-hero-slider .cap-text { font-size: 15px; }
    .home-identity, .home-cta { padding: 70px 0; }
    .hero-crest { height: 120px; }
    .home-identity h2 { font-size: 28px; }
}

/* ===================== venezuela page spacing polish ===================== */
/* 4 gallery tiles → one clean 4-up row (col-lg-3), consistent tile height */
.relief-gallery .gallery-item img { height: 240px; }
/* ways-to-help cards: taller, equal heights — leave the template's left
   geometry alone (padding-left 105px makes room for the absolute icon) */
.services-section .service-block .inner-box { height: calc(100% - 55px);
    padding-top: 38px; padding-bottom: 38px; padding-right: 34px; }
/* prayer banner: measure the text, don't run wall-to-wall */
.video-section .text { max-width: 860px; margin: 0 auto; }
.video-section h2 { margin-bottom: 22px; }

/* loading animation in crest colours: green wipe layers, gold spinner ring */
.loader-wrap .layer .overlay { background: var(--c-green-dark); }

/* page-title banner: the template sized this for an overlaying absolute header
   (margin-top 69px + 231px padding). With the solid in-flow header both gaps
   read as dead space — tighten. */
.page-title { margin-top: 0; padding: 130px 0 55px; }
.page-title h1 { margin-bottom: 45px; }
@media (max-width: 767px) { .page-title { padding: 80px 0 40px; } .page-title h1 { font-size: 38px; line-height: 44px; margin-bottom: 30px; } }
