/**
 * Teachers Page Premium Design Styles
 * 
 * Following Gateway College architecture:
 * - Uses .cpt-scope namespace for isolation
 * - Works with cpt-isolation.css for Astra overrides
 * - Full-width sections with centered content containers
 * 
 * @package Gateway_College
 * @since 1.0.0
 */

/* ==============================================
   Hero Section - Same structure as course page
   Desktop: 7fr content + 3fr image, 1200px max-width
   Mobile: Stacked layout
   ============================================== */

.cpt-scope .gw-teachers-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    background-color: var(--gateway-navy, #262474);
    margin-top: -4em !important;
}

/* Gradient overlay from background color to image */
.cpt-scope .gw-teachers-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.cpt-scope .gw-teachers-hero-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 60px;
    min-height: 500px;
    align-items: end;
    position: relative;
}

.cpt-scope .gw-teachers-hero-content {
    z-index: 2;
    position: relative;
    margin-bottom: 40px;
}

.cpt-scope .gw-teachers-section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.cpt-scope .gw-teachers-display-title {
    margin: 0 0 2rem 0;
    color: var(--gateway-white, #ffffff);
    opacity: 0;
    animation: fadeUpTeachers 0.6s ease forwards 0.4s;
}

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

.cpt-scope .gw-teachers-title-accent {
    color: var(--gateway-green, #6db460);
}

.cpt-scope .gw-teachers-hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeUpTeachers 0.6s ease forwards 0.6s;
}

.cpt-scope .gw-teachers-hero-stats {
    display: flex;
    gap: 3rem;
}

.cpt-scope .gw-teachers-hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gateway-white, #ffffff);
}

.cpt-scope .gw-teachers-stat-blue {
    color: var(--gateway-blue, #1b60aa);
}

.cpt-scope .gw-teachers-hero-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.cpt-scope .gw-teachers-hero-image-wrapper {
    position: absolute;
    top: 0;
    right: calc(-50vw + 50%);
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, 
      transparent 0%, 
      rgba(0, 0, 0, 0.3) 15%,
      rgba(0, 0, 0, 0.7) 30%,
      black 45%
    );
    -webkit-mask-image: linear-gradient(to right, 
      transparent 0%, 
      rgba(0, 0, 0, 0.3) 15%,
      rgba(0, 0, 0, 0.7) 30%,
      black 45%
    );
}

.cpt-scope .gw-teachers-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

/* ==============================================
   Main Content Section - Contains all 4 sections
   ============================================== */

.cpt-scope .gw-teachers-main-content {
    background: transparent;
    padding: 0;
}

/* Section background wrapper - Full width with centered content */
.cpt-scope .gw-teachers-section-bg {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
}

.cpt-scope .gw-teachers-section-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
}

/* Individual section backgrounds */
.cpt-scope .gw-teachers-section-bg[data-section="intro"] {
    background: #ffffff;
    padding: 4rem 0 2rem;
}

.cpt-scope .gw-teachers-section-bg[data-section="01-02"] {
    background: #ffffff;
    padding: 0 0 2rem;
}

.cpt-scope .gw-teachers-section-bg[data-section="03"] {
    background: #f5f5f5;
    padding: 2rem 0;
    margin: 2rem 0;
}

.cpt-scope .gw-teachers-section-bg[data-section="04"] {
    background: #f5f5f5;
    padding: 2rem 0;
    margin: 2rem 0;
}

/* Intro Statement */
.cpt-scope .gw-teachers-intro-statement {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.cpt-scope .gw-teachers-intro-statement .gw-teachers-section-label {
    margin-bottom: 2rem;
    opacity: 0.5;
    color: var(--gateway-gray-800, #2a2a2a);
}

.cpt-scope .gw-teachers-intro-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--gateway-black, #0a0a0a);
}

/* Color Utilities */
.cpt-scope .gw-teachers-text-blue {
    color: var(--gateway-blue, #1b60aa);
}

.cpt-scope .gw-teachers-text-teal {
    color: var(--gateway-teal, #24906b);
}

.cpt-scope .gw-teachers-text-green {
    color: var(--gateway-green, #6db460);
}

.cpt-scope .gw-teachers-bg-purple {
    background-color: var(--gateway-navy, #262474);
}

.cpt-scope .gw-teachers-bg-teal {
    background-color: var(--gateway-teal, #24906b);
}

/* ==============================================
   Content Grid - Asymmetric Layout
   ============================================== */

.cpt-scope .gw-teachers-content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Large Feature - 8 columns */
.cpt-scope .gw-teachers-feature-large {
    grid-column: span 8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

/* Small Feature - 4 columns */
.cpt-scope .gw-teachers-feature-small {
    grid-column: span 4;
    padding: 3rem;
    background: var(--gateway-gray-100, #f5f5f5);
    border-radius: 60px 60px 60px 0px;
}

.cpt-scope .gw-teachers-feature-small-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Split Features - 6 columns each */
.cpt-scope .gw-teachers-feature-split {
    grid-column: span 6;
    position: relative;
}

.cpt-scope .gw-teachers-feature-split-content {
    padding: 3rem;
    background: var(--gateway-gray-100, #f5f5f5);
    border-radius: 60px 60px 60px 0px;
}

/* ==============================================
   Image Blocks with Asymmetric Rounded Corners
   ============================================== */

.cpt-scope .gw-teachers-image-block {
    position: relative;
    overflow: hidden;
    background: #000;
}

.cpt-scope .gw-teachers-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpt-scope .gw-teachers-image-block:hover img {
    transform: scale(1.03);
}

/* Asymmetric border radius variations */
.cpt-scope .gw-teachers-image-asymmetric-1 {
    border-radius: 60px 0px 0px 60px;
}

.cpt-scope .gw-teachers-image-asymmetric-2 {
    border-radius: 60px 0 60px 60px;
}

.cpt-scope .gw-teachers-image-asymmetric-3 {
    border-radius: 0 60px 60px 60px;
}

.cpt-scope .gw-teachers-floating-number {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 8rem;
    font-weight: 900;
    color: white;
    opacity: 0.3;
    line-height: 1;
}

.cpt-scope .gw-teachers-corner-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.05;
    line-height: 1;
}

/* ==============================================
   Feature Content Blocks
   ============================================== */

.cpt-scope .gw-teachers-feature-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    border-radius: 0px 60px 0px 0px;
}

.cpt-scope .gw-teachers-icon-minimal {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.cpt-scope .gw-teachers-icon-minimal svg {
    width: 100%;
    height: 100%;
}

.cpt-scope .gw-teachers-icon-blue {
    color: var(--gateway-blue, #1b60aa);
}

.cpt-scope .gw-teachers-feature-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #F5F5F5;
}

.cpt-scope .gw-teachers-feature-text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cpt-scope .gw-teachers-feature-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Small Stats Display */
.cpt-scope .gw-teachers-stat-display {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.cpt-scope .gw-teachers-small-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gateway-gray-800, #2a2a2a);
}

/* Split Content Blocks */
.cpt-scope .gw-teachers-split-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cpt-scope .gw-teachers-split-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gateway-gray-800, #2a2a2a);
    margin-bottom: 1.5rem;
}

.cpt-scope .gw-teachers-split-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==============================================
   Wide Feature Layout (Section 03)
   ============================================== */

.cpt-scope .gw-teachers-feature-wide {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.cpt-scope .gw-teachers-wide-image-block {
    position: relative;
    height: 400px;
    border-radius: 0 60px 60px 60px;
    overflow: hidden;
}

.cpt-scope .gw-teachers-wide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.cpt-scope .gw-teachers-wide-stat {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
}

.cpt-scope .gw-teachers-wide-stat-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.cpt-scope .gw-teachers-wide-stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cpt-scope .gw-teachers-wide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cpt-scope .gw-teachers-wide-content .gw-teachers-section-label {
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--gateway-gray-800, #2a2a2a);
}

.cpt-scope .gw-teachers-wide-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--gateway-black, #0a0a0a);
}

.cpt-scope .gw-teachers-wide-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gateway-gray-800, #2a2a2a);
    margin-bottom: 2rem;
}

.cpt-scope .gw-teachers-wide-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cpt-scope .gw-teachers-wide-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 0.5rem;
}

.cpt-scope .gw-teachers-wide-meta-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gateway-gray-900, #1a1a1a);
}

/* ==============================================
   Advantage Section Layout
   ============================================== */

.cpt-scope .gw-teachers-advantage-section {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr 0.5fr;
    gap: 4rem;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.cpt-scope .gw-teachers-advantage-left .gw-teachers-section-label {
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--gateway-gray-800, #2a2a2a);
}

.cpt-scope .gw-teachers-advantage-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
}

.cpt-scope .gw-teachers-advantage-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gateway-gray-800, #2a2a2a);
    margin-bottom: 2rem;
}

.cpt-scope .gw-teachers-advantage-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: rgba(109, 180, 96, 0.1);
    color: var(--gateway-green, #6db460);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cpt-scope .gw-teachers-advantage-image-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 60px 60px 60px 0;
}

.cpt-scope .gw-teachers-advantage-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================================
   CTA Section
   ============================================== */

.cpt-scope .gw-teachers-cta-immersive {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--gateway-navy, #262474);
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.cpt-scope .gw-teachers-cta-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80') center/cover;
    opacity: 0.15;
}

.cpt-scope .gw-teachers-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.cpt-scope .gw-teachers-label-white {
    color: rgba(255, 255, 255, 0.6);
}

.cpt-scope .gw-teachers-cta-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cpt-scope .gw-teachers-cta-text {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.cpt-scope .gw-teachers-cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: white;
    color: var(--gateway-navy, #262474);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cpt-scope .gw-teachers-cta-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* ==============================================
   Responsive Design - FIXED
   ============================================== */

@media (max-width: 1200px) {
    .cpt-scope .gw-teachers-hero-grid {
        padding: 0 40px;
    }

    .cpt-scope .gw-teachers-hero-image-wrapper {
        right: calc(-50vw + 50%);
        width: calc(40vw + (50vw - 50%));
    }
    
    .cpt-scope .gw-teachers-display-title {
        font-size: 48px;
    }
    
    .cpt-scope .gw-teachers-section-bg > * {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 968px) {
    /* Hero Section - Stacked */
    .cpt-scope .gw-teachers-hero-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    .cpt-scope .gw-teachers-hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 300px;
        order: 1;
        right: 0;
    }
    
    .cpt-scope .gw-teachers-hero-content {
        order: 2;
        padding: 40px 24px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cpt-scope .gw-teachers-display-title {
        font-size: 4rem;
    }
    
    /* Content Grid - Single Column */
    .cpt-scope .gw-teachers-content-grid {
        grid-template-columns: 1fr;
    }
    
    .cpt-scope .gw-teachers-feature-large,
    .cpt-scope .gw-teachers-feature-small,
    .cpt-scope .gw-teachers-feature-split {
        grid-column: span 1;
    }
    
    .cpt-scope .gw-teachers-feature-large {
        grid-template-columns: 1fr;
    }

    .cpt-scope .gw-teachers-section-bg > * {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    /* Wide Feature */
    .cpt-scope .gw-teachers-feature-wide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cpt-scope .gw-teachers-wide-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Advantage Section */
    .cpt-scope .gw-teachers-advantage-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cpt-scope .gw-teachers-advantage-title {
        font-size: 2.5rem;
    }
    
    .cpt-scope .gw-teachers-intro-title {
        font-size: 2rem;
    }
    
    .cpt-scope .gw-teachers-cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero - Mobile layout */
    .cpt-scope .gw-teachers-hero {
        margin-top: 0 !important;
    }
    
    .cpt-scope .gw-teachers-hero-image-wrapper {
        height: 300px;
    }
    
    .cpt-scope .gw-teachers-hero-content {
        padding: 32px 20px;
    }
    
    .cpt-scope .gw-teachers-display-title {
        font-size: 3rem;
    }
    
    .cpt-scope .gw-teachers-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Main Content */
    .cpt-scope .gw-teachers-section-bg[data-section="intro"] {
        padding: 4rem 0 2rem;
    }

    .cpt-scope .gw-teachers-section-bg[data-section="01-02"] {
        padding: 0 0 2rem;
    }

    .cpt-scope .gw-teachers-section-bg[data-section="03"],
    .cpt-scope .gw-teachers-section-bg[data-section="04"] {
        padding: 3rem 0;
        margin: 2rem 0;
    }

    .cpt-scope .gw-teachers-section-bg > * {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cpt-scope .gw-teachers-feature-small,
    .cpt-scope .gw-teachers-feature-split-content {
        padding: 2rem;
    }
    
    .cpt-scope .gw-teachers-intro-title {
        font-size: 1.75rem;
    }
    
    .cpt-scope .gw-teachers-feature-title {
        font-size: 2rem;
    }
    
    .cpt-scope .gw-teachers-wide-title {
        font-size: 2rem;
    }
    
    .cpt-scope .gw-teachers-wide-image-block {
        height: 300px;
    }

    .cpt-scope .gw-teachers-advantage-image-wrapper {
        height: 300px;
    }
    
    /* CTA */
    .cpt-scope .gw-teachers-cta-immersive {
        height: 60vh;
    }
}

@media (max-width: 640px) {
    .cpt-scope .gw-teachers-display-title {
        font-size: 2.5rem;
    }
    
    .cpt-scope .gw-teachers-hero-content {
        padding: 24px 20px;
    }
    
    .cpt-scope .gw-teachers-hero-image-wrapper {
        height: 250px;
    }
    
    .cpt-scope .gw-teachers-intro-title {
        font-size: 1.5rem;
    }
    
    .cpt-scope .gw-teachers-feature-content {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .cpt-scope .gw-teachers-stat-display {
        font-size: 3rem;
    }
    
    .cpt-scope .gw-teachers-advantage-title {
        font-size: 2rem;
    }
    
    .cpt-scope .gw-teachers-cta-title {
        font-size: 2rem;
    }
}