/* Article-only layout and components. Colors inherit Zyla's shared tokens. */
.article-page {
    --article-navy: #0b1f43;
    --article-blue: #1463d9;
    --article-cyan: #34d5f3;
    --article-green: #20b879;
    --article-ink: #17243b;
    --article-muted: #607089;
    --article-line: #e4eaf2;
    --article-panel: #f4f8fc;
    background: #f5f7fb;
}

.article-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.article-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2.25rem, 6vw, 5rem) 0 4.5rem;
    color: #fff;
    background: linear-gradient(118deg, #091b38 0%, #103c76 55%, #087fa3 100%);
}

.article-hero::after {
    position: absolute;
    z-index: -1;
    right: 8%;
    bottom: 1.25rem;
    width: min(34vw, 420px);
    height: 8px;
    content: "";
    border-radius: 10px;
    background: linear-gradient(90deg, var(--article-cyan), var(--article-green));
    opacity: .8;
}

.article-hero-orb {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
}

.article-hero-orb-one {
    top: -190px;
    right: -85px;
    width: 470px;
    aspect-ratio: 1;
    box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 78px rgba(255,255,255,.02);
}

.article-hero-orb-two {
    right: 30%;
    bottom: -205px;
    width: 310px;
    aspect-ratio: 1;
    border-color: rgba(52,213,243,.2);
}

.article-hero-content { position: relative; z-index: 1; }

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.78);
    font-size: .9rem;
}

.article-breadcrumb a { color: #fff; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1rem;
    padding: .42rem .78rem;
    border: 1px solid rgba(52,213,243,.5);
    border-radius: 99px;
    color: #c9f7ff;
    background: rgba(10,35,67,.35);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 920px;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.15rem, 5.1vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
    text-align: left;
    text-wrap: balance;
}

.article-deck {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.35rem;
    margin: 1.65rem 0 0;
    padding: 0;
    color: #e3f4ff;
    list-style: none;
}

.article-meta li { display: inline-flex; align-items: center; gap: .5rem; font-size: .91rem; }
.article-meta i { color: #72e0ef; }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 282px;
    grid-template-areas: "content sidebar";
    align-items: start;
    gap: 2rem;
    padding-block: 3rem 5rem;
}

.article-main {
    grid-area: content;
    min-width: 0;
    padding: clamp(1.25rem, 3.5vw, 3rem);
    border: 1px solid #e9eef5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(20,48,86,.07);
}

.article-sidebar {
    grid-area: sidebar;
    position: sticky;
    top: 96px;
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.article-card {
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid var(--article-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,48,86,.06);
}

.article-toc summary {
    position: relative;
    padding-right: 1.4rem;
    color: var(--article-ink);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after { position: absolute; right: 0; content: "+"; color: var(--article-blue); font-size: 1.25rem; }
.article-toc[open] summary::after { content: "−"; }

.article-toc ol {
    display: grid;
    gap: .2rem;
    margin: .9rem 0 0;
    padding: .85rem 0 0 1.35rem;
    border-top: 1px solid var(--article-line);
    color: var(--article-blue);
    font-size: .88rem;
}

.article-toc li { padding-left: .15rem; }
.article-toc a { display: block; padding: .24rem 0; color: #485c76; text-decoration: none; line-height: 1.4; }
.article-toc a:hover,.sidebar-services a:hover { color: var(--article-blue); text-decoration: underline; text-underline-offset: 3px; }

.sidebar-eyebrow,.section-index {
    display: block;
    margin-bottom: .45rem;
    color: #128ba9;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sidebar-contact h2,.sidebar-services h2 { margin: 0 0 .55rem; color: var(--article-ink); font-size: 1.12rem; line-height: 1.3; }
.sidebar-contact p { margin: 0 0 1rem; color: var(--article-muted); font-size: .9rem; line-height: 1.55; }
.sidebar-phone { display: block; margin-top: .7rem; color: var(--article-muted); font-size: .86rem; text-align: center; text-decoration: none; }

.article-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .72rem 1rem;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.article-button:hover { transform: translateY(-2px); }
.sidebar-contact .article-button { display: flex; width: 100%; margin-top: .55rem; }
.article-button-primary { color: #fff; background: var(--article-blue); box-shadow: 0 6px 15px rgba(20,99,217,.2); }
.article-button-primary:hover { background: #0f52b7; }
.article-button-whatsapp { color: #087848; border-color: #bdebd5; background: #e8fbf1; }
.article-button-whatsapp:hover { background: #d8f7e7; }

.sidebar-services { display: grid; gap: .15rem; }
.sidebar-services h2 { margin-bottom: .45rem; }
.sidebar-services a { display: flex; justify-content: space-between; gap: .6rem; padding: .5rem 0; border-top: 1px solid #eef2f7; color: #465a74; font-size: .88rem; text-decoration: none; }

.key-takeaways {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.35rem;
    border: 1px solid #c7e9f7;
    border-radius: 14px;
    background: linear-gradient(125deg,#effaff,#f3fbf8);
}

.takeaways-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,var(--article-blue),#0ba3ae); }
.key-takeaways h2 { margin: 0 0 .55rem; color: var(--article-ink); font-size: 1.08rem; }
.key-takeaways ul { display: grid; gap: .35rem; margin: 0; padding-left: 1.15rem; color: #43556c; font-size: .93rem; line-height: 1.55; }

.article-featured-wrap { margin: 0 0 2.6rem; }
.article-featured { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: #e9eff5; box-shadow: 0 12px 28px rgba(14,35,63,.12); }
.article-featured-wrap figcaption { margin-top: .65rem; color: #748197; font-size: .84rem; line-height: 1.5; }

.article-section { min-width: 0; margin-top: 2.9rem; scroll-margin-top: 105px; }
.article-section:first-of-type { margin-top: 0; }
.article-section h2 { margin: 0 0 .85rem; color: var(--article-ink); font-size: clamp(1.5rem,3.2vw,2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.article-section h3 { margin: 1.8rem 0 .5rem; color: #183b68; font-size: 1.18rem; line-height: 1.35; }
.article-section p { margin: 0 0 1rem; color: #46566d; font-size: 1.02rem; line-height: 1.82; }
.article-section a,.author-card a { color: #145fc5; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-section a:hover,.author-card a:hover { color: #0c468f; }

.article-tip { margin: 1.4rem 0; padding: 1rem 1.15rem; border-left: 4px solid #1d8bd1; border-radius: 0 10px 10px 0; background: #eff7ff; }
.article-tip strong { display: block; margin-bottom: .25rem; color: #14528d; }
.article-section .article-tip p { margin: 0; font-size: .94rem; line-height: 1.65; }
.article-tip-green { border-left-color: var(--article-green); background: #eefaf4; }
.article-tip-green strong { color: #087348; }

.service-comparison-wrap { max-width: 100%; margin: 1.5rem 0 2rem; overflow-x: auto; border: 1px solid var(--article-line); border-radius: 12px; }
.service-comparison { width: 100%; table-layout: fixed; border-collapse: collapse; color: #485a70; font-size: .89rem; line-height: 1.5; }
.service-comparison caption { padding: .9rem 1rem; color: #5f6e82; background: #f6f9fc; font-size: .84rem; text-align: left; }
.service-comparison th,.service-comparison td { padding: .8rem .75rem; border-top: 1px solid var(--article-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.service-comparison thead th { color: #17365f; background: #eef5fc; font-size: .8rem; }
.service-comparison tbody th { color: #1e3859; font-weight: 750; }

.industry-strategies,.question-list { display: grid; gap: .8rem; margin: 1.2rem 0 1.5rem; padding-left: 1.6rem; }
.industry-strategies li,.question-list li { padding-left: .35rem; color: #1767be; font-weight: 750; }
.industry-strategies li::marker,.question-list li::marker { color: #1188a8; font-weight: 850; }
.article-section .industry-strategies h3 { margin: 0 0 .35rem; color: #183b68; font-size: 1.06rem; }
.article-section .industry-strategies p { margin-bottom: .2rem; font-size: .96rem; }
.question-list li { color: #46566d; font-weight: 500; line-height: 1.6; }
.check-list { display: grid; gap: .55rem; margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.65rem; color: #46566d; line-height: 1.65; }
.check-list li::before { position: absolute; top: .05rem; left: 0; color: #0d9b68; content: "✓"; font-weight: 900; }

.article-faq-section { margin-bottom: 2rem; }
.article-faq { margin: .7rem 0; border: 1px solid var(--article-line); border-radius: 11px; background: #fff; }
.article-faq summary { position: relative; padding: 1rem 2.8rem 1rem 1rem; color: #203b5e; font-weight: 750; line-height: 1.5; cursor: pointer; list-style: none; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { position: absolute; top: 50%; right: 1rem; display: grid; width: 26px; height: 26px; place-items: center; transform: translateY(-50%); border-radius: 50%; color: var(--article-blue); background: #edf5ff; content: "+"; font-size: 1.1rem; }
.article-faq[open] summary::after { content: "−"; }
.article-faq p { margin: 0; padding: 0 1rem 1rem; color: #53637a; font-size: .96rem; line-height: 1.7; }

.related-article { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 3rem; padding: 1.3rem; border: 1px solid #d9e9f3; border-radius: 14px; background: linear-gradient(120deg,#f3faff,#f2fbf8); }
.related-article h2 { margin: 0 0 .25rem; color: var(--article-ink); font-size: 1.25rem; }
.related-article p { margin: 0; color: var(--article-muted); font-size: .92rem; line-height: 1.55; }
.related-article-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; color: #145fc5; font-weight: 750; text-decoration: none; }
.related-article-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.author-card { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; padding: 1.3rem; border: 1px solid var(--article-line); border-radius: 14px; background: #fff; }
.author-card img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-card h2 { margin: 0 0 .25rem; color: var(--article-ink); font-size: 1.12rem; }
.author-card p { margin: 0 0 .3rem; color: var(--article-muted); font-size: .9rem; line-height: 1.5; }
.author-card a { font-size: .9rem; text-decoration: none; }

.article-cta { padding: clamp(2.5rem,6vw,4.5rem) 0; color: #fff; background: linear-gradient(115deg,#0a1d3b,#134d85 58%,#087f87); }
.article-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2rem; }
.article-cta .article-category { margin-bottom: .8rem; }
.article-cta h2 { max-width: 680px; margin: 0 0 .65rem; color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.15; text-wrap: balance; }
.article-cta p { max-width: 660px; margin: 0 0 1rem; color: rgba(255,255,255,.84); line-height: 1.7; }
.article-contact-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; }
.article-contact-links a { color: #d4f7ff; font-size: .92rem; text-underline-offset: 3px; }
.article-cta-actions { display: grid; min-width: 200px; gap: .65rem; }
.article-button-white { color: #113966; background: #fff; }
.article-button-white:hover { background: #eaf8ff; }
.article-button-outline { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.article-button-outline:hover { background: rgba(255,255,255,.1); }
.article-cta .article-button-whatsapp { color: #075b39; }

@media (max-width: 1000px) {
    .article-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 1.25rem; }
}

@media (max-width: 900px) {
    .article-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "sidebar" "content"; gap: 1rem; padding-top: 1.4rem; }
    .article-sidebar { position: static; display: block; }
    .article-sidebar > :not(.article-toc) { display: none; }
    .article-toc { padding: .95rem 1.1rem; }
    .article-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.3rem; }
    .article-main { padding: clamp(1.15rem,4vw,2rem); }
    .article-cta-inner { grid-template-columns: minmax(0,1fr); }
    .article-cta-actions { display: flex; flex-wrap: wrap; min-width: 0; }
}

@media (max-width: 560px) {
    .article-container { width: min(100% - 28px,1200px); }
    .article-hero { padding: 1.55rem 0 2.8rem; }
    .article-breadcrumb { gap: .38rem; margin-bottom: 1.5rem; font-size: .78rem; }
    .article-hero h1 { font-size: clamp(2rem,8.4vw,2.65rem); }
    .article-deck { font-size: 1rem; }
    .article-meta { gap: .55rem 1rem; margin-top: 1.25rem; }
    .article-meta li { font-size: .82rem; }
    .article-layout { padding-bottom: 3rem; }
    .article-main { padding: 1.05rem; border-radius: 14px; }
    .key-takeaways { grid-template-columns: 34px minmax(0,1fr); gap: .7rem; padding: 1rem .85rem; }
    .takeaways-icon { width: 34px; height: 34px; border-radius: 10px; }
    .key-takeaways ul { font-size: .88rem; }
    .article-featured-wrap { margin-bottom: 2rem; }
    .article-featured { border-radius: 10px; }
    .article-section { margin-top: 2.35rem; scroll-margin-top: 88px; }
    .article-section p { font-size: .98rem; line-height: 1.75; }
    .article-section h3 { font-size: 1.08rem; }
    .article-toc ol { grid-template-columns: minmax(0,1fr); gap: .05rem; }
    .service-comparison { font-size: .78rem; }
    .service-comparison th,.service-comparison td { padding: .6rem .45rem; }
    .service-comparison thead th { font-size: .73rem; }
    .related-article { align-items: flex-start; flex-direction: column; }
    .author-card { align-items: flex-start; padding: 1rem; }
    .author-card img { flex-basis: 52px; width: 52px; height: 52px; }
    .article-cta-actions { display: grid; grid-template-columns: minmax(0,1fr); }
    .article-cta-actions .article-button { width: 100%; }
    .article-contact-links { flex-direction: column; gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
    .article-button { transition: none; }
    .article-button:hover { transform: none; }
}
