:root {
    --color-brand: #2c1a0e;
    --color-cta: #e8a020;
    --text-muted: #666;
    --border: #ccc;
    --font-main: Tahoma, Geneva, sans-serif;
}

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

html, body {
    overflow-x: hidden;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-brand);
    background-color: #faf7f3;
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cat-main {
    max-width: 100%;
}

.cat-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cat-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-brand);
}

.cat-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cat-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(44, 26, 14, 0.68);
    z-index: 1;
}

.cat-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 60px 24px;
}

.cat-hero__title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.6;
}

.cat-hero__subtitle {
    font-size: 1.1rem;
    color: #f0e8dc;
    margin: 0 0 36px;
    line-height: 1.6;
}

.cat-hero__cta {
    display: inline-block;
    background-color: var(--color-cta);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cat-hero__cta:hover {
    background-color: #c8880e;
}

.cat-articles {
    padding: 64px 0 48px;
    background-color: #faf7f3;
}

.cat-articles__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-brand);
    padding-bottom: 16px;
}

.cat-articles__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0;
    line-height: 1.6;
}

.cat-articles__count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.cat-card {
    background-color: #fff;
    border: 1px solid #e0dbd4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(44, 26, 14, 0.08);
    transition: box-shadow 0.2s;
}

.cat-card:hover {
    box-shadow: 0 6px 18px rgba(44, 26, 14, 0.15);
}

.cat-card__visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #efe9e0;
}

.cat-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-card__body {
    padding: 20px;
}

.cat-card__date {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.6;
}

.cat-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.6;
}

.cat-card__title a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s;
}

.cat-card__title a:hover {
    color: #5a3520;
}

.cat-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cat-empty {
    text-align: center;
    padding: 80px 24px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0dbd4;
}

.cat-empty__icon {
    margin-bottom: 20px;
}

.cat-empty__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cat-editorial {
    padding: 64px 0;
    background-color: #f2ece3;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.cat-editorial__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
    min-width: 0;
}

.cat-editorial__grid > * {
    min-width: 0;
}

.cat-editorial__heading {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 20px;
    line-height: 1.6;
}

.cat-editorial__lead {
    font-size: 1.05rem;
    color: var(--color-brand);
    margin: 0 0 16px;
    line-height: 1.6;
}

.cat-editorial__main p {
    color: #3d2010;
    margin: 0 0 16px;
    line-height: 1.6;
}

.cat-editorial__highlight {
    background-color: var(--color-brand);
    padding: 28px;
    border-radius: 8px;
}

.cat-editorial__highlight-icon {
    margin-bottom: 16px;
}

.cat-editorial__highlight-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.6;
}

.cat-editorial__highlight-text {
    font-size: 0.9rem;
    color: #d4c4a8;
    margin: 0;
    line-height: 1.6;
}

.cat-accordion-section {
    padding: 64px 0;
    background-color: #faf7f3;
}

.cat-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 36px;
    line-height: 1.6;
}

.cat-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-accordion__item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.cat-accordion__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-brand);
    list-style: none;
    line-height: 1.6;
    transition: background-color 0.2s;
}

.cat-accordion__summary::-webkit-details-marker {
    display: none;
}

.cat-accordion__summary:hover {
    background-color: #f7f2eb;
}

.cat-accordion__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cat-accordion__chevron {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.cat-accordion__item[open] .cat-accordion__chevron {
    transform: rotate(180deg);
}

.cat-accordion__body {
    padding: 16px 20px 20px;
    border-top: 1px solid #e8e0d5;
}

.cat-accordion__body p {
    margin: 0;
    color: #3d2010;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cat-comparison {
    padding: 64px 0;
    background-color: #f2ece3;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.cat-comparison__intro {
    color: #3d2010;
    margin: 0 0 28px;
    line-height: 1.6;
}

.cat-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cat-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 0.9rem;
}

.cat-table thead tr {
    background-color: var(--color-brand);
}

.cat-table thead th {
    color: #fff;
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
    line-height: 1.6;
    white-space: nowrap;
}

.cat-table tbody tr {
    border-bottom: 1px solid #e8e0d5;
    transition: background-color 0.2s;
}

.cat-table tbody tr:hover {
    background-color: #faf5ee;
}

.cat-table tbody tr:last-child {
    border-bottom: none;
}

.cat-table td {
    padding: 13px 16px;
    color: #3d2010;
    line-height: 1.6;
    vertical-align: top;
}

.cat-comparison__disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    margin: 16px 0 0;
    font-style: italic;
    line-height: 1.6;
}

.cat-terroir {
    padding: 64px 0;
    background-color: #faf7f3;
}

.cat-terroir__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.cat-terroir__season {
    background-color: #fff;
    border: 1px solid #e0dbd4;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(44, 26, 14, 0.06);
}

.cat-terroir__season-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.cat-terroir__season-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 14px;
    line-height: 1.6;
}

.cat-terroir__list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.cat-terroir__list li {
    font-size: 0.9rem;
    color: #3d2010;
    padding: 5px 0;
    border-bottom: 1px solid #efe9e0;
    line-height: 1.6;
}

.cat-terroir__list li:last-child {
    border-bottom: none;
}

.cat-terroir__list li::before {
    content: '-';
    margin-right: 8px;
    color: var(--color-brand);
}

.cat-cta-strip {
    padding: 56px 0;
    background-color: var(--color-brand);
}

.cat-cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cat-cta-strip__text {
    flex: 1;
    min-width: 0;
}

.cat-cta-strip__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.6;
}

.cat-cta-strip__desc {
    font-size: 0.95rem;
    color: #d4c4a8;
    margin: 0;
    line-height: 1.6;
}

.cat-cta-strip__btn {
    display: inline-block;
    background-color: var(--color-cta);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.cat-cta-strip__btn:hover {
    background-color: #c8880e;
}

@media (max-width: 768px) {
    .cat-hero {
        min-height: 380px;
    }

    .cat-hero__title {
        font-size: 1.7rem;
    }

    .cat-hero__subtitle {
        font-size: 0.95rem;
    }

    .cat-hero__content {
        padding: 40px 16px;
    }

    .cat-articles {
        padding: 40px 0 32px;
    }

    .cat-articles__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .cat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cat-editorial {
        padding: 40px 0;
    }

    .cat-editorial__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cat-editorial__heading {
        font-size: 1.3rem;
    }

    .cat-accordion-section {
        padding: 40px 0;
    }

    .cat-section-title {
        font-size: 1.3rem;
    }

    .cat-comparison {
        padding: 40px 0;
    }

    .cat-table {
        font-size: 0.82rem;
    }

    .cat-table thead th,
    .cat-table td {
        padding: 10px 12px;
    }

    .cat-terroir {
        padding: 40px 0;
    }

    .cat-terroir__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .cat-cta-strip {
        padding: 40px 0;
    }

    .cat-cta-strip__inner {
        flex-direction: column;
        text-align: center;
    }

    .cat-cta-strip__title {
        font-size: 1.15rem;
    }

    .cat-cta-strip__btn {
        width: 100%;
        text-align: center;
    }

    .cat-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .cat-hero__title {
        font-size: 1.4rem;
    }

    .cat-articles__title {
        font-size: 1.2rem;
    }

    .cat-editorial__heading {
        font-size: 1.15rem;
    }

    .cat-terroir__grid {
        grid-template-columns: 1fr;
    }

    .cat-accordion__summary {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    .cat-card__visual {
        height: 160px;
    }
}