/* ============================================
   BLOG-SINGLE.CSS — Mr.Ooi Blog Articles
   Engineered for PageSpeed 100/100 & UX Excellence
   ============================================ */

/* === Reading Progress Bar === */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* === Top Spacer for Fixed Header === */
.blog-top-spacer {
    height: 100px;
    width: 100%;
    background: var(--bg-dark, #0D1F1C);
}

/* === Breadcrumb === */
.premium-breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}
.premium-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.premium-breadcrumb a:hover {
    color: var(--accent, #1D7C6E);
}
.premium-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}
.premium-breadcrumb .current {
    color: var(--accent-gold, #E8C87A);
    font-weight: 600;
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Layout Wrap === */
.premium-article-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.premium-article-main {
    min-width: 0;
}

/* === Article Header & Hero === */
.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(29, 124, 110, 0.15);
    border: 1px solid rgba(29, 124, 110, 0.35);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent, #1D7C6E);
    margin-bottom: 20px;
}
.article-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green-dot, #4ADE80);
    box-shadow: 0 0 8px var(--accent-green-dot, #4ADE80);
}

.article-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--fg, #fafafa);
    margin-bottom: 18px;
}

.article-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    font-weight: 400;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 36px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(29, 124, 110, 0.25);
}
.article-author-info {
    display: flex;
    flex-direction: column;
}
.article-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg, #fafafa);
}
.article-author-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.article-meta-info .sep {
    color: rgba(255, 255, 255, 0.25);
}

.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.share-btn:hover {
    background: var(--accent, #1D7C6E);
    color: #fff;
    border-color: var(--accent, #1D7C6E);
    transform: translateY(-2px);
}
.share-btn svg {
    width: 16px;
    height: 16px;
}

/* === Featured Image === */
.article-featured {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    aspect-ratio: 16/9;
    background: #020605;
}
.article-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === Key Takeaways Card === */
.takeaways-card {
    background: linear-gradient(135deg, rgba(29, 124, 110, 0.1), rgba(232, 200, 122, 0.05));
    border: 1px solid rgba(29, 124, 110, 0.3);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
    position: relative;
}
.takeaways-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    border-radius: 0 3px 3px 0;
}
.takeaways-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.takeaways-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent, #1D7C6E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.takeaways-icon svg {
    width: 18px;
    height: 18px;
}
.takeaways-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--fg, #fafafa);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.takeaways-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}
.takeaways-list li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--accent, #1D7C6E);
    box-shadow: 0 0 0 4px rgba(29, 124, 110, 0.15);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* === Article Body Typography === */
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
}
.article-body p {
    margin-bottom: 24px;
}
.article-body .article-lead {
    font-size: 1.22rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.75;
    margin-bottom: 36px;
    padding-left: 18px;
    border-left: 3px solid var(--accent, #1D7C6E);
    font-weight: 500;
}
.article-body h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--fg, #fafafa);
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 48px 0 20px;
    scroll-margin-top: 110px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.article-body h2 .heading-num {
    font-size: 0.88rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 3px 10px;
    border: 1px solid rgba(29, 124, 110, 0.35);
    border-radius: 8px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg, #fafafa);
    margin: 32px 0 16px;
    line-height: 1.4;
    scroll-margin-top: 110px;
}
.article-body strong {
    color: #fff;
    font-weight: 700;
}
.article-body a {
    color: var(--accent-gold, #E8C87A);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.article-body a:hover {
    color: #fff;
}
.article-body code {
    background: rgba(29, 124, 110, 0.15);
    color: var(--accent-gold, #E8C87A);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    border: 1px solid rgba(29, 124, 110, 0.25);
}
.article-body blockquote {
    margin: 36px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(29, 124, 110, 0.08), rgba(232, 200, 122, 0.04));
    border-left: 4px solid var(--accent, #1D7C6E);
    border-radius: 0 14px 14px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--accent-gold, #E8C87A);
    font-weight: 500;
    line-height: 1.6;
}

/* === Styled Checklists === */
.article-body ul.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.article-body ul.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.96rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}
.article-body ul.checklist li:hover {
    background: rgba(29, 124, 110, 0.06);
    border-color: rgba(29, 124, 110, 0.25);
    transform: translateX(3px);
}
.article-body ul.checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--accent, #1D7C6E);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* === Regular List Fallback === */
.article-body ul:not(.checklist):not(.takeaways-list):not(.toc-list) {
    margin: 0 0 24px 20px;
    padding: 0;
}
.article-body ul:not(.checklist):not(.takeaways-list):not(.toc-list) li {
    margin-bottom: 8px;
    padding-left: 6px;
}

/* === Callout Boxes === */
.callout {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 12px;
    margin: 32px 0;
    align-items: flex-start;
}
.callout-tip {
    background: rgba(29, 124, 110, 0.1);
    border: 1px solid rgba(29, 124, 110, 0.3);
}
.callout-warning {
    background: rgba(204, 78, 60, 0.1);
    border: 1px solid rgba(204, 78, 60, 0.35);
}
.callout-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.callout-tip .callout-icon {
    background: var(--accent, #1D7C6E);
    color: #fff;
}
.callout-warning .callout-icon {
    background: var(--accent-red, #CC4E3C);
    color: #fff;
}
.callout-icon svg {
    width: 18px;
    height: 18px;
}
.callout-content {
    flex: 1;
    font-size: 0.96rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}
.callout-content strong {
    color: #fff;
}

/* === Stats Grid === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 36px 0;
}
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: rgba(29, 124, 110, 0.08);
    border-color: rgba(29, 124, 110, 0.3);
    transform: translateY(-2px);
}
.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}
.stat-card .stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* === Inline CTA === */
.inline-cta {
    background: linear-gradient(135deg, var(--accent, #1D7C6E) 0%, #145F55 100%);
    border-radius: 16px;
    padding: 34px;
    margin: 44px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(29, 124, 110, 0.35);
}
.inline-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 200, 122, 0.25), transparent 70%);
    pointer-events: none;
}
.inline-cta-inner {
    position: relative;
    z-index: 1;
}
.inline-cta h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}
.inline-cta p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 22px;
    max-width: 620px;
    line-height: 1.6;
}
.inline-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.inline-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    background: #fff;
    color: var(--accent, #1D7C6E);
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
}
.inline-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: var(--accent-gold, #E8C87A);
    color: #0D1F1C;
}
.inline-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    background: transparent;
    color: #fff;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
}
.inline-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* === Article Footer Share === */
.article-footer-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}
.article-footer-share .label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.back-to-blog-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--accent, #1D7C6E);
    padding-bottom: 4px;
    transition: all 0.2s;
}
.back-to-blog-link:hover {
    color: var(--accent-gold, #E8C87A);
    border-color: var(--accent-gold, #E8C87A);
}

/* === Author Box === */
.author-box {
    display: flex;
    gap: 22px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 44px 0;
}
.author-box-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #1D7C6E), var(--accent-gold, #E8C87A));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(29, 124, 110, 0.35);
}
.author-box-info {
    flex: 1;
}
.author-box-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fg, #fafafa);
    margin-bottom: 4px;
}
.author-box-role {
    font-size: 0.8rem;
    color: var(--accent, #1D7C6E);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.author-box-bio {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 14px;
}
.author-box-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}
.author-box-meta strong {
    color: var(--fg, #fafafa);
    font-weight: 700;
}

/* === Related Articles === */
.related-section {
    margin: 48px 0 36px;
}
.related-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--fg, #fafafa);
    margin-bottom: 24px;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.related-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent, #1D7C6E);
    border-radius: 2px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 124, 110, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.related-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-card:hover .related-card-img img {
    transform: scale(1.06);
}
.related-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.related-card-cat {
    font-size: 0.7rem;
    color: var(--accent, #1D7C6E);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.related-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg, #fafafa);
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
}
.related-card-meta {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* === Newsletter Section === */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent, #1D7C6E) 0%, #145F55 100%);
    border-radius: 18px;
    padding: 44px 36px;
    margin: 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 124, 110, 0.3);
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 200, 122, 0.15), transparent 60%);
    pointer-events: none;
}
.newsletter-section h3 {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    letter-spacing: -0.015em;
}
.newsletter-section p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    position: relative;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.96);
    color: #0D1F1C;
    border: none;
    border-radius: 100px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.newsletter-form input:focus {
    box-shadow: 0 0 0 3px var(--accent-gold, #E8C87A);
}
.newsletter-form button {
    padding: 14px 26px;
    background: #0D1F1C;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: inherit;
}
.newsletter-form button:hover {
    background: var(--accent-gold, #E8C87A);
    color: #0D1F1C;
    transform: translateY(-2px);
}
.newsletter-benefits {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}
.newsletter-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.newsletter-benefits span::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold, #E8C87A);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1F1C' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center;
}

/* === FAQ Section === */
.faq-section {
    margin: 52px 0 40px;
}
.faq-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--fg, #fafafa);
    margin-bottom: 24px;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-section-title::before {
    content: '';
    width: 4px;
    height: 26px;
    background: var(--accent, #1D7C6E);
    border-radius: 2px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active {
    background: rgba(29, 124, 110, 0.08);
    border-color: rgba(29, 124, 110, 0.35);
}
.faq-trigger {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--fg, #fafafa);
    line-height: 1.45;
}
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(29, 124, 110, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #1D7C6E);
    transition: all 0.3s;
}
.faq-item.active .faq-icon {
    background: var(--accent, #1D7C6E);
    color: #fff;
    transform: rotate(45deg);
}
.faq-icon svg {
    width: 14px;
    height: 14px;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}
.faq-content-inner {
    padding: 0 22px 22px 64px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* === Sticky Sidebar === */
.premium-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 4px;
}
.premium-sidebar::-webkit-scrollbar {
    width: 4px;
}
.premium-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.premium-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}
.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px;
}
.sidebar-card-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent, #1D7C6E);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card-title::before {
    content: '';
    width: 14px;
    height: 2px;
    background: var(--accent, #1D7C6E);
    border-radius: 1px;
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toc-list li {
    margin: 0;
}
.toc-list a {
    display: block;
    padding: 8px 12px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.25s ease;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toc-list a:hover {
    color: #fff;
    background: rgba(29, 124, 110, 0.08);
    border-left-color: var(--accent, #1D7C6E);
}
.toc-list a.active {
    color: var(--accent, #1D7C6E);
    background: rgba(29, 124, 110, 0.12);
    border-left-color: var(--accent, #1D7C6E);
    font-weight: 700;
}

/* Sidebar CTA Card */
.sidebar-cta {
    background: linear-gradient(135deg, var(--accent, #1D7C6E), #145F55);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: visible;
}
.sidebar-cta h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.sidebar-cta p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.5;
}
.sidebar-cta a {
    display: inline-block;
    padding: 10px 22px;
    background: #fff;
    color: var(--accent, #1D7C6E);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s;
}
.sidebar-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background: var(--accent-gold, #E8C87A);
    color: #0D1F1C;
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    align-items: flex-start;
}
.popular-post:last-child {
    border-bottom: none;
}
.popular-post-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    min-width: 28px;
}
.popular-post-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.2s;
}
.popular-post:hover .popular-post-title {
    color: var(--accent-gold, #E8C87A);
}

/* === Back to Top Button === */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent, #1D7C6E);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9000;
    box-shadow: 0 8px 24px rgba(29, 124, 110, 0.45);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent-hover, #145F55);
    transform: translateY(-3px);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* === Responsive Rules === */
@media (max-width: 1024px) {
    .premium-article-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .premium-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}
@media (max-width: 768px) {
    .premium-article-wrap {
        padding: 16px 16px 50px;
    }
    .article-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .article-share-buttons {
        margin-left: 0;
    }
    .author-box {
        flex-direction: column;
        gap: 18px;
        padding: 22px;
    }
    .newsletter-section {
        padding: 32px 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .article-body h2 {
        font-size: 1.4rem;
    }
    .article-body .article-lead {
        font-size: 1.1rem;
    }
    .faq-trigger {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    .faq-content-inner {
        padding: 0 18px 18px 58px;
    }
}
