* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'EB Garamond', 'Noto Sans Syriac Western', 'Gayathri', serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
    color: #2c2416;
    line-height: 1.7;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, rgba(139, 69, 19, 0.02) 0px, transparent 1px, transparent 2px, rgba(139, 69, 19, 0.02) 3px),
        repeating-linear-gradient(90deg, rgba(139, 69, 19, 0.02) 0px, transparent 1px, transparent 2px, rgba(139, 69, 19, 0.02) 3px);
    pointer-events: none;
    z-index: 0;
}

header {
    background: linear-gradient(135deg, #5c1a1a 0%, #7d2222 100%);
    color: #f5e6d3;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #d4af37;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cross-symbol {
    font-size: 2.5rem;
    color: #d4af37;
    font-weight: bold;
}

.site-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #f5e6d3;
}

.syriac-title {

    font-size: 1.1rem;
    color: #d4af37;
    direction: rtl;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

nav a {
    color: #f5e6d3;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

nav a:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.breadcrumb {
    max-width: 1400px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
    font-size: 1rem;
    color: #7d2222;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: #5c1a1a;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.page-header {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.creed-header-banner {
    position: relative;
    /* Replaced gradient with leather texture and added an overlay for text readability */
    background: linear-gradient(rgba(92, 26, 26, 0.6), rgba(92, 26, 26, 0.6)),
        url('images/bright_maroon_leather.png') center/cover no-repeat;
    border: 4px solid #d4af37;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10;
    font-family: 'EB Garamond', 'Gayathri', serif;
}

.language-switcher:hover {
    background: #d4af37;
    color: #5c1a1a;
}

.language-switcher.ml-size {
    font-size: 2.2rem;
    padding-bottom: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creed-icon {
    font-size: 5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.creed-header-banner h1 {
    font-size: 3rem;
    color: #f5e6d3;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.creed-subtitle {
    font-size: 1.5rem;
    color: #d4af37;
    font-style: italic;
}

.content-wrapper {
    max-width: 1350px;
    margin: 2rem auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.main-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #d4af37;
}

.intro-quote {
    background: linear-gradient(135deg, #5c1a1a 0%, #7d2222 100%);
    color: #f5e6d3;
    padding: 2rem;
    border-radius: 6px;
    border-left: 6px solid #d4af37;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-style: italic;
    text-align: justify;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2rem;
    color: #5c1a1a;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d4af37;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    font-size: 1.8rem;
}

.story-content {
    font-size: 1.15rem;
    color: #2c2416;
    text-align: justify;
}

.story-content p {
    margin-bottom: 1.5rem;
}

.creed-text-box {
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.8) 0%, rgba(232, 220, 200, 0.8) 100%);
    border: 3px solid #d4af37;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.creed-text-box h3 {

    text-align: center;
    color: #5c1a1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

.creed-bilingual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.creed-syriac {
    direction: rtl;
    font-family: 'EB Garamond', 'Noto Sans Syriac Western', 'Gayathri', sans-serif;
    font-size: 1.3rem;
    line-height: 2;
    color: #5c1a1a;
    text-align: right;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-right: 4px solid #7d2222;
}

.creed-english {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2c2416;
    text-align: left;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 4px solid #7d2222;
}

.creed-section-title {
    font-weight: 700;
    color: #5c1a1a;
    margin: 1rem 0 0.5rem;
    font-size: 1.15rem;
}

.highlight-box {
    background: rgba(212, 175, 55, 0.15);
    border-left: 5px solid #d4af37;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #5c1a1a;
}

.summary-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-table th,
.summary-table td {
    padding: 1rem;
    border: 2px solid #d4af37;
    text-align: left;
}

.summary-table th {
    background: linear-gradient(135deg, #5c1a1a 0%, #7d2222 100%);
    color: #f5e6d3;
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-table td {
    background: rgba(255, 255, 255, 0.8);
    color: #2c2416;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6rem;
    align-self: flex-start;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget-title {

    font-size: 1.4rem;
    color: #5c1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-content {

    font-size: 1.05rem;
    color: #2c2416;
}

.widget-content p {
    margin-bottom: 1rem;
}

.widget-content strong {
    color: #5c1a1a;
}

.quick-facts {
    list-style: none;
}

.quick-facts li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 700;
    color: #5c1a1a;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.council-list {
    list-style: none;
    padding-left: 0;
}

.council-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.council-list li::before {
    content: '✝';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

footer {
    background: linear-gradient(135deg, #5c1a1a 0%, #7d2222 100%);
    color: #f5e6d3;
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #e8dcc8;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: 1350px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.footer-text {
    color: #d4af37;
    margin: 0.5rem 0;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }

    .creed-bilingual {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    .creed-header-banner h1 {
        font-size: 2rem;
    }

    .creed-subtitle {
        font-size: 1.2rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .creed-syriac {

        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }

    .creed-english {
        font-size: 1rem;
    }
}