/**
 * Drive - YouTube Banner Section Component Styles
 *
 * Dark callout banner for YouTube channel subscription:
 * - Rounded charcoal (#2B2D42) card on clean white background
 * - Left: Rounded icon box with YouTube play logo, title with teal highlight, and subtitle
 * - Right: Crisp white "Subscribe on YouTube" button with external link icon (NO GLOW)
 *
 * @package Drive
 */

/* ==========================================================================
   1. Section Wrapper & Container
   ========================================================================== */
.youtube-banner-section {
    background-color: #ffffff !important;
    border: none !important;
    border-bottom: none !important;
    padding: 120px 0 90px;
    position: relative;
    opacity: 1;
}

.youtube-container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 120px;
    padding-right: 120px;
}

/* ==========================================================================
   2. Dark Callout Card
   ========================================================================== */
.youtube-banner-card {
    background: #2B2D42;
    /* Charcoal */
    border-radius: 22px;
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 32px rgba(20, 21, 33, 0.25);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   3. Left Block: Icon + Content
   ========================================================================== */
.youtube-banner-left {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex: 1;
}

/* Dark YouTube Icon Box */
.youtube-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #1c1e2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.youtube-icon-box svg {
    display: block;
}

/* Text Block */
.youtube-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.youtube-banner-title {
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.youtube-banner-title .text-teal-glow,
.youtube-banner-title .text-teal {
    color: #00B4A6;
    text-shadow: none;
}

.youtube-banner-subtext {
    font-size: 0.9375rem;
    color: #C9CAD3;
    /* Light */
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   4. Right Block: Subscribe Button (NO GLOW)
   ========================================================================== */
.youtube-banner-right {
    flex-shrink: 0;
}

.btn-youtube-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #ffffff;
    color: #2B2D42 !important;
    /* Charcoal */
    font-weight: 800;
    /* ExtraBold 800 */
    font-size: 1.05rem;
    padding: 0.85rem 1.65rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: none !important;
    /* NO GLOW */
    transition: background-color 180ms ease, transform 180ms ease;
    white-space: nowrap;
    border: none;
}

.btn-youtube-subscribe:hover,
.btn-youtube-subscribe:focus-visible {
    background: #F4F5F7;
    /* Grey50 */
    transform: translateY(-2px);
    box-shadow: none !important;
    color: #2B2D42 !important;
    outline: none;
}

.btn-youtube-subscribe .btn-external-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #55576D;
    transition: transform 180ms ease, color 180ms ease;
}

.btn-youtube-subscribe:hover .btn-external-icon {
    transform: translate(2px, -2px);
    color: #2B2D42;
}

/* ==========================================================================
   5. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .youtube-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 860px) {
    .youtube-banner-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.65rem;
        gap: 1.35rem;
    }

    .youtube-banner-right {
        width: 100%;
    }

    .btn-youtube-subscribe {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .youtube-banner-section {
        padding: 1rem 0 3.5rem;
    }

    .youtube-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .youtube-banner-card {
        border-radius: 18px;
        padding: 1.35rem 1.25rem;
    }

    .youtube-banner-left {
        gap: 1rem;
    }

    .youtube-icon-box {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .youtube-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .youtube-banner-title {
        font-size: 1.0625rem;
    }

    .youtube-banner-subtext {
        font-size: 0.8125rem;
    }
}