/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
Text Domain: generatepress-child
*/

/*
|--------------------------------------------------------------------------
| PORTAL LAYOUT
|--------------------------------------------------------------------------
*/

.portal-page {
    width: 100%;
}

.portal-section {
    margin-top: 40px;
}

.portal-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| BREADCRUMBS
|--------------------------------------------------------------------------
*/

.portal-breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.portal-breadcrumbs a {
    text-decoration: none;
    color: #0066cc;
}

.portal-breadcrumbs a:hover {
    text-decoration: underline;
}

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.portal-hero {
    margin-bottom: 30px;
}

.portal-title {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}

.portal-subtitle {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

.portal-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

/*
|--------------------------------------------------------------------------
| QUICK FACTS
|--------------------------------------------------------------------------
*/

.portal-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.portal-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px;
}

.portal-card-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.portal-card-value {
    font-size: 18px;
    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| TABLES
|--------------------------------------------------------------------------
*/

.table-wrapper {
    overflow-x: auto;
}

.portal-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.portal-table th {
    background: #f5f5f5;
    padding: 14px;
    text-align: left;
    border: 1px solid #e5e5e5;
}

.portal-table td {
    padding: 14px;
    border: 1px solid #e5e5e5;
}

.portal-table tr:nth-child(even) {
    background: #fafafa;
}

.portal-table tr:hover {
    background: #f1f7ff;
}

/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.portal-grid a {
    display: block;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    background: #fff;
}

.portal-grid a:hover {
    background: #f5f9ff;
}

/*
|--------------------------------------------------------------------------
| FAQ
|--------------------------------------------------------------------------
*/

.portal-faq-item {
    margin-bottom: 25px;
}

.portal-faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .portal-title {
        font-size: 28px;
    }

    .portal-section h2 {
        font-size: 22px;
    }

    .portal-intro {
        font-size: 16px;
    }

}
.portal-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.portal-table th {
    background: #f5f7fa;
    font-weight: 600;
}
.population-highlight {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 20px;
    border-radius: 10px;
    line-height: 1.9;
}
.portal-section h2 {
    font-size: 30px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.portal-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #374151;
}
.portal-stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
margin:25px 0;
}

.portal-stat-card{
background:#fff;
border:1px solid #e5e7eb;
border-radius:12px;
padding:20px;
text-align:center;
}

.stat-number{
display:block;
font-size:28px;
font-weight:700;
margin-bottom:8px;
}

.stat-label{
font-size:14px;
color:#666;
}

.portal-highlight-box{
background:#f8fafc;
padding:20px;
border-radius:12px;
border-left:4px solid #2563eb;
}
.portal-grid a{
display:block;
padding:12px;
border:1px solid #e5e7eb;
border-radius:8px;
text-decoration:none;
transition:.2s;
}

.portal-grid a:hover{
background:#f8fafc;
}
.mandal-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(280px,1fr));
    gap:15px;
}

.mandal-card{
    display:block;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:18px;
    text-decoration:none;
    transition:.2s;
}

.mandal-card:hover{
    transform:translateY(-3px);
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.mandal-name{
    display:block;
    font-size:18px;
    font-weight:600;
    color:#111827;
}

.mandal-local{
    display:block;
    margin-top:6px;
    color:#6b7280;
    font-size:15px;
}

.mandal-link{
    display:block;
    margin-top:12px;
    color:#2563eb;
    font-size:14px;
}
.district-details-table{
    width:100%;
    border-collapse:collapse;
}

.district-details-table td:first-child{
    width:45%;
    font-weight:600;
    background:#f8fafc;
}

.district-details-table td{
    padding:12px 15px;
}
.state-stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:25px 0;
}

.state-stat-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:20px;
    text-align:center;
}

.stat-number{
    display:block;
    font-size:32px;
    font-weight:700;
}

.stat-label{
    display:block;
    margin-top:8px;
    color:#666;
}
.state-stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin:30px 0;
}

.state-stat-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:25px 15px;
    text-align:center;
    transition:all .2s ease;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
}

.state-stat-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.stat-number{
    display:block;
    font-size:32px;
    font-weight:700;
    line-height:1;
    color:#111827;
}

.stat-label{
    display:block;
    margin-top:10px;
    font-size:15px;
    font-weight:500;
    color:#6b7280;
}
 
 
 .stat-number{
    display:block;
    font-size:42px;
    font-weight:700;
    line-height:1;
    color:#1f2937;
}

.stat-label{
    display:block;
    margin-top:10px;
    font-size:16px;
    font-weight:600;
    color:#6b7280;
}
.parliament-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:12px;
    margin-top:20px;
}

.parliament-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:14px;
    text-align:center;
    font-weight:600;
    transition:.2s;
}

.parliament-card:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.ulb-type-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
    margin-top:20px;
}

.ulb-type-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:18px;
    text-align:center;
}

.ulb-count{
    display:block;
    font-size:32px;
    font-weight:700;
}

.ulb-type-name{
    display:block;
    margin-top:8px;
    color:#666;
}
.district-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(260px,1fr));
    gap:16px;
    margin-top:20px;
}

.district-card{
    display:block;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:18px;
    text-decoration:none;
    transition:.2s;
}

.district-card:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,.08);
}

.district-card-title{
    display:block;
    font-size:18px;
    font-weight:600;
    color:#111827;
}

.district-card-link{
    display:block;
    margin-top:12px;
    font-size:14px;
    color:#2563eb;
}