/* ============================================
   FKKS-INSPIRED ARTICLE TEMPLATE
   Two-column layout, reading progress, drop cap
   ============================================ */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    z-index: 2000;
    transition: width 0.1s linear;
}

/* Article Hero */
.article-hero {
    position: relative;
    padding: calc(var(--header-height, 80px) + 4rem) 0 3rem;
    background: var(--primary-dark);
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(201, 169, 98, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(45, 42, 36, 0.6) 0%, transparent 50%);
    pointer-events: none;
}
.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
}
.article-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 4vw, 4rem);
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.art-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.art-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.art-breadcrumb a:hover { color: var(--accent-gold); }
.art-breadcrumb-sep { color: var(--accent-gold); opacity: 0.4; }

/* Hero Meta */
.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
}
.article-category-badge {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--accent-gold);
    padding: 0.3rem 1rem;
    display: inline-block;
}
.article-date,
.article-read-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.5;
}
.article-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--off-white);
    max-width: 900px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.4s forwards;
}

/* Author Block */
.author-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.19, 1, 0.22, 1) 0.65s forwards;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-warm, #3d3830), var(--primary-light, #4a453c));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 98, 0.15);
    flex-shrink: 0;
}
.author-avatar svg { width: 22px; height: 22px; color: var(--accent-gold); opacity: 0.5; }
.author-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--off-white);
}
.author-title-line {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============================================
   TWO-COLUMN LAYOUT (FKKS pattern)
   ============================================ */
.article-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem clamp(2rem, 4vw, 4rem) 4rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
}

/* Sidebar */
.article-sidebar { position: relative; }
.article-sidebar .sidebar-sticky {
    position: sticky;
    top: calc(var(--header-height, 80px) + 2rem);
}
.article-sidebar .sidebar-section { margin-bottom: 2.5rem; }
.article-sidebar .sidebar-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}
.article-sidebar .sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.article-sidebar .sidebar-nav-link {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s ease;
    position: relative;
}
.article-sidebar .sidebar-nav-link::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--accent-gold);
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.article-sidebar .sidebar-nav-link:hover { color: var(--off-white); padding-left: 0.5rem; }
.article-sidebar .sidebar-nav-link:hover::before { height: 60%; }
.article-sidebar .sidebar-nav-link.active { color: var(--accent-gold); padding-left: 0.5rem; }
.article-sidebar .sidebar-nav-link.active::before { height: 60%; }

/* Sidebar CTA */
.article-sidebar .sidebar-cta {
    background: var(--primary-dark);
    border: 1px solid rgba(201, 169, 98, 0.1);
    padding: 1.5rem;
}
.article-sidebar .sidebar-cta-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}
.article-sidebar .sidebar-cta-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.article-sidebar .sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.article-sidebar .sidebar-cta-btn:hover {
    background: var(--accent-gold-light, #d4bc7d);
    color: var(--primary-dark);
}

/* ============================================
   ARTICLE CONTENT
   ============================================ */
.article-content {
    max-width: 780px;
}

/* Featured Media */
.article-featured-media {
    margin: 0 0 2.5rem 0;
    position: relative;
    border: 1px solid rgba(201, 169, 98, 0.15);
    background: var(--primary-dark);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.article-featured-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.article-featured-media:hover .article-featured-image {
    transform: scale(1.02);
}
.article-featured-caption {
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(26, 25, 21, 0.95);
    border-top: 1px solid rgba(201, 169, 98, 0.1);
    font-style: italic;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-featured-caption::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.75rem;
    font-weight: 300;
}
.article-content p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    color: var(--accent-gold);
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--off-white);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--off-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-content blockquote {
    border-left: 3px solid var(--accent-gold);
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(201, 169, 98, 0.04);
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}
.article-content blockquote p { margin-bottom: 0; }
.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.75rem;
    color: var(--text-light);
}
.article-content li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}
.article-content em { color: var(--off-white); }

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}
.article-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    background: rgba(201, 169, 98, 0.08);
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}
.article-tag:hover {
    background: rgba(201, 169, 98, 0.15);
    color: var(--accent-gold);
}

/* ============================================
   RELATED ARTICLES
   ============================================ */
.related-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem clamp(2rem, 4vw, 4rem);
    border-top: 1px solid rgba(201, 169, 98, 0.08);
}
.related-section-title {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.related-card {
    background: var(--primary-dark);
    border: 1px solid rgba(201, 169, 98, 0.06);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.related-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}
.related-card .cat {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 500;
}
.related-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.3;
    margin: 0;
}
.related-card .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .article-sidebar { order: 2; }
    .article-sidebar .sidebar-sticky { position: static; }
    .article-hero-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
}
@media (max-width: 600px) {
    .article-hero { padding: calc(var(--header-height, 80px) + 2rem) 0 2rem; }
    .art-breadcrumb { margin-bottom: 1.5rem; }
    .article-hero-meta { flex-wrap: wrap; gap: 0.75rem; }
    .related-grid { grid-template-columns: 1fr; }
}
