/* Yearly Calendar CSS */

/* Hub Page */
.calendar-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hub-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    border-top: 4px solid #ccc;
    /* Fallback */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hub-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hub-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.hub-native {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

/* Calendar App Layout */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.app-header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: #d35400;
    /* Saffron tone */
}

.year-highlight {
    color: #333;
}

.app-header .subtitle {
    margin: 5px 0 0;
    color: #666;
}

.controls-area {
    display: flex;
    gap: 10px;
}

#year-select {
    padding: 8px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.btn-filter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
}

.filter-panel {
    display: none;
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    /* Hidden via JS class if needed, but flex by default structure */
    gap: 20px;
    display: none;
}

.filter-panel.active {
    display: flex;
}

/* Grid */
.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.month-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.month-header {
    background: #FFFAF0;
    /* Light cream */
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.eng-month {
    font-weight: 700;
    color: #d35400;
}

.reg-month {
    font-size: 0.85rem;
    color: #888;
}

.day-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 0;
    background: #fcfcfc;
    color: #999;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    row-gap: 5px;
}

.day-cell {
    text-align: center;
    padding: 5px 0;
    font-size: 0.9rem;
    position: relative;
    cursor: default;
    border-radius: 4px;
}

.day-cell.sunday {
    color: #e74c3c;
}

.day-cell.has-festival {
    background: #FFF3E0;
    font-weight: 600;
}

.d-num {
    display: block;
    line-height: 1;
}

.r-num {
    display: block;
    font-size: 0.6rem;
    color: #aaa;
    margin-top: 2px;
}

.festival-dot {
    width: 4px;
    height: 4px;
    background: #d35400;
    border-radius: 50%;
    margin: 2px auto 0;
}

.month-festivals {
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.8rem;
    background: #fff;
    min-height: 50px;
}

.fest-item {
    margin-bottom: 4px;
    color: #444;
}

.fest-date {
    font-weight: 600;
    color: #d35400;
}

/* Responsive */
@media (max-width: 768px) {
    .year-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO Content Block (Shared Style) */
.seo-content-block {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-top: 40px;
}

.seo-content-block h2 {
    color: #d35400;
    margin-bottom: 15px;
    margin-top: 25px;
    font-size: 1.5rem;
}

.seo-content-block h2:first-child {
    margin-top: 0;
}

.seo-content-block p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.seo-content-block ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.seo-content-block li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.seo-content-block strong {
    color: #e65100;
}