/* ============================================
   CASE STUDIES DETAILS - DUAL THEME (BLACK + WHITE + VIOLET)
   Alternating Sections & Cards Architecture:
   - Breadcrumbs: Dark Obsidian (#090514)
   - Main Section: Light Canvas (#F8FAFC)
     * Main Article: Pure White Card (#FFFFFF)
     * Sidebar Menu: Sleek Dark Card (#0C0F17)
     * Recent Posts: White Card (#FFFFFF)
   - FAQ Section: Sleek Dark Background (#090514)
     * Accordions: Dark Obsidian Cards (#111624)
   - Bottom CTA: Light Canvas with Violet Gradient Card
============================================ */

/* Main Content Layout (Light Section) */
.premium-blog-main {
    background: #f8fafc;
    padding: 60px 0 80px;
    position: relative;
}

.premium-blog-container-custom {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.premium-two-column {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.premium-content-area {
    flex: 0 0 68%;
    width: 68%;
}

.premium-sidebar-area {
    flex: 0 0 28%;
    width: 28%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Article Card (White Card) */
.premium-article-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 44px;
    border: 1.5px solid #8a0ffb;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.premium-featured-img {
    max-width: 750px;
    width: 100%;
    margin: 0 auto 32px;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid #8a0ffb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    display: block;
}

.premium-featured-img img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
}

.premium-article-header {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.premium-article-header h1,
.premium-blog-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 18px;
}

.premium-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.premium-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #8a0ffb;
    font-size: 0.85rem;
    font-weight: 600;
}

.premium-meta-item i {
    color: #8a0ffb;
    font-size: 0.9rem;
}

/* Content Typography (On White Card) */
.blog-text {
    color: #334155;
    line-height: 1.85;
    font-size: 1.05rem;
}

.blog-text h2 {
    color: #0f172a;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid #8a0ffb;
    border-bottom: 1px solid #e2e8f0;
}

.blog-text h3 {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
}

.blog-text h4 {
    color: #8a0ffb;
    font-size: 1.22rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}

.blog-text p {
    margin-bottom: 20px;
    color: #334155;
}

.blog-text strong,
.blog-text b {
    color: #0f172a;
    font-weight: 700;
}

.blog-text a {
    color: #8a0ffb;
    text-decoration: none;
    border-bottom: 1px dashed rgba(138, 15, 251, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-text a:hover {
    color: #7209d4;
    border-bottom-style: solid;
}

.blog-text ul,
.blog-text ol {
    margin: 20px 0 24px;
    padding-left: 24px;
}

.blog-text li {
    margin-bottom: 8px;
    color: #334155;
}

.blog-text blockquote {
    background: #f8fafc;
    border-left: 4px solid #8a0ffb;
    border-radius: 0 12px 12px 0;
    padding: 20px 28px;
    margin: 30px 0;
    font-style: italic;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-left-color: #8a0ffb;
}

.blog-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.blog-text th {
    background: #f1f5f9;
    color: #0f172a;
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 2px solid #8a0ffb;
}

.blog-text td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.premium-gold-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

/* Social Share */
.premium-social-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 28px;
    background: #f8fafc;
    border: 1.5px solid #8a0ffb;
    border-radius: 16px;
}

.premium-social-share h4 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
}

.premium-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.premium-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #8a0ffb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.premium-social-icon:hover {
    background: #8a0ffb;
    border-color: #8a0ffb;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ============================================
   SIDEBAR WIDGETS (ALTERNATING DARK & LIGHT CARDS)
============================================ */

/* 1st Widget: Sleek Dark Card */
.premium-sidebar-area .premium-widget:first-of-type {
    background: #130426;
    border: 1px solid rgba(138, 15, 251, 0.35);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 15, 251, 0.08);
    margin-bottom: 30px;
}

.premium-sidebar-area .premium-widget:first-child .premium-widget-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #8a0ffb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-sidebar-menu li a {
    display: block;
    padding: 11px 16px;
    background: #130426;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.premium-sidebar-menu li a:hover {
    background: #8a0ffb;
    border-color: #8a0ffb;
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(138, 15, 251, 0.3);
}

/* 2nd Widget: Crisp White Card */
.premium-sidebar-area .premium-widget:nth-child(2) {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1.5px solid #8a0ffb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.premium-sidebar-area .premium-widget:nth-child(2) .premium-widget-title {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #8a0ffb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Recent Posts Inside 2nd Widget */
.premium-recent-post {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.premium-recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.premium-recent-img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid #8a0ffb;
}

.premium-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-recent-content h6 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

.premium-recent-content h6 a {
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.premium-recent-content h6 a:hover {
    color: #8a0ffb;
}

.premium-recent-date {
    font-size: 0.76rem;
    color: #8a0ffb;
    font-weight: 600;
    margin-bottom: 4px;
}

.premium-related-readmore {
    color: #8a0ffb;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.premium-related-readmore:hover {
    color: #7209d4;
    text-decoration: underline;
}

/* ============================================
   FAQ SECTION (NEXT SECTION: SLEEK DARK BACKGROUND)
============================================ */
.fq-section {
    background: #130426;
    padding: 70px 0 80px;
    position: relative;
    border-top: 1px solid rgba(138, 15, 251, 0.25);
    border-bottom: 1px solid rgba(138, 15, 251, 0.25);
}

.fq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 15, 251, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.fq-section .section-head .sm-title {
    color: #8a0ffb;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 6px 18px;
    background: rgba(138, 15, 251, 0.12);
    border: 1px solid rgba(138, 15, 251, 0.3);
    border-radius: 50px;
    margin-bottom: 14px;
}

.fq-section .section-head h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 40px;
}

.fq-item {
    background: #130426;
    border: 1px solid rgba(138, 15, 251, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fq-item.fq-open {
    border-color: #8a0ffb;
    box-shadow: 0 8px 30px rgba(138, 15, 251, 0.2);
    background: #130426;
}

.fq-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.fq-num {
    color: #8a0ffb;
    font-weight: 700;
    font-size: 1.1rem;
}

.fq-q-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.fq-item.fq-open .fq-q-text {
    color: #8a0ffb;
}

.fq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(138, 15, 251, 0.15);
    border: 1px solid rgba(138, 15, 251, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a0ffb;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.fq-icon svg {
    width: 16px;
    height: 16px;
    stroke: #8a0ffb;
}

.fq-item.fq-open .fq-icon {
    transform: rotate(45deg);
    background: #8a0ffb;
}

.fq-item.fq-open .fq-icon svg {
    stroke: #ffffff;
}

.fq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.fq-answer-inner {
    padding: 0 26px 24px;
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.75;
}

/* ============================================
   BOTTOM CTA SECTION (NEXT SECTION: CLEAN LIGHT CANVAS)
============================================ */
.premium-cta-section {
    background: #ffffff;
    padding: 75px 0;
}

.premium-cta-container {
    background: linear-gradient(145deg, #700bdb 0%, #9333ea 100%);
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 20px 50px rgba(138, 15, 251, 0.25);
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.premium-cta-title {
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.premium-cta-title span {
    color: #ffffff;
    text-decoration: underline;
}

.premium-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.premium-cta-btn-primary {
    background: #ffffff !important;
    color: #8a0ffb !important;
    padding: 14px 38px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.premium-cta-btn-primary i {
    color: #8a0ffb !important;
}

.premium-cta-btn-primary:hover {
    background: #130426 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.premium-cta-btn-primary:hover i {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 991px) {
    .premium-two-column {
        flex-direction: column;
    }
    .premium-content-area,
    .premium-sidebar-area {
        flex: 0 0 100%;
        width: 100%;
    }
    .premium-sidebar-area {
        position: static;
        margin-top: 30px;
    }
    .premium-article-card {
        padding: 24px;
    }
}