/* =========================================================
   AKEELA DENTAL CARE — BLOG ARTICLE PAGE (PREMIUM)
   Matches the site's real design system:
   orange #F3754B / teal #009DA5 / Manrope + DM Sans
   Colors hardcoded as fallback so this always renders
   correctly even if the parent stylesheet's vars differ.
========================================================= */


:root {
    --art-orange: #F3754B;
    --art-teal: #009DA5;
    --art-green-light: #2CB99A;
    --art-black: #1A1A1A;
    --art-muted: #667577;
    --art-line: rgba(0,157,165,.15);
    --art-cream: #F8F7F3;
    --art-white: #FFFFFF;
    --art-heading-font: "Manrope", sans-serif;
    --art-body-font: "DM Sans", sans-serif;
}

.ak-article-hero,
.ak-article-section,
.ak-article-footer {
    font-family: var(--art-body-font);
}

.ak-article-hero { padding: 165px 0 55px; background: var(--art-cream); }
.ak-article-hero .akp-container { width: min(1180px, 90%); margin: 0 auto; }

.ak-article-back {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
    color: var(--art-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em;
    transition: color .25s ease;
}
.ak-article-back:hover { color: var(--art-orange); }

.ak-article-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ak-article-cat {
    display: inline-flex; padding: 8px 14px; border-radius: 30px; background: var(--art-white);
    border: 1px solid var(--art-line); color: var(--art-teal);
    font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.ak-article-date { color: var(--art-muted); font-size: 11px; font-weight: 600; }

.ak-article-hero h1 {
    margin: 0; max-width: 900px; color: var(--art-orange);
    font-family: var(--art-heading-font); font-weight: 700;
    font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -.03em;
}

.ak-article-thumb {
    width: 100%; aspect-ratio: 16/8; margin-top: 45px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,70,74,.14); background: var(--art-cream);
}
.ak-article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================
   ARTICLE BODY — rich text styling
===================================================== */

.ak-article-section { padding: 65px 0 110px; background: var(--art-white); }
.ak-article-body { max-width: 740px; margin: 0 auto; color: var(--art-black); font-size: 15.5px; line-height: 1.9; }
.ak-article-body::after { content: ""; display: table; clear: both; }

/* Headings: H1 orange, H2 light green, H3 orange, H4 black — all Manrope */
.ak-article-body h1 {
    font-family: var(--art-heading-font); font-weight: 700; font-size: 32px;
    color: var(--art-orange); margin: 44px 0 18px; line-height: 1.15; letter-spacing: -.02em;
}
.ak-article-body h2 {
    font-family: var(--art-heading-font); font-weight: 700; font-size: 27px;
    color: var(--art-green-light); margin: 44px 0 16px; line-height: 1.2; letter-spacing: -.02em;
}
.ak-article-body h3 {
    font-family: var(--art-heading-font); font-weight: 700; font-size: 21px;
    color: var(--art-orange); margin: 34px 0 14px; line-height: 1.25; letter-spacing: -.01em;
}
.ak-article-body h4 {
    font-family: var(--art-heading-font); font-size: 17px; font-weight: 700;
    color: var(--art-black); margin: 28px 0 12px;
}

.ak-article-body p { margin: 0 0 22px; color: var(--art-black); }
.ak-article-body > p:first-of-type {
    font-size: 19px; line-height: 1.75; color: #384446; font-weight: 500;
}
.ak-article-body a { color: var(--art-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.ak-article-body a:hover { color: var(--art-orange); }

.ak-article-body ul, .ak-article-body ol { margin: 0 0 26px; padding-left: 0; color: var(--art-black); list-style: none; }
.ak-article-body ul li {
    position: relative; margin-bottom: 13px; padding-left: 30px; line-height: 1.7;
}
.ak-article-body ul li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--art-orange);
}
.ak-article-body ol { counter-reset: art-ol; padding-left: 0; }
.ak-article-body ol li {
    position: relative; margin-bottom: 13px; padding-left: 34px; line-height: 1.7;
    counter-increment: art-ol;
}
.ak-article-body ol li::before {
    content: counter(art-ol); position: absolute; left: 0; top: 0; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--art-cream); color: var(--art-teal); font-size: 11px; font-weight: 800;
}

/* Section divider — inserted between major H2 blocks for visual rhythm */
.ak-article-body .art-divider {
    display: flex; align-items: center; gap: 14px; margin: 46px 0;
}
.ak-article-body .art-divider::before,
.ak-article-body .art-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--art-line);
}
.ak-article-body .art-divider span {
    width: 8px; height: 8px; border-radius: 50%; background: var(--art-orange);
}

/* Float images — zigzag content breaks, alternate left/right on desktop */
.ak-article-body .art-float-img {
    border-radius: 18px; overflow: hidden; box-shadow: 0 22px 50px rgba(0,70,74,.14);
    margin: 8px 0 24px;
}
.ak-article-body .art-float-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    margin: 0; border-radius: 0; box-shadow: none; transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 700px) {
    .ak-article-body .art-float-img {
        width: 300px; aspect-ratio: 4/5; margin: 6px 0 24px;
    }
    .ak-article-body .art-float-img.art-float-right { float: right; margin-left: 32px; }
    .ak-article-body .art-float-img.art-float-left { float: left; margin-right: 32px; }
}
@media (max-width: 699px) {
    .ak-article-body .art-float-img { width: 100%; aspect-ratio: 16/10; }
}

/* =====================================================
   TABLE OF CONTENTS — premium navigation card
===================================================== */
.ak-article-body .art-toc {
    background: var(--art-cream);
    border-radius: 18px;
    padding: 26px 28px 22px;
    margin: 0 0 40px;
    border: 1px solid var(--art-line);
}
.ak-article-body .art-toc-label {
    display: block; margin-bottom: 14px; color: var(--art-teal);
    font-family: var(--art-heading-font); font-size: 10px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
}
.ak-article-body .art-toc ul { margin: 0; padding: 0; list-style: none; }
.ak-article-body .art-toc li {
    padding: 0; margin: 0 0 11px; padding-left: 0;
    counter-increment: toc-counter;
}
.ak-article-body .art-toc li::before { display: none; }
.ak-article-body .art-toc ul { counter-reset: toc-counter; }
.ak-article-body .art-toc li a {
    display: flex; align-items: baseline; gap: 10px;
    color: var(--art-black); font-weight: 600; font-size: 14px;
    text-decoration: none; transition: color .2s ease;
}
.ak-article-body .art-toc li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    color: var(--art-orange); font-family: var(--art-heading-font); font-size: 11px; font-weight: 800;
}
.ak-article-body .art-toc li a:hover { color: var(--art-orange); text-decoration: underline; }

/* Drop cap on the lead paragraph */
.ak-article-body > p:first-of-type::first-letter {
    float: left; font-family: var(--art-heading-font); font-weight: 800;
    font-size: 58px; line-height: 1; color: var(--art-orange);
    padding: 4px 8px 0 0;
}

/* Reading progress bar */
#artProgressBar {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--art-orange), var(--art-teal));
    z-index: 10000; transition: width .1s ease-out;
}

.ak-article-body img {
    max-width: 100%; height: auto; border-radius: 16px; margin: 30px 0;
    box-shadow: 0 20px 45px rgba(0,70,74,.12); background: var(--art-cream);
}

.ak-article-body blockquote {
    margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--art-orange); background: var(--art-cream);
    border-radius: 0 14px 14px 0; color: var(--art-black); font-style: italic; font-size: 16.5px;
}

.ak-article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 13px; }
.ak-article-body table th, .ak-article-body table td { padding: 13px 15px; border: 1px solid var(--art-line); text-align: left; color: var(--art-black); }
.ak-article-body table th { background: var(--art-cream); color: var(--art-black); font-weight: 700; font-family: var(--art-heading-font); }

.ak-article-body strong { color: var(--art-black); font-weight: 700; }

/* CTA links / buttons that appear inline in migrated content */
.ak-article-body .cta_bn {
    display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 20px;
    padding: 13px 20px; border-radius: 100px; background: var(--art-orange);
    color: #fff !important; font-weight: 700; font-size: 12px; text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ak-article-body .cta_bn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(243,117,75,.28); }
.ak-article-body .cta { color: var(--art-muted); font-size: 13px; }

@media (max-width: 600px) {
    .ak-article-hero { padding: 125px 0 40px; }
    .ak-article-section { padding: 45px 0 75px; }
    .ak-article-body { font-size: 14px; }
    .ak-article-body h1 { font-size: 27px; }
    .ak-article-body h2 { font-size: 23px; }
    .ak-article-body h3 { font-size: 19px; }
}

/* =====================================================
   SHARE / TAGS / BACK
===================================================== */

.ak-article-footer {
    max-width: 740px; margin: 55px auto 0; padding-top: 32px; border-top: 1px solid var(--art-line);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.ak-article-back-btn {
    display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 100px;
    border: 1px solid var(--art-line); color: var(--art-teal); font-size: 11px; font-weight: 800;
    letter-spacing: .04em; transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ak-article-back-btn:hover { border-color: var(--art-orange); color: #fff; background: var(--art-orange); }
/* =========================================================
   RE-SKIN ADDITIONS (content moved from the old WordPress
   Visual Composer layout into the new article design)
========================================================= */
.ak-vc-page .ak-article-hero { padding-top: 140px; }
.ak-article-body { overflow-wrap: anywhere; }
.ak-article-body h1 { font-size: clamp(22px, 2.6vw, 28px); }
.ak-article-body ul, .ak-article-body ol { margin: 0 0 22px; padding-left: 22px; }
.ak-article-body li { margin: 0 0 8px; }
.ak-article-body img { max-width: 100%; height: auto; border-radius: 14px; display: block; }
.ak-article-body picture { display: block; }
.ak-figure { margin: 8px 0 28px; }
.ak-figure img { margin: 0 auto; box-shadow: 0 14px 34px rgba(0,70,74,.10); }
.ak-figure figcaption { margin-top: 8px; color: var(--art-muted); font-size: 13px; text-align: center; }
.ak-cols { display: grid; gap: 28px; align-items: start; margin: 0 0 22px; }
@media (min-width: 900px) {
  .ak-cols-2:has(> .ak-col > .ak-figure, > .ak-col > picture, > .ak-col > p > img) { grid-template-columns: 1fr 1fr; align-items: center; }
  .ak-cols-3:has(.ak-figure), .ak-cols-4:has(.ak-figure) { grid-template-columns: repeat(3, 1fr); }
}
.ak-col > :last-child { margin-bottom: 0; }
.ak-toc { margin: 0 0 32px; padding: 20px 24px; border: 1px solid var(--art-line); border-radius: 16px; background: var(--art-cream); }
.ak-toc .ak-toc-title { margin: 0 0 10px; font-family: var(--art-heading-font); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--art-teal); }
.ak-toc ul { margin: 0; padding-left: 18px; }
.ak-toc li { margin: 4px 0; font-size: 14.5px; line-height: 1.6; }
.ak-toc a { text-decoration: none; }
.ak-faq-group { margin: 0 0 26px; }
details.ak-faq { margin: 0 0 12px; border: 1px solid var(--art-line); border-radius: 14px; background: #fff; overflow: hidden; }
details.ak-faq > summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-family: var(--art-heading-font); font-weight: 700; color: #123A3C; line-height: 1.45; }
details.ak-faq > summary::-webkit-details-marker { display: none; }
details.ak-faq > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: rgba(0,157,165,.1); color: var(--art-teal); display: grid; place-items: center; font-size: 18px; transition: transform .25s ease; }
details.ak-faq[open] > summary::after { transform: translateY(-50%) rotate(45deg); background: var(--art-orange); color: #fff; }
details.ak-faq > summary :is(h1,h2,h3,h4,h5,h6) { margin: 0; font-size: 16px; line-height: 1.45; color: inherit; display: inline; font-weight: 700; }
.ak-faq-a { padding: 0 20px 16px; }
.ak-faq-a > :last-child { margin-bottom: 0; }
.ak-video { position: relative; padding-bottom: 56.25%; height: 0; margin: 0 0 26px; border-radius: 16px; overflow: hidden; background: #0d2b2d; }
.ak-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ak-article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14.5px; display: block; overflow-x: auto; }
.ak-article-body th, .ak-article-body td { border: 1px solid var(--art-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.ak-article-body th { background: var(--art-cream); }
.ak-article-body .cta, .ak-article-body #cal_dent { text-align: left !important; }
.ak-article-body .cta_bn { display: inline-flex; padding: 12px 22px; border-radius: 40px; background: var(--art-orange); color: #fff !important; text-decoration: none; font-weight: 700; margin: 0 0 22px; }
@media (max-width: 700px) {
  .ak-vc-page .ak-article-hero { padding: 110px 0 36px; }
  .ak-article-body { font-size: 15px; line-height: 1.8; }
}
.ak-article-body .ak-fancy { display: block; margin: 26px 0 12px; font-family: var(--art-heading-font); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--art-teal); }
.ak-article-body li .ak-fancy, .ak-article-body summary .ak-fancy { display: inline; margin: 0; font-size: inherit; }
.ak-article-hero .ak-article-title { margin: 0; max-width: 900px; color: var(--art-orange); font-family: var(--art-heading-font); font-weight: 700; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -.03em; }
