/**
 * ══════════════════════════════════════════════════════════════════════
 * Nagar Panchayat Shergarh — Geography & History Stylesheet
 * ══════════════════════════════════════════════════════════════════════
 */

.geo-hero {
    background: var(--np-gradient-primary-h, linear-gradient(90deg, #38040C 0%, #5D0D1A 30%, #761423 70%, #38040C 100%));
    padding: 60px 20px 40px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(56, 4, 12, 0.25);
}

.geo-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--np-supportive, #F4ECD8);
}

.geo-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    color: var(--np-supportive, #F4ECD8);
    margin-bottom: 0;
}

.geo-details {
    padding: 40px 0;
    background: var(--np-supportive, #F4ECD8);
}

.geo-info-columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .geo-info-columns {
        flex-direction: row;
        gap: 30px;
    }
}

.geo-card {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(93, 13, 26, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(159, 178, 172, 0.35);
}

.geo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(93, 13, 26, 0.12);
}

.geo-card h3 {
    color: var(--np-primary, #5D0D1A);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--np-secondary, #9FB2AC);
    padding-bottom: 10px;
}

.geo-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 0;
}

.geo-list li i {
    margin-right: 10px;
    color: var(--np-primary, #5D0D1A);
    width: 20px;
    text-align: center;
}

.map-section {
    margin-top: 40px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(93, 13, 26, 0.12);
    border: 1px solid rgba(159, 178, 172, 0.4);
}

.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* History Page Styling */
.history-page-wrapper {
    background: var(--np-supportive, #F4ECD8);
    padding: 35px 0 50px 0;
    margin-top: 10px;
    min-height: 100vh;
}

.history-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(159, 178, 172, 0.45);
    box-shadow: 0 14px 38px rgba(93, 13, 26, 0.12);
    background: #ffffff;
    padding: 8px;
}

.history-hero-image {
    height: 360px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px 10px 0 0;
    border: 3px solid #FAF7F2;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

.history-overlay-title {
    background: linear-gradient(90deg, rgba(58, 5, 13, 0.92) 0%, rgba(93, 13, 26, 0.85) 100%);
    padding: 1.25rem;
}

.history-content-text {
    font-size: 1.1rem;
    color: var(--np-text-primary, #2A1810);
    text-align: justify;
    line-height: 1.8;
}

.history-section-title {
    color: var(--np-primary, #5D0D1A);
    background: var(--np-gradient-text, linear-gradient(135deg, #5D0D1A 0%, #8C1A2D 50%, #450812 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1.4;
    padding-top: 0.15em;
    padding-bottom: 0.15em;
    overflow: visible;
    margin-top: 25px;
    font-weight: 700;
}
