/* =========================================================
   SMART TAX SAVER
   ARTICLE PAGE ONLY
   ========================================================= */

.article-page {
    --article-green: #0b8f4b;
    --article-green-dark: #006d3a;
    --article-green-light: #68e87a;
    --article-dark: #071d24;
    --article-text: #172d32;
    --article-muted: #718083;
    --article-border: #e5ebe8;
    --article-bg: #f7faf8;
    --article-white: #ffffff;

    background: var(--article-bg);
    color: var(--article-text);

}


/* =========================================================
   READING PROGRESS
   ========================================================= */

.article-page .article-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;

    width: 0;
    height: 3px;

    background: linear-gradient(
        90deg,
        #0b8f4b,
        #68e87a
    );

    transition: width .08s linear;
}


/* =========================================================
   HERO
   ========================================================= */

.article-page .article-hero {
    position: relative;

    min-height: 455px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #06262c;
}

.article-page .article-hero-image {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;

    transform: scale(1.02);

    animation: articleHeroZoom 14s ease-out forwards;
}

.article-page .article-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(3,24,30,.96) 0%,
            rgba(3,27,32,.87) 40%,
            rgba(3,27,32,.52) 72%,
            rgba(3,27,32,.65) 100%
        ),
        radial-gradient(
            circle at 12% 80%,
            rgba(104,232,122,.12),
            transparent 28%
        );
}

.article-page .article-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -300px;
    top: -260px;

    z-index: 2;

    border: 1px solid rgba(104,232,122,.15);
    border-radius: 50%;

    box-shadow:
        0 0 0 65px rgba(104,232,122,.025),
        0 0 0 130px rgba(104,232,122,.018);
}

.article-page .article-hero-inner {
    position: relative;

    z-index: 5;

    width: min(100% - 50px, 1320px);

    margin-inline: auto;

    padding-top: 105px;
    padding-bottom: 72px;
}

.article-page .article-back-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 28px;

    color: rgba(255,255,255,.72);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s ease;
}

.article-page .article-back-link:hover {
    color: var(--article-green-light);

    transform: translateX(-3px);
}

.article-page .article-hero-category {
    display: flex;
    align-items: center;

    gap: 11px;

    color: var(--article-green-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.article-page .article-hero-category span {
    width: 42px;
    height: 1px;

    background: var(--article-green-light);
}

.article-page .article-hero h1 {
    max-width: 1000px;

    margin: 17px 0 0;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(36px, 5vw, 66px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;
}

.article-page .article-hero-rule {
    width: 70px;
    height: 3px;

    margin-top: 25px;

    background: var(--article-green-light);
}

.article-page .article-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px 20px;

    margin-top: 19px;

    color: rgba(255,255,255,.72);

    font-size: 11px;
}

.article-page .article-hero-meta span {
    display: inline-flex;
    align-items: center;

    gap: 7px;
}

.article-page .article-hero-meta i {
    color: var(--article-green-light);
}

.article-page .article-hero-meta a {
    color: inherit;
    text-decoration: none;
}

.article-page .article-hero-meta a:hover {
    color: var(--article-green-light);
}


/* =========================================================
   MAIN
   ========================================================= */

.article-page .article-main {
    padding: 70px 0 100px;
}

.article-page .article-container {
    width: min(100% - 50px, 1180px);

    margin-inline: auto;
}

.article-page .article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        285px;

    gap: 55px;

    align-items: start;
}


/* =========================================================
   CONTENT
   ========================================================= */

.article-page .article-content {
    min-width: 0;
}

.article-page .article-intro {
    margin-bottom: 34px;
}

.article-page .article-intro p,
.article-page .article-section-content p {
    margin: 0 0 19px;

    color: #394c50;

    font-size: 15px;

    line-height: 1.9;
}

.article-page .article-intro p:first-child {
    color: #21383d;

    font-size: 17px;

    line-height: 1.85;
}

.article-page .article-intro a {
    color: var(--article-green);

    font-weight: 700;

    text-decoration: underline;
}

.article-page .article-section {
    position: relative;

    padding-top: 38px;

    margin-top: 38px;

    border-top: 1px solid var(--article-border);
}

.article-page .article-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 21px;
}

.article-page .article-section-number {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    margin-top: 2px;

    border-radius: 50%;

    background: rgba(11,143,75,.09);

    color: var(--article-green);

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    font-weight: 800;
}

.article-page .article-section-heading h2 {
    margin: 0;

    color: #102a30;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(22px, 2.5vw, 30px);

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.7px;
}

.article-page .article-content strong {
    color: #152f34;

    font-weight: 700;
}


/* =========================================================
   FEATURE IMAGE
   ========================================================= */

.article-page .article-feature-image {
    position: relative;

    margin: 30px 0 38px;

    overflow: hidden;

    border-radius: 12px;

    background: #e7eeeb;

    cursor: zoom-in;

    box-shadow:
        0 18px 45px rgba(8,40,43,.11);
}

.article-page .article-feature-image img {
    display: block;

    width: 100%;

    height: 410px;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.article-page .article-feature-image:hover img {
    transform: scale(1.045);
}

.article-page .article-image-caption {
    position: absolute;

    right: 14px;
    bottom: 14px;

    padding: 7px 10px;

    border-radius: 5px;

    color: rgba(255,255,255,.92);

    background: rgba(5,28,33,.72);

    backdrop-filter: blur(8px);

    font-size: 9px;
}


/* =========================================================
   LISTS
   ========================================================= */

.article-page .article-list {
    margin: 20px 0 25px;

    padding: 0;

    list-style: none;
}

.article-page .article-list li {
    position: relative;

    padding-left: 27px;

    margin-bottom: 12px;

    color: #405256;

    font-size: 14px;

    line-height: 1.7;
}

.article-page .article-list li::before {
    content: "";

    position: absolute;

    left: 4px;
    top: 10px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--article-green);
}

.article-page .article-list.numbered {
    counter-reset: article-step;
}

.article-page .article-list.numbered li {
    padding-left: 39px;
}

.article-page .article-list.numbered li::before {
    counter-increment: article-step;

    content: counter(article-step);

    left: 0;
    top: 2px;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(11,143,75,.09);

    color: var(--article-green);

    font-size: 10px;

    font-weight: 800;
}


/* =========================================================
   HIGHLIGHT
   ========================================================= */

.article-page .article-highlight {
    position: relative;

    margin: 27px 0;

    padding: 22px 25px 22px 28px;

    border-left: 3px solid var(--article-green);

    background: #f0f7f3;
}

.article-page .article-highlight::before {
    content: "“";

    position: absolute;

    right: 18px;
    top: -9px;

    color: rgba(11,143,75,.12);

    font-family: Georgia, serif;

    font-size: 70px;
}

.article-page .article-highlight p {
    margin: 0 !important;

    color: #385056 !important;

    font-size: 14px !important;

    line-height: 1.8 !important;
}


/* =========================================================
   SECOND IMAGE
   ========================================================= */

.article-page .article-secondary-image {
    margin: 35px 0;

    overflow: hidden;

    border-radius: 10px;

    cursor: zoom-in;

    box-shadow:
        0 15px 40px rgba(8,40,43,.10);
}

.article-page .article-secondary-image img {
    display: block;

    width: 100%;

    height: 360px;

    object-fit: cover;

    transition: transform .7s ease;
}

.article-page .article-secondary-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.article-page .article-sidebar {
    position: -webkit-sticky;
    position: sticky;

    top: 95px;
    align-self: start;

    width: 100%;
    max-height: calc(100vh - 115px);

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: rgba(11, 143, 75, .35) transparent;
}

/* Chrome / Edge / Safari */
.article-page .article-sidebar::-webkit-scrollbar {
    width: 4px;
}

.article-page .article-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.article-page .article-sidebar::-webkit-scrollbar-thumb {
    background: rgba(11, 143, 75, .35);
    border-radius: 20px;
}

.article-page .article-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 143, 75, .65);
}

.article-page .sidebar-box {
    padding: 23px;

    margin-bottom: 20px;

    border: 1px solid var(--article-border);

    background: #fff;

    box-shadow:
        0 10px 30px rgba(10,42,44,.055);
}

.article-page .sidebar-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 17px;

    color: #132e34;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 800;
}

.article-page .sidebar-title::before {
    content: "";

    width: 22px;
    height: 2px;

    background: var(--article-green);
}


/* =========================================================
   SEARCH
   ========================================================= */

.article-page .article-search {
    display: flex;

    border: 1px solid #dfe7e3;

    background: #fff;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.article-page .article-search:focus-within {
    border-color: var(--article-green);

    box-shadow:
        0 0 0 3px rgba(11,143,75,.08);
}

.article-page .article-search input {
    min-width: 0;

    flex: 1;

    height: 42px;

    padding: 0 12px;

    border: 0;
    outline: 0;

    color: #243b40;

    font-size: 11px;
}

.article-page .article-search button {
    width: 80px;

    height: 42px;

    border: 0;

    color: #fff;

    background: var(--article-green);

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .3s ease;
}

.article-page .article-search button:hover {
    background: var(--article-green-dark);
}

.article-page .article-search-message {
    display: none;

    padding: 15px 0 0;

    color: #66777a;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */

.article-page .article-toc {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.article-page .article-toc a {
    display: block;

    padding: 9px 10px;

    border-left: 2px solid transparent;

    color: #607074;

    font-size: 10px;

    line-height: 1.45;

    text-decoration: none;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.article-page .article-toc a:hover,
.article-page .article-toc a.active {
    color: var(--article-green);

    border-left-color: var(--article-green);

    background: #f1f7f4;
}


/* =========================================================
   RECENT ARTICLES
   ========================================================= */

.article-page .recent-posts {
    display: flex;

    flex-direction: column;
}

.article-page .recent-post {
    display: block;

    padding: 13px 0;

    border-bottom: 1px solid #edf1ef;

    text-decoration: none;
}

.article-page .recent-post:first-child {
    padding-top: 0;
}

.article-page .recent-post:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.article-page .recent-post small {
    display: block;

    margin-bottom: 4px;

    color: var(--article-green);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.article-page .recent-post span {
    color: #344b50;

    font-size: 11px;

    line-height: 1.55;

    transition: color .25s ease;
}

.article-page .recent-post:hover span {
    color: var(--article-green);
}


/* =========================================================
   SHARE
   ========================================================= */

.article-page .article-share {
    display: flex;

    align-items: center;

    gap: 8px;

    padding-top: 30px;

    margin-top: 42px;

    border-top: 1px solid var(--article-border);
}

.article-page .article-share-label {
    margin-right: 4px;

    color: #788688;

    font-size: 10px;

    font-weight: 700;
}

.article-page .article-share button {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid #dce5e1;

    border-radius: 50%;

    color: #506165;

    background: #fff;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.article-page .article-share button:hover {
    color: #fff;

    border-color: var(--article-green);

    background: var(--article-green);

    transform: translateY(-3px);
}


/* =========================================================
   END
   ========================================================= */

.article-page .article-end {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid var(--article-border);

    color: #778588;

    font-size: 10px;
}

.article-page .article-end span {
    width: 34px;
    height: 2px;

    background: var(--article-green);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.article-page .article-lightbox {
    position: fixed;

    inset: 0;

    z-index: 10020;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 35px;

    background: rgba(3,17,21,.91);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.article-page .article-lightbox.active {
    opacity: 1;

    visibility: visible;
}

.article-page .article-lightbox img {
    max-width: min(1100px, 94vw);

    max-height: 88vh;

    object-fit: contain;

    border-radius: 5px;

    transform: scale(.94);

    transition: transform .35s ease;
}

.article-page .article-lightbox.active img {
    transform: scale(1);
}

.article-page .article-lightbox-close {
    position: absolute;

    top: 22px;
    right: 25px;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 50%;

    color: #fff;

    background: rgba(255,255,255,.08);

    cursor: pointer;

    font-size: 17px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.article-page .article-lightbox-close:hover {
    background: var(--article-green);

    transform: rotate(90deg);
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes articleHeroZoom {

    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1.02);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

    .article-page .article-hero {
        min-height: 430px;
    }

    .article-page .article-hero-inner {
        width: min(100% - 40px, 1000px);

        padding-top: 100px;
        padding-bottom: 60px;
    }

    .article-page .article-hero h1 {
        max-width: 850px;

        font-size: clamp(38px, 5.2vw, 58px);
    }

    .article-page .article-container {
        width: min(100% - 40px, 950px);
    }

    .article-page .article-layout {
        grid-template-columns:
            minmax(0, 1fr)
            240px;

        gap: 35px;
    }

    .article-page .article-main {
        padding-top: 55px;
    }

    .article-page .article-feature-image img {
        height: 350px;
    }

    .article-page .article-secondary-image img {
        height: 310px;
    }

    .article-page .article-intro p,
    .article-page .article-section-content p {
        font-size: 14px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .article-page .article-hero {
        min-height: 430px;
    }

    .article-page .article-hero-inner {
        width: min(100% - 28px, 650px);

        padding-top: 105px;
        padding-bottom: 55px;
    }

    .article-page .article-back-link {
        margin-bottom: 22px;

        font-size: 10px;
    }

    .article-page .article-hero-category {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .article-page .article-hero h1 {
        margin-top: 13px;

        font-size: 35px;

        line-height: 1.08;

        letter-spacing: -1.2px;
    }

    .article-page .article-hero-rule {
        width: 52px;

        margin-top: 20px;
    }

    .article-page .article-hero-meta {
        gap: 8px 13px;

        font-size: 9px;
    }

    .article-page .article-main {
        padding: 40px 0 65px;
    }

    .article-page .article-container {
        width: min(100% - 28px, 650px);
    }

    .article-page .article-layout {
        display: block;
    }

        .article-page .article-sidebar {
        position: static;
        top: auto;

        width: 100%;
        max-height: none;

        overflow: visible;

        margin-top: 45px;
    }

    .article-page .article-intro p,
    .article-page .article-section-content p {
        font-size: 14px;

        line-height: 1.8;
    }

    .article-page .article-intro p:first-child {
        font-size: 15px;
    }

    .article-page .article-section {
        padding-top: 30px;

        margin-top: 30px;
    }

    .article-page .article-section-heading {
        gap: 11px;
    }

    .article-page .article-section-number {
        width: 30px;
        height: 30px;

        flex-basis: 30px;

        font-size: 10px;
    }

    .article-page .article-section-heading h2 {
        font-size: 21px;
    }

    .article-page .article-feature-image {
        margin: 25px 0 30px;
    }

    .article-page .article-feature-image img {
        height: 245px;
    }

    .article-page .article-secondary-image img {
        height: 240px;
    }

    .article-page .article-list li {
        font-size: 13px;
    }

    .article-page .article-highlight {
        padding: 18px 18px 18px 20px;
    }

    .article-page .article-highlight p {
        font-size: 13px !important;
    }

    .article-page .sidebar-box {
        padding: 19px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .article-page .article-hero {
        min-height: 410px;
    }

    .article-page .article-hero-inner {
        width: min(100% - 22px, 440px);

        padding-top: 100px;
        padding-bottom: 48px;
    }

    .article-page .article-hero h1 {
        font-size: 30px;
    }

    .article-page .article-hero-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

    .article-page .article-container {
        width: min(100% - 22px, 440px);
    }

    .article-page .article-feature-image img {
        height: 210px;
    }

    .article-page .article-secondary-image img {
        height: 205px;
    }

    .article-page .article-share {
        flex-wrap: wrap;
    }

}






























/* =========================================================
   ARTICLE FAQ
========================================================= */

.article-faq {
    width: 100%;
    margin-top: 28px;
}

.article-faq-item {
    width: 100%;
    border: 1px solid #dfe8e4;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
}

.article-faq-question {
    width: 100%;
    border: 0;
    outline: none;
    background: #ffffff;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    color: #062536;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.article-faq-question span {
    flex: 1;
}

.article-faq-question i {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf7f0;
    color: #079447;
    font-size: 12px;
    transition: transform 0.25s ease;
}

.article-faq-answer {
    display: none;
    padding: 0 22px 20px;
    border-top: 1px solid #edf2ef;
}

.article-faq-answer p {
    margin: 16px 0 0;
    color: #294353;
    font-size: 15px;
    line-height: 1.8;
}

.article-faq-item.active .article-faq-answer {
    display: block;
}

.article-faq-item.active .article-faq-question i {
    transform: rotate(45deg);
}


/* MOBILE */

@media (max-width: 768px) {

    .article-faq-question {
        padding: 16px;
        font-size: 15px;
    }

    .article-faq-answer {
        padding: 0 16px 16px;
    }

    .article-faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }

}