﻿body {
    background-color: #f5f1e8;
}

.hero {
    position: relative;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-computus {
    background-image: url('/lib/img/computus/upcmingTwo.webp');
}

.hero-computus-input {
    background-image: url('/lib/img/computus/computusHero.webp');
}

.hero-overlay {
    width: 100%;
    min-height: 75vh;
    padding: 250px 10% 120px 10%;
    color: white;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

    .hero-overlay h1 {
        margin: 0 0 12px 0;
        font-size: 3.2rem;
        line-height: 1.1;
        text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    }

    .hero-overlay p {
        margin: 0;
        font-size: 1.2rem;
        max-width: 700px;
        line-height: 1.5;
    }

.computus-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 60px 24px;
}

.computus-hero {
    margin-bottom: 40px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5f1e8, #ffffff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

    .computus-hero h1 {
        margin: 0 0 12px 0;
        font-size: 3rem;
        line-height: 1.1;
        color: #1f1f1f;
    }

.computus-subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: #5a5a5a;
    font-weight: 500;
}

.computus-seasons {
    display: grid;
    gap: 28px;
}

.season-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #ece7dc;
}

.season-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #efe8d8;
}

    .season-card-header h2 {
        margin: 0;
        font-size: 2rem;
        color: #2b2b2b;
    }

.season-count {
    font-size: 0.95rem;
    color: #7a6f5a;
    background: #f8f3e8;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.season-days {
    display: grid;
    gap: 14px;
}

.season-day-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fcfbf8;
    border: 1px solid #eee8db;
}

.season-day-date {
    font-weight: 600;
    color: #6a5f4b;
}

.season-day-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.season-day-title {
    font-size: 1.05rem;
    color: #222;
}

.major-feast-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #8b6b2e;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

@@media (max-width: 768px) {
    .computus-page {
        padding: 120px 16px 40px 16px;
    }

    .computus-hero h1 {
        font-size: 2.2rem;
    }

    .season-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .season-day-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .season-day-date {
        font-size: 0.95rem;
    }
}

.computus-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 60px 24px;
}

.computus-hero {
    margin-bottom: 32px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5f1e8, #ffffff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

    .computus-hero h1 {
        margin: 0 0 12px 0;
        font-size: 3rem;
        line-height: 1.1;
        color: #1f1f1f;
    }

.computus-subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: #5a5a5a;
    font-weight: 500;
}

.computus-seasons {
    display: grid;
    gap: 18px;
}

.season-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #ece7dc;
    overflow: hidden;
}

.season-toggle {
    width: 100%;
    border: none;
    background: #fff;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

    .season-toggle:hover {
        background: #faf8f2;
    }

.season-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #2b2b2b;
}

.season-meta {
    font-size: 0.95rem;
    color: #7a6f5a;
    background: #f8f3e8;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.season-content {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px solid #efe8d8;
    background: #fcfbf8;
}

    .season-content.open {
        display: block;
    }

.season-days {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.season-day-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eee8db;
}

.season-day-date {
    font-weight: 600;
    color: #6a5f4b;
}

.season-day-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.season-day-title {
    font-size: 1.05rem;
    color: #222;
}

.major-feast-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #8b6b2e;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

@@media (max-width: 768px) {
    .computus-page {
        padding: 120px 16px 40px 16px;
    }

    .computus-hero h1 {
        font-size: 2.2rem;
    }

    .season-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .season-day-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.computus-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #f5f3ef; /* warm neutral, matches your system */
}

.computus-input-card {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

    .computus-input-card h2 {
        margin-bottom: 10px;
        font-size: 28px;
    }

.computus-input-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.computus-form {
    display: flex;
    gap: 12px;
    justify-content: center;
}

    .computus-form input {
        padding: 10px 14px;
        font-size: 16px;
        border-radius: 8px;
        border: 1px solid #ccc;
        width: 120px;
        text-align: center;
    }

    .computus-form button {
        padding: 10px 18px;
        font-size: 16px;
        border-radius: 8px;
        border: none;
        background-color: #7a0f12; /* your navbar red */
        color: white;
        cursor: pointer;
        transition: 0.2s ease;
    }

.computus-form button:hover {
    background-color: #5e0c0f;
 }

.computus-back {
    max-width: 1100px;
    margin: 20px auto 10px auto;
    padding: 0 20px;
}

.computus-back-button {
    text-decoration: none;
    color: #7a0f12; /* your theme red */
    font-weight: 500;
    font-size: 20px;
    transition: 0.2s ease;
}

    .computus-back-button:hover {
        text-decoration: underline;
        color: #5e0c0f;
    }