@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --fp-dark: #17243f;
    --fp-teal: #ece9df;
    --fp-orange: #92bad5;
    --fp-coral: #f96041;
    --fp-magenta: #981f62;
    --fp-indigo: #5869b8;
    --fp-white: #ffffff;
    --fp-ink: #15131e;
    --fp-line: rgba(var(--fp-ink-rgb), 0.22);
    --fp-slide-container: 1300px;

    /* RGB helpers for transparent backgrounds */
    --fp-dark-rgb: 23, 36, 63;
    --fp-ink-rgb: 21, 19, 30;
    --fp-white-rgb: 255, 255, 255;
    --fp-teal-rgb: 236, 233, 223;
    --fp-orange-rgb: 146, 186, 213;

    /* Backward-compatible alias for old blocks */
    --fp-turquoise: var(--fp-teal);
}

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--fp-ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--fp-orange);
    outline-offset: 3px;
}

/* Side menu */
.menu-toggle {
    position: fixed;
    z-index: 1002;
    top: 20px;
    left: 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 0;
    background: transparent;
    cursor: pointer;

    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0 auto;
    background: var(--fp-ink);
}

.menu-overlay {
    position: fixed;
    z-index: 1000;
    inset: 0;

    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, 0.52);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-menu {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;

    display: flex;
    flex-direction: column;

    width: min(420px, 90vw);
    height: 100dvh;
    padding: 32px;

    overflow-y: auto;
    color: var(--fp-white);
    background: var(--fp-dark);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

.side-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(var(--fp-white-rgb), 0.2);
}

.side-menu__brand {
    min-width: 0;
}

.side-menu__logo {
    color: inherit;
    font-size: 20px;
    font-weight: 600;
}

.side-menu__brand .custom-logo-link {
    display: block;
}

.side-menu__brand .custom-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 38px;
    height: auto;
}

.side-menu__close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    color: var(--fp-white);
    background: transparent;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.side-menu__nav {
    padding-top: 35px;
}

.side-menu__list,
.side-menu__list ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-menu__list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-menu__list a {
    color: var(--fp-white);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.15;
    transition: opacity 0.2s ease;
}

.side-menu__list a:hover,
.side-menu__list .active > a,
.side-menu__list .current-menu-item > a {
    opacity: 0.55;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .side-menu {
    transform: translateX(0);
}

body.menu-open .menu-overlay {
    visibility: visible;
    opacity: 1;
}

body.menu-open .menu-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Header */
.site-header {
    padding: 20px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-header__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.site-header__title a {
    color: inherit;
}

.site-header__description {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.65;
}

.site-header__logo .custom-logo-link {
    display: block;
}

.site-header__logo .custom-logo {
    display: block;
    width: auto;
    max-width: min(260px, 42vw);
    max-height: 38px;
    height: auto;
}

/* Header on the slide template: stays above the first screen without occupying space */
.site-header--overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(var(--fp-white-rgb), 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header--overlay + .slides-page .slide:first-child {
    padding-top: clamp(130px, 12vw, 180px);
}

/* Language switcher */
.header-language-switcher {
    flex: 0 0 auto;
}

.header-language-switcher,
.header-language-switcher ul,
.header-language-switcher li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-language-switcher ul {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.header-language-switcher li {
    display: block !important;
}

.header-language-switcher a,
.header-language-switcher span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--fp-ink);
    border-radius: 999px;
    color: var(--fp-ink);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-language-switcher a:hover,
.header-language-switcher .current-lang span {
    color: var(--fp-white);
    background: var(--fp-ink);
}

/* Slides */
.slides-page {
    height: 100dvh;
    overflow-y: auto;
    color: var(--fp-ink);
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

.slides-page::-webkit-scrollbar {
    display: none;
}

.slide {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 100dvh;
    padding: clamp(72px, 8vw, 130px) clamp(24px, 8vw, 150px);
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.slide::before,
.slide::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    content: '';
}

.slide__content,
.slide__visual {
    position: relative;
    z-index: 1;
}

.slide__content {
    width: min(100%, var(--fp-slide-container));
    max-width: var(--fp-slide-container);
    margin-right: auto;
    margin-left: auto;
    justify-self: center;
}

.slide__eyebrow {
    margin: 0 0 18px;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.65;
}

.slide h1,
.slide h2 {
    max-width: 950px;
    margin: 0 0 24px;
    font-size: clamp(42px, 6.4vw, 100px);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.slide h2 {
    font-size: clamp(38px, 5.4vw, 82px);
}

.slide h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.slide p {
    max-width: 700px;
    margin: 0;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.5;
}

.slide__note {
    max-width: 760px;
    margin-top: 28px !important;
    font-size: clamp(14px, 1.2vw, 17px) !important;
    font-weight: 600;
    line-height: 1.45 !important;
    opacity: 0.68;
}

.slide__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.slide__button,
.slide__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 23px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.slide__button {
    color: var(--fp-dark);
    background: var(--fp-white);
}

.slide__button:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
    transform: translateY(-2px);
    border-color: var(--fp-white);
}

.slide__link {
    color: var(--fp-white);
    border: 1px solid rgba(var(--fp-white-rgb), 0.45);
}

.slide__link:hover {
    border-color: var(--fp-white);
    transform: translateY(-2px);
    background: var(--fp-white);
    color: var(--fp-dark);
}

.slide__visual {
    min-height: 220px;
}

/* 1. Hero */
.slide--hero {
    grid-template-columns: minmax(0, 780px) minmax(260px, 400px);
    justify-content: center;
    gap: clamp(30px, 7vw, 120px);
    color: var(--fp-white);
    background: var(--fp-dark);
}

.slide--hero::before {
    top: -20vw;
    right: -12vw;
    width: min(62vw, 880px);
    aspect-ratio: 1;
    border-radius: 48% 52% 58% 42%;
    background:
        radial-gradient(circle at 30% 30%, var(--fp-teal) 0 4%, transparent 4.5%),
        radial-gradient(circle at 54% 54%, var(--fp-orange) 0 2%, transparent 2.5%),
        radial-gradient(circle at 68% 22%, var(--fp-coral) 0 5%, transparent 5.5%),
        radial-gradient(circle at 38% 77%, var(--fp-white) 0 3%, transparent 3.5%),
        linear-gradient(135deg, var(--fp-indigo), var(--fp-dark));
    transform: rotate(18deg);
    opacity: 0.95;
}

.slide--hero::after {
    right: 6%;
    bottom: 8%;
    width: 120px;
    height: 120px;
    border: 18px solid var(--fp-orange);
    border-radius: 50%;
}

.slide--hero .slide__eyebrow {
    opacity: 0.6;
}

/* 2. About */
.slide--about {
    background: var(--fp-orange);
}

.slide--about::before {
    top: -16vw;
    right: -10vw;
    width: min(47vw, 700px);
    aspect-ratio: 1;
    border: 2px solid rgba(var(--fp-ink-rgb), 0.18);
    border-radius: 50%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: var(--fp-slide-container);
    margin-top: 42px;
}

.team-card {
    position: relative;
    min-height: 310px;
    padding: 126px 28px 28px;
    overflow: hidden;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.22);
    background: rgba(var(--fp-white-rgb), 0.18);
}

.team-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 92px;
    content: '';
    background:
        linear-gradient(135deg, transparent 0 35%, rgba(var(--fp-white-rgb), 0.5) 35% 39%, transparent 39%),
        linear-gradient(45deg, var(--fp-coral), var(--fp-magenta));
}

.team-card:nth-child(2)::before {
    background:
        radial-gradient(circle at 75% 45%, rgba(255, 255, 255, 0.7) 0 12%, transparent 12.5%),
        linear-gradient(135deg, var(--fp-teal), var(--fp-indigo));
}

.team-card__role {
    margin-bottom: 16px !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.2 !important;
    text-transform: uppercase;
    opacity: 0.58;
}

.team-card p:last-child {
    font-size: 16px;
    line-height: 1.5;
}

/* 3. Services */
.slide--services {
    grid-template-columns: minmax(0, 780px) minmax(260px, 400px);
    justify-content: center;
    gap: clamp(30px, 7vw, 120px);
    color: var(--fp-white);
    background: var(--fp-indigo);
}

.slide--services::before {
    top: 10%;
    right: 7%;
    width: min(32vw, 520px);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--fp-white-rgb), 0.28);
    border-radius: 50%;
    box-shadow:
        -2px 2px 0 54px rgba(var(--fp-white-rgb), 0.18),
        0 0 0 108px rgba(var(--fp-teal-rgb), 0.75);
}

.slide--services::after {
    right: 13%;
    bottom: 17%;
    width: 95px;
    height: 95px;
    background: var(--fp-orange);
    transform: rotate(45deg);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    margin-top: 38px;
}

.services-list span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(var(--fp-white-rgb), 0.38);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

/* 4. Support */
.slide--support {
    background: var(--fp-teal);
}

.slide--support::before {
    right: -8%;
    bottom: -17%;
    width: min(46vw, 720px);
    aspect-ratio: 1;
    border-radius: 40% 60% 50% 50%;
    background: var(--fp-orange);
    transform: rotate(-18deg);
    opacity: 0.92;
}

.slide__check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 28px;
    max-width: 900px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.slide__check-list li {
    position: relative;
    padding-left: 28px;
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 600;
    line-height: 1.4;
}

.slide__check-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--fp-magenta);
    content: '×';
    font-size: 26px;
    font-weight: 400;
    line-height: 0.8;
}

/* 5. Process */
.slide--process {
    background: var(--fp-orange);
}

.slide--process::before {
    top: 12%;
    right: -4%;
    width: min(34vw, 520px);
    aspect-ratio: 1;
    background:
        linear-gradient(90deg, rgba(var(--fp-ink-rgb), 0.13) 1px, transparent 1px),
        linear-gradient(rgba(var(--fp-ink-rgb), 0.13) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: rotate(12deg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: var(--fp-slide-container);
    margin-top: 44px;
}

.process-card {
    min-height: 265px;
    padding: 24px;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.22);
    background: rgba(var(--fp-white-rgb), 0.15);
}

.process-card span {
    display: block;
    margin-bottom: 56px;
    color: var(--fp-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.process-card p {
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.72;
}

/* 6. Work */
.slide--work {
    color: var(--fp-ink);
    background: var(--fp-teal);
}

.slide--work::before {
    top: -24%;
    right: -9%;
    width: min(60vw, 920px);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--fp-white-rgb), 0.22);
    border-radius: 50%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: var(--fp-slide-container);
    margin-top: 42px;
}

.project-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    padding: 22px;
    overflow: hidden;
    color: var(--fp-white);
    background: var(--fp-dark);
    transition: transform 0.25s ease;
}

.project-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: '';
    background:
        linear-gradient(145deg, transparent 0 45%, rgba(var(--fp-white-rgb), 0.13) 45% 47%, transparent 47%),
        linear-gradient(135deg, var(--fp-coral), var(--fp-orange));
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card:nth-child(2)::before {
    background:
        radial-gradient(circle at 70% 28%, rgba(var(--fp-white-rgb), 0.6) 0 9%, transparent 9.5%),
        linear-gradient(135deg, var(--fp-teal), var(--fp-indigo));
}

.project-card:nth-child(3)::before {
    background:
        linear-gradient(90deg, rgba(var(--fp-white-rgb), 0.13) 1px, transparent 1px),
        linear-gradient(rgba(var(--fp-white-rgb), 0.13) 1px, transparent 1px),
        linear-gradient(135deg, var(--fp-indigo), var(--fp-dark));
    background-size: 32px 32px, 32px 32px, auto;
}

.project-card:nth-child(4)::before {
    background:
        radial-gradient(circle at 30% 35%, var(--fp-orange) 0 14%, transparent 14.5%),
        linear-gradient(135deg, var(--fp-magenta), var(--fp-teal));
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card__meta {
    margin-bottom: 10px !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.35 !important;
    text-transform: uppercase;
    opacity: 0.76;
}

.project-card h3 {
    margin: 0;
    font-size: clamp(21px, 2vw, 29px);
}

/* 7. Contact */
.slide--contact {
    color: var(--fp-white);
    background: var(--fp-dark);
}

.slide--contact::before {
    top: -8vw;
    right: -7vw;
    width: min(42vw, 650px);
    aspect-ratio: 1;
    border: 16px solid rgba(var(--fp-orange-rgb), 0.65);
    border-radius: 50%;
}

.slide--contact .slide__eyebrow,
.slide--contact .slide__note {
    color: var(--fp-white);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 22px;
    border: 1px solid var(--fp-orange);
    border-radius: 999px;
    color: var(--fp-white);
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
    color: var(--fp-dark);
    background: var(--fp-orange);
    transform: translateY(-2px);
}

.slide__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: var(--fp-slide-container);
    margin-top: clamp(56px, 9vw, 120px);
    padding-top: 20px;
    border-top: 1px solid rgba(var(--fp-white-rgb), 0.3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Slide navigation */
.slides-nav {
    position: fixed;
    z-index: 90;
    top: 50%;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(var(--fp-white-rgb), 0.68);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.slides-nav a {
    width: 9px;
    height: 9px;
    border: 1px solid var(--fp-dark);
    border-radius: 50%;
    opacity: 0.45;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.slides-nav a:hover {
    opacity: 1;
    transform: scale(1.2);
}

.slides-nav a.is-active {
    background: var(--fp-dark);
    opacity: 1;
}


/* WordPress admin bar: keep fixed elements below the toolbar */
body.admin-bar .menu-toggle {
    top: 52px;
}

body.admin-bar .side-menu,
body.admin-bar .menu-overlay,
body.admin-bar .site-header--overlay {
    top: 32px;
}

body.admin-bar .side-menu {
    height: calc(100dvh - 32px);
}

body.admin-bar .slides-nav {
    top: calc(50% + 16px);
}

@media (max-width: 782px) {
    body.admin-bar .menu-toggle {
        top: 54px;
    }

    body.admin-bar .side-menu,
    body.admin-bar .menu-overlay,
    body.admin-bar .site-header--overlay {
        top: 46px;
    }

    body.admin-bar .side-menu {
        height: calc(100dvh - 46px);
    }
}

@media (max-width: 1100px) {
    .slide--hero,
    .slide--services {
        grid-template-columns: minmax(0, 1fr);
    }

    .slide__visual {
        display: none;
    }

    .process-grid,
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-card {
        min-height: 220px;
    }

    .project-card {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        top: 8px;
        left: 12px;
    }

    .side-menu {
        padding: 24px;
    }

    .site-header {
        padding: 16px 0;
    }

    .site-header__inner {
        gap: 12px;
        min-height: 44px;
        padding-left: 62px;
    }

    .site-header__logo .custom-logo {
        max-width: 150px;
        max-height: 42px;
    }

    .site-header__title {
        font-size: 24px;
    }

    .site-header__description {
        display: none;
    }

    .header-language-switcher ul {
        gap: 5px;
    }

    .header-language-switcher a,
    .header-language-switcher span {
        min-width: 31px;
        height: 29px;
        padding: 0 6px;
        font-size: 10px;
    }

    .site-header--overlay + .slides-page .slide:first-child {
        padding-top: 110px;
    }

    .slide {
        min-height: auto;
        padding: 94px 24px 72px;
    }

    .slide--hero {
        min-height: 100dvh;
    }

    .slide h1,
    .slide h2 {
        margin-bottom: 18px;
        letter-spacing: -0.055em;
    }

    .slide__actions,
    .contact-links {
        align-items: stretch;
        flex-direction: column;
    }

    .slide__button,
    .slide__link,
    .contact-links a {
        width: 100%;
    }

    .team-grid,
    .slide__check-list,
    .process-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .process-grid,
    .projects-grid {
        margin-top: 30px;
    }

    .team-card,
    .process-card {
        min-height: 0;
    }

    .slide__check-list {
        gap: 12px;
        margin-top: 30px;
    }

    .process-card span {
        margin-bottom: 34px;
    }

    .project-card {
        min-height: 235px;
    }

    .slide__footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 54px;
    }

    .slides-nav {
        right: 12px;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    .slides-page {
        scroll-behavior: auto;
    }

    .slide__button,
    .slide__link,
    .contact-links a,
    .project-card,
    .slides-nav a,
    .menu-overlay,
    .side-menu,
    .menu-toggle {
        transition: none;
    }
}

/* ========================================
   4 PIXELS BLOG / ARCHIVE / SINGLE
   Styled to match the slide page
======================================== */

.fp-blog-page,
.fp-single-page {
    color: var(--fp-ink);
    overflow: hidden;
}

.fp-blog-container {
    width: min(1300px, calc(100% - 48px));
    margin: 0 auto;
}

.fp-blog-page a,
.fp-single-page a {
    text-decoration: none;
}

.fp-blog-eyebrow {
    margin: 0 0 18px;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.65;
}

.fp-blog-page h1,
.fp-blog-page h2,
.fp-blog-page h3,
.fp-blog-page p,
.fp-single-page h1,
.fp-single-page h2,
.fp-single-page h3,
.fp-single-page p {
    margin-top: 0;
}

.fp-blog-page h1,
.fp-blog-page h2,
.fp-single-page h1,
.fp-single-page h2 {
    max-width: 950px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.fp-blog-page h1,
.fp-single-page h1 {
    font-size: clamp(42px, 6.4vw, 100px);
}

.fp-blog-page h2,
.fp-single-page h2 {
    font-size: clamp(38px, 5.4vw, 82px);
}

.fp-blog-page h3,
.fp-single-page h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fp-blog-page p,
.fp-single-page p {
    max-width: 700px;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.5;
}

/* Blog buttons: same geometry and hover logic as slide buttons */

.fp-blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 23px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-blog-button:hover {
    transform: translateY(-2px);
}

.fp-blog-button--light {
    color: var(--fp-dark);
    background: var(--fp-white);
    border-color: var(--fp-white);
}

.fp-blog-button--light:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
    border-color: var(--fp-white);
}

.fp-blog-button--outline {
    color: var(--fp-white);
    background: transparent;
    border-color: rgba(var(--fp-white-rgb), 0.45);
}

.fp-blog-button--outline:hover {
    color: var(--fp-dark);
    background: var(--fp-white);
    border-color: var(--fp-white);
}

.fp-blog-button--dark {
    color: var(--fp-white);
    background: var(--fp-dark);
    border-color: var(--fp-dark);
}

.fp-blog-button--dark:hover {
    color: var(--fp-dark);
    background: transparent;
    border-color: var(--fp-dark);
}

/* Blog hero */

.fp-blog-hero {
    position: relative;
    isolation: isolate;
    min-height: min(760px, 88dvh);
    padding: clamp(72px, 8vw, 130px) 0;
    display: grid;
    align-items: center;
    color: var(--fp-white);
    background: var(--fp-dark);
    overflow: hidden;
}

.fp-blog-hero::before {
    position: absolute;
    z-index: 0;
    top: -20vw;
    right: -12vw;
    width: min(62vw, 880px);
    aspect-ratio: 1;
    border-radius: 48% 52% 58% 42%;
    background:
        radial-gradient(circle at 30% 30%, var(--fp-teal) 0 4%, transparent 4.5%),
        radial-gradient(circle at 54% 54%, var(--fp-orange) 0 2%, transparent 2.5%),
        radial-gradient(circle at 68% 22%, var(--fp-coral) 0 5%, transparent 5.5%),
        radial-gradient(circle at 38% 77%, var(--fp-white) 0 3%, transparent 3.5%),
        linear-gradient(135deg, var(--fp-indigo), var(--fp-dark));
    content: "";
    transform: rotate(18deg);
    opacity: 0.95;
    pointer-events: none;
}

.fp-blog-hero::after {
    position: absolute;
    z-index: 0;
    right: 6%;
    bottom: 8%;
    width: 120px;
    height: 120px;
    border: 18px solid var(--fp-orange);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.fp-blog-hero > .fp-blog-container {
    position: relative;
    z-index: 1;
}

.fp-blog-hero--archive {
    min-height: 520px;
}

.fp-blog-archive-description p {
    color: inherit;
    opacity: 0.86;
}

.fp-blog-hero__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

/* Categories */

.fp-blog-categories {
    position: sticky;
    z-index: 5;
    top: 0;
    padding: 14px 0;
    color: var(--fp-white);
    background: rgba(var(--fp-dark-rgb), 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fp-blog-categories ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.fp-blog-categories ul::-webkit-scrollbar {
    display: none;
}

.fp-blog-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    white-space: nowrap;
    padding: 10px 14px;
    border: 1px solid rgba(var(--fp-white-rgb), 0.38);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fp-blog-categories a:hover,
.fp-blog-categories a.is-active {
    color: var(--fp-dark);
    background: var(--fp-white);
    border-color: var(--fp-white);
}

/* Listing */

.fp-blog-listing {
    padding: clamp(72px, 8vw, 130px) 0;
    background: var(--fp-orange);
}

.fp-blog-section-head {
    margin-bottom: 42px;
}

.fp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 1180px;
}

/* Blog cards: closer to project/process cards */

.fp-blog-card {
    min-height: 100%;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.22);
    background: rgba(var(--fp-white-rgb), 0.15);
    transition: transform 0.25s ease, background 0.25s ease;
}

.fp-blog-card:hover {
    background: rgba(var(--fp-white-rgb), 0.24);
    transform: translateY(-6px);
}

.fp-blog-card--featured {
    grid-column: span 2;
}

.fp-blog-card__link {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    color: inherit;
}

.fp-blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--fp-dark);
}

.fp-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-blog-card__placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, var(--fp-teal) 0 8%, transparent 8.5%),
        radial-gradient(circle at 72% 42%, var(--fp-coral) 0 10%, transparent 10.5%),
        linear-gradient(135deg, var(--fp-indigo), var(--fp-dark));
}

.fp-blog-card__content {
    padding: 24px;
}

.fp-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.35;
    text-transform: uppercase;
    opacity: 0.76;
}

.fp-blog-card__title,
.fp-blog-card h2,
.fp-blog-card h3 {
    margin: 0 0 14px;
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fp-blog-card p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.5;
}

.fp-blog-card__read {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Inline CTA inside grid */

.fp-blog-inline-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 320px;
    padding: 28px;
    color: var(--fp-white);
    background: var(--fp-dark);
}

.fp-blog-inline-cta .fp-blog-eyebrow {
    color: var(--fp-white);
}

.fp-blog-inline-cta h3 {
    margin-bottom: 28px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

/* Empty */

.fp-blog-empty {
    padding: 60px 0;
}

/* Pagination */

.fp-blog-pagination {
    margin-top: 48px;
}

.fp-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--fp-dark);
    border-radius: 999px;
    color: var(--fp-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.fp-blog-pagination .page-numbers.current,
.fp-blog-pagination .page-numbers:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
}

.fp-blog-pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Internal links */

.fp-blog-seo-links {
    padding: clamp(72px, 8vw, 130px) 0;
    color: var(--fp-white);
    background: var(--fp-indigo);
}

.fp-blog-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin-top: 42px;
}

.fp-blog-link-grid a {
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(var(--fp-white-rgb), 0.38);
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fp-blog-link-grid a:hover {
    color: var(--fp-dark);
    background: var(--fp-white);
    transform: translateY(-6px);
}

.fp-blog-link-grid span {
    display: block;
    margin-bottom: 56px;
    color: var(--fp-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Final CTA */

.fp-blog-final-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 8vw, 130px) 0;
    color: var(--fp-white);
    background: var(--fp-dark);
    overflow: hidden;
}

.fp-blog-final-cta::before {
    position: absolute;
    z-index: 0;
    top: -8vw;
    right: -7vw;
    width: min(42vw, 650px);
    aspect-ratio: 1;
    border: 16px solid rgba(var(--fp-orange-rgb), 0.65);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.fp-blog-final-cta > .fp-blog-container {
    position: relative;
    z-index: 1;
}

.fp-blog-final-cta__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

/* Single article */

.fp-single-hero {
    position: relative;
    isolation: isolate;
    min-height: min(700px, 82dvh);
    padding: clamp(72px, 8vw, 130px) 0;
    display: grid;
    align-items: center;
    color: var(--fp-white);
    background: var(--fp-dark);
    overflow: hidden;
}

.fp-single-hero::before {
    position: absolute;
    z-index: 0;
    top: -20vw;
    right: -12vw;
    width: min(62vw, 880px);
    aspect-ratio: 1;
    border-radius: 48% 52% 58% 42%;
    background:
        radial-gradient(circle at 30% 30%, var(--fp-teal) 0 4%, transparent 4.5%),
        radial-gradient(circle at 54% 54%, var(--fp-orange) 0 2%, transparent 2.5%),
        radial-gradient(circle at 68% 22%, var(--fp-coral) 0 5%, transparent 5.5%),
        radial-gradient(circle at 38% 77%, var(--fp-white) 0 3%, transparent 3.5%),
        linear-gradient(135deg, var(--fp-indigo), var(--fp-dark));
    content: "";
    transform: rotate(18deg);
    opacity: 0.95;
    pointer-events: none;
}

.fp-single-hero > .fp-blog-container {
    position: relative;
    z-index: 1;
}

.fp-single-category {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 24px;
    padding: 10px 14px;
    border: 1px solid rgba(var(--fp-white-rgb), 0.38);
    border-radius: 999px;
    color: var(--fp-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fp-single-category:hover {
    color: var(--fp-dark);
    background: var(--fp-white);
    border-color: var(--fp-white);
}

.fp-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.65;
}

.fp-single-excerpt {
    max-width: 700px;
    margin-top: 30px;
    font-size: clamp(17px, 1.5vw, 22px) !important;
    line-height: 1.5 !important;
    opacity: 0.84;
}

.fp-single-featured {
    padding: clamp(72px, 8vw, 130px) 0;
    background: var(--fp-orange);
}

.fp-single-featured img {
    display: block;
    width: min(100%, 1180px);
    max-height: 620px;
    object-fit: cover;
}

.fp-single-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: clamp(36px, 7vw, 96px);
    padding: clamp(72px, 8vw, 130px) 0;
}

.fp-single-sidebar {
    min-width: 0;
}

.fp-single-sticky {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.22);
    background: rgba(var(--fp-white-rgb), 0.15);
}

.fp-single-sticky h2 {
    margin-bottom: 26px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

/* Article content keeps readability, but matches the visual language */

.fp-single-content {
    min-width: 0;
}

.fp-single-content > *:first-child {
    margin-top: 0;
}

.fp-single-content p,
.fp-single-content ul,
.fp-single-content ol {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
}

.fp-single-content p {
    margin-bottom: 1.4em;
}

.fp-single-content h2,
.fp-single-content h3,
.fp-single-content h4 {
    max-width: 780px;
    margin-top: 1.7em;
    margin-bottom: 0.65em;
    color: var(--fp-dark);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
}

.fp-single-content h2 {
    font-size: clamp(34px, 4vw, 58px);
}

.fp-single-content h3 {
    font-size: clamp(26px, 3vw, 40px);
}

.fp-single-content h4 {
    font-size: clamp(21px, 2vw, 28px);
}

.fp-single-content a {
    color: var(--fp-magenta);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fp-single-content ul,
.fp-single-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.2em;
}

.fp-single-content li {
    margin-bottom: 0.55em;
}

.fp-single-content blockquote {
    max-width: 820px;
    margin: 2em 0;
    padding: 26px 30px;
    border-left: 6px solid var(--fp-magenta);
    background: rgba(var(--fp-orange-rgb), 0.25);
    font-size: clamp(22px, 2.4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.fp-single-content blockquote p {
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
}

.fp-single-content img {
    max-width: 100%;
    height: auto;
}

.fp-single-content figure {
    max-width: 100%;
    margin: 2em 0;
}

.fp-single-content figcaption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.65;
}

.fp-single-content code {
    padding: 0.15em 0.35em;
    border-radius: 4px;
    background: rgba(var(--fp-ink-rgb), 0.08);
    font-size: 0.9em;
}

.fp-single-content pre {
    max-width: 100%;
    padding: 22px;
    overflow-x: auto;
    color: var(--fp-white);
    background: var(--fp-dark);
}

.fp-single-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.fp-single-page-links {
    margin-top: 40px;
}

/* Tags */

.fp-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.fp-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid var(--fp-dark);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease;
}

.fp-single-tags a:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
}

/* Single footer CTA */

.fp-single-footer {
    background: var(--fp-orange);
}

.fp-single-cta {
    padding: clamp(72px, 8vw, 130px);
    color: var(--fp-white);
    background: var(--fp-dark);
}

.fp-single-cta h2 {
    max-width: 950px;
}

.fp-single-cta p {
    color: inherit;
}

/* Related */

.fp-related-posts {
    padding: clamp(72px, 8vw, 130px) 0;
}

.fp-related-posts .fp-blog-grid {
    margin-top: 42px;
}

/* Blog adaptive */

@media (max-width: 1000px) {
    .fp-blog-grid,
    .fp-blog-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-blog-card--featured {
        grid-column: span 2;
    }

    .fp-single-layout {
        grid-template-columns: 1fr;
    }

    .fp-single-sidebar {
        order: 2;
    }

    .fp-single-content {
        order: 1;
    }

    .fp-single-sticky {
        position: static;
    }
}

@media (max-width: 767px) {
    .fp-blog-hero,
    .fp-single-hero {
        min-height: 100dvh;
        padding: 110px 0 72px;
    }

    .fp-blog-listing,
    .fp-blog-seo-links,
    .fp-blog-final-cta,
    .fp-single-featured,
    .fp-single-layout {
        padding: 94px 0 72px;
    }

    .fp-blog-categories {
        padding-right: 0;
        padding-left: 0;
    }

    .fp-blog-page h1,
    .fp-blog-page h2,
    .fp-single-page h1,
    .fp-single-page h2 {
        margin-bottom: 18px;
        letter-spacing: -0.055em;
    }

    .fp-blog-hero__links,
    .fp-blog-final-cta__links {
        align-items: stretch;
        flex-direction: column;
    }

    .fp-blog-button {
        width: 100%;
    }

    .fp-blog-grid,
    .fp-blog-link-grid {
        grid-template-columns: 1fr;
    }

    .fp-blog-card--featured {
        grid-column: auto;
    }

    .fp-blog-inline-cta {
        min-height: 280px;
    }

    .fp-single-layout {
        gap: 44px;
    }

    .fp-single-content p,
    .fp-single-content ul,
    .fp-single-content ol {
        font-size: 16px;
        line-height: 1.7;
    }

    .fp-single-cta {
        padding: 36px 24px;
    }

    .fp-single-featured img {
        max-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-blog-button,
    .fp-blog-card,
    .fp-blog-link-grid a,
    .fp-blog-pagination .page-numbers,
    .fp-single-tags a,
    .fp-single-category {
        transition: none;
    }
} 

/* ========================================
   COMMENTS
======================================== */

.fp-comments-section {
    padding: clamp(72px, 8vw, 130px) 0;
    color: var(--fp-ink);
    background: var(--fp-teal);
}

.fp-comments {
    max-width: 900px;
}

.fp-comments__head {
    margin-bottom: 34px;
}

.fp-comments__title,
.fp-comments .comment-reply-title {
    max-width: 850px;
    margin: 0 0 24px;
    font-size: clamp(38px, 5.4vw, 82px);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.fp-comment-list {
    display: grid;
    gap: 16px;
    margin: 0 0 54px;
    padding: 0;
    list-style: none;
}

.fp-comment-list .comment {
    list-style: none;
}

.fp-comment-list .comment-body {
    padding: 24px;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.22);
    background: rgba(var(--fp-white-rgb), 0.18);
}

.fp-comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
}

.fp-comment-list .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.fp-comment-list .comment-meta {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.58;
}

.fp-comment-list .comment-body p {
    max-width: 760px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
}

.fp-comment-list .reply a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid var(--fp-dark);
    border-radius: 999px;
    color: var(--fp-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fp-comment-list .reply a:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
    transform: translateY(-2px);
}

.fp-comment-list .children {
    display: grid;
    gap: 16px;
    margin: 16px 0 0 32px;
    padding: 0;
    list-style: none;
}

.fp-comment-form {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.fp-comment-form p {
    margin: 0;
    max-width: 100%;
}

.fp-comment-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.68;
}

.fp-comment-form input,
.fp-comment-form textarea {
    width: 100%;
    border: 1px solid rgba(var(--fp-ink-rgb), 0.26);
    border-radius: 0;
    padding: 15px 16px;
    color: var(--fp-ink);
    background: rgba(var(--fp-white-rgb), 0.45);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.fp-comment-form textarea {
    resize: vertical;
}

.fp-comment-form input:focus,
.fp-comment-form textarea:focus {
    outline: 3px solid var(--fp-orange);
    outline-offset: 3px;
}

.fp-comment-form .form-submit {
    margin-top: 6px;
}

.fp-comment-submit {
    cursor: pointer;
}

.fp-comment-note,
.fp-comments-closed {
    margin-top: 16px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    opacity: 0.68;
}

.fp-comments-pagination {
    margin-bottom: 48px;
}

.fp-comments-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-comments-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--fp-dark);
    border-radius: 999px;
    color: var(--fp-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.fp-comments-pagination a:hover {
    color: var(--fp-white);
    background: var(--fp-dark);
}

.fp-comment-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .fp-comments-section {
        padding: 94px 0 72px;
    }

    .fp-comments {
        max-width: 100%;
    }

    .fp-comment-list .children {
        margin-left: 16px;
    }

    .fp-comment-list .comment-body {
        padding: 20px;
    }

    .fp-comment-form .fp-comment-submit {
        width: 100%;
    }
}