/* Uncovered style.css ranges */
/* ========== RESPONSIVE STYLES ========== */

/* 4K Ð¸ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ðµ ÑÐºÑ€Ð°Ð½Ñ‹ (2560px+) */
@media (min-width: 2560px) {
    .modern-hero-section .wp-block-cover {
        min-height: 85vh !important;
    }

    .hero-glass-card {
        max-width: 1200px;
        padding: 4.5rem 5.5rem;
        border-radius: 32px;
    }

    .hero-title-2025 {
        font-size: 3rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-description-2025 {
        font-size: 1rem !important;
        margin-bottom: 2.5rem !important;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 12px 28px;
        margin-bottom: 2rem;
    }

    .hero-badge svg {
        width: 20px;
        height: 20px;
    }

    .hero-stats {
        gap: 3.5rem;
        padding: 1.75rem 0;
        margin-bottom: 2.5rem;
    }

    .hero-stat-value {
        font-size: 2.5rem;
    }

    .hero-stat-label {
        font-size: 1.0625rem;
    }
    
    
    /* Benefits Section 4K */
    .benefits-section {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    .benefit-card {
        padding: 3.5rem;
        border-radius: 28px;
    }

    .benefit-icon {
        width: 90px;
        height: 90px;
        border-radius: 24px;
        margin-bottom: 2rem;
    }

    .benefit-icon svg {
        width: 48px;
        height: 48px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
        margin-bottom: 1.25rem !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
        line-height: 1.8 !important;
    }
}

/* FullHD Ð¸ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ðµ Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ñ‹ (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero-glass-card {
        max-width: 1100px;
        padding: 4rem 5rem;
    }

    .hero-title-2025 {
        font-size: 2.5rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.5rem !important;
    }

    .hero-description-2025 {
        font-size: 1rem !important;
    }

    .hero-stats {
        gap: 3rem;
    }

    .hero-stat-value {
        font-size: 2.25rem;
    }

    .hero-stat-label {
        font-size: 1rem;
    }

    /* Benefits Section FullHD */
    .benefit-card {
        padding: 3rem;
    }

    .benefit-icon {
        width: 80px;
        height: 80px;
    }

    .benefit-icon svg {
        width: 42px;
        height: 42px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
    }
}

/* Ð¡Ñ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ñ‹Ðµ Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ñ‹ (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero-glass-card {
        max-width: 1000px;
        padding: 3.5rem 4.5rem;
    }

    .hero-title-2025 {
        font-size: 3.25rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.375rem !important;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .hero-stat-value {
        font-size: 2rem;
    }
}

/* Ð¡Ñ€ÐµÐ´Ð½Ð¸Ðµ Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ñ‹ (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-glass-card {
        max-width: 900px;
        padding: 3rem 4rem;
    }

    .hero-title-2025 {
        font-size: 2.75rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.25rem !important;
    }

    .hero-stat-value {
        font-size: 1.875rem;
    }
}

/* ÐœÐ°Ð»ÐµÐ½ÑŒÐºÐ¸Ðµ Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ñ‹ Ð¸ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ðµ Ð¿Ð»Ð°Ð½ÑˆÐµÑ‚Ñ‹ (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-glass-card {
        max-width: 800px;
        padding: 2.75rem 3.5rem;
    }

    .hero-title-2025 {
        font-size: 2.5rem !important;
    }

    .hero-subtitle-2025 {
        font-size: var(--wp--preset--font-size--medium) !important;
    }

    .hero-description-2025 {
        font-size: 0.9375rem !important;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-value {
        font-size: 1.625rem;
    }

    .hero-stat-label {
        font-size: 0.8125rem;
    }

    /* Benefits Section */
    .benefit-card {
        padding: 2rem;
    }

    .benefit-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .benefit-icon svg {
        width: 32px;
        height: 32px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
    }
}

/* ÐŸÐ»Ð°Ð½ÑˆÐµÑ‚Ñ‹ (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .complex-cases-show-more-btn{
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
	}
    
    .modern-hero-section .wp-block-cover {
        min-height: 90vh !important;
    }

    .hero-glass-card {
        max-width: 680px;
        padding: 2.5rem 3rem;
        border-radius: 20px;
        margin: 0 auto;
    }

    .hero-title-2025 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle-2025 {
        font-size: 1.0625rem !important;
    }

    .hero-description-2025 {
        font-size: 0.9375rem !important;
        line-height: 1.65 !important;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 8px 18px;
    }

    .hero-stats {
        gap: 1.75rem;
        padding: 1rem 0;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.8125rem;
    }

    .hero-cta-container {
        gap: 0.875rem;
    }

    .hero-cta-primary .wp-block-button__link, .hero-cta-secondary .wp-block-button__link, complex-cases-show-more-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }

    /* Benefits Section - Ð¿Ð»Ð°Ð½ÑˆÐµÑ‚Ñ‹ */
    .benefits-section .wp-block-columns {
        flex-direction: column;
    }

    .benefits-section .wp-block-column {
        flex-basis: 100% !important;
        max-width: 600px;
        margin: 0 auto 1.5rem;
    }

    .benefit-card {
        padding: 2.25rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }

    .benefit-icon {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        margin-bottom: 0;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
        margin-bottom: 0.75rem !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
    }
}

/* Ð‘Ð¾Ð»ÑŒÑˆÐ¸Ðµ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .modern-hero-section .wp-block-cover {
        min-height: auto !important;
        padding: 4rem 0 !important;
    }

    .hero-glass-card {
        max-width: 100%;
        padding: 2rem 1.75rem;
        border-radius: 16px;
        margin: 0 1rem;
    }

    .hero-title-2025 {
        font-size: 1.875rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 1rem !important;
        margin-bottom: 0.875rem !important;
    }

    .hero-description-2025 {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 1.25rem;
    }

    .hero-badge svg {
        width: 14px;
        height: 14px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.25rem;
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }

    .hero-stat-item {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 80px;
        text-align: center;
    }

    .hero-stat-value {
        font-size: 1.375rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-cta-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta-primary .wp-block-button__link,
    .hero-cta-secondary .wp-block-button__link {
        width: auto;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9375rem !important;
    }

    /* Benefits Section - Ð±Ð¾Ð»ÑŒÑˆÐ¸Ðµ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ */
    .benefits-section {
        padding: 3rem 1rem !important;
    }

    .benefits-section .section-heading {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }

    .benefits-section .wp-block-columns {
        flex-direction: column;
        gap: 1.25rem !important;
    }

    .benefit-card {
        padding: 1.75rem;
        border-radius: 16px;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }

    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
        margin-bottom: 0.75rem !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
        line-height: 1.65 !important;
    }
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð° (Ð´Ð¾ 575px) */
@media (max-width: 575px) {
    .modern-hero-section .wp-block-cover {
        min-height: auto !important;
        padding: 3rem 0 !important;
    }

    .hero-glass-card {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
        margin: 0 0.75rem;
    }

    .hero-title-2025 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 0.9375rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-description-2025 {
        font-size: 0.8125rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-badge {
        font-size: 0.6875rem;
        padding: 5px 12px;
        margin-bottom: 1rem;
        gap: 6px;
    }

    .hero-badge svg {
        width: 12px;
        height: 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.875rem;
        padding: 0.875rem 0;
        margin-bottom: 1.25rem;
    }

    .hero-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .hero-stat-value {
        font-size: 1.25rem;
        order: 2;
    }

    .hero-stat-label {
        font-size: 0.8125rem;
        order: 1;
    }

    .hero-cta-container {
        flex-direction: column;
        gap: 0.625rem;
    }

    .hero-cta-primary .wp-block-button__link,
    .hero-cta-secondary .wp-block-button__link {
        width: auto;
        text-align: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }

    /* Benefits Section - Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ðµ */
    .benefits-section {
        padding: 2.5rem 0.75rem !important;
    }

    .benefits-section .section-heading {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem;
    }

    .benefits-section .section-heading::after {
        width: 60px;
        height: 3px;
    }

    .benefits-section .wp-block-columns {
        flex-direction: column;
        gap: 1rem !important;
    }

    .benefit-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .benefit-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .benefit-icon svg {
        width: 26px;
        height: 26px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
        margin-bottom: 0.625rem !important;
        margin-left: auto;
        margin-right: auto;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
        line-height: 1.6 !important;
    }

    .benefits-section .wp-block-buttons {
        margin-top: 1.5rem !important;
    }

    .benefits-section .hero-cta-primary .wp-block-button__link {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* ÐžÑ‡ÐµÐ½ÑŒ Ð¼Ð°Ð»ÐµÐ½ÑŒÐºÐ¸Ðµ ÑÐºÑ€Ð°Ð½Ñ‹ (Ð´Ð¾ 375px) */
@media (max-width: 375px) {
    .hero-glass-card {
        padding: 1.25rem 1rem;
        margin: 0 0.5rem;
    }

    .hero-title-2025 {
        font-size: 1.375rem !important;
    }

    .hero-subtitle-2025 {
        font-size: 0.875rem !important;
    }

    .hero-description-2025 {
        font-size: 0.75rem !important;
    }

    .hero-stat-value {
        font-size: var(--wp--preset--font-size--medium);
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .benefit-card {
        padding: 1.25rem 1rem;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }

    .benefit-icon svg {
        width: 24px;
        height: 24px;
    }

    .benefit-card h3 {
        font-size: var(--wp--preset--font-size--large) !important;
    }

    .benefit-card p {
        font-size: var(--wp--preset--font-size--medium) !important;
    }
}

/* Landscape Ñ€ÐµÐ¶Ð¸Ð¼ Ð´Ð»Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… */
@media (max-height: 500px) and (orientation: landscape) {
    .modern-hero-section .wp-block-cover {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .hero-glass-card {
        padding: 1.5rem 2rem;
    }

    .hero-title-2025 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle-2025 {
        margin-bottom: 0.5rem !important;
    }

    .hero-description-2025 {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }

    .hero-stat-item {
        text-align: center;
    }

    .hero-cta-container {
        flex-direction: row;
    }
}

    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.fone-country-dd__msg {
    padding: 14px;
    color: #4a5568;
    font-size: 0.95rem;
}

/* ===== Country Dropdown Responsive Styles ===== */
@media (max-width: 768px) {
    .fone-country-container {
        --fone-country-row-h: 48px;
    }

    .fone-country-dd {
        position: fixed;
        left: 16px !important;
        right: 16px !important;
        top: auto !important;
        bottom: 16px;
        max-height: 70vh;
        border-radius: 16px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    }
    
    .fone-country-dd__list {
        max-height: calc(70vh - 60px);
    }
    
    .fone-country-dd__searchWrap {
        padding: 12px;
    }
    
    .fone-country-dd__search {
        padding: 12px 14px;
        font-size: 1rem;
    }
    
    .fone-country-dd__option { padding: 0 16px; }
    
    .fone-country-dd__flag {
        font-size: 20px;
    }
    
    .fone-country-dd__label {
        font-size: 1rem;
    }
    
    .fone-ui-overlay {
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

/* File Upload */
.app-form-field--file {
    flex: 1;
}

.app-form-file-wrapper {
    position: relative;
}

.app-form-file-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1.5rem;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
    color: var(--text-dark);
}

.app-form-file-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.04);
    color: #667eea;
}

.app-form-file-label.has-file {
    border-color: #48bb78;
    background: rgba(72, 187, 120, 0.04);
    color: #2f855a;
}

.app-form-file-label svg {
    flex-shrink: 0;
    color: currentColor;
}

.app-form-file-label .file-name {
    display: none;
    font-weight: 600;
    color: #2f855a;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #718096;
    line-height: 1.5;
}

/* Submit Button */
.app-form-submit {
    width: auto;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)!important;
    color: #fff;
    font-weight: 600!important;
    border: none;
    border-radius: 10px!important;
    cursor: pointer;
    transition: all 0.3s ease!important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3)!important;
    padding: 0.875rem 1.75rem!important;
    font-size: 0.875rem!important;
    margin: 0 auto!important;
}

.wpforms-field-medium {
    width: 100%!important;
    max-width: 100%!important;
}

.app-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.app-form-submit:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(102, 126, 234, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-form-submit svg {
    transition: transform 0.3s ease;
}

.app-form-submit:hover svg {
    transform: translateX(4px);
}

.app-form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.app-form-privacy a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: border-color 0.3s ease;
}

.app-form-privacy a:hover {
    border-bottom-color: #667eea;
}

/* Responsive */
@media (max-width: 1199px) {
    
    .app-form-image-wrapper {
        position: relative;
        top: 0;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .app-form-image-circle {
        width: 220px;
        height: 220px;
    }
    
    .app-form-image-text {
        text-align: left;
        max-width: max-content;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    
    .app-form-header h2 {
        font-size: 2rem;
    }
    
    .app-form-header .paragraph-section {
        font-size: 1.05rem;
    }
    
    .app-form-image-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .app-form-image-circle {
        width: 200px;
        height: 200px;
    }
    
    .app-form-image-text {
        text-align: center;
        max-width: 100%;
    }
    
    .app-form-image-text h3 {
        font-size: 1.35rem;
    }
    
    .app-form-wrapper {
        padding: 2rem;
    }
    
    .app-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .app-form-field--small {
        flex: 1;
    }
}

@media (max-width: 480px) {    
    .app-form-header {
        margin-bottom: 2.5rem;
    }
    
    .app-form-header h2 {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .app-form-header .paragraph-section {
        font-size: 1rem;
    }
    
    .app-form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .app-form-image-circle {
        width: 160px;
        height: 160px;
        border-width: 6px;
    }
    
    .app-form-image-text h3 {
        font-size: 1.25rem;
    }
    
    .app-form-image-text p {
        font-size: 0.95rem;
    }
    
    .app-form-row {
        margin-bottom: 1.25rem;
    }
    
    .app-form-field label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .app-form-field input,
    .app-form-field select {
        padding: 0.75rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .app-form-submit {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .app-form-privacy {
        font-size: 0.8rem;
    }
}

/* Extra small devices (320px - 400px) */
@media (max-width: 400px) {
    
    
    .app-form-header h2 {
        font-size: 1.5rem;
    }
    
    .app-form-wrapper {
        padding: 1.25rem;
    }
    
    .app-form-image-circle {
        width: 140px;
        height: 140px;
    }
    
    .app-form-field input,
    .app-form-field select {
        padding: 0.65rem 0.875rem;
    }
    
    .app-form-submit {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}


.hidden {
    overflow:hidden;
    display: none;
}

/* ========================================
   COLLEGES CATALOG PAGE
   ======================================== */

/* Hero Section for Colleges Catalog */
.colleges-catalog-hero {
    position: relative;
    background: url(/wp-content/themes/F-one/assets/images/college.webp) 50% 60%;
    background-size: cover;
    overflow: hidden;
    padding-top: clamp(60px, 8vw, 100px) !important;
    padding-bottom: clamp(60px, 8vw, 100px) !important;
}

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

.colleges-catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.colleges-catalog-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: floatPattern 60s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.colleges-catalog-hero .section-heading-colleges {
    color: var(--text-dark) !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    text-shadow: none;
    position: relative;
    z-index: 1;
    font-size: var(--wp--preset--font-size--x-large);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.colleges-catalog-hero .paragraph-section {
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    max-width: 1250px;
    margin: 0 1rem;
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.7;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating decorative elements */
.colleges-catalog-hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Catalog Container */
.colleges-catalog-container {
    max-width: 1400px;
    margin: -40px auto 0;
    padding: 0 clamp(30px, 5vw, 50px);
    position: relative;
    z-index: 10;
}

/* Filters for Colleges - Enhanced Glass Effect */
.colleges-filters-horizontal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.colleges-filters-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Grid layout for colleges filters */
.colleges-filters-horizontal .filters-horizontal-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 1.5rem;
    align-items: end;
}

/* First 3 filters in first row */
.colleges-filters-horizontal .filter-group-horizontal:nth-child(1),
.colleges-filters-horizontal .filter-group-horizontal:nth-child(2),
.colleges-filters-horizontal .filter-group-horizontal:nth-child(3) {
    grid-row: 1;
}

/* Actions in first row, last column */
.colleges-filters-horizontal .filter-actions-horizontal {
    grid-row: 1;
    grid-column: 4;
    margin: 0;
}

.colleges-results-count {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    color: var(--text-muted);
}

.colleges-results-count .count-number {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Colleges Grid */
.colleges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Clickable Card Link Wrapper */
.college-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.college-card-link:hover,
.college-card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.college-card-link:hover .college-card.light-theme {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.college-card-link:hover .college-card.light-theme::before {
    opacity: 1;
}

/* Visual Button (non-interactive, just styled) */
.college-card-btn-visual {
    background: var(--gradient-gold);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.3);
    color: #1a1a1a;
    padding: 0.7rem 2rem;
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.college-card-link:hover .college-card-btn-visual {
    transform: translateY(-2px);
}

/* Light Theme for College Cards - Enhanced Design */
.college-card.light-theme {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1 1 auto;
    min-width: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.college-card.light-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover handled by .college-card-link wrapper */

.college-card.light-theme .college-card-body {
    background: #ffffff;
}

.college-card.light-theme .college-card-header {
    position: relative;
}

.college-card.light-theme .college-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.college-card.light-theme .college-section {
    border-bottom-color: rgba(102, 126, 234, 0.1);
    padding-bottom: 1rem;
}

.college-card.light-theme .college-section-title {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.college-card.light-theme .college-section-title svg {
    color: #667eea;
}

.college-card.light-theme .college-list li {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
}

.college-card.light-theme .college-list li::before {
    color: #667eea;
}

.college-card.light-theme .college-price-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.college-card.light-theme .college-price-value {
    color: #667eea;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--bg-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* State Benefits Tags - Enhanced */
.college-card.light-theme .state-benefits-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.college-card.light-theme .state-benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.college-card.light-theme:hover .state-benefit-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.3);
}

.college-card.light-theme .college-card-footer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    color: #475569;
    font-size: 0.8rem;
}

.college-card.light-theme .college-card-footer strong {
    color: #667eea;
    font-weight: 700;
}

/* Enhanced Work Badge */
.college-card.light-theme .college-work-badge {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    font-size: 0.65rem;
    padding: 0.4rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 20px;
    margin: 2rem 0;
}

.no-results-message svg {
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.no-results-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.no-results-message p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
}

/* ========================================
   RESPONSIVE - COLLEGES CATALOG
   ======================================== */

/* 4K Screens - 4 columns */
@media (min-width: 2560px) {
    .colleges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

/* FullHD - 3 columns */
@media (min-width: 1440px) and (max-width: 2559px) {
    .colleges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Desktop Medium - 3 columns */
@media (min-width: 1200px) and (max-width: 1439px) {
    .colleges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet - 2 columns */
@media (max-width: 1199px) and (min-width: 769px) {
    .colleges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .colleges-catalog-container {
        padding: 0 1.5rem;
    }
    
    .colleges-filters-horizontal {
        padding: 1.5rem;
    }
    
    .colleges-filters-horizontal .filters-horizontal-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(1),
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(2) {
        grid-row: 1;
    }
    
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(3) {
        grid-row: 2;
        grid-column: 1;
    }
    
    .colleges-filters-horizontal .filter-actions-horizontal {
        grid-row: 2;
        grid-column: 2;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 2rem;
    }
    
    .colleges-catalog-container {
        padding: 0 1rem;
    }
    
    /* Hide main filters, show mobile toggle */
    .colleges-filters-horizontal {
        display: none;
    }
    
    /* Show mobile toggle button on colleges page */
    .colleges-catalog-container ~ .mobile-filter-toggle,
    #mobileCollegeFilterToggle {
        display: flex;
    }
    
    /* Colleges modal filters layout */
    .filters-modal-body .colleges-filters-modal-content {
        display: block !important;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    
    .filters-modal-body .colleges-filters-modal-content .filters-horizontal-row {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }
    
    .filters-modal-body .colleges-filters-modal-content .filter-group-horizontal {
        display: block !important;
        width: 100%;
    }
    
    .filters-modal-body .colleges-filters-modal-content .filter-actions-horizontal {
        display: none !important;
    }
    
    .colleges-filters-horizontal .filters-horizontal-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(1),
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(2),
    .colleges-filters-horizontal .filter-group-horizontal:nth-child(3) {
        grid-row: auto;
        grid-column: 1;
    }
    
    .colleges-filters-horizontal .filter-actions-horizontal {
        grid-row: auto;
        grid-column: 1;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .colleges-filters-horizontal .filter-apply-btn-horizontal,
    .colleges-filters-horizontal .filter-reset-horizontal {
        width: 100%;
        justify-content: center;
    }
    
    .colleges-filters-horizontal .results-count {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }
    
    .colleges-results-count {
        font-size: 0.875rem;
        margin-top: 1rem;
    }
    
    .colleges-results-count .count-number {
        font-size: var(--wp--preset--font-size--medium);
    }
    
    .college-card.light-theme {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .college-card.light-theme .college-card-header {
        height: 140px;
    }
    
    .college-card.light-theme .college-card-body {
        padding: 1rem;
    }
    
    .college-card.light-theme .college-section-title {
        font-size: 0.9375rem;
    }
    
    .college-card.light-theme .college-list li {
        font-size: 0.875rem;
    }
    
    .no-results-message {
        padding: 3rem 1.5rem;
    }
    
    .no-results-message h3 {
        font-size: 1.25rem;
    }
    
    .no-results-message p {
        font-size: 0.875rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .college-card-btn-visual {
        margin: 0 auto;
    }

    .colleges-catalog-container {
        padding: 0 0.75rem;
    }
    
    .college-card.light-theme .college-card-header {
        height: 120px;
        padding: 1rem;
    }
    
    .college-card.light-theme .college-card-title {
        font-size: 1.0625rem;
    }
    
    .college-card.light-theme .college-card-subtitle {
        font-size: 0.8125rem;
    }
    
    .college-card.light-theme .college-section-title {
        font-size: 0.875rem;
    }
    
    .college-card.light-theme .college-list li {
        font-size: 0.8125rem;
    }
    
    .college-card.light-theme .college-card-footer {
        font-size: 0.75rem;
        padding: 0.875rem 1rem;
    }
}

/* ===========================================
   COMPACT COLLEGE CARD DESIGN 2025
   Professional, informative, clean
   =========================================== */

/* Info Grid - compact 2-column layout */
.college-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.college-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.college-info-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.college-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.college-info-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.2;
}

.college-info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.35;
    word-break: break-word;
}

/* Benefits Tags - horizontal scrollable */
.college-benefits-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.college-benefit-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.college-benefit-tag:hover {
    background: rgba(0, 102, 204, 0.15);
}

/* Card Bottom - Price + CTA inline */
.college-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(248, 250, 252, 0.5);
}

.college-price-compact {
    display: grid;
    align-items: baseline;
    gap: 0.375rem;
}

.college-price-compact .college-price-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.college-price-compact .college-price-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.college-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.college-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    color: #fff;
}

/* Override old card body padding for new layout */
.college-card.light-theme .college-card-body {
    padding: 0;
}

/* Adjust header for compact cards */
.college-card.light-theme .college-card-header {
    height: 150px;
    padding: 1rem 1.25rem;
}

/* Remove old sections if present */
.college-card.light-theme .college-section,
.college-card.light-theme .college-price,
.college-card.light-theme .college-card-footer {
    display: none;
}

/* Responsive adjustments for compact cards */
@media (min-width: 1200px) {
    .college-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .college-info-item:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .college-info-item:nth-child(4) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .college-info-grid {
        gap: 0.625rem;
        padding: 0.875rem 1rem;
    }
    
    .college-info-value {
        font-size: 0.75rem;
    }
    
    .college-benefits-tags {
        padding: 0.625rem 1rem;
    }
    
    .college-benefit-tag {
        font-size: 0.625rem;
        padding: 0.1875rem 0.5rem;
    }
    
    .college-card-bottom {
        padding: 0.875rem 1rem;
    }
    
    .college-price-compact .college-price-value {
        font-size: 1.25rem;
    }
    
    .college-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .colleges-catalog-hero .section-heading-colleges {
        margin: 1rem 2rem !important;
        font-size: 1.3rem;
    }

    .colleges-catalog-hero .paragraph-section {
        margin: 1rem 1rem !important;
        font-size: 1rem;
    }

    .college-price-compact {
        display: flex;
    }

    .college-info-grid {
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }
    
    .college-info-item {
        gap: 0.5rem;
    }
    
    .college-info-item svg {
        width: 14px;
        height: 14px;
    }
    
    .college-info-label {
        font-size: 0.8rem;
    }
    
    .college-info-value {
        font-size: 0.9rem;
        line-height: 3;
    }
    
    .college-benefits-tags {
        padding: 0.5rem 1rem;
        gap: 0.25rem;
    }
    
    .college-benefit-tag {
        font-size: 0.9rem;
        padding: 0.1875rem 0.5rem;
    }
    
    .college-card-bottom {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }
    
    .college-price-compact .college-price-value {
        font-size: 1.25rem;
    }
    
    .college-price-compact .college-price-label {
        font-size: 0.6875rem;
    }
    
    .college-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        flex: 1;
        max-width: 140px;
    }
    
    .college-card.light-theme .college-card-header {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .college-info-grid {
        padding: 0.625rem 0.875rem;
    }
    
    .college-benefits-tags {
        padding: 0.5rem 0.875rem;
    }
    
    .college-card-bottom {
        padding: 0.625rem 0.875rem;
    }
    
    .college-card.light-theme .college-card-header {
        height: 120px;
        padding: 0.875rem;
    }
}

/* ===========================================
   SINGLE COLLEGE PAGE STYLES
   Glassmorphism 2025 - Site Standards
   =========================================== */

/* Page Container */
.niche-college-page {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 100vh;
}

/* Updated Niche-like hero + layout (shortcode refresh) */
.niche-college-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Niche hero CTA buttons (isolated from global .hero-cta-*) */
.niche-hero-cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.niche-hero-cta-primary .wp-block-button__link {
    background: var(--gradient-gold);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.3);
    color: #1a1a1a;
    padding: 1rem 2rem;
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.niche-hero-cta-primary .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.niche-hero-cta-primary .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 215, 0, 0.5) !important;
}

.niche-hero-cta-primary .wp-block-button__link:hover::before {
    left: 100%;
}

.niche-hero-cta-primary .wp-block-button__link:hover::after {
    transform: translate(4px, -4px);
}

.niche-hero-cta-secondary .wp-block-button__link {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a1a1a !important;
    padding: 1rem 2rem !important;
    font-size: clamp(0.9375rem, 1.2vw, 1rem) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-sm);
}

.niche-hero-cta-secondary .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

@media (min-width: 1200px) {
    .niche-hero-cta-container {
        gap: 1rem;
        margin-top: 0.25rem;
        align-items: baseline;
    }

    .niche-hero-cta-primary .wp-block-button__link,
    .niche-hero-cta-secondary .wp-block-button__link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .niche-hero-cta-container {
        gap: 0.875rem;
        margin-top: 0.25rem;
    }

    .niche-hero-cta-primary .wp-block-button__link,
    .niche-hero-cta-secondary .wp-block-button__link {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 767px) {
    .niche-hero-cta-container {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.25rem;
        justify-content: center;
        align-items: center;
    }

    .niche-hero-cta-primary .wp-block-button__link,
    .niche-hero-cta-secondary .wp-block-button__link {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
        justify-content: center;
    }
}

.niche-college-hero-media {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 340px;
    overflow: hidden;
    background: #1a1a2e;
}

.niche-college-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.niche-college-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    color: var(--text-muted);
}

.niche-college-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.10) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.niche-college-hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 1.5rem);
    color: var(--text-light);
}

.niche-college-hero-inner .type-badge {
    background: rgba(255, 255, 255, 0.92);
}

.niche-breadcrumbs {
    font-size: 0.875rem;
    margin-bottom: 10px;
    opacity: 0.95;
}

.niche-breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}

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

.niche-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.8;
}

.niche-college-hero-inner .niche-college-title {
    color: var(--text-light);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.25rem 0 0.5rem;
}

.niche-college-hero-inner .niche-college-meta {
    color: rgba(255, 255, 255, 0.92);
}

.niche-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.niche-ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-light);
    text-decoration: none;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition-base);
}

.niche-ghost-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}

.niche-summary-strip {
    max-width: 1340px;
    margin: -22px auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 2;
}

.niche-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.niche-summary-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    padding: 16px 16px 14px;
}

.niche-summary-card .summary-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.niche-summary-card .summary-value {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.niche-summary-card .summary-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* .niche-section-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
} */

.niche-section-nav {
    max-width: 1340px;
    margin: 0 auto;
    padding: 10px clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
}

.niche-section-link {
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
    padding: 8px 10px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.niche-section-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.niche-college-layout {
    max-width: 1340px;
    margin: 0 auto;
    padding: 26px clamp(1rem, 3vw, 2rem) 50px;
    display: flex;
    gap: 22px;
}

.niche-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.niche-college-aside {
    position: sticky;
    top: 74px;
    align-self: start;
}

.niche-side-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
    padding: 18px;
}

.niche-side-title {
    margin: 0 0 12px;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    color: var(--text-dark);
}

.niche-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.niche-side-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.niche-side-list li:last-child {
    border-bottom: none;
}

.niche-side-list span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.niche-side-list strong {
    color: var(--text-dark);
    font-weight: 700;
    text-align: right;
}

.niche-side-cta {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
}

.niche-side-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
}

.niche-side-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .niche-summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .niche-college-aside {
        position: static;
        order: 2;
    }
}

@media (max-width: 480px) {
    .niche-summary-cards {
        grid-template-columns: 1fr;
    }
}

/* Hero Image Section */
.niche-hero-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
}

.niche-hero-image .college-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.college-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
}

.college-hero-placeholder svg {
    color: rgba(255, 255, 255, 0.7);
}

.niche-hero-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
}

.type-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* College Header */
.niche-college-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1340px;
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3vw, 2rem);
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.niche-header-content {
    flex: 1;
}

.niche-college-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0 0 0.625rem 0;
}

.niche-college-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.niche-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.niche-meta-item svg {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    flex-shrink: 0;
}

.niche-meta-item.niche-price {
    color: var(--primary-color);
    font-weight: 600;
}

.niche-meta-item.niche-price svg {
    color: var(--primary-color);
}

.niche-header-actions {
    flex-shrink: 0;
}

.niche-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

.niche-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.35);
    color: #ffffff;
}

.niche-cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.niche-cta-button:hover svg {
    transform: translateX(3px);
}

/* Content Layout - Sidebar Left */
.niche-content-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    max-width: 1340px;
    margin: 0 auto;
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
}

/* Hide empty paragraphs created by wpautop */
.niche-content-layout > p:empty,
.niche-content-layout > p:not(:has(*)):not(:empty) {
    display: none !important;
}

/* Explicit grid positioning */
.niche-content-layout > .niche-sidebar {
    grid-column: 1;
    grid-row: 1;
}

.niche-content-layout > .niche-main-content {
    grid-column: 2;
    grid-row: 1;
}

/* Left Sidebar Navigation */
.niche-sidebar {
    position: relative;
}

.niche-sidebar-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.niche-nav-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.niche-nav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.niche-nav-item:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.03);
}

.niche-nav-item:hover svg {
    opacity: 1;
}

.niche-nav-item.active {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    font-weight: 600;
    border-color: rgba(0, 102, 204, 0.15);
}

.niche-nav-item.active svg {
    opacity: 1;
    color: var(--primary-color);
}

/* Main Content */
.niche-main-content {
    min-width: 0;
}

.niche-section {
    margin-bottom: 1.25rem;
}

/* Cards - Glassmorphism Style */
.niche-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.niche-card:hover {
    box-shadow: var(--shadow-md);
}

/* Card Title */
.niche-card-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.niche-card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Card Content */
.niche-card-content {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

.niche-section--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Info Item with Icon */
.niche-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.5;
    transition: all var(--transition-fast);
}

.niche-info-item:hover {
    border-color: var(--primary-color);
}

.niche-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Tags */
.niche-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.niche-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 102, 204, 0.12);
    transition: all var(--transition-fast);
}

.niche-tag:hover {
    background: rgba(0, 102, 204, 0.12);
}

/* Description */
.niche-description {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-dark);
    line-height: 1.6;
}

.niche-description p {
    margin: 0 0 0.875rem 0;
}

.niche-description p:last-child {
    margin-bottom: 0;
}

/* Cost Single - New Design */
.niche-cost-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
    margin-bottom: 1.25rem;
}

.niche-cost-single .cost-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.niche-cost-single .cost-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.niche-cost-single .cost-note {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Info List - Cost Details */
.niche-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.niche-info-list .niche-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.niche-info-list .niche-info-row:last-child {
    border-bottom: none;
}

.niche-info-list .info-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.niche-info-list .info-value {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.badge-success {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Programs List - New Design */
.niche-programs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.niche-program-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-fast);
}

.niche-program-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.02);
}

.niche-program-item .program-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.niche-program-item .program-icon svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.niche-program-item .program-info {
    flex: 1;
    min-width: 0;
}

.niche-program-item .program-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.niche-program-item .program-value {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 500;
}

/* Resources List - New Design */
.niche-resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.niche-resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-fast);
}

.niche-resource-item:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.niche-resource-item .resource-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.niche-resource-item .resource-info {
    flex: 1;
    min-width: 0;
}

.niche-resource-item .resource-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.niche-resource-item .resource-value {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 500;
}

/* Accent Card - Benefits */
.niche-card-accent {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border-color: rgba(234, 179, 8, 0.2);
    padding: 1.5rem;
}

.niche-card-accent .niche-card-title {
    color: #92400e;
    margin-bottom: 0.875rem;
}

.niche-card-accent .niche-card-title svg {
    color: #f59e0b;
}

.niche-benefits-text {
    color: #78350f;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.niche-benefits-text h2,
.niche-benefits-text h3 {
    color: #92400e;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.niche-benefits-text h2 {
    font-size: 1rem;
    font-weight: 700;
}

.niche-benefits-text h3 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.niche-benefits-text p {
    margin: 0 0 0.75rem 0;
}

.niche-benefits-text p:last-child {
    margin-bottom: 0;
}

/* Similar Colleges - New Design */
.niche-similar-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.niche-similar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.niche-similar-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.02);
}

.niche-similar-item .similar-thumb {
    width: 72px;
    height: 54px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}

.niche-similar-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.02);
}

.niche-similar-item .similar-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.niche-similar-item .similar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.niche-similar-item .similar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.niche-similar-item .similar-placeholder svg {
    width: 24px;
    height: 24px;
    color: rgba(99, 102, 241, 0.5);
}

.niche-similar-item .similar-info {
    flex: 1;
    min-width: 0;
}

.niche-similar-item .similar-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.niche-similar-item .similar-location {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.niche-similar-item .similar-price {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.niche-similar-item .similar-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
    opacity: 0;
    transition: all var(--transition-fast);
}

.niche-similar-item:hover .similar-arrow {
    opacity: 1;
    color: var(--primary-color);
}

.no-similar {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9375rem;
    padding: 1.5rem;
}

.niche-view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.niche-view-all-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.niche-view-all-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.niche-view-all-link:hover svg {
    transform: translateX(3px);
}

/* CTA Section */
.niche-cta-section {
    margin-top: 1rem;
}

.niche-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.25);
    border: none;
}

.niche-cta-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.niche-cta-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}

.niche-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.niche-cta-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.niche-cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.niche-cta-btn:hover svg {
    transform: translateX(3px);
}

/* ===========================================
   SINGLE COLLEGE PAGE - RESPONSIVE
   =========================================== */

/* Large Desktop (4K) */
@media (min-width: 2560px) {
    .niche-content-layout {
        grid-template-columns: 280px 1fr;
        gap: 3.5rem;
    }
    
    .niche-hero-image {
        height: 500px;
    }
    
    .niche-card {
        padding: 3.5rem;
    }
    
    .niche-card-title {
        font-size: 1.75rem;
    }
    
    .niche-nav-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .niche-sidebar-cta {
        padding: 1.75rem;
    }
}

/* Desktop FullHD */
@media (min-width: 1920px) and (max-width: 2559px) {
    .niche-content-layout {
        grid-template-columns: 260px 1fr;
        gap: 3rem;
    }
    
    .niche-card {
        padding: 3rem;
    }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1919px) {
    .niche-content-layout {
        grid-template-columns: 240px 1fr;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .niche-content-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .niche-sidebar {
        display: none;
    }
    
    .niche-college-header {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
    }
    
    .niche-header-actions {
        width: 100%;
    }
    
    .niche-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .niche-card {
        padding: 1.75rem;
    }
    
    .niche-cost-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .niche-hero-image {
        height: 200px;
    }
    
    .niche-hero-overlay {
        bottom: 0.75rem;
        left: 0.75rem;
    }
    
    .type-badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.625rem;
    }
    
    .niche-college-title {
        font-size: 1.375rem;
    }
    
    .niche-college-meta {
        gap: 0.875rem;
    }
    
    .niche-meta-item {
        font-size: 0.8125rem;
    }
    
    .niche-content-layout {
        padding: 1rem;
    }
    
    .niche-card {
        padding: 1.25rem;
    }
    
    .niche-card-title {
        font-size: 1rem;
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }
    
    .niche-card-title svg {
        width: 18px;
        height: 18px;
    }
    
    .niche-program-item .program-icon {
        width: 32px;
        height: 32px;
    }
    
    .niche-program-item .program-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .niche-resource-item .resource-number {
        width: 24px;
        height: 24px;
        font-size: 0.6875rem;
    }
    
    .niche-similar-item {
        padding: 0.75rem;
    }
    
    .niche-similar-item .similar-thumb {
        width: 60px;
        height: 45px;
    }
    
    .niche-similar-item .similar-title {
        font-size: 0.875rem;
    }
    
    .niche-cta-card {
        padding: 1.75rem 1.5rem;
    }
    
    .niche-cta-card h3 {
        font-size: var(--wp--preset--font-size--medium);
    }
    
    .niche-cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .niche-hero-image {
        height: 180px;
    }
    
    .niche-college-header {
        padding: 1.25rem 1rem;
    }
    
    .niche-college-title {
        font-size: 1.25rem;
    }
    
    .niche-card {
        padding: 1.25rem;
    }
    
    .niche-card-title {
        font-size: 1rem;
    }
    
    .niche-info-item {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .niche-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .niche-view-all-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* =========================================
   THANK YOU PAGE STYLES
   ========================================= */

/* Hero Section with Background */
.thank-you-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.thank-you-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/themes/F-one/assets/images/thank_you.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.thank-you-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

/* Glass Card */
.thank-you-card {
    position: relative;
    z-index: 10;
    max-width: 520px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 -20px 40px -20px rgba(255, 255, 255, 0.05) inset;
    animation: cardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animated Checkmark */
.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.75rem;
    position: relative;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 20px rgba(34, 197, 94, 0.4));
}

.thank-you-icon .checkmark-circle {
    stroke: #22c55e;
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawCircle 0.8s ease-out 0.3s forwards;
}

.thank-you-icon .checkmark-check {
    stroke: #22c55e;
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.5s ease-out 0.9s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Typography */
.thank-you-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.thank-you-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Info Details */
.thank-you-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-detail-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    text-align: left;
}

.thank-you-detail-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #22c55e;
}

/* Buttons */
.thank-you-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.thank-you-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.thank-you-btn-primary {
    background: linear-gradient(135deg, #0066CC 0%, #0052a3 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.thank-you-btn-primary:hover {
    background: linear-gradient(135deg, #0077ED 0%, #0066CC 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
    color: #ffffff;
}

.thank-you-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.thank-you-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

.thank-you-btn svg {
    width: 18px;
    height: 18px;
}

/* Confetti Animation */
.thank-you-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .thank-you-hero {
        padding: 1.5rem;
        min-height: 100svh;
    }
    
    .thank-you-card {
        padding: 2.5rem 1.75rem;
        border-radius: 24px;
    }
    
    .thank-you-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-title {
        font-size: 1.625rem;
    }
    
    .thank-you-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-details {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-detail-item {
        font-size: 0.875rem;
    }
    
    .thank-you-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

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

        .filters-modal-count {
        font-size: 0.8125rem;
        padding: 0.375rem 0.625rem;
        gap: 0.25rem;
    }
    
    .filters-modal-count span {
        font-size: 1rem;
    }
    
    .filters-modal-count svg {
        width: 14px;
        height: 14px;
    }

    .thank-you-hero {
        padding: 1rem;
    }
    
    .thank-you-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
    
    .thank-you-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .thank-you-title {
        font-size: 1.375rem;
    }
    
    .thank-you-subtitle {
        font-size: 0.9375rem;
    }
    
    .thank-you-buttons {
        gap: 0.75rem;
    }
    
    .thank-you-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 12px;
    }
}
/* ===== Housing Price Card (Жилье - блок стоимости) ===== */
.housing-price-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: var(--radius-2xl) !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.housing-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.housing-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}

/* Header */
.housing-price-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.housing-price-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.housing-price-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.housing-price-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
}

/* Content */
.housing-price-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Price Item */
.housing-price-item {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.housing-price-item:hover {
    background: white;
    border-color: rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

/* Featured Item (месяц) */
.housing-price-item--featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 2px solid rgba(99, 102, 241, 0.25);
    padding: 1.5rem;
}

.housing-price-item--featured:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

/* Badge */
.housing-price-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
}

/* Period */
.housing-price-period {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Amount */
.housing-price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.housing-price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.housing-price-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.housing-price-item--featured .housing-price-value {
    color: #6366f1;
}

/* Save Label */
.housing-price-save {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.housing-price-save::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #d1fae5;
    border-radius: 50%;
    font-size: 0.75rem;
    color: #059669;
    font-weight: bold;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
    .housing-price-card {
        padding: 1.75rem !important;
    }

    .housing-price-icon {
        width: 44px;
        height: 44px;
    }

    .housing-price-icon svg {
        width: 22px;
        height: 22px;
    }

    .housing-price-title {
        font-size: 1.0625rem !important;
    }

    .housing-price-currency {
        font-size: 1.375rem;
    }

    .housing-price-value {
        font-size: 2rem;
    }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
    .housing-price-card {
        padding: 1.5rem !important;
        border-radius: var(--radius-xl) !important;
    }

    .housing-price-header {
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .housing-price-icon {
        width: 40px;
        height: 40px;
    }

    .housing-price-icon svg {
        width: 20px;
        height: 20px;
    }

    .housing-price-title {
        font-size: 1rem !important;
    }

    .housing-price-item,
    .housing-price-item--featured {
        padding: 1.125rem;
    }

    .housing-price-badge {
        font-size: 0.625rem;
        padding: 0.3rem 0.75rem;
        top: -0.4rem;
        right: 0.75rem;
    }

    .housing-price-currency {
        font-size: 1.25rem;
    }

    .housing-price-value {
        font-size: 1.875rem;
    }

    .housing-price-period {
        font-size: 0.75rem;
    }

    .housing-price-save {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .housing-price-card {
        padding: 1.25rem !important;
    }

    .housing-price-currency {
        font-size: 1.125rem;
    }

    .housing-price-value {
        font-size: 1.75rem;
    }
}

.section-questions li {
    color: var(--text-light)!important;
}

/* PDF embed — privacy policy / public offer (loaded via misc on all pages) */
.legal-doc-page .section-heading,
.legal-doc-page .section-subtitle {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-embed-wrapper {
    width: 100%;
    max-width: min(1200px, calc(100vw - 2rem));
    margin: 2rem auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.pdf-embed-wrapper .pdf-embed-frame {
    width: 100%;
    height: 80vh;
    min-height: 640px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .pdf-embed-wrapper {
        margin-top: 1.25rem;
        border-radius: 16px;
        max-width: calc(100vw - 1.5rem);
    }

    .pdf-embed-wrapper .pdf-embed-frame {
        height: 70vh;
        min-height: 480px;
    }
}
