/**
 * Content section (light variant)
 * @package ASI_Solutions
 */

/* ========================================
   CONTENT SECTION COMPONENT STYLES
   Based on Figma design node 12:277
   ======================================== */

/* Content Section - Based on Figma Design */
.content-section {
    position: relative;
    width: 100%;
    background: var(--white);
    padding: 0;
    overflow: hidden;
    padding-top: var(--spacing-20);
    padding-bottom: var(--spacing-20);
}

.content-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    padding: 0;
    z-index: 1;
}

.content-container {
    position: relative;
    max-width: 1640px; /* Match hero and header container width */
    width: calc(100% - 72px); /* Match header width calculation */
    margin: 0 auto; /* Center like header */
    padding: 0 20px; /* Match header container padding */
    z-index: 2;
}

/* Title Section */
.content-title-section {
    margin-bottom: var(--spacing-16);
    max-width: 746px;
}

.content-title {
    color: #000;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.75rem, 1rem + 3vw, 3.75rem); /* 28px → 60px */
    font-style: normal;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -2.4px;
    margin: 0 0 var(--spacing-6) 0;
    display: block;
    position: relative;
    z-index: 10;
    text-align: left;
}

.content-subtitle {
    color: #121F35;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem); /* 16px → 20px */
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.4px;
    margin: 0;
    text-align: left;
}

/* Content Card */
.content-card {
    position: relative;
    background: #eef1f6;
    border-radius: 18px;
    padding: 0;
    min-height: 660px;
    display: flex;
    align-items: stretch;
    gap: var(--spacing-16);
    width: 100%;
    margin: 0 auto;
}

.content-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eef1f6;
    border-radius: 18px;
    z-index: 1;
}

.content-card-left {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-16);
}

.content-card-right {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-8);
}

.content-card-image-container {
    width: 100%;
    min-height: 400px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: stretch;
    border-radius: 0 18px 18px 0; /* Rounded corners on top-right and bottom-right */
}

/* Make image container responsive */
@media (max-width: 1280px) {
    .content-card-image-container {
        width: 100%;
        min-height: 350px;
        flex: 1;
    }
}

@media (max-width: 1024px) {
    .content-card-image-container {
        width: 100%;
        min-height: 300px;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .content-card-image-container {
        width: 100%;
        min-height: 250px;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .content-card-image-container {
        width: 100%;
        min-height: 200px;
        flex: 1;
    }
}

.content-card-image-mask {
    width: 100%;
    height: 100%;
    position: relative;
}

.content-card-image-mask::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(165deg, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.9) 85%);
    pointer-events: none;
    z-index: 1;
}

.content-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    flex: 1;
}

/* Content Description */
.content-description {
    margin-bottom: var(--spacing-8);
}

.content-description-text {
    color: #121F35;
    font-family: var(--font-primary);
    font-size: clamp(0.875rem, 0.8125rem + 0.25vw, 1rem); /* 14px → 16px */
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.32px;
    margin: 0 0 var(--spacing-4) 0;
    text-align: left;
}

.content-description-text:last-child {
    margin-bottom: 0;
}

/* Promise Section */
.content-promise {
    position: relative;
    background: var(--white);
    border-radius: 7px;
    padding: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.content-promise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 7px;
    z-index: 1;
}

.content-promise-line {
    position: absolute;
    top: 0;
    left: var(--spacing-6);
    width: 181px;
    height: 6px;
    z-index: 2;
}

.content-promise-text {
    position: relative;
    z-index: 3;
    color: #121F35;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: -0.32px;
    margin: var(--spacing-4) 0 0 0;
    text-align: left;
}

/* Video Section */
.content-video-section {
    position: absolute;
    bottom: var(--spacing-8);
    left: var(--spacing-10);
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    z-index: 10;
}

.content-video-button {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-all);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.content-video-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-primary-lg);
}

.content-video-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content-video-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.content-video-label {
    font-family: var(--font-primary);
    font-size: clamp(0.875rem, 0.8125rem + 0.625vw, 1.5625rem); /* 14px → 25px */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--white);
    margin: 0;
    text-align: left;
}

.content-video-line {
    width: 127.5px;
    height: 1px;
    background: var(--white);
}

/* Decorative Circle */
.content-circle {
    position: absolute;
    top: -300px;
    right: 0;
    width: 302.621px;
    height: 302.991px;
    z-index: 3;
}

.content-circle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Decorative Circle Link Wrapper */
.content-circle-link {
    position: absolute;
    top: -300px;
    right: 0;
    width: 302.621px;
    height: 302.991px;
    z-index: 3;
    text-decoration: none;
    display: block;
    transition: var(--transition-normal);
    cursor: pointer;
}

.content-circle-link .content-circle {
    position: relative;
    top: 0;
    right: 0;
    transition: transform var(--transition-normal);
}

.content-circle-link:hover .content-circle {
    transform: scale(1.05);
}

.content-circle-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 4px;
    border-radius: 50%;
}

.content-circle-link:focus .content-circle {
    transform: scale(1.05);
}

.content-circle-link:active .content-circle {
    transform: scale(0.98);
}

/* CONTENT SECTION RESPONSIVE DESIGN */

/* Large Desktop */
@media (min-width: 1440px) {
    .content-container {
        max-width: 1640px; /* Match hero and header container width */
        width: calc(100% - 72px); /* Match header width calculation */
        padding: 0 20px; /* Match header container padding */
    }
}

/* Desktop */
@media (max-width: 1280px) {
    .content-title {
        font-size: 48px;
        line-height: 60px;
    }

    .content-card {
        flex-direction: column;
        min-height: auto;
        align-items: center;
        gap: var(--spacing-12);
    }

    .content-card-left,
    .content-card-right {
        flex: none;
        width: 100%;
    }

    .content-card-right {
        align-items: center;
        margin-top: 0;
    }

    .content-card-image-container {
        width: 100%;
        min-height: 350px;
        align-self: center;
        flex: 1;
    }

    .content-circle {
        width: 250px;
        height: 250px;
        top: -120px;
        right: 0;
    }

    .content-circle-link {
        width: 250px;
        height: 250px;
        top: -120px;
        right: 0;
    }
}

/* Large Tablet */
@media (max-width: 1024px) {
    .content-card-image-container {
        width: 100%;
        min-height: 300px;
        align-self: center;
        flex: 1;
    }
}

/* Tablet - Enhanced Mobile Experience */
@media (max-width: 768px) {
    .content-section {
        padding: var(--spacing-16) 0;
        background: var(--white);
        position: relative;
        overflow: hidden;
    }

    .content-container {
        max-width: 100%;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 0 var(--spacing-4);
        position: relative;
        z-index: 2;
    }

    .content-title-section {
        text-align: center;
        margin-bottom: var(--spacing-12);
        max-width: 100%;
    }

    .content-title {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: var(--spacing-4);
        color: var(--gray-900);
        font-weight: 600;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }

    .content-subtitle {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.5;
        color: var(--gray-600);
        text-align: center;
        margin: 0;
        font-weight: 400;
    }

    .content-card {
        flex-direction: column;
        gap: var(--spacing-6);
        padding: var(--spacing-8);
        min-height: auto;
        background: #eef1f6;
        border-radius: var(--radius-2xl);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .content-card-left,
    .content-card-right {
        width: 100%;
        flex: none;
        padding: 0;
    }

    .content-card-right {
        align-items: center;
        gap: var(--spacing-6);
        order: -1; /* Image first on mobile */
    }

    .content-card-image-container {
        width: 100%;
        min-height: 280px;
        flex: 1;
        border-radius: var(--radius-xl);
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }

    .content-description {
        margin-bottom: var(--spacing-6);
        text-align: center;
    }

    .content-description-text {
        font-size: clamp(14px, 3.5vw, 16px);
        line-height: 1.6;
        color: var(--gray-700);
        margin-bottom: var(--spacing-4);
        text-align: center;
        font-weight: 400;
    }

    .content-promise {
        position: relative;
        padding: var(--spacing-5);
        background: rgba(64, 180, 95, 0.08);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(64, 180, 95, 0.15);
        margin-bottom: var(--spacing-6);
        text-align: center;
    }

    .content-promise-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(64, 180, 95, 0.05) 0%, rgba(64, 180, 95, 0.1) 100%);
        border-radius: var(--radius-lg);
        z-index: 1;
    }

    .content-promise-line {
        position: relative;
        z-index: 2;
        margin: 0 auto var(--spacing-3);
        width: 120px;
        height: 4px;
        background: var(--primary-green);
        border-radius: 2px;
    }

    .content-promise-text {
        position: relative;
        z-index: 2;
        font-size: clamp(13px, 3vw, 15px);
        line-height: 1.5;
        color: var(--gray-700);
        margin: 0;
        font-style: italic;
        text-align: center;
        font-weight: 500;
    }
    
    .content-video-section {
        display: none; /* Hide video section on mobile */
    }
    
    .content-video-button {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        box-shadow: 0 6px 24px rgba(42, 107, 78, 0.25);
        background: var(--primary-green);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .content-video-button:hover,
    .content-video-button:active {
        transform: scale(1.05);
        box-shadow: 0 8px 32px rgba(42, 107, 78, 0.35);
    }
    
    .content-video-button:active {
        transform: scale(0.98);
    }
    
    .content-video-button img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }
    
    .content-video-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-1);
    }
    
    .content-video-label {
        font-size: clamp(14px, 3.5vw, 16px);
        font-weight: 600;
        color: var(--gray-800);
        margin: 0;
        text-align: left;
        line-height: 1.3;
    }
    
    .content-video-line {
        width: 60px;
        height: 2px;
        background: var(--primary-green);
        border-radius: 1px;
    }

    .content-circle {
        display: none;
    }

    .content-circle-link {
        display: none;
    }
    
    /* Enhanced touch interactions */
    .content-video-button:focus {
        outline: 3px solid rgba(42, 107, 78, 0.3);
        outline-offset: 2px;
    }
    
    /* Improved accessibility */
    .content-card:focus-within {
        outline: 2px solid var(--primary-green);
        outline-offset: 4px;
    }
}

/* Mobile - Enhanced Small Screen Experience */
@media (max-width: 480px) {
    .content-section {
        padding: var(--spacing-12) 0;
        background: var(--white);
        position: relative;
        overflow: hidden;
    }
    
    .content-container {
        max-width: 100%;
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 0 var(--spacing-4);
        position: relative;
        z-index: 2;
    }
    
    .content-title-section {
        text-align: center;
        margin-bottom: var(--spacing-10);
        max-width: 100%;
    }
    
    .content-title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin-bottom: var(--spacing-3);
        color: var(--gray-900);
        font-weight: 600;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    
    .content-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.5;
        color: var(--gray-600);
        text-align: center;
        margin: 0;
        font-weight: 400;
    }
    
    .content-card {
        flex-direction: column;
        gap: var(--spacing-5);
        padding: var(--spacing-6);
        min-height: auto;
        background: #eef1f6;
        border-radius: var(--radius-xl);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    .content-card-left,
    .content-card-right {
        width: 100%;
        flex: none;
        padding: 0;
    }
    
    .content-card-right {
        align-items: center;
        gap: var(--spacing-5);
        order: -1; /* Image first on mobile */
    }
    
    .content-card-image-container {
        width: 100%;
        min-height: 240px;
        align-self: center;
        flex: 1;
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
    
    .content-description {
        margin-bottom: var(--spacing-5);
        text-align: center;
    }
    
    .content-description-text {
        font-size: clamp(13px, 3.5vw, 15px);
        line-height: 1.6;
        color: var(--gray-700);
        margin-bottom: var(--spacing-3);
        text-align: center;
        font-weight: 400;
    }
    
    .content-promise {
        position: relative;
        padding: var(--spacing-4);
        background: rgba(64, 180, 95, 0.08);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(64, 180, 95, 0.15);
        margin-bottom: var(--spacing-5);
        text-align: center;
    }
    
    .content-promise-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(64, 180, 95, 0.05) 0%, rgba(64, 180, 95, 0.1) 100%);
        border-radius: var(--radius-lg);
        z-index: 1;
    }
    
    .content-promise-line {
        position: relative;
        z-index: 2;
        margin: 0 auto var(--spacing-2);
        width: 100px;
        height: 3px;
        background: var(--primary-green);
        border-radius: 2px;
    }
    
    .content-promise-text {
        position: relative;
        z-index: 2;
        font-size: clamp(12px, 3vw, 14px);
        line-height: 1.5;
        color: var(--gray-700);
        margin: 0;
        font-style: italic;
        text-align: center;
        font-weight: 500;
    }

    .content-video-section {
        display: none; /* Hide video section on mobile */
    }

    .content-video-button {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(42, 107, 78, 0.25);
        background: var(--primary-green);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px; /* Accessibility touch target */
        min-height: 44px;
    }
    
    .content-video-button:hover,
    .content-video-button:active {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(42, 107, 78, 0.35);
    }
    
    .content-video-button:active {
        transform: scale(0.95);
    }

    .content-video-button img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .content-video-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-1);
    }

    .content-video-label {
        font-size: clamp(13px, 3.5vw, 15px);
        font-weight: 600;
        color: var(--gray-800);
        margin: 0;
        text-align: left;
        line-height: 1.3;
    }

    .content-video-line {
        width: 50px;
        height: 2px;
        background: var(--primary-green);
        border-radius: 1px;
    }
    
    .content-circle {
        display: none;
    }

    .content-circle-link {
        display: none;
    }
    
    /* Enhanced touch interactions for mobile */
    .content-video-button:focus {
        outline: 3px solid rgba(42, 107, 78, 0.3);
        outline-offset: 2px;
    }
    
    /* Improved accessibility for mobile */
    .content-card:focus-within {
        outline: 2px solid var(--primary-green);
        outline-offset: 4px;
    }
    
    /* Mobile-specific performance optimizations */
    .content-card-image-container {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .content-video-button {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Ultra-Small Mobile - Enhanced Experience */
@media (max-width: 360px) {
    .content-section {
        padding: var(--spacing-10) 0;
        background: var(--white);
        position: relative;
        overflow: hidden;
    }

    .content-container {
        max-width: 100%;
        width: calc(100% - 24px);
        margin: 0 auto;
        padding: 0 var(--spacing-3);
        position: relative;
        z-index: 2;
    }
    
    .content-title-section {
        text-align: center;
        margin-bottom: var(--spacing-8);
        max-width: 100%;
    }

    .content-title {
        font-size: clamp(20px, 6vw, 28px);
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin-bottom: var(--spacing-2);
        color: var(--gray-900);
        font-weight: 600;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .content-subtitle {
        font-size: clamp(13px, 3.5vw, 16px);
        line-height: 1.4;
        color: var(--gray-600);
        text-align: center;
        margin: 0;
        font-weight: 400;
    }

    .content-card {
        flex-direction: column;
        gap: var(--spacing-4);
        padding: var(--spacing-5);
        min-height: auto;
        background: #eef1f6;
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .content-card-left,
    .content-card-right {
        width: 100%;
        flex: none;
        padding: 0;
    }
    
    .content-card-right {
        align-items: center;
        gap: var(--spacing-4);
        order: -1; /* Image first on mobile */
    }

    .content-card-image-container {
        width: 100%;
        min-height: 200px;
        align-self: center;
        flex: 1;
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }
    
    .content-description {
        margin-bottom: var(--spacing-4);
        text-align: center;
    }

    .content-description-text {
        font-size: clamp(12px, 3vw, 14px);
        line-height: 1.5;
        color: var(--gray-700);
        margin-bottom: var(--spacing-2);
        text-align: center;
        font-weight: 400;
    }

    .content-promise {
        position: relative;
        padding: var(--spacing-3);
        background: rgba(64, 180, 95, 0.08);
        border-radius: var(--radius-md);
        border: 1px solid rgba(64, 180, 95, 0.15);
        margin-bottom: var(--spacing-4);
        text-align: center;
    }
    
    .content-promise-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(64, 180, 95, 0.05) 0%, rgba(64, 180, 95, 0.1) 100%);
        border-radius: var(--radius-md);
        z-index: 1;
    }
    
    .content-promise-line {
        position: relative;
        z-index: 2;
        margin: 0 auto var(--spacing-2);
        width: 80px;
        height: 3px;
        background: var(--primary-green);
        border-radius: 2px;
    }

    .content-promise-text {
        position: relative;
        z-index: 2;
        font-size: clamp(11px, 2.5vw, 13px);
        line-height: 1.4;
        color: var(--gray-700);
        margin: 0;
        font-style: italic;
        text-align: center;
        font-weight: 500;
    }
    
    .content-video-section {
        display: none; /* Hide video section on mobile */
    }

    .content-video-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(42, 107, 78, 0.25);
        background: var(--primary-green);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px; /* Accessibility touch target */
        min-height: 44px;
    }
    
    .content-video-button:hover,
    .content-video-button:active {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(42, 107, 78, 0.35);
    }
    
    .content-video-button:active {
        transform: scale(0.95);
    }

    .content-video-button img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }
    
    .content-video-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-0-5);
    }

    .content-video-label {
        font-size: clamp(12px, 3vw, 14px);
        font-weight: 600;
        color: var(--gray-800);
        margin: 0;
        text-align: left;
        line-height: 1.3;
    }
    
    .content-video-line {
        width: 40px;
        height: 2px;
        background: var(--primary-green);
        border-radius: 1px;
    }
    
    .content-circle {
        display: none;
    }

    .content-circle-link {
        display: none;
    }
    
    /* Enhanced touch interactions for ultra-small mobile */
    .content-video-button:focus {
        outline: 3px solid rgba(42, 107, 78, 0.3);
        outline-offset: 2px;
    }
    
    /* Improved accessibility for ultra-small mobile */
    .content-card:focus-within {
        outline: 2px solid var(--primary-green);
        outline-offset: 4px;
    }
    
    /* Ultra-small mobile performance optimizations */
    .content-card-image-container {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .content-video-button {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Reduce motion for better performance on small devices */
    @media (prefers-reduced-motion: reduce) {
        .content-video-button {
            transition: none;
        }
        
        .content-video-button:hover,
        .content-video-button:active {
            transform: none;
        }
    }
}

/* ========================================
   MOBILE-SPECIFIC ENHANCEMENTS
   ======================================== */

/* Enhanced mobile touch targets and interactions */
@media (max-width: 768px) {
    /* Improved touch targets for mobile */
    .content-video-button {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    /* Better mobile scrolling */
    .content-section {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Mobile-optimized shadows */
    .content-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .content-card-image-container {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    
    /* Mobile typography improvements */
    .content-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .content-description-text {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Mobile performance optimizations */
    .content-card-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Mobile-specific focus states */
    .content-video-button:focus-visible {
        outline: 3px solid rgba(42, 107, 78, 0.4);
        outline-offset: 3px;
    }
    
    /* Mobile accessibility improvements */
    @media (prefers-contrast: high) {
        .content-title {
            color: var(--gray-950);
        }
        
        .content-description-text {
            color: var(--gray-800);
        }
        
        .content-video-button {
            background: var(--primary-green-dark);
        }
    }
    
    /* Dark mode support for mobile */
    @media (prefers-color-scheme: dark) {
        .content-section {
            background: var(--gray-900);
        }
        
        .content-card {
            background: var(--gray-800);
        }
        
        .content-title {
            color: var(--white);
        }
        
        .content-description-text {
            color: var(--gray-300);
        }
        
        .content-video-label {
            color: var(--gray-200);
        }
    }
}

/* Mobile landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .content-section {
        padding: var(--spacing-8) 0;
    }
    
    .content-container {
        padding: 0 var(--spacing-3);
    }
    
    .content-title-section {
        margin-bottom: var(--spacing-6);
    }
    
    .content-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: var(--spacing-2);
    }
    
    .content-card {
        padding: var(--spacing-5);
        gap: var(--spacing-4);
    }
    
    .content-card-image-container {
        min-height: 180px;
    }
    
    .content-video-section {
        margin-top: var(--spacing-2);
    }
}

/* Mobile portrait orientation optimizations */
@media (max-width: 768px) and (orientation: portrait) {
    .content-section {
        padding: var(--spacing-16) 0;
    }
    
    .content-container {
        padding: 0 var(--spacing-4);
    }
    
    .content-title-section {
        margin-bottom: var(--spacing-12);
    }
    
    .content-card {
        padding: var(--spacing-8);
        gap: var(--spacing-6);
    }
    
    .content-card-image-container {
        min-height: 280px;
    }
}

/* Ultra-wide mobile devices (like iPhone 14 Pro Max) */
@media (max-width: 768px) and (min-width: 430px) {
    .content-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .content-title {
        font-size: clamp(28px, 6vw, 36px);
    }
    
    .content-card {
        padding: var(--spacing-10);
    }
    
    .content-card-image-container {
        min-height: 300px;
    }
}
