/* ══════════════════════════════════════════════
   E&P Digital Service — Premium Design System
   Font: Inter · Palette: Indigo + Warm Neutrals
   Dark/Light Mode
══════════════════════════════════════════════ */

/* ────── LIGHT MODE (default) ────── */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-100: #c7d2fe;
    --primary-glow: rgba(79, 70, 229, .18);
    --accent: #7c3aed;
    --accent-light: #ede9fe;

    --bg: #ffffff;
    --bg-alt: #fafafa;
    --surface: #ffffff;
    --surface-hover: #f4f4f5;
    --border: #e4e4e7;
    --border-light: #f4f4f5;

    --text: #18181b;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --text-faint: #a1a1aa;
    --text-invert: #ffffff;

    --card-bg: #ffffff;
    --card-border: #e4e4e7;
    --card-hover-shadow: 0 12px 32px rgba(0, 0, 0, .08);

    --nav-bg: rgba(255, 255, 255, .88);
    --nav-border: #e4e4e7;
    --nav-scroll-bg: rgba(255, 255, 255, .96);

    --input-bg: #ffffff;
    --input-border: #e4e4e7;

    --cta-bg: linear-gradient(135deg, #18181b 0%, #1e1b4b 100%);
    --cta-text: #ffffff;
    --cta-sub: #a1a1aa;

    --footer-bg: #ffffff;

    --thumb-bg: linear-gradient(135deg, var(--primary-light), var(--accent-light));

    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .08);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, .12);
    --shadow-glow: 0 8px 28px var(--primary-glow);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ────── DARK MODE ────── */
[data-theme="dark"] {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --primary-light: rgba(99, 102, 241, .12);
    --primary-100: rgba(99, 102, 241, .2);
    --primary-glow: rgba(129, 140, 248, .2);
    --accent: #a78bfa;
    --accent-light: rgba(167, 139, 250, .1);

    --bg: #0c0a1a;
    --bg-alt: #110f24;
    --surface: #16132e;
    --surface-hover: #1e1a3a;
    --border: #2a2545;
    --border-light: #1e1a3a;

    --text: #f0eef8;
    --text-secondary: #c4c0d8;
    --text-muted: #918daa;
    --text-faint: #6b6782;
    --text-invert: #0c0a1a;

    --card-bg: #16132e;
    --card-border: #2a2545;
    --card-hover-shadow: 0 12px 40px rgba(0, 0, 0, .35);

    --nav-bg: rgba(12, 10, 26, .85);
    --nav-border: #2a2545;
    --nav-scroll-bg: rgba(12, 10, 26, .95);

    --input-bg: #1e1a3a;
    --input-border: #2a2545;

    --cta-bg: linear-gradient(135deg, #1e1a3a 0%, #1a1145 100%);
    --cta-text: #f0eef8;
    --cta-sub: #918daa;

    --footer-bg: #0c0a1a;

    --thumb-bg: linear-gradient(135deg, rgba(79, 70, 229, .15), rgba(124, 58, 237, .1));
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

/* Offset anchor scroll agar tidak tertutup sticky navbar */
section[id],
header[id] {
    scroll-margin-top: 80px
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-secondary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .4s var(--ease), color .4s var(--ease);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all .25s var(--ease)
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block;
    /* Smooth fade-in saat lazy loading selesai */
    transition: opacity .35s ease;
}

img[loading="lazy"] {
    opacity: 0
}

img.loaded,
img:not([loading]) {
    opacity: 1
}

button {
    font-family: inherit
}

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

/* Particle Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.15;
    transition: color .3s var(--ease)
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    letter-spacing: -.04em
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -.03em
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.5rem;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: .9rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-invert);
    border-color: var(--primary)
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow)
}

[data-theme="dark"] .btn-primary {
    color: #fff
}

.btn-hero {
    padding: .85rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-sm)
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    font-weight: 600;
    padding: .7rem .5rem
}

.btn-ghost:hover {
    color: var(--primary)
}

.btn-ghost i {
    transition: transform .25s
}

.btn-ghost:hover i {
    transform: translateX(4px)
}

.btn-outline-card {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
    width: 100%
}

.btn-outline-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light)
}

.btn-cta {
    background: #fff;
    color: #18181b;
    font-weight: 700;
    padding: .85rem 2rem;
    border-radius: var(--radius-sm)
}

.btn-cta:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5)
}

.full-btn {
    width: 100%
}

.btn-nav {
    padding: .55rem 1.25rem;
    font-size: .85rem
}

/* ── Theme Toggle ── */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all .3s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(20deg)
}

/* ════════════════════
       NAVBAR
════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    padding: .85rem 0;
    transition: all .3s var(--ease);
}

.navbar.scrolled {
    background: var(--nav-scroll-bg);
    box-shadow: var(--shadow-xs)
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem
}

.logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.02em
}

.logo img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    object-fit: cover
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: auto;
    margin-left: 2rem
}

.nav-links a {
    font-weight: 500;
    font-size: .88rem;
    color: var(--text-muted);
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width .25s var(--ease)
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--text)
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 26px;
    height: 18px;
    position: relative;
    cursor: pointer
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all .3s var(--ease)
}

.mobile-toggle span:nth-child(1) {
    top: 0
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
}

.mobile-toggle span:nth-child(3) {
    bottom: 0
}

.mobile-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg)
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0
}

.mobile-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg)
}

/* ════════════════════
        HERO
════════════════════ */
.hero {
    padding: 160px 0 100px;
    position: relative
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-desc {
    font-size: 1.1rem;
    margin: 1.25rem 0 2rem;
    max-width: 480px;
    line-height: 1.75;
    color: var(--text-muted)
}

.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem
}

.f-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.35rem;
    transition: all .3s var(--ease);
}

.f-card:hover {
    border-color: var(--text-faint);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px)
}

.f-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: .85rem;
}

.f-icon.blue {
    background: var(--primary-light);
    color: var(--primary)
}

.f-icon.purple {
    background: var(--accent-light);
    color: var(--accent)
}

.f-icon.green {
    background: rgba(5, 150, 105, .1);
    color: #34d399
}

.f-icon.white {
    background: rgba(255, 255, 255, .12);
    color: #fff
}

.f-card h4 {
    font-size: .9rem;
    margin-bottom: .15rem;
    font-weight: 700
}

.f-card p {
    font-size: .78rem;
    color: var(--text-faint)
}

.f-card.dark {
    background: var(--surface);
    border-color: var(--border)
}

[data-theme="dark"] .f-card.dark {
    background: #1a1640;
    border-color: #2a2555
}

.f-card.dark h4 {
    color: #fff
}

.f-card.dark p {
    color: var(--text-faint)
}

.f-card.dark:hover {
    border-color: var(--text-muted)
}

/* ════════════════════
       SECTIONS
════════════════════ */
.section {
    padding: 100px 0
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.sec-head {
    margin-bottom: 3.5rem
}

.sec-head.center {
    text-align: center
}

.sec-head.center .sec-sub {
    margin-left: auto;
    margin-right: auto
}

.label {
    display: inline-block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .65rem
}

.sec-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-top: .5rem
}

.sec-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem
}

.svc {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.65rem 1.4rem;
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}

.svc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.svc:hover::before {
    transform: scaleX(1)
}

.svc:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-4px)
}

.svc-highlight {
    border-color: var(--primary);
    background: var(--primary-light)
}

.svc-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: all .3s var(--ease);
}

.svc:hover .svc-icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

.svc-icon-inv {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

.svc h3 {
    font-size: .95rem;
    margin-bottom: .35rem;
    font-weight: 700
}

.svc p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.55
}

/* ── Pricing ── */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    align-items: stretch
}

.p-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem 1.65rem;
    position: relative;
    transition: all .35s var(--ease);
    display: flex;
    flex-direction: column;
}

.p-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-6px)
}

.p-popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md)
}

.p-popular:hover {
    box-shadow: var(--shadow-xl)
}

.pop-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.p-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-xs);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: .85rem;
}

.p-card h3 {
    font-size: 1.25rem;
    margin-bottom: .2rem
}

.p-desc {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 36px
}

.p-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.03em;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.p-price small {
    font-size: .9rem;
    color: var(--text-faint);
    font-weight: 500
}

.p-list {
    margin-bottom: 1.75rem;
    flex-grow: 1
}

.p-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    margin-bottom: .65rem;
    color: var(--text-secondary)
}

.p-list li i {
    color: var(--primary);
    font-size: .7rem;
    flex-shrink: 0
}

.p-list li.off {
    color: var(--text-faint);
    opacity: .45
}

.p-list li.off i {
    color: var(--text-faint)
}

/* ── Portfolio ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem
}

.portfolio-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .35s var(--ease);
}

.portfolio-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-6px);
    border-color: var(--text-faint)
}

.portfolio-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border)
}

.portfolio-thumb-placeholder {
    width: 100%;
    height: 200px;
    background: var(--thumb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.portfolio-info {
    padding: 1.35rem
}

.portfolio-info .category {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .4rem
}

.portfolio-info h3 {
    font-size: 1rem;
    margin-bottom: .35rem
}

.portfolio-info p {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: .85rem;
    line-height: 1.55
}

.portfolio-info .link-row {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary)
}

.portfolio-info .link-row i {
    font-size: .65rem;
    transition: transform .25s
}

.portfolio-card:hover .link-row i {
    transform: translateX(4px)
}

.portfolio-loading {
    grid-column: 1/-1;
    text-align: center;
    padding: 3.5rem 0;
    color: var(--text-faint)
}

.portfolio-loading i {
    font-size: 1.75rem;
    display: block;
    margin-bottom: .65rem;
    color: var(--primary)
}

.portfolio-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px dashed var(--border)
}

.portfolio-empty i {
    font-size: 2rem;
    color: var(--text-faint);
    display: block;
    margin-bottom: .65rem
}

/* ── Skeleton Loading ── */
.skeleton-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    pointer-events: none;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

.skeleton-thumb {
    width: 100%;
    height: 200px;
    background: var(--surface-hover);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.skeleton-info {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.skeleton-text {
    background: var(--surface-hover);
    border-radius: var(--radius-xs);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skeleton-category { width: 40%; height: 12px; margin-bottom: 0.8rem; }
.skeleton-title { width: 80%; height: 20px; margin-bottom: 1rem; }
.skeleton-desc { width: 100%; height: 14px; margin-bottom: 0.4rem; }
.skeleton-desc.line-2 { width: 70%; margin-bottom: 1.2rem; }
.skeleton-link { width: 30%; height: 16px; margin-top: auto; }

.skeleton-thumb::after, .skeleton-text::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

[data-theme="dark"] .skeleton-thumb::after, [data-theme="dark"] .skeleton-text::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* ── Page Header (portfolio.html) ── */
.page-header {
    padding: 140px 0 40px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: .4rem
}

.page-header p {
    font-size: 1rem;
    color: var(--text-muted)
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem
}

.back-link:hover {
    color: var(--primary)
}

.back-link:hover i {
    transform: translateX(-3px)
}

.back-link i {
    transition: transform .2s
}

/* ── FAQ ── */
.faq-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 5rem;
    align-items: start
}

.faq-left p {
    margin-top: .65rem;
    font-size: .95rem;
    color: var(--text-muted);
    max-width: 300px;
    line-height: 1.65
}

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: .55rem;
    overflow: hidden;
    transition: all .25s var(--ease);
    background: var(--card-bg)
}

.faq-item:hover {
    border-color: var(--text-faint)
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 2px 12px var(--primary-glow)
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.35rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
}

.faq-q i {
    font-size: .65rem;
    color: var(--text-faint);
    transition: transform .3s var(--ease);
    flex-shrink: 0;
    margin-left: 1rem
}

.faq-item.active .faq-q i {
    transform: rotate(45deg);
    color: var(--primary)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
    padding: 0 1.35rem
}

.faq-item.active .faq-a {
    max-height: 250px;
    padding: 0 1.35rem 1.1rem
}

.faq-a p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7
}

/* ── Articles / Blog ── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .35s var(--ease);
    display: flex;
    flex-direction: column
}

.article-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-6px);
    border-color: var(--text-faint)
}

.article-img-link {
    display: block;
    overflow: hidden
}

.article-img {
    width: 100%;
    height: 220px;
    overflow: hidden
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
    background: var(--surface-hover)
}

.article-card:hover .article-img img {
    transform: scale(1.05)
}

.article-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .55rem;
    flex-wrap: wrap;
    gap: .35rem
}

.article-date {
    font-size: .72rem;
    color: var(--text-faint);
    display: inline-flex;
    align-items: center;
    gap: .3rem
}

.article-date i {
    font-size: .68rem;
    color: var(--primary)
}

.article-content {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column
}

.article-tag {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    display: inline-block
}

.article-content h3 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
    line-height: 1.4
}

.article-content h3 a {
    color: var(--text);
    transition: color .25s var(--ease)
}

.article-content h3 a:hover {
    color: var(--primary)
}

.article-content p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1
}

.read-more {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    transition: all .25s var(--ease)
}

.read-more i {
    font-size: .7rem;
    transition: transform .25s
}

.read-more:hover {
    color: var(--primary-hover)
}

.read-more:hover i {
    transform: translateX(4px)
}

.mt-auto {
    margin-top: auto
}

/* ── Article Detail ── */
.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-header {
    padding: 140px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 1rem 0 1.5rem;
    line-height: 1.25;
}

.article-meta {
    font-size: .9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 500;
}

.article-meta i {
    color: var(--primary);
}

.article-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: -40px auto 3rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.article-body {
    padding: 0 0 100px;
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.article-body h3 {
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: .65rem;
}

.article-body li strong {
    color: var(--text);
}

/* ── CTA ── */
.cta-section {
    padding: 80px 0
}

.cta-box {
    background: var(--cta-bg);
    border-radius: var(--radius);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, .2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, .12), transparent 70%);
    top: 20%;
    right: 10%;
    pointer-events: none;
}

.cta-box h2 {
    color: var(--cta-text);
    margin-bottom: .65rem;
    position: relative;
    z-index: 1
}

.cta-box p {
    color: var(--cta-sub);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1
}

.cta-box .btn {
    position: relative;
    z-index: 1
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding-top: 80px;
    background: var(--footer-bg);
    transition: background .3s var(--ease)
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem
}

.ft-brand p {
    margin: 1rem 0;
    font-size: .85rem;
    max-width: 260px;
    line-height: 1.7
}

.socials {
    display: flex;
    gap: .5rem
}

.socials a {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all .25s var(--ease);
    font-size: .85rem;
}

.socials a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px)
}

.ft-links h4 {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: var(--text)
}

.ft-links ul {
    display: flex;
    flex-direction: column;
    gap: .55rem
}

.ft-links a {
    color: var(--text-faint);
    font-size: .82rem;
    display: flex;
    align-items: center;
    gap: .4rem
}

.ft-links a:hover {
    color: var(--primary)
}

.ft-links a i {
    font-size: .82rem;
    width: 14px
}

.ft-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    text-align: center;
    font-size: .8rem;
    color: var(--text-faint)
}

/* ════════════════════
      ANIMATIONS
════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.fade-in {
    opacity: 0;
    transition: opacity .8s var(--ease)
}

.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0)
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .14s
}

.d3 {
    transition-delay: .2s
}

.d4 {
    transition-delay: .26s
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: all .5s var(--ease)
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

/* ════════════════════
      RESPONSIVE
════════════════════ */
@media(max-width:1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .pricing-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .hero-text {
        max-width: 540px
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .article-grid {
        grid-template-columns: 1fr
    }

    .sec-head-row {
        flex-direction: column;
        align-items: flex-start
    }
}

@media(max-width:768px) {

    .nav-links,
    .btn-nav {
        display: none !important
    }

    .mobile-toggle {
        display: block
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-scroll-bg);
        backdrop-filter: blur(20px);
        padding: 1.25rem 24px;
        border-bottom: 1px solid var(--border);
        gap: .85rem;
        text-align: center;
        box-shadow: var(--shadow-md);
    }

    .hero {
        padding: 120px 0 60px
    }

    .hero-actions {
        flex-direction: column;
        width: 100%
    }

    .hero-desc {
        font-size: 1rem;
        margin: 1rem 0 1.5rem
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .pricing-row {
        grid-template-columns: 1fr
    }

    .p-card {
        padding: 1.5rem 1.25rem
    }

    .p-price {
        font-size: 1.65rem
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .section {
        padding: 60px 0
    }

    .sec-head {
        margin-bottom: 2.5rem
    }

    .cta-box {
        padding: 2.5rem 1.25rem
    }

    .cta-box h2 {
        font-size: 1.35rem
    }

    .cta-box p {
        font-size: .9rem;
        margin-bottom: 1.75rem
    }

    .cta-section {
        padding: 40px 0
    }

    .portfolio-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: .5rem;
        scrollbar-width: none
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none
    }

    .pf-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        font-size: .75rem;
        padding: .4rem .8rem
    }

    .article-img {
        height: 180px
    }

    .article-content {
        padding: 1rem
    }

    .article-content h3 {
        font-size: .95rem
    }

    .faq-q {
        padding: .9rem 1rem;
        font-size: .85rem
    }

    .faq-a {
        padding: 0 1rem
    }

    .faq-item.active .faq-a {
        padding: 0 1rem 1rem
    }

    footer {
        padding-top: 50px
    }

    .svc {
        padding: 1.35rem 1.15rem
    }

    .svc h3 {
        font-size: .9rem
    }

    .svc p {
        font-size: .78rem
    }
}

@media(max-width:480px) {
    .hero {
        padding: 110px 0 50px
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .f-card {
        padding: 1.25rem 1rem
    }

    .f-card h4 {
        font-size: .85rem
    }

    .f-card p {
        font-size: .75rem
    }

    h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem)
    }

    h2 {
        font-size: clamp(1.35rem, 5vw, 1.75rem)
    }

    .btn-hero {
        padding: .75rem 1.5rem;
        font-size: .9rem
    }

    .container {
        padding: 0 16px
    }

    .section {
        padding: 50px 0
    }

    .p-card h3 {
        font-size: 1.1rem
    }

    .pop-tag {
        font-size: .6rem;
        padding: .25rem .8rem
    }

    .skeleton-thumb {
        height: 160px
    }

    .portfolio-thumb,
    .portfolio-thumb-placeholder {
        height: 180px
    }

    .btn-cta {
        padding: .75rem 1.5rem;
        font-size: .85rem
    }
}

/* ── Portfolio Filters ── */
.portfolio-filters {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-family: inherit;
}

.pf-btn:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.pf-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.pf-btn i {
    font-size: .75rem
}

/* ── Template Cards ── */
.tpl-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .35s var(--ease);
    display: flex;
    flex-direction: column;
}

.tpl-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-6px);
    border-color: var(--text-faint)
}

.tpl-thumb {
    position: relative;
    height: 220px;
    overflow: hidden
}

.tpl-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease)
}

.tpl-card:hover .tpl-thumb-img {
    transform: scale(1.06)
}

.tpl-thumb-grad {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: transform .4s var(--ease);
}

.tpl-card:hover .tpl-thumb-grad {
    transform: scale(1.04)
}

.tpl-thumb-grad .tpl-icon {
    font-size: 2.75rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3))
}

.tpl-thumb-grad .tpl-name-prev {
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.tpl-badges {
    position: absolute;
    top: .75rem;
    right: .75rem;
    left: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.tpl-theme-tag {
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .06em;
    backdrop-filter: blur(8px)
}

.tpl-featured {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.tpl-info {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column
}

.tpl-info h3 {
    font-size: 1rem;
    margin-bottom: .3rem
}

.tpl-info p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: .85rem;
    flex: 1
}

.tpl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .75rem
}

.tpl-tag {
    font-size: .65rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 4px;
    background: var(--primary-light);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em
}

.tpl-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto
}

.tpl-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary)
}

.tpl-price small {
    font-size: .72rem;
    color: var(--text-faint);
    font-weight: 500
}

.tpl-actions {
    display: flex;
    gap: .4rem
}

.tpl-btn-demo {
    padding: .4rem .8rem;
    border-radius: var(--radius-xs);
    font-size: .78rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .3rem
}

.tpl-btn-demo:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.tpl-btn-order {
    padding: .4rem .8rem;
    border-radius: var(--radius-xs);
    font-size: .78rem;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    border: 1.5px solid var(--primary);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    text-decoration: none
}

.tpl-btn-order:hover {
    background: var(--primary-hover);
    transform: translateY(-1px)
}

[data-theme="dark"] .tpl-btn-order {
    color: #fff
}

.template-hero {
    padding: 140px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center
}

.template-hero h1 {
    margin-bottom: .75rem
}

.template-hero .hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.5rem
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid var(--primary-100)
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem
}

.tf-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-family: inherit
}

.tf-btn:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.tf-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.tf-btn i {
    font-size: .75rem
}

.template-filters {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap
}

/* ── Dashboard ── */
.dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh
}

.dash-sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto
}

.dash-main {
    padding: 2rem;
    overflow-y: auto
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2rem
}

.dash-logo img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    object-fit: cover
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: .3rem
}

.dash-nav-btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-xs);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all .2s var(--ease);
    text-align: left;
    font-family: inherit;
    width: 100%
}

.dash-nav-btn:hover {
    background: var(--surface-hover);
    color: var(--text)
}

.dash-nav-btn.active {
    background: var(--primary-light);
    color: var(--primary)
}

.dash-nav-btn i {
    width: 16px;
    font-size: .9rem
}

.dash-tab {
    display: none
}

.dash-tab.active {
    display: block
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem
}

.stat-card .stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary)
}

.stat-card .stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .2rem
}

.form-group {
    margin-bottom: 1rem
}

.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--text)
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .65rem 1rem;
    border-radius: var(--radius-xs);
    border: 1.5px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: .88rem;
    transition: border-color .2s;
    outline: none
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary)
}

.form-group textarea {
    resize: vertical;
    min-height: 80px
}

.dash-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem
}

.dash-form h3 {
    margin-bottom: 1.25rem;
    font-size: 1rem
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem
}

.dash-table th {
    text-align: left;
    padding: .65rem .85rem;
    border-bottom: 2px solid var(--border);
    color: var(--text-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.dash-table td {
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle
}

.dash-table tr:last-child td {
    border-bottom: none
}

.dash-table img,
.dash-table .tbl-thumb {
    width: 50px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface)
}

.btn-sm {
    padding: .35rem .75rem;
    font-size: .75rem;
    border-radius: 6px
}

.btn-danger {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444
}

.btn-danger:hover {
    background: #dc2626
}

.btn-success {
    background: #10b981;
    color: #fff;
    border-color: #10b981
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: var(--radius-xs);
    font-size: .85rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s;
    pointer-events: none
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg)
}

.login-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px
}

.table-wrap {
    overflow-x: auto
}

@media(max-width:900px) {
    .dash-layout {
        grid-template-columns: 1fr
    }

    .dash-sidebar {
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border)
    }
}

@media(max-width:768px) {
    .template-grid {
        grid-template-columns: 1fr
    }
}
/* Mobile Article Adjustments */
@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 30px;
    }
    .article-header h1 {
        font-size: 1.65rem;
    }
    .article-featured-img {
        max-height: 250px;
        margin: -20px auto 2rem;
        border-radius: 12px;
    }
    .article-meta {
        gap: 0.75rem;
        flex-direction: column;
    }
    .article-container {
        padding: 0 20px;
    }
    .article-body {
        padding: 0 0 60px;
    }
    .article-body h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }
    .article-body p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Article Inner Content Mobile Fixes */
@media (max-width: 768px) {
    .article-body p {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 1.5rem;
    }
    .article-body ul, .article-body ol {
        padding-left: 1.25rem;
        font-size: 1rem;
    }
    .article-body li {
        margin-bottom: 0.75rem;
    }
    /* Fix the hardcoded inline padding on the soft-selling CTA box */
    .article-body div[style*="padding: 2.5rem"] {
        padding: 1.5rem 1rem !important;
        margin-top: 2.5rem !important;
    }
    .article-body div[style*="padding: 2.5rem"] h3 {
        font-size: 1.25rem !important;
        line-height: 1.4;
    }
    /* Make the long WhatsApp buttons responsive */
    .article-body .btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        height: auto;
        padding: 1rem;
        line-height: 1.4;
        font-size: 0.9rem;
        margin-top: 1.5rem !important;
    }
}
