/* -------------------------------------------------------------------------- */
/* नवीन मुख्य ग्रिड लेआउट (Left | Center | Right) */
/* -------------------------------------------------------------------------- */

.main-content-container {
    /* येथे फक्त मुख्य कंटेनर स्टाईल ठेवा */
    width: 100%;
    margin: 0 auto;
    background-color: #f8f9fa; /* हलका बॅकग्राउंड */
}

.main-grid-layout {
    display: grid;
    /* 1 भाग डावीकडे | 2 भाग मध्यभागी (मुख्य सामग्री) | 1 भाग उजवीकडे */
    grid-template-columns: 1fr 2fr 1fr; 
    gap: 20px; /* स्तंभांमधील अंतर */
    padding: 20px 40px; /* मुख्य कंटेनरच्या कडांमधून अंतर */
}

/* मध्य विभाग (Officers Section, Slider, News) */
.center-content {
    /* मध्यभागी सामग्रीसाठी (2fr) */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* डावा आणि उजवा विभाग (Sidebars) */
.left-sidebar-main,
.right-sidebar-main {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: fit-content; /* सामग्रीनुसार उंची निश्चित करा */
}

/* -------------------------------------------------------------------------- */
/* Left Sidebar Components */
/* -------------------------------------------------------------------------- */

.quick-links-module {
    margin-bottom: 20px;
}

.quick-links-module h3 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: #004d99;
}

.service-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* दोन स्तंभांमध्ये कार्ड्स */
    gap: 10px;
}

.service-card {
    text-align: center;
    padding: 10px 5px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background-color: #f0f8ff; /* हलका निळा/पांढरा बॅकग्राउंड */
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}

/* Weather Module */
.weather-module {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
}
.weather-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.current-temp {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff9900;
}
.temp-range {
    text-align: left;
}
.condition {
    font-weight: bold;
    color: #007bff;
    font-size: 0.9em;
}

/* -------------------------------------------------------------------------- */
/* Center Content Components */
/* -------------------------------------------------------------------------- */

/* News Module (Center Section मध्ये हलवले) */
.news-module {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
}

.news-module h3 {
    border-bottom: 2px solid #ffc107; /* पिवळी बॉर्डर */
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: #333;
}

.news-list {
    margin-bottom: 10px;
}

.news-item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
    text-decoration: none;
    color: #000;
}
.news-item a:hover {
    color: #007bff;
}

.view-all-news {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    margin-top: 10px;
}

/* -------------------------------------------------------------------------- */
/* Right Sidebar Components (External Links) */
/* -------------------------------------------------------------------------- */

.important-links-module h3 {
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: #17a2b8;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr; /* एकच स्तंभ */
    gap: 8px;
}

.external-link-card {
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}
.external-link-card:hover {
    background-color: #e9ecef;
}

.external-link-card img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.external-link-card p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2;
}

/* Media Query for smaller screens (Optional but recommended for responsiveness) */
@media (max-width: 1024px) {
    .main-grid-layout {
        /* मोबाईल/टॅबलेटवर सर्व घटक एकाखाली एक दाखवा */
        grid-template-columns: 1fr; 
        padding: 20px;
    }
    
    .service-cards-container {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 स्तंभांमध्ये कार्ड्स */
    }
}