/* =========================================
   BLOG ARTICLE PAGE
   Uses typography and variables from globle2.css
========================================= */


/* =========================================
   HERO SECTION
========================================= */

.article-hero-section {
    width: 100%;
    min-height: 430px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px 0;
    background-image: url("../web-images/banner (2).jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #403e67;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(20, 18, 35, 0.88) 0%,
            rgba(30, 27, 54, 0.72) 50%,
            rgba(20, 18, 35, 0.82) 100%
        );
}

.article-hero-inner {
    width: var(--iner-container);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.article-eyebrow {
    margin: 0 0 12px;
    color: #ffc875;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.article-hero-title {
    max-width: 980px;
    margin: 0;
    color: var(--text-wight);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.07em;
    letter-spacing: -1.5px;
}

.article-hero-description {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.65em;
}

.article-breadcrumb {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    color: rgba(255, 255, 255, 0.75);
}

.article-breadcrumb a {
    color: var(--text-wight);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #ffc875;
}


/* =========================================
   ARTICLE PAGE
========================================= */

.article-page-section {
    width: 100%;
    padding: 75px 0 95px;
    background-color: #f7f2ec;
}

.article-page-layout {
    width: var(--iner-container);
    max-width: 1100px;
    margin: 0 auto;
}

.article-card {
    width: 100%;
    padding: 58px 62px;
    background-color: var(--text-wight);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================
   INTRODUCTION
========================================= */

.article-introduction {
    padding-bottom: 35px;
}

.article-category {
    width: fit-content;
    margin: 0 0 20px;
    padding: 8px 16px;
    color: var(--orange-col);
    background-color: rgba(255, 73, 0, 0.08);
    border-radius: var(--border-red);
    font-weight: 600;
}

.article-paragraph {
    margin: 0;
    color: #454545;
    font-size: 17px;
    line-height: 1.8em;
}

.article-paragraph + .article-paragraph {
    margin-top: 17px;
}


/* =========================================
   ARTICLE IMAGES
========================================= */

.article-image-wrapper {
    width: 100%;
    margin: 15px 0 45px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #eee8e0;
}

.article-image {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 570px;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-image-wrapper:hover .article-image {
    transform: scale(1.025);
}

.article-second-image {
    margin-top: 45px;
    margin-bottom: 10px;
}


/* =========================================
   TABLE OF CONTENTS
========================================= */

.article-table-contents {
    width: 100%;
    margin: 0 0 20px;
    padding: 30px;
    background-color: #f7f2ec;
    border: 1px solid #e9e0d7;
    border-radius: 20px;
}

.article-toc-heading {
    margin: 0 0 18px;
    color: var(--text-black);
    font-size: 26px;
    font-weight: 600;
}

.article-toc-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.article-toc-links a {
    position: relative;
    padding: 8px 10px 8px 20px;
    color: #454545;
    text-decoration: none;
    line-height: 1.5em;
    border-radius: 8px;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        padding-left 0.3s ease;
}

.article-toc-links a::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 17px;
    left: 3px;
    background-color: var(--orange-col);
    border-radius: 50%;
}

.article-toc-links a:hover {
    padding-left: 24px;
    color: var(--orange-col);
    background-color: rgba(255, 73, 0, 0.07);
}


/* =========================================
   CONTENT SECTIONS
========================================= */

.article-content-block {
    padding: 42px 0;
    border-top: 1px solid #e6e1db;
    scroll-margin-top: 35px;
}

.article-step-number {
    width: fit-content;
    margin: 0 0 12px;
    padding: 6px 13px;
    display: block;
    color: var(--orange-col);
    background-color: rgba(255, 73, 0, 0.08);
    border-radius: var(--border-red);
    font-weight: 600;
}

.article-section-heading {
    margin: 0 0 18px;
    color: var(--text-black);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2em;
}

.article-subheading {
    margin: 0 0 10px;
    color: var(--text-black);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35em;
}


/* =========================================
   ARTICLE LIST
========================================= */

.article-list {
    margin: 22px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.article-list li {
    position: relative;
    padding-left: 31px;
    color: #454545;
    font-size: 16px;
    line-height: 1.7em;
}

.article-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--orange-col);
    font-size: 17px;
    font-weight: 700;
}


/* =========================================
   PUBLISHING OPTIONS
========================================= */

.article-option-grid {
    width: 100%;
    margin: 26px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.article-option-card {
    padding: 27px;
    background-color: #f7f2ec;
    border: 1px solid #e9e0d7;
    border-radius: 18px;
}


/* =========================================
   PLATFORM ITEMS
========================================= */

.article-platform-list {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-platform-item {
    padding: 25px;
    background-color: #f7f2ec;
    border-left: 4px solid var(--orange-col);
    border-radius: 5px 16px 16px 5px;
}


/* =========================================
   HIGHLIGHT BOX
========================================= */

.article-highlight-box {
    width: 100%;
    margin-top: 27px;
    padding: 25px 28px;
    position: relative;
    overflow: hidden;
    background-color: #1e1e1e;
    border-radius: 17px;
}

.article-highlight-box::before {
    content: "“";
    position: absolute;
    top: -25px;
    right: 22px;
    color: rgba(255, 255, 255, 0.08);
    font-family: serif;
    font-size: 130px;
    line-height: 1;
}

.article-highlight-box p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7em;
}


/* =========================================
   FINAL THOUGHTS
========================================= */

.article-final-thoughts {
    margin-top: 0;
    border-top: none;
}


/* =========================================
   CTA
========================================= */

.article-cta-box {
    width: 100%;
    margin-top: 25px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background-color: #1e1e1e;
    border-radius: 22px;
}

.article-cta-copy {
    max-width: 620px;
    flex: 1 1 500px;
}

.article-cta-label {
    margin: 0 0 7px;
    color: #ffc875;
    font-weight: 600;
}

.article-cta-heading {
    margin: 0;
    color: var(--text-wight);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2em;
}

.article-cta-text {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7em;
}

.article-cta-actions {
    flex: 0 0 auto;
}

.article-cta-button {
    min-width: 220px;
    padding: 15px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-wight);
    text-align: center;
    text-decoration: none;
    background-color: var(--orange-col);
    border: 1px solid var(--orange-col);
    border-radius: var(--border-red);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.article-cta-button:hover {
    color: var(--text-black);
    background-color: #ffc875;
    border-color: #ffc875;
    transform: translateY(-3px);
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 980px) {

    .article-hero-section {
        min-height: 390px;
        padding: 65px 0;
    }

    .article-page-section {
        padding: 60px 0 75px;
    }

    .article-card {
        padding: 48px 42px;
        border-radius: 26px;
    }

    .article-table-contents {
        padding: 26px;
    }

    .article-content-block {
        padding: 37px 0;
    }

    .article-option-grid,
    .article-platform-list {
        gap: 16px;
    }

    .article-option-card,
    .article-platform-item {
        padding: 22px;
    }

    .article-cta-box {
        padding: 30px;
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .article-hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .article-hero-inner {
        width: 90%;
    }

    .article-hero-title {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -0.7px;
    }

    .article-hero-description {
        max-width: 560px;
        margin-top: 16px;
        font-size: 16px;
    }

    .article-page-section {
        padding: 42px 0 58px;
    }

    .article-page-layout {
        width: 90%;
    }

    .article-card {
        padding: 35px 25px;
        border-radius: 22px;
    }

    .article-paragraph {
        font-size: 16px;
        line-height: 1.75em;
    }

    .article-image-wrapper {
        margin-bottom: 35px;
        border-radius: 18px;
    }

    .article-image {
        min-height: 260px;
    }

    .article-table-contents {
        padding: 23px 20px;
        border-radius: 17px;
    }

    .article-toc-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .article-content-block {
        padding: 33px 0;
    }

    .article-option-grid,
    .article-platform-list {
        grid-template-columns: 1fr;
    }

    .article-highlight-box {
        padding: 22px;
    }

    .article-cta-box {
        padding: 27px 23px;
        border-radius: 19px;
    }

    .article-cta-heading {
        font-size: 29px;
    }

    .article-cta-actions {
        width: 100%;
    }

    .article-cta-button {
        width: 100%;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .article-hero-section {
        padding: 50px 0;
    }

    .article-hero-inner {
        width: 92%;
    }

    .article-hero-title {
        font-size: 34px;
        line-height: 1.12em;
    }

    .article-breadcrumb {
        margin-top: 20px;
        font-size: 14px;
    }

    .article-page-section {
        padding: 32px 0 45px;
    }

    .article-page-layout {
        width: 92%;
    }

    .article-card {
        padding: 27px 18px;
        border-radius: 18px;
    }

    .article-category,
    .article-step-number {
        padding: 6px 11px;
    }

    .article-section-heading {
        margin-bottom: 14px;
        font-size: 28px;
    }

    .article-image-wrapper {
        border-radius: 15px;
    }

    .article-image {
        min-height: 215px;
    }

    .article-table-contents {
        padding: 20px 15px;
    }

    .article-toc-heading {
        font-size: 23px;
    }

    .article-option-card,
    .article-platform-item {
        padding: 19px 17px;
    }

    .article-highlight-box {
        padding: 20px 17px;
    }

    .article-highlight-box p {
        font-size: 16px;
    }

    .article-cta-box {
        padding: 23px 18px;
    }

    .article-cta-heading {
        font-size: 26px;
    }

    .article-cta-button {
        min-width: 100%;
        padding: 13px 17px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .article-breadcrumb a,
    .article-toc-links a,
    .article-image,
    .article-cta-button {
        transition: none;
    }

}
/* =========================================
   ARTICLE 4 EXTRA CONTENT STYLES
========================================= */

.article-number-list {
    margin: 22px 0;
    padding-left: 28px;
    color: #454545;
}

.article-number-list li {
    margin-bottom: 12px;
    padding-left: 7px;
    color: #454545;
    font-size: 16px;
    line-height: 1.7em;
}

.article-number-list li::marker {
    color: var(--orange-col);
    font-weight: 700;
}

.article-portrait-image {
    max-height: 720px;
    object-fit: contain;
    background-color: #f7f2ec;
}

@media (max-width: 767px) {
    .article-number-list {
        padding-left: 24px;
    }

    .article-portrait-image {
        max-height: 560px;
    }
}

/* =========================================
   ARTICLE 5 SOURCE IMAGE ADJUSTMENTS
========================================= */

.article-source-image {
    min-height: 0;
    max-height: 620px;
    object-fit: cover;
}

.article-featured-image-wrapper .article-source-image,
.article-inline-image .article-source-image,
.article-second-image .article-source-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 767px) {
    .article-source-image {
        min-height: 0;
    }
}
