:root {
    --blog-green-950: #0d3f2f;
    --blog-green-900: #11523d;
    --blog-green-800: #176348;
    --blog-green-100: #e9f2ed;
    --blog-wood: #a96d3f;
    --blog-ink: #202d27;
    --blog-muted: #68766f;
    --blog-line: #d9e2dc;
    --blog-cream: #f7f4ed;
    --blog-white: #fff;
    --blog-shadow: 0 16px 40px rgba(22, 53, 41, 0.09);
    --blog-media-width: 1120px;
    --blog-reading-width: 960px;
}

.blog-center,
.blog-center * {
    box-sizing: border-box;
    font-family: "OpenSans-Regular", Arial, sans-serif;
}

.blog-center {
    overflow: hidden;
    background: var(--blog-white);
    color: var(--blog-ink);
}

.blog-center h1,
.blog-center h2,
.blog-center h3,
.blog-center h4,
.blog-center h5,
.blog-center h6,
.blog-center strong,
.blog-center button {
    font-family: "OpenSans-Bold", Arial, sans-serif;
}

.blog-center input,
.blog-center textarea,
.blog-center select {
    font-family: "OpenSans-Regular", Arial, sans-serif;
}

.blog-shell {
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}

.blog-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--blog-wood);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.blog-hero {
    position: relative;
    border-bottom: 4px solid var(--blog-wood);
    background:
        radial-gradient(circle at 84% 0, rgba(255, 255, 255, 0.11), transparent 34%),
        linear-gradient(120deg, var(--blog-green-950), #225f49);
    color: var(--blog-white);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(470px, 1.2fr);
    align-items: center;
    gap: 64px;
    min-height: 240px;
    padding-block: 38px;
}

.blog-hero .blog-kicker {
    color: #d6e987;
}

.blog-hero h1 {
    max-width: 610px;
    margin: 0;
    color: var(--blog-white);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.blog-hero-copy p {
    max-width: 600px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.03rem;
    line-height: 1.6;
}

.blog-search {
    padding: 22px;
    border-radius: 16px;
    background: var(--blog-white);
    box-shadow: 0 18px 45px rgba(6, 34, 24, 0.2);
}

.blog-search label {
    display: block;
    margin-bottom: 10px;
    color: var(--blog-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.blog-search-control {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 5px 6px 5px 16px;
    border: 2px solid #cbdad1;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-control:focus-within {
    border-color: var(--blog-green-800);
    box-shadow: 0 0 0 4px rgba(23, 99, 72, 0.13);
}

.blog-search-control i {
    color: var(--blog-green-900);
    font-size: 1.25rem;
}

.blog-search-control input {
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--blog-ink);
    font-family: inherit;
    font-size: 0.95rem;
}

.blog-search-control button,
.blog-button {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: var(--blog-green-900);
    color: var(--blog-white);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.blog-search-control button:hover,
.blog-button:hover {
    background: var(--blog-green-800);
}

.blog-search-control button:active,
.blog-button:active {
    transform: translateY(1px);
}

.blog-main {
    padding-block: 30px 76px;
}

.blog-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 34px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.blog-categories a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--blog-line);
    border-radius: 999px;
    color: var(--blog-ink);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
    min-height: 390px;
    margin-bottom: 58px;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 20px;
    background: var(--blog-cream);
    box-shadow: var(--blog-shadow);
}

.blog-featured-media,
.blog-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #edf0ed;
}

.blog-featured-media img,
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-featured-media:hover img,
.blog-card-media:hover img {
    transform: scale(1.025);
}

.blog-featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 58px);
}

.blog-featured h2,
.blog-section-head h2,
.blog-card h3 {
    margin: 0;
    color: var(--blog-green-950);
    letter-spacing: -0.03em;
}

.blog-featured h2 {
    font-size: clamp(1.65rem, 2.5vw, 2.45rem);
    line-height: 1.14;
}

.blog-featured h2 a,
.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-copy > p {
    margin: 16px 0 22px;
    color: var(--blog-muted);
    font-size: 1rem;
    line-height: 1.62;
}

.blog-video-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(13, 63, 47, 0.94);
    color: var(--blog-white);
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--blog-muted);
    font-size: 0.8rem;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-text-link {
    align-self: flex-start;
    margin-top: 28px;
    color: var(--blog-green-900);
    font-weight: 800;
    text-decoration: none;
}

.blog-text-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.blog-text-link:hover span {
    transform: translateX(4px);
}

.blog-latest {
    margin-top: 8px;
}

.blog-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.blog-section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.15;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 16px;
    background: var(--blog-white);
    box-shadow: 0 10px 28px rgba(20, 51, 39, 0.06);
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    border-color: #b9cbbf;
    box-shadow: var(--blog-shadow);
    transform: translateY(-3px);
}

.blog-card-media {
    aspect-ratio: 16 / 9;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px;
}

.blog-card h3 {
    min-height: 2.6em;
    font-size: 1.13rem;
    line-height: 1.3;
}

.blog-card-body > p {
    display: -webkit-box;
    min-height: 4.65em;
    margin: 12px 0 20px;
    overflow: hidden;
    color: var(--blog-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card .blog-card-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf1ee;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.blog-empty {
    max-width: 650px;
    margin: 50px auto;
    padding: 48px 30px;
    border: 1px solid var(--blog-line);
    border-radius: 18px;
    background: var(--blog-cream);
    text-align: center;
}

.blog-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--blog-green-100);
    color: var(--blog-green-900);
    font-size: 1.45rem;
    place-items: center;
}

.blog-empty h2 {
    margin: 0;
    color: var(--blog-green-950);
}

.blog-empty p {
    margin: 10px 0 24px;
    color: var(--blog-muted);
}

.blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-white);
    text-decoration: none;
}

/* Article */

.blog-reading-progress {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    pointer-events: none;
}

.blog-reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #d2e977;
    box-shadow: 0 0 8px rgba(210, 233, 119, 0.55);
}

.blog-article-page {
    padding-top: 1px;
}

.blog-article-header {
    padding-top: 32px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    overflow: hidden;
    color: var(--blog-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.blog-breadcrumb a {
    max-width: 230px;
    overflow: hidden;
    color: var(--blog-green-900);
    text-decoration: none;
    text-overflow: ellipsis;
}

.blog-article-title {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.blog-article-title h1 {
    margin: 0;
    color: var(--blog-green-950);
    font-size: clamp(2.15rem, 5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.blog-article-title > p {
    max-width: 780px;
    margin: 20px auto 22px;
    color: var(--blog-muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.65;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--blog-muted);
    font-size: 0.86rem;
}

.blog-article-cover {
    max-width: var(--blog-media-width);
    margin-top: 38px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--blog-cream);
    box-shadow: var(--blog-shadow);
}

.blog-article-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-reading-column {
    width: min(var(--blog-reading-width), calc(100% - 40px));
    margin-inline: auto;
}

.blog-video-section {
    margin-top: 50px;
}

.blog-video-section .blog-section-head {
    margin-bottom: 18px;
}

.blog-video-section .blog-section-head h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.blog-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #0d1f18;
    box-shadow: var(--blog-shadow);
}

.blog-video-player > img,
.blog-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.blog-video-player::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 22, 15, 0.42), transparent 28%);
    content: "";
    pointer-events: none;
}

.blog-video-player.is-playing::after {
    display: none;
}

.blog-video-player button {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blog-white);
    cursor: pointer;
    font-family: inherit;
}

.blog-video-player button > strong {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(19, 25, 22, 0.64);
    color: var(--blog-white);
    font-size: 0.82rem;
    backdrop-filter: blur(5px);
}

.blog-play-icon {
    display: grid;
    width: 68px;
    height: 48px;
    border-radius: 13px;
    background: #ff0033;
    color: var(--blog-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.blog-video-player button:hover .blog-play-icon {
    background: #e0002d;
    transform: scale(1.06);
}

.blog-privacy-note {
    margin: 10px 2px 0;
    color: var(--blog-muted);
    font-size: 0.78rem;
}

.blog-article-content {
    margin-top: 52px;
    color: #27352f;
    font-family: "OpenSans-Regular", Arial, sans-serif;
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-article-content > :first-child {
    margin-top: 0;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin: 2.15em 0 0.65em;
    color: var(--blog-green-950);
    font-family: "Open Sans", Arial, sans-serif;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.blog-article-content h2 {
    font-size: 1.75rem;
}

.blog-article-content h3 {
    font-size: 1.4rem;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol,
.blog-article-content blockquote {
    margin: 0 0 1.45em;
}

.blog-article-content img,
.blog-article-content video,
.blog-article-content iframe {
    max-width: 100% !important;
    height: auto;
    border-radius: 12px;
}

.blog-article-content table,
.blog-article-content pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.blog-article-content iframe {
    aspect-ratio: 16 / 9;
}

.blog-article-content a {
    color: var(--blog-green-800);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.blog-article-content blockquote {
    padding: 20px 24px;
    border-left: 4px solid var(--blog-wood);
    border-radius: 0 10px 10px 0;
    background: var(--blog-cream);
    color: #48574f;
}

.blog-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 50px;
    padding: 24px;
    border: 1px solid var(--blog-line);
    border-radius: 16px;
    background: var(--blog-cream);
}

.blog-share strong,
.blog-share span {
    display: block;
}

.blog-share strong {
    color: var(--blog-green-950);
}

.blog-share span {
    margin-top: 4px;
    color: var(--blog-muted);
    font-size: 0.85rem;
}

.blog-share-actions {
    display: flex;
    gap: 8px;
}

.blog-share-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #c8d6cd;
    border-radius: 9px;
    background: var(--blog-white);
    color: var(--blog-green-900);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-products,
.blog-related {
    margin-top: 76px;
}

.blog-products {
    padding: 34px;
    border: 1px solid var(--blog-line);
    border-radius: 20px;
    background: #fbfcfb;
}

.blog-carousel-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.blog-carousel-controls button {
    display: grid;
    width: 46px;
    height: 46px;
    border: 1px solid var(--blog-line);
    border-radius: 50%;
    background: var(--blog-white);
    color: var(--blog-green-900);
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(20, 51, 39, 0.08);
    place-items: center;
}

.blog-carousel-controls button:disabled {
    cursor: default;
    opacity: 0.38;
    box-shadow: none;
}

.blog-product-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.blog-product-viewport::-webkit-scrollbar {
    display: none;
}

.blog-product-track {
    display: grid;
    grid-auto-columns: calc((100% - 54px) / 4);
    grid-auto-flow: column;
    grid-auto-rows: max-content;
    align-items: start;
    gap: 18px;
}

.blog-product-card {
    display: flex;
    align-self: start;
    min-width: 0;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 14px;
    background: var(--blog-white);
    flex-direction: column;
    scroll-snap-align: start;
}

.blog-product-media {
    display: block;
    flex: 0 0 240px;
    width: 100%;
    height: 240px;
    min-height: 240px;
    overflow: hidden;
    padding: 10px;
    background: #f4f6f4;
}

.blog-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.blog-product-body {
    display: block;
    flex: 0 0 auto;
    min-height: 0;
    padding: 17px;
}

.blog-product-body h3 {
    display: -webkit-box;
    min-height: 2.75em;
    margin: 0;
    overflow: hidden;
    font-size: 0.94rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-product-body h3 a {
    color: var(--blog-ink);
    text-decoration: none;
}

.blog-product-body > p {
    margin: 7px 0 0;
    color: var(--blog-muted);
    font-size: 0.76rem;
}

.blog-product-price {
    margin-top: 14px;
    padding-top: 0;
}

.blog-product-price small,
.blog-product-price strong {
    display: block;
}

.blog-product-price small {
    color: var(--blog-muted);
    font-size: 0.75rem;
    text-decoration: line-through;
}

.blog-product-price strong {
    color: var(--blog-green-900);
    font-size: 1.2rem;
}

.blog-product-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 8px;
    margin-top: 13px;
}

.blog-product-actions > a,
.blog-product-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px 9px;
    border: 1px solid #c7d6cc;
    border-radius: 8px;
    background: var(--blog-white);
    color: var(--blog-green-900);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-product-actions button {
    border-color: var(--blog-green-900);
    background: var(--blog-green-900);
    color: var(--blog-white);
}

.blog-product-actions button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.blog-related {
    margin-bottom: 76px;
}

.blog-related .blog-latest {
    margin: 0;
}

.blog-related .blog-latest > .blog-section-head {
    display: none;
}

@media (max-width: 1024px) {
    .blog-hero-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
        gap: 36px;
    }

    .blog-featured {
        grid-template-columns: 1.1fr 0.9fr;
    }

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

    .blog-product-track {
        grid-auto-columns: calc((100% - 36px) / 3);
    }
}

@media (max-width: 768px) {
    .blog-shell {
        width: min(100% - 28px, 1280px);
    }

    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 30px;
    }

    .blog-hero-copy {
        text-align: center;
    }

    .blog-hero-copy p {
        margin-inline: auto;
    }

    .blog-search {
        padding: 15px;
    }

    .blog-search-control {
        grid-template-columns: 22px minmax(0, 1fr);
        padding: 6px 11px;
    }

    .blog-search-control button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .blog-main {
        padding-top: 22px;
    }

    .blog-categories {
        width: calc(100% + 14px);
        margin-bottom: 26px;
    }

    .blog-featured {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-bottom: 46px;
    }

    .blog-featured-media {
        aspect-ratio: 16 / 9;
    }

    .blog-featured-copy {
        padding: 25px;
    }

    .blog-card-grid {
        gap: 16px;
    }

    .blog-article-header {
        padding-top: 20px;
    }

    .blog-breadcrumb {
        margin-bottom: 24px;
    }

    .blog-article-meta {
        flex-wrap: wrap;
    }

    .blog-article-cover {
        margin-top: 28px;
        border-radius: 14px;
    }

    .blog-reading-column {
        width: min(100% - 28px, 760px);
    }

    .blog-article-content {
        margin-top: 40px;
        font-size: 1.02rem;
        line-height: 1.78;
    }

    .blog-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-products {
        width: 100%;
        padding: 26px 14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .blog-products .blog-section-head {
        padding-inline: 0;
    }

    .blog-product-track {
        grid-auto-columns: calc((100% - 16px) / 2);
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-section-head {
        align-items: flex-start;
    }

    .blog-section-head h2 {
        font-size: 1.75rem;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .blog-card h3,
    .blog-card-body > p {
        min-height: 0;
    }

    .blog-article-title h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .blog-article-title > p {
        font-size: 1rem;
    }

    .blog-video-player button {
        inset: 0;
        justify-content: center;
    }

    .blog-video-player button > strong {
        right: 12px;
        bottom: 10px;
        padding: 7px 10px;
        font-size: 0.74rem;
    }

    .blog-share-actions {
        width: 100%;
        flex-direction: column;
    }

    .blog-share-actions a {
        justify-content: center;
    }

    .blog-products,
    .blog-related {
        margin-top: 56px;
    }

    .blog-products .blog-section-head {
        align-items: flex-end;
    }

    .blog-products .blog-section-head .blog-kicker {
        letter-spacing: 0.1em;
    }

    .blog-products .blog-section-head h2 {
        font-size: 1.55rem;
    }

    .blog-carousel-controls button {
        width: 44px;
        height: 44px;
    }

    .blog-product-track {
        grid-auto-columns: min(82vw, 285px);
    }

    .blog-product-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-center *,
    .blog-reading-progress span {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
