:root {
    --ink: #10221f;
    --muted: #58706b;
    --brand: #087f6f;
    --dark: #075e54;
    --mint: #dcf8ef;
    --line: #dbe9e5;
    --paper: #f7fbfa;
    --white: #fff;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font:
        500 16px/1.6 Manrope,
        system-ui,
        sans-serif;
}
a {
    color: inherit;
}
.container {
    width: min(1120px, calc(100% - 40px));
    margin: auto;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s,
        background 0.2s,
        border-color 0.2s;
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 25px #087f6f38;
}
.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}
.btn-secondary {
    border-color: var(--line);
    background: #fff;
}
.btn-secondary:hover {
    border-color: #abd5ca;
    background: var(--mint);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.eyebrow:before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
}
.blog-page {
    overflow: hidden;
}
.blog-hero {
    position: relative;
    padding: 88px 0 82px;
    background:
        radial-gradient(circle at 78% 12%, #b9f3df 0, transparent 30%),
        linear-gradient(145deg, #f9fffd, #eef9f6);
}
.blog-hero:after {
    position: absolute;
    right: -170px;
    bottom: -270px;
    width: 520px;
    height: 520px;
    border: 1px solid #6fcab055;
    border-radius: 50%;
    content: "";
}
.blog-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}
.blog-hero h1 {
    max-width: 720px;
    margin: 20px 0 18px;
    font-size: clamp(2.65rem, 5.4vw, 4.7rem);
    line-height: 1.03;
    letter-spacing: -0.06em;
}
.blog-hero h1 span {
    color: var(--brand);
}
.blog-hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 1.12rem;
}
.hero-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}
.hero-topics span {
    padding: 7px 11px;
    border: 1px solid #cce5de;
    border-radius: 999px;
    background: #ffffffa6;
    color: var(--dark);
    font-size: 0.76rem;
    font-weight: 700;
}
.editorial-stack {
    position: relative;
    min-height: 300px;
}
.editorial-sheet {
    position: absolute;
    inset: 24px 8px 8px 32px;
    border: 1px solid #c8e2db;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 30px 70px #0837301c;
    transform: rotate(4deg);
}
.editorial-card {
    position: absolute;
    inset: 0 28px 32px 0;
    padding: 26px;
    border-radius: 25px;
    background: #102d28;
    color: #fff;
    box-shadow: 0 30px 65px #08373035;
    transform: rotate(-2deg);
}
.editorial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff1f;
    color: #b6d8ce;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.editorial-card-top i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #71dbb4;
    box-shadow: 0 0 0 5px #71dbb41c;
}
.editorial-card strong {
    display: block;
    margin: 25px 0 12px;
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.editorial-card p {
    margin: 0;
    color: #b7d3cb;
    font-size: 0.88rem;
}
.editorial-card-bottom {
    position: absolute;
    right: 26px;
    bottom: 24px;
    left: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8fbab0;
    font-size: 0.75rem;
}
.editorial-card-bottom b {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 1.15rem;
}
.blog-feed {
    padding: 78px 0 92px;
}
.feed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}
.feed-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}
.feed-heading p {
    max-width: 470px;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: right;
}
.topic-bar {
    display: flex;
    gap: 9px;
    margin-bottom: 38px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.topic-bar::-webkit-scrollbar {
    display: none;
}
.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.topic-pill:hover,
.topic-pill.active {
    border-color: var(--brand);
    background: var(--mint);
    color: var(--dark);
}
.topic-pill small {
    display: grid;
    min-width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 99px;
    background: #edf5f2;
    font-size: 0.65rem;
}
.topic-pill.active small {
    background: #fff;
}
.featured-post {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    min-height: 380px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 55px #173f3712;
}
.featured-visual {
    position: relative;
    display: flex;
    min-height: 320px;
    align-items: flex-end;
    padding: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 25%, #84d9bd 0, transparent 24%),
        linear-gradient(145deg, #0d6c5f, #102d28);
    color: #fff;
}
.featured-visual.has-image {
    padding: 0;
}
.featured-visual.has-image:before,
.featured-visual.has-image:after {
    display: none;
}
.featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-visual:before,
.featured-visual:after {
    position: absolute;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    content: "";
}
.featured-visual:before {
    top: -90px;
    right: -55px;
    width: 260px;
    height: 260px;
}
.featured-visual:after {
    right: 100px;
    bottom: -155px;
    width: 300px;
    height: 300px;
}
.featured-monogram {
    position: relative;
    z-index: 1;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
}
.featured-monogram small {
    display: block;
    margin-top: 10px;
    color: #a9d8cc;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.featured-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 44px;
}
.blog-category {
    display: inline-flex;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.featured-content h2 {
    margin: 14px 0 15px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}
.featured-content h2 a {
    text-decoration: none;
}
.featured-content h2 a:hover {
    color: var(--brand);
}
.featured-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}
.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    margin-top: auto;
    padding-top: 28px;
    color: #78908a;
    font-size: 0.76rem;
}
.read-link {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}
.read-link:hover {
    color: var(--dark);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.blog-card {
    display: flex;
    min-height: 310px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 38px #173f370d;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px #173f3718;
}
.blog-card-visual {
    position: relative;
    height: 105px;
    padding: 22px;
    overflow: hidden;
    background: linear-gradient(125deg, #dff7ef, #f6fcfa);
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}
.blog-card-visual.has-image {
    display: block;
    height: 210px;
    padding: 0;
}
.blog-card-visual.has-image:after {
    display: none;
}
.blog-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card:nth-child(3n + 2) .blog-card-visual {
    background: linear-gradient(125deg, #102d28, #167a69);
    color: #fff;
}
.blog-card-visual:after {
    position: absolute;
    top: -46px;
    right: -22px;
    width: 135px;
    height: 135px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.18;
    content: "";
}
.blog-card-body {
    display: flex;
    flex: 1;
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
}
.blog-card h2 {
    margin: 10px 0 11px;
    font-size: 1.18rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}
.blog-card h2 a {
    text-decoration: none;
}
.blog-card h2 a:hover {
    color: var(--brand);
}
.blog-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.blog-empty {
    display: grid;
    min-height: 330px;
    place-items: center;
    padding: 54px 24px;
    border: 1px dashed #acd1c7;
    border-radius: 26px;
    background: linear-gradient(145deg, #f9fffd, #f1faf7);
    text-align: center;
}
.blog-empty-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 22px;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 12px 35px #173f3712;
    font-size: 1.7rem;
    font-weight: 800;
}
.blog-empty h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}
.blog-empty p {
    max-width: 480px;
    margin: 0 auto 24px;
    color: var(--muted);
}
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 42px;
}
.blog-pagination a,
.blog-pagination span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}
.blog-pagination a:hover,
.blog-pagination .current {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}
.blog-pagination .disabled {
    opacity: 0.45;
}
.article-page {
    background: linear-gradient(180deg, #f2faf7 0, #fff 390px);
    padding: 58px 0 92px;
}
.article-shell {
    width: min(900px, calc(100% - 40px));
    margin: auto;
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 46px;
    color: var(--brand);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}
.article-back:hover {
    color: var(--dark);
}
.article-header {
    text-align: center;
}
.article-header .blog-category {
    justify-content: center;
}
.article-header h1 {
    max-width: 840px;
    margin: 16px auto 18px;
    font-size: clamp(2.4rem, 5.5vw, 4.3rem);
    line-height: 1.07;
    letter-spacing: -0.055em;
}
.article-excerpt {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.12rem;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 25px 0 44px;
    color: #78908a;
    font-size: 0.8rem;
}
.article-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9bb8b1;
}
.article-cover {
    position: relative;
    display: flex;
    height: 310px;
    align-items: flex-end;
    margin-bottom: 54px;
    padding: 38px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 20%, #62c7a7 0, transparent 23%),
        linear-gradient(135deg, #075e54, #102d28);
    color: #fff;
    box-shadow: 0 28px 65px #0837302b;
}
.article-cover.has-image {
    height: auto;
    aspect-ratio: 1200/630;
    padding: 0;
}
.article-cover.has-image:after {
    display: none;
}
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-cover:after {
    position: absolute;
    right: -85px;
    bottom: -210px;
    width: 420px;
    height: 420px;
    border: 1px solid #ffffff2b;
    border-radius: 50%;
    content: "";
}
.article-cover strong {
    position: relative;
    z-index: 1;
    max-width: 480px;
    font-size: clamp(1.4rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}
.article-content {
    width: min(720px, 100%);
    margin: auto;
    color: #263936;
    font-size: 1.03rem;
    line-height: 1.85;
}
.article-content > *:first-child {
    margin-top: 0;
}
.article-content h2,
.article-content h3 {
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.03em;
}
.article-content h2 {
    margin: 2.1em 0 0.7em;
    font-size: 1.7rem;
}
.article-content h3 {
    margin: 1.8em 0 0.6em;
    font-size: 1.3rem;
}
.article-content p,
.article-content ul,
.article-content ol {
    margin: 0 0 1.35em;
}
.article-content li {
    margin: 0.4em 0;
}
.article-content a {
    color: var(--brand);
    font-weight: 700;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}
.article-content blockquote {
    margin: 2em 0;
    padding: 22px 26px;
    border-left: 4px solid var(--brand);
    border-radius: 0 14px 14px 0;
    background: var(--paper);
    color: var(--dark);
    font-weight: 700;
}
.article-content pre {
    max-width: 100%;
    overflow: auto;
    padding: 20px;
    border-radius: 14px;
    background: #102d28;
    color: #e1f2ed;
}
.article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
.article-content th,
.article-content td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
}
.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(720px, 100%);
    margin: 56px auto 0;
    padding: 30px;
    border-radius: 20px;
    background: var(--mint);
}
.article-cta strong {
    display: block;
    font-size: 1.1rem;
}
.article-cta p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}
@media (max-width: 800px) {
    .blog-hero {
        padding: 66px 0 62px;
    }
    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    .editorial-stack {
        min-height: 275px;
    }
    .feed-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .feed-heading p {
        text-align: left;
    }
    .featured-post {
        grid-template-columns: 1fr;
    }
    .featured-visual {
        min-height: 220px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-cover {
        height: 250px;
    }
    .article-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 520px) {
    .container,
    .article-shell {
        width: min(100% - 30px, 1120px);
    }
    .blog-hero {
        padding-top: 54px;
    }
    .blog-hero h1 {
        font-size: 2.55rem;
    }
    .editorial-stack {
        min-height: 240px;
    }
    .editorial-card {
        inset: 0 15px 24px 0;
        padding: 22px;
    }
    .editorial-sheet {
        inset: 18px 3px 4px 22px;
    }
    .editorial-card strong {
        font-size: 1.3rem;
    }
    .blog-feed {
        padding: 58px 0 70px;
    }
    .featured-content {
        padding: 28px;
    }
    .featured-visual {
        padding: 25px;
    }
    .featured-monogram {
        font-size: 3.7rem;
    }
    .post-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .article-page {
        padding-top: 38px;
    }
    .article-back {
        margin-bottom: 35px;
    }
    .article-header h1 {
        font-size: 2.35rem;
    }
    .article-cover {
        height: 210px;
        margin-bottom: 40px;
        padding: 25px;
    }
    .article-cover strong {
        font-size: 1.35rem;
    }
    .article-content {
        font-size: 1rem;
    }
    .article-cta {
        padding: 24px;
    }
    .article-cta .btn {
        width: 100%;
    }
}
