/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    font-family: "Inter", Arial, sans-serif;

    color: #222;

    background: #ffffff;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


/* ==========================================
   TOP BAR
========================================== */

.top-bar {
    width: 100%;

    background: #1648C1;

    color: #ffffff;

    font-size: 12px;
}


.top-bar-container {

    width: 100%;

    max-width: 1400px;

    min-height: 35px;

    margin: 0 auto;

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.top-bar-left {

    display: flex;

    align-items: center;

    white-space: nowrap;
}


.top-bar-right {

    display: flex;

    align-items: center;

    gap: 24px;
}


.top-bar-right .language-selector {

    color: #ffffff;

    display: flex;

    align-items: center;

    gap: 5px;

    transition: opacity 0.2s ease;
}


.top-bar-right > a:hover {

    opacity: 0.75;
}


.top-icon {

    font-size: 12px;
}


.language {

    border-left: 1px solid rgba(255, 255, 255, 0.3);

    padding-left: 20px;
}


.social-links {

    display: flex;

    align-items: center;

    gap: 15px;

    border-left: 1px solid rgba(255, 255, 255, 0.3);

    padding-left: 20px;
}


.social-links a {

    color: #ffffff;

    font-weight: 700;

    font-size: 13px;
}


/* ==========================================
   MAIN HEADER
========================================== */

.main-header {

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;

    z-index: 1000;
}


.header-container {

    width: 100%;

    max-width: 1400px;

    min-height: 95px;

    margin: 0 auto;

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* ==========================================
   CHURCH BRAND
========================================== */

.church-brand {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    gap: 15px;
}


.church-logo {

    width: 72px;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.church-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;
}


.church-information {

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.church-name {

    color: #1648C1;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.2;

    white-space: nowrap;
}


.church-location {

    margin-top: 4px;

    color: #1648C1;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 14px;

    font-weight: 600;
}


.church-tagline {

    margin-top: 5px;

    color: #253d70;

    font-size: 10px;

    font-weight: 500;

    white-space: nowrap;
}


/* ==========================================
   DESKTOP NAVIGATION
========================================== */

.desktop-navigation {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 4px;

    margin-left: auto;
}


.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 35px 10px;

    color: #262626;

    font-size: 12px;

    font-weight: 500;

    white-space: nowrap;

    transition: color 0.2s ease;
}


.nav-link:hover {

    color: #1648C1;
}


.nav-link.active {

    color: #1648C1;
}


.nav-link.active::after {

    content: "";

    position: absolute;

    left: 10px;

    right: 10px;

    bottom: 22px;

    height: 2px;

    background: #1648C1;
}


.arrow {

    font-size: 12px;

    line-height: 1;
}


/* ==========================================
   SEARCH BUTTON
========================================== */

/* =====================================================
   SEARCH OVERLAY
===================================================== */

    .search-button {

        width: 34px;

        height: 34px;

        margin-left: 8px;

        border: none;

        border-radius: 50%;

        background: #f4f5f7;

        cursor: pointer;

        position: relative;
    }


    .search-button::before {

        content: "";

        position: absolute;

        width: 9px;

        height: 9px;

        border: 2px solid #243b66;

        border-radius: 50%;

        left: 10px;

        top: 9px;
    }


    .search-button::after {

        content: "";

        position: absolute;

        width: 7px;

        height: 2px;

        background: #243b66;

        transform: rotate(45deg);

        left: 20px;

        top: 21px;

        border-radius: 2px;
    }


/* Overlay */

.search-overlay{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,0.60);

    backdrop-filter:blur(4px);

    display:flex;

    justify-content:center;

    align-items:flex-start;

    padding:110px 20px 30px;

    opacity:0;

    visibility:hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;

    z-index:99999;
}

.search-overlay.active{

    opacity:1;

    visibility:visible;
}


/* Modal */

.search-modal{

    width:100%;

    max-width:760px;

    background:#ffffff;

    border-radius:14px;

    padding:28px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.18);

    position:relative;

    animation:searchSlide .3s ease;
}


@keyframes searchSlide{

    from{
        transform:translateY(-25px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}


/* Close */

.search-close{

    position:absolute;

    right:18px;

    top:14px;

    width:38px;

    height:38px;

    border:none;

    border-radius:50%;

    background:#f2f4f8;

    color:#122b55;

    font-size:28px;

    cursor:pointer;

    transition:.2s;
}

.search-close:hover{

    background:#1648C1;

    color:#fff;
}


/* Header */

.search-header{

    text-align:center;

    margin-bottom:24px;
}

.search-header h2{

    margin:0;

    color:#122b55;

    font-family:Georgia,serif;

    font-size:28px;
}

.search-header p{

    margin-top:8px;

    color:#6b7280;

    font-size:14px;
}


/* Input */

.search-input-wrapper{

    width:100%;

    display:flex;

    align-items:center;

    border:2px solid #1648C1;

    border-radius:8px;

    overflow:hidden;

    background:#fff;
}

.search-input-wrapper i{

    padding-left:18px;

    color:#1648C1;

    font-size:18px;
}

.search-input-wrapper input{

    width:100%;

    border:none;

    outline:none;

    padding:17px;

    font-size:16px;

    color:#122b55;
}


/* Results */

.search-results{

    margin-top:18px;

    max-height:420px;

    overflow-y:auto;
}


/* Result Item */

.search-result-item{

    display:flex;

    gap:15px;

    padding:14px;

    border-bottom:1px solid #e5e7eb;

    cursor:pointer;

    transition:.2s;
}

.search-result-item:hover{

    background:#f4f7ff;
}


.search-result-image{

    width:72px;

    height:58px;

    border-radius:7px;

    object-fit:cover;

    flex-shrink:0;
}


.search-result-content{

    flex:1;
}

.search-result-content h4{

    margin:0 0 5px;

    color:#122b55;

    font-size:16px;
}

.search-result-content p{

    margin:0;

    color:#6b7280;

    font-size:13px;

    line-height:1.5;
}


.search-result-category{

    display:inline-block;

    margin-bottom:5px;

    color:#1648C1;

    font-size:11px;

    font-weight:700;

    text-transform:uppercase;
}


/* Empty */

.search-empty{

    text-align:center;

    padding:35px;

    color:#9ca3af;

    font-size:14px;
}


/* Mobile */

@media(max-width:600px){

    .search-overlay{

        padding:80px 12px 20px;
    }

    .search-modal{

        padding:22px 16px;
    }

    .search-header h2{

        font-size:22px;
    }

    .search-input-wrapper input{

        font-size:15px;

        padding:15px;
    }

    .search-result-image{

        width:62px;

        height:52px;
    }

}

/*.search-button {

    width: 34px;

    height: 34px;

    margin-left: 8px;

    border: none;

    border-radius: 50%;

    background: #f4f5f7;

    cursor: pointer;

    position: relative;
}


.search-button::before {

    content: "";

    position: absolute;

    width: 9px;

    height: 9px;

    border: 2px solid #243b66;

    border-radius: 50%;

    left: 10px;

    top: 9px;
}


.search-button::after {

    content: "";

    position: absolute;

    width: 7px;

    height: 2px;

    background: #243b66;

    transform: rotate(45deg);

    left: 20px;

    top: 21px;

    border-radius: 2px;
}*/


/* ==========================================
   DONATE BUTTON
========================================== */

.donate-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 34px;

    padding: 0 15px;

    margin-left: 8px;

    border-radius: 5px;

    background: #1648C1;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    transition: background 0.2s ease;
}


.donate-button:hover {

    background: #10358F;
}


.heart {

    font-size: 14px;
}


/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.mobile-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    border: none;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


.mobile-menu-button span {

    display: block;

    width: 24px;

    height: 2px;

    background: #152d63;

    transition: all 0.3s ease;
}


/* ==========================================
   MOBILE NAVIGATION
========================================== */

.mobile-navigation {

    display: none;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


.mobile-navigation a {

    display: block;

    padding: 15px 25px;

    border-bottom: 1px solid #eeeeee;

    color: #222222;

    font-size: 14px;

    font-weight: 500;
}


.mobile-navigation a:hover {

    background: #f8f8f8;

    color: #c27b14;
}


.mobile-navigation.open {

    display: block;
}


.mobile-navigation .mobile-donate {

    margin: 15px;

    border-radius: 5px;

    background: #1648C1;

    color: #ffffff;

    text-align: center;

    border: none;
}


/* ==========================================
   TEMPORARY CONTENT
========================================== */

.temporary-content {

    min-height: 400px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 50px;
}


.temporary-content h1 {

    color: #152d63;

    font-family: "Playfair Display", Georgia, serif;

    margin-bottom: 15px;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {

    padding: 30px;

    background: #152d63;

    color: #ffffff;

    text-align: center;

    font-size: 13px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1200px) {

    .header-container {

        padding: 0 25px;

    }


    .church-name {

        font-size: 18px;

    }


    .church-tagline {

        font-size: 9px;

    }


    .desktop-navigation {

        gap: 0;

    }


    .nav-link {

        padding-left: 7px;

        padding-right: 7px;

        font-size: 11px;

    }


    .donate-button {

        padding-left: 10px;

        padding-right: 10px;

    }

}


/* ==========================================
   TABLET / SMALL LAPTOP
========================================== */

@media (max-width: 1050px) {

    .top-bar-left {

        display: none;

    }


    .top-bar-container {

        justify-content: flex-end;

        padding: 0 20px;

    }


    .desktop-navigation {

        display: none;

    }


    .mobile-menu-button {

        display: flex;

    }


    .header-container {

        min-height: 85px;

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .top-bar {

        display: none;

    }


    .header-container {

        min-height: 75px;

        padding: 0 15px;

    }


    .church-brand {

        gap: 10px;

    }


    .church-logo {

        width: 55px;

        height: 55px;

    }


    .church-name {

        font-size: 15px;

    }


    .church-location {

        font-size: 11px;

    }


    .church-tagline {

        display: none;

    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .church-logo {

        width: 48px;

        height: 48px;

    }


    .church-name {

        font-size: 13px;

    }


    .church-location {

        font-size: 10px;

    }


    .mobile-menu-button {

        width: 38px;

        height: 38px;

    }

}

/* ==========================================
   HERO SECTION
========================================== */

.hero-section {

    position: relative;

    width: 100%;

    min-height: 610px;

    overflow: hidden;

    display: flex;

    align-items: center;

}


/* ==========================================
   HERO BACKGROUND
========================================== */

.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background-image: url("../images/bg.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    z-index: 1;

}


/* ==========================================
   HERO DARK OVERLAY
========================================== */

.hero-overlay {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.55) 38%,
            rgba(0, 0, 0, 0.20) 75%,
            rgba(0, 0, 0, 0.15) 100%
        );

    z-index: 2;

}


/* ==========================================
   HERO CONTAINER
========================================== */

.hero-container {

    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 80px 35px;

}


/* ==========================================
   HERO CONTENT
========================================== */

.hero-content {

    width: 100%;

    max-width: 650px;

}


/* ==========================================
   HERO TITLE
========================================== */

.hero-title {

    margin: 0 0 25px 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 52px;

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -0.8px;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35);

}


/* ==========================================
   HERO DESCRIPTION
========================================== */

.hero-description {

    max-width: 580px;

    margin: 0 0 30px 0;

    color: #ffffff;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.7;

    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.45);

}


/* ==========================================
   HERO BUTTONS
========================================== */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

}


/* ==========================================
   HERO BUTTON
========================================== */

.hero-button {

    min-height: 48px;

    padding: 0 22px;

    border-radius: 5px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;

}


.hero-button span {

    font-size: 20px;

    line-height: 1;

}


.hero-button:hover {

    transform: translateY(-2px);

}


/* ==========================================
   PRIMARY BUTTON
========================================== */

.hero-button-primary {

    background: #1648C1;

    border: 1px solid #10358F;

    color: #ffffff;

}


.hero-button-primary:hover {

    background: #10358F;

    border-color: #10358F;

}


/* ==========================================
   OUTLINE BUTTON
========================================== */

.hero-button-outline {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.75);

    color: #ffffff;

    backdrop-filter: blur(2px);

}


.hero-button-outline:hover {

    background: rgba(255, 255, 255, 0.18);

    border-color: #ffffff;

}


/* ==========================================
   HERO TABLET
========================================== */

@media (max-width: 1050px) {

    .hero-section {

        min-height: 560px;

    }


    .hero-container {

        padding: 70px 30px;

    }


    .hero-title {

        font-size: 46px;

    }

}


/* ==========================================
   HERO MOBILE
========================================== */

@media (max-width: 768px) {

    .hero-section {

        min-height: 620px;

        align-items: center;

    }


    .hero-background {

        background-position: center center;

    }


    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.76) 0%,
                rgba(0, 0, 0, 0.60) 100%
            );

    }


    .hero-container {

        padding: 70px 20px;

    }


    .hero-content {

        max-width: 100%;

    }


    .hero-title {

        font-size: 38px;

        line-height: 1.13;

        letter-spacing: -0.4px;

        margin-bottom: 20px;

    }


    .hero-description {

        max-width: 100%;

        font-size: 14px;

        line-height: 1.65;

        margin-bottom: 25px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

        width: 100%;

        gap: 10px;

    }


    .hero-button {

        width: 100%;

        min-height: 50px;

    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .hero-section {

        min-height: 600px;

    }


    .hero-container {

        padding: 55px 18px;

    }


    .hero-title {

        font-size: 32px;

    }


    .hero-description {

        font-size: 13px;

    }

}

/* ==========================================
   MOBILE MENU BUTTON ANIMATION
========================================== */

.mobile-menu-button.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.mobile-menu-button.active span:nth-child(2) {

    opacity: 0;

}


.mobile-menu-button.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-actions-section {
    position: relative;
    z-index: 10;
    margin-top: -45px;
    padding: 0 25px;
}


.quick-actions-container {
    max-width: 1200px;
    min-height: 105px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    background: #1648C1;
    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}


.quick-action {
    position: relative;

    min-height: 105px;
    padding: 20px 22px;

    display: flex;
    align-items: center;
    gap: 16px;

    color: #ffffff;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.quick-action:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 25%;
    bottom: 25%;

    width: 1px;

    background: rgba(255, 255, 255, 0.3);
}


.quick-action:hover {
    background: #10358F;
}


.quick-action-icon {
    width: 44px;
    min-width: 44px;

    font-size: 35px;
    line-height: 1;

    color: #ffffff;

    text-align: center;
}


.quick-action-content h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}


.quick-action-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   WELCOME SECTION
========================================================= */

.welcome-section {
    background: #ffffff;

    padding: 55px 25px 25px;
}


.welcome-container { 
    /*max-width: 1110px;*/
    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        330px
        1fr;

    gap: 30px;
}


/* =========================================================
   WELCOME INTRODUCTION
========================================================= */

.welcome-introduction {
    padding-top: 5px;
}


.welcome-introduction h2 {
    margin: 12px 0 18px;

    color: #152d63;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 26px;

    line-height: 1.35;
}


.welcome-introduction p {
    margin: 0 0 20px;

    color: #5c6472;

    font-size: 12px;

    line-height: 1.7;
}


.welcome-line {
    width: 38px;

    height: 2px;

    margin-bottom: 18px;

    background: #d18b1c;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    display: flex;

    align-items: center;

    gap: 5px;
}


.section-label span:first-child {
    display: block;

    width: 35px;

    height: 2px;

    background: #d18b1c;
}


.section-label span:last-child {
    display: block;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: #d18b1c;
}


/* =========================================================
   DISCOVER BUTTON
========================================================= */

.discover-button {
    min-height: 40px;

    padding: 0 14px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border-radius: 4px;

    background: #1648C1;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    transition: background 0.2s ease;
}


.discover-button:hover {
    background: #10358F;
}


.discover-button strong {
    font-size: 17px;
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.feature-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e7e7e7;

    border-radius: 5px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.feature-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10);
}


.feature-image {
    width: 100%;

    height: 87px;

    overflow: hidden;
}


.feature-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.feature-card:hover .feature-image img {
    transform: scale(1.05);
}


.feature-card-body {
    padding: 10px 12px 12px;
}


.feature-card-body h3 {
    margin: 0 0 7px;

    color: #152d63;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 14px;

    line-height: 1.25;
}


.feature-card-body p {
    min-height: 35px;

    margin: 0 0 9px;

    color: #626a78;

    font-size: 10px;

    line-height: 1.5;
}


.feature-card-body a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #253b69;

    font-size: 10px;

    font-weight: 700;

    transition: color 0.2s ease;
}


.feature-card-body a:hover {
    color: #c88a20;
}


.feature-card-body a {
    text-decoration: none;
}


/* =========================================================
   NEWS SECTION
========================================================= */

.news-section {
    padding: 15px 25px 55px;

    background: #ffffff;
}


.news-container {
    /*max-width: 1110px;*/
    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(300px, 1fr);

    gap: 30px;
}


.news-column {
    min-width: 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 14px;
}


.section-heading-row h2 {
    margin: 9px 0 0;

    color: #152d63;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 19px;
}


.view-all-button {
    min-height: 32px;

    padding: 0 10px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 1px solid #d9dee5;

    border-radius: 4px;

    color: #253b69;

    font-size: 10px;

    font-weight: 600;
}


.view-all-button:hover {
    border-color: #c88a20;

    color: #c88a20;
}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 17px;
}


.news-card {
    min-width: 0;

    overflow: hidden;

    border-radius: 5px;

    background: #ffffff;
}


.news-image {
    position: relative;

    width: 100%;

    height: 145px;

    overflow: hidden;

    border-radius: 5px;
}


.news-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.news-card:hover .news-image img {
    transform: scale(1.05);
}


.news-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.05) 70%
        );
}


.news-date {
    position: absolute;

    top: 8px;
    left: 8px;

    z-index: 2;

    padding: 5px 7px;

    border-radius: 3px;

    background: rgba(0, 0, 0, 0.55);

    color: #ffffff;

    font-size: 8px;
}


.news-image h3 {
    position: absolute;

    z-index: 3;

    left: 10px;
    right: 10px;
    bottom: 10px;

    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 15px;

    line-height: 1.2;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-card {
    position: relative;

    min-height: 190px;

    overflow: hidden;

    border-radius: 5px;

    background: #1648C1;

    color: #ffffff;
}


.newsletter-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            /*rgba(91, 15, 24, 0.82),
            rgba(91, 15, 24, 0.90)*/
            rgba(20, 20, 20, 0.70),
            rgba(50, 50, 50, 0.75)
        ),
        url("../images/bg.png");

    background-size: cover;

    background-position: center;

    opacity: 0.95;
}


.newsletter-content {
    position: relative;

    z-index: 2;

    padding: 22px 20px;
}


.newsletter-content h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 20px;
}


.newsletter-content p {
    max-width: 300px;

    margin: 0 0 14px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 11px;

    line-height: 1.5;
}


.newsletter-form {
    display: flex;

    width: 100%;

    max-width: 300px;

    height: 36px;
}


.newsletter-form input {
    min-width: 0;

    flex: 1;

    padding: 0 12px;

    border: none;

    outline: none;

    border-radius: 3px 0 0 3px;

    font-family: inherit;

    font-size: 10px;

    background: #ffffff;

    color: #222222;
}


.newsletter-form button {
    width: 42px;

    border: none;

    border-radius: 0 3px 3px 0;

    background: #1648C1;

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;
}


.newsletter-form button:hover {
    background: #a97015;
}


.newsletter-message {
    min-height: 18px;

    margin-top: 8px;

    color: #ffffff;

    font-size: 10px;
}

/* =========================================================
   RESPONSIVE — QUICK ACTIONS
========================================================= */

@media (max-width: 1100px) {

    .quick-actions-container {
        grid-template-columns: repeat(3, 1fr);
    }


    .quick-action:nth-child(3)::after {
        display: none;
    }


    .quick-action {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }


    .welcome-container {
        grid-template-columns: 280px 1fr;
    }


    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }


    .feature-image {
        height: 120px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .quick-actions-container {
        grid-template-columns: repeat(2, 1fr);
    }


    .quick-action:nth-child(2)::after,
    .quick-action:nth-child(4)::after {
        display: none;
    }


    .welcome-container {
        grid-template-columns: 1fr;
    }


    .welcome-introduction {
        max-width: 600px;
    }


    .news-container {
        grid-template-columns: 1fr;
    }


    .newsletter-card {
        min-height: 220px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .quick-actions-section {
        margin-top: -25px;

        padding:
            0 15px;
    }


    .quick-actions-container {
        grid-template-columns: 1fr;

        border-radius: 6px;
    }


    .quick-action {
        min-height: 78px;

        padding:
            15px 20px;
    }


    .quick-action::after {
        display: none !important;
    }


    .quick-action:not(:last-child) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.2);
    }


    .quick-action-icon {
        width: 42px;

        min-width: 42px;

        font-size: 30px;
    }


    .quick-action-content h3 {
        font-size: 13px;
    }


    .quick-action-content p {
        font-size: 10px;
    }


    .welcome-section {
        padding:
            45px 18px 20px;
    }


    .welcome-container {
        display: block;
    }


    .welcome-introduction {
        margin-bottom: 30px;
    }


    .welcome-introduction h2 {
        font-size: 25px;
    }


    .feature-cards {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .feature-image {
        height: 190px;
    }


    .feature-card-body {
        padding: 15px;
    }


    .feature-card-body h3 {
        font-size: 18px;
    }


    .feature-card-body p {
        font-size: 12px;
    }


    .feature-card-body a {
        font-size: 11px;
    }


    .news-section {
        padding:
            20px 18px 45px;
    }


    .section-heading-row {
        align-items: flex-start;

        gap: 15px;
    }


    .section-heading-row h2 {
        font-size: 20px;
    }


    .view-all-button {
        flex-shrink: 0;
    }


    .news-grid {
        grid-template-columns: 1fr;
    }


    .news-image {
        height: 220px;
    }


    .newsletter-card {
        min-height: 220px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .welcome-introduction h2 {
        font-size: 22px;
    }


    .news-image {
        height: 190px;
    }


    .section-heading-row {
        flex-direction: column;

        align-items: flex-start;
    }


    .newsletter-content {
        padding: 20px 16px;
    }

}

/* =========================================================
   LANGUAGE SELECTOR
========================================================= */

.language-selector {
    position: relative;

    margin-left: 3px;
}


.language-button {
    display: flex;

    align-items: center;

    gap: 6px;

    padding:
        7px 9px;

    border: none;

    border-left:
        1px solid
        rgba(255, 255, 255, 0.25);

    background: transparent;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;
}


.language-arrow {
    font-size: 11px;

    transition:
        transform 0.2s ease;
}


.language-selector.open
.language-arrow {
    transform:
        rotate(180deg);
}


.language-dropdown {
    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 120px;

    display: none;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        #eeeeee;

    border-radius: 5px;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.15);

    z-index: 2000;
}


.language-selector.open
.language-dropdown {
    display: block;
}


.language-dropdown button {
    width: 100%;

    padding: 10px 14px;

    border: none;

    background: #ffffff;

    color: #333333;

    text-align: left;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;
}


.language-dropdown button:hover {
    background: #f5f5f5;

    color: #c88a20;
}

/* =========================================================
   DESKTOP DROPDOWN MENU
========================================================= */

.desktop-navigation .nav-dropdown {
    position: relative;
}


/* Dropdown */

.desktop-navigation .dropdown-menu {

    position: absolute;

    top: calc(100% + 12px);

    left: 0;

    min-width: 210px;

    background: #ffffff;

    border-radius: 6px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    border: 1px solid rgba(18, 43, 85, 0.08);

    padding: 8px 0;

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 9999;
}


/* Small invisible bridge between menu and dropdown */

.desktop-navigation .dropdown-menu::before {

    content: "";

    position: absolute;

    top: -12px;

    left: 0;

    width: 100%;

    height: 12px;
}


/* Show dropdown */

.desktop-navigation .nav-dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


/* Dropdown links */

.desktop-navigation .dropdown-menu a {

    display: block;

    padding: 11px 18px;

    color: #122b55;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;

}


/* Hover */

.desktop-navigation .dropdown-menu a:hover {

    background: #f2f6ff;

    color: #1648C1;

    padding-left: 23px;

}

/* =========================================================
   DROPDOWN ARROW
========================================================= */

.desktop-navigation .nav-dropdown:hover .arrow {

    transform: rotate(180deg);

    color: #1648C1;

}


.desktop-navigation .arrow {

    display: inline-block;

    margin-left: 4px;

    transition:
        transform 0.2s ease,
        color 0.2s ease;

}

/* =========================================================
   MOBILE MINISTRIES DROPDOWN
========================================================= */

.mobile-nav-dropdown {

    width: 100%;

}


/* Button */

.mobile-nav-dropdown-button {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 20px;

    border: none;

    background: transparent;

    color: #122b55;

    font-size: 16px;

    font-family: inherit;

    text-align: left;

    cursor: pointer;

}


/* Arrow */

.mobile-arrow {

    transition: transform 0.25s ease;

}


/* Submenu */

.mobile-submenu {

    display: none;

    background: #f5f7fb;

}


/* Open submenu */

.mobile-submenu.active {

    display: block;

}


/* Submenu links */

.mobile-submenu a {

    display: block;

    padding: 12px 35px;

    color: #122b55;

    text-decoration: none;

    font-size: 14px;

    border-bottom: 1px solid rgba(18,43,85,0.06);

}


/* Hover */

.mobile-submenu a:hover {

    color: #1648C1;

    background: #edf3ff;

}


/* Rotate arrow */

.mobile-nav-dropdown-button.active .mobile-arrow {

    transform: rotate(180deg);

    color: #1648C1;

}














/* =========================================
   LIVE SEARCH OVERLAY
========================================= */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 9vh 20px 30px;
    background: rgba(13, 27, 43, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    overflow-y: auto;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.search-open {
    overflow: hidden;
}

.search-modal {
    position: relative;
    width: 100%;
    max-width: 690px;
    max-height: 82vh;
    padding: 32px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.23);
    transform: translateY(-12px);
    transition: transform 0.22s ease;
}

.search-overlay.active .search-modal {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 17px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #536174;
    background: #f2f5f8;
    border: 1px solid #e8edf2;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.search-close:hover {
    color: #ffffff;
    background: #174a82;
}

.search-header {
    padding-right: 35px;
    margin-bottom: 24px;
}

.search-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #174a82;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.search-header h2 {
    margin: 0 0 9px;
    color: #192f49;
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.3;
    font-weight: 750;
}

.search-header p {
    margin: 0;
    color: #738094;
    font-size: 14px;
    line-height: 1.7;
}

/* Search input */

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 54px;
    padding: 0 16px;
    background: #f7f9fc;
    border: 1px solid #dfe6ee;
    border-radius: 9px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrapper:focus-within {
    background: #ffffff;
    border-color: #174a82;
    box-shadow: 0 0 0 3px rgba(23, 74, 130, 0.09);
}

.search-input-wrapper > i {
    flex: 0 0 auto;
    color: #174a82;
    font-size: 17px;
}

.search-input-wrapper input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0;
    color: #24364c;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
}

.search-input-wrapper input::placeholder {
    color: #9aa5b3;
}

.search-loading {
    color: #174a82;
    font-size: 16px;
}

.search-loading:not([hidden]) {
    display: inline-flex;
    align-items: center;
}

.search-loading i {
    animation: searchSpin 0.8s linear infinite;
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Results heading */

.search-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 2px 10px;
    color: #526176;
    font-size: 12px;
    font-weight: 700;
}

#searchResultCount {
    color: #174a82;
    font-weight: 600;
}

/* Result list */

.search-results {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px;
    color: inherit;
    text-align: left;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.search-result-item:hover,
.search-result-item:focus-visible {
    background: #f5f8fc;
    border-color: #cad9ea;
    outline: none;
}

.search-result-image {
    flex: 0 0 62px;
    width: 62px;
    height: 66px;
    object-fit: cover;
    background: #edf1f6;
    border: 1px solid #e8edf2;
    border-radius: 7px;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-category {
    display: inline-block;
    margin-bottom: 5px;
    color: #174a82;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.search-result-content h4 {
    margin: 0;
    color: #24364c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 130px;
    padding: 24px;
    color: #8490a0;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #e0e6ed;
    border-radius: 10px;
}

.search-empty > i {
    color: #8ba3bd;
    font-size: 25px;
}

.search-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.search-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 15px;
    color: #8994a3;
    border-top: 1px solid #edf0f4;
    font-size: 11px;
}

.search-footer i {
    color: #174a82;
}

/* Mobile */

@media (max-width: 600px) {
    .search-overlay {
        align-items: flex-start;
        padding: 16px 10px;
    }

    .search-modal {
        max-height: calc(100vh - 32px);
        padding: 23px 17px;
        border-radius: 13px;
    }

    .search-close {
        top: 13px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

    .search-header {
        padding-right: 24px;
        margin-bottom: 19px;
    }

    .search-header h2 {
        font-size: 23px;
    }

    .search-header p {
        font-size: 13px;
    }

    .search-input-wrapper {
        gap: 10px;
        padding: 0 12px;
    }

    .search-result-item {
        gap: 11px;
        padding: 10px;
    }

    .search-result-image {
        flex-basis: 54px;
        width: 54px;
        height: 59px;
    }

    .search-result-content h4 {
        font-size: 13px;
    }

    .search-results {
        max-height: 48vh;
    }
}
