/* Custom CSS for T20 Mumbai News Page (home.php) */

:root {
	--t20-primary: #0D3B9C;
	--t20-dark: #071D49;
	--t20-text: #333333;
	--t20-text-light: #666666;
	--t20-bg-light: #F5F7FA;
	--t20-white: #FFFFFF;
	--t20-border: #EAEAEA;
    --t20-radius: 12px;
    --t20-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --t20-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Page Header (Optional since we have the hero, but kept for structure) */
.t20-news-header {
    background-color: var(--t20-white);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--t20-border);
}
.t20-news-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: var(--t20-dark);
}
.t20-news-header p {
    font-size: 18px;
    color: var(--t20-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Hero Post */
.t20-featured-post-wrapper {
    padding: 60px 0;
    background: var(--t20-bg-light);
}
.t20-featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--t20-white);
    border-radius: var(--t20-radius);
    overflow: hidden;
    box-shadow: var(--t20-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t20-featured-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--t20-shadow-hover);
}
.t20-featured-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}
.t20-featured-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.t20-cat-badge {
    display: inline-block;
    background: var(--t20-primary);
    color: var(--t20-white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}
.t20-featured-content h2 {
    font-size: 32px;
    line-height: 1.3;
    margin: 0 0 20px 0;
}
.t20-featured-content h2 a {
    color: var(--t20-dark);
}
.t20-featured-content h2 a:hover {
    color: var(--t20-primary);
}
.t20-featured-excerpt {
    font-size: 16px;
    color: var(--t20-text-light);
    line-height: 1.7;
    margin: 0 0 30px 0;
}
.t20-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--t20-text-light);
}
.t20-post-meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--t20-dark);
}
.t20-post-meta-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.t20-meta-dot {
    color: var(--t20-border);
}

/* Grid of Posts */
.t20-news-grid-section {
    padding: 60px 0;
    background: var(--t20-white);
}
.t20-section-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 40px 0;
    color: var(--t20-dark);
    display: flex;
    align-items: center;
}
.t20-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--t20-border);
    margin-left: 20px;
}
.t20-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.t20-grid-card {
    background: var(--t20-white);
    border-radius: var(--t20-radius);
    border: 1px solid var(--t20-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.t20-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--t20-shadow);
}
.t20-grid-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}
.t20-grid-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.t20-grid-content .t20-cat-badge {
    font-size: 11px;
    padding: 4px 8px;
    margin-bottom: 15px;
}
.t20-grid-content h3 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 15px 0;
}
.t20-grid-content h3 a {
    color: var(--t20-dark);
}
.t20-grid-content h3 a:hover {
    color: var(--t20-primary);
}
.t20-grid-excerpt {
    font-size: 14px;
    color: var(--t20-text-light);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}
.t20-grid-meta {
    margin-top: auto;
    border-top: 1px solid var(--t20-border);
    padding-top: 15px;
    font-size: 13px;
}
.t20-grid-meta .t20-post-meta-author img {
    width: 24px;
    height: 24px;
}

/* Pagination */
.t20-pagination {
    margin-top: 60px;
    text-align: center;
}
.t20-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.t20-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--t20-white);
    border: 1px solid var(--t20-border);
    color: var(--t20-text);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.t20-pagination .page-numbers:hover {
    background: var(--t20-bg-light);
    color: var(--t20-primary);
}
.t20-pagination .page-numbers.current {
    background: var(--t20-primary);
    color: var(--t20-white);
    border-color: var(--t20-primary);
}
.t20-pagination .page-numbers.next, 
.t20-pagination .page-numbers.prev {
    width: auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .t20-featured-post {
        grid-template-columns: 1fr;
    }
    .t20-featured-image {
        height: 300px;
        min-height: auto;
    }
    .t20-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .t20-news-grid {
        grid-template-columns: 1fr;
    }
    .t20-featured-content {
        padding: 30px 20px;
    }
    .t20-featured-content h2 {
        font-size: 24px;
    }
}
