:root {
    --primary: #FF6B00;
    --primary-light: #FF8533;
    --primary-dark: #E66000;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --text-main: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-yojna {
    color: var(--text-main);
}

.logo-mart {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1;
    top: 100%;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

/* Search Box */
.search-box {
    display: flex;
    background-color: #F3F4F6;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    align-items: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #fff 0%, #fff5ed 100%);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.about-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    display: block;
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-container {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 30px;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 20;
}

.modal-close:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.modal-body {
    padding: 0;
}

.modal-header-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.modal-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 40px;
}

.modal-content .card-category {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-main);
}

.modal-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-description h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.modal-description h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.modal-description h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modal-description h4 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.modal-description h5 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.modal-description h6 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.modal-description img,
.state-modal-desc img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    object-fit: contain;
}

/* Schemes Grid */
.schemes-grid-section {
    padding: 60px 0 100px;
}

.schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Card Styling */
.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card-snippet {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more svg {
    transition: var(--transition);
}

.card:hover .read-more svg {
    transform: translateX(3px);
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

.hidden {
    display: none;
}

#noResults {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 54px;
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.mobile-menu.open {
    max-height: 400px;
    padding: 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link {
    border-bottom: none;
}

.mobile-nav-blogs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-blogs-row .mobile-nav-link {
    flex: 1;
}

.mobile-blogs-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px 6px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.mobile-blogs-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-blogs-toggle.open svg {
    transform: rotate(180deg);
}

.mobile-blogs-toggle:hover {
    color: var(--primary);
}

/* Sub-links collapsed by default */
.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding-left: 16px;
}

.mobile-nav-sub.open {
    max-height: 200px;
}

.mobile-nav-sub-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-sub-link:hover {
    color: var(--primary);
}

/* Standalone mobile search bar strip */
.mobile-search-bar {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 10px 20px;
    position: sticky;
    top: 54px;
    z-index: 998;
    align-items: center;
    gap: 12px;
}

.mobile-search-bar .search-box {
    flex-grow: 1;
}

.mobile-search-bar .search-box input {
    width: 100%;
}

/* Split Layout for Latest Schemes */
.schemes-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    align-items: flex-start;
}

.featured-column {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.related-column {
    flex: 0 0 calc(40% - 40px);
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 25px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.related-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.related-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.related-list {
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 10px;
}

/* Custom Scrollbar for Related List */
.related-list::-webkit-scrollbar {
    width: 6px;
}

.related-list::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.related-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.related-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.related-item {
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.related-item:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

/* Horizontal Card Styling */
.card-horizontal {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    height: 180px;
}

.card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-h-image {
    width: 240px;
    min-width: 240px;
    height: 100%;
    overflow: hidden;
}

.card-h-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-horizontal:hover .card-h-image img {
    transform: scale(1.05);
}

.card-h-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-h-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.card-h-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

/* ─────────────────────────────────────────────
   State Filter Dropdown (Header)
───────────────────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.state-filter-wrapper {
    position: relative;
}

.state-filter-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.state-filter-btn:hover,
.state-filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 0, 0.05);
}

.state-filter-btn .chevron {
    transition: transform 0.3s ease;
}

.state-filter-btn.active .chevron {
    transform: rotate(180deg);
}

.state-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    z-index: 1500;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.state-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.state-dropdown-header {
    padding: 12px 16px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--bg-light);
}

.state-dropdown-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 6px 0;
}

.state-dropdown-list::-webkit-scrollbar {
    width: 4px;
}

.state-dropdown-list::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.state-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.state-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.state-dropdown-item:hover {
    background: rgba(255, 107, 0, 0.06);
    color: var(--primary);
    padding-left: 22px;
}

.state-dropdown-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.state-dropdown-item:hover svg {
    color: var(--primary);
}

.state-empty {
    padding: 14px 16px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

/* ─────────────────────────────────────────────
   State Blogs Page (state-blogs.html)
───────────────────────────────────────────── */
.state-page-hero {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #fff 0%, #fff5ed 100%);
}

.state-page-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
}

.state-page-back:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-3px);
}

.state-page-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.state-page-title .highlight {
    color: var(--primary);
}

.state-page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.state-page-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
}

/* State page cards grid */
.state-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    padding: 50px 0 100px;
}

.state-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.state-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.state-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.state-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.state-card:hover .state-card-image img {
    transform: scale(1.05);
}

.state-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.state-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.state-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.state-card-snippet {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.state-card-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.state-card-read {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* State page loading & empty states */
.state-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.state-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.state-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.state-no-results .no-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.state-no-results h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.state-no-results p {
    color: var(--text-muted);
    font-size: 15px;
}

/* State page modal reuse */
.state-modal-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.state-modal-desc h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.state-modal-desc h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.state-modal-desc h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .nav,
    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
        top: 54px;
    }

    .mobile-search-bar {
        display: flex;
        top: 54px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .schemes-layout {
        flex-direction: column;
        gap: 30px;
    }

    .featured-column,
    .related-column {
        flex: 1 1 100%;
        width: 100%;
    }

    .related-column {
        position: static;
        order: 2;
    }

    .featured-column {
        order: 1;
    }

    .card-horizontal {
        height: auto;
        flex-direction: column;
    }

    .card-h-image {
        width: 100%;
        height: 200px;
    }

    .modal-description img,
    .state-modal-desc img {
        margin: 16px 0;
        border-radius: 8px;
    }

    .modal-content {
        padding: 24px;
    }

    .modal-header-img {
        height: 220px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    /* State page mobile */
    .state-page-title {
        font-size: 28px;
    }

    .state-cards-grid {
        grid-template-columns: 1fr;
        padding: 30px 0 60px;
    }

    .state-page-hero {
        padding: 30px 0 24px;
    }
}