﻿:root {
    --primary-color: #b27c45;
    --primary-dark: #8c5c30;
    --primary-light: #eadac7;
    --secondary-color: #d4aa4f;
    --secondary-dark: #bd932a;
    --secondary-light: #f2e8cc;
    --accent-color: #4b688c;
    --accent-dark: #2E2E2E;
    --accent-light: #d1dae6;
    --text-color: #3a3a3a;
    --text-light: #6c757d;
    --text-dark: #2E2E2E;
    --bg-light: #f8f9fa;
    --bg-beige: #f9f6f0;
    --white: #ffffff;
    --off-white: #faf9f7;
    --border-radius: 10px;
    --border-radius-sm: 5px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease-in-out;
}

.synaxarium-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    margin-top: 8rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}


.main-content {
    padding: 2rem 0 !important;
    background: var(--bg-beige);
}

.synaxarium-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

    .synaxarium-title i {
        margin-left: 1rem;
        color: var(--secondary-light);
    }

.synaxarium-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.coptic-date-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-top: 1.5rem;
}

    .coptic-date-badge h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 600;
    }

    .coptic-date-badge p {
        margin: 0.5rem 0 0;
        font-size: 1rem;
        opacity: 0.9;
    }

.synaxarium-content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.synaxarium-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.synaxarium-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: justify;
}

    .synaxarium-text h2 {
        color: #667eea;
        font-size: 1.8rem;
        margin: 2rem 0 1rem;
        font-weight: 700;
    }

    .synaxarium-text h3 {
        color: #764ba2;
        font-size: 1.4rem;
        margin: 1.5rem 0 1rem;
        font-weight: 600;
    }

.saint-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

    .saint-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.saint-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.saint-card-body {
    padding: 1.5rem;
}

.saint-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
}

.saint-brief {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.saint-bio {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.8;
}

.week-timeline {
    position: relative;
    padding: 2rem 0;
}

.week-day-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-right: 4px solid #667eea;
    transition: all 0.3s ease;
}

    .week-day-card:hover {
        transform: translateX(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

.week-day-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.week-day-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.week-day-summary {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calendar-month-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

    .calendar-month-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.calendar-month-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.calendar-month-coptic {
    font-size: 1.1rem;
    color: #764ba2;
    margin-bottom: 1rem;
    font-style: italic;
}

.calendar-month-days {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.calendar-month-gregorian {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.month-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.month-day-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .month-day-card:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

.month-day-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.month-day-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.month-day-gregorian {
    font-size: 0.85rem;
    color: #999;
}

.search-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.search-result-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .search-result-card:hover {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

.edition-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

    .edition-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.edition-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.edition-body {
    padding: 2rem;
}

.edition-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
}

.edition-publisher {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.edition-description {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.7;
    margin-top: 1rem;
}

.study-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

    .study-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.study-cover {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.study-body {
    padding: 1.5rem;
}

.study-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.study-author {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.study-summary {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

.study-category-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.share-btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 10px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.share-btn-facebook {
    background: #1877f2;
}

.share-btn-whatsapp {
    background: #25d366;
}

.share-btn-copy {
    background: #6c757d;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.edition-selector {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

    .edition-selector label {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

.saint-image-container {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    padding: 1.5rem;
    overflow: hidden;
}

.saint-main-image {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: 400px;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.4s ease;
}

.saint-no-image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    color: var(--primary-color);
    border-radius: var(--border-radius);
}


@media (max-width: 768px) {
    .synaxarium-section {
        padding: 2rem 0;
    }

    .synaxarium-title {
        font-size: 2rem;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .month-days-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .synaxarium-container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .date-display {
        padding: 1rem 1.5rem;
    }

    .article-header h2 {
        font-size: 1.5rem;
    }

    .saint-info {
        flex-direction: column;
        text-align: center;
    }
}
