/* /public_html/_stage-fh/home/blog/blog.css */

/* =========================
   Section - Blog Slider
========================= */

.fh-home-blog {
    --fh-blog-bg: var(--fh-home-bg, #fffaf4);
    --fh-blog-card: #fffefb;
    --fh-blog-ink: var(--fh-home-ink, #2f4b43);
    --fh-blog-muted: var(--fh-home-muted, #6f7d78);
    --fh-blog-pink: var(--fh-home-pink, #e96f83);
    --fh-blog-pink-dark: var(--fh-home-pink-dark, #d95b70);
    --fh-blog-green: var(--fh-home-green, #2fae83);

    position: relative;

     padding: 44px 0 76px;

   background:
    linear-gradient(
        180deg,
        var(--fh-home-bg) 0,
        var(--fh-home-bg) 42px,
        rgba(255, 253, 249, 0) 100px
    ),
    radial-gradient(
        circle at 12% 18%,
        rgba(233, 111, 131, 0.045),
        transparent 32%
    ),
    radial-gradient(
        circle at 88% 22%,
        rgba(47, 174, 131, 0.07),
        transparent 36%
    ),
    var(--fh-blog-bg);

    overflow: hidden;
}

.fh-home-blog::before {
    content: "";
    position: absolute;
    inset: auto -120px 10px -120px;
    height: 210px;

    pointer-events: none;

    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.54), transparent 68%);

    opacity: 0.58;
}

.fh-home-blog .fh-home-container {
    position: relative;
    z-index: 1;
}

.fh-home-blog__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
}

.fh-home-blog__eyebrow {
    width: fit-content;
    padding: 7px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 1px solid rgba(233, 111, 131, 0.16);
    background: rgba(255, 255, 255, 0.76);
    color: var(--fh-blog-pink-dark);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}

.fh-home-blog__title {
    margin: 12px 0 0;

    color: var(--fh-blog-ink);

    font-size: clamp(25px, 3.3vw, 40px);
    font-weight: 850;
    line-height: 1.65;
    letter-spacing: 0;
    word-spacing: 0.04em;
}

.fh-home-blog__text {
    max-width: 620px;
    margin: 10px 0 0;

    color: var(--fh-blog-muted);

    font-size: 13.5px;
    font-weight: 600;
    line-height: 2.1;
    word-spacing: 0.04em;
}

.fh-home-blog__all {
    min-height: 44px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 999px;
    border: 1px solid rgba(47, 174, 131, 0.16);

    background: rgba(255, 255, 255, 0.78);
    color: var(--fh-blog-green);

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 10px 22px rgba(73, 67, 61, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fh-home-blog__slider {
    position: relative;

    padding-inline: 34px;
}

.fh-home-blog__viewport {
    overflow: hidden;

    border-radius: 34px;

    direction: rtl;

    touch-action: pan-y;
}

.fh-home-blog__track {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 4px 0 8px;

    direction: rtl;

    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fh-home-blog__card {
    width: 22.5%;
    min-width: 22.5%;

    display: flex;
    flex-direction: column;

    direction: rtl;

    border-radius: 18px;
    border: 1px solid rgba(212, 204, 195, 0.82);

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 254, 251, 0.98));

    box-shadow:
        0 8px 22px rgba(73, 67, 61, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;

    overflow: hidden;
}

.fh-home-blog__visual {
    position: relative;

    height: 132px;
    margin: 8px 8px 0;

    display: grid;
    place-items: center;

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.82);

    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.78), transparent 30%),
        linear-gradient(135deg, rgba(233, 111, 131, 0.22), rgba(47, 174, 131, 0.24));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 6px 16px rgba(73, 67, 61, 0.04);

    overflow: hidden;
}

.fh-home-blog__visual img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.fh-home-blog__visual-icon {
    position: relative;
    z-index: 1;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.78);
    color: var(--fh-blog-ink);

    font-size: 25px;

    box-shadow:
        0 10px 20px rgba(73, 67, 61, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.fh-home-blog__badge {
    position: absolute;
    right: auto;
    left: 6px;
    inset-inline-start: auto;
    inset-inline-end: 6px;
    top: 6px;
    z-index: 2;

    min-height: 21px;
    padding: 0 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.86);
    color: var(--fh-blog-pink-dark);

    font-size: 8px;
    font-weight: 800;
    line-height: 1;

    backdrop-filter: blur(10px);
}

.fh-home-blog__content {
    flex: 1;

    padding: 13px 14px 15px;

    display: flex;
    flex-direction: column;
}

.fh-home-blog__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;

    color: var(--fh-blog-muted);

    font-size: 9.2px;
    font-weight: 650;
    line-height: 1.6;
}

.fh-home-blog__read {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    white-space: nowrap;
}

.fh-home-blog__card-title {
    margin: 0;

    color: var(--fh-blog-ink);

    font-size: 12.8px;
    font-weight: 800;
    line-height: 1.8;
    letter-spacing: 0;
    word-spacing: 0.04em;
}

.fh-home-blog__card-text {
    margin: 7px 0 0;

    color: var(--fh-blog-muted);

    font-size: 10.2px;
    font-weight: 600;
    line-height: 2;
    word-spacing: 0.04em;
}

.fh-home-blog__link {
    width: fit-content;
    min-height: 30px;
    margin-top: auto;
    padding: 0 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 999px;
    border: 1px solid rgba(47, 174, 131, 0.18);

    background: rgba(255, 255, 255, 0.72);
    color: var(--fh-blog-green);

    text-decoration: none;

    font-size: 10.8px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 8px 16px rgba(47, 174, 131, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.fh-home-blog__link:hover {
    transform: translateY(-1px);

    border-color: rgba(47, 174, 131, 0.28);
    background: rgba(250, 255, 252, 0.92);

    box-shadow:
        0 10px 20px rgba(47, 174, 131, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}
.fh-home-blog__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(47, 75, 67, 0.075);
    border-radius: 999px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.90));
    color: var(--fh-blog-green);

    cursor: pointer;

    box-shadow:
        0 10px 22px rgba(73, 67, 61, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(12px);

    transform: translateY(-50%);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.fh-home-blog__arrow svg {
    width: 19px;
    height: 19px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fh-home-blog__arrow:hover {
    transform: translateY(calc(-50% - 2px));
    border-color: rgba(47, 174, 131, 0.18);

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 255, 252, 0.95));

    box-shadow:
        0 14px 28px rgba(47, 174, 131, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.99);
}

.fh-home-blog__arrow--prev {
    right: 4px;
}

.fh-home-blog__arrow--next {
    left: 4px;
}

.fh-home-blog__dots {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.fh-home-blog__dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(47, 75, 67, 0.18);

    cursor: pointer;

    transition:
        width 200ms ease,
        background 200ms ease;
}

.fh-home-blog__dot.is-active {
    width: 22px;
    background: var(--fh-blog-green);
}

@media (max-width: 900px) {
    .fh-home-blog {
        padding: 10px 0 62px;
    }

    .fh-home-blog::before {
        height: 150px;
        bottom: 18px;
    }

    .fh-home-blog__head {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        margin-bottom: 24px;

        text-align: center;
    }

    .fh-home-blog__eyebrow {
        font-size: 9.5px;
    }

    .fh-home-blog__title {
        margin-top: 10px;

        font-size: 23px;
        font-weight: 800;
        line-height: 1.85;
    }

    .fh-home-blog__text {
        max-width: 330px;
        margin: 8px auto 0;

        font-size: 12px;
        line-height: 2.1;
    }

    .fh-home-blog__all {
        min-height: 40px;
        padding: 0 15px;

        font-size: 11.5px;
    }

    .fh-home-blog__slider {
        padding-inline: 24px;
    }

 .fh-home-blog__viewport {
    margin-inline: -24px;
    padding-inline: 24px;

    overflow: hidden;

    border-radius: 0;
}

    .fh-home-blog__viewport::-webkit-scrollbar {
        display: none;
    }

 .fh-home-blog__track {
    gap: 10px;
    padding: 3px 0 8px;

    transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

    .fh-home-blog__card {
        width: 64%;
        min-width: 64%;

        border-radius: 22px;

      
    }

    .fh-home-blog__arrow {
        width: 34px;
        height: 34px;
    }

    .fh-home-blog__arrow svg {
        width: 17px;
        height: 17px;

        stroke-width: 2.1;
    }

    .fh-home-blog__arrow--prev {
        right: 1px;
    }

    .fh-home-blog__arrow--next {
        left: 1px;
    }

    .fh-home-blog__dots {
        margin-top: 16px;
    }

    .fh-home-blog__visual {
        height: 118px;
        margin: 8px 8px 0;

        border-radius: 18px;
    }

    .fh-home-blog__visual-icon {
        width: 50px;
        height: 50px;

        border-radius: 18px;

        font-size: 23px;
    }

    .fh-home-blog__content {
        padding: 13px 13px 15px;
    }

    .fh-home-blog__meta {
        font-size: 9.2px;
    }

    .fh-home-blog__card-title {
        font-size: 12.3px;
        line-height: 1.85;
    }

    .fh-home-blog__card-text {
        font-size: 10.1px;
        line-height: 1.95;
    }
}

@media (max-width: 380px) {
    .fh-home-blog__card {
        width: 70%;
        min-width: 70%;
    }
}
