/* =========================================================
   HIGH FUNCTIONING ANXIETY — PREMIUM BLOG PAGE
   ========================================================= */

:root {

    --blog-navy: #081525;
    --blog-navy-2: #10243d;

    --blog-blue: #1689d5;
    --blog-blue-dark: #0874bd;
    --blog-blue-light: #edf8ff;

    --blog-gold: #c8a96b;

    --blog-text: #172033;
    --blog-muted: #667085;

    --blog-white: #ffffff;
    --blog-light: #f7fafc;
    --blog-border: #e5ebf1;

    --blog-radius: 24px;

    --blog-shadow:
        0 25px 70px rgba(15, 23, 42, 0.09);

    --blog-shadow-hover:
        0 30px 85px rgba(15, 23, 42, 0.13);
}


/* =========================================================
   RESET
   ========================================================= */

.hfa-blog-page,
.hfa-blog-page * {
    box-sizing: border-box;
}

.hfa-blog-page {
    width: 100%;
    overflow: hidden;

    font-family: "Poppins", sans-serif;

    color: var(--blog-text);

    background: #fff;

    line-height: 1.8;
}

.hfa-blog-page a {
    text-decoration: none;
}

.hfa-blog-page img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   CONTAINER
   LEFT / RIGHT GAP = 30PX
   ========================================================= */

.hfa-container {
    width: calc(100% - 60px);

    max-width: 1500px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hfa-hero {
    position: relative;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(22,137,213,0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8fcff 0%,
            #ffffff 55%,
            #f2f9fd 100%
        );
}


/* Decorative circles */

.hfa-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -130px;

    border-radius: 50%;

    border: 1px solid rgba(22,137,213,0.10);

    pointer-events: none;
}

.hfa-hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    bottom: 50px;
    left: -180px;

    border-radius: 50%;

    background: rgba(22,137,213,0.035);

    pointer-events: none;
}


/* =========================================================
   FEATURED IMAGE
   IMAGE IS NOW FIRST
   ========================================================= */

.hfa-hero-image-wrap {
    position: relative;

    z-index: 3;

    width: 100%;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 35px 90px rgba(10,20,38,0.17);
}


.hfa-hero-image-wrap::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8,21,37,0.02),
            rgba(8,21,37,0.12)
        );

    pointer-events: none;
}


.hfa-hero-image {
    width: 100%;
    object-fit: cover;

    object-position: center;

    transition: transform .6s ease;
}


/* =========================================================
   HERO CONTENT
   HEADING COMES AFTER IMAGE
   ========================================================= */

.hfa-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1100px;

    margin: 0 auto;

    text-align: center;

    padding: 55px 0 65px;
}


.hfa-category {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    padding: 9px 17px;

    border: 1px solid rgba(22,137,213,0.18);

    border-radius: 100px;

    background: rgba(255,255,255,0.75);

    color: var(--blog-blue);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.04);
}


.hfa-category::before {
    content: "";

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--blog-blue);

    box-shadow:
        0 0 0 5px rgba(22,137,213,0.10);
}


.hfa-hero h1 {
    max-width: 1100px;

    margin: 0 auto 25px;

    font-size: 54px;

    line-height: 1.13;

    font-weight: 700;

    letter-spacing: -2px;

    color: var(--blog-navy);
}


.hfa-hero-subtitle {
    max-width: 850px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.85;

    color: var(--blog-muted);
}


/* =========================================================
   ARTICLE AREA
   ========================================================= */

.hfa-article-section {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            180deg,
            #f7fafc 0%,
            #ffffff 100%
        );
}


.hfa-article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    gap: 55px;

    align-items: start;
}


/* =========================================================
   ARTICLE CARD
   ========================================================= */

.hfa-article {
    padding: 55px;

    border: 1px solid var(--blog-border);

    border-radius: 26px;

    background: #fff;

    box-shadow: var(--blog-shadow);
}


/* =========================================================
   ARTICLE META
   ========================================================= */

.hfa-article-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 35px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--blog-border);
}


.hfa-meta-label {
    color: var(--blog-blue);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.hfa-meta-line {
    width: 35px;

    height: 1px;

    background: var(--blog-border);
}


/* =========================================================
   ARTICLE TYPOGRAPHY
   ========================================================= */

.hfa-article p {
    margin: 0 0 24px;

    font-size: 16px;

    line-height: 1.95;

    color: var(--blog-muted);
}


.hfa-article p:last-child {
    margin-bottom: 0;
}


.hfa-article h2 {
    position: relative;

    margin: 50px 0 22px;

    padding-left: 20px;

    font-size: 28px;

    line-height: 1.3;

    font-weight: 700;

    color: var(--blog-navy);

    letter-spacing: -0.5px;
}


.hfa-article h2::before {
    content: "";

    position: absolute;

    left: 0;

    top: 5px;

    width: 4px;

    height: calc(100% - 10px);

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--blog-blue),
            var(--blog-gold)
        );
}


.hfa-article h2:first-of-type {
    margin-top: 15px;
}


/* =========================================================
   ARTICLE LINKS
   ========================================================= */

.hfa-article a {
    color: var(--blog-blue);

    font-weight: 600;

    border-bottom:
        1px solid rgba(22,137,213,0.20);

    transition:
        color .25s ease,
        border-color .25s ease;
}


.hfa-article a:hover {
    color: var(--blog-blue-dark);

    border-color:
        var(--blog-blue);
}


/* =========================================================
   INTRO HIGHLIGHT
   ========================================================= */

.hfa-intro-highlight {
    position: relative;

    margin: 0 0 40px;

    padding: 28px 30px 28px 32px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f1f9ff,
            #f9fcff
        );

    border:
        1px solid rgba(22,137,213,0.13);
}


.hfa-intro-highlight::before {
    content: "“";

    position: absolute;

    top: -18px;

    left: 20px;

    font-family: Georgia, serif;

    font-size: 70px;

    line-height: 1;

    color: rgba(22,137,213,0.16);
}


.hfa-intro-highlight p {
    margin: 0;

    color: #3f4b5f;

    font-size: 17px;

    line-height: 1.9;
}


/* =========================================================
   LIST
   ========================================================= */

.hfa-article ul {
    margin: 25px 0 30px;

    padding: 0;

    list-style: none;
}


.hfa-article li {
    position: relative;

    margin-bottom: 14px;

    padding:
        15px
        18px
        15px
        52px;

    border:
        1px solid var(--blog-border);

    border-radius: 13px;

    background: #fbfdff;

    font-size: 15px;

    line-height: 1.7;

    color: #3f4b5f;
}


.hfa-article li:last-child {
    margin-bottom: 0;
}


.hfa-article li::before {
    content: "✓";

    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    width: 23px;

    height: 23px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--blog-blue-light);

    color: var(--blog-blue);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   NOTE BOX
   ========================================================= */

.hfa-note {
    margin: 30px 0;

    padding: 24px 28px;

    border-left:
        3px solid var(--blog-gold);

    border-radius:
        0 16px 16px 0;

    background:
        rgba(200,169,107,0.07);
}


.hfa-note p {
    margin: 0;

    font-size: 15px;

    line-height: 1.85;

    color: #596273;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.hfa-sidebar {
    position: sticky;

    top: 30px;

    width: 100%;
}


.hfa-sidebar-card {
    overflow: hidden;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            var(--blog-navy),
            var(--blog-navy-2)
        );

    box-shadow:
        0 25px 65px rgba(8,21,37,0.16);
}


.hfa-sidebar-top {
    padding: 35px 30px 25px;
}


.hfa-sidebar-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #8fd3ff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hfa-sidebar-card h3 {
    margin: 0 0 15px;

    font-size: 24px;

    line-height: 1.35;

    color: #fff;
}


.hfa-sidebar-card p {
    margin: 0;

    color:
        rgba(255,255,255,0.66);

    font-size: 14px;

    line-height: 1.8;
}


.hfa-sidebar-list {
    margin: 0;

    padding: 0;

    list-style: none;
}


.hfa-sidebar-list li {
    border-top:
        1px solid rgba(255,255,255,0.09);
}


.hfa-sidebar-list a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 30px;

    color:
        rgba(255,255,255,0.78);

    font-size: 13px;

    border: 0;

    transition:
        background .25s ease,
        color .25s ease;
}


.hfa-sidebar-list a:hover {
    color: #fff;

    background:
        rgba(255,255,255,0.05);
}


.hfa-sidebar-list span {
    color: #8fd3ff;

    font-size: 17px;
}


/* =========================================================
   DOCTOR CTA
   ========================================================= */

.hfa-doctor-cta {
    position: relative;

    overflow: hidden;

    margin-top: 55px;

    padding: 45px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #081525,
            #132640
        );

    box-shadow:
        0 25px 70px rgba(8,21,37,0.16);
}


.hfa-doctor-cta::before {
    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    right: -100px;

    top: -120px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.10);
}


.hfa-doctor-cta-inner {
    position: relative;

    z-index: 2;
}


.hfa-cta-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #8fd3ff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hfa-doctor-cta h3 {
    margin: 0 0 15px;

    font-size: 27px;

    line-height: 1.3;

    color: #fff;
}


.hfa-doctor-cta p {
    margin: 0 0 25px;

    color:
        rgba(255,255,255,0.68);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.hfa-cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 23px;

    border-radius: 10px;

    background: var(--blog-blue);

    color: #fff !important;

    border: 0 !important;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        0 12px 30px rgba(22,137,213,0.25);

    transition:
        transform .25s ease,
        background .25s ease;
}


.hfa-cta-button:hover {
    transform: translateY(-3px);

    background: var(--blog-blue-dark);
}


/* =========================================================
   PHONE CTA
   ========================================================= */

.hfa-phone-row {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 17px;

    color:
        rgba(255,255,255,0.55);

    font-size: 12px;
}


.hfa-phone-row a {
    color: #8fd3ff;

    border: 0;
}


/* =========================================================
   BOTTOM ARTICLE CTA
   ========================================================= */

.hfa-bottom-cta {
    margin-top: 55px;

    padding-top: 40px;

    border-top:
        1px solid var(--blog-border);

    text-align: center;
}


.hfa-bottom-cta h3 {
    margin: 0 0 12px;

    font-size: 27px;

    line-height: 1.35;

    color: var(--blog-navy);
}


.hfa-bottom-cta p {
    max-width: 650px;

    margin: 0 auto 25px;

    font-size: 15px;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1501px) {

    .hfa-container {
        width: calc(100% - 60px);

        max-width: 1600px;
    }

    .hfa-article-layout {
        grid-template-columns:
            minmax(0, 1fr)
            380px;

        gap: 65px;
    }


}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .hfa-container {
        width: calc(100% - 60px);
    }

    .hfa-hero h1 {
        font-size: 48px;
    }

    .hfa-article-layout {
        grid-template-columns:
            minmax(0, 1fr)
            320px;

        gap: 35px;
    }

    .hfa-article {
        padding: 45px;
    }

    .hfa-doctor-cta {
        padding: 35px 28px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .hfa-article-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .hfa-sidebar {
        position: static;

        max-width: 820px;

        margin: 0 auto;

        width: 100%;
    }

    .hfa-sidebar-card {
        width: 100%;
    }

    .hfa-doctor-cta {
        width: 100%;
    }

}


/* =========================================================
   TABLET PORTRAIT
   ========================================================= */

@media (max-width: 767px) {

    .hfa-container {
        width: calc(100% - 30px);

        max-width: none;
    }


    /* HERO */

    .hfa-hero {
        padding-top: 30px;
    }


    /* IMAGE */

    .hfa-hero-image-wrap {
        border-radius: 20px;
    }

    .hfa-hero-image {
        height: 350px;

        object-position: center;
    }


    /* CONTENT */

    .hfa-hero-content {
        padding: 40px 0 45px;
    }


    .hfa-category {
        font-size: 9px;

        letter-spacing: 1px;

        padding: 8px 12px;

        margin-bottom: 18px;
    }


    .hfa-hero h1 {
        font-size: 36px;

        line-height: 1.15;

        letter-spacing: -1.2px;

        margin-bottom: 20px;
    }


    .hfa-hero-subtitle {
        font-size: 15px;

        line-height: 1.75;
    }


    /* ARTICLE */

    .hfa-article-section {
        padding: 55px 0 75px;
    }


    .hfa-article {
        padding: 30px 22px;

        border-radius: 20px;
    }


    .hfa-article-meta {
        gap: 10px;

        margin-bottom: 28px;

        padding-bottom: 18px;
    }


    .hfa-meta-label {
        font-size: 9px;

        letter-spacing: 1.3px;
    }


    .hfa-meta-line {
        width: 22px;
    }


    .hfa-article p {
        font-size: 15px;

        line-height: 1.85;

        margin-bottom: 21px;
    }


    .hfa-article h2 {
        margin-top: 40px;

        margin-bottom: 20px;

        font-size: 24px;

        line-height: 1.35;

        padding-left: 15px;
    }


    .hfa-article h2::before {
        width: 3px;

        top: 4px;

        height: calc(100% - 8px);
    }


    /* INTRO */

    .hfa-intro-highlight {
        padding: 22px;

        margin-bottom: 30px;

        border-radius: 15px;
    }


    .hfa-intro-highlight::before {
        left: 15px;

        top: -15px;

        font-size: 55px;
    }


    .hfa-intro-highlight p {
        font-size: 15px;

        line-height: 1.85;
    }


    /* LIST */

    .hfa-article ul {
        margin: 22px 0 27px;
    }


    .hfa-article li {
        padding:
            14px
            14px
            14px
            45px;

        font-size: 14px;

        line-height: 1.7;

        border-radius: 11px;
    }


    .hfa-article li::before {
        left: 14px;

        width: 22px;

        height: 22px;
    }


    /* NOTE */

    .hfa-note {
        padding: 20px 20px;

        margin: 25px 0;
    }


    .hfa-note p {
        font-size: 14px;

        line-height: 1.8;
    }


    /* SIDEBAR */

    .hfa-sidebar-card {
        border-radius: 20px;
    }


    .hfa-sidebar-top {
        padding: 30px 22px 22px;
    }


    .hfa-sidebar-card h3 {
        font-size: 22px;
    }


    .hfa-sidebar-card p {
        font-size: 14px;
    }


    .hfa-sidebar-list a {
        padding: 17px 22px;

        font-size: 13px;
    }


    /* DOCTOR CTA */

    .hfa-doctor-cta {
        margin-top: 35px;

        padding: 30px 22px;

        border-radius: 20px;
    }


    .hfa-doctor-cta h3 {
        font-size: 24px;
    }


    .hfa-doctor-cta p {
        font-size: 14px;
    }


    /* BOTTOM CTA */

    .hfa-bottom-cta {
        margin-top: 40px;

        padding-top: 30px;
    }


    .hfa-bottom-cta h3 {
        font-size: 23px;
    }


    .hfa-bottom-cta p {
        font-size: 14px;
    }


    .hfa-cta-button {
        min-height: 50px;

        padding: 0 20px;

        font-size: 13px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .hfa-container {
        width: calc(100% - 30px);
    }


    .hfa-hero {
        padding-top: 20px;
    }


    .hfa-hero-image-wrap {
        border-radius: 16px;
    }


    .hfa-hero-image {
        height: 260px;
    }


    .hfa-hero-content {
        padding: 32px 0 38px;
    }


    .hfa-category {
        font-size: 8px;

        padding: 7px 10px;

        letter-spacing: .8px;
    }


    .hfa-hero h1 {
        font-size: 31px;

        line-height: 1.17;

        letter-spacing: -0.8px;
    }


    .hfa-hero-subtitle {
        font-size: 14px;

        line-height: 1.75;
    }


    .hfa-article {
        padding: 25px 18px;

        border-radius: 17px;
    }


    .hfa-article-meta {
        margin-bottom: 25px;
    }


    .hfa-article h2 {
        font-size: 22px;

        margin-top: 35px;
    }


    .hfa-intro-highlight {
        padding: 19px;

        margin-bottom: 26px;
    }


    .hfa-intro-highlight p {
        font-size: 14px;
    }


    .hfa-article li {
        padding-left: 42px;

        font-size: 13.5px;
    }


    .hfa-sidebar-top {
        padding: 26px 19px 20px;
    }


    .hfa-sidebar-card h3 {
        font-size: 21px;
    }


    .hfa-sidebar-list a {
        padding: 16px 19px;
    }


    .hfa-doctor-cta {
        padding: 27px 19px;
    }


    .hfa-doctor-cta h3 {
        font-size: 22px;
    }


    .hfa-phone-row {
        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .hfa-container {
        width: calc(100% - 24px);
    }


    .hfa-hero-image {
        height: 230px;
    }


    .hfa-hero h1 {
        font-size: 28px;
    }


    .hfa-article {
        padding: 22px 16px;
    }


    .hfa-article h2 {
        font-size: 21px;
    }


    .hfa-cta-button {
        width: 100%;
    }

}