/*!
Theme Name: CMAT NTA
Theme URI: https://them.es/starter
Author: 
Author URI: 
Description: 
Version: 3.6.2
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: cmat-nta
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition:
		filter 0.2s ease-in,
		-webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* PREMIUM ARCHIVE SEARCH BAR */
.archive-search-wrap {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.premium-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 60px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(26, 58, 107, 0.12);
    border: 1px solid #e1e9f1;
    transition: all 0.3s ease;
    min-height: 60px;
}

.premium-search-form:focus-within {
    box-shadow: 0 15px 40px rgba(26, 58, 107, 0.15);
    border-color: var(--primary, #1A3A6B);
    transform: translateY(-2px);
}

.search-input-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 20px;
}

.search-input-group i {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 12px;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
}

.search-input-group input::placeholder {
    color: #94a3b8;
}

.premium-search-btn {
    background: var(--primary, #1A3A6B);
    color: #fff;
    border: none;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    padding: 0;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.premium-search-btn span { display: none; } /* Hide text for circular icon style if needed */

.premium-search-btn:hover {
    background: var(--accent, #F7941D);
    transform: scale(1.05);
}

/* SIDEBAR LAYOUT */
.university-archive-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.university-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 58, 107, 0.05);
    position: sticky;
    top: 40px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #1A3A6B);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-item {
    margin-bottom: 8px;
}

.sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    background: transparent;
}

.sidebar-cat-link:hover {
    background: #f8fafc;
    color: var(--primary, #1A3A6B);
}

.sidebar-cat-link.active {
    background: var(--primary, #1A3A6B);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 58, 107, 0.2);
}

.cat-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.active .cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.university-main-content {
    flex-grow: 1;
}

.search-reset-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.search-reset-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .university-archive-container {
        flex-direction: column;
    }
    .university-sidebar {
        width: 100%;
        position: static;
    }
    .sidebar-cat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .sidebar-cat-item {
        margin: 0;
    }
}

/* FEATURED NEWS HERO */
.featured-news-hero {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 45px rgba(26, 58, 107, 0.1);
    transition: all 0.4s ease;
    text-decoration: none !important;
}

.featured-news-hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 58, 107, 0.15);
}

.hero-thumb {
    width: 60%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: var(--primary, #1A3A6B);
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-news-hero:hover .hero-thumb img {
    transform: scale(1.05);
}

.hero-body {
    width: 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    background: var(--accent, #F7941D);
    color: #fff;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.hero-body h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent, #F7941D);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-body p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-meta {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* SEARCH & RESULT BADGES */
.search-results-grid .news-tag {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-tag.badge-university { background: #1A3A6B; color: #fff; }
.news-tag.badge-news { background: #ef4444; color: #fff; }
.news-tag.badge-article { background: #10b981; color: #fff; }
.news-tag.badge-mock_test { background: #f59e0b; color: #fff; }
.news-tag.badge-post { background: #6366f1; color: #fff; }

.no-results-dashboard {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    max-width: 800px;
    margin: 40px auto;
}

.no-results-icon {
    font-size: 80px;
    color: #e2e8f0;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .featured-news-hero {
        flex-direction: column;
    }
    .hero-thumb, .hero-body {
        width: 100%;
    }
    .hero-thumb {
        height: 250px;
    }
    .hero-body {
        padding: 30px;
    }
}

/* GLOBAL DESIGN SYSTEM - PREMIUM POLISH */
:root {
    --shadow-sm: 0 2px 4px rgba(26, 58, 107, 0.05);
    --shadow-md: 0 10px 30px rgba(26, 58, 107, 0.08);
    --shadow-lg: 0 20px 50px rgba(26, 58, 107, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Glassmorphism Search Bar */
.premium-search-form {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.premium-search-form:focus-within {
    box-shadow: var(--shadow-lg);
    background: #fff;
}

/* PREMIUM SEARCH & GRID CARDS - SCREENSHOT ALIGNED */
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    height: 100%;
}

.news-thumb {
    height: 180px;
    width: 100%;
    position: relative;
    background: var(--primary, #1A3A6B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 50px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-taxonomy-bar {
    background: #152e55; /* Slightly darker navy for the bar */
    color: #fff;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-body {
    padding: 20px;
    flex-grow: 1;
}

.news-body h5 {
    color: var(--accent, #F7941D);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.news-card:hover h5 {
    color: var(--primary, #1A3A6B);
}

.news-body p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Glassmorphism Refinement */
.premium-search-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e1e9f1;
}

/* Mobile Category Chips Layout */
@media (max-width: 991px) {
    .university-sidebar {
        background: transparent;
        padding: 0;
        box-shadow: none;
        margin-bottom: 25px;
        overflow: hidden;
    }
    
    .sidebar-title {
        text-align: center;
        border-bottom: none;
        margin-bottom: 15px;
        font-size: 16px;
    }
    
    .sidebar-cat-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        gap: 12px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        padding-left: 5px;
    }
    
    .sidebar-cat-list::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .sidebar-cat-item {
        flex-shrink: 0;
    }
    
    .sidebar-cat-link {
        white-space: nowrap;
        background: #fff;
        border: 1px solid #e2e8f0;
        padding: 8px 20px;
        border-radius: 50px;
    }
    
    .sidebar-cat-link.active {
        box-shadow: 0 4px 15px rgba(26, 58, 107, 0.2);
    }
}

/* Cinematic Typography Accents */
.page-title {
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-heading p {
    font-weight: 500;
    color: #64748b;
    max-width: 800px;
}

/* Unified News & College Grid Responsive Calibrations */
@media (min-width: 1200px) {
    .news-grid, .college-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .news-grid, .college-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .news-grid, .college-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.search-reset-link {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #fee2e2;
}

.search-reset-link:hover {
    background: #fef2f2;
    border-color: #ef4444;
}


/* UNIVERSITY RANKINGS PREMIUM STYLES */
.ranking-hero-section {
    background: linear-gradient(135deg, #1A3A6B 0%, #0f2444 100%);
    padding: 100px 0 140px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ranking-badge {
    background: rgba(247, 148, 29, 0.2);
    color: var(--accent, #F7941D);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(247, 148, 29, 0.3);
}

.premium-page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 19px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mt-negative-80 {
    margin-top: -80px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.ranking-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ranking-premium-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(26, 58, 107, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.ranking-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(26, 58, 107, 0.15);
    border-color: var(--accent, #F7941D);
}

.ranking-premium-card.top-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent, #F7941D);
}

.ranking-card-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.rank-indicator {
    text-align: center;
    min-width: 80px;
}

.rank-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.rank-val {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary, #1A3A6B);
    line-height: 1;
}

.rank-val.unranked {
    color: #cbd5e1;
    font-size: 24px;
}

.ranking-u-logo {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-u-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary, #1A3A6B);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.ranking-card-mid {
    flex-grow: 1;
}

.u-category-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent, #F7941D);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.u-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.u-title a {
    color: var(--primary, #1A3A6B);
    text-decoration: none !important;
}

.u-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.u-meta-item {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.u-meta-item i {
    color: var(--accent, #F7941D);
}

.u-meta-item.highlight {
    background: #fef9c3;
    color: #854d0e;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.premium-view-btn {
    background: #f8fafc;
    color: var(--primary, #1A3A6B);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.premium-view-btn:hover {
    background: var(--primary, #1A3A6B);
    color: #fff;
    border-color: var(--primary, #1A3A6B);
}

/* SIDEBAR STYLES */
.ranking-info-widget {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.ranking-info-widget h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary, #1A3A6B);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-info-widget p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ranking-info-widget ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.ranking-info-widget li {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranking-info-widget li i {
    color: #10b981;
}

.predictor-cta-banner {
    background: linear-gradient(135deg, #1A3A6B 0%, #2a5298 100%);
    padding: 25px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
}

.predictor-cta-banner h4 {
    color: var(--accent, #F7941D);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.predictor-cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 20px;
}

.cta-predictor-btn {
    background: #fff;
    color: var(--primary, #1A3A6B);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
    display: inline-block;
}

/* MINI RANK SIDEBAR WIDGET */
.mini-rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: all 0.2s;
}

.mini-rank-item:hover {
    padding-left: 5px;
}

.mini-rank-item:last-child {
    border-bottom: none;
}

.mini-rank-num {
    background: #f1f5f9;
    color: var(--primary, #1A3A6B);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.mini-rank-name {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.mini-rank-item i {
    color: #cbd5e1;
    font-size: 12px;
}

.view-all-rankings {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #1A3A6B);
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .ranking-layout {
        grid-template-columns: 1fr;
    }
    .ranking-premium-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .ranking-card-right {
        width: 100%;
    }
    .premium-view-btn {
        justify-content: center;
    }
    .premium-page-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/* COMPACT RANKING LAYOUT */
.ranking-full-layout {
    max-width: 900px;
    margin: 0 auto;
}

.ranking-premium-card.compact {
    padding: 15px 25px;
    gap: 20px;
}

.rank-indicator.small {
    min-width: 60px;
}

.rank-indicator.small .rank-val {
    font-size: 24px;
}

.ranking-u-logo.small {
    width: 60px;
    height: 60px;
}

.logo-placeholder.small {
    font-size: 22px;
}

.small-title {
    font-size: 18px !important;
    margin-bottom: 8px !important;
}

.premium-view-btn.small-btn {
    padding: 8px 18px;
    font-size: 13px;
    gap: 8px;
}

.narrow-centered {
    margin: 0 auto;
}

@media (max-width: 991px) {
    .ranking-full-layout {
        max-width: 100%;
    }
    .ranking-premium-card.compact {
        flex-direction: row; /* Keep horizontal on tablets */
        align-items: center;
    }
}

@media (max-width: 768px) {
    .ranking-premium-card.compact {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .ranking-card-right {
        width: 100%;
    }
    .premium-view-btn.small-btn {
        justify-content: center;
    }
}

/* ENQUIRY BUTTON & MODAL STYLES */
.ranking-card-actions {
    display: flex;
    gap: 10px;
}

.enquiry-btn {
    background: var(--accent, #F7941D);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.enquiry-btn:hover {
    background: #e68512;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 148, 29, 0.3);
}

/* PREMIUM MODAL */
.cmat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 36, 68, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cmat-modal.active {
    opacity: 1;
    visibility: visible;
}

.cmat-modal-content {
    background: #fff;
    width: 95%;
    max-width: 550px; /* SMT smaller max-width */
    max-height: 85vh; /* Ensure it fits on screen */
    overflow-y: auto; /* Scroll if content is long */
    border-radius: 20px;
    padding: 35px 30px; 
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom scrollbar for modal */
.cmat-modal-content::-webkit-scrollbar {
    width: 6px;
}
.cmat-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cmat-modal.active .cmat-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    z-index: 100;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #ef4444;
    background: #fee2e2;
}

.modal-header {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.modal-header h2 {
    color: var(--primary, #1A3A6B);
    font-size: 22px; 
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.modal-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* FORM STYLES */
.cmat-premium-form .form-group {
    margin-bottom: 20px;
}

.cmat-premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cmat-premium-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cmat-premium-form input, 
.cmat-premium-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8fafc;
}

.cmat-premium-form input:focus, 
.cmat-premium-form textarea:focus {
    outline: none;
    border-color: var(--primary, #1A3A6B);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 58, 107, 0.05);
}

.submit-enquiry-btn {
    width: 100%;
    background: var(--primary, #1A3A6B);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-enquiry-btn:hover {
    background: #0f2444;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 58, 107, 0.2);
}

@media (max-width: 576px) {
    .cmat-modal-content {
        padding: 30px 20px;
    }
    .cmat-premium-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.cmat-premium-form input.readonly-input {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
    font-weight: 700;
    cursor: default;
}

.cmat-premium-form input.readonly-input:focus {
    box-shadow: none;
    border-color: #e2e8f0;
}

/* COMMUNITY HUB PREMIUM 2.0 STYLES */
.premium-bg-animate {
    background: linear-gradient(-45deg, #1A3A6B, #2a5298, #1e293b, #1A3A6B);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.community-hero {
    padding: 120px 0 160px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 15px auto 0;
}

.community-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 148, 29, 0.15);
    color: #F7941D;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(247, 148, 29, 0.3);
    box-shadow: 0 0 20px rgba(247, 148, 29, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-wave .shape-fill {
    fill: #f8fafc;
}

/* LAYOUT GRID */
.community-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

/* MAIN COLUMN */
.community-mission-compact {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.community-mission-compact .m-item {
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: #1A3A6B;
}

.community-mission-compact .m-item i {
    color: #F7941D;
}

.section-title-premium {
    font-size: 24px;
    font-weight: 800;
    color: #1A3A6B;
    position: relative;
    padding-left: 15px;
}

.section-title-premium::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: #F7941D;
    border-radius: 4px;
}

.filter-pills {
    display: flex;
    gap: 10px;
}

.filter-pills .pill {
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: 0.3s;
}

.filter-pills .pill.active {
    background: #1A3A6B;
    color: #fff;
    border-color: #1A3A6B;
}

/* MODERN DISCUSSION CARDS */
.discussions-list-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.discussion-card-modern {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.discussion-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 58, 107, 0.1);
    border-color: #F7941D;
}

.disc-card-inner {
    padding: 24px;
}

.disc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.author-avatar-premium {
    width: 45px;
    height: 45px;
    background: var(--primary, #1A3A6B);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(26, 58, 107, 0.2);
}

.disc-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info .a-name {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.author-info .a-date {
    font-size: 12px;
    color: #94a3b8;
}

.disc-tag {
    background: #f1f5f9;
    color: #1A3A6B;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.disc-body h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.disc-body h3 a {
    color: #1A3A6B;
    text-decoration: none;
}

.disc-body p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.disc-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disc-stats {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.disc-stats i { margin-right: 5px; }

.btn-interact {
    color: #1A3A6B;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-interact:hover {
    color: #F7941D;
    gap: 12px;
}

/* SIDEBAR WIDGETS */
.comm-sidebar-widget {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.widget-header {
    background: #f8fafc;
    padding: 15px 20px;
    font-weight: 800;
    color: #1A3A6B;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-body {
    padding: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    text-align: center;
    background: #f1f5f9;
    padding: 15px 10px;
    border-radius: 12px;
}

.stat-item .s-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1A3A6B;
}

.stat-item .s-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.4;
}

.rules-list li i {
    color: #4ade80;
    margin-top: 2px;
}

.contributor-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.c-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.c-info strong {
    display: block;
    font-size: 13px;
    color: #1e293b;
}

.c-info span {
    font-size: 11px;
    color: #64748b;
}

.btn-premium-sidebar {
    display: block;
    background: var(--accent, #F7941D);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-premium-sidebar:hover {
    background: #fff;
    color: #1A3A6B;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .premium-page-title { font-size: 32px; }
}

/* SINGLE COMMUNITY PREMIUM STYLES */
.community-single-header {
    padding: 100px 0 120px;
    color: #fff;
    position: relative;
}

.header-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 20px;
}

.header-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.topic-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.topic-author-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-premium {
    display: flex;
    align-items: center;
    gap: 15px;
}

.a-avatar-glow {
    width: 54px;
    height: 54px;
    background: #F7941D;
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(247, 148, 29, 0.4);
    border: 2px solid rgba(255,255,255,0.2);
}

.a-meta .a-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.verified-icon {
    color: #4ade80;
    font-size: 14px;
    margin-left: 5px;
}

.a-meta .a-status {
    font-size: 12px;
    opacity: 0.8;
}

.topic-stats-bar {
    display: flex;
    gap: 10px;
}

.stat-pill {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* CONTENT CARD */
.single-topic-card {
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.topic-body {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.topic-body p { margin-bottom: 20px; }

.topic-footer-actions {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-share-mock {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-share-mock span { font-weight: 700; font-size: 14px; color: #64748b; }

.social-share-mock a {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #1A3A6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-share-mock a:hover {
    background: #1A3A6B;
    color: #fff;
    transform: translateY(-3px);
}

/* CONVERSATION UI */
.community-conversation-wrap .section-title-premium {
    margin-bottom: 30px;
}

/* Comment Overrides */
#comments { padding: 0; background: transparent; box-shadow: none; }

.commentlist { list-style: none; padding: 0; }

.commentlist .comment {
    margin-bottom: 30px;
    position: relative;
}

.commentlist .comment article {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: 0.3s;
}

.commentlist .comment article:hover {
    border-color: #1A3A6B;
}

.comment-author .avatar {
    border-radius: 10px;
    margin-right: 15px;
}

.comment-author b { color: #1A3A6B; font-size: 15px; }

.comment-metadata a { color: #94a3b8; font-size: 12px; text-decoration: none; }

.comment-content {
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #1A3A6B;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.reply a:hover { background: #1A3A6B; color: #fff; }

/* Threaded replies indent and lines */
.commentlist .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 20px;
    position: relative;
}

.commentlist .children::before {
    content: '';
    position: absolute;
    left: 20px;
    top: -20px;
    bottom: 30px;
    width: 2px;
    background: #e2e8f0;
}

/* Comment Form Premium */
.comment-respond {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin-top: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.comment-respond h3 { 
    font-size: 20px; 
    font-weight: 800; 
    color: #1A3A6B; 
    margin-bottom: 25px !important;
}

.comment-form .form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.comment-form .form-control:focus {
    background: #fff;
    border-color: #1A3A6B;
    box-shadow: 0 0 0 4px rgba(26, 58, 107, 0.1);
}

.comment-form .btn-primary {
    background: #1A3A6B;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .topic-title { font-size: 28px; }
    .commentlist .children { padding-left: 20px; }
}

/* ==========================================================================
   Single News Page Styles
   ========================================================================== */
.single-news-wrapper {
    padding: 60px 0;
    background: #fcfcfd;
}

.news-article-header {
    margin-bottom: 40px;
}

.news-article-header .category-badge {
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.news-article-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1A3A6B;
    line-height: 1.2;
    margin-bottom: 25px;
}

.news-meta-stripe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.news-meta-left {
    display: flex;
    gap: 25px;
    color: #64748b;
    font-size: 14px;
}

.news-meta-left span i {
    color: var(--accent);
    margin-right: 5px;
}

.share-strip {
    display: flex;
    gap: 15px;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 14px;
    transition: 0.3s;
}

.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }

.share-icon:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.news-featured-media {
    margin-bottom: 40px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.news-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

.media-caption {
    background: #1A3A6B;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-notice-box {
    background: #f8fafc;
    border-left: 4px solid #F7941D;
    padding: 30px;
    border-radius: 0 16px 16px 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1e293b;
    margin: 40px 0;
}

/* Sidebar Styling */
.news-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.news-sidebar-card .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A3A6B;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F7941D;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-notice-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mini-notice-item {
    display: flex;
    gap: 15px;
    text-decoration: none !important;
}

.notice-date {
    background: #f1f5f9;
    padding: 8px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.notice-date .day { display: block; font-weight: 800; font-size: 18px; color: #1A3A6B; line-height: 1; }
.notice-date .month { display: block; font-size: 10px; text-transform: uppercase; color: #64748b; }

.mini-notice-item h6 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #334155;
    transition: 0.2s;
}

.mini-notice-item:hover h6 { color: var(--accent); }

.sidebar-promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1A3A6B;
    color: #fff !important;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.3s;
}

.sidebar-promo-btn:hover { background: #0f172a; transform: scale(1.02); }

/* Navigation */
.post-navigation-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.nav-box {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    transition: 0.3s;
}

.nav-box:hover { border-color: #1A3A6B; transform: translateY(-3px); }

.nav-label { font-size: 12px; color: #94a3b8; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; display: block; }
.nav-title { font-size: 15px; font-weight: 700; color: #1A3A6B; display: block; }

@media (max-width: 992px) {
    .news-article-header h1 { font-size: 2.2rem; }
    .post-navigation-premium { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Archive Card Design System (News & Articles)
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(26, 58, 107, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 58, 107, 0.1);
    border-color: var(--accent, #F7941D);
}

.news-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .featured-news-img {
    transform: scale(1.1);
}

.news-fallback-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
}

.news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.news-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 14px;
    background: var(--accent, #F7941D);
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.news-title {
    font-size: 18px;
    font-weight: 800;
    color: #1A3A6B;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--accent, #f7941d);
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.news-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: auto;
}

.news-footer span {
    font-size: 13px;
    font-weight: 700;
    color: #1A3A6B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-footer i {
    font-size: 14px;
    transition: transform 0.3s;
}

.news-card:hover .news-footer i {
    transform: translateX(5px);
    color: var(--accent, #f7941d);
}

@media (max-width: 991px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
}
