/* --- DT Class Showcase Styles (v1.3.1) --- */

:root {
    --dtcs-text-light: #ffffff;
    --dtcs-text-gray: #cccccc;
    --dtcs-main-btn-bg: #81d742; 
    --dtcs-main-btn-text: #ffffff;
    --dtcs-link-color: #a987c2;
}

.dt-class-showcase-section {
    position: relative;
    background-color: #1a1a1a;
    padding: 80px 20px;
    overflow: hidden;
    color: var(--dtcs-text-light);
    box-sizing: border-box;
}

.dt-class-showcase-section * {
    box-sizing: border-box;
}

/* --- Backgrounds --- */
.dtcs-bg-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.dtcs-bg-image,
.dtcs-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dtcs-bg-video-iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;
    min-height: 100vh; min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.dtcs-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #000;
    z-index: 1;
}

/* --- Content Columns --- */
.dtcs-col-image,
.dtcs-col-content {
    flex: 1;
    width: 50%; 
}

/* Circular Image */
.dtcs-circle-wrapper {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.dtcs-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Typography --- */
.dtcs-headline {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #fff;
    margin-top: 0;
}

.dtcs-body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dtcs-text-gray);
    margin-bottom: 40px;
}

.dtcs-body p {
    margin-bottom: 1em;
}

/* --- Link Styling (Updated for Specificity) --- */
/* --- FIX: Added 'p a' selector to override theme defaults --- */
.dt-class-showcase-section .dtcs-body a,
.dt-class-showcase-section .dtcs-body p a, 
.dt-class-showcase-section .dtcs-body a:visited,
.dt-class-showcase-section .dtcs-body a:active {
    color: #a987c2 !important; /* Force Lavender */
    text-decoration: underline;
    transition: color 0.2s ease;
}

.dt-class-showcase-section .dtcs-body a:hover,
.dt-class-showcase-section .dtcs-body p a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Main Button */
.dtcs-main-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--dtcs-main-btn-bg);
    color: var(--dtcs-main-btn-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.2s ease;
}
.dtcs-main-btn:hover {
    transform: translateY(-3px);
    filter: brightness(110%);
}

/* --- Sub Buttons --- */
.dtcs-sub-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease;
    min-height: 100px;
}

.dtcs-sub-btn:hover {
    transform: translateY(-5px);
    filter: brightness(110%);
}

.dtcs-sb-icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dtcs-sb-icon svg {
    width: 32px; height: 32px; fill: currentColor;
}

.dtcs-sb-text {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .dt-class-showcase-section {
        padding: 60px 20px;
    }

    /* Stack Main Row */
    .dtcs-main-row {
        flex-direction: column !important;
        text-align: center;
        gap: 40px !important;
    }
    
    .dtcs-col-image,
    .dtcs-col-content {
        width: 100% !important;
    }

    /* FIX: Force Image to Top on Mobile & Prevent Flex Collapse */
    /* Added flex: 0 0 auto to stop the image from collapsing to 0 height */
    .dtcs-col-image {
        order: -1; 
        flex: 0 0 auto !important;
        margin-bottom: 20px;
    }

    .dtcs-circle-wrapper {
        max-width: 350px;
        /* Ensure specific dimensions on mobile to prevent layout shift */
        width: 100% !important;
    }

    .dtcs-headline {
        font-size: 2.2rem;
    }

    /* Stack Buttons */
    .dtcs-sub-btns-row {
        flex-direction: column !important;
    }

    .dtcs-sub-btn {
        flex-direction: row !important; /* Icon left on mobile */
        justify-content: flex-start !important;
        padding: 15px 20px !important;
        min-height: auto !important;
        text-align: left !important;
        gap: 15px !important;
    }
    .dtcs-sb-icon { margin-bottom: 0; }
}