/* static/css/sri_sarada_devi.css */

/* Hero section specific styles */
.sarada-devi-hero {
    /* NEW: Add your banner image here */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* Dark overlay for text readability */
                url('{% static "images/common_hero_banner.jpg" %}') no-repeat center center; /* Path to your banner image */
    background-size: cover;
    color: var(--rkm-dark); /* This will be overridden by h1/p styles below */
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sarada-devi-hero h1 {
    font-size: 3.5rem;
    color: white; /* Changed to white for contrast against dark banner */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* Stronger shadow for readability */
}

.sarada-devi-hero .lead {
    font-size: 1.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9); /* Changed to light white for contrast */
}


/* Main content area (two columns) */
.sarada-devi-content { /* Renamed class for specificity */
    background-color: var(--rkm-light);
    padding: 60px 0;
}

/* Sidebar styling (Can remain the same as sticky-sidebar, card-header etc.) */
.sticky-sidebar {
    position: sticky;
    top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.sticky-sidebar .card-header {
    background-color: var(--rkm-primary);
    color: white;
    font-size: 1.2rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sticky-sidebar .list-group-item {
    font-size: 1.05rem;
    color: var(--rkm-dark);
    padding: 0.8rem 1.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sticky-sidebar .list-group-item:hover {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--rkm-primary);
}

.sticky-sidebar .list-group-item.active {
    background-color: var(--rkm-primary);
    border-color: var(--rkm-primary);
    color: white;
    font-weight: bold;
}

/* Main Content Card styling (Can remain the same as main-content-card) */
.main-content-card {
    border-radius: 8px;
    padding: 2rem !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

.main-content-card h2,
.main-content-card h3 {
    color: var(--rkm-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-content-card p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sarada-devi-hero h1 { /* Renamed class */
        font-size: 2.5rem;
    }
    .sticky-sidebar {
        position: static;
        top: auto;
        margin-bottom: 2rem;
    }
}