/* DNCG Pathways Core Styles - Part 1: Variables & Base */
/* Clean, neutral styling for multi-site use */

:root {
    /* Color Palette - will be overridden by site-specific CSS */
    --dncg-primary-blue: #1e3a8a;
    --dncg-secondary-blue: #3b82f6;
    --dncg-teal: #0891b2;
    --dncg-light-blue: #dbeafe;
    --dncg-white: #ffffff;
    --dncg-dark: #1e293b;
    --dncg-gray: #64748b;
    --dncg-light-gray: #94a3b8;
    --dncg-border: #e2e8f0;
    --dncg-success: #059669;
    --dncg-warning: #d97706;
    --dncg-error: #dc2626;

    /* Typography */
    --dncg-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --dncg-font-size-base: 16px;
    --dncg-line-height-base: 1.6;

    /* Spacing */
    --dncg-spacing-xs: 0.25rem;
    --dncg-spacing-sm: 0.5rem;
    --dncg-spacing-md: 1rem;
    --dncg-spacing-lg: 1.5rem;
    --dncg-spacing-xl: 2rem;
    --dncg-spacing-2xl: 3rem;
    --dncg-spacing-3xl: 4rem;

    /* Borders */
    --dncg-border-radius-sm: 0.375rem;
    --dncg-border-radius-md: 0.5rem;
    --dncg-border-radius-lg: 0.75rem;
    --dncg-border-radius-xl: 1rem;

    /* Shadows */
    --dncg-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --dncg-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --dncg-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --dncg-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --dncg-transition-fast: 0.15s ease-in-out;
    --dncg-transition-normal: 0.3s ease-in-out;
    --dncg-transition-slow: 0.5s ease-in-out;
}

/* ================================
   BASE & RESET STYLES
   ================================ */

.dncg-subject-area-wrapper * {
    box-sizing: border-box;
}

.dncg-subject-area-wrapper {
    font-family: var(--dncg-font-family);
    font-size: var(--dncg-font-size-base);
    line-height: var(--dncg-line-height-base);
    color: var(--dncg-dark);
    background: var(--dncg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Container */
.dncg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--dncg-spacing-md);
}

.dncg-container-wide {
    max-width: 90%;
}

@media (min-width: 768px) {
    .dncg-container {
        padding: 0 var(--dncg-spacing-xl);
    }
}

/* ================================
   TYPOGRAPHY
   ================================ */

.dncg-subject-area-wrapper h1,
.dncg-subject-area-wrapper h2,
.dncg-subject-area-wrapper h3,
.dncg-subject-area-wrapper h4,
.dncg-subject-area-wrapper h5,
.dncg-subject-area-wrapper h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--dncg-spacing-md);
    color: var(--dncg-dark);
}

.dncg-subject-area-wrapper h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    color: white;
}

.dncg-subject-area-wrapper h2 {
    font-size: 1.875rem;
}

.dncg-subject-area-wrapper h3 {
    font-size: 1.75rem;
}

.dncg-subject-area-wrapper h4 {
    font-size: 1.5rem;
}

.dncg-subject-area-wrapper h5 {
    font-size: 1.125rem;
}

.dncg-subject-area-wrapper h6 {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .dncg-subject-area-wrapper h1 {
        font-size: 3.5rem;
    }

    .dncg-subject-area-wrapper h2 {
        font-size: 2.25rem;
    }

    .dncg-subject-area-wrapper h3 {
        font-size: 1.875rem;
    }
}

/* DNCG Pathways Core Styles - Part 2: Navigation & Hero */

/* ================================
   PAGE NAVIGATION
   ================================ */

.dncg-page-navigation {
    position: sticky;
    top: 0;
    margin-top: -3rem;
    width: 95%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    transition: all 0.3s ease;
    padding: 1rem;
    margin-bottom: -2rem;
    background: var(--dncg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Navigation wrapper */
.dncg-nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.dncg-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

/* Navigation pills */
.dncg-nav-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.dncg-nav-label {
    font-weight: 600;
    color: var(--dncg-gray);
    margin-right: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
}

.dncg-nav-pill {
    padding: 8px 14px;
    background: var(--dncg-white);
    border: 1px solid var(--dncg-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--dncg-gray);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--dncg-transition-fast);
    white-space: nowrap;
}

.dncg-nav-pill:hover,
.dncg-nav-pill.active {
    background: var(--dncg-primary-blue);
    color: var(--dncg-white);
    border-color: var(--dncg-primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    text-decoration: none;
}

/* Apply Now Button */
.dncg-apply-wrapper {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.dncg-apply-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dncg-teal) 0%, var(--dncg-primary-blue) 100%);
    color: var(--dncg-white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--dncg-transition-normal);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
    position: relative;
    overflow: hidden;
}

.dncg-apply-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.dncg-apply-now-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.4);
    color: var(--dncg-white);
    text-decoration: none;
}

.dncg-apply-now-btn:hover::before {
    left: 100%;
}

.dncg-apply-text {
    font-weight: 700;
}

.dncg-apply-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--dncg-transition-normal);
}

.dncg-apply-now-btn:hover .dncg-apply-arrow {
    transform: translateX(3px);
}

/* Scrolled state */
.dncg-page-navigation.dncg-nav-scrolled {
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dncg-page-navigation.dncg-nav-scrolled .dncg-nav-inner {
    padding: 10px 0;
}

.dncg-page-navigation.dncg-nav-scrolled .dncg-apply-now-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ================================
   HERO SECTION
   ================================ */

.dncg-hero-section {
    position: relative;
    min-height: 50vh;
    display: block;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dncg-primary-blue);
    overflow: hidden;
}

/* Gradient overlay */
.dncg-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.95) 0%,
        rgba(37, 99, 235, 0.85) 50%,
        rgba(6, 182, 212, 0.75) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Ensure all content sits above the gradient */
.dncg-hero-content,
.dncg-hero-video-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.dncg-hero-content {
    padding: 80px 0;
}

.dncg-hero-headline {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dncg-white);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* Subject highlight - Clean version */
.dncg-hero-headline .subject-highlight {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0 14px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    font-size: 2.5rem;
    line-height: 1.2;
    text-shadow: none;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (min-width: 768px) {
    .dncg-hero-headline .subject-highlight {
        font-size: 3.5rem;
    }
}

.dncg-hero-intro {
    font-size: 1.2rem;
    color: var(--dncg-white);
    margin-bottom: 40px;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    opacity: 0.95;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.dncg-hero-intro p {
    margin-bottom: 0;
}

.dncg-hero-audience-selector {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.dncg-hero-audience-selector .dncg-selector-label {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dncg-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

/* Video Hero Layout */
.dncg-hero-with-video {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.dncg-hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dncg-hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.dncg-hero-video-content {
    position: relative;
    padding: 80px 0;
    min-height: auto;
    display: block;
    align-items: center;
}

.dncg-hero-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.dncg-hero-content-column {
    order: 2;
    position: relative;
}

.dncg-hero-video-column {
    order: 1;
    position: relative;
}

/* Video Container */
.dncg-hero-video-container {
    position: relative;
    max-width: 100%;
}

.dncg-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.dncg-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.dncg-video-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--dncg-white);
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

/* Video Hero Content Adjustments */
.dncg-hero-with-video .dncg-hero-headline {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.dncg-hero-with-video .dncg-hero-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.dncg-hero-with-video .dncg-hero-audience-selector {
    margin-top: 30px;
}

/* Audience Dropdown in Hero */
.dncg-hero-top-controls {
    position: absolute;
    top: 20px;
    z-index: 10;
}

.dncg-audience-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--dncg-transition-normal);
}

.dncg-audience-compact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.dncg-audience-compact label {
    color: var(--dncg-white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    white-space: nowrap;
}

.dncg-audience-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dncg-primary-blue);
    cursor: pointer;
    transition: all var(--dncg-transition-normal);
    min-width: 150px;
    outline: none;
    margin-bottom: 0;
}

.dncg-audience-dropdown:hover {
    background: var(--dncg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dncg-audience-dropdown:focus {
    outline: 2px solid var(--dncg-teal);
    outline-offset: 2px;
}

/* Hero Responsive Design */
@media (min-width: 768px) {
    .dncg-hero-section {
        min-height: 50vh;
        display:flex;
    }

    .dncg-hero-headline {
        font-size: 3.5rem;
    }

    .dncg-hero-intro {
        font-size: 1.4rem;
    }

    .dncg-hero-content {
        padding: 100px 0;
    }

    .dncg-hero-video-content {
        padding: 70px 0;
        display: flex;
        min-height:60vh;
    }

    .dncg-hero-video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .dncg-hero-content-column {
        order: 1;
    }

    .dncg-hero-video-column {
        order: 2;
    }

    .dncg-hero-with-video .dncg-hero-headline {
        font-size: 2.5rem;
    }

    .dncg-hero-with-video .dncg-hero-intro {
        font-size: 1.2rem;
    }

    .dncg-hero-top-controls {
        right: 20px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .dncg-page-navigation {
        margin-top: -40px;
        margin-bottom: -40px;
        padding: 40px 0;
    }
    
    .dncg-nav-inner {
        flex-direction: column;
        gap: 15px;
        padding: 12px 0;
    }
    
    .dncg-nav-pills {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
    }
    
    .dncg-nav-label {
        display: none;
    }
    
    .dncg-nav-pill {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .dncg-apply-wrapper {
        width: 100%;
    }
    
    .dncg-apply-now-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* DNCG Pathways Core Styles - Part 3: Features Section */

/* ================================
   FEATURES SECTION - CLEAN VERSION
   ================================ */

.dncg-features-section {
    padding: 80px 0;
    background: var(--dncg-white);
    position: relative;
}

.dncg-features-section-breakout {
    overflow: visible;
}

/* Default: Two column layout (no testimonial) */
.dncg-features-grid.dncg-no-testimonial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .dncg-features-grid.dncg-no-testimonial {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

/* Three column layout with testimonial (no image) */
.dncg-features-grid.dncg-testimonial-no-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .dncg-features-grid.dncg-testimonial-no-image {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .dncg-features-grid.dncg-testimonial-no-image {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
        align-items: stretch;
    }
}

/* Three column layout with testimonial (with image) */
.dncg-features-grid.dncg-testimonial-with-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .dncg-features-grid.dncg-testimonial-with-image {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .dncg-features-grid.dncg-testimonial-with-image {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
        align-items: stretch;
    }
}

/* Clean testimonial styling */
.dncg-testimonial-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    position: relative;
    text-align: center;
    transition: all var(--dncg-transition-normal);
}

.dncg-testimonial-card:hover {
    transform: translateY(-2px);
}

/* Clean quote box */
.dncg-testimonial-quote {
    background: linear-gradient(135deg, var(--dncg-primary-blue) 0%, var(--dncg-secondary-blue) 100%);
    padding: 2rem;
    margin: 0 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    color: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
}

/* Speech bubble pointer */
.dncg-testimonial-quote::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--dncg-secondary-blue);
    z-index: 2;
}

/* Circular testimonial image */
.dncg-testimonial-image {
    margin-top: 0;
    position: relative;
    text-align: center;
}

.dncg-testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    transition: all var(--dncg-transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--dncg-white);
}

.dncg-testimonial-image img:hover {
    transform: scale(1.05);
}

/* Clean attribution styling */
.dncg-testimonial-attribution {
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
}

.dncg-testimonial-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dncg-dark);
    margin-bottom: 0.25rem;
    display: table;
    line-height: 1.2;
}

.dncg-testimonial-course {
    font-size: 0.9rem;
    color: var(--dncg-gray);
    font-weight: 600;
    margin: 0;
    display: table;
    line-height: 1.3;
}

.dncg-testimonial-additional {
    padding:2rem;
    text-align:left;
}
.dncg-testimonial-additional p {
    font-size:1rem;
}

/* Avatar fallback */
.dncg-testimonial-avatar-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dncg-light-blue), var(--dncg-primary-blue));
    display: inline-block;
    margin: 10px auto;
    font-size: 2.5rem;
    color: var(--dncg-white);
    font-weight: 700;
    line-height: 120px;
    text-align: center;
    box-shadow: var(--dncg-shadow-md);
    transition: all var(--dncg-transition-normal);
}

/* Hide avatar fallback when no image */
.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-avatar-fallback {
    display: none;
}

/* Special positioning for no-image testimonials */
.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-attribution {
    position: relative;
    margin-top: 1.5rem;
    text-align: center;
}

/* Adjust quote for no-image layout */
.dncg-features-grid.dncg-testimonial-no-image .dncg-testimonial-quote {
    margin-bottom: 1.5rem;
}

/* With-image testimonial adjustments */
.dncg-features-grid.dncg-testimonial-with-image .dncg-testimonial-attribution {
    margin-top: 1rem;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .dncg-testimonial-quote {
        font-size: 1rem;
        padding: 1.5rem;
    }
    
    .dncg-testimonial-image img,
    .dncg-testimonial-avatar-fallback {
        width: 100px;
        height: 100px;
    }
    
    .dncg-testimonial-name {
        font-size: 1.1rem;
    }
    
    .dncg-testimonial-course {
        font-size: 0.85rem;
    }
}

/* ================================
   FEATURE CARDS
   ================================ */

.dncg-feature-card {
    background: var(--dncg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--dncg-shadow-lg);
    border: 1px solid var(--dncg-border);
    transition: all var(--dncg-transition-normal);
    position: relative;
}

.dncg-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dncg-shadow-xl);
}

.dncg-feature-card h3 {
    color: var(--dncg-primary-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Feature list styling */
.dncg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dncg-feature-item {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 1rem;
    padding: 0;
}

/* Bullet column */
.dncg-bullet {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 2rem;
    padding-top: 0.1rem;
}

/* Content column */
.dncg-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Heading styling */
.dncg-heading {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
    color: #333;
    margin: 0;
}

/* Description styling */
.dncg-description {
    line-height: 1.4;
    color: #666;
    margin: 0;
}

/* Legacy items */
.dncg-feature-item.legacy .dncg-description {
    color: #333;
    font-weight: normal;
}

/* Icon styling */
.dncg-emoji {
    font-size: 1.5rem;
    display: block;
    line-height: 1;
}

.dncg-checkmark {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Highlight stat styling */
.dncg-highlight-stat {
    background: linear-gradient(135deg, var(--dncg-teal), var(--dncg-secondary-blue));
    color: var(--dncg-white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}

/* CTA Button styling */
.dncg-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dncg-teal);
    color: var(--dncg-white);
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--dncg-transition-normal);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.dncg-cta-button:hover {
    background: var(--dncg-primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
    color: var(--dncg-white);
    text-decoration: none;
}

.dncg-button-icon {
    font-size: 1.1em;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .dncg-features-grid {
        gap: 25px;
    }
    
    .dncg-feature-card {
        padding: 25px;
    }
    
    .dncg-testimonial-card {
        padding: 15px;
        gap: 15px;
    }
    
    .dncg-feature-item {
        grid-template-columns: 1.5rem 1fr;
        gap: 0.5rem;
    }
    
    .dncg-bullet {
        width: 1.5rem;
    }
    
    .dncg-heading {
        font-size: 0.95rem;
    }
    
    .dncg-description {
        font-size: 0.9rem;
    }
}

/* DNCG Pathways Core Styles - Part 4: Facilities & Course Progression */

/* ================================
   FACILITIES SECTION
   ================================ */

.dncg-facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--dncg-light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.dncg-facilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--dncg-border) 50%, transparent 100%);
}

.dncg-facilities-section .dncg-container, 
.dncg-facilities-section .dncg-facilities-wrapper {
    max-width: 1600px;
}

.dncg-facilities-header {
    text-align: center;
    margin-bottom: 60px;
}

.dncg-facilities-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dncg-primary-blue);
    margin-bottom: 20px;
    position: relative;
}

.dncg-facilities-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--dncg-teal);
    margin: 15px auto 0;
    border-radius: 2px;
}

.dncg-facilities-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dncg-facility-item {
    margin-bottom: 80px;
    position: relative;
}

.dncg-facility-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    background: var(--dncg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all var(--dncg-transition-normal);
}

.dncg-facility-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
}

.dncg-facility-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dncg-teal) 0%, var(--dncg-secondary-blue) 100%);
    z-index: 2;
}

.dncg-facility-even {
    margin-left: 0;
    margin-right: 40px;
}

.dncg-facility-odd {
    margin-left: 40px;
    margin-right: 0;
}

.dncg-facility-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    background: var(--dncg-light-blue);
}

.dncg-facility-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.dncg-facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dncg-transition-slow);
}

.dncg-facility-content-wrapper:hover .dncg-facility-image img {
    transform: scale(1.05);
}

.dncg-facility-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.1) 0%, 
        rgba(8, 145, 178, 0.2) 50%,
        rgba(59, 130, 246, 0.1) 100%
    );
    opacity: 0;
    transition: opacity var(--dncg-transition-normal);
}

.dncg-facility-content-wrapper:hover .dncg-facility-image-overlay {
    opacity: 1;
}

.dncg-facility-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dncg-light-blue) 0%, #e2e8f0 100%);
    color: var(--dncg-gray);
}

.dncg-placeholder-icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

.dncg-facility-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.dncg-facility-text {
    flex: 1;
}

.dncg-facility-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dncg-primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
}

.dncg-facility-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dncg-gray);
}

.dncg-facility-description p {
    margin-bottom: 16px;
}

.dncg-facility-description p:last-child {
    margin-bottom: 0;
}

/* Tablet and Desktop Layout */
@media (min-width: 768px) {
    .dncg-facilities-wrapper {
        padding: 0 40px;
    }

    .dncg-facility-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding: 50px;
    }

    .dncg-facility-image-container {
        height: 320px;
    }

    .dncg-facility-even .dncg-facility-image-container {
        order: 1;
    }

    .dncg-facility-even .dncg-facility-content {
        order: 2;
    }

    .dncg-facility-odd .dncg-facility-image-container {
        order: 2;
    }

    .dncg-facility-odd .dncg-facility-content {
        order: 1;
    }

    .dncg-facility-even {
        margin-left: 0;
        margin-right: 80px;
    }

    .dncg-facility-odd {
        margin-left: 80px;
        margin-right: 0;
    }

    .dncg-facility-title {
        font-size: 2rem;
    }

    .dncg-facility-description {
        font-size: 1.15rem;
    }
}

/* ================================
   MAIN SECTION STYLES & HEADERS
   ================================ */

.dncg-careers-section,
.dncg-courses-section,
.dncg-progression-section {
    padding: 80px 0;
}

.dncg-careers-section {
    background: var(--dncg-white);
}

.dncg-courses-section {
    background: linear-gradient(135deg, #f8fafc 0%, var(--dncg-light-blue) 100%);
}

.dncg-progression-section {
    background: var(--dncg-white);
}

/* Section headers */
.dncg-careers-section h2,
.dncg-courses-section h2,
.dncg-progression-section h2,
.dncg-news-social-section h2,
.dncg-gallery-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dncg-primary-blue);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.dncg-careers-section h2::after,
.dncg-courses-section h2::after,
.dncg-progression-section h2::after,
.dncg-news-social-section h2::after,
.dncg-gallery-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--dncg-teal);
    margin: 15px auto 0;
    border-radius: 2px;
}

.dncg-section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dncg-gray);
    max-width: 600px;
    margin: 0 auto 50px;
}

.dncg-course-filters {
    margin-bottom: 40px;
    text-align: center;
}
/* ================================
   COURSE PROGRESSION HORIZONTAL ROWS v3
   Better UX with Redesigned Cards
   ================================ */

.dncg-course-progression-wrapper-v2 {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    min-height: 200px;
}

.dncg-level-row {
    background: var(--dncg-white);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.1);
    overflow: hidden;
    transition: all var(--dncg-transition-normal);
    position: relative;
}

.dncg-level-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
}

.dncg-level-row-header {
    background: linear-gradient(135deg, var(--dncg-primary-blue) 0%, var(--dncg-secondary-blue) 100%);
    color: var(--dncg-white);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.dncg-level-row-header h3 {
    color: var(--dncg-white);
}

.dncg-level-row-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dncg-teal) 0%, rgba(255, 255, 255, 0.3) 50%, var(--dncg-teal) 100%);
}

.dncg-level-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dncg-course-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dncg-level-courses-horizontal {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .dncg-level-courses-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

/* ================================
   REDESIGNED COURSE CARDS
   ================================ */

.dncg-course-card-horizontal {
    background: var(--dncg-white);
    border: 1px solid var(--dncg-border);
    border-radius: 12px;
    transition: all var(--dncg-transition-normal);
    position: relative;
    overflow: hidden;
}

.dncg-course-card-horizontal:hover {
    border-color: var(--dncg-teal);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(8, 145, 178, 0.1);
    transform: translateY(-2px);
}

.dncg-course-card-content {
    padding: 24px;
}

/* Card Header - Simplified */
.dncg-course-header-horizontal {
    margin-bottom: 12px;
}

.dncg-course-title-horizontal {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dncg-primary-blue);
    margin: 0;
    line-height: 1.4;
}

/* Course Type Tags */
.dncg-course-type-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dncg-course-type-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid transparent;
}

.dncg-course-type-tag.school-leaver,
.dncg-course-type-tag.school-leavers {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.dncg-course-type-tag.adults {
    background: #ddd6fe;
    color: #5b21b6;
    border-color: #a78bfa;
}

.dncg-course-type-tag.apprenticeships {
    background: #cffafe;
    color: #155e75;
    border-color: #67e8f9;
}

.dncg-course-type-tag.higher-education {
    background: #e0e7ff;
    color: #3730a3;
    border-color: #a5b4fc;
}

.dncg-course-type-tag.t-levels {
    background: #dcfce7;
    color: #14532d;
    border-color: #86efac;
}

/* Meta Information Row */
.dncg-course-meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dncg-border);
    flex-wrap: wrap;
}

.dncg-course-code {
    display: flex;
    gap: 4px;
    font-size: 0.875rem;
}

.dncg-course-code .dncg-code-label {
    color: #6b7280;
}

.dncg-course-code .dncg-code-value {
    color: #111827;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.dncg-course-duration-horizontal {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--dncg-light-blue);
    color: var(--dncg-primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Primary Actions - Always Visible */
.dncg-course-primary-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dncg-apply-for-course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--dncg-teal, #0891b2) 0%, var(--dncg-primary-blue, #1e3a8a) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.dncg-apply-for-course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0aa5c9 0%, #2548a8 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.dncg-apply-for-course-btn:hover::before {
    left: 0;
}

.dncg-apply-for-course-btn > * {
    position: relative;
    z-index: 1;
}

.dncg-apply-for-course-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

.dncg-apply-for-course-btn:active {
    transform: translateY(0);
}

.dncg-course-link-horizontal {
    display: inline-flex;
    align-items: center;
    color: var(--dncg-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    padding: 4px 0;
    position: relative;
}

.dncg-course-link-horizontal::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.15s ease;
}

.dncg-course-link-horizontal::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--dncg-teal);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.dncg-course-link-horizontal:hover {
    color: var(--dncg-primary-blue);
    text-decoration: none;
}

.dncg-course-link-horizontal:hover::after {
    transform: translateX(3px);
}

.dncg-course-link-horizontal:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Entry Requirements - Expandable Section */
.dncg-course-requirements-section {
    border-top: 1px solid var(--dncg-border);
    padding-top: 12px;
}

.dncg-requirements-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.15s ease;
    text-align: left;
}

.dncg-requirements-toggle:hover {
    color: var(--dncg-teal);
}

.dncg-requirements-toggle .dncg-chevron-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: #6b7280;
    flex-shrink: 0;
}

.dncg-requirements-toggle[aria-expanded="true"] .dncg-chevron-icon {
    transform: rotate(180deg);
}

.dncg-course-details-horizontal,
.dncg-requirements-content {
    padding-top: 12px;
}

.dncg-course-details-horizontal h5,
.dncg-course-requirements-horizontal h5 {
    color: var(--dncg-primary-blue);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.dncg-course-details-horizontal p,
.dncg-course-requirements-horizontal p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Remove old expand button styles */
.dncg-course-expand-horizontal,
.dncg-expand-icon {
    display: none !important;
}

/* Level-specific header colors */
.dncg-level-row[data-level="l1"] .dncg-level-row-header {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
}

.dncg-level-row[data-level="l2"] .dncg-level-row-header {
    background: linear-gradient(135deg, var(--dncg-secondary-blue) 0%, var(--dncg-primary-blue) 100%);
}

.dncg-level-row[data-level="l3"] .dncg-level-row-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.dncg-level-row[data-level="l4"] .dncg-level-row-header,
.dncg-level-row[data-level="l5"] .dncg-level-row-header,
.dncg-level-row[data-level="l6"] .dncg-level-row-header,
.dncg-level-row[data-level="l7"] .dncg-level-row-header {
    background: linear-gradient(135deg, var(--dncg-teal) 0%, #0e7490 100%);
}

/* Progression Arrows */
.dncg-level-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
    height: 60px;
    width: 100%;
}

.dncg-progression-arrow {
    width: 48px;
    height: 48px;
    transition: all 0.6s ease-out;
    display: block;
}

.dncg-progression-arrow path {
    stroke: #0891b2;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(8, 145, 178, 0.3));
    transition: all 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 767px) {
    .dncg-course-progression-wrapper-v2 {
        padding: 0 15px;
    }
    
    .dncg-level-row {
        margin-bottom: 25px;
    }
    
    .dncg-level-row-header {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dncg-level-title {
        font-size: 1.3rem;
    }
    
    .dncg-level-courses-horizontal {
        padding: 20px;
        gap: 15px;
    }
    
    .dncg-course-card-content {
        padding: 20px;
    }
    
    .dncg-course-title-horizontal {
        font-size: 1.125rem;
    }
    
    .dncg-course-primary-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dncg-apply-for-course-btn {
        justify-content: center;
        width: 100%;
    }
    
    .dncg-course-link-horizontal {
        justify-content: center;
        padding: 8px;
    }
    
    .dncg-progression-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .dncg-level-row-header {
        padding: 22px 25px;
    }
    
    .dncg-level-courses-horizontal {
        padding: 25px;
    }
    
    .dncg-course-title-horizontal {
        font-size: 1.15rem;
    }
}

/* Large screen enhancements */
@media (min-width: 1200px) {
    .dncg-course-progression-wrapper-v2 {
        max-width: 1400px;
    }
    
    .dncg-level-courses-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 35px;
        padding: 40px;
    }
    
    .dncg-course-card-content {
        padding: 30px;
    }
    
    .dncg-course-title-horizontal {
        font-size: 1.3rem;
    }
}

/* Focus States for Accessibility */
.dncg-apply-for-course-btn:focus,
.dncg-course-link-horizontal:focus,
.dncg-requirements-toggle:focus {
    outline: 2px solid var(--dncg-teal);
    outline-offset: 2px;
}

/* Loading State */
.dncg-apply-for-course-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.dncg-apply-for-course-btn.loading::after {
    content: '...';
    display: inline-block;
    animation: ellipsis 1.5s infinite;
}

@keyframes ellipsis {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

/* Print Styles */
@media print {
    .dncg-course-card-horizontal {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .dncg-requirements-content,
    .dncg-course-details-horizontal {
        display: block !important;
    }
    
    .dncg-requirements-toggle {
        display: none !important;
    }
    
    .dncg-level-arrow {
        display: none !important;
    }
    
    .dncg-apply-for-course-btn {
        display: none !important;
    }
}
/* DNCG Pathways Core Styles - Part 5: Careers, News & Gallery */

/* ================================
   CAREER GRID STYLES
   ================================ */

.dncg-careers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.dncg-career-card {
    background: linear-gradient(135deg, var(--dncg-primary-blue) 0%, var(--dncg-secondary-blue) 100%);
    border-radius: 15px;
    padding: 25px;
    color: var(--dncg-white);
    position: relative;
    overflow: hidden;
    transition: all var(--dncg-transition-normal);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.dncg-career-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(8, 145, 178, 0.2) 100%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all var(--dncg-transition-normal);
}

.dncg-career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.dncg-career-card:hover::before {
    transform: translate(20%, -20%) scale(1.2);
}

.dncg-career-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.dncg-career-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    color: white !important;
}

.dncg-career-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.dncg-career-content {
    margin-bottom: 20px;
}

.dncg-career-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.dncg-career-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.dncg-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.dncg-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.dncg-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.dncg-career-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 15px;
    gap: 10px;
}

.dncg-job-postings {
    background: rgba(8, 145, 178, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.dncg-soc-code {
    font-family: monospace;
    font-weight: 600;
}

.dncg-career-footer {
    margin-top: auto;
}

.dncg-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dncg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all var(--dncg-transition-normal);
    backdrop-filter: blur(10px);
}

.dncg-learn-more:hover {
    background: var(--dncg-white);
    color: var(--dncg-primary-blue);
    transform: translateX(5px);
    text-decoration: none;
}

@media (min-width: 768px) {
    .dncg-careers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .dncg-career-card {
        padding: 30px;
    }

    .dncg-career-title {
        font-size: 1.4rem;
    }
}

/* ================================
   NEWS & SOCIAL MEDIA SECTION
   ================================ */

.dncg-news-social-section {
    padding: 60px 0;
    background: var(--dncg-white);
    border-top: 1px solid var(--dncg-border);
}

.dncg-news-social-section h2 {
    font-size: 2.25rem;
}

.dncg-news-social-section h2::after {
    width: 50px;
    height: 3px;
    margin: 12px auto 0;
}

.dncg-news-social-section .dncg-section-intro {
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 40px;
}

.dncg-news-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .dncg-news-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .dncg-news-grid-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.dncg-news-card-compact {
    background: var(--dncg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(30, 58, 138, 0.06);
    border: 1px solid var(--dncg-border);
    transition: all var(--dncg-transition-normal);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dncg-news-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.12);
    border-color: rgba(8, 145, 178, 0.3);
}

.dncg-news-image-compact {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: var(--dncg-light-blue);
    flex-shrink: 0;
}

.dncg-news-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--dncg-transition-normal);
}

.dncg-news-card-compact:hover .dncg-news-image-compact img {
    transform: scale(1.03);
}

.dncg-news-image-compact.dncg-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dncg-light-blue) 0%, #e2e8f0 100%);
    color: var(--dncg-gray);
}

.dncg-news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.dncg-news-placeholder svg {
    width: 32px;
    height: 32px;
}

.dncg-news-content-compact {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dncg-news-meta-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
    font-size: 0.8rem;
}

.dncg-news-date-compact {
    color: var(--dncg-gray);
    font-weight: 500;
    flex-shrink: 0;
}

.dncg-news-category-compact {
    background: var(--dncg-light-blue);
    color: var(--dncg-primary-blue);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.dncg-news-title-compact {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
}

.dncg-news-title-compact a {
    color: var(--dncg-dark);
    text-decoration: none;
    transition: color var(--dncg-transition-normal);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dncg-news-title-compact a:hover {
    color: var(--dncg-primary-blue);
}

.dncg-news-excerpt-compact {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--dncg-gray);
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dncg-news-view-all-compact {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

/* ================================
   IMAGE GALLERY SECTION
   ================================ */

.dncg-gallery-section {
    padding: 80px 0;
    background: var(--dncg-white);
    border-top: 1px solid var(--dncg-border);
}

.dncg-gallery-section h2 {
    font-size: 2.5rem;
}

.dncg-gallery-section h2::after {
    width: 50px;
    height: 3px;
    margin: 12px auto 0;
}

.dncg-gallery-wrapper {
    margin-top: 50px;
}

/* Grid Layout */
.dncg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 25px;
    align-items: stretch;
}

/* Masonry Layout */
.dncg-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 25px;
    align-items: start;
}

@supports (column-count: 1) {
    .dncg-gallery-masonry {
        display: block;
        column-count: var(--columns, 3);
        column-gap: 25px;
        column-fill: balance;
    }
    
    .dncg-gallery-masonry .dncg-gallery-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 25px;
        break-inside: avoid;
        page-break-inside: avoid;
        -webkit-column-break-inside: avoid;
    }
}

/* Gallery Items */
.dncg-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
    transition: all var(--dncg-transition-normal);
    background: var(--dncg-white);
    cursor: pointer;
}

.dncg-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.dncg-gallery-item:focus {
    outline: 3px solid var(--dncg-teal);
    outline-offset: 2px;
}

/* Image Wrappers */
.dncg-gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--dncg-light-gray);
    aspect-ratio: 4/3;
}

.dncg-gallery-masonry .dncg-gallery-image-wrapper {
    aspect-ratio: unset;
    height: auto;
}

.dncg-gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--dncg-transition-slow);
    display: block;
}

.dncg-gallery-masonry .dncg-gallery-image-wrapper img {
    height: auto;
}

.dncg-gallery-item:hover .dncg-gallery-image-wrapper img {
    transform: scale(1.05);
}

/* Lightbox Overlay */
.dncg-gallery-wrapper .dncg-gallery-item .dncg-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dncg-transition-normal);
    z-index: 5;
}

.dncg-gallery-wrapper .dncg-gallery-item:hover .dncg-gallery-overlay {
    opacity: 1;
}

.dncg-gallery-wrapper .dncg-gallery-item .dncg-gallery-zoom-icon {
    color: white;
    transform: scale(0.8);
    transition: transform var(--dncg-transition-normal);
}

.dncg-gallery-wrapper .dncg-gallery-item:hover .dncg-gallery-zoom-icon {
    transform: scale(1);
}

/* Captions */
.dncg-gallery-caption {
    padding: 15px;
    font-size: 0.9rem;
    color: var(--dncg-gray);
    line-height: 1.4;
    background: var(--dncg-white);
    border-top: 1px solid var(--dncg-border);
    position: relative;
    z-index: 10;
}

/* Lightbox Modal */
.dncg-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.dncg-lightbox-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dncg-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dncg-lightbox-content {
    text-align: center;
    max-width: 100%;
    max-height: 100%;
}

.dncg-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dncg-lightbox-caption {
    color: white;
    font-size: 1rem;
    margin-top: 15px;
    padding: 0 20px;
    line-height: 1.4;
}

.dncg-lightbox-close,
.dncg-lightbox-prev,
.dncg-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dncg-transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dncg-lightbox-close:hover,
.dncg-lightbox-prev:hover,
.dncg-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.dncg-lightbox-close {
    top: 20px;
    right: 20px;
}

.dncg-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.dncg-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.dncg-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Prevent body scroll when lightbox is open */
.dncg-lightbox-open {
    overflow: hidden !important;
}

/* DNCG Pathways Core Styles - Part 6: Partner Courses & Utilities */

/* ================================
   PARTNER COURSES DISPLAY
   ================================ */

/* Regular Partner Courses Section */
.dncg-partner-courses-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed rgba(30, 58, 138, 0.15);
}

.dncg-partner-courses-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dncg-partner-site-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: all var(--dncg-transition-normal);
}

.dncg-partner-site-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.1);
    border-color: var(--dncg-teal);
}

.dncg-partner-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--dncg-teal) 0%, var(--dncg-primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dncg-partner-initial {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dncg-partner-content {
    flex: 1;
}

.dncg-partner-message {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    color: var(--dncg-gray);
    line-height: 1.5;
}

.dncg-partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dncg-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--dncg-transition-normal);
}

.dncg-partner-link:hover {
    color: var(--dncg-primary-blue);
    transform: translateX(5px);
}

/* HE Section */
.dncg-partner-he-section,
.dncg-he-level,
.dncg-level-row.dncg-he-level,
.dncg-level-row[data-level="he"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    position: relative !important;
}

.dncg-he-level.dncg-empty-level {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .dncg-partner-courses-container .dncg-he-level,
body .dncg-partner-courses-container .dncg-partner-he-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* HE Arrow */
.dncg-he-arrow {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 30px auto;
    position: relative;
    z-index: 10;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
}

.dncg-he-arrow .dncg-progression-arrow,
.dncg-he-progression-arrow {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
}

.dncg-level-row[data-level="l3"] + .dncg-level-arrow,
.dncg-level-arrow.dncg-he-arrow {
    display: flex !important;
}

.dncg-he-arrow .dncg-progression-arrow path {
    stroke: #7c3aed !important;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.3));
}

/* HE Header */
.dncg-partner-he-section {
    margin-top: 30px;
}

.dncg-he-level .dncg-level-row-header {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    position: relative;
}

.dncg-he-header .dncg-level-title {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dncg-he-header .dncg-course-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Partner HE Card */
.dncg-partner-he-card {
    background: white;
    border: 2px solid #e9d5ff;
    border-radius: 16px;
    padding: 35px;
    margin: 25px;
    transition: all var(--dncg-transition-normal);
}

.dncg-partner-he-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    transform: translateY(-3px);
}

.dncg-partner-logo-area {
    margin-bottom: 25px;
}

.dncg-partner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.dncg-partner-he-info h4 {
    color: #6d28d9;
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.dncg-he-description {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* HE Course Links */
.dncg-he-course-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.dncg-he-course-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #ffffff;
    border: 2px solid #7c3aed;
    border-radius: 12px;
    text-decoration: none;
    color: #6d28d9;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dncg-he-course-link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.dncg-he-course-link-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
    text-decoration: none;
    border-color: #7c3aed;
}

.dncg-he-course-link-btn:hover::before {
    left: 0;
}

.dncg-he-course-link-btn > * {
    position: relative;
    z-index: 1;
}

.dncg-he-level-badge {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.dncg-he-course-link-btn:hover .dncg-he-level-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.dncg-he-course-name {
    flex: 1;
    font-size: 1rem;
    line-height: 1.3;
}

.dncg-he-link-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: currentColor;
}

.dncg-he-course-link-btn:hover .dncg-he-link-arrow {
    transform: translateX(4px);
}

/* ================================
   NO COURSES FOUND MESSAGE
   ================================ */

.dncg-no-courses-message {
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--dncg-light-blue) 50%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px dashed rgba(8, 145, 178, 0.3);
    position: relative;
    overflow: hidden;
}

.dncg-no-courses-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.dncg-no-courses-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
}

.dncg-no-courses-content svg {
    color: var(--dncg-teal);
    margin-bottom: 20px;
    opacity: 0.8;
}

.dncg-no-courses-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dncg-primary-blue);
    margin-bottom: 12px;
}

.dncg-no-courses-content p {
    font-size: 1rem;
    color: var(--dncg-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.dncg-show-all-courses {
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all var(--dncg-transition-normal);
}

.dncg-show-all-courses:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

/* ================================
   BUTTONS & FORM ELEMENTS
   ================================ */

.dncg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--dncg-spacing-sm);
    padding: var(--dncg-spacing-md) var(--dncg-spacing-lg);
    border: 2px solid transparent;
    border-radius: var(--dncg-border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--dncg-transition-normal);
    white-space: nowrap;
}

.dncg-btn-primary {
    background: var(--dncg-primary-blue);
    color: var(--dncg-white);
    box-shadow: var(--dncg-shadow-sm);
}

.dncg-btn-primary:hover {
    background: var(--dncg-secondary-blue);
    transform: translateY(-1px);
    box-shadow: var(--dncg-shadow-md);
    color: var(--dncg-white);
    text-decoration: none;
}

.dncg-btn-secondary {
    background: var(--dncg-teal);
    color: var(--dncg-white);
    box-shadow: var(--dncg-shadow-sm);
}

.dncg-btn-secondary:hover {
    background: #0e7490;
    transform: translateY(-1px);
    box-shadow: var(--dncg-shadow-md);
    color: var(--dncg-white);
    text-decoration: none;
}

.dncg-btn-outline {
    background: transparent;
    color: var(--dncg-primary-blue);
    border-color: var(--dncg-primary-blue);
}

.dncg-btn-outline:hover {
    background: var(--dncg-primary-blue);
    color: var(--dncg-white);
    text-decoration: none;
}

/* Audience Selector */
.dncg-audience-selector {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dncg-spacing-sm);
    justify-content: center;
}

.dncg-audience-pill {
    padding: var(--dncg-spacing-sm) var(--dncg-spacing-md);
    background: var(--dncg-white);
    color: var(--dncg-gray);
    border: 2px solid var(--dncg-border);
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dncg-transition-normal);
    display: inline-block;
}

.dncg-audience-pill:hover,
.dncg-audience-pill.active {
    background: var(--dncg-primary-blue);
    color: var(--dncg-white);
    border-color: var(--dncg-primary-blue);
    text-decoration: none;
}

/* Course option highlight */
.dncg-course-option.highlighted {
    animation: highlightPulse 1s ease-out 2;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 5px rgba(8, 145, 178, 0.3);
    }
}

.dncg-course-label.dncg-highlight-pulse {
    animation: dncg-pulse-highlight 1s ease-in-out 3;
}

@keyframes dncg-pulse-highlight {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.4);
        background-color: transparent;
    }
    25% {
        box-shadow: 0 0 20px 5px rgba(8, 145, 178, 0.2);
        background-color: rgba(224, 242, 254, 0.3);
    }
    50% {
        box-shadow: 0 0 25px 10px rgba(8, 145, 178, 0.1);
        background-color: rgba(224, 242, 254, 0.5);
    }
    75% {
        box-shadow: 0 0 20px 5px rgba(8, 145, 178, 0.2);
        background-color: rgba(224, 242, 254, 0.3);
    }
}

/* DNCG Pathways Core Styles - Part 7: Accessibility & Responsive */

/* ================================
   ACCESSIBILITY & FOCUS STATES
   ================================ */

.dncg-btn:focus,
.dncg-audience-pill:focus,
.dncg-course-expand-horizontal:focus,
.dncg-nav-pill:focus,
.dncg-feature-card:focus-within,
.dncg-testimonial-card:focus-within,
.dncg-facility-content-wrapper:focus-within {
    outline: 2px solid var(--dncg-teal);
    outline-offset: 2px;
}

.dncg-cta-button:focus {
    outline: 2px solid var(--dncg-white);
    outline-offset: 2px;
}

.dncg-course-link-horizontal:focus {
    outline: 2px solid var(--dncg-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.dncg-news-title-compact a:focus,
.dncg-gallery-item:focus-within {
    outline: 2px solid var(--dncg-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Small mobile devices */
@media (max-width: 480px) {
    .dncg-container {
        padding: 0 15px;
    }
    
    .dncg-hero-headline {
        font-size: 2rem;
    }
    
    .dncg-hero-intro {
        font-size: 1rem;
    }
    
    .dncg-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .dncg-feature-card,
    .dncg-career-card {
        padding: 20px;
    }
    
    .dncg-features-section,
    .dncg-news-social-section,
    .dncg-gallery-section {
        padding: 50px 0;
    }
    
    .dncg-news-grid-compact,
    .dncg-gallery-grid {
        gap: 18px;
        margin-top: 30px;
    }
    
    .dncg-news-image-compact {
        height: 120px;
    }
    
    .dncg-news-content-compact {
        padding: 15px;
    }
    
    .dncg-news-title-compact {
        font-size: 0.95rem;
    }
    
    .dncg-news-meta-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .dncg-news-category-compact {
        max-width: none;
    }
    
    .dncg-gallery-caption {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .dncg-lightbox-close,
    .dncg-lightbox-prev,
    .dncg-lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .dncg-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .dncg-lightbox-prev {
        left: 10px;
    }
    
    .dncg-lightbox-next {
        right: 10px;
    }
    
    .dncg-no-courses-message {
        padding: 40px 15px;
        margin: 30px 0;
    }
    
    .dncg-no-courses-content h3 {
        font-size: 1.3rem;
    }
    
    .dncg-no-courses-content p {
        font-size: 0.95rem;
    }
    
    .dncg-show-all-courses {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .dncg-news-image-compact {
        height: 130px;
    }
    
    .dncg-news-title-compact {
        font-size: 0.98rem;
    }
    
    .dncg-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dncg-gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @supports (column-count: 1) {
        .dncg-gallery-masonry {
            column-count: 2;
        }
    }
}

/* Large screen optimizations */
@media (min-width: 1024px) {
    .dncg-facilities-section {
        padding: 100px 0;
    }

    .dncg-facility-content-wrapper {
        gap: 60px;
        padding: 60px;
    }

    .dncg-facility-image-container {
        height: 360px;
    }

    .dncg-facility-even {
        margin-right: 120px;
    }

    .dncg-facility-odd {
        margin-left: 120px;
    }

    .dncg-facility-title {
        font-size: 2.2rem;
    }
    
    .dncg-careers-section,
    .dncg-courses-section,
    .dncg-progression-section {
        padding: 100px 0;
    }
    
    .dncg-hero-section {
        min-height: 50vh;
    }

    .dncg-hero-headline {
        font-size: 4rem;
    }

    .dncg-hero-intro {
        font-size: 1.5rem;
    }

    .dncg-hero-video-content {
        padding: 100px 0;
    }

    .dncg-hero-video-grid {
        gap: 80px;
    }

    .dncg-hero-with-video .dncg-hero-headline {
        font-size: 3rem;
    }

    .dncg-hero-with-video .dncg-hero-intro {
        font-size: 1.3rem;
    }
    
    .dncg-careers-grid {
        gap: 35px;
    }

    .dncg-career-card {
        padding: 35px;
    }
    
    .dncg-level-courses-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .dncg-news-social-section,
    .dncg-gallery-section {
        padding: 80px 0;
    }
    
    .dncg-news-grid-compact,
    .dncg-gallery-grid {
        gap: 35px;
    }
    
    .dncg-news-image-compact {
        height: 160px;
    }
    
    .dncg-news-content-compact {
        padding: 20px;
    }
    
    .dncg-news-title-compact {
        font-size: 1.1rem;
    }
    
    .dncg-feature-card {
        padding: 35px;
    }
    
    .dncg-feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .dncg-cta-button {
        padding: 18px 28px;
        font-size: 1.05rem;
    }
    
    .dncg-course-progression-wrapper-v2 {
        max-width: 1400px;
    }
    
    .dncg-level-courses-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 35px;
        padding: 40px;
    }
    
    .dncg-course-card-content {
        padding: 30px;
    }
    
    .dncg-course-title-horizontal {
        font-size: 1.3rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1440px) {
    .dncg-nav-wrapper {
        max-width: 1600px;
    }
    
    .dncg-features-section {
        padding: 120px 0;
    }
    
    .dncg-feature-card {
        padding: 40px;
    }
    
    .dncg-feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }
   
    .dncg-cta-button {
        padding: 20px 32px;
        font-size: 1.1rem;
    }
}

/* Very large screens */
@media (min-width: 1920px) {
    .dncg-container,
    .dncg-nav-wrapper {
        max-width: 1800px;
    }
    
    .dncg-facilities-section .dncg-container,
    .dncg-facilities-section .dncg-facilities-wrapper {
        max-width: 1800px;
    }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    /* Facilities */
    .dncg-facilities-section {
        padding: 60px 0;
    }

    .dncg-facilities-wrapper {
        padding: 0 15px;
    }

    .dncg-facility-item {
        margin-bottom: 50px;
    }

    .dncg-facility-even,
    .dncg-facility-odd {
        margin-left: 0;
        margin-right: 0;
    }

    .dncg-facility-content-wrapper {
        padding: 30px;
        gap: 25px;
    }

    .dncg-facility-image-container {
        height: 220px;
    }

    .dncg-facility-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .dncg-facility-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .dncg-facilities-header h2 {
        font-size: 2rem;
    }
    
    /* Course progression */
    .dncg-course-progression-wrapper-v2 {
        padding: 0 15px;
    }
    
    .dncg-level-row {
        margin-bottom: 25px;
    }
    
    .dncg-level-row-header {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dncg-level-title {
        font-size: 1.3rem;
    }
    
    .dncg-level-courses-horizontal {
        padding: 20px;
        gap: 15px;
    }
    
    .dncg-course-card-content {
        padding: 20px;
    }
    
    .dncg-course-header-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .dncg-course-expand-horizontal {
        align-self: flex-end;
        margin-top: -10px;
    }
    
    .dncg-course-title-horizontal {
        font-size: 1.1rem;
    }
    
    .dncg-progression-arrow {
        width: 36px;
        height: 36px;
    }
    
    .dncg-course-actions-horizontal {
        flex-direction: column;
        gap: 10px;
    }
    
    .dncg-apply-for-course-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* Partner content */
    .dncg-partner-site-block {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .dncg-he-arrow {
        margin: 20px auto;
    }
    
    .dncg-partner-he-card {
        margin: 15px;
        padding: 25px;
    }
    
    .dncg-he-header .dncg-level-title {
        font-size: 1.3rem;
    }
    
    .dncg-he-course-links {
        gap: 10px;
    }
    
    .dncg-he-course-link-btn {
        padding: 12px 16px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .dncg-he-level-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .dncg-he-course-name {
        font-size: 0.9rem;
    }
    
    .dncg-he-link-arrow {
        font-size: 1.1rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .dncg-apply-now-btn,
    .dncg-feature-card,
    .dncg-feature-item,
    .dncg-testimonial-quote,
    .dncg-testimonial-image,
    .dncg-testimonial-attribution {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .dncg-feature-card:hover,
    .dncg-testimonial-card:hover,
    .dncg-cta-button:hover,
    .dncg-testimonial-image img:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .dncg-subject-area-wrapper {
        background: white !important;
        color: black !important;
    }

    .dncg-hero-top-controls,
    .dncg-page-navigation,
    .dncg-audience-selector,
    .dncg-cta-button,
    .dncg-apply-wrapper,
    .dncg-course-expand-horizontal,
    .dncg-level-arrow,
    .dncg-lightbox-modal {
        display: none !important;
    }

    .dncg-career-card,
    .dncg-level-row,
    .dncg-feature-card,
    .dncg-facility-content-wrapper,
    .dncg-news-card-compact,
    .dncg-gallery-item {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .dncg-course-details-horizontal {
        display: block !important;
    }

    .dncg-level-row-header {
        background: #f5f5f5 !important;
        color: black !important;
    }

    .dncg-facility-image-overlay,
    .dncg-gallery-overlay {
        display: none !important;
    }

    .dncg-facility-even,
    .dncg-facility-odd {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .dncg-testimonial-card {
        background: transparent !important;
        break-inside: avoid;
    }
    
    .dncg-testimonial-quote {
        box-shadow: none !important;
        background: #f5f5f5 !important;
        color: black !important;
    }
    
    .dncg-testimonial-quote::after {
        display: none !important;
    }
}


/* Subject Grid Shortcode Styles */
.dncg-subject-grid-shortcode-wrapper {
    margin: 40px 0;
}

.dncg-subject-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

/* Grid columns */
.dncg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.dncg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.dncg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }