/*
Theme Name: Software Directory
Theme URI: https://example.com
Description: Minimalistic theme for Software Directory with SEO and Schema markup
Version: 1.0.0
Author: Your Name
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: software-directory
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004499;
    --light-blue: #e6f2ff;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #ddd;
    --type-color: #0066cc;
    --city-color: #dc3545;
    --metro-color: #28a745;
    --program-color: #6f42c1;
    --ranking-color: #fd7e14;
    --hover-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100% !important;
    max-width: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100% !important;
    max-width: none !important;
}

::selection {
    background: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background: var(--primary-blue);
    color: white;
}

.site-header {
    background: white;
    color: #1a1a1a;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    max-height: 60px;
}

.site-branding .custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.site-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.site-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.main-navigation a:hover {
    border-bottom-color: var(--primary-blue);
    opacity: 0.9;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: none;
    }
    
    .main-navigation a:hover {
        background: #f8f9fa;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
    
    .site-header .container {
        min-height: 60px;
    }
    
    .site-branding .custom-logo-link {
        max-height: 50px;
    }
    
    .site-branding .custom-logo {
        max-height: 50px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .main-navigation {
        top: 60px;
    }
}

.hero-section {
    position: relative;
    background: #1a1a1a;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 500px;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.3);
}

.hero-gradient-overlay {
    background: linear-gradient(to right, 
        rgba(26, 26, 26, 1) 0%, 
        rgba(26, 26, 26, 0.95) 30%, 
        rgba(26, 26, 26, 0.7) 50%, 
        rgba(26, 26, 26, 0.3) 70%, 
        rgba(26, 26, 26, 0) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.hero-title {
    margin: 0 0 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subheading {
    font-size: 1.2rem;
    margin: 0 0 3rem;
    max-width: 650px;
    line-height: 1.6;
    opacity: 0.9;
    word-wrap: break-word;
}

.search-box-wrapper {
    max-width: 650px;
    background: rgba(0,102,204,0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
}

.search-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
}

.search-form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-search-form {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-button-orange {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.search-button-orange:hover {
    background: #e85a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.4);
}

.view-all-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 0.75rem;
    opacity: 0.9;
}

.container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.content-area {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.sidebar-left {
    width: 340px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.filters-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 2px solid #e8edf2;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.filter-group {
    background: #f8f9fa;
    border: 2px solid #e8edf2;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.filter-toggle {
    width: 100%;
    background: white;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid #e8edf2;
}

.filter-toggle:hover {
    background: #f8f9fa;
}

.filter-toggle.active {
    background: #f8f9fa;
}

.filter-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
}

.filter-arrow {
    transition: transform 0.3s ease;
    color: #666;
}

.filter-toggle.active .filter-arrow {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.filter-content.active {
    max-height: 1000px;
    padding: 0.75rem 0;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.filter-option:hover {
    background: #f8f9fa;
    border-left-color: var(--primary-blue);
    padding-left: 1.75rem;
}

.option-name {
    font-size: 0.95rem;
}

.option-count {
    background: #e8edf2;
    color: #666;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.filter-box {
    background: white;
    padding: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.filter-box h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-box input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.stats-banner {
    background: #f5f5f5;
    padding: 1rem 0;
}

.stats-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-check {
    color: #ff6b35;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.stat-text {
    font-size: 0.95rem;
    color: #666;
}

.site-main {
    padding: 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.section-header-content {
    max-width: 800px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.section-icon {
    color: var(--primary-blue);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    right: 10%;
    z-index: 0;
}

.city-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 5rem;
}

.city-box {
    background: white;
    border-radius: 8px;
    border: 2px solid #e8edf2;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.city-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.12);
}

.city-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #f0f4f8;
}

.city-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.city-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.city-count {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* Homepage Software Filters */
.homepage-filters {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-weight: 700;
    font-size: 0.8rem;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
    display: block;
}

.filter-select {
    padding: 1.1rem 3rem 1.1rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
    background-color: white;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L8 8L15 1" stroke="%230066cc" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-select:hover {
    border-color: var(--primary-blue);
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.15);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
    background-color: white;
    transform: translateY(-1px);
}

.filter-select option {
    padding: 1rem;
    font-size: 1rem;
    color: #212529;
    background-color: white;
}

/* Homepage Software Grid */
.homepage-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.homepage-software-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.homepage-software-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

.homepage-software-card .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.homepage-software-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.homepage-software-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.homepage-software-card .card-content {
    padding: 1.5rem;
}

.homepage-software-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.homepage-software-card .card-excerpt {
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-software-card .card-divider {
    height: 1px;
    background: linear-gradient(to right, #e9ecef 0%, rgba(233, 236, 239, 0) 100%);
    margin: 1rem 0;
}

.homepage-software-card .card-taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.homepage-software-card .tax-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.homepage-software-card .cat-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.homepage-software-card .cat-badge:hover {
    background: rgba(0, 102, 204, 0.2);
    border-color: var(--primary-blue);
}

.homepage-software-card .type-badge {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.homepage-software-card .type-badge:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

/* Archive Software Grid Styles */
.software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.software-grid-two-column {
    grid-template-columns: repeat(2, 1fr);
}

.software-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.software-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

.software-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.software-card-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.software-card-image .software-placeholder {
    text-decoration: none;
    color: #adb5bd;
}

.software-card-image .software-placeholder svg {
    width: 60px;
    height: 60px;
}

.software-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.software-card-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.software-card-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.software-card-content h2 a:hover {
    color: var(--primary-blue);
}

.software-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.software-meta .taxonomy-link {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.software-meta .taxonomy-software_category {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.software-meta .taxonomy-software_category:hover {
    background: rgba(0, 102, 204, 0.2);
    border-color: var(--primary-blue);
}

.software-meta .taxonomy-software_type {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.software-meta .taxonomy-software_type:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

.software-excerpt {
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.software-card-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.btn-view-details:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateX(4px);
}

.btn-view-details svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-view-details:hover svg {
    transform: translateX(4px);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .software-grid,
    .software-grid-two-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .software-grid,
    .software-grid-two-column {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .software-card-content {
        padding: 1.5rem;
    }
    
    .software-card-content h2 {
        font-size: 1.25rem;
    }
    
    .software-card-image {
        height: 200px;
    }
}

/* Single Software Hero Section */
.software-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #dee2e6;
}

.software-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    color: #6c757d;
}

.software-breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.software-breadcrumb a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.software-breadcrumb svg {
    width: 12px;
    height: 12px;
    color: #adb5bd;
}

.software-breadcrumb span {
    color: #212529;
    font-weight: 500;
}

.software-hero-content {
    max-width: 800px;
}

.software-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.software-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 4px;
    border: 1px solid #dee2e6;
}

.software-title-row h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.2;
}

.verified-badge {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(29, 161, 242, 0.3));
}

.software-short-description {
    font-size: 1.125rem;
    color: #495057;
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

.software-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-visit-software,
.btn-pricing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-visit-software {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-visit-software:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
}

.btn-visit-software svg {
    width: 16px;
    height: 16px;
}

.btn-pricing {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-pricing:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.cta-section {
    background: linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(0,68,153,0.08) 100%);
    border: 2px solid rgba(0,102,204,0.15);
    border-radius: 8px;
    padding: 4rem 3rem;
    margin: 5rem 0 3rem;
    text-align: center;
}

.cta-content {
    max-width: 100%;
    margin: 0 auto;
}

.cta-icon {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin: 0 0 2.5rem;
}

.cta-description strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-blue);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,102,204,0.25);
}

.cta-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,102,204,0.35);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

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

.program-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 0 10px;
    width: 100%;
}

.program-mini-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 6px;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 70px;
}

.program-mini-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,102,204,0.15);
    transform: translateY(-2px);
}

.program-mini-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-mini-placeholder {
    color: #ccc;
}

.program-mini-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.program-mini-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

.college-grid {
    display: grid;
    gap: 2rem;
}

.college-grid-two-column {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 992px) {
    .college-grid-two-column {
        grid-template-columns: 1fr;
    }
}

.college-card {
    background: white;
    padding: 0;
    border: 2px solid #e8edf2;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.college-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0,102,204,0.12);
    transform: translateY(-4px);
}

.college-card-image {
    width: 100%;
    flex-shrink: 0;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 220px;
    position: relative;
}

.college-card-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.college-card-image .college-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.college-card:hover .college-thumbnail {
    transform: scale(1.05);
}

.college-card-image .college-placeholder {
    color: #ccc;
    text-decoration: none;
}

.college-card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.college-card h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.college-card h2 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.college-card:hover h2 a {
    color: var(--dark-blue);
}

.college-meta {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.college-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.college-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.college-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.college-stats .stat-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.college-stats .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.college-card-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.college-card-actions {
    width: 100%;
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: #e85a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.btn-view-details svg {
    transition: transform 0.3s ease;
}

.btn-view-details:hover svg {
    transform: translateX(3px);
}

.program-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.program-card {
    background: white;
    padding: 0;
    border: 2px solid #e8edf2;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 0;
}

.program-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0,102,204,0.12);
    transform: translateY(-2px);
}

.program-card-image {
    width: 280px;
    flex-shrink: 0;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.program-card-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 6px;
}

.program-card-image .program-placeholder {
    color: #ccc;
    text-decoration: none;
}

.program-card-content {
    flex: 1;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-card h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.program-card h2 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-card:hover h2 a {
    color: var(--dark-blue);
}

.program-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.program-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: auto;
}

.program-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.program-stats .stat-text {
    font-weight: 500;
}

.btn-view-colleges {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-colleges:hover {
    background: #e85a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.btn-view-colleges svg {
    transition: transform 0.3s ease;
}

.btn-view-colleges:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .program-card {
        flex-direction: column;
    }
    
    .program-card-image {
        width: 100%;
        height: 200px;
        padding: 1rem;
    }
    
    .program-card-content {
        padding: 1.5rem;
    }
    
    .program-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-view-colleges {
        width: 100%;
        justify-content: center;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.15);
}

.pagination .page-numbers.current {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    pointer-events: none;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
    min-width: auto;
    padding: 0.5rem;
}

.pagination .prev,
.pagination .next {
    font-weight: 600;
}

@media (max-width: 480px) {
    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .pagination {
        gap: 0.35rem;
    }
}

.single-college-layout {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.college-content {
    flex: 1;
}

.college-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.profile-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.profile-header {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.profile-header h1 {
    margin: 0;
    font-size: 1.3rem;
}

.profile-body {
    padding: 1.5rem;
}

.profile-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.profile-item strong {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.profile-item .value {
    color: #333;
    font-size: 1rem;
}

.profile-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.tcd-box {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.tcd-box h2,
.tcd-box h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.1rem;
}

.tcd-box h4 {
    color: var(--gray);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.tcd-box small {
    font-weight: normal;
    font-size: 0.85rem;
    margin-left: 1rem;
}

.tcd-box small a {
    color: var(--primary-blue);
    text-decoration: none;
}

.tcd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
}

.tcd-grid > div {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.tcd-grid > div:last-child {
    border-bottom: none;
}

.tcd-grid strong {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.tcd-grid a {
    color: var(--primary-blue);
    text-decoration: none;
}

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

.tcd-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.tcd-list a {
    color: var(--primary-blue);
    text-decoration: none;
}

.tcd-two-col {
    columns: 2;
    column-gap: 2rem;
}

.tcd-overview {
    background: var(--light-blue);
    border-left: 3px solid var(--primary-blue);
}

.tcd-about {
    background: #f0fff4;
    border-left: 3px solid #46b450;
}

.site-footer {
    background: #333;
    color: white;
    margin-top: 3rem;
    padding: 0;
    width: 100%;
}

.footer-widgets {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #555;
    width: 100%;
}

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

.footer-column {
    text-align: left;
}

.footer-widget-title {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.footer-widget {
    margin-bottom: 1.5rem;
}

.footer-widget ul,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li,
.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-widget a,
.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover,
.footer-menu a:hover {
    color: white;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.college-content .tcd-box {
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
    border-radius: 4px !important;
    padding: 1.5rem !important;
    background: white !important;
}

.college-content .tcd-box h2,
.college-content .tcd-box h3 {
    border-bottom: 1px solid var(--light-gray) !important;
    color: var(--primary-blue) !important;
    padding-bottom: 0.75rem !important;
}

.college-content .tcd-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 0 !important;
}

.college-content .tcd-grid > div {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--light-gray) !important;
    background: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
}

.college-content .section,
.section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
}

.college-content .section h2,
.section h2 {
    margin: 0 0 20px 0;
    padding: 12px 20px;
    background: var(--primary-blue);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    border-radius: 6px;
}

.college-content .section h3,
.section h3 {
    margin: 20px 0 15px 0;
    padding: 8px 15px;
    background: var(--light-blue);
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
}

.college-content .stats,
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.college-content .stat,
.stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 5px;
}

.college-content .stat strong,
.stat strong {
    color: #333;
    font-size: 14px;
}

.college-content .stat span,
.stat span {
    color: #555;
    font-size: 14px;
    text-align: right;
}

.college-content .view-more,
.section .view-more {
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.college-content .view-more:hover,
.section .view-more:hover {
    text-decoration: underline;
}

.college-content .section table,
.section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.college-content .section th,
.section th {
    background: var(--primary-blue);
    color: #fff;
    padding: 14px;
    text-align: left;
    font-weight: 600;
}

.college-content .section td,
.section td {
    padding: 14px;
    border-bottom: 1px solid #eee;
}

.college-content .section tr:last-child td,
.section tr:last-child td {
    border-bottom: none;
}

.college-content .section tr:hover,
.section tr:hover {
    background: #f9f9f9;
}

.college-content .section a,
.section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.college-content .section a:hover,
.section a:hover {
    text-decoration: underline;
}

.college-content .photo-grid a,
.photo-grid a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s;
}

.college-content .photo-grid a:hover,
.photo-grid a:hover {
    transform: scale(1.03);
}

.college-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.college-content > div[style*="margin-bottom"] img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.college-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.college-content ul,
.college-content ol {
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.college-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid-banner {
        gap: 1.5rem;
    }
    
    .city-boxes {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .content-area,
    .single-college-layout {
        flex-direction: column;
    }
    
    .sidebar-left,
    .college-sidebar {
        width: 100%;
    }
    
    .hero-section {
        padding: 3rem 0 2.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subheading {
        font-size: 1.05rem;
        margin: 0 0 2rem;
    }
    
    .search-box-wrapper {
        padding: 1.5rem;
    }
    
    .search-form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-box input[type="search"] {
        padding: 1.2rem 1.2rem 1.2rem 3rem;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .type-tabs {
        gap: 0.5rem;
    }
    
    .type-tab-button {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .stats-banner {
        padding: 3rem 0;
    }
    
    .stats-grid-banner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-box-banner {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .section-icon {
        display: none;
    }
    
    .city-boxes {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }
    
    .city-image {
        height: 140px;
    }
    
    .city-name {
        font-size: 1.15rem;
    }
    
    .city-content {
        padding: 1.25rem;
    }
    
    .college-card {
        flex-direction: column;
    }
    
    .college-card-image {
        width: 100%;
        height: 200px;
    }
    
    .taxonomy-hero-section {
        padding: 3rem 0;
        min-height: 220px;
    }
    
    .taxonomy-hero-title {
        font-size: 2rem;
    }
    
    .sidebar-left {
        margin-bottom: 2rem;
    }
    
    .filters-header {
        padding: 1.25rem;
    }
    
    .filters-header h3 {
        font-size: 1.15rem;
    }
    
    .filter-toggle {
        padding: 1rem 1.25rem;
    }
    
    .filter-title {
        font-size: 1rem;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .cta-section {
        padding: 3rem 2rem;
        margin: 3rem 0 1.5rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-icon {
        width: 48px;
        height: 48px;
    }
    
    .program-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 2rem 0;
    }
    
    .program-mini-card {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        min-height: 60px;
    }
    
    .program-mini-image {
        width: 40px;
        height: 40px;
    }
    
    .program-mini-name {
        font-size: 0.75rem;
    }
    
    .tcd-two-col {
        columns: 1;
    }
    
    .profile-card {
        position: static;
    }
    
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr !important;
    }
    
    .stat {
        grid-template-columns: 1fr !important;
    }
    
    .stat span {
        text-align: left !important;
    }
    
    .photo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .view-more {
        position: static !important;
        display: block !important;
        margin-top: 15px !important;
    }
    
    .section {
        padding: 20px;
    }
    
    .section h2 {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .section table {
        font-size: 13px;
    }
    
    .section th,
    .section td {
        padding: 10px;
    }
    
    .homepage-filters {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.75rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .college-card-image {
        height: 180px;
    }
    
    .college-card-content {
        padding: 1.25rem;
    }
    
    .college-card h2 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 2.5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subheading {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
    }
    
    .search-box-wrapper {
        padding: 1.25rem;
    }
    
    .search-label {
        font-size: 1rem;
        margin: 0 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
    
    .search-button span {
        display: none;
    }
    
    .search-button {
        padding: 1rem 1.2rem;
    }
    
    .type-tab-button {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .stats-banner {
        padding: 2.5rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .city-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .search-form-group {
        flex-direction: column;
    }
    
    .search-button-orange {
        width: 100%;
        justify-content: center;
    }
    
    .stats-strip {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .taxonomy-hero-section {
        padding: 2.5rem 0;
        min-height: 200px;
    }
    
    .taxonomy-hero-title {
        font-size: 1.65rem;
    }
    
    .filter-option {
        padding: 0.65rem 1.25rem;
    }
    
    .option-name {
        font-size: 0.9rem;
    }
    
    .college-stats {
        gap: 1rem;
    }
    
    .homepage-filters {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-group label {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .filter-select {
        padding: 1rem 2.5rem 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

.taxonomy-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 102, 204, 0.08);
    font-weight: 500;
    font-size: 0.9em;
    border: 1px solid transparent;
}

.taxonomy-link:hover {
    background: rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,102,204,0.15);
}

.taxonomy-institution_type {
    color: var(--type-color);
    background: rgba(0, 102, 204, 0.08);
    border-color: transparent;
}

.taxonomy-institution_type:hover {
    background: rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.taxonomy-texas_city {
    color: var(--city-color);
    background: rgba(220, 53, 69, 0.08);
    border-color: transparent;
}

.taxonomy-texas_city:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
}

.taxonomy-metro_area {
    color: var(--metro-color);
    background: rgba(40, 167, 69, 0.08);
    border-color: transparent;
}

.taxonomy-metro_area:hover {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

.taxonomy-academic_program {
    color: var(--program-color);
    background: rgba(111, 66, 193, 0.08);
    border-color: transparent;
}

.taxonomy-academic_program:hover {
    background: rgba(111, 66, 193, 0.15);
    border-color: rgba(111, 66, 193, 0.3);
}

.taxonomy-college_ranking {
    color: var(--ranking-color);
    background: rgba(253, 126, 20, 0.08);
    border-color: transparent;
}

.taxonomy-college_ranking:hover {
    background: rgba(253, 126, 20, 0.15);
    border-color: rgba(253, 126, 20, 0.3);
}

.taxonomy-hero-section {
    position: relative;
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 3rem;
    overflow: hidden;
    min-height: 280px;
}

.taxonomy-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
    flex-wrap: wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

.taxonomy-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.taxonomy-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.taxonomy-breadcrumb svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.taxonomy-breadcrumb span {
    opacity: 0.9;
}

.taxonomy-hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.taxonomy-hero-content.has-featured-image .taxonomy-hero-text {
    flex: 0 0 60%;
}

.taxonomy-hero-text {
    flex: 1;
}

.taxonomy-hero-image {
    flex: 0 0 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.taxonomy-hero-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.taxonomy-hero-description {
    margin: 1.5rem 0 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
}

@media (max-width: 992px) {
    .taxonomy-hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .taxonomy-hero-content.has-featured-image .taxonomy-hero-text,
    .taxonomy-hero-image {
        flex: 1 1 100%;
    }
    
    .taxonomy-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .taxonomy-hero-section {
        padding: 3rem 0 2.5rem;
        min-height: 240px;
    }
    
    .taxonomy-hero-title {
        font-size: 1.75rem;
    }
    
    .taxonomy-breadcrumb {
        font-size: 0.8rem;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .taxonomy-breadcrumb svg {
        width: 10px;
        height: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .single-post-meta {
        gap: 1rem;
    }
    
    .post-meta-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .taxonomy-hero-title {
        font-size: 1.5rem;
    }
    
    .taxonomy-breadcrumb {
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    
    .taxonomy-hero-section {
        padding: 2.5rem 0 2rem;
        min-height: 200px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .blog-card-content {
        padding: 1.25rem;
    }
    
    .blog-card-content h2 {
        font-size: 1.1rem;
    }
    
    .blog-widget,
    .toc-widget {
        border-width: 1px;
    }
    
    .single-post-content {
        border: none;
    }
    
    .single-post-body {
        padding: 0;
    }
    
    .single-post-featured-image {
        max-height: 300px;
    }
    
    .toc-mobile {
        margin-bottom: 1rem;
        padding: 1rem;
        border: none !important;
        background: white;
    }
    
    .toc-mobile .blog-widget-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .toc-mobile .toc-content-collapsible {
        max-height: 150px !important;
    }
    
    .toc-mobile .table-of-contents li {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
    
    .toc-expand-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
}

.college-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

a.hero-meta-item:hover {
    color: #ff6b35;
    transform: translateY(-2px);
}

.hero-meta-item svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

a.hero-meta-item:hover svg {
    opacity: 1;
}

.hero-meta-item span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .college-hero-meta {
        gap: 1rem;
    }
    
    .hero-meta-item {
        font-size: 0.85rem;
    }
    
    .hero-meta-item svg {
        width: 16px;
        height: 16px;
    }
}

.back-link-wrapper {
    margin: 2rem 0 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 0.75rem;
    color: var(--dark-blue);
}

.back-link svg {
    flex-shrink: 0;
}



.taxonomy-term-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.taxonomy-term-box {
    background: white;
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--dark-blue);
}

.taxonomy-term-box:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.taxonomy-term-box .term-name {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.taxonomy-term-box .term-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.blog-grid-two-column {
    grid-template-columns: repeat(2, 1fr);
}

.blog-grid-three-column {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .blog-grid-three-column {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-grid-two-column,
    .blog-grid-three-column {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        gap: 1.25rem;
        margin: 1.5rem 0;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .blog-grid-three-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.blog-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0,102,204,0.1);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f0f4f8;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.blog-date,
.blog-category {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray);
}

.blog-category a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-category a:hover {
    color: var(--dark-blue);
}

.blog-card-content h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-card-content h2 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-content h2 a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

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

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.author-name a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-name a:hover {
    color: var(--primary-blue);
}

.btn-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    color: var(--dark-blue);
    gap: 0.75rem;
}

.blog-content-area {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin: 2rem 0;
    width: 100%;
}

@media (max-width: 992px) {
    .blog-content-area {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .blog-sidebar-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-content-area {
        gap: 0;
        margin: 1.5rem 0;
        grid-template-columns: 1fr;
    }
}

.blog-main-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
}

.blog-sidebar-wrapper {
    align-self: start;
    width: 100%;
}

.blog-widget {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.blog-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f4f8;
}

.blog-widget ul li:last-child {
    border-bottom: none;
}

.blog-widget ul li a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-widget ul li a:hover {
    color: var(--primary-blue);
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    width: 100%;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.post-meta-item svg {
    flex-shrink: 0;
}

.post-meta-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta-item a:hover {
    color: white;
}

.single-post-content {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.single-post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post-body {
    padding: 0;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.single-post-body h1,
.single-post-body h2,
.single-post-body h3,
.single-post-body h4,
.single-post-body h5,
.single-post-body h6 {
    color: var(--dark-blue);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.single-post-body h2 {
    font-size: 1.75rem;
    word-wrap: break-word;
}

.single-post-body h3 {
    font-size: 1.5rem;
    word-wrap: break-word;
}

.single-post-body p {
    margin: 1rem 0;
}

.single-post-body ul,
.single-post-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.single-post-body li {
    margin: 0.5rem 0;
}

.single-post-body a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.single-post-body a:hover {
    color: var(--dark-blue);
}

.single-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
    display: block;
}

.single-post-body blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray);
}

.single-post-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border);
    flex-wrap: wrap;
    margin-top: 2rem;
}

.single-post-tags svg {
    color: var(--gray);
    flex-shrink: 0;
}

.post-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f0f4f8;
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: var(--primary-blue);
    color: white;
}

.author-widget {
    background: linear-gradient(135deg, #f0f4f8 0%, white 100%);
}

.author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.author-box-avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary-blue);
}

.author-box-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.author-box-name a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-box-name a:hover {
    color: var(--primary-blue);
}

.author-box-bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.share-widget {
    background: linear-gradient(135deg, #fff5f2 0%, white 100%);
}

.social-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-twitter {
    background: #1DA1F2;
    color: white;
}

.share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29,161,242,0.3);
}

.share-facebook {
    background: #1877F2;
    color: white;
}

.share-facebook:hover {
    background: #0c63d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,119,242,0.3);
}

.share-linkedin {
    background: #0A66C2;
    color: white;
}

.share-linkedin:hover {
    background: #004c8c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,102,194,0.3);
}

.similar-resources-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--border);
}

.similar-resources-section .section-title {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.author-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.author-hero-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.author-hero-text {
    flex: 1;
}

@media (max-width: 768px) {
    .author-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .single-post-body {
        padding: 1.25rem;
    }
    
    .single-post-body h2 {
        font-size: 1.5rem;
    }
    
    .single-post-body h3 {
        font-size: 1.25rem;
    }
    
    .single-post-tags {
        padding: 1.25rem 0;
    }
}

.post-bottom-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 992px) {
    .post-bottom-sections {
        grid-template-columns: 1fr;
    }
}

.author-widget-horizontal {
    background: linear-gradient(135deg, #f0f4f8 0%, white 100%);
}

.author-box-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-box-content {
    flex: 1;
}

.share-widget-horizontal {
    background: linear-gradient(135deg, #fff5f2 0%, white 100%);
}

.social-share-buttons-horizontal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-widget {
    background: linear-gradient(135deg, #fff9f0 0%, white 100%);
    position: relative;
}

@media (max-width: 768px) {
    .toc-mobile {
        background: white;
    }
}

.toc-mobile {
    display: block;
    margin-bottom: 1.5rem;
}

.toc-sidebar {
    display: none;
}

.toc-content-collapsible {
    max-height: 250px !important;
    overflow: hidden !important;
    position: relative;
    transition: max-height 0.3s ease;
}

.toc-mobile .toc-content-collapsible {
    max-height: 180px !important;
}

.toc-widget.no-expand .toc-content-collapsible {
    max-height: none !important;
    overflow: visible !important;
}

.toc-content-collapsible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff9f0);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .toc-mobile .toc-content-collapsible::after {
        background: linear-gradient(to bottom, transparent, white);
    }
}

.toc-widget.no-expand .toc-content-collapsible::after {
    display: none;
}

.toc-widget.expanded .toc-content-collapsible {
    max-height: 2000px !important;
}

.toc-widget.expanded .toc-content-collapsible::after {
    opacity: 0;
}

.toc-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.625rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toc-expand-btn:hover {
    background: var(--dark-blue);
}

@media (max-width: 768px) {
    .toc-mobile .toc-expand-btn {
        background: transparent;
        color: var(--primary-blue);
        border: 1px solid var(--primary-blue);
    }
    
    .toc-mobile .toc-expand-btn:hover {
        background: rgba(0, 102, 204, 0.05);
        color: var(--dark-blue);
        border-color: var(--dark-blue);
    }
}

.toc-expand-icon {
    transition: transform 0.3s ease;
}

.toc-widget.expanded .toc-expand-icon {
    transform: rotate(180deg);
}

@media (min-width: 769px) {
    .toc-mobile {
        display: none;
    }
    
    .toc-sidebar {
        display: block;
    }
}

/* 404 Error Page */
.error-404-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.error-404-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-404-icon {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.error-404-icon svg {
    width: 120px;
    height: 120px;
    stroke-width: 1.5;
}

.error-404-title {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0 1rem;
    line-height: 1;
}

.error-404-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 1rem;
}

.error-404-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin: 0 0 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-search {
    margin: 3rem auto;
    max-width: 600px;
}

.error-404-search-title {
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}

.error-404-search-form {
    display: flex;
    gap: 0.75rem;
}

.error-404-search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.error-404-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.error-404-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.error-404-search-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.error-404-search-btn svg {
    flex-shrink: 0;
}

.error-404-cities {
    margin: 3rem 0;
}

.error-404-cities-title {
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
}

.error-404-city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.error-404-city-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404-city-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.error-404-city-card svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.error-404-city-card > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.error-404-city-name {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.error-404-city-count {
    font-size: 0.825rem;
    color: var(--gray);
}

.error-404-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.error-404-home-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.error-404-home-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .error-404-page {
        padding: 3rem 0;
    }
    
    .error-404-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .error-404-title {
        font-size: 4rem;
    }
    
    .error-404-subtitle {
        font-size: 1.5rem;
    }
    
    .error-404-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .error-404-search {
        margin: 2rem auto;
    }
    
    .error-404-search-title {
        font-size: 1.1rem;
    }
    
    .error-404-search-form {
        flex-direction: column;
    }
    
    .error-404-search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .error-404-city-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .error-404-cities-title {
        font-size: 1.1rem;
    }
    
    .error-404-home-btn {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .error-404-page {
        padding: 2rem 0;
    }
    
    .error-404-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .error-404-title {
        font-size: 3rem;
    }
    
    .error-404-subtitle {
        font-size: 1.25rem;
    }
    
    .error-404-description {
        font-size: 0.95rem;
    }
    
    .error-404-search-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .error-404-search-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .error-404-city-card {
        padding: 0.875rem 1rem;
    }
    
    .error-404-city-name {
        font-size: 0.9rem;
    }
    
    .error-404-city-count {
        font-size: 0.8rem;
    }
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f4f8;
}

.table-of-contents li:last-child {
    border-bottom: none;
}

.table-of-contents a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding-left: 0;
}

.table-of-contents a:hover {
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

.toc-level-2 {
    font-weight: 600;
}

.toc-level-3 {
    padding-left: 1rem;
    font-size: 0.9rem;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.widget_search .search-submit {
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px;
}

.widget_search .search-submit:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.widget_search .search-submit svg {
    width: 18px;
    height: 18px;
}

.widget_search .screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* Testimonials Section */
.testimonials-section {
    margin: 5rem 0;
    padding: 3rem 0;
    background: #fafbfc;
    border-radius: 8px;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonials-track {
    position: relative;
    min-height: 300px;
    width: 100%;
}

.testimonial-card {
    width: 100%;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    box-sizing: border-box;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-quote-icon {
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: absolute;
    left: -1rem;
    top: -1rem;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.testimonial-avatar-placeholder {
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.testimonial-position {
    font-size: 0.825rem;
    color: var(--gray);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #d1d5db;
    color: #6b7280;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.05);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
    
    .testimonial-quote::before {
        font-size: 2rem;
        left: -0.75rem;
        top: -0.75rem;
    }
    
    .testimonial-nav {
        width: 36px;
        height: 36px;
    }
    
    .testimonial-prev {
        left: 0.5rem;
    }
    
    .testimonial-next {
        right: 0.5rem;
    }
}

/* Ranking Section */
.ranking-section {
    margin: 4rem 0;
}

.ranking-slider-wrapper {
    position: relative;
    margin-top: 2.5rem;
}

.ranking-slider {
    overflow: hidden;
}

.ranking-cards-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: transform 0.4s ease;
}

.ranking-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ranking-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.ranking-card-star {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 0 8px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.ranking-star-yellow {
    background: #fbbf24;
}

.ranking-star-purple {
    background: #a855f7;
}

.ranking-star-blue {
    background: #3b82f6;
}

.ranking-star-green {
    background: #10b981;
}

.ranking-card-star svg {
    position: absolute;
    top: 8px;
    right: 8px;
}

.ranking-card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ranking-card-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.ranking-card-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: var(--primary-blue);
    border-radius: 4px;
}

.ranking-card-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ranking-card-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ranking-card:hover .ranking-card-name {
    color: var(--primary-blue);
}

.ranking-card-subtext {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
}

.ranking-card-rankings {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.ranking-card-rankings-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 0.625rem 0;
}

.ranking-card-rankings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranking-card-rankings-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: #374151;
    margin-bottom: 0.375rem;
    line-height: 1.4;
}

.ranking-card-rankings-list li:last-child {
    margin-bottom: 0;
}

.ranking-card-rankings-list li svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.ranking-card-rankings-list li span {
    flex: 1;
}

.ranking-card-rankings-list .ranking-position {
    color: #22c55e;
    font-weight: 600;
}

.ranking-card-location {
    position: absolute;
    bottom: 1rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 500;
}

.ranking-card-location svg {
    flex-shrink: 0;
}

.ranking-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ranking-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ranking-nav-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.ranking-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ranking-nav-btn svg {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .ranking-cards-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ranking-card {
        padding: 1.25rem 1.25rem 2.25rem 1.25rem;
    }
    
    .ranking-card-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .ranking-cards-track {
        grid-template-columns: 1fr;
    }
    
    .ranking-card-logo {
        width: 80px;
        height: 80px;
    }
    
    .ranking-nav-buttons {
        justify-content: center;
    }
    
    .ranking-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.autocomplete-item:hover {
    background-color: #f9fafb;
}

.autocomplete-item:last-of-type {
    border-bottom: none;
}

.autocomplete-item-content {
    flex: 1;
    min-width: 0;
}

.autocomplete-title {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autocomplete-excerpt {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autocomplete-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 1rem;
    flex-shrink: 0;
    background-color: #f3f4f6;
    color: #6b7280;
}

.autocomplete-item.college .autocomplete-type {
    background-color: #dbeafe;
    color: #1e40af;
}

.autocomplete-item.post .autocomplete-type {
    background-color: #fef3c7;
    color: #92400e;
}

.autocomplete-item.page .autocomplete-type {
    background-color: #e0e7ff;
    color: #4338ca;
}

.autocomplete-item.taxonomy .autocomplete-type {
    background-color: #d1fae5;
    color: #065f46;
}

.autocomplete-item.category .autocomplete-type {
    background-color: #fce7f3;
    color: #9f1239;
}

.autocomplete-view-all {
    display: block;
    padding: 0.875rem 1.25rem;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    border-top: 2px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.2s;
}

.autocomplete-view-all:hover {
    background-color: #f3f4f6;
}

.autocomplete-loading,
.autocomplete-no-results,
.autocomplete-error {
    padding: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.autocomplete-error {
    color: #dc2626;
}

.hero-search-form {
    position: relative;
}



.search-empty-state,
.search-no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-empty-state svg,
.search-no-results svg {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.search-empty-state h2,
.search-no-results h2 {
    font-size: 2rem;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.search-empty-state p,
.search-no-results p {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0.5rem 0;
}

.search-suggestions {
    margin-top: 2rem;
    font-weight: 600;
    color: #374151;
}

.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
    display: inline-block;
}

.suggestion-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.suggestion-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.search-results-wrapper {
    margin: 3rem 0;
}

.search-section {
    margin-bottom: 4rem;
}

.search-section .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.search-section .result-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background-color: #f3f4f6;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-post-image {
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post-item:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.blog-post-title {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
}

.blog-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-title a:hover {
    color: var(--primary-blue);
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.post-category a {
    color: var(--primary-blue);
    text-decoration: none;
}

.blog-post-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.625rem;
}

.taxonomy-list,
.pages-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.taxonomy-item,
.page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.taxonomy-item:hover,
.page-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.taxonomy-content,
.page-content {
    flex: 1;
}

.taxonomy-title,
.page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.taxonomy-excerpt,
.page-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

.taxonomy-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-blue);
    background-color: #dbeafe;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
}

.taxonomy-item svg,
.page-item svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: transform 0.2s;
}

.taxonomy-item:hover svg,
.page-item:hover svg {
    transform: translateX(4px);
}

.search-suggested-section {
    margin: 4rem 0;
}

.view-all-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--primary-blue);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background-color: #1e40af;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-view-all svg {
    transition: transform 0.3s;
}

.btn-view-all:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .blog-post-item {
        flex-direction: column;
    }
    
    .blog-post-image {
        width: 100%;
        height: 200px;
    }
    
    .taxonomy-list,
    .pages-list {
        grid-template-columns: 1fr;
    }
    
    .search-section .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .autocomplete-item {
        padding: 0.875rem 1rem;
    }
    
    .autocomplete-title {
        font-size: 0.9375rem;
    }
    
    .autocomplete-excerpt {
        font-size: 0.8125rem;
    }
}

.suggested-colleges-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.suggested-title {
    font-size: 2rem;
    color: #1f2937;
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.suggested-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin: 0 0 3rem 0;
}

.suggested-colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.suggested-college-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.suggested-college-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.suggested-college-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.suggested-college-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.suggested-college-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.suggested-college-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-blue);
    background-color: #dbeafe;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.suggested-college-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.suggested-college-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.suggested-college-title a:hover {
    color: var(--primary-blue);
}

.suggested-college-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.suggested-college-location svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.suggested-college-tuition {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 1rem 0;
}

.suggested-college-tuition strong {
    color: #1f2937;
}

.suggested-college-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.program-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 4px;
}

.program-tag-more {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    background-color: #e0e7ff;
    color: var(--primary-blue);
    border-radius: 4px;
}

.suggested-colleges-footer {
    text-align: center;
    padding: 2rem 0;
}

.view-all-colleges-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--primary-blue);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.view-all-colleges-btn:hover {
    background-color: #1e40af;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.view-all-colleges-btn svg {
    transition: transform 0.3s;
}

.view-all-colleges-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .suggested-colleges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .suggested-title {
        font-size: 1.5rem;
    }
    
    .suggested-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .suggested-colleges-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .suggested-college-card {
        border-radius: 6px;
    }
    
    .suggested-college-content {
        padding: 1.25rem;
    }
    
    .suggested-college-title {
        font-size: 1.125rem;
    }
    
    .view-all-colleges-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Single Software Page Styles */
.single-software-content {
    max-width: 100%;
    margin: 0;
}

.software-header {
    margin-bottom: 2.5rem;
}

.software-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.software-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.software-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.verified-badge {
    flex-shrink: 0;
    color: #1DA1F2;
}

.software-short-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.software-alternatives {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    background: transparent;
    border-radius: 0;
}

.alternatives-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.alternatives-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.alternative-item {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.software-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-visit-software,
.btn-pricing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-visit-software {
    background: var(--primary-blue);
    color: white;
}

.btn-visit-software:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-pricing {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-pricing:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.software-screenshot {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.software-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.software-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.software-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.software-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.software-content p {
    margin-bottom: 1.25rem;
}

.software-content ul,
.software-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.software-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .software-header h1 {
        font-size: 1.5rem;
    }
    
    .software-icon {
        width: 40px;
        height: 40px;
    }
    
    .software-short-description {
        font-size: 1rem;
    }
    
    .software-actions {
        flex-direction: column;
    }
    
    .btn-visit-software,
    .btn-pricing {
        width: 100%;
        justify-content: center;
    }
    
    .software-content h2 {
        font-size: 1.5rem;
    }
    
    .software-content h3 {
        font-size: 1.25rem;
    }
}
