/* ========================================
       WRAPPER SCOPED STYLES
       ======================================== */
.ccl-article--wrapper {
    /* CSS Variables */
    --primary-blue: #1d63ff;
    --cta-blue: #0b5cff;
    --cta-dark: #0846c1;
    --accent-green: #10b981;
    --accent-gold: #ffa826;
    --ink: #1e293b;
    --muted: #64748b;
    --soft-border: #e5e7eb;
    --white: #ffffff;
    --bg-light: #f8fafc;

    /* Typography */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ccl-article--wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ccl-article--wrapper main {
    overflow-x: hidden;
}

/* ========================================
       HERO SECTION - Full Width Immersive
       ======================================== */
.ccl-article--hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #0846c1 0%, #1d63ff 50%, #0b5cff 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 24px 80px;
    overflow: hidden;
}

.ccl-article--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.ccl-article--hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.8) 75%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.ccl-article--hero-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ccl-article--category-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ccl-article--hero h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.ccl-article--hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.ccl-article--meta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ccl-article--meta-badge i {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
       ARTICLE CONTAINER
       ======================================== */
.ccl-article--container {
    max-width: 1400px;
    margin: -40px auto 0;
    padding: 0 24px 50px;
    position: relative;
    z-index: 10;
}

.ccl-article--grid {
    display: grid;
    grid-template-columns: 80px 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ========================================
       LEFT RAIL - Vertical Actions
       ======================================== */
.ccl-article--left-rail {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.ccl-article--action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--soft-border);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ccl-article--action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 99, 255, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.ccl-article--action-btn--facebook:hover {
    background: #1877f2;
    color: var(--white);
    border-color: #1877f2;
}

.ccl-article--action-btn--twitter:hover {
    background: #1da1f2;
    color: var(--white);
    border-color: #1da1f2;
}

.ccl-article--action-btn--linkedin:hover {
    background: #0077b5;
    color: var(--white);
    border-color: #0077b5;
}

.ccl-article--divider {
    width: 2px;
    height: 40px;
    background: var(--soft-border);
    margin: 8px 0;
}

.ccl-article--helpful {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 16px 0;
}

.ccl-article--helpful-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
}

/* ========================================
       MAIN CONTENT - Elevated Card
       ======================================== */
.ccl-article--main {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ccl-article--content {
    padding: 60px;
}

.ccl-article--content>*:first-child {
    margin-top: 0;
}

.ccl-article--content>*:last-child {
    margin-bottom: 0;
}

.ccl-article--content p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 28px;
}

.ccl-article--content p:first-of-type {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 3px solid var(--bg-light);
}

.ccl-article--content h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
    margin: 64px 0 28px;
    position: relative;
    padding-left: 24px;
}

.ccl-article--content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-blue), var(--cta-blue));
    border-radius: 3px;
}

.ccl-article--content h2:first-child {
    margin-top: 0;
}

.ccl-article--content h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    margin: 48px 0 24px;
}

.ccl-article--content h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    margin: 36px 0 20px;
}

.ccl-article--content ul,
.ccl-article--content ol {
    margin: 28px 0 28px 32px;
    color: var(--muted);
}

.ccl-article--content li {
    font-size: 1.15rem;
    line-height: 1.85;
    margin-bottom: 16px;
    padding-left: 8px;
}

.ccl-article--content strong {
    color: var(--ink);
    font-weight: 700;
}

.ccl-article--content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 2px solid rgba(29, 99, 255, 0.3);
    transition: all 0.3s ease;
}

.ccl-article--content a:hover {
    color: var(--cta-dark);
    border-bottom-color: var(--cta-dark);
}

.ccl-article--content blockquote {
    border-left: 5px solid var(--primary-blue);
    background: var(--bg-light);
    padding: 28px 32px;
    margin: 40px 0;
    font-style: italic;
    color: var(--ink);
    font-size: 1.25rem;
    border-radius: 0 12px 12px 0;
}

.ccl-article--content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ccl-article--content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--soft-border), transparent);
    margin: 56px 0;
}

/* ========================================
       ARTICLE FOOTER - TAGS SECTION
       ======================================== */
.ccl-article--footer {
    padding: 40px 60px;
    background: var(--bg-light);
    border-top: 2px solid var(--soft-border);
}

.ccl-article--tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ccl-article--tag-label {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.95rem;
}

.ccl-article--tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--muted);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ccl-article--tag:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.25);
}

/* ========================================
       RIGHT SIDEBAR - AUTHOR CARD
       ======================================== */
.ccl-article--sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ccl-article--card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--soft-border);
    transition: all 0.3s ease;
}

.ccl-article--card:hover {
    box-shadow: 0 8px 32px rgba(29, 99, 255, 0.12);
    border-color: var(--primary-blue);
}

/* Author Card */
.ccl-article--author {
    text-align: center;
}

.ccl-article--author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--cta-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(29, 99, 255, 0.2);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Inter Tight', sans-serif;
}

.ccl-article--author-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.ccl-article--author-role {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.ccl-article--author-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.ccl-article--author-tag {
    background: var(--bg-light);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid var(--soft-border);
}

.ccl-article--author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
    text-align: left;
    margin-bottom: 20px;
}

.ccl-article--author-contact {
    padding-top: 20px;
    border-top: 2px solid var(--soft-border);
}

.ccl-article--author-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
}

.ccl-article--author-btn:hover {
    background: var(--cta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 99, 255, 0.3);
}

/* Info Card */
.ccl-article--info {
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid var(--soft-border);
}

.ccl-article--info h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.ccl-article--info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ccl-article--info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--soft-border);
    gap: 8px;
}

.ccl-article--info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ccl-article--info-item:first-child {
    padding-top: 0;
}

.ccl-article--info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(29, 99, 255, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.ccl-article--info-item span {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.3;
}

/* CTA Card */
.ccl-article--cta-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--cta-blue));
    color: var(--white);
    border: none;
    text-align: center;
}

.ccl-article--cta-card:hover {
    box-shadow: 0 12px 40px rgba(29, 99, 255, 0.3);
    transform: translateY(-4px);
}

.ccl-article--cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ccl-article--cta-icon i {
    font-size: 2.25rem;
    color: var(--white);
}

.ccl-article--cta-card h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.3;
}

.ccl-article--cta-card p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    opacity: 0.95;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.ccl-article--btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.ccl-article--btn--white {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ccl-article--btn--white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
       RELATED SECTION
       ======================================== */
.ccl-article--related {
    max-width: 1300px;
    margin: 80px auto 0;
    padding: 0 24px 100px;
}

.ccl-article--related-header {
    text-align: center;
    margin-bottom: 56px;
}

.ccl-article--related-kicker {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.ccl-article--related-kicker::before,
.ccl-article--related-kicker::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.ccl-article--related-header h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 0;
    line-height: 1.2;
}

.ccl-article--related-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
}

.ccl-article--related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.ccl-article--related-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--soft-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.ccl-article--related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(29, 99, 255, 0.15);
    border-color: var(--primary-blue);
}

.ccl-article--related-content {
    padding: 32px;
}

.ccl-article--related-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.ccl-article--related-card h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 14px;
}

.ccl-article--related-excerpt {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.ccl-article--related-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.ccl-article--related-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}

.ccl-article--related-date i {
    color: var(--primary-blue);
}

.ccl-article--read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.ccl-article--related-card:hover .ccl-article--read-more {
    gap: 12px;
}

/* Scroll Reveal Animation */
.ccl-article--scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ccl-article--scroll-reveal.ccl-article--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
       RESPONSIVE DESIGN
       ======================================== */
@media (max-width: 1200px) {
    .ccl-article--grid {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }

    .ccl-article--left-rail {
        display: none;
    }

    /* Hide Article Info card on tablets and below */
    .ccl-article--info {
        display: none;
    }

    /* Hide CTA card on tablets and below */
    .ccl-article--cta-card {
        display: none;
    }
}

@media (max-width: 900px) {
    .ccl-article--grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ccl-article--sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .ccl-article--content {
        padding: 40px;
    }

    .ccl-article--footer {
        padding: 32px 40px;
    }
}

@media (max-width: 768px) {
    .ccl-article--hero {
        min-height: 60vh;
        padding: 80px 20px 60px;
    }

    .ccl-article--container {
        padding: 0 20px 80px;
    }

    .ccl-article--content {
        padding: 32px 24px;
    }

    .ccl-article--footer {
        padding: 28px 24px;
    }

    .ccl-article--hero-meta {
        gap: 12px;
        margin-top: 32px;
    }

    .ccl-article--meta-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .ccl-article--meta-badge i {
        font-size: 0.9rem;
    }

    .ccl-article--related {
        padding: 0 20px 80px;
    }

    .ccl-article--related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .ccl-article--hero {
        padding: 60px 16px 48px;
    }

    .ccl-article--category-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
        margin-bottom: 24px;
    }

    .ccl-article--hero-meta {
        gap: 10px;
        margin-top: 28px;
    }

    .ccl-article--meta-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 5px;
    }

    .ccl-article--meta-badge i {
        font-size: 0.85rem;
    }

    .ccl-article--container {
        margin-top: -20px;
        padding: 0 16px 60px;
    }

    .ccl-article--content {
        padding: 28px 20px;
    }

    .ccl-article--content p {
        font-size: 1.05rem;
    }

    .ccl-article--content p:first-of-type {
        font-size: 1.25rem;
    }

    .ccl-article--sidebar {
        grid-template-columns: 1fr;
    }

    .ccl-article--cta-card h4 {
        font-size: 1.2rem;
    }

    .ccl-article--cta-card p {
        font-size: 0.9rem;
    }

    .ccl-article--related-kicker {
        font-size: 0.8rem;
        gap: 12px;
    }

    .ccl-article--related-kicker::before,
    .ccl-article--related-kicker::after {
        width: 30px;
    }
}