/* ========================================
   CURATED ARTICLE PREVIEW PAGE
   Complete Styles - Mobile-First
   ======================================== */

/* Curated Badge */
.curated-badge {
    background: linear-gradient(135deg, #1a0f2e 0%, #2a1a4e 100%);
    border-bottom: 1px solid rgba(163, 96, 242, 0.3);
    padding: 10px 16px;
    text-align: center;
}

.curated-label {
    font-size: 10px;
    color: rgba(234, 230, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* ========================================
   SOURCE ATTRIBUTION
   ======================================== */
.source-attribution {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(163, 96, 242, 0.2);
}

.source-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #A360F2, #8B4FD9);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    flex-shrink: 0;
}

.source-info {
    flex: 1;
    min-width: 0;
}

.source-name {
    font-size: 14px;
    font-weight: 600;
    color: #EAE6FF;
    margin-bottom: 2px;
}

.source-meta {
    font-size: 12px;
    color: rgba(234, 230, 255, 0.6);
}

.source-domain {
    color: #A360F2;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.source-domain:hover {
    color: #F02E65;
}

/* ========================================
   ARTICLE HEADER WITH COMMENTARY
   ======================================== */
.article-header {
    margin-bottom: 28px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #EAE6FF;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* Commentary as Subtitle - STYLED */
.article-commentary {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(234, 230, 255, 0.85);
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(163, 96, 242, 0.12) 0%, rgba(139, 79, 217, 0.08) 100%);
    border-left: 4px solid #A360F2;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(163, 96, 242, 0.1);
}

/* ========================================
   FEATURED IMAGE
   ======================================== */
.featured-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1a0f2e 0%, #2a1a4e 100%);
    border-radius: 8px;
    margin-bottom: 28px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   THE PURPLE LENS ANALYSIS (Optional) - STYLED
   ======================================== */
.tppl-commentary {
    background: linear-gradient(135deg, rgba(163, 96, 242, 0.12) 0%, rgba(139, 79, 217, 0.08) 100%);
    border-left: 4px solid #A360F2;
    border-radius: 8px;
    padding: 24px 20px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(163, 96, 242, 0.1);
}

.commentary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.commentary-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #A360F2, #F02E65);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.commentary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #EAE6FF;
}

.commentary-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(234, 230, 255, 0.9);
    white-space: pre-wrap;
}

.commentary-content p {
    margin-bottom: 16px;
}

.commentary-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #1a0f2e 0%, #2a1a4e 100%);
    border: 2px solid #A360F2;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 32px;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #EAE6FF;
    margin-bottom: 10px;
}

.cta-description {
    font-size: 0.9rem;
    color: rgba(234, 230, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #A360F2, #8B4FD9);
    color: white;
}

.btn-primary:active {
    background: linear-gradient(135deg, #8B4FD9, #7340C0);
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: #A360F2;
    border: 2px solid #A360F2;
}

.btn-secondary:active {
    background: rgba(163, 96, 242, 0.1);
    border-color: #F02E65;
    color: #F02E65;
}

/* ========================================
   TABLET (600px+)
   ======================================== */
@media (min-width: 600px) {
    .curated-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .container {
        padding: 32px 24px;
    }
    
    .source-logo {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
    
    .source-name {
        font-size: 15px;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-commentary {
        font-size: 1.1rem;
        line-height: 1.75;
        padding: 22px 26px;
        margin-bottom: 28px;
    }
    
    .featured-image {
        height: 300px;
        border-radius: 10px;
    }
    
    .tppl-commentary {
        padding: 28px 24px;
    }
    
    .commentary-title {
        font-size: 1.35rem;
    }
    
    .commentary-content {
        font-size: 1.08rem;
    }
    
    .cta-section {
        padding: 32px 28px;
    }
    
    .cta-title {
        font-size: 1.65rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
    }
}

/* ========================================
   DESKTOP (900px+)
   ======================================== */
@media (min-width: 900px) {
    .curated-badge {
        padding: 12px 20px;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    .source-attribution {
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .source-logo {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 8px;
    }
    
    .source-name {
        font-size: 16px;
    }
    
    .source-meta {
        font-size: 13px;
    }
    
    .article-header {
        margin-bottom: 40px;
    }
    
    .article-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .article-commentary {
        font-size: 1.15rem;
        line-height: 1.8;
        padding: 24px 28px;
        margin-bottom: 32px;
        border-radius: 8px;
    }
    
    .featured-image {
        height: 400px;
        border-radius: 12px;
        margin-bottom: 40px;
    }
    
    .tppl-commentary {
        padding: 32px;
        margin-bottom: 40px;
    }
    
    .commentary-title {
        font-size: 1.5rem;
    }
    
    .commentary-content {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .cta-section {
        border-radius: 12px;
        padding: 40px;
        margin-bottom: 40px;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        gap: 16px;
    }
    
    .btn {
        padding: 14px 32px;
        font-size: 15px;
        gap: 8px;
    }
    
    /* Hover states for desktop */
    .btn-primary:hover {
        background: linear-gradient(135deg, #8B4FD9, #7340C0);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(163, 96, 242, 0.4);
    }
    
    .btn-secondary:hover {
        background: rgba(163, 96, 242, 0.1);
        border-color: #F02E65;
        color: #F02E65;
    }
}

/* ========================================
   ACCESSIBILITY & TOUCH TARGETS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}