/*
Theme Name: St. Nicholas
Theme URI:
Author: Ehsan
Description: Custom theme for St. Nicholas Orthodox Church Tehran
Version: 1.0
*/


/* =========================================================
   ROOT
========================================================= */

:root {

    --color-background: #F7F5F0;
    --color-white: #FFFFFF;
    --color-dark: #202020;
    --color-gold: #B08D57;
    --color-burgundy: #6E2735;
    --color-border: #E5E2DC;

    --header-height: 82px;
    --header-height-scrolled: 64px;

    --content-max-width: 1400px;

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {

    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

}

body {

    margin: 0;
    padding: 0;

    background: var(--color-background);

    color: var(--color-dark);

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.7;

}

img {

    max-width: 100%;
    height: auto;

}

a {

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    height: var(--header-height);


    background: #FCF9D9;


    border-bottom: 1px solid rgba(229, 226, 220, 0.9);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 1000;

    transition:
        height 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;

}


.site-header.is-scrolled {

    height: var(--header-height-scrolled);

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.06);

}


.site-header-inner {

    width: 100%;

    max-width: var(--content-max-width);

    height: 100%;

    margin: 0 auto;

    padding: 0 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

}


/* =========================================================
   BRANDING
========================================================= */

.site-branding {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.site-brand-link {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--color-dark);

}


.site-symbol {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    color: var(--color-gold);

    font-size: 27px;

    line-height: 1;

}


.site-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.site-title {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 600;

    color: #5C4033;

    letter-spacing: 0.3px;

}


.site-subtitle {

    margin-top: 4px;

    font-size: 8px;

    letter-spacing: 1.3px;

    color: #777;

    text-transform: uppercase;

}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.main-navigation {

    display: flex;

    align-items: center;

    margin-left: auto;

    margin-right: 28px;

}


.main-menu {

    display: flex;

    align-items: center;

    gap: 28px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.main-menu li {

    margin: 0;

    padding: 0;

}


.main-menu a {

    display: block;

    padding: 8px 0;

    color: #5C4033;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: 0.4px;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;

}


.main-menu a:hover {

    color: var(--color-gold);

}


.main-menu .current-menu-item > a,
.main-menu .current_page_item > a,
.main-menu .current-menu-ancestor > a {

    color: var(--color-burgundy);

}


/* =========================================================
   DESKTOP LANGUAGE SWITCHER
========================================================= */

.language-switcher {

    position: relative;

    flex-shrink: 0;

}


.language-current {

    display: flex;

    align-items: center;

    gap: 7px;

    height: 38px;

    padding: 0 10px;

    border: 1px solid var(--color-border);

    border-radius: 4px;

    background: var(--color-white);

    color: var(--color-dark);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.language-current:hover {

    border-color: #c9c4bb;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.04);

}


.language-current img {

    width: 18px;

    height: auto;

    display: block;

}


.language-current span {

    display: inline-block;

}


.language-arrow {

    margin-left: 2px;

    font-size: 13px;

    line-height: 1;

    color: #777;

    transition:
        transform 0.2s ease;

}


.language-switcher:hover .language-arrow {

    transform: rotate(180deg);

}


.language-dropdown {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 125px;

    padding: 6px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: 5px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 1100;

}


.language-switcher:hover .language-dropdown {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.language-option {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 9px;

    border-radius: 3px;

    color: #333;

    font-size: 12px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;

}


.language-option img {

    width: 18px;

    height: auto;

    display: block;

}


.language-option:hover {

    background: var(--color-background);

    color: var(--color-burgundy);

}


/* =========================================================
   MOBILE HEADER ACTIONS
========================================================= */

.mobile-header-actions {

    display: none;

    align-items: center;

    gap: 8px;

    margin-left: auto;

}


/* =========================================================
   MOBILE LANGUAGE SWITCHER
========================================================= */

.mobile-language-switcher {

    position: relative;

    display: flex;

    align-items: center;

    z-index: 2100;

}


.mobile-language-current {

    display: flex;

    align-items: center;

    gap: 5px;

    height: 38px;

    padding: 0 5px;

    border: 0;

    background: transparent;

    color: var(--color-dark);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    white-space: nowrap;

    cursor: pointer;

    list-style: none;

}


.mobile-language-current::-webkit-details-marker {

    display: none;

}


.mobile-language-current::marker {

    display: none;

}


.mobile-language-current img {

    width: 18px;

    height: auto;

    display: block;

}


.mobile-language-current span {

    display: inline-block;

}


.mobile-language-arrow {

    margin-left: 1px;

    color: #777;

    font-size: 12px;

    line-height: 1;

    transition:
        transform 0.2s ease;

}


.mobile-language-switcher[open]
.mobile-language-arrow {

    transform: rotate(180deg);

}


/* =========================================================
   MOBILE LANGUAGE DROPDOWN
========================================================= */

.mobile-language-dropdown {

    position: absolute;

    top: calc(100% + 6px);

    right: 0;

    min-width: 125px;

    padding: 6px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: 5px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);

    z-index: 2100;

}


.mobile-language-dropdown a {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 9px;

    border-radius: 3px;

    color: #333;

    font-size: 12px;

    white-space: nowrap;

}


.mobile-language-dropdown a img {

    width: 18px;

    height: auto;

    display: block;

}


.mobile-language-dropdown a:hover {

    background: var(--color-background);

    color: var(--color-burgundy);

}


.mobile-language-dropdown a.active {

    color: var(--color-burgundy);

    font-weight: 600;

}


/* =========================================================
   MOBILE HAMBURGER
========================================================= */

.mobile-menu-toggle {

    display: none;

    position: relative;

    width: 42px;

    height: 42px;

    margin: 0;

    padding: 9px;

    border: 0;

    border-radius: 4px;

    background: transparent;

    cursor: pointer;

    z-index: 2001;

}


.mobile-menu-toggle span {

    display: block;

    width: 24px;

    height: 2px;

    margin: 5px auto;

    background: var(--color-dark);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.mobile-menu-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 1998;

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {

    position: fixed;

    top: 0;

    right: 0;

    width: min(340px, 88vw);

    height: 100vh;

    background: var(--color-white);

    box-shadow:
        -10px 0 35px rgba(0, 0, 0, 0.15);

    transform: translateX(100%);

    transition:
        transform 0.3s ease;

    z-index: 2000;

    overflow-y: auto;

}


.mobile-navigation-header {

    height: 68px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--color-border);

}


.mobile-navigation-title {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    font-weight: 600;

    color: var(--color-dark);

}


.mobile-menu-close {

    width: 38px;

    height: 38px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--color-dark);

    font-size: 30px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

}


.mobile-navigation-content {

    padding: 22px 24px 40px;

}


.mobile-menu {

    list-style: none;

    margin: 0;

    padding: 0;

}


.mobile-menu li {

    margin: 0;

    padding: 0;

    border-bottom: 1px solid var(--color-border);

}


.mobile-menu li:last-child {

    border-bottom: 0;

}


.mobile-menu a {

    display: block;

    padding: 14px 0;

    color: #333;

    font-size: 14px;

    transition:
        color 0.2s ease;

}


.mobile-menu a:hover {

    color: var(--color-burgundy);

}


.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a,
.mobile-menu .current-menu-ancestor > a {

    color: var(--color-burgundy);

}


/* =========================================================
   MOBILE MENU OPEN
========================================================= */

body.mobile-menu-open {

    overflow: hidden;

}


body.mobile-menu-open .mobile-navigation {

    transform: translateX(0);

}


body.mobile-menu-open .mobile-menu-overlay {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


body.mobile-menu-open .mobile-menu-toggle {

    opacity: 0;

    pointer-events: none;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.site-content {

    width: 100%;

    background: var(--color-background);

    position: relative;

    z-index: 1;

    padding-top: var(--header-height);

}


.content-layout {

    width: 100%;

    max-width: var(--content-max-width);

    margin: 0 auto;

    padding: 70px 32px 100px;

    display: grid;

    grid-template-columns: 230px minmax(0, 1fr);

    column-gap: 70px;

    align-items: start;

}


/* =========================================================
   SIDEBAR
========================================================= */

.page-sidebar {

    position: sticky;

    top: 100px;

    align-self: start;

    height: max-content;

    z-index: 10;

}


.sidebar-inner {

    position: relative;

    z-index: 10;

}


.sidebar-title {

    margin-bottom: 18px;

    padding-bottom: 14px;

    border-bottom: 2px solid var(--color-gold);

}


.sidebar-title a {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--color-dark);

    font-size: 18px;

    font-weight: 600;

}


.sidebar-navigation ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.sidebar-navigation li {

    margin: 0;

    border-bottom: 1px solid var(--color-border);

}


.sidebar-navigation a {

    display: block;

    padding: 10px 0;

    color: #666;

    font-size: 13px;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;

}


.sidebar-navigation a:hover {

    color: var(--color-burgundy);

    padding-left: 4px;

}


.sidebar-navigation .current_page_item > a {

    color: var(--color-burgundy);

    font-weight: 600;

    padding-left: 4px;

}


/* =========================================================
   PAGE CONTENT
========================================================= */

.page-main-content {

    min-width: 0;

    max-width: 850px;

}


.page-header {

    margin-bottom: 38px;

    padding-bottom: 24px;

    border-bottom: 1px solid var(--color-border);

}


.page-eyebrow {

    display: block;

    margin-bottom: 8px;

    color: var(--color-gold);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.page-title {

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--color-dark);

    font-size: 42px;

    font-weight: 500;

    line-height: 1.2;

}


.page-content {

    color: #444;

    font-size: 16px;

    line-height: 1.9;

}


.page-content p {

    margin-top: 0;

    margin-bottom: 22px;

}


.page-content h2,
.page-content h3,
.page-content h4 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--color-dark);

    font-weight: 500;

}


.page-content h2 {

    margin-top: 42px;

    font-size: 30px;

}


.page-content h3 {

    margin-top: 32px;

    font-size: 24px;

}


.page-content ul,
.page-content ol {

    margin-bottom: 24px;

    padding-left: 24px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 20px;

    background: var(--color-dark);

    color: #aaa;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    font-weight: 400;

    text-align: center;

}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] body {

    direction: rtl;

}


html[dir="rtl"] .site-header-inner {

    direction: rtl;

}


html[dir="rtl"] .main-navigation {

    margin-left: 28px;

    margin-right: auto;

}


html[dir="rtl"] .language-dropdown {

    right: auto;

    left: 0;

}


html[dir="rtl"] .mobile-language-dropdown {

    right: auto;

    left: 0;

}


html[dir="rtl"] .sidebar-navigation a:hover,
html[dir="rtl"] .sidebar-navigation .current_page_item > a {

    padding-left: 0;

    padding-right: 4px;

}


html[dir="rtl"] .page-content ul,
html[dir="rtl"] .page-content ol {

    padding-left: 0;

    padding-right: 24px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .main-menu {

        gap: 18px;

    }


    .main-menu a {

        font-size: 12px;

    }


    .main-navigation {

        margin-right: 18px;

    }


    .site-header-inner {

        padding: 0 24px;

    }


    .content-layout {

        column-gap: 45px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .site-header-inner {

        padding: 0 20px;

    }


    .main-navigation,
    .language-switcher {

        display: none;

    }


    .mobile-header-actions {

        display: flex;

    }


    .mobile-menu-toggle {

        display: block;

    }


    .site-content {

        padding-top: var(--header-height);

    }


    .content-layout {

        grid-template-columns: 1fr;

        gap: 40px;

        padding: 50px 24px 80px;

    }


    /* Mobile Sidebar */

    .page-sidebar {

        position: sticky;

        top: 78px;

        width: 100%;

        align-self: start;

        z-index: 20;

        background: var(--color-background);

        padding-bottom: 12px;

    }


    .sidebar-inner {

        position: relative;

        z-index: 20;

    }


    .page-main-content {

        max-width: none;

    }


    .page-title {

        font-size: 36px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-header {

        height: 68px;

    }


    .site-header.is-scrolled {

        height: 60px;

    }


    .site-content {

        padding-top: 68px;

    }


    .site-header-inner {

        padding: 0 16px;

    }


    .site-symbol {

        width: 32px;

        height: 32px;

        font-size: 23px;

    }


    .site-title {

        font-size: 19px;

    }


    .site-subtitle {

        font-size: 8px;

        letter-spacing: 1px;

    }


    .mobile-header-actions {

        gap: 4px;

    }


    .mobile-language-current {

        height: 36px;

        padding: 0 3px;

        font-size: 10px;

    }


    .mobile-language-current img {

        width: 17px;

    }


    .mobile-menu-toggle {

        width: 40px;

        height: 40px;

    }


    .mobile-navigation {

        width: min(320px, 90vw);

    }


    .content-layout {

        padding: 40px 18px 70px;

        gap: 32px;

    }


    /* Mobile Sidebar */

    .page-sidebar {

        position: sticky;

        top: 70px;

        width: 100%;

        background: var(--color-background);

        padding-bottom: 12px;

    }


    .page-title {

        font-size: 30px;

    }


    .page-content {

        font-size: 15px;

        line-height: 1.85;

    }


    .site-footer {

        height: 56px;

        padding: 0 15px;

        font-size: 11px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .site-title {

        font-size: 17px;

    }


    .site-subtitle {

        font-size: 7px;

    }


    .mobile-language-current span:not(.mobile-language-arrow) {

        display: none;

    }


    .mobile-navigation {

        width: 92vw;

    }


    .content-layout {

        padding-left: 15px;

        padding-right: 15px;

    }

}

/* =========================================================
   HOME HERO
========================================================= */

.home-page {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* Hero container */

.home-hero {

    position: relative;

    width: 100%;

    min-height: 1000px;

    

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #D9D5CC;

    background-image:
        url("assets/images/church-hero.png");

    background-size: cover;

    background-position: center center;

    overflow: hidden;

}


/* Dark overlay */

.home-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.30) 50%,
            rgba(0, 0, 0, 0.18) 100%
        );

    z-index: 1;

}


/* Hero content */

.home-hero-content {

    position: relative;

    z-index: 2;

    width: min(900px, 90%);

    margin: 0 auto;

    padding: 80px 20px;

    text-align: center;

    color: var(--color-white);

}


/* Small heading */

.home-hero-eyebrow {

    display: block;

    margin-bottom: 18px;

    color: #E7D2A8;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

}


/* Main title */

.home-hero-title {

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(56px, 8vw, 100px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: 1px;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.30);

}


/* Subtitle */

.home-hero-subtitle {

    max-width: 600px;

    margin: 24px auto 35px;

    color: rgba(255, 255, 255, 0.90);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.6;

}


/* Button */

.home-hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 27px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.08);

    color: var(--color-white);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;

}


.home-hero-button:hover {

    background: var(--color-gold);

    border-color: var(--color-gold);

    color: var(--color-white);

    transform: translateY(-2px);

}


/* =========================================================
   HOME HERO - MOBILE
========================================================= */

@media (max-width: 900px) {

    .home-hero {

        min-height: calc(100vh - var(--header-height));

        background-position: center center;

    }


    .home-hero-content {

        width: 92%;

        padding: 70px 15px;

    }


    .home-hero-eyebrow {

        font-size: 10px;

        letter-spacing: 2px;

        margin-bottom: 15px;

    }


    .home-hero-title {

        font-size: clamp(48px, 15vw, 76px);

    }


    .home-hero-subtitle {

        font-size: 17px;

        margin-top: 20px;

        margin-bottom: 30px;

    }

}


@media (max-width: 600px) {

    .home-hero {

        min-height: calc(100vh - 68px);

    }


    .home-hero-content {

        padding: 60px 10px;

    }


    .home-hero-eyebrow {

        font-size: 9px;

        letter-spacing: 1.7px;

    }


    .home-hero-title {

        font-size: 52px;

    }


    .home-hero-subtitle {

        font-size: 16px;

        line-height: 1.5;

    }


    .home-hero-button {

        min-height: 46px;

        padding: 0 22px;

        font-size: 11px;

    }

}
/* =========================================
   HOME - WELCOME
========================================= */

.home-welcome {
    width: 100%;
    padding: 110px 20px 115px;
    background: var(--color-background);
    text-align: center;
}

.home-welcome-inner {
    width: min(850px, 92%);
    margin: 0 auto;
}

.home-welcome-label {
    margin-bottom: 18px;
    color: var(--color-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-welcome-title {
    margin: 0;
    color: var(--color-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
}

.home-welcome-divider {
    width: 55px;
    height: 1px;
    margin: 30px auto;
    background: var(--color-gold);
}

.home-welcome-text {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #555;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.9;
}

.home-welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 25px;
    border: 1px solid var(--color-gold);
    color: var(--color-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.home-welcome-button:hover {
    background: var(--color-gold);
    color: var(--color-white);
}


/* MOBILE */

@media (max-width: 600px) {

    .home-welcome {
        padding: 75px 18px 80px;
    }

    .home-welcome-title {
        font-size: 32px;
    }

    .home-welcome-text {
        font-size: 16px;
        line-height: 1.8;
    }

}

/* =========================================
   HOME - HISTORY INTRO
========================================= */

.home-history-intro {
    width: 100%;
    padding: 110px 20px;
    background: var(--color-white);
}

.home-history-inner {
    width: min(1200px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;

    align-items: center;
}

.home-history-image {
    width: 100%;
    overflow: hidden;
}

.home-history-image img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.home-history-image:hover img {
    transform: scale(1.02);
}

.home-history-content {
    max-width: 520px;
}

.home-history-label {
    display: block;
    margin-bottom: 17px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-history-title {
    margin: 0;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
}

.home-history-divider {
    width: 55px;
    height: 1px;
    margin: 27px 0;

    background: var(--color-gold);
}

.home-history-content p {
    margin: 0 0 20px;

    color: #555;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.85;
}

.home-history-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    margin-top: 10px;
    padding: 0 25px;

    border: 1px solid var(--color-burgundy);

    color: var(--color-burgundy);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: all 0.25s ease;
}

.home-history-button:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}


/* TABLET */

@media (max-width: 900px) {

    .home-history-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-history-content {
        max-width: 700px;
    }

    .home-history-image img {
        height: 450px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-history-intro {
        padding: 75px 18px 80px;
    }

    .home-history-inner {
        width: 100%;
        gap: 40px;
    }

    .home-history-image img {
        height: 350px;
    }

    .home-history-title {
        font-size: 34px;
    }

    .home-history-content p {
        font-size: 16px;
        line-height: 1.8;
    }

}

/* =========================================
   HOME - PARISH LIFE
========================================= */

.home-parish-life {
    width: 100%;
    padding: 110px 20px 120px;
    background: var(--color-background);
}

.home-parish-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* HEADING */

.home-parish-heading {
    max-width: 700px;
    margin: 0 auto 65px;
    text-align: center;
}

.home-parish-label {
    display: block;
    margin-bottom: 17px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-parish-title {
    margin: 0;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
}

.home-parish-divider {
    width: 55px;
    height: 1px;
    margin: 27px auto;

    background: var(--color-gold);
}

.home-parish-heading p {
    margin: 0;

    color: #555;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.85;
}


/* GRID */

.home-parish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}


/* ITEM */

.home-parish-item {
    position: relative;

    min-height: 300px;
    padding: 35px 35px 32px;

    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);

    color: var(--color-dark);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.home-parish-item:hover {
    background: var(--color-white);
    transform: translateY(-3px);
}


/* NUMBER */

.home-parish-number {
    display: block;
    margin-bottom: 55px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* TITLE */

.home-parish-item h3 {
    margin: 0 0 15px;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}


/* TEXT */

.home-parish-item p {
    max-width: 300px;
    margin: 0;

    color: #666;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.8;
}


/* ARROW */

.home-parish-arrow {
    position: absolute;
    right: 32px;
    bottom: 28px;

    color: var(--color-burgundy);

    font-size: 20px;

    transition: transform 0.25s ease;
}

.home-parish-item:hover .home-parish-arrow {
    transform: translateX(5px);
}


/* TABLET */

@media (max-width: 900px) {

    .home-parish-grid {
        grid-template-columns: 1fr;
    }

    .home-parish-item {
        min-height: 240px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-parish-life {
        padding: 75px 18px 80px;
    }

    .home-parish-heading {
        margin-bottom: 45px;
    }

    .home-parish-title {
        font-size: 34px;
    }

    .home-parish-item {
        min-height: 250px;
        padding: 30px;
    }

    .home-parish-number {
        margin-bottom: 40px;
    }

}

/* =========================================
   HOME - NEWS & EVENTS
========================================= */

.home-news {
    width: 100%;
    padding: 105px 20px 115px;
    background: var(--color-white);
}

.home-news-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* HEADING */

.home-news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 55px;
}

.home-news-label {
    display: block;
    margin-bottom: 15px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-news-title {
    margin: 0;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.15;
}

.home-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--color-gold);

    color: var(--color-burgundy);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-news-view-all span {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.home-news-view-all:hover span {
    transform: translateX(4px);
}


/* GRID */

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* ITEM */

.home-news-item {
    min-width: 0;
    background: var(--color-background);
}


/* IMAGE */

.home-news-image {
    display: block;

    width: 100%;
    height: 250px;

    overflow: hidden;

    background: #D9D5CC;
}

.home-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.home-news-item:hover .home-news-image img {
    transform: scale(1.04);
}

.home-news-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.75);

    background: #4b4640;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}


/* CONTENT */

.home-news-content {
    padding: 27px 28px 30px;
}

.home-news-date {
    display: block;
    margin-bottom: 12px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-news-item-title {
    margin: 0 0 14px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.home-news-item-title a {
    color: var(--color-dark);
}

.home-news-item-title a:hover {
    color: var(--color-burgundy);
}

.home-news-content p {
    margin: 0 0 20px;

    color: #666;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.75;
}

.home-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--color-burgundy);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-news-read-more span {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.home-news-read-more:hover span {
    transform: translateX(4px);
}


/* EMPTY */

.home-news-empty {
    grid-column: 1 / -1;

    padding: 60px 20px;

    border: 1px solid var(--color-border);

    text-align: center;

    color: #666;

    font-family: Georgia, "Times New Roman", serif;
}


/* TABLET */

@media (max-width: 900px) {

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-news-image {
        height: 300px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-news {
        padding: 75px 18px 80px;
    }

    .home-news-heading {
        display: block;
        margin-bottom: 40px;
    }

    .home-news-view-all {
        margin-top: 22px;
    }

    .home-news-title {
        font-size: 34px;
    }

    .home-news-image {
        height: 230px;
    }

    .home-news-content {
        padding: 24px 22px 27px;
    }

}

/* =========================================================
   HOME — HISTORICAL ARCHIVE
   ========================================================= */

.home-archive {
    background: var(--color-burgundy);
    padding: 90px 30px;
}

.home-archive-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.home-archive-image {
    height: 480px;
    overflow: hidden;
}

.home-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    filter: grayscale(15%);
}

.home-archive-content {
    color: var(--color-white);
}

.home-archive-label {
    display: block;

    margin-bottom: 16px;

    color: #D8C19A;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-archive-title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 44px;
    font-weight: 400;

    line-height: 1.15;
}

.home-archive-divider {
    width: 55px;
    height: 2px;

    margin: 25px 0 28px;

    background: var(--color-gold);
}

.home-archive-content p {
    max-width: 520px;

    margin: 0 0 18px;

    color: rgba(255,255,255,0.82);

    font-size: 16px;
    line-height: 1.8;
}

.home-archive-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 18px;

    padding: 13px 22px;

    border: 1px solid rgba(255,255,255,0.45);

    color: var(--color-white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-archive-button:hover {
    background: rgba(255,255,255,0.10);
    border-color: var(--color-white);
}

.home-archive-button span {
    font-size: 18px;
}


/* =========================================================
   HOME — HISTORICAL ARCHIVE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .home-archive {
        padding: 70px 24px;
    }

    .home-archive-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .home-archive-image {
        height: 380px;
    }

    .home-archive-title {
        font-size: 38px;
    }

}


@media (max-width: 600px) {

    .home-archive {
        padding: 60px 20px;
    }

    .home-archive-image {
        height: 300px;
    }

    .home-archive-title {
        font-size: 32px;
    }

    .home-archive-content p {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* =========================================================
   HOME — VISIT US
   ========================================================= */

.home-visit {
    background: var(--color-background);
    padding: 90px 30px;
}

.home-visit-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-visit-heading {
    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}

.home-visit-label {
    display: block;

    margin-bottom: 15px;

    color: var(--color-gold);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-visit-title {
    margin: 0;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 44px;
    font-weight: 400;

    line-height: 1.2;
}

.home-visit-divider {
    width: 55px;
    height: 2px;

    margin: 25px auto;

    background: var(--color-gold);
}

.home-visit-heading p {
    margin: 0;

    color: #666;

    font-size: 16px;
    line-height: 1.8;
}


.home-visit-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


.home-visit-item {
    min-height: 280px;

    padding: 45px 40px;

    text-align: center;

    border-right: 1px solid var(--color-border);
}

.home-visit-item:last-child {
    border-right: 0;
}


.home-visit-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 20px;

    border: 1px solid var(--color-gold);

    color: var(--color-gold);

    font-family: Georgia, serif;
    font-size: 18px;
}


.home-visit-item h3 {
    margin: 0 0 14px;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
    font-weight: 400;
}


.home-visit-item p {
    max-width: 260px;

    min-height: 50px;

    margin: 0 auto 22px;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}


.home-visit-item a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--color-burgundy);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.home-visit-item a span {
    font-size: 17px;

    transition: transform 0.2s ease;
}


.home-visit-item a:hover span {
    transform: translateX(4px);
}


@media (max-width: 900px) {

    .home-visit {
        padding: 70px 24px;
    }

    .home-visit-grid {
        grid-template-columns: 1fr;
    }

    .home-visit-item {
        min-height: auto;

        padding: 40px 30px;

        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .home-visit-item:last-child {
        border-bottom: 0;
    }

    .home-visit-title {
        font-size: 38px;
    }

}


@media (max-width: 600px) {

    .home-visit {
        padding: 60px 20px;
    }

    .home-visit-title {
        font-size: 32px;
    }

    .home-visit-heading p {
        font-size: 15px;
    }

    .home-visit-item {
        padding: 35px 20px;
    }

}

/* =========================================================
   MINIMAL FOOTER
   ========================================================= */

.site-footer {
    flex-shrink: 0;

    background: var(--color-burgundy);

    color: rgba(255,255,255,0.82);
}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.site-footer-main {
    padding: 48px 30px 38px;
}

.site-footer-inner {
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.footer-brand-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--color-white);

    text-decoration: none;
}

.footer-symbol {
    color: #D8B978;

    font-size: 30px;

    line-height: 1;
}

.footer-brand-text {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}

.footer-title {
    color: var(--color-white);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;

    font-weight: 400;

    line-height: 1;
}

.footer-subtitle {
    color: rgba(255,255,255,0.52);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.footer-divider {
    width: 42px;

    height: 1px;

    margin: 28px 0 24px;

    background: #D8B978;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.footer-navigation {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px 26px;
}

.footer-navigation a {
    color: rgba(255,255,255,0.68);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-navigation a:hover {
    color: #FFFFFF;
}


/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.site-footer-bottom {
    padding: 16px 30px;

    border-top: 1px solid rgba(255,255,255,0.12);

    text-align: center;
}

.site-footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,0.40);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    letter-spacing: 0.2px;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .site-footer-main {
        padding: 42px 20px 32px;
    }

    .footer-navigation {
        gap: 12px 20px;
    }

    .footer-navigation a {
        font-size: 11px;
    }

    .site-footer-bottom {
        padding: 15px 20px;
    }

}
/* =========================================================
   FOOTER — FINAL FIX
   ========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    background: var(--color-burgundy) !important;
    color: #FFFFFF;
    overflow: hidden;
}

.site-footer-main {
    width: 100%;
    background: var(--color-burgundy);
    padding: 48px 30px 38px;
    box-sizing: border-box;
}

.site-footer-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    box-sizing: border-box;
}

.footer-brand-link {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: auto;

    color: #FFFFFF !important;
    text-decoration: none !important;
}

.footer-navigation {
    display: flex !important;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    width: 100%;
    max-width: 900px;

    gap: 8px 26px;
}

.footer-navigation a {
    display: inline-block !important;

    width: auto !important;

    color: rgba(255,255,255,0.70) !important;

    text-decoration: none !important;
}

.footer-divider {
    display: block;

    width: 42px;
    height: 1px;

    margin: 28px 0 24px;

    background: #D8B978;
}

.site-footer-bottom {
    width: 100%;

    background: var(--color-burgundy);

    border-top: 1px solid rgba(255,255,255,0.12);

    padding: 16px 30px;

    box-sizing: border-box;

    text-align: center;
}

.site-footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,0.42);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
}

/* =========================================================
   MINIMAL FOOTER
   ========================================================= */

.site-footer {
    width: 100%;
    flex-shrink: 0;

    background: var(--color-burgundy);

    color: #FFFFFF;
}

.site-footer-inner {
    max-width: 1100px;

    margin: 0 auto;

    padding: 32px 20px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-symbol {
    color: #D8B978;
    font-size: 20px;
    line-height: 1;
}

.footer-title {
    color: rgba(255,255,255,0.82);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    font-weight: 400;
}

.footer-divider {
    width: 30px;
    height: 1px;

    margin: 18px 0;

    background: #D8B978;
}

.footer-copyright {
    margin: 0;

    color: var(--color-white);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
}

/* MOBILE */

@media (max-width: 600px) {

    .site-footer-inner {
        padding: 28px 15px 20px;
    }

    .footer-title {
        font-size: 13px;
    }

    .footer-symbol {
        font-size: 18px;
    }

}
.site-logo {
    width: 50px;
    height: 50px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}

.site-header.scrolled .site-logo {
    width: 34px;
    height: 34px;
}


/* Align desktop navigation with Site Title */
@media (min-width: 901px) {
    .site-header-inner {
        align-items: center;
    }

    .site-branding,
    .site-brand-link,
    .main-navigation,
    .main-menu {
        display: flex;
        align-items: center;
    }

    .main-menu a {
        line-height: 1.15;
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-title {
        line-height: 1.15;
    }
}

/* Align site title, navigation and language selector to the top */
@media (min-width: 901px) {
    .site-header-inner {
        align-items: flex-start;
    }

    .site-branding,
    .site-brand-link,
    .main-navigation,
    .main-menu {
        align-items: flex-start;
    }

    .main-menu a {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1.15;
    }
}

/* Align header items with comfortable top spacing */
@media (min-width: 901px) {
    .site-header-inner {
        align-items: flex-start;
        padding-top: 24px;
        box-sizing: border-box;
    }

    .site-branding,
    .site-brand-link,
    .main-navigation,
    .main-menu {
        align-items: flex-start;
    }

    .main-menu a {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1.15;
    }
}