:root {
    --color-brand: #9a3412;
    --color-cta: #32bae7;
    --color-brand-dark: #7a2a0e;
    --color-brand-light: #b8451a;
    --text-main: #222;
    --text-muted: #666;
    --text-light: #999;
    --border: #ddd;
    --bg-light: #f8f5f3;
    --bg-card: #fff;
    --font-main: 'Trebuchet MS', Helvetica, sans-serif;
}

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

html, body {
    overflow-x: hidden;
}

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

.cat-main {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-main);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

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

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

.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(90, 20, 5, 0.72);
    z-index: 1;
    display: flex;
    align-items: center;
}

.cat-hero__content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
}

.cat-hero__eyebrow {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px;
}

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

.cat-hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

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

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

.cat-articles {
    padding: 64px 0;
    background-color: var(--bg-light);
}

.cat-articles__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 8px;
}

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

.cat-articles__count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

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

.cat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.cat-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cat-card__img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #e0d8d4;
    flex-shrink: 0;
}

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

.cat-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-card__date {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
}

.cat-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

.cat-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-card__title a:hover {
    color: var(--color-brand);
}

.cat-card__title a:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
    border-radius: 2px;
}

.cat-card__desc {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-empty {
    text-align: center;
    padding: 72px 24px;
}

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

.cat-empty__text {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

.cat-stats {
    padding: 72px 0;
    background-color: var(--color-brand);
}

.cat-stats__title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.6;
    text-align: center;
}

.cat-stats__intro {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

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

.cat-stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}

.cat-stat-item__number {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 8px;
}

.cat-stat-item__label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    line-height: 1.6;
}

.cat-stats__disclaimer {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    margin: 36px 0 0;
    line-height: 1.6;
}

.cat-table-section {
    padding: 72px 0;
    background-color: #fff;
}

.cat-table__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 12px;
    line-height: 1.6;
}

.cat-table__intro {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 0 32px;
    max-width: 700px;
    line-height: 1.6;
}

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

.cat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    font-weight: 400;
    min-width: 620px;
}

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

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

.cat-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s;
}

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

.cat-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

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

.cat-table tbody td {
    padding: 14px 18px;
    color: var(--text-main);
    vertical-align: top;
    line-height: 1.6;
}

.cat-table tbody td:first-child {
    font-weight: 700;
    color: var(--color-brand);
}

.cat-table__note {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 16px 0 0;
    line-height: 1.6;
}

.cat-accordion-section {
    padding: 72px 0;
    background-color: var(--bg-light);
}

.cat-accordion__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 12px;
    line-height: 1.6;
}

.cat-accordion__intro {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 0 36px;
    max-width: 680px;
    line-height: 1.6;
}

.cat-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 860px;
}

.cat-accordion__item {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.cat-accordion__toggle {
    display: none;
}

.cat-accordion__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.6;
    user-select: none;
    transition: background-color 0.15s;
}

.cat-accordion__label:hover {
    background-color: var(--bg-light);
}

.cat-accordion__label span {
    flex: 1;
}

.cat-accordion__arrow {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cat-accordion__toggle:checked ~ .cat-accordion__label .cat-accordion__arrow {
    transform: rotate(180deg);
}

.cat-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cat-accordion__toggle:checked ~ .cat-accordion__body {
    max-height: 400px;
}

.cat-accordion__body p {
    padding: 16px 22px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid var(--border);
}

.cat-cta-section {
    padding: 64px 0;
    background-color: #fff;
}

.cat-cta-block {
    background-color: var(--color-brand);
    border-radius: 8px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

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

.cat-cta-block__title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.6;
}

.cat-cta-block__desc {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    line-height: 1.6;
}

.cat-cta-block__actions {
    flex-shrink: 0;
}

.cat-cta-btn {
    display: inline-block;
    background-color: var(--color-cta);
    color: #fff;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.cat-cta-btn:hover {
    background-color: #1fa8d4;
}

.cat-cta-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

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

    .cat-hero__content {
        padding: 48px 20px;
    }

    .cat-hero__title {
        font-size: 30px;
    }

    .cat-hero__subtitle {
        font-size: 16px;
    }

    .cat-wrapper {
        width: 100%;
        padding: 0 16px;
    }

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

    .cat-articles__header {
        flex-direction: column;
        gap: 4px;
    }

    .cat-articles__title {
        font-size: 22px;
    }

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

    .cat-card__img-wrap {
        height: 180px;
    }

    .cat-stats {
        padding: 48px 0;
    }

    .cat-stats__title {
        font-size: 24px;
    }

    .cat-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-stat-item {
        padding: 24px 16px;
    }

    .cat-stat-item__number {
        font-size: 36px;
    }

    .cat-table-section {
        padding: 48px 0;
    }

    .cat-table__title {
        font-size: 22px;
    }

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

    .cat-accordion__title {
        font-size: 22px;
    }

    .cat-accordion__label {
        font-size: 15px;
        padding: 16px 18px;
    }

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

    .cat-cta-block {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .cat-cta-block__title {
        font-size: 22px;
    }

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

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

    .cat-hero__eyebrow {
        font-size: 11px;
    }

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

    .cat-stat-item__number {
        font-size: 44px;
    }

    .cat-accordion__label {
        font-size: 14px;
        padding: 14px 16px;
    }

    .cat-table {
        font-size: 13px;
    }

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