:root {
    --color-brand: #0d47a1;
    --color-cta: #ff6d00;
    --text-muted: #666;
    --border: #ddd;
    --font-main: Tahoma, Geneva, sans-serif;
}

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

html, body {
    overflow-x: hidden;
}

* {
    font-family: var(--font-main);
    line-height: 1.6;
}

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

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

.cat-hero {
    background-color: var(--color-brand);
    padding: 72px 24px 56px;
    text-align: center;
}

.cat-hero__inner {
    max-width: 820px;
    margin: 0 auto;
}

.cat-hero__icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

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

.cat-hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 28px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
}

.cat-hero__meta {
    display: flex;
    justify-content: center;
}

.cat-hero__count {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 4px;
}

.cat-filters {
    background-color: #f0f4fb;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}

.cat-filters__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-filters__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-brand);
}

.cat-filters__btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-filter-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    border: 1.5px solid var(--color-brand);
    background-color: #fff;
    color: var(--color-brand);
    font-size: 0.88rem;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.cat-filter-btn:hover {
    background-color: var(--color-brand);
    color: #fff;
}

.cat-filter-btn--active {
    background-color: var(--color-brand);
    color: #fff;
}

.cat-timeline {
    padding: 48px 24px;
    background-color: #fff;
}

.cat-timeline__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cat-timeline__track {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 24px;
    align-items: stretch;
    min-width: 0;
}

.tl-item__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
}

.tl-item__dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.tl-item__line {
    width: 2px;
    flex: 1;
    background-color: var(--border);
    margin-top: 4px;
}

.tl-item:last-child .tl-item__line {
    display: none;
}

.tl-item__card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    background-color: #fff;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.06);
    transition: box-shadow 0.2s;
}

.tl-item__card:hover {
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.12);
}

.tl-item__img-wrap {
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e8eef8;
}

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

.tl-item__body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tl-item__date {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}

.tl-item__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    overflow-wrap: break-word;
}

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

.tl-item__title a:hover {
    color: #1565c0;
}

.tl-item__desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: #444;
    margin: 0;
    overflow-wrap: break-word;
}

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

.cat-empty__inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cat-empty__text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.cat-data {
    background-color: #f0f4fb;
    padding: 56px 24px;
    border-top: 1px solid var(--border);
}

.cat-data__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cat-data__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 12px;
}

.cat-data__intro {
    font-size: 1rem;
    font-weight: 400;
    color: #444;
    margin: 0 0 28px;
    max-width: 700px;
    overflow-wrap: break-word;
}

.cat-data__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cat-data__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 480px;
}

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

.cat-data__table thead th {
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
}

.cat-data__table tbody tr {
    border-bottom: 1px solid var(--border);
    background-color: #fff;
}

.cat-data__table tbody tr:nth-child(even) {
    background-color: #e8eef8;
}

.cat-data__table tbody td {
    padding: 11px 16px;
    color: #333;
    font-weight: 400;
}

.cat-data__table tbody tr:hover td {
    background-color: #d6e4fa;
    color: #333;
}

.cat-data__note {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 16px 0 0;
    overflow-wrap: break-word;
}

.cat-themes {
    background-color: #fff;
    padding: 56px 24px;
    border-top: 1px solid var(--border);
}

.cat-themes__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cat-themes__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 32px;
}

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

.cat-theme-card {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 24px 20px;
    background-color: #f0f4fb;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cat-theme-card__icon {
    color: var(--color-brand);
    margin-bottom: 14px;
    display: block;
}

.cat-theme-card__name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.cat-theme-card__text {
    font-size: 0.92rem;
    font-weight: 400;
    color: #444;
    margin: 0;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .cat-hero {
        padding: 48px 16px 36px;
    }

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

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

    .cat-filters {
        padding: 12px 16px;
    }

    .cat-filters__inner {
        gap: 12px;
    }

    .cat-timeline {
        padding: 32px 16px;
    }

    .tl-item {
        grid-template-columns: 32px 1fr;
        gap: 0 12px;
    }

    .tl-item__dot {
        width: 22px;
        height: 22px;
    }

    .tl-item__card {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
    }

    .tl-item__img-wrap {
        height: 180px;
    }

    .tl-item__img-wrap img {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }

    .tl-item__body {
        padding: 16px;
    }

    .tl-item__title {
        font-size: 1rem;
    }

    .cat-data {
        padding: 36px 16px;
    }

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

    .cat-data__table {
        font-size: 0.88rem;
    }

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

    .cat-themes {
        padding: 36px 16px;
    }

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

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

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

    .tl-item {
        grid-template-columns: 24px 1fr;
        gap: 0 8px;
    }

    .tl-item__dot {
        width: 18px;
        height: 18px;
    }

    .cat-filter-btn {
        font-size: 0.82rem;
        padding: 5px 12px;
    }

    .tl-item__img-wrap {
        height: 140px;
    }

    .tl-item__img-wrap img {
        height: 140px;
    }
}