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

html, body {
    overflow-x: hidden;
}

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

.cat-intro-strip {
    background: #F5E6D8;
    padding: 56px 0;
    border-bottom: 1px solid #E0D0C3;
}

.cat-intro-inner {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 64px;
    flex-wrap: wrap;
}

.cat-intro-text {
    flex: 1 1 380px;
    min-width: 0;
}

.cat-intro-text h2 {
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-variant: small-caps;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.15;
    font-size: clamp(22px, 2.4vw, 32px);
    color: #283593;
    margin: 0 0 20px;
}

.cat-intro-text p {
    color: #2B2B2B;
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.7;
    margin-bottom: 1.4em;
}

.cat-intro-text p:last-child {
    font-size: 14px;
    color: #7A7A7A;
    margin-bottom: 0;
}

.cat-intro-stats {
    flex: 0 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #E0D0C3;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 4px 4px 0 #E0D0C3;
    min-width: 110px;
}

.stat-num {
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    color: #283593;
    line-height: 1.15;
}

.stat-label {
    font-size: 13px;
    color: #7A7A7A;
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-top: 6px;
    text-align: center;
}

.cat-articles-section {
    background: #F5E6D8;
    padding: 64px 0;
}

.cat-articles-inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.cat-section-title {
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-variant: small-caps;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.15;
    font-size: clamp(24px, 2.6vw, 36px);
    color: #283593;
    margin: 0 0 12px;
}

.cat-section-title--light {
    color: #fff;
}

.cat-section-sub {
    font-size: clamp(15px, 1vw, 17px);
    color: #7A7A7A;
    line-height: 1.7;
    margin: 0 0 40px;
}

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

.cat-article-card {
    background: #fff;
    border: 1px solid #E0D0C3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 4px 4px 0 #E0D0C3;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cat-article-card:hover {
    box-shadow: 6px 6px 0 #D4A373;
    border-color: #D4A373;
}

.cat-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #E8D8C8;
}

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

.cat-card-body {
    padding: 20px;
}

.cat-card-date {
    font-size: 13px;
    color: #7A7A7A;
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin: 0 0 10px;
}

.cat-card-title {
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-weight: 400;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.cat-card-title a {
    color: #283593;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-card-title a:hover {
    color: #1a237e;
    text-decoration: underline;
}

.cat-card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cat-empty-state {
    text-align: center;
    padding: 80px 24px;
    color: #7A7A7A;
}

.cat-empty-state svg {
    display: block;
    margin: 0 auto 20px;
}

.cat-empty-state p {
    font-size: 18px;
    color: #7A7A7A;
    line-height: 1.7;
}

.cat-timeline-section {
    background: #283593;
    padding: 72px 0;
}

.cat-timeline-section .cat-section-title {
    color: #fff;
}

.cat-timeline-section .cat-section-sub {
    color: #c5cae9;
}

.cat-timeline-inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.cat-timeline {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.cat-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3949ab;
}

.cat-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.cat-timeline-item:last-child {
    padding-bottom: 0;
}

.cat-timeline-marker {
    flex: 0 0 32px;
    position: relative;
    z-index: 1;
}

.cat-timeline-content {
    flex: 1 1 0;
    min-width: 0;
    background: #3949ab;
    border-radius: 8px;
    padding: 20px 24px;
}

.cat-timeline-content strong {
    display: block;
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.7;
}

.cat-timeline-content p {
    color: #c5cae9;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
}

.cat-accordion-section {
    background: #F5E6D8;
    padding: 72px 0;
}

.cat-accordion-section .cat-section-title {
    color: #283593;
}

.cat-accordion-section .cat-section-sub {
    color: #7A7A7A;
}

.cat-accordion-inner {
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
}

.cat-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-acc-item {
    background: #fff;
    border: 1px solid #E0D0C3;
    border-radius: 8px;
    overflow: hidden;
}

.cat-acc-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.cat-acc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-weight: 400;
    font-size: clamp(16px, 1.2vw, 18px);
    color: #283593;
    line-height: 1.7;
    gap: 16px;
    transition: background-color 0.2s;
}

.cat-acc-label:hover {
    background: #F0E0D0;
}

.cat-acc-icon {
    flex: 0 0 20px;
    transition: transform 0.25s;
}

.cat-acc-toggle:checked ~ .cat-acc-label .cat-acc-icon {
    transform: rotate(180deg);
}

.cat-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
}

.cat-acc-toggle:checked ~ .cat-acc-body {
    max-height: 400px;
}

.cat-acc-body p {
    padding: 0 22px 20px;
    font-size: clamp(15px, 1vw, 16px);
    color: #2B2B2B;
    line-height: 1.7;
    margin: 0;
}

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

.cat-table-inner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.cat-table-inner .cat-section-title {
    color: #283593;
}

.cat-table-inner .cat-section-sub {
    color: #7A7A7A;
}

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

.cat-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 1vw, 15px);
    color: #2B2B2B;
    line-height: 1.7;
}

.cat-data-table thead {
    background: #283593;
}

.cat-data-table thead th {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
}

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

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

.cat-data-table tbody tr:hover {
    background: #F5E6D8;
}

.cat-data-table tbody td {
    padding: 14px 18px;
    vertical-align: top;
    color: #2B2B2B;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cat-data-table tbody td:last-child {
    color: #283593;
    font-weight: 700;
}

.cat-table-note {
    font-size: 13px;
    color: #7A7A7A;
    margin-top: 14px;
    line-height: 1.5;
}

.cat-topics-section {
    background: #283593;
    padding: 72px 0;
}

.cat-topics-section .cat-section-title {
    color: #fff;
}

.cat-topics-section .cat-section-sub {
    color: #c5cae9;
}

.cat-topics-inner {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

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

.cat-topic-card {
    background: #3949ab;
    border-radius: 8px;
    padding: 28px 24px;
    min-width: 0;
    transition: background-color 0.2s;
}

.cat-topic-card:hover {
    background: #1a237e;
}

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

.cat-topic-card strong {
    display: block;
    font-family: 'Palatino', 'Book Antiqua', Georgia, serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.7;
}

.cat-topic-card p {
    font-size: 14px;
    color: #c5cae9;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .cat-intro-inner {
        flex-direction: column;
        gap: 32px;
    }

    .cat-intro-stats {
        width: 100%;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1 1 80px;
        padding: 16px 12px;
    }

    .stat-num {
        font-size: 32px;
    }

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

    .cat-timeline::before {
        left: 11px;
    }

    .cat-timeline-item {
        gap: 16px;
    }

    .cat-timeline-marker {
        flex: 0 0 24px;
    }

    .cat-timeline-marker svg {
        width: 24px;
        height: 24px;
    }

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

    .cat-acc-label {
        padding: 14px 16px;
        font-size: 15px;
    }

    .cat-acc-body p {
        padding: 0 16px 16px;
    }

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

    .cat-intro-strip,
    .cat-articles-section,
    .cat-timeline-section,
    .cat-accordion-section,
    .cat-table-section,
    .cat-topics-section {
        padding: 40px 0;
    }

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

    .cat-data-table tbody td:last-child {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .stat-item {
        min-width: 70px;
    }

    .stat-num {
        font-size: 26px;
    }

    .cat-intro-stats {
        gap: 12px;
    }

    .cat-card-body {
        padding: 14px;
    }

    .cat-topic-card {
        padding: 20px 16px;
    }

    .cat-table-wrap {
        border-radius: 4px;
    }

    .cat-acc-body {
        max-height: none;
    }

    .cat-acc-toggle:checked ~ .cat-acc-body {
        max-height: 600px;
    }
}