

:root {
    --bg-body: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-elevated: #f1f5f9;
    
    --primary: #1d4ed8; 
    --primary-hover: #1e40af;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    --accent: #0284c7;

    --footer-bg: #050505; 
    --footer-card: #111111;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-text: #cbd5e1;
    --footer-heading: #ffffff;

    --border: #e2e8f0;
    --border-subtle: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --container: 1360px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: var(--footer-bg); 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    font-size: 14.5px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    letter-spacing: -0.01em;
}

main {
    flex: 1 0 auto;
    width: 100%;
    background-color: var(--bg-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.3;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: #cbd5e1;
    color: var(--text-main);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
    border-radius: var(--radius-xs);
}

.btn-consultation {
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--radius-full);
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
.btn-consultation:hover {
    background: var(--accent);
    filter: brightness(0.9);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-header);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-badge {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    background: transparent;
    padding: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    background: transparent;
    transition: color 0.2s ease;
    text-decoration: none;
    user-select: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: var(--primary-color, #133a28);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #0f172a;
}

.nav-link:hover::after,
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after {
    width: 100%;
}

.nav-link.active {
    color: #0f172a;
}

.nav-link.active:hover {
    color: #0f172a;
}

.dropdown-chevron {
    width: 12px;
    height: 12px;
    color: #94a3b8;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
    margin-left: 2px;
}

.nav-item:hover .dropdown-chevron,
.nav-link.active .dropdown-chevron {
    color: var(--primary);
}

.nav-item:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 270px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    padding: 6px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
    z-index: 1050;
}

.dropdown-menu-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-item:hover .dropdown-menu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.dropdown-link:hover {
    background: #f8fafc;
}

.dropdown-link.active {
    background: #eff6ff;
}

.dropdown-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.dropdown-link:hover .dropdown-icon-box {
    background: #eff6ff;
    color: var(--primary);
    border-color: #bfdbfe;
    transform: scale(1.04);
}

.dropdown-text-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    transition: color 0.15s ease;
}

.dropdown-link:hover .dropdown-title {
    color: var(--primary);
}

.dropdown-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow-indicator {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.15s ease;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-link:hover .dropdown-arrow-indicator {
    opacity: 1;
    transform: translateX(0);
}

.header-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-main);
}

.page-header {
    background: radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.05) 0%, #ffffff 70%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 56px 0 44px;
    text-align: center;
}

.page-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-subtle);
    margin-bottom: 14px;
}

.page-breadcrumbs a {
    color: var(--text-muted);
}
.page-breadcrumbs a:hover {
    color: var(--primary);
}

.page-header h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #09090b;
    margin-bottom: 12px;
}

.page-header .lead {
    font-size: 15.5px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-body {
    padding: 64px 0 80px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
}

.about-vision-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 72px;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 20px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-main);
}

.service-feature-item svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.tech-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-main);
    margin: 2px;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-card-info {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.contact-card-form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-label-custom {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    font-size: 13.5px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-main);
    background: #ffffff;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.post-card-img {
    height: 180px;
    background: var(--bg-elevated);
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.04);
}

.post-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-subtle);
    margin-bottom: 10px;
}

.post-category-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
}

.post-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.post-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.18s ease;
}

.post-card-title a:hover {
    color: var(--primary);
}

.post-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.single-post-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.single-post-header {
    text-align: center;
    margin-bottom: 32px;
}

.single-post-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #09090b;
    margin-top: 12px;
}

.single-post-featured-img {
    margin: 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.single-post-content {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.single-post-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.single-post-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.single-post-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.single-post-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 10px;
}

.single-post-content p {
    margin-bottom: 22px;
    line-height: 1.85;
}

.single-post-content strong {
    color: #0f172a;
    font-weight: 700;
}

.single-post-content ul, 
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
    line-height: 1.8;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content blockquote {
    margin: 28px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
    border-radius: 0 8px 8px 0;
    color: #334155;
    font-style: italic;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 24px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14.5px;
}

.single-post-content table th,
.single-post-content table td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
}

.single-post-content table th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

.callout-box {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md, 10px);
    border: 1px solid;
    margin: 28px 0;
}

.callout-box.callout-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.callout-box.callout-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.callout-box.callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.callout-box.callout-note {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

.callout-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-content {
    flex: 1;
}

.callout-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.callout-content p {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.6;
}

.editorial-quote {
    border-left: 3px solid var(--primary, #1d4ed8);
    padding: 12px 0 12px 20px;
    margin: 32px 0;
    background: var(--bg-subtle, #f8fafc);
    border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
}

.editorial-quote p {
    font-size: 16px;
    font-style: italic;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 8px !important;
}

.editorial-quote cite {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    font-style: normal;
}

.cta-button-block {
    margin: 32px 0;
    text-align: center;
}

.cta-button-block.align-left { text-align: left; }
.cta-button-block.align-center { text-align: center; }
.cta-button-block.align-right { text-align: right; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full, 9999px);
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-cta.btn-primary {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

.btn-cta.btn-secondary {
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    border: 1px solid var(--primary, #1d4ed8);
}

.btn-cta.btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.grid-columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0;
}

@media (max-width: 768px) {
    .grid-columns-2 {
        grid-template-columns: 1fr;
    }
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border, #e2e8f0);
    margin: 40px 0;
}

figure.align-center { text-align: center; margin: 28px 0; }
figure.align-left { text-align: left; margin: 28px 0; }
figure.align-right { text-align: right; margin: 28px 0; }
figure.align-full { width: 100%; margin: 28px 0; }

.hero-wrapper {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 50% 10%, rgba(29, 78, 216, 0.04) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.035em;
    color: #09090b;
    margin-bottom: 18px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-bar {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--text-subtle);
    font-size: 13px;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.services-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.metrics-section {
    padding: 60px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.metric-card {
    padding: 20px;
}

.metric-num {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.metric-label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
}

.why-section {
    padding: 80px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-subtle);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.why-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
}

.why-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 24px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-brand-desc {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--footer-text);
    margin-bottom: 18px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--footer-border);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-col-title {
    color: var(--footer-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 6px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu-list a {
    color: var(--footer-text);
    font-size: 12.5px;
    font-weight: 400;
    transition: var(--transition);
}

.footer-menu-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--footer-text);
}

.contact-item a {
    color: var(--footer-text);
}
.contact-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal-links a {
    color: #64748b;
}

.footer-legal-links a:hover {
    color: #cbd5e1;
}

.wa-floating-container {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-popup-msg {
    background: #ffffff;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    position: relative;
    cursor: default;
}
.wa-popup-msg::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ffffff;
    filter: drop-shadow(2px 0px 1px rgba(0,0,0,0.05));
}
.wa-floating-container.show-popup .wa-popup-msg {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.wa-floating-btn {
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.wa-floating-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .services-grid, .blog-grid, .values-grid, .workflow-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid, .about-intro-grid, .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    .hero-wrapper {
        padding: 56px 0 44px;
    }
    .hero-title {
        font-size: 36px;
    }
    .page-body {
        padding: 44px 0 56px;
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Site Header */
    .site-header {
        min-height: 60px;
    }

    .brand-img {
        max-height: 38px;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        padding: 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
        z-index: 1050;
    }

    .main-navigation.open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-link {
        width: 100%;
        padding: 12px 8px;
        font-size: 14px;
        border-radius: 6px;
    }

    .nav-link:hover {
        background: #f8fafc;
    }

    .dropdown-menu-wrapper {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        margin-top: 4px;
    }

    .dropdown-menu-wrapper::before {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 14px;
        display: flex;
    }

    .header-action {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
    }

    /* Hero */
    .hero-wrapper {
        padding: 40px 0 32px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Page Header */
    .page-header {
        padding: 32px 0 24px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header .lead {
        font-size: 13.5px;
    }

    .page-body {
        padding: 32px 0 48px;
    }

    /* About page */
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-vision-card {
        padding: 24px;
    }

    .values-grid, .workflow-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .value-card {
        padding: 18px;
    }

    /* Services grid */
    .services-grid, .blog-grid, .metrics-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer {
        padding: 40px 0 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    /* Prose & Content — prevent horizontal overflow */
    .prose,
    .single-post-content,
    .article-body-content {
        overflow-x: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Tables responsive wrapper */
    .prose table,
    .single-post-content table,
    .article-body-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12.5px;
    }

    .prose table th,
    .prose table td,
    .article-body-content table th,
    .article-body-content table td {
        padding: 8px 10px;
        white-space: nowrap;
    }

    /* Pill badge */
    .pill-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* Blog post card */
    .post-card {
        padding: 16px;
    }

    /* WhatsApp floating button */
    .wa-floating-container {
        bottom: 70px;
        right: 16px;
    }
    .wa-floating-btn {
        width: 48px;
        height: 48px;
    }

    /* Grid columns utility */
    .grid-columns-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Section divider */
    .section-divider {
        margin: 28px 0;
    }

    /* CTA button */
    .btn-cta {
        padding: 10px 22px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    /* Blockquote editorial */
    .editorial-quote {
        padding: 16px;
        margin: 20px 0;
    }

    .editorial-quote blockquote {
        font-size: 14px;
    }

    /* Contact grid */
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   Table of Contents (Daftar Isi) Modern Component
   ========================================================================== */
.toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 16px 20px;
    margin: 24px 0 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.toc-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-icon {
    width: 16px;
    height: 16px;
    color: var(--primary, #1d4ed8);
}

.toc-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.toc-toggle-btn {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.toc-toggle-btn:hover {
    background: #eff6ff;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-item-h2 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-link-h2 {
    display: inline-flex;
    align-items: baseline;
    font-size: 13.5px;
    line-height: 1.5;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.toc-link-h2:hover {
    color: var(--primary, #1d4ed8);
}

.toc-num {
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    margin-right: 6px;
    font-size: 13px;
    flex-shrink: 0;
}

.toc-sublist {
    list-style: none;
    margin: 5px 0 6px 10px;
    padding: 2px 0 2px 14px;
    border-left: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.toc-item-h3 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-link-h3 {
    display: inline-flex;
    align-items: baseline;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 400;
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s ease;
}

.toc-link-h3:hover {
    color: var(--primary, #1d4ed8);
    font-weight: 500;
}

.toc-subnum {
    font-weight: 600;
    color: #94a3b8;
    margin-right: 5px;
    font-size: 11.5px;
    flex-shrink: 0;
}

/* ==========================================================================
   Modern FAQ Section & Accordion Styles (Public Theme)
   ========================================================================== */
.wp-faq-section {
    margin: 36px 0;
    padding: 24px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.wp-faq-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.wp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wp-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.wp-faq-item[open] {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.wp-faq-question {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14.5px;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.wp-faq-question::-webkit-details-marker {
    display: none;
}

.wp-faq-question::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    margin-left: 14px;
    flex-shrink: 0;
}

.wp-faq-item[open] .wp-faq-question {
    color: #1d4ed8;
    background: #f8faff;
}

.wp-faq-item[open] .wp-faq-question::after {
    transform: rotate(45deg);
    border-color: #2563eb;
}

.wp-faq-answer {
    padding: 14px 18px 18px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    border-top: 1px solid #f1f5f9;
}

.wp-faq-answer p {
    margin: 0 !important;
}

.wp-faq-answer p + p {
    margin-top: 10px !important;
}

.wp-faq-top-actions,
.wp-faq-item-actions {
    display: none !important;
}

/* ==========================================================================
   Semantic Single Post & Schema Blueprint Styles
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
    font-size: 13px;
    color: #64748b;
}

.breadcrumb-nav a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary, #1d4ed8);
}

.breadcrumb-nav span {
    color: #0f172a;
    font-weight: 500;
}

/* Single Post Layout Grid */
.single-post-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .single-post-layout-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }
}

.single-post-article {
    min-width: 0;
}

/* Article Header */
.article-header {
    margin-bottom: 28px;
}

.article-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #09090b;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 38px;
    }
}

.meta-data {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.meta-data a {
    color: #334155;
    font-weight: 600;
    text-decoration: none;
}

.meta-data a:hover {
    color: var(--primary, #1d4ed8);
}

.meta-sep {
    color: #cbd5e1;
    font-size: 11px;
}

.read-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
}

/* Featured Image (LCP) */
.featured-image-wrapper {
    margin-bottom: 36px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    background: #f8fafc;
}

.featured-image-wrapper img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fafafa;
    display: block;
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents,
.toc-box {
    margin: 32px 0;
    padding: 20px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 14px;
}

.toc-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.toc-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.toc-toggle-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    padding: 2px 6px;
    font-family: inherit;
    transition: color 0.15s ease;
}

.toc-toggle-btn:hover {
    color: #0f172a;
}

/* Article Body Typography */
.article-body-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1e293b;
}

.article-body-content p {
    margin-bottom: 22px;
}

.article-body-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    scroll-margin-top: 80px;
}

.article-body-content h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.4;
    scroll-margin-top: 80px;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 22px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-body-content blockquote {
    margin: 28px 0;
    padding: 16px 22px;
    background: #f8fafc;
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px auto;
    display: block;
}

/* Article Footer */
.article-footer {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.tags-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.tags-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
}

.tag-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 3px 10px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.tag-pill:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}

/* Share Bar */
.share-bar {
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.share-bar-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.share-bar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.share-btn-wa { background: #25d366; color: #ffffff; }
.share-btn-wa:hover { background: #20bd5a; color: #ffffff; }
.share-btn-fb { background: #1877f2; color: #ffffff; }
.share-btn-fb:hover { background: #0c65d8; color: #ffffff; }
.share-btn-li { background: #0a66c2; color: #ffffff; }
.share-btn-li:hover { background: #084e96; color: #ffffff; }
.share-btn-copy { background: #ffffff; color: #334155; border-color: #e2e8f0; }
.share-btn-copy:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* Linear Navigation (Prev/Next) */
.post-linear-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px dashed #e2e8f0;
}

@media (min-width: 640px) {
    .post-linear-nav {
        grid-template-columns: 1fr 1fr;
    }
}

.linear-nav-card {
    min-height: 72px;
}

.linear-nav-card.is-empty {
    display: none;
}

@media (min-width: 640px) {
    .linear-nav-card.is-empty {
        display: block;
    }
}

.linear-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.18s ease;
    height: 100%;
}

.linear-nav-link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.linear-nav-next .linear-nav-link {
    text-align: right;
}

.linear-nav-direction {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.linear-nav-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.linear-nav-link:hover .linear-nav-title {
    color: var(--primary, #1d4ed8);
}

/* Sidebar Related Posts Widget */
.sidebar-related-inner {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sidebar-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-widget-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sidebar-view-all {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    text-decoration: none;
}

.sidebar-view-all:hover {
    text-decoration: underline;
}

.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-post-item {
    margin: 0;
    padding: 0;
}

.related-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
    align-items: flex-start;
}

.related-post-thumb {
    width: 80px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

.related-post-meta {
    flex: 1;
    min-width: 0;
}

.related-post-cat {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 2px;
}

.related-post-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.related-post-link:hover .related-post-title {
    color: var(--primary, #1d4ed8);
}

.related-post-date {
    font-size: 11px;
    color: #94a3b8;
    display: block;
}

.sidebar-empty {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   Topic Cluster Series & Editorial Guide Styles
   ========================================================================== */

/* Top Kicker Pill */
.series-kicker-wrap {
    display: inline-flex;
    margin-bottom: 2px;
}

.series-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 12.5px;
    color: #475569;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.series-kicker:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.series-kicker-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #ffffff;
    color: #0f172a;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.series-kicker-title {
    font-weight: 500;
    color: #334155;
}

.series-kicker:hover .series-kicker-title {
    color: #0f172a;
}

.series-kicker-icon {
    color: #94a3b8;
    transition: transform 0.18s ease;
}

.series-kicker:hover .series-kicker-icon {
    color: #0f172a;
    transform: translateX(2px);
}

/* Topic Series Card (Clean Editorial Design) */
.topic-series-card {
    margin: 36px 0 28px 0;
    padding: 24px 28px;
    background: #fafafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.topic-series-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.topic-series-info {
    flex: 1;
    min-width: 260px;
}

.topic-series-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.topic-series-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.topic-series-count {
    font-size: 11px;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1px 7px;
    border-radius: 9999px;
    font-weight: 500;
}

.topic-series-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.topic-series-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.topic-series-action {
    flex-shrink: 0;
}

.btn-series-hub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-series-hub:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.btn-series-hub svg {
    transition: transform 0.18s ease;
}

.btn-series-hub:hover svg {
    transform: translateX(2px);
}

/* Series List Grid */
.topic-series-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.series-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.16s ease;
}

.series-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.series-item.is-active {
    background: #f8fafc;
    border-color: #0f172a;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.series-item-index {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
}

.series-item.is-active .series-item-index {
    background: #0f172a;
    color: #ffffff;
}

.series-item-content {
    flex: 1;
    min-width: 0;
}

.series-item-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.series-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.series-item:hover .series-item-title {
    color: var(--primary, #1d4ed8);
}

.series-item.is-active .series-item-title {
    color: #0f172a;
}

.series-item-category {
    font-size: 10.5px;
    color: #94a3b8;
    display: block;
    margin-top: 1px;
}

.series-active-pill {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #0f172a;
    color: #ffffff;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.series-pillar-pill {
    font-size: 8.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.series-item-arrow {
    color: #cbd5e1;
    transition: all 0.16s ease;
    flex-shrink: 0;
}

.series-item:hover .series-item-arrow {
    color: var(--primary, #1d4ed8);
    transform: translateX(2px);
}

/* ==========================================================================
   RESPONSIVE — Single Post Page
   Breakpoints: Desktop ≥1024  |  Tablet 768–1023  |  Mobile <768
   ========================================================================== */

/* ---- Tablet (768–1023px) ---- */
@media (max-width: 1023px) {
    /* Stack layout: sidebar goes below article */
    .single-post-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .single-post-main-container {
        padding: 24px 20px 60px !important;
    }

    .article-title {
        font-size: 30px;
    }

    .featured-image-wrapper img {
        max-height: 420px;
    }

    /* Sidebar becomes horizontal card row */
    .sidebar-related-inner {
        position: static;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .related-posts-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .related-post-link {
        flex-direction: column;
        gap: 8px;
    }

    .related-post-thumb {
        width: 100%;
        height: 120px;
    }

    /* Cluster card grid stays but tighter */
    .topic-series-list {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .topic-series-card {
        padding: 20px 22px;
    }

    /* Share bar stays row */
    .share-bar {
        padding: 16px 20px;
    }
}

/* ---- Mobile (< 768px) ---- */
@media (max-width: 767px) {
    /* Breadcrumb */
    .breadcrumb-nav {
        padding: 10px 0;
        font-size: 12px;
    }

    .breadcrumb-nav .container {
        padding: 0 16px !important;
    }

    /* Main container */
    .single-post-main-container {
        padding: 20px 16px 48px !important;
    }

    .single-post-layout-grid {
        gap: 28px;
    }

    /* Article header */
    .article-badge-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    .article-title {
        font-size: 24px;
        letter-spacing: -0.02em;
    }

    .meta-data {
        font-size: 11.5px;
        gap: 6px;
    }

    .meta-sep {
        font-size: 9px;
    }

    /* Featured image */
    .featured-image-wrapper {
        margin-bottom: 24px;
        border-radius: 8px;
    }

    .featured-image-wrapper img {
        max-height: 240px;
    }

    /* TOC */
    .table-of-contents,
    .toc-box {
        margin: 20px 0;
        padding: 14px 16px;
        border-radius: 10px;
    }

    .toc-header {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .toc-title {
        font-size: 13.5px !important;
    }

    .toc-toggle-btn {
        font-size: 11px;
    }

    .toc-list {
        gap: 6px;
    }

    .toc-list li {
        font-size: 12.5px;
    }

    .toc-list li.toc-item-sub {
        margin-left: 14px;
        font-size: 11.5px;
    }

    /* Article body content */
    .article-body-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .article-body-content h2 {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    .article-body-content h3 {
        font-size: 17px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .article-body-content p {
        margin-bottom: 18px;
    }

    .article-body-content blockquote {
        margin: 20px 0;
        padding: 12px 16px;
    }

    /* Article footer */
    .article-footer {
        margin-top: 32px;
        padding-top: 20px;
    }

    .tags-container {
        gap: 6px;
        margin-bottom: 20px;
    }

    .tag-pill {
        font-size: 11px;
        padding: 2px 8px;
    }

    /* Share bar — stack vertically on mobile */
    .share-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 12px;
        border-radius: 10px;
        margin-bottom: 24px;
    }

    .share-bar-title {
        font-size: 12px;
    }

    .share-bar-links {
        width: 100%;
        gap: 6px;
    }

    .share-btn {
        padding: 5px 10px;
        font-size: 11px;
        flex: 1;
        justify-content: center;
    }

    /* Linear navigation — always single column */
    .post-linear-nav {
        grid-template-columns: 1fr !important;
        gap: 10px;
        margin-top: 24px;
        padding-top: 24px;
    }

    .linear-nav-card.is-empty {
        display: none !important;
    }

    .linear-nav-link {
        padding: 12px 14px;
        border-radius: 8px;
    }

    .linear-nav-direction {
        font-size: 10px;
    }

    .linear-nav-title {
        font-size: 12.5px;
    }

    /* Sidebar related posts — single column */
    .sidebar-widget {
        padding: 16px;
        border-radius: 10px;
    }

    .sidebar-widget-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .sidebar-widget-title {
        font-size: 14px;
    }

    .related-posts-list {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .related-post-link {
        flex-direction: row;
        gap: 10px;
    }

    .related-post-thumb {
        width: 72px;
        height: 52px;
    }

    .related-post-title {
        font-size: 12px;
    }

    .related-post-date {
        font-size: 10px;
    }

    /* ---- Topic Cluster Card (Mobile) ---- */
    .topic-series-card {
        margin: 24px 0 20px 0;
        padding: 16px 14px;
        border-radius: 10px;
    }

    .topic-series-header {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 14px;
    }

    .topic-series-info {
        min-width: unset;
    }

    .topic-series-meta {
        margin-bottom: 6px;
    }

    .topic-series-tag {
        font-size: 10px;
    }

    .topic-series-count {
        font-size: 10px;
    }

    .topic-series-title {
        font-size: 15px;
    }

    .topic-series-desc {
        font-size: 11.5px;
    }

    .btn-series-hub {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Series list — single column on mobile */
    .topic-series-list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 14px;
    }

    .series-item {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 8px;
    }

    .series-item-index {
        font-size: 10px;
        width: 22px;
        height: 22px;
        border-radius: 4px;
    }

    .series-item-title {
        font-size: 12px;
    }

    .series-item-category {
        font-size: 10px;
    }

    .series-active-pill,
    .series-pillar-pill {
        font-size: 7.5px;
        padding: 1px 4px;
    }

    /* Series kicker pill (child post header) */
    .series-kicker {
        font-size: 11px;
        padding: 3px 10px 3px 5px;
        gap: 6px;
    }

    .series-kicker-badge {
        font-size: 9px;
        padding: 1px 6px;
    }

    .series-kicker-title {
        display: inline-block;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ---- Very small screens (< 400px) ---- */
@media (max-width: 399px) {
    .article-title {
        font-size: 21px;
    }

    .meta-data {
        font-size: 10.5px;
    }

    .share-bar-links {
        flex-wrap: wrap;
    }

    .share-btn {
        flex: unset;
        width: calc(50% - 3px);
    }

    .series-kicker-title {
        max-width: 120px;
    }
}

/* ==========================================================================
   Modern Sekawan Media-Inspired Article Single Template
   ========================================================================== */

/* 1. Full-Width Dark Hero Header */
.article-hero-banner {
    background: linear-gradient(135deg, #090f1d 0%, #0f172a 60%, #1e293b 100%);
    padding: 52px 0 60px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-hero-banner.has-bg-image {
    background-image: 
        linear-gradient(180deg, rgba(9, 15, 29, 0.85) 0%, rgba(15, 23, 42, 0.93) 100%),
        var(--hero-bg-img);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.article-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.article-hero-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-hero-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.article-hero-breadcrumbs .bc-sep {
    color: #475569;
    font-size: 12px;
}

.article-hero-breadcrumbs .bc-current {
    color: #e2e8f0;
    font-weight: 500;
    max-width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-hero-category {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hero-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 999px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cat-pill:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: #93c5fd;
    color: #ffffff;
}

.hero-series-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-series-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.hero-series-pill .series-tag {
    font-weight: 700;
    color: #fbbf24;
}

.article-hero-title {
    font-size: 32px;
    font-weight: 750;
    color: #ffffff;
    line-height: 1.32;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    max-width: 1050px;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
    color: #94a3b8;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-right: 4px;
}

.hero-meta-dot {
    color: #475569;
    font-size: 14px;
}

/* 2. Main Article Grid Layout (2 Columns) */
.article-grid-wrapper {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 48px;
    align-items: stretch;
}

.article-sidebar-left {
    height: 100%;
    position: relative;
}

/* Left Sticky Sidebar */
.sidebar-sticky-box {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sidebar-widget.widget-toc {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.sidebar-widget.widget-toc .toc-box {
    margin: 0;
}

.widget-heading {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

/* Social Share Bar */
.social-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    transition: all 0.2s ease;
    cursor: pointer;
}

.social-btn:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateY(-1px);
}

.btn-whatsapp:hover {
    color: #16a34a;
    border-color: #86efac;
    background: #f0fdf4;
}

.btn-linkedin:hover {
    color: #0284c7;
    border-color: #7dd3fc;
    background: #f0f9ff;
}

.btn-facebook:hover {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}

.btn-copylink:hover {
    color: var(--primary, #1d4ed8);
    border-color: var(--primary, #1d4ed8);
    background: #eff6ff;
}

/* 3. Right Main Article Column */
.article-main-column {
    min-width: 0; /* Prevent flex/grid blowout */
}

.article-featured-media {
    margin: 0 0 32px;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.04);
    display: block;
}

.article-featured-caption {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Article Body Typography */
.article-body-content {
    font-size: 15.5px;
    line-height: 1.78;
    color: #334155;
}

.article-body-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 16px;
    line-height: 1.38;
    letter-spacing: -0.015em;
    scroll-margin-top: 110px;
}

.article-body-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 26px 0 12px;
    line-height: 1.42;
    scroll-margin-top: 110px;
}

.article-body-content p {
    margin-bottom: 18px;
}

.article-body-content blockquote {
    border-left: 4px solid var(--primary, #1d4ed8);
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 26px 0;
    font-size: 15px;
    font-style: italic;
    color: #1e293b;
}

.article-body-content ul, 
.article-body-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
    line-height: 1.8;
}

.article-body-content li {
    margin-bottom: 8px;
}

.article-body-content img {
    border-radius: 0;
    margin: 26px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.article-body-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14.5px;
}

.article-body-content th {
    background: #f1f5f9;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
}

.article-body-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

/* ScrollSpy Active Link in TOC */
.toc-list a.is-active {
    color: var(--primary, #1d4ed8) !important;
    font-weight: 700 !important;
}

.toc-list a.is-active .toc-num, 
.toc-list a.is-active .toc-subnum {
    color: var(--primary, #1d4ed8) !important;
    font-weight: 800 !important;
}

/* Tags Section */
.article-tags-wrapper {
    margin: 38px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
}

.tags-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill-modern {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
}

.tag-pill-modern:hover {
    background: #e2e8f0;
    color: var(--primary, #1d4ed8);
}

/* Author Box */
.article-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin: 40px 0;
}

.author-box-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

.author-box-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.author-box-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.author-box-bio {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Linear Navigation Prev / Next */
.article-linear-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0 20px;
}

.linear-nav-box.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.linear-nav-card {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
}

.linear-nav-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.linear-nav-card .nav-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.linear-nav-card .nav-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
    transition: color 0.15s ease;
}

.linear-nav-card:hover .nav-title {
    color: var(--primary, #1d4ed8);
}

/* 4. Bottom Related Articles Section */
.related-posts-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 64px 0 80px;
}

.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.related-kicker {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.015em;
}

.btn-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.btn-view-all-articles:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.related-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.related-thumb-link {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    background: #0f172a;
}

.related-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.related-thumb-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.related-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-post-heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 14px;
    flex-grow: 1;
}

.related-post-heading a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.related-post-heading a:hover {
    color: var(--primary, #1d4ed8);
}

.related-post-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: auto;
}

.related-read-more {
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    text-decoration: none;
}

/* Responsive Styles for Article Layout */
@media (max-width: 992px) {
    .article-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sidebar-sticky-box {
        position: static;
    }

    .article-hero-title {
        font-size: 26px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .article-hero-banner {
        padding: 32px 0 38px;
    }

    .article-hero-title {
        font-size: 21px;
    }

    .article-hero-meta {
        font-size: 12px;
        gap: 8px;
    }

    .social-share-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .article-linear-navigation {
        grid-template-columns: 1fr;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .related-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}



/* 3rd Level Sub-Dropdown Styles */
.dropdown-item.has-sub-dropdown {
    position: relative;
}

.sub-dropdown-menu-wrapper {
    position: absolute;
    top: -6px;
    left: calc(100% + 4px);
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.sub-dropdown-menu-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    bottom: 0;
    width: 10px;
}

.dropdown-item.has-sub-dropdown:hover > .sub-dropdown-menu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.sub-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sub-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 0;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-dropdown-link:hover, .sub-dropdown-link.active {
    background-color: #f1f5f9;
    color: #0f172a;
}

.sub-dropdown-link:hover .dropdown-title {
    color: var(--primary);
}

@media (max-width: 991px) {
    .sub-dropdown-menu-wrapper {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        margin-top: 4px;
        display: none;
    }
    
    .dropdown-item.has-sub-dropdown.open > .sub-dropdown-menu-wrapper {
        display: block;
    }
}




/* Elegant bullet indicators for dropdown items */
.dropdown-link::before,
.sub-dropdown-link::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 0;
    background-color: #cbd5e1;
    margin-right: 8px;
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.dropdown-link:hover::before,
.dropdown-link.active::before,
.sub-dropdown-link:hover::before,
.sub-dropdown-link.active::before {
    background-color: var(--primary);
    transform: scale(1.5);
}

/* ==========================================================================
   MEGA MENU STYLES (MINIMAL & PREMIUM)
   ========================================================================== */
.has-mega-menu {
    position: relative !important;
}

.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: max-content;
    min-width: 600px;
    max-width: 900px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 999;
    padding: 2rem 2.5rem;
}

.has-mega-menu:hover .mega-menu-container,
.has-mega-menu:focus-within .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.mega-column-title {
    display: block;
    font-weight: 600;
    color: #888888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
}

a.mega-column-title:hover {
    color: var(--primary-color, #133a28);
    border-bottom-color: var(--primary-color, #133a28);
}

.mega-column-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mega-column-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: -12px;
    margin-right: -12px;
}

.mega-column-links a:hover, .mega-column-links a.active {
    color: #0f172a;
    background-color: #f1f5f9;
    font-weight: 500;
}
.mega-menu-footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.25rem;
    text-align: center;
}

.mega-menu-footer a {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color, #133a28);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.85rem;
}

.mega-menu-footer a:hover {
    text-decoration: underline;
}

/* Mobile Fallback for Mega Menu */
@media (max-width: 991px) {
    .has-mega-menu {
        position: static !important;
    }

    .mega-menu-container {
        position: relative;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 1rem 1rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        width: 100%;
        left: 0;
        min-width: auto;
    }
    
    .has-mega-menu:hover .mega-menu-container,
    .has-mega-menu.open .mega-menu-container {
        display: block;
        transform: none;
    }

    .mega-menu-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mega-column-title {
        margin-top: 0;
        margin-bottom: 1rem;
    }
}