
/*
Theme Name: Unitek College
Description: A modern WordPress theme for Unitek College, featuring healthcare education programs, campus information, and student resources. Includes custom post types for programs and campuses, responsive design, and accessibility features.
Version: 1.0.0
Author: Debabrata Ghosh
Author URI: https://wordpress.org
Theme URI: 
Text Domain: unitek-college
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news, education, healthcare, college

===================================
TABLE OF CONTENTS
===================================
1. Global Styles & Reset
2. WordPress Core Styles  
3. Global Container Alignment
4. Typography & Buttons
5. Top Bar
6. Header & Navigation
7. Mega Menu
8. Search Overlay
9. News Section
10. Footer
11. Blog Template
12. Single Post Template
13. Related Posts
14. Media Queries (Consolidated)
    - 1729px+ (Extra Large)
    - 1025px-1280px (Desktop)
    - 1200px and below
    - 1024px and below (Tablet)
    - 768px and below (Mobile)
    - 480px and below (Small Mobile)
===================================
*/





/* ===================================
   1. GLOBAL STYLES & RESET
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    font-size: 16px;
}

.wp-block-list{
    padding-left: 20px;
    padding-bottom: 20px;
}
.wp-block-unitek-college-full-width-container p {
    padding-bottom: 20px;
}

.wp-block-unitek-college-full-width-container a {
    color: #4a8f28;
    text-decoration: none;
    
}
.wp-block-unitek-college-full-width-container a:hover {
    color: #074975;
    text-decoration: underline;
}
/* ===================================
   2. WORDPRESS CORE STYLES
   =================================== */
.alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.alignwide {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Additional block support */
.wp-block {
    max-width: 100%;
}

/* ===================================
   3. GLOBAL CONTAINER ALIGNMENT
   =================================== */
.container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    box-sizing: border-box;
}

/* OPTIONAL: ensure header & footer follow the same alignment */
header .container,
footer .container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    box-sizing: border-box;
}

/* Make full-width sections stay aligned inside */
section > .container,
main > .container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    box-sizing: border-box;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1em;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1em;
    margin-bottom: 1em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* WordPress Block Editor Styles */
.wp-block-group {
    margin-bottom: 2em;
}

.wp-block-heading {
    margin-bottom: 1em;
}

.wp-block-paragraph {
    margin-bottom: 1em;
}

.wp-block-button {
    margin-bottom: 1em;
}

.wp-block-button__link {
    display: inline-block;
    padding: 0.75em 1.5em;
    background-color: #22C55E;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #16A34A;
}

/* WordPress Widget Styles */
.widget {
    margin-bottom: 2em;
}

.widget-title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #1a1a1a;
}

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

.widget li {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
}

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

.widget a {
    color: #22C55E;
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

/* WordPress Comment Styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2em;
    padding: 1em;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5em;
}

.comment-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 1em;
}

.comment-content {
    margin-bottom: 1em;
}

.comment-reply-link {
    color: #22C55E;
    text-decoration: none;
    font-size: 0.9em;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* (Removed) WordPress Search Form styles - using default browser styles */

/* News Section Updates */
.news-card {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    width: 100%;
    background: #f5f5f5;
    display: block;
    overflow: hidden;
    border-radius: 0;
    box-sizing: border-box;
    max-height: 200px;
    min-height: 200px;
    border-radius: 10px;
    
}

.news-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}



.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 20;
    pointer-events: none;
    max-width: calc(100% - 30px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-placeholder {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

.news-content {
    padding: 20px;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
    flex: 1;
}

.news-date {
    color: #4A90E2;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.news-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #4A90E2;
}

.news-snippet {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.read-more-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #45a049;
}

/* Accessibility Features */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Management */
/* *:focus {
    outline: 2px solid #22C55E;
    outline-offset: 2px;
} */

/* Skip to Main Content Link */
.skip-link {
    display: none;
    position: absolute;
    top: -40px;
    left: 6px;
    background: #065F46; /* Darker green for sufficient contrast */
    color: #ffffff;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
    font-weight: 600; /* Improves readability */
}

.skip-link:focus {
    top: 6px;
}

/* ===================================
   4. TYPOGRAPHY & BUTTONS
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: #22C55E;
    color: white;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    background-color: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: #22C55E;
    border: 2px solid #22C55E;
}

.btn-secondary:hover {
    background-color: #22C55E;
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   5. TOP BAR
   =================================== */
.top-bar {
    background-color: #28323C;
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.top-bar-container {
    max-width: 1728px;
    width: 100%;
    margin: 0 auto;
    padding: 0 150px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #68747C;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    padding: 4px 24px;
    height: 40px;
    min-width: 128px;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.top-bar-link:hover {
    opacity: 0.85;
}

.info-icon-circle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-circle svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
}

.top-bar-separator {
    width: 1px;
    height: 40px;
    background-color: #68747C;
    flex-shrink: 0;
}

.top-bar-separator:first-of-type {
    margin-left: -16px;
}

.top-bar-separator:last-of-type {
    margin-right: -16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-right: 16px;
}

.top-bar-icon {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.top-bar-icon:hover {
    opacity: 0.85;
}

.top-bar-icon svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
}

/* ===================================
   6. HEADER & NAVIGATION
   =================================== */
.header {
    background-color: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(48, 48, 48, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    height: 80px;
}

.header-container {
    max-width: 1728px;
    width: 100%;
    margin: 0 auto;
    padding: 0 150px;
    display: flex;
    align-items: center;
    gap: 32px;
    height: 80px;
}

/* Logo Styles */
.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 0;
}

.logo-link img {
    width: 152.82px;
    height: 50px;
    object-fit: contain;
}

/* Mobile logo hidden by default */
.logo-link.mobile-logo {
    display: none;
}

.logo-unitek {
    color: #0072CE;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-college {
    color: #6CB92C;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

/* Navigation Styles */
.header-nav {
    display: flex;
    flex: 1;
    justify-content: flex-start;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    align-items: center;
}

.header-menu li {
    margin: 0;
    padding: 0;
}

.header-menu a {
    color: #141A1E;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
    padding: 0;
}

.header-menu a:hover {
    color: #0072CE;
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0072CE;
    transition: width 0.3s ease;
}

.header-menu a:hover::after {
    width: 100%;
}

/* Apply Button */
.header-cta {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #58A430;
    color: #FFFFFF;
    padding: 14px 24px 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.44em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 200px;
    height: 56px;
    box-shadow: 0px 4px 8px rgba(40, 50, 60, 0.16);
}

.btn-apply:hover {
    background-color: #4A8F28;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 50, 60, 0.24);
}

.btn-apply svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

    /* Hide mobile-only elements on desktop */
    .mobile-cta-button,
    .mobile-header-right {
        display: none !important;
    }

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #28323C;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Legacy Support */
.nav-list {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-list a:hover {
    color: #0072CE;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0072CE;
    transition: width 0.2s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ===================================
   SUBMENU HOVER STYLES
   =================================== */

/* Hide all submenus by default - Desktop only */
@media (min-width: 871px) {
    .nav-list .sub-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        background: #fff;
        list-style: none;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 1000;
        min-width: 220px; /* Increased min-width to accommodate longer text like "Financia Aid Overview" */
        top: 100%;
        left: 0;
        transform: translateY(50px); /* visually creates spacing without dead zone */
    }
    
    /* Style submenu items */
    .nav-list .sub-menu li {
        padding: 6px 20px;
        margin: 0;
        list-style: none;
    }
    
    .nav-list .sub-menu a {
        color: #374151;
        text-decoration: none;
        font-size: 14px;
        display: block;
        padding: 8px 20px;
        transition: color 0.2s ease;
        white-space: nowrap; /* Prevent text wrapping to multiple lines */
        overflow: hidden; /* Hide overflow text if needed */
        text-overflow: ellipsis; /* Show ellipsis if text is too long */
    }
    
    .nav-list .sub-menu a:hover {
        color: #0072CE;
    }
    
    
}

/* Regular Submenu Styles - Desktop only */
@media (min-width: 871px) {
    /* Only show submenu styles for items that have children */
    .header-menu .menu-item-has-children .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #FFFFFF;
        min-width: 220px; /* Increased min-width to accommodate longer text like "Financia Aid Overview" */
        padding: 8px 0;
        margin-top: 8px;
        display: none; /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: all 0.3s ease;
        z-index: 1000;
        list-style: none;
        margin-left: 0;
        padding-left: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 6px;
    }
    
    /* Hide submenus for items without children */
    .header-menu li:not(.menu-item-has-children) .sub-menu {
        display: none !important;
    }
    
    .header-menu .menu-item-has-children .sub-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    
    .header-menu .menu-item-has-children .sub-menu a {
        display: block;
        padding: 8px 16px;
        color: #374151;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        transition: color 0.2s ease;
        line-height: 1.5;
        white-space: nowrap; /* Prevent text wrapping to multiple lines */
    }
    
    .header-menu .menu-item-has-children .sub-menu a:hover {
        color: #0072CE;
    }
    
    .header-menu .menu-item-has-children .sub-menu a::after {
        display: none;
    }
    
    /* 3rd Level Submenu Styles - Support both nav-list and header-menu */
    .nav-list .sub-menu .sub-menu,
    .header-menu .sub-menu .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 4px; /* Small gap to prevent accidental hover loss */
        background: #FFFFFF;
        min-width: 200px;
        padding: 8px 0;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-5px);
        transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease; /* Faster transition */
        z-index: 1001;
        list-style: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        /* border-radius: 6px; */
    }
    
    /* Ensure 2nd level menu items with children are positioned relatively */
    .nav-list .sub-menu .menu-item-has-children,
    .header-menu .sub-menu .menu-item-has-children {
        position: relative;
    }
    
    /* Add right arrow icon to 2nd level menu items that have children (3rd level) */
    .nav-list .sub-menu > .menu-item-has-children > a,
    .header-menu .sub-menu > .menu-item-has-children > a {
        padding-right: 32px; /* Extra padding on right for arrow */
        position: relative; /* For absolute positioning of arrow */
        white-space: nowrap; /* Prevent text wrapping to multiple lines */
        overflow: hidden; /* Hide overflow text if needed */
        text-overflow: ellipsis; /* Show ellipsis if text is too long */
    }
    
    .nav-list .sub-menu > .menu-item-has-children > a::before,
    .header-menu .sub-menu > .menu-item-has-children > a::before {
        content: '→';
        display: inline-block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6B7280;
        font-size: 14px;
        font-weight: normal;
        line-height: 1;
        transition: color 0.2s ease, transform 0.2s ease;
        pointer-events: none; /* Prevent arrow from interfering with hover */
    }
    
    /* Change arrow color on hover */
    .nav-list .sub-menu > .menu-item-has-children > a:hover::before,
    .header-menu .sub-menu > .menu-item-has-children > a:hover::before {
        color: #0072CE;
    }
    
    /* Create invisible bridge between 2nd level item and 3rd level menu */
    /* This prevents hover loss when moving mouse to 3rd level */
    .nav-list .sub-menu > .menu-item-has-children::after,
    .header-menu .sub-menu > .menu-item-has-children::after {
        content: '';
        position: absolute;
        top: 0;
        right: -4px; /* Extend to cover the gap */
        width: 4px;
        height: 100%;
        background: transparent;
        z-index: 1000; /* Below 3rd level menu but above 2nd level */
    }
    
    .nav-list .sub-menu .sub-menu li,
    .header-menu .sub-menu .sub-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    
    .nav-list .sub-menu .sub-menu a,
    .header-menu .sub-menu .sub-menu a {
        display: block;
        padding: 8px 16px;
        color: #374151;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        transition: color 0.2s ease;
        line-height: 1.5;
    }
    
    .nav-list .sub-menu .sub-menu a:hover,
    .header-menu .sub-menu .sub-menu a:hover {
        color: #0072CE;
    }
    
    /* Show 3rd level submenu ONLY when hovering directly over the 2nd level parent item */
    /* This prevents 3rd level from showing when hovering over 1st level items */
    .nav-list .sub-menu > .menu-item-has-children:hover > .sub-menu,
    .nav-list .sub-menu > .menu-item-has-children:focus-within > .sub-menu,
    .header-menu .sub-menu > .menu-item-has-children:hover > .sub-menu,
    .header-menu .sub-menu > .menu-item-has-children:focus-within > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Keep 3rd level submenu visible when hovering over it */
    .nav-list .sub-menu .sub-menu:hover,
    .header-menu .sub-menu .sub-menu:hover {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Ensure 2nd level menu stays open when hovering over 3rd level items */
    /* But only when hovering over the specific 2nd level item, not the 1st level */
    .nav-list .sub-menu > .menu-item-has-children:hover .sub-menu,
    .nav-list .sub-menu > .menu-item-has-children .sub-menu:hover,
    .header-menu .sub-menu > .menu-item-has-children:hover .sub-menu,
    .header-menu .sub-menu > .menu-item-has-children .sub-menu:hover {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* 3rd level is hidden by default (display: none in base styles above) */
    /* It will only show when hovering directly over 2nd level item with children */
    /* No need for hide rules - the default state is hidden */
}


/* Show submenu on hover and focus for accessibility - Desktop only */
@media (min-width: 871px) {
    /* Show submenu on hover with smooth animation */
    .nav-list .menu-item-has-children:hover > .sub-menu,
    .nav-list .menu-item-has-children:focus-within > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* smooth animation upwards */
    }
    
    /* Keep 2nd level submenu visible when hovering over the submenu itself */
    /* Use direct child selector to only affect 2nd level, not 3rd level */
    .nav-list > .menu-item-has-children > .sub-menu:hover {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* keep in final position */
    }
    
    /* Ensure 2nd level submenu stays visible when hovering over 1st level parent */
    /* Use direct child selector to only affect 2nd level, not 3rd level */
    .nav-list > .menu-item-has-children:hover > .sub-menu,
    .nav-list > .menu-item-has-children > .sub-menu:hover {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* smooth animation upwards */
    }
    
    /* Show 3rd level ONLY when hovering directly over the 2nd level item with children */
    /* Use direct child selector to prevent showing when hovering over 1st level */
    .nav-list .sub-menu > .menu-item-has-children:hover > .sub-menu,
    .nav-list .sub-menu > .menu-item-has-children:focus-within > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Keep 3rd level visible when hovering over it OR the parent 2nd level item */
    .nav-list .sub-menu .sub-menu:hover,
    .nav-list .sub-menu > .menu-item-has-children:hover .sub-menu,
    .nav-list .sub-menu > .menu-item-has-children .sub-menu:hover,
    /* Keep visible when hovering over parent 2nd level item even if mouse moves to 3rd level */
    .nav-list .sub-menu > .menu-item-has-children:hover > .sub-menu,
    .nav-list .sub-menu > .menu-item-has-children:focus-within > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    
    /* Explicitly hide 3rd level when hovering over 1st level item ONLY */
    /* This rule has lower specificity than the show rule above, so it won't override when hovering over 2nd level */
    /* The key is: hide rule targets 1st level hover, show rule targets 2nd level hover */
    .nav-list > .menu-item-has-children:hover .sub-menu > li:not(:hover) .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
}

/* Ensure parent menu items are positioned relatively for absolute submenu positioning - Desktop only */
@media (min-width: 871px) {
    .nav-list .menu-item-has-children {
        position: relative;
    }
}

/* Clean menu items with submenus - no arrows */
.header-menu .menu-item-has-children > a {
    position: relative;
}

/* Ensure submenu stays visible when hovering over it */
.header-menu .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Better focus styles for accessibility */
.header-menu .menu-item-has-children > a:focus {
    outline: 2px solid #0072CE;
    outline-offset: 2px;
}

/* Submenu link focus styles */
.header-menu .sub-menu a:focus {
    background-color: #F3F4F6;
    outline: 2px solid #0072CE;
    outline-offset: -2px;
}

/* ===================================
   7. MEGA MENU
   =================================== */

/* Mega Menu Parent */
.mega-menu-parent {
    position: relative;
}

/* Mega Menu Modal - Desktop Only */
.mega-menu-modal {
    position: fixed;
    top: 80px; /* Header height - dynamically calculated by JS based on scroll position */
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0;
    margin: 0;
}

/* Hide mega menu modal on mobile */
@media (max-width: 870px) {
    .mega-menu-modal {
        display: none !important;
    }
    
    /* Mobile submenu for mega menu - Matching Figma Design */
    .mega-mobile-submenu {
        display: none;
        list-style: none;
        padding: 24px;
        margin: 16px 0 0 0;
        background-color: #28323C;
        border-radius: 0;
    }
    
    .mega-mobile-submenu li {
        padding: 0;
        margin: 0;
        border-bottom: none;
    }
    
    .mega-mobile-submenu li:last-child {
        border-bottom: none;
    }
    
    .mega-mobile-submenu a {
        display: block;
        padding: 0;
        margin-bottom: 26px;
        color: #FFFFFF;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4444em;
        transition: color 0.2s ease;
    }
    
    .mega-mobile-submenu a:hover {
        background-color: transparent;
        color: #B4E850;
    }
    
    /* Mobile category headers - Matching Figma */
    .mega-mobile-submenu .mobile-category-header {
        background-color: transparent;
        border-bottom: none;
        margin: 0;
        padding: 0 0 0 24px;
        margin-bottom: 26px;
    }
    
    /* Category headers without children (simple links like "Explore my options") */
    .mega-mobile-submenu .mobile-category-header:not(.has-children) {
        padding: 0 0 0 0px !important;
    }
    
    .mega-mobile-submenu .mobile-category-header:not(.has-children) .category-title-link {
        color: #FFFFFF;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4444em;
        display: flex;
        align-items: center;
    }
    
    .mega-mobile-submenu .mobile-category-header:not(.has-children) .category-title {
        display: flex;
        align-items: center;
    }
    
    /* Right-pointing triangle for category headers WITHOUT children */
    .mega-mobile-submenu .mobile-category-header:not(.has-children) .category-title::before {
        content: '';
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 7px solid #FFFFFF;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .mega-mobile-submenu .mobile-category-header:first-child {
        margin-top: 0;
    }
    
    /* Background for expanded categories */
    .mega-mobile-submenu .mobile-category-header.has-children.active {
        background-color: #28323C;
        padding: 16px 16px 16px 24px;
        /* margin-left: -24px;
        margin-right: -24px;
        margin-bottom: 26px; */
    }
    
    .mega-mobile-submenu .mobile-category-header .category-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        font-size: 18px;
        color: #FFFFFF;
        text-transform: none;
        letter-spacing: 0;
        line-height: 1.4444em;
        position: relative;
    }
    
    /* Right-pointing triangle icon for expandable categories - LEFT SIDE */
    .mega-mobile-submenu .mobile-category-header.has-children .category-title::before {
        content: '';
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 7px solid #FFFFFF;
        margin-right: 12px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        order: -1;
    }
    
    /* Hide any ::after element on category titles */
    .mega-mobile-submenu .mobile-category-header .category-title::after {
        display: none !important;
    }
    
    /* Rotate triangle down when expanded */
    .mega-mobile-submenu .mobile-category-header.has-children.active .category-title::before {
        transform: rotate(90deg);
    }
    
    /* Clickable category links */
    .mega-mobile-submenu .mobile-category-header .category-title-link {
        display: block;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .mega-mobile-submenu .mobile-category-header .category-title-link:hover {
        background-color: transparent;
        color: #B4E850;
    }
    
    .mega-mobile-submenu .mobile-category-header .category-title-link .category-title {
        padding: 0;
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        font-size: 18px;
        color: #FFFFFF;
        text-transform: none;
        letter-spacing: 0;
    }
    
    
    /* Mobile program items container - Hidden by default */
    .mega-mobile-submenu .mobile-program-list {
        display: none !important;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    /* Show program list when category is active/expanded */
    .mega-mobile-submenu .mobile-category-header.has-children.active .mobile-program-list {
        display: block !important;
        margin-top: 16px;
        padding-left: 0;
    }
    
    /* Mobile program items - Indented with light blue color */
    .mega-mobile-submenu .mobile-program-item {
        padding: 0;
        margin: 0 0 16px 0;
        border-bottom: none;
    }
    
    .mega-mobile-submenu .mobile-program-item:last-child {
        margin-bottom: 0;
    }
    
    /* Individual program links - Light blue with indentation */
    .mega-mobile-submenu .mobile-category-header.has-children .mobile-program-list .mobile-program-item a {
        display: block !important;
        padding: 0 0 0 36px !important;
        color: #50D8FF !important;
        text-decoration: none !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 16px !important;
        font-weight: 300 !important;
        line-height: 1.5em !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        margin-bottom: 16px !important;
    }
    
    /* Fallback for mobile-program-item a */
    .mega-mobile-submenu .mobile-program-item a {
        display: block;
        padding: 0 0 0 36px;
        color: #50D8FF;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        font-weight: 300;
        line-height: 1.5em;
        transition: color 0.2s ease;
        position: relative;
        margin-bottom: 16px;
    }
    
    /* Remove any triangle icons from individual program links */
    .mega-mobile-submenu .mobile-program-item a::before,
    .mega-mobile-submenu .mobile-program-item a::after {
        display: none !important;
    }
    
    .mega-mobile-submenu .mobile-program-item a:hover {
        background-color: transparent !important;
        color: #FFFFFF !important;
    }
    
    /* Show mobile submenu when parent is active */
    .mega-menu-parent.active .mega-mobile-submenu {
        display: block;
    }
    
    /* Toggle icon styles */
    .menu-toggle-icon {
        margin-left: 8px;
        font-weight: bold;
        transition: transform 0.3s ease;
        display: inline-block;
    }
}

.mega-menu-modal.active {
    display: flex;
    opacity: 1;
}

/* Mega Menu Content */
.mega-menu-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 6px auto 0;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mega Menu Header */
.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #E5E7EB;
}

.mega-menu-title {
    font-size: 28px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

/* Clickable mega menu title link */
.mega-menu-title-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu-title-link:hover {
    color: #0072CE;
}

.mega-menu-title-link .mega-menu-title {
    color: inherit;
}

.mega-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #374151;
    transition: background-color 0.2s ease;
}

.mega-menu-close:hover {
    background-color: #F3F4F6;
}

/* Mega Menu Main Content */
.mega-menu-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 2fr;
    gap: 24px;
    padding: 32px;
    min-height: 300px;
}

/* Placeholder Boxes */
.mega-menu-placeholder {
    background-color: #F9FAFB;
    border-radius: 8px;
    border: 2px dashed #D1D5DB;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Program Columns */
.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-column-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
}

/* Clickable column title links */
.mega-menu-column-title-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu-column-title-link:hover {
    color: #0072CE;
}

.mega-menu-column-title-link .mega-menu-column-title {
    color: inherit;
}

.mega-menu-programs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-programs li {
    margin-bottom: 12px;
}

.mega-menu-programs li:last-child {
    margin-bottom: 0;
}

.mega-menu-programs a {
    color: #374151;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.mega-menu-programs a:hover {
    color: #0072CE;
}

/* Mega Menu Footer */
.mega-menu-footer {
    background-color: #28323C;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    border-radius: 8px;
    min-height: 62px;
}

.mega-menu-footer-text {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.444em;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.mega-menu-cta {
    background-color: transparent;
    color: #C4E830 !important;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.mega-menu-cta svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.mega-menu-cta:hover {
    color: #B4E850;
}

.mega-menu-cta:hover svg {
    stroke: currentColor;
}

/* Mega Menu Trigger */
.mega-menu-trigger {
    position: relative;
}

/* Desktop styles - hide mobile submenu */
@media (min-width: 871px) {
    .mega-mobile-submenu {
        display: none !important;
    }
    
    .menu-toggle-icon {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mega-menu-content {
        margin: 20px;
        max-width: none;
    }
    
    .mega-menu-main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .mega-menu-placeholder {
        display: none;
    }
    
    .mega-menu-header {
        padding: 20px;
    }
    
    .mega-menu-title {
        font-size: 24px;
    }
    
    .mega-menu-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.icon-btn:hover {
    color: #0072CE;
    background: rgba(0, 114, 206, 0.08);
    transform: translateY(-1px);
}

.icon-btn i {
    font-size: 18px;
}

/* ===================================
   9. NEWS SECTION
   =================================== */
.news {
    padding: 80px 0;
    background: white;
}

.news .container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    width: 100%;
    box-sizing: border-box;
}

.news-headline {
    font-size: 30px;
    font-weight: 600;
    text-align: left;
    color: #0f0f10;
    margin-bottom: 48px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.news-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-image {
    height: 300px;
    width: 100%;
    background: #e0e0e0;
    display: block;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    box-sizing: border-box;
    max-height: 300px;
    min-height: 300px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

.news-content {
    padding: 24px;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: 400;
    color: #1976D2;
    margin-bottom: 12px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-top: 10px;
}

.news-date {
    font-size: 14px;
    color: #666;
}

.saparator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.saparator-img {
    width: 100%;
    height: auto;
}

/* ===================================
   8. SEARCH OVERLAY
   =================================== */
.search-overlay {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 176px;
    background-color: #007ACC;
    box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}



.search-overlay-container {
    width: 100%;
    max-width: 1728px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 150px;
    box-sizing: border-box;
    position: relative;
}

.search-overlay-content {
    width: 100%;
    max-width: 1368px;
    text-align: center;
    position: relative;
}

/* Search Logo Styles */
.search-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 15px;
    left: 0;
}

.search-logo-icon {
    width: 152.82px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.search-logo-title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    margin: 0;
}

.search-logo-subtitle {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

/* Search Prompt Styles */
.search-prompt {
    margin-bottom: 24px;
    text-align: center;
}

.search-prompt-text {
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25em;
    margin: 0;
    text-align: center;
}

/* Search Form Styles */
.search-form-overlay {
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
    position: relative;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #ACB4BC;
    border-radius: 8px;
    height: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    border-color: #ACB4BC;
    box-shadow: 0 0 0 2px rgba(172, 180, 188, 0.2);
}

.search-input-field {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4444444444444444em;
    outline: none;
    width: 100%;
}

.search-input-field::placeholder {
    color: #ACB4BC;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4444444444444444em;
}

.search-submit-btn {
    width: 40px;
    height: 40px;
    margin: 5px;
    padding: 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.search-submit-btn svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
}

/* Close Button */
.search-close-btn {
    position: absolute;
    top: 15px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.search-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.search-close-btn svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
}


/* Search Overlay Results Styles */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    animation: searchResultsFadeIn 0.3s ease;
}

@keyframes searchResultsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover,
.search-result-item.active {
    background: rgba(0, 123, 255, 0.05);
}

.search-result-item.active {
    background: rgba(0, 123, 255, 0.1);
    border-left: 3px solid #007bff;
}

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

.search-result-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.search-result-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Group headings & view-all for overlay only */
.search-group-heading {
    font-weight: 700;
    color: #0f172a;
    padding: 10px 12px;
    background: rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 12px 16px;
    margin-top: 6px;
    color: #0069d9;
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.search-view-all:hover {
    text-decoration: underline;
}

/* Tablet Responsive (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .search-overlay {
        height: auto;
        min-height: 176px;
        padding: 20px 0;
    }
    
    .search-overlay-container {
        padding: 0 40px;
        max-width: 100%;
    }
    
    .search-overlay-content {
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .search-logo {
        top: 0px;
        left: 40px;
    }
    
    .search-logo-icon {
        width: 120px;
        height: 40px;
    }
    
    .search-prompt {
        margin-bottom: 20px;
    }
    
    .search-prompt-text {
        font-size: 28px;
        line-height: 1.3em;
    }
    
    .search-form-overlay {
        max-width: 100%;
    }
    
    .search-close-btn {
        top: 0px;
        right: 40px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-overlay {
        height: auto;
        min-height: 200px;
    }
    
    .search-overlay-container {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-overlay-content {
        margin-top: 60px;
    }
    
    .search-logo {
        position: absolute;
        top: 20px;
        left: 20px;
    }
    
    .search-logo-icon {
        width: 100px;
        height: 32.73px;
    }
    
    .search-prompt-text {
        font-size: 24px;
        line-height: 1.3em;
    }
    
    .search-form-overlay {
        max-width: 100%;
    }
    
    .search-input-container {
        height: 48px;
    }
    
    .search-input-field {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .search-submit-btn {
        width: 38px;
        height: 38px;
        margin: 5px;
    }
    
    .search-submit-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .search-close-btn {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
    
    .search-close-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .search-logo-icon {
        width: 80px;
        height: 26.18px;
    }
    
    .search-prompt-text {
        font-size: 20px;
        line-height: 1.3em;
    }
    
    .search-input-container {
        height: 44px;
    }
    
    .search-input-field {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .search-submit-btn {
        width: 34px;
        height: 34px;
        margin: 5px;
    }
    
    .search-submit-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .search-close-btn {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
    
    .search-close-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   10. FOOTER
   =================================== */
.footer {
    background-color: #28323c;
    color: #FFFFFF;
    padding: 60px 0 40px;
    position: relative;
}

.footer-container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo-img {
    max-width: 280px;
    height: auto;
    display: block;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    width: 100%;
    max-width: 1440px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    text-transform: none;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(184, 196, 208, 0.3);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #B8C4D0;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: 0;
    border-top: none;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    color: #6B7A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-icon:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.social-icon i {
    font-size: 20px;
}

@keyframes loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===================================
   14. MEDIA QUERIES (CONSOLIDATED)
   =================================== */

/* Desktop - 1025px to 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
    .top-bar-container {
        padding: 0 40px;
    }
    
    .header-container {
        padding: 0 40px;
    }
    
    .category-nav__list {
        gap: 30px;
    }
    
    .footer-container {
        padding: 0 40px;
    }
    
    .hero__content {
        padding: 48px 32px;
    }
}

/* Desktop - 1200px and below */
@media (max-width: 1200px) {
    .container,
    header .container,
    footer .container,
    section > .container,
    main > .container {
        padding: 0 80px;
    }
}

@media (min-width: 871px) and (max-width: 1199px) {

    .header-cta {   
        display: none;
    }
}

/* ===================================
   TABLET - 1024px and below
   =================================== */
@media (max-width: 1024px) {
    /* Container Padding */
    .container {
        padding: 0 80px;
    }
    
    .top-bar-container {
        padding: 0 80px;
    }
    
    .header-container {
        padding: 0 80px;
        gap: 40px;
    }
    
    .footer-container {
        padding: 0 80px;
    }
    
    .news .container {
        padding: 0 80px;
    }
    
    /* Header & Navigation */
    .header-menu {
        gap: 24px;
    }
    
    .header-menu a {
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 48px;
    }
    
    .hero-right {
        padding: 40px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Content Sections */
    .intro .container,
    .advantage .container,
    .support-career .container,
    .accreditations-content,
    .faq .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .program-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* News Section */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .news-card {
        height: auto;
    }
    
    .news-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   TABLET - 871px to 1024px
   =================================== */
@media (min-width: 871px) and (max-width: 1024px) {
    /* Tablet styles here */
    .container,
    header .container,
    footer .container,
    section > .container,
    section .container,
    main > .container,
    .news .container {
        padding: 0 50px;
    }
    
    .top-bar-container {
        padding: 0 50px;
    }
    
    .header-container {
        padding: 0 50px;
    }
    
    .footer-container {
        padding: 0 50px;
    }
    
    
    /* 3rd Level Submenu Styles for Tablet - Hide by default */
    .nav-list .sub-menu .sub-menu,
    .header-menu .sub-menu .sub-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        list-style: none !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }
    
    /* 3rd level menu items - indented and light blue */
    .nav-list .sub-menu .sub-menu li,
    .header-menu .sub-menu .sub-menu li {
        border-bottom: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    /* 3rd level menu links - light blue color, extra indentation, smaller font */
    .nav-list .sub-menu .sub-menu a,
    .header-menu .sub-menu .sub-menu a {
        display: block !important;
        padding: 2px 0 2px 40px !important; /* Minimal top/bottom padding, increased left padding */
        margin: 0 !important; /* No margin for compact spacing */
        width: 100%;
        font-size: 14px !important; /* Reduced font size for better hierarchy */
        font-weight: 300 !important;
        line-height: 1.4em !important; /* Tighter line height */
        color: #50D8FF !important; /* Light blue color matching the image */
        text-decoration: none !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        white-space: normal; /* Allow text to wrap if needed */
    }
    
    /* 3rd level menu links hover state */
    .nav-list .sub-menu .sub-menu a:hover,
    .header-menu .sub-menu .sub-menu a:hover {
        background-color: transparent !important;
        color: #FFFFFF !important; /* White on hover */
    }
    
    /* Remove any icons from 3rd level links */
    .nav-list .sub-menu .sub-menu a::before,
    .nav-list .sub-menu .sub-menu a::after,
    .header-menu .sub-menu .sub-menu a::before,
    .header-menu .sub-menu .sub-menu a::after {
        display: none !important;
    }
    
    /* Show 3rd level submenu when parent 2nd level item is active (toggled via arrow) */
    .nav-list .sub-menu > .menu-item-has-children.active .sub-menu,
    .header-menu .sub-menu > .menu-item-has-children.active .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        padding: 0 !important;
        margin-top: 8px !important; /* Reduced top margin for tighter spacing */
        overflow: visible !important;
    }
}

/* ===================================
   MOBILE - 870px and below
   =================================== */
@media (max-width: 870px) {
    
    /* Container Padding */
    .container,
    header .container,
    footer .container,
    section > .container,
    main > .container {
        padding: 0 20px;
    }
    
    /* Footer Mobile Layout */
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-container {
        align-items: center;
    }
    
    .footer-logo {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-img {
        max-width: 200px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    
    
    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(184, 196, 208, 0.3);
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-column li {
        margin-bottom: 0;
    }
    
    .footer-column a {
        font-size: 13px;
        display: block;
        padding: 4px 0;
    }
    
    .footer-social {
        margin-top: 20px;
        gap: 16px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .top-bar {
        display: none;
    }
    
    .top-bar-container {
        padding: 0 20px;
    }
    
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        height: 48px;
        background-color: #FFFFFF;
        box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08);
        transition: background-color 0.3s ease;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        left: 0;
        right: 0;
    }
    
    /* Change header background when mobile menu is open */
    .header.menu-open {
        background-color: #28323C;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        height: 48px;
    }
    
    /* Style header container when menu is open */
    .header.menu-open .header-container {
        background-color: #282c34;
        /* border-radius: 8px; */
        /* margin: 12px 16px; */
        padding: 8px 16px;
        height: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Change icon colors when menu is open */
    .header.menu-open .mobile-header-icon {
        color: #FFFFFF;
    }
    
    .header.menu-open .mobile-header-icon svg {
        color: #FFFFFF;
    }
    
    .header.menu-open .mobile-header-separator {
        background-color: #FFFFFF;
        opacity: 0.3;
        height: 32px;
    }
    
    /* Adjust spacing when menu is open */
    .header.menu-open .header-container {
        gap: 16px;
    }
    
    .header-container {
        padding: 0 16px;
        display: flex;
        gap: 20px;
        height: 48px;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-logo {
        flex-shrink: 0;
    }
    
    .logo-link img {
        width: 97.78px;
        height: 32px;
        object-fit: contain;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    /* Add body padding to account for fixed header */
    body {
        padding-top: 48px;
    }
    
    .header-nav {
        display: none;
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #141A1E;
        box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08);
        padding: 32px 16px;
        z-index: 998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: calc(100vh - 48px);
        max-height: calc(100vh - 48px);
    }
    
    .header-nav.mobile-open {
        display: flex;
        flex-direction: column;
    }
    
    .header-menu {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
    
    .header-menu li {
        width: 100%;
        border-bottom: none;
    }
    
    .header-menu li:last-child {
        border-bottom: none;
    }
    
    .header-menu a {
        display: block;
        padding: 0;
        width: 100%;
        font-family: 'Outfit', sans-serif;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.4em;
        color: #FFFFFF;
    }
    
    /* Mobile submenu toggle indicator */
    .header-menu .menu-item-has-children > a {
        position: relative;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    /* Right-pointing triangle icon for expandable menu items */
    .header-menu .menu-item-has-children > a::before {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 7px solid #FFFFFF;
        margin-right: 12px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        order: -1;
    }
    
    /* Hide any ::after element */
    .header-menu .menu-item-has-children > a::after {
        display: none !important;
    }
    
    /* Rotate triangle down when menu item is expanded */
    .header-menu .menu-item-has-children.active > a::before {
        transform: rotate(90deg);
    }
    
    /* Mobile submenu styles - override desktop hover behavior */
    .header-menu .sub-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        background: transparent;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: none;
        border-radius: 0;
    }
    
    /* Show submenu when parent is active on mobile */
    .header-menu .menu-item-has-children.active .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px;
        padding: 16px 0 0 0;
        margin-top: 16px;
    }
    
    /* Disable hover effects on mobile */
    .header-menu li:hover .sub-menu,
    .header-menu li:focus-within .sub-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
    }
    
    .header-menu .sub-menu li {
        border-bottom: none;
        margin-bottom: 16px;
    }
    
    .header-menu .sub-menu a {
        padding: 0;
        margin: 0;
        width: 100%;
        font-family: 'Outfit', sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.4em;
        color: #DADEE0;
    }
    
    /* Remove any triangle icons from submenu child items */
    .header-menu .sub-menu a::before,
    .header-menu .sub-menu a::after {
        display: none !important;
    }
    
    .header-menu .sub-menu li::before,
    .header-menu .sub-menu li::after {
        display: none !important;
    }
    
    .header-menu .sub-menu a:hover {
        background-color: transparent;
        color: #FFFFFF;
    }
    
    /* 3rd Level Submenu Styles for Mobile/Tablet - Match 2nd image design */
    /* Show 3rd level submenu when parent 2nd level item is active */
    .header-menu .sub-menu > .menu-item-has-children.active .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        padding: 0 !important;
        margin-top: 16px !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    /* 3rd level menu items - indented and light blue */
    .header-menu .sub-menu .sub-menu li {
        border-bottom: none;
        margin: 0 0 16px 0;
        padding: 0;
        list-style: none;
    }
    
    /* 3rd level menu links - light blue color, more indented */
    .header-menu .sub-menu .sub-menu a {
        display: block !important;
        padding: 0 0 0 36px !important; /* More indentation than 2nd level */
        margin: 0 !important;
        width: 100%;
        font-size: 16px !important;
        font-weight: 300 !important;
        line-height: 1.5em !important;
        color: #50D8FF !important; /* Light blue color matching the image */
        text-decoration: none !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        white-space: normal; /* Allow text to wrap if needed */
    }
    
    /* 3rd level menu links hover state */
    .header-menu .sub-menu .sub-menu a:hover {
        background-color: transparent !important;
        color: #FFFFFF !important; /* White on hover */
    }
    
    /* Remove any icons from 3rd level links */
    .header-menu .sub-menu .sub-menu a::before,
    .header-menu .sub-menu .sub-menu a::after {
        display: none !important;
    }
    
    
    .header-cta {
        display: none !important;
    }
    
    /* Mobile CTA button styling (created by JavaScript) - Mobile only */
    .mobile-cta-button {
        width: 100%;
        display: flex !important;
        justify-content: center;
        margin-top: 48px;
        padding: 0 16px;
        box-sizing: border-box;
    }
    
    .mobile-cta-button .btn-apply {
        width: 100%;
        max-width: 328px;
        height: 56px;
        background-color: #58A430;
        color: #FFFFFF;
        font-family: 'Outfit', sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4444em;
        padding: 14px 24px 14px 32px;
        border-radius: 100px;
        box-shadow: 0px 4px 8px rgba(40, 50, 60, 0.16);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-cta-button .btn-apply:hover {
        background-color: #4A8F28;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(40, 50, 60, 0.24);
    }
    
    /* Mobile Header Right Section - Only show on mobile */
    .mobile-header-right {
        display: flex !important;
        align-items: center;
        gap: 16px;
        margin-left: auto;
    }
    
    .mobile-header-icon {
        background: none;
        border: none;
        color: #28323C;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        transition: opacity 0.2s ease, color 0.3s ease;
        flex-shrink: 0;
        text-decoration: none;
    }
    
    .mobile-header-icon:hover {
        opacity: 0.7;
    }
    
    .mobile-header-icon svg {
        color: #28323C;
        width: 24px;
        height: 24px;
        transition: color 0.3s ease;
    }
    
    .mobile-header-separator {
        width: 1px;
        height: 48px;
        background-color: #ACB4BC;
        flex-shrink: 0;
        transition: background-color 0.3s ease, opacity 0.3s ease;
    }
    
    /* Show mobile menu toggle on mobile */
    .mobile-menu-toggle {
        display: flex;
        /* width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center; */
    }
    
    /* Hide close button by default */
    .mobile-menu-close-btn {
        display: none;
    }
    
    /* When menu is open, hide hamburger and show close button */
    .header.menu-open .mobile-menu-toggle {
        display: none;
    }
    
    .header.menu-open .mobile-menu-close-btn {
        display: flex;
    }
    
    /* Ensure mobile header right section stays within header container when menu is open */
    .header.menu-open .mobile-header-right {
        position: relative;
        background-color: transparent;
        pointer-events: all;
    }
    
    /* Ensure phone icon and close button are always clickable */
    .header.menu-open .mobile-phone-icon,
    .header.menu-open .mobile-menu-close-btn {
        pointer-events: all;
    }
    
    /* Keep logo within header container when menu is open */
    .header.menu-open .header-logo {
        position: relative;
    }
    
    /* Show mobile logo and hide desktop logo when menu is open */
    .header.menu-open .logo-link.desktop-logo {
        display: none;
    }
    
    .header.menu-open .logo-link.mobile-logo {
        display: flex;
    }
    
    .header.menu-open .logo-link.mobile-logo img {
        width: auto;
        height: 32px;
        object-fit: contain;
    }
    
    .nav-list {
        display: flex;
        position: relative;
        flex-direction: column;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 1;
        list-style: none;
    }
    
    .nav-list.mobile-open {
        display: flex;
    }
    
    .nav-list li {
        margin: 0;
        width: 100%;
        border-bottom: none;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: 0;
        margin-bottom: 32px;
        width: 100%;
        color: #FFFFFF;
        text-decoration: none;
        font-family: 'Outfit', sans-serif;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.4em;
        position: relative;
    }
    
    .nav-list a:hover {
        color: #B4E850;
    }
    
    /* Remove any focus outlines and borders on mobile */
    .nav-list a:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }
    
    /* Remove any ::after pseudo-elements that create underlines for regular links */
    .nav-list li:not(.menu-item-has-children) > a::after {
        display: none !important;
    }
    
    /* Mobile submenu toggle indicator for nav-list */
    .nav-list .menu-item-has-children > a {
        position: relative;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    /* Right-pointing triangle icon for expandable menu items */
    .nav-list li.menu-item-has-children > a::before {
        content: '' !important;
        display: inline-block !important;
        width: 0 !important;
        height: 0 !important;
        border-top: 5px solid transparent !important;
        border-bottom: 5px solid transparent !important;
        border-left: 7px solid #FFFFFF !important;
        margin-right: 12px !important;
        transition: transform 0.3s ease !important;
        flex-shrink: 0 !important;
        order: -1 !important;
    }
    
    /* Hide any ::after element */
    .nav-list li.menu-item-has-children > a::after {
        display: none !important;
    }
    
    /* Rotate triangle down when menu item is expanded */
    .nav-list li.menu-item-has-children.active > a::before {
        transform: rotate(90deg) !important;
    }
    
    /* Mobile submenu styles for nav-list */
    .nav-list .sub-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        background: #28323C;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: none;
        border-radius: 0;
        list-style: none;
    }
    
    /* Show submenu when parent is active on mobile for nav-list */
    .nav-list .menu-item-has-children.active .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px;
        padding: 8px 0;
    }
    
    /* Mega menu parent styling - Matching Figma Design */
    .mega-menu-parent {
        background-color: transparent;
        transition: all 0.3s ease;
    }
    
    /* Gray background box when Programs is expanded - Matching Figma */
    .mega-menu-parent.active {
        background-color: transparent;
        padding: 0;
        margin: 0;
    }
    
    /* Programs link styling when expanded */
    .mega-menu-parent.active > a {
        padding: 0;
    }
    
    /* Mega menu mobile submenu integration */
    .mega-menu-parent.active .mega-mobile-submenu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 2000px;
        transition: all 0.3s ease;
        margin: 16px 0 0 0;
    }
    
    /* Programs menu (mega-menu-parent) shows triangle icon */
    .mega-menu-parent.menu-item-has-children > a {
        position: relative;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    /* Right-pointing triangle for Programs menu */
    .mega-menu-parent.menu-item-has-children > a::before {
        content: '' !important;
        display: inline-block !important;
        width: 0 !important;
        height: 0 !important;
        border-top: 5px solid transparent !important;
        border-bottom: 5px solid transparent !important;
        border-left: 7px solid #FFFFFF !important;
        margin-right: 12px !important;
        transition: transform 0.3s ease !important;
        flex-shrink: 0 !important;
        order: -1 !important;
    }
    
    /* Hide ::after element */
    .mega-menu-parent.menu-item-has-children > a::after {
        display: none !important;
    }
    
    /* Rotate triangle down when Programs menu is expanded (always on mobile) */
    .mega-menu-parent.menu-item-has-children.active > a::before {
        transform: rotate(90deg) !important;
    }
    
    /* Disable hover effects on mobile for nav-list */
    .nav-list li:hover .sub-menu,
    .nav-list li:focus-within .sub-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
    }
    
    .nav-list .sub-menu li {
        border-bottom: none;
    }
    
    .nav-list .sub-menu a {
        padding: 8px 0 8px 20px;
        margin: 0;
        width: 100%;
        font-size: 14px;
        color: #ffffff;
        position: relative;
    }
    
    .nav-list .sub-menu a:hover {
        background-color: transparent;
        /* color: #0072CE; */
    }
    
    /* Remove any focus outlines and borders on submenu links */
    .nav-list .sub-menu a:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }
    
    /* Remove any triangle icons from submenu links (child items) */
    .nav-list .sub-menu a::before,
    .nav-list .sub-menu a::after {
        display: none !important;
    }
    
    .nav-list .sub-menu li::before,
    .nav-list .sub-menu li::after {
        display: none !important;
    }
    
    
    /* 3rd Level Submenu Styles for Mobile/Tablet - Hide by default */
    .nav-list .sub-menu .sub-menu,
    .header-menu .sub-menu .sub-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        list-style: none !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }
    
    /* 3rd level menu items - indented and light blue */
    .nav-list .sub-menu .sub-menu li,
    .header-menu .sub-menu .sub-menu li {
        border-bottom: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    /* 3rd level menu links - light blue color, extra indentation, smaller font */
    .nav-list .sub-menu .sub-menu a,
    .header-menu .sub-menu .sub-menu a {
        display: block !important;
        padding: 2px 0 2px 55px !important; /* Minimal top/bottom padding, increased left padding */
        margin: 0 !important; /* No margin for compact spacing */
        width: 100%;
        font-size: 14px !important; /* Reduced font size for better hierarchy */
        font-weight: 300 !important;
        line-height: 1.4em !important; /* Tighter line height */
        color: #50D8FF !important; /* Light blue color matching the image */
        text-decoration: none !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        white-space: normal; /* Allow text to wrap if needed */
    }
    
    /* 3rd level menu links hover state */
    .nav-list .sub-menu .sub-menu a:hover,
    .header-menu .sub-menu .sub-menu a:hover {
        background-color: transparent !important;
        color: #FFFFFF !important; /* White on hover */
    }
    
    /* Remove any icons from 3rd level links */
    .nav-list .sub-menu .sub-menu a::before,
    .nav-list .sub-menu .sub-menu a::after,
    .header-menu .sub-menu .sub-menu a::before,
    .header-menu .sub-menu .sub-menu a::after {
        display: none !important;
    }
    
    /* Show 3rd level submenu when parent 2nd level item is active (toggled via arrow) */
    .nav-list .sub-menu > .menu-item-has-children.active .sub-menu,
    .header-menu .sub-menu > .menu-item-has-children.active .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        padding: 0 !important;
        margin-top: 8px !important; /* Reduced top margin for tighter spacing */
        overflow: visible !important;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-headline {
        font-size: 36px;
    }
    
    .hero-subheadline {
        font-size: 18px;
    }
    
    .hero-right {
        padding: 32px;
    }
    
    .hero-cta {
        font-size: 28px;
    }
    
    .intro,
    .programs {
        padding: 80px 0;
    }
    
    .intro-headline,
    .programs-headline {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news .container {
        padding: 0 16px;
    }
    
    .news {
        padding: 64px 0;
    }
    
    .news-headline {
        font-size: 24px;
        margin-bottom: 32px;
        padding-left: 0;
    }
    
    .news-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
        min-height: auto;
    }
    
    .news-image {
        height: 252px;
        min-height: 252px;
        max-height: 252px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    /* Footer mobile styles moved to earlier @media (max-width: 768px) block */
    
    .footer-logo-img {
        max-width: 200px;
    }
}





/* ===================================
   SMALL MOBILE - 480px and below
   =================================== */
@media (max-width: 480px) {
    /* Container Padding */
    .container,
    header .container,
    footer .container,
    section > .container,
    main > .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-subheadline {
        font-size: 16px;
    }
    
    .hero-right {
        padding: 24px;
    }
    
    .hero-cta {
        font-size: 24px;
    }
    
    .intro-headline,
    .advantage-headline,
    .support-headline,
    .accreditations-headline,
    .contact-headline {
        font-size: 28px;
    }
    
    /* News Section - Same styles for all screens below 480px */
    .news {
        padding: 48px 0;
    }
    
    .news .container {
        padding: 0 16px;
    }
    
    .news-headline {
        font-size: 20px;
        margin-bottom: 24px;
        /* padding-left: 15px; */
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .news-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-snippet {
        font-size: 13px;
    }
    
    .read-more-link {
        font-size: 13px;
    }
    
    .program-nav {
        flex-direction: column;
        gap: 2px;
    }
}

/* ===================================
   TABLET PORTRAIT / LARGE MOBILE - 481px to 768px
   =================================== */
@media (min-width: 481px) and (max-width: 768px) {
    .news {
        padding: 56px 0;
    }
    
    .news .container {
        padding: 0 16px;
    }
    
    .news-headline {
        font-size: 22px;
        margin-bottom: 28px;
        padding-left: 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
        min-height: auto;
    }
    
    .news-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .news-content {
        padding: 18px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-date {
        font-size: 14px;
    }
    
    .news-snippet {
        font-size: 14px;
    }
    
    .read-more-link {
        font-size: 14px;
    }
    
    .program-nav {
        flex-direction: column;
        gap: 2px;
    }
    
    .program-tab {
        border-radius: 8px;
        margin-bottom: 2px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .stat {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

/* Enhanced Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background: #374151;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Enhanced Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #22C55E;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #16A34A;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

/* Enhanced Form Focus States */
.hero-input:focus,
.hero-dropdown:focus,
.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}

/* Enhanced Button Hover Effects */
.btn:hover,
.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced Card Hover Effects */
.news-card:hover,
.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Smooth Transitions for All Interactive Elements */
* {
    transition: all 0.2s ease;
}

/* Enhanced Loading States */
.image-placeholder {
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .category-tag {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
        max-width: calc(100% - 20px);
    }
}

/* ===================================
   11. BLOG TEMPLATE - Matching Figma Design
   =================================== */

/* Main Container */
.page-template-blog {
    background-color: #F5F5F5;
    min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.hero {
    margin: 64px auto 80px;
    max-width: 1728px;
    /* padding: 0 150px; */
}

.hero__container {
    display: grid;
    grid-template-columns: 790px 790px;
    background: #ACB4BC;
    border-radius: 24px 24px 24px 24px;
    overflow: hidden;
    box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08);
    min-height: 520px;
    max-width: 1580px;
    margin: 0 auto;
}

.hero__content {
    background: #FFFFFF;
    padding: 64px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
    border-radius: 12px 0px 0px 12px;
}

.hero__title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1667em;
    color: #28323C;
    margin: 0;
    width: 540px;
    height: 228px;
}

.hero__subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333em;
    color: #007ACC;
    margin: 0;
    width: 480px;
    height: 64px;
}

.hero__image {
    background: #ACB4BC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #68747C;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
}

/* Button Link Styles */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #58A428;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25em;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 50px 0px;
    border-radius: 8px;
}

.btn-link:hover {
    gap: 12px;
    color: #4A8F28;
}

.btn-link img,
.btn-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.btn-link:hover img,
.btn-link:hover svg {
    transform: translateX(4px);
}

/* ===== CATEGORY NAVIGATION ===== */
.category-nav {
    margin: 80px auto;
    max-width: 1728px;
    padding: 0 150px;
}

.category-nav__container {
    /* background: #FFFFFF; */
    border-radius: 8px;
    /* padding: 12px 32px; */
    /* box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08); */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1368px;
    margin: 0 auto;
    height: 55px;
}

/* Hide mobile dropdown on desktop */
.category-nav__mobile {
    display: none;
}

.category-nav__list {
    display: flex;
    gap: 53px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav__list li {
    margin: 0;
    padding: 0;
}

.category-nav__link {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4em;
    color: #28323C;
    text-decoration: none;
    padding: 0;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
}

.category-nav__link.active {
    color: #0072CE;
    font-weight: 500;
    background-color: white;
    padding: 10PX;
    border-radius: 10px;
}

.category-nav__link:hover {
    color: #0072CE;
}

.category-nav__search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.category-nav__search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    gap: 8px;
}

.category-nav__search button:hover {
    opacity: 0.7;
}

.category-nav__search-icon {
    width: 32px;
    height: 32px;
    display: block;
    color: #28323C;
}

/* Search text */
.category-nav__search-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4em;
    color: #28323C;
}

/* Inline Search Field Styles */
.category-nav__search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    gap: 8px;
}

.category-nav__search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    min-width: 300px;
}

.category-nav__search-field:focus-within {
    border-color: #007ACC;
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.category-nav__search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #28323C;
    padding: 4px 8px;
}

.category-nav__search-input::placeholder {
    color: #68747C;
    font-weight: 300;
}

.category-nav__search-submit,
.category-nav__search-clear {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28323C;
    transition: all 0.2s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.category-nav__search-submit:hover,
.category-nav__search-clear:hover {
    background: rgba(0, 122, 204, 0.1);
    color: #007ACC;
}

.category-nav__search-submit svg,
.category-nav__search-clear svg {
    width: 20px;
    height: 20px;
}

.category-nav__search-clear {
    color: #68747C;
}

.category-nav__search-clear:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
    margin: 60px auto 80px;
    max-width: 1728px;
    padding: 0 150px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 376px);
    gap: 40px 40px;
    margin: 0 auto 80px;
    justify-content: center;
    max-width: 1368px;
}

/* ===== ARTICLE CARD ===== */
.article-card {
    background: transparent;
    border-radius: 16px;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 376px;
    height: 408px;
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-card__image {
    background: #ACB4BC;
    width: 376px;
    height: 408px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 2px 16px 0px rgba(40, 50, 60, 0.16);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-card__tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FFFFFF;
    padding: 10px 18px 10px 16px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4286em;
    color: #28323C;
    z-index: 10;
    width: 80px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: auto;
}

.article-card__tag .label {
    display: block;
}

.article-card__overlay {
    background: #FFFFFF;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 376px;
    height: 156px;
    position: absolute;
    top: 252px;
    left: 0;
    border-radius: 0px 0px 16px 16px;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5714em;
}

.article-card__date {
    color: #007ACC;
    font-weight: 500;
}

.article-card__divider {
    width: 1px;
    height: 20px;
    background: #68747C;
    stroke-width: 1px;
}

.article-card__author {
    color: #68747C;
    font-weight: 300;
    line-height: 1.5714em;
}

.article-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    /* line-height: 1.4444em; */
    color: #28323C;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 56px;
}

.article-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #58A430;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4286em;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 14px 0px;
    border-radius: 8px;
    width: 115px;
    height: 24px;
}

.article-card__footer:hover {
    gap: 12px;
    color: #4A8F28;
}

.article-card__footer span {
    display: inline-block;
}

.article-card__footer img,
.article-card__footer svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.article-card__footer:hover img,
.article-card__footer:hover svg {
    transform: translateX(4px);
}

/* ===== LOAD MORE BUTTON ===== */
.load-more {
    margin: 80px auto 80px;
    text-align: center;
}

.load-more .btn-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    color: #288410;
    width: 166px;
    height: 40px;
    padding: 14px 0px;
    gap: 8px;
}

.load-more .btn-link svg {
    width: 24px;
    height: 24px;
}

/* Blog Disclaimer Section */
.blog-disclaimer {
    background-color: #F5F5F5; /* Light gray background */
    padding: 32px 233px;
    margin: 60px auto 80px;
    max-width: 1728px;
    border-radius: 8px;
}

.blog-disclaimer__text,
.blog-disclaimer__note {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6em;
    color: #28323C; /* Dark gray text */
    margin: 0;
}

.blog-disclaimer__text {
    margin-bottom: 16px;
}

.blog-disclaimer__note {
    margin-bottom: 0;
}

/* Blog Template Responsive Styles - See Main Media Queries Section Below */

/* Blog Specific - Tablet (1024px and below) */
@media (max-width: 1024px) {
    .hero {
        padding: 0 80px;
        margin: 48px auto 64px;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero__content {
        padding: 48px 32px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero__subtitle {
        font-size: 20px;
    }
    
    .hero__image {
        min-height: 300px;
    }
    
    .category-nav {
        margin: 64px auto;
        padding: 0 80px;
    }
    
    .category-nav__container {
        padding: 8px 24px;
    }
    
    .category-nav__list {
        gap: 32px;
    }
    
    .category-nav__link {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .category-nav__search {
        padding-left: 32px;
    }
    
    .category-nav__search-icon {
        width: 22px;
        height: 22px;
    }
    
    /* Inline search responsive */
    .category-nav__search-field {
        min-width: 250px;
    }
    
    .category-nav__search-input {
        font-size: 14px;
    }
    
    .articles-section {
        padding: 0 80px;
        margin: 64px auto;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .article-card__image {
        height: 240px;
    }
    
    .article-card__title {
        font-size: 18px;
        margin: 0 0 12px 0;
    }
    
    .article-card__footer {
        font-size: 15px;
    }
    
    .load-more {
        margin: 48px auto 64px;
    }
    
    .blog-disclaimer {
        padding: 24px 32px;
        margin: 48px auto 60px;
    }
    
    .blog-disclaimer__text,
    .blog-disclaimer__note {
        font-size: 13px;
    }
}

/* Blog Specific - Mobile (768px and below) */
@media (max-width: 768px) {
    .hero {
        padding: 0;
        margin: 0 auto 40px;
        max-width: 408px;
    }
    
    .hero__container {
        border-radius: 12px 12px 0px 0px;
        max-width: 408px;
        /* min-height: 630px; */
        grid-template-columns: 1fr;
        background: #ACB4BC;
    }
    
    .hero__content {
        padding: 24px 20px;
        gap: 16px;
        border-radius: 0px 0px 12px 12px;
        width: auto;
        height: auto;
    }
    
    .hero__title {
        font-size: 24px;
        line-height: 1.3;
        color: #28323C;
        width: auto;
        height: auto;
    }
    
    .hero__subtitle {
        font-size: 16px;
        line-height: 1.4;
        color: #007ACC;
        width: auto;
        height: auto;
    }
    
    .btn-link {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .btn-link svg {
        width: 16px;
        height: 16px;
    }
    
    .hero__image {
        min-height: 200px;
        order: -1;
        background: #ACB4BC;
    }
    
    .hero__container {
        display: flex;
        flex-direction: column;
    }
    
    /* Mobile category navigation - Dropdown style as per Figma */
    .category-nav {
        margin: 32px auto 48px;
        padding: 0 16px;
    }
    
    .category-nav__container {
        width: 100%;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    
    /* Hide desktop navigation list on mobile */
    .category-nav__list--desktop {
        display: none !important;
    }
    
    /* Show mobile dropdown */
    .category-nav__mobile {
        display: block;
        position: relative;
        width: 100%;
    }
    
    .category-nav__select {
        width: 100%;
        height: 48px;
        background: #FAFAFA;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        padding: 12px 48px 12px 16px;
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        color: #333333;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
        box-shadow: 0px 2px 4px 0px rgba(48, 48, 48, 0.04);
        transition: all 0.2s ease;
    }
    
    .category-nav__select:focus {
        outline: none;
        border-color: #0072CE;
        box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.1);
    }
    
    .category-nav__select-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        color: #333333;
        pointer-events: none;
        transition: transform 0.2s ease;
    }
    
    .category-nav__select:focus ~ .category-nav__select-icon {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .articles-section {
        padding: 0 16px;
        margin: 32px auto 48px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .article-card {
        border-radius: 16px;
        box-shadow: 0px 2px 16px 0px rgba(40, 50, 60, 0.16);
        width: 376px;
        height: 408px;
    }
    
    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0px 4px 24px 0px rgba(40, 50, 60, 0.2);
    }
    
    .article-card__image {
        height: 252px;
        background: #ACB4BC;
    }
    
    .article-card__tag {
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4286em;
        top: 8px;
        left: 8px;
        border-radius: 8px;
    }
    
    .article-card__overlay {
        padding: 16px 24px;
        gap: 16px;
        height: 156px;
    }
    
    .article-card__meta {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5714em;
        gap: 16px;
    }
    
    .article-card__divider {
        height: 20px;
        stroke-width: 1px;
    }
    
    .article-card__author {
        font-weight: 300;
        line-height: 1.5714em;
    }
    
    .article-card__title {
        font-size: 18px;
        font-weight: 300;
        line-height: 1.4444em;
        margin: 0 0 8px 0;
        color: #28323C;
        height: 56px;
    }
    
    .article-card__footer {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4286em;
        color: #58A430;
        padding: 14px 0;
        width: 115px;
        height: 24px;
    }
    
    .article-card__footer img,
    .article-card__footer svg {
        width: 16px;
        height: 16px;
    }
    
    .load-more {
        margin: 40px auto 48px;
    }
    
    .blog-disclaimer {
        padding: 20px 24px;
        margin: 40px auto 48px;
        border-radius: 6px;
    }
    
    .blog-disclaimer__text,
    .blog-disclaimer__note {
        font-size: 12px;
        line-height: 1.5em;
    }
    
    .blog-disclaimer__text {
        margin-bottom: 12px;
    }
    
    /* Responsive image styles for mobile */
    .wp-image-84333 {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto 1em;
        display: block;
    }
    
    .alignright {
        float: none !important;
        margin-left: 0;
        margin-right: 0;
    }
}

.wp-image-84333 {
    float: none;
}

/* Blog Specific - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 20px 16px;
        margin: 0 auto 40px;
    }
    
    .hero__container {
        border-radius: 8px;
        padding:20px;
    }
    
    .hero__content {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .hero__title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .hero__image {
        min-height: 320px;
    }
    
    .btn-link {
        font-size: 13px;
    }
    
    .btn-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Mobile category dropdown - Small screens */
    .category-nav {
        margin: 24px auto 40px;
        padding: 0 16px;
    }
    
    .category-nav__select {
        height: 44px;
        font-size: 14px;
        padding: 10px 44px 10px 14px;
        border-radius: 6px;
    }
    
    .category-nav__select-icon {
        right: 14px;
        width: 18px;
        height: 18px;
    }
    
    /* Inline search mobile */
    .category-nav__search-field {
        min-width: 200px;
        padding: 6px 10px;
    }
    
    .category-nav__search-input {
        font-size: 13px;
        padding: 2px 6px;
    }
    
    .category-nav__search-submit svg,
    .category-nav__search-clear svg {
        width: 18px;
        height: 18px;
    }
    
    .articles-section {
        padding: 0 16px;
        margin: 24px auto 40px;
    }
    
    .articles-grid {
        gap: 20px;
        margin-bottom: 32px;
    }
    
    .article-card {
        border-radius: 8px;
    }
    
    .article-card__image {
        height: 265px;
    }
    
    .article-card__tag {
        padding: 4px 10px;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2727;
        top: 10px;
        left: 10px;
    }
    
    .article-card__overlay {
        padding: 12px;
        gap: 6px;
    }
    
    .article-card__meta {
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2727;
        gap: 6px;
    }
    
    .article-card__divider {
        height: 10px;
    }
    
    .article-card__title {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.3571;
        margin: 0 0 6px 0;
    }
    
    .article-card__footer {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3333;
        gap: 6px;
    }
    
    .article-card__footer img,
    .article-card__footer svg {
        width: 14px;
        height: 14px;
    }
    
    .load-more {
        margin: 32px auto 40px;
    }
    
    .load-more .btn-link {
        font-size: 16px;
    }
    
    .blog-disclaimer {
        padding: 16px 20px;
        margin: 32px auto 40px;
    }
    
    .blog-disclaimer__text,
    .blog-disclaimer__note {
        font-size: 11px;
        line-height: 1.5em;
    }
    
    .blog-disclaimer__text {
        margin-bottom: 10px;
    }
}

/* ===================================
   12. SINGLE POST TEMPLATE - Matching Figma Design
   =================================== */
   
.single-post-template {
    background-color: #F0F1F2;
    min-height: 100vh;
}
.single-post{
    background-color: #F0F1F2;
}
/* Post Navigation */
.single-navigation {
    max-width: 1728px;
    margin: 0 auto;
    padding: 40px 150px 0;
}

.single-navigation__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.single-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #28323C;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 12px 16px;
    border-radius: 8px;
    background: transparent;
}

.single-nav-link:hover {
    color: #007ACC;
    background: rgba(0, 122, 204, 0.05);
}

.single-nav-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Previous Post Link */
.single-nav-link--prev:hover svg {
    transform: translateX(-4px);
}

/* Next Post Link */
.single-nav-link--next:hover svg {
    transform: translateX(4px);
}

/* Back to Blog Link */
.single-nav-link--back {
    margin: 0 auto;
    font-weight: 500;
    color: #007ACC;
}

.single-nav-link--back:hover {
    background: rgba(0, 122, 204, 0.1);
}

/* Navigation Text */
.single-nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.single-nav-label {
    font-size: 12px;
    font-weight: 500;
    color: #68747C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-nav-title {
    font-size: 14px;
    font-weight: 400;
    color: #28323C;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-nav-link:hover .single-nav-label {
    color: #007ACC;
}

.single-nav-link:hover .single-nav-title {
    color: #007ACC;
}

/* Header Section */
.single-header {
    margin: 32px auto 80px;
    max-width: 1728px;
    /* padding: 0 150px; */
}

.single-header__container {
    display: grid;
    grid-template-columns: 790px 790px;
    background: #ACB4BC;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 4px 8px 0px rgba(48, 48, 48, 0.08);
    min-height: 520px;
    max-width: 1580px;
    margin: 0 auto;
}

.single-header__content {
    background: #FFFFFF;
    padding: 64px 75px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 12px 0px 0px 12px;
}

.single-header__text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 540px;
}

.single-header__date {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25em;
    color: #007ACC;
}

.single-header__title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1667em;
    color: #28323C;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.single-header__subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333em;
    color: #007ACC;
    margin: 0;
}

.single-header__image {
    background: #ACB4BC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #68747C;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

.single-header__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-placeholder-text {
    font-family: 'Avenir Next', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #68747C;
}

/* Content Section */
.single-content {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.single-content__body {
    font-family: 'Outfit', sans-serif;
}

.single-content__body p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    color: #141A1E;
    margin: 0 0 24px 0;
}

.single-content__body h2,
.single-content__body h3,
.single-content__body h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25em;
    color: #000000;
    margin: 48px 0 24px 0;
}

.single-content__body h2:first-child,
.single-content__body h3:first-child {
    margin-top: 0;
}

.single-content__body ul,
.single-content__body ol {
    margin: 24px 0;
    padding-left: 24px;
}

.single-content__body li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    color: #141A1E;
    margin-bottom: 12px;
}

.single-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
}

.single-content__body blockquote {
    background: #F5F5F5;
    border-left: 4px solid #007ACC;
    padding: 24px 32px;
    margin: 40px 0;
    font-size: 18px;
    font-style: italic;
    color: #28323C;
}

.single-content__body hr {
    border: none;
    border-top: 1px solid #ACB4BC;
    margin: 48px 0;
}

.single-content__body pre,
.single-content__body code {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.single-content__body pre {
    padding: 24px;
    overflow-x: auto;
    margin: 24px 0;
}

.single-content__body pre code {
    padding: 0;
    background: transparent;
}

/* Share Section */
.single-share {
    margin: 80px 0 48px;
    padding: 48px 0;
    border-top: 1px solid #ACB4BC;
}

.single-share__title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3333em;
    color: #141A1E;
    text-align: center;
    margin: 0 0 32px 0;
}

.single-share__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.share-icon:hover {
    transform: translateY(-4px);
}

.share-icon svg {
    width: 56px;
    height: 56px;
}

/* Disclaimer */
.single-disclaimer {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    color: #28323C;
    margin: 48px 0 0 0;
    padding: 24px;
    background: #F5F5F5;
    border-radius: 8px;
}

/* ===================================
   13. RELATED POSTS SECTION
   =================================== */

/* Related Posts Section */
.Related-Posts {
    padding: 80px 0;
    /* background: white; */
}

.Related-Posts .container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 150px;
    width: 100%;
    box-sizing: border-box;
}

.Related-Posts-headline {
    font-size: 30px;
    font-weight: 600;
    text-align: left;
    color: #0f0f10;
    margin-bottom: 48px;
}

.Related-Posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.Related-Posts-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 408px;
}

.Related-Posts-card:hover {
    transform: translateY(-4px);
}

.Related-Posts-card .news-image {
    height: 252px;
    width: 100%;
    background: #ACB4BC;
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
    box-sizing: border-box;
    max-height: 252px;
    min-height: 252px;
    flex-shrink: 0;
}

.Related-Posts-card .news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.Related-Posts-card .article-card__overlay {
    background: #FFFFFF;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 156px;
    border-radius: 0px 0px 12px 12px;
    margin-top: 0;
}

.Related-Posts-card .article-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5714em;
}

.Related-Posts-card .article-card__date {
    color: #007ACC;
    font-weight: 500;
}

.Related-Posts-card .article-card__divider {
    width: 1px;
    height: 20px;
    background: #68747C;
    stroke-width: 1px;
}

.Related-Posts-card .article-card__author {
    color: #68747C;
    font-weight: 300;
    line-height: 1.5714em;
}

.Related-Posts-card .article-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #28323C;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
    line-height: 1.5;
}

.Related-Posts-card .article-card__title a {
    color: #28323C;
    text-decoration: none;
}

.Related-Posts-card .article-card__title a:hover {
    color: #007ACC;
}

.Related-Posts-card .article-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #58A430;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4286em;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0;
    margin-top: auto;
}

.Related-Posts-card .article-card__footer:hover {
    gap: 12px;
    color: #4A8F28;
}

.Related-Posts-card .article-card__footer span {
    display: inline-block;
}

.Related-Posts-card .article-card__footer svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.Related-Posts-card .article-card__footer:hover svg {
    transform: translateX(4px);
}

/* Single Post Responsive Styles - See Main Media Queries Section */

/* Single Post Specific - Tablet */
@media (max-width: 1024px) {
    .single-navigation {
        padding: 32px 80px 0;
    }
    
    .single-navigation__container {
        gap: 16px;
    }
    
    .single-nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .single-nav-link svg {
        width: 20px;
        height: 20px;
    }
    
    .single-nav-title {
        max-width: 150px;
        font-size: 13px;
    }
    
    .single-nav-label {
        font-size: 11px;
    }
    
    .single-header {
        padding: 0 80px;
        margin: 24px auto 64px;
    }
    
    .single-header__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .single-header__content {
        padding: 48px 32px;
        border-radius: 12px 12px 0 0;
    }
    
    .single-header__text {
        max-width: 100%;
    }
    
    .single-header__title {
        font-size: 36px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .single-header__subtitle {
        font-size: 20px;
    }
    
    .single-header__image {
        min-height: 300px;
    }
    
    .single-content {
        padding: 0 80px;
    }
    
    .single-content__body h2,
    .single-content__body h3,
    .single-content__body h4 {
        font-size: 28px;
    }
    
    /* Related Posts Tablet */
    .Related-Posts .container {
        padding: 0 80px;
    }
    
    .Related-Posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .Related-Posts-card {
        height: auto;
        min-height: 400px;
    }
    
    .Related-Posts-card .news-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .Related-Posts-card .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .Related-Posts-card .news-image-link {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .Related-Posts-card .article-card__overlay {
        height: auto;
        min-height: 140px;
    }
}

/* Single Post Specific - Mobile */
@media (max-width: 768px) {
    .single-navigation {
        padding: 24px 16px 0;
    }
    
    .single-navigation__container {
        display: grid;
        grid-template-columns: 90px 1fr 90px;
        gap: 6px;
        width: 100%;
    }
    
    .single-nav-link {
        padding: 10px 6px;
        font-size: 11px;
        justify-content: center;
    }
    
    .single-nav-link svg {
        width: 20px;
        height: 20px;
    }
    
    .single-nav-link--prev {
        justify-content: flex-start;
        background: transparent;
        border: 1px solid #E5E7EB;
        grid-column: 1;
    }
    
    .single-nav-link--back {
        background: rgba(0, 122, 204, 0.1);
        color: #007ACC;
        font-weight: 500;
        justify-content: center;
        grid-column: 2;
    }
    
    .single-nav-link--next {
        justify-content: flex-end;
        background: transparent;
        border: 1px solid #E5E7EB;
        grid-column: 3;
    }
    
    .single-nav-text {
        flex: 1;
    }
    
    .single-nav-title {
        max-width: 100%;
        white-space: normal;
        overflow: visible;
    }
    
    .single-header {
        padding: 0 16px;
        margin: 16px auto 40px;
    }
    
    .single-header__container {
        border-radius: 12px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .single-header__content {
        padding: 24px 20px;
        gap: 16px;
        border-radius: 0px 0px 12px 12px;
        order: 2;
    }
    
    .single-header__text {
        gap: 16px;
    }
    
    .single-header__title {
        font-size: 24px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .single-header__subtitle {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .single-header__date {
        font-size: 14px;
    }
    
    .single-header__image {
        min-height: 200px;
        order: 1;
        border-radius: 12px 12px 0 0;
    }
    
    .single-content {
        padding: 0 16px;
        margin: 0 auto 64px;
    }
    
    .single-content__body p {
        font-size: 14px;
    }
    
    .single-content__body h2,
    .single-content__body h3,
    .single-content__body h4 {
        font-size: 20px;
        margin: 32px 0 16px 0;
    }
    
    .single-share {
        margin: 48px 0 32px;
        padding: 32px 0;
    }
    
    .single-share__title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .single-share__icons {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .share-icon svg {
        width: 44px;
        height: 44px;
    }
    
    .single-disclaimer {
        font-size: 12px;
        padding: 16px;
        margin: 32px 0 0 0;
    }
    
    /* Related Posts Mobile */
    .Related-Posts {
        padding: 64px 0;
    }
    
    .Related-Posts .container {
        padding: 0 16px;
    }
    
    .Related-Posts-headline {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .Related-Posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 376px;
        margin: 0 auto;
    }
    
    .Related-Posts-card {
        height: auto;
        width: 100%;
        margin: 0 auto;
    }
    
    .Related-Posts-card .news-image {
        height: 252px;
        min-height: 252px;
        max-height: 252px;
        width: 100%;
    }
    
    .Related-Posts-card .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .Related-Posts-card .news-image-link {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .Related-Posts-card .article-card__overlay {
        height: auto;
        min-height: 156px;
        padding: 16px 24px;
    }
}

/* Single Post Specific - Small Mobile */
@media (max-width: 480px) {
    .single-navigation {
        padding: 20px 16px 0;
    }
    
    .single-nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .single-nav-link svg {
        width: 20px;
        height: 20px;
    }
    
    .single-nav-title {
        font-size: 12px;
    }
    
    .single-nav-label {
        font-size: 10px;
    }
    
    .single-header {
        margin: 12px auto 32px;
    }
    
    .single-header__container {
        border-radius: 8px;
    }
    
    .single-header__content {
        padding: 20px 16px;
    }
    
    .single-header__title {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .single-header__subtitle {
        font-size: 14px;
    }
    
    .single-header__image {
        min-height: 180px;
    }
    
    .single-content__body h2,
    .single-content__body h3,
    .single-content__body h4 {
        font-size: 18px;
    }
    
    .share-icon svg {
        width: 36px;
        height: 36px;
    }
    
    /* Related Posts Small Mobile */
    .Related-Posts {
        padding: 48px 0;
    }
    
    .Related-Posts .container {
        padding: 0 16px;
    }
    
    .Related-Posts-headline {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .Related-Posts-grid {
        gap: 20px;
        max-width: 100%;
    }
    
    .Related-Posts-card {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .Related-Posts-card .news-image {
        /* height: 200px;
        min-height: 200px;
        max-height: 200px; */
        width: 100%;
        flex-shrink: 0;
    }
    
    .Related-Posts-card .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .Related-Posts-card .news-image-link {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .Related-Posts-card .article-card__overlay {
        padding: 12px 16px;
        height: auto;
        min-height: 140px;
        gap: 12px;
    }
    
    .Related-Posts-card .article-card__meta {
        font-size: 12px;
        gap: 12px;
    }
    
    .Related-Posts-card .article-card__title {
        font-size: 16px;
        line-height: 1.4;
        min-height: auto;
    }
    
    .Related-Posts-card .article-card__footer {
        font-size: 13px;
    }
}

/* Container for the whole block */
.disability-services-contact-info {
    
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Each column */
.disability-services-contact-col {
    display: flex;
    align-items: center;
    gap: 8px;                     /* space between "Phone:" / "Email:" and the value */
}

/* Bold labels */
.disability-services-contact-col strong {
    font-weight: bold;
    white-space: nowrap;
}

/* Links styling - blue, underlined on hover only */
.disability-services-contact-col a {
    color: #4a8f28;
    text-decoration: none;
}

.disability-services-contact-col a:hover,
.disability-services-contact-col a:focus {
    text-decoration: underline;
}

/* Desktop layout - side by side and centered */
@media (min-width: 1025px) {
    .disability-services-contact-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 80px;                   /* space between Phone and Email */
    }
    
    .disability-services-contact-col {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

/* Mobile & Tablet layout - stacked and left-aligned */
@media (max-width: 768px) {
    .disability-services-contact-info {
        display: block;              /* forces vertical stacking */
        text-align: left;            /* left-aligned */
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .disability-services-contact-col {
        margin-bottom: 12px;         /* space between Phone and Email lines */
    }
    
    .disability-services-contact-col:last-child {
        margin-bottom: 0;
    }
}
/* new changes for career page end */
.career-service-boxes{
        background: #f1f2f2;
    padding: 20px
}
.career-service-boxes-title{
    border-bottom: 1px solid #424142;
    padding-bottom: 5px;
}
.career-service-icons i , .career-service-icons a{
color: #074975;
}
.career-service-icons i {
    padding-right: 10px;
}
.career-service-right-box{
    border-left: 3px solid #004876;
    padding-left: 50px;
}
.career-service-list-color li a{
    color: #074975;
}

.student-transcripts {
    display: block;
    border: 1px solid #ebebeb;
}
.student-transcripts-inner{
    clear: both;
    line-height: 1.65em;
}
.transcript-steps-inner{
    display: flex;
    align-items: stretch;
    align-content: stretch;
    border: 3px solid;
    border-color: #074a75;
}
.transcripts-bold{
    display: flex;
    flex: none;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 5em;
    line-height: 100%;
    font-weight: bold;
    color: #074a75;
    padding: 10px;
    border-right: 3px solid #074a75;
}
.transcripts-bold-inner{
    display: flex;
    flex: 1;
    align-items: center;
    background: #FC8300;
    padding: 20px;
    color: #393939;
    font-weight: 600;
}
.request-transcripts-btn{padding-top: 40px;padding-bottom: 40px;}
.provo-transcripts-inner{    border: 1px solid;
    padding: 20px;}
.field-italic-marked{
    font-style: italic;
}
.student-application-main{
    display: none;
}

@media screen and (min-width: 767px) {
    .custom-container-full-size {
        max-width: 1728px;
        padding: 40px 150px;
        margin: 0px auto;
    }
}
@media (max-width: 768px) {
    .custom-container-full-size {
        padding: 20px;
    }
}
.av_textblock_section a{color:#000}
.program-navigation-bar-nav li:hover{
    background: #fff;
}
.program-navigation-bar-nav li{
    padding: 10px;
}
.program-navigation-bar-nav li:target{
        background-color: #f0f0f0;
    border-left: 4px solid #007BFF;
    transition: all 0.3s ease;
}
.main-color-table tr:nth-child(odd){
background:#f8f8f8
}
.main-color-table tr:nth-child(even){
background:#ffffff
}
/* new changes for career page end */

/* sitemap root list */
.html-sitemap ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* first level items */
.html-sitemap > ul > li {
  margin: 4px 0;
}

/* child pages (one level deeper) */
.html-sitemap ul ul li {
  margin: 2px 0;
  padding-left: 20px;   /* indentation for inner pages */
  font-size: 0.95em;
}

/* even deeper levels if needed */
.html-sitemap ul ul ul li {
  padding-left: 40px;
}
.html-sitemap ul {
  list-style-type: disc;        /* Shows bullet points */
  list-style-position: outside; /* Keeps bullets outside the content */
  padding-left: 20px;         /* Adds space for bullets */
}
.html-sitemap ul ul,
.html-sitemap ul ul ul {
  list-style: disc outside;
}
.html-sitemap ul {
  list-style: disc outside;
  padding-left: 20px; /* Ensures bullets are visible */
}

/* sitemap root list */
.html-sitemap ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* first level items */
.html-sitemap > ul > li {
  margin: 4px 0;
}

/* child pages (one level deeper) */
.html-sitemap ul ul li {
  margin: 2px 0;
  padding-left: 20px;   /* indentation for inner pages */
  font-size: 0.95em;
}

/* even deeper levels if needed */
.html-sitemap ul ul ul li {
  padding-left: 40px;
}
.html-sitemap ul {
  list-style-type: disc;        /* Shows bullet points */
  list-style-position: outside; /* Keeps bullets outside the content */
  padding-left: 20px;         /* Adds space for bullets */
}
.html-sitemap ul ul,
.html-sitemap ul ul ul {
  list-style: disc outside;
}
.html-sitemap ul {
  list-style: disc outside;
  padding-left: 20px; /* Ensures bullets are visible */
}      