html, body {
    overflow-x: hidden;
}
*, *::before, *::after {
    box-sizing: border-box;
}
img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

:root {
    --color-brand: #166534;
    --color-cta: #FF6B00;
    --text-muted: #777;
    --border: #ddd;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

a {
    color: var(--color-brand);
}

a:focus-visible {
    outline: 2px solid var(--color-cta);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-brand);
    color: #fff;
    padding: 8px 16px;
    z-index: 99999;
    font-size: 0.88rem;
    font-weight: 700;
}
.skip-link:focus {
    left: 0;
}

.cat-hero {
    background-color: #166534;
    color: #fff;
    padding: 80px 0 60px;
}
.cat-hero h1, .cat-hero p, .cat-hero span, .cat-hero strong {
    color: #fff;
}
.cat-hero__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-hero__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}
.cat-hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
}
.cat-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: 0.92;
}
.cat-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.cat-hero__stat-item {
    text-align: left;
}
.cat-hero__stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: #FF6B00;
}
.cat-hero__stat-label {
    font-size: 0.82rem;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}
.cat-hero__visual {
    position: relative;
}
.cat-hero__visual-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.cat-articles {
    padding: 56px 0 48px;
    background-color: #fff;
}
.cat-articles__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.cat-articles__header h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #166534;
    margin: 0;
    line-height: 1.3;
}
.cat-articles__count {
    font-size: 0.88rem;
    color: #888;
}
.cat-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.cat-card {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cat-card__img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #e0e0e0;
}
.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;
}
.cat-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}
.cat-card__title a {
    color: #166534;
    text-decoration: none;
}
.cat-card__title a:hover {
    text-decoration: underline;
    color: #FF6B00;
}
.cat-card__desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 14px;
    flex: 1;
}
.cat-card__date {
    font-size: 0.78rem;
    color: #999;
}
.cat-card:hover {
    border-color: var(--color-brand);
}
.cat-empty {
    text-align: center;
    padding: 64px 20px;
    color: #888;
}
.cat-empty__icon {
    display: block;
    margin: 0 auto 16px;
}
.cat-empty p {
    font-size: 1rem;
    line-height: 1.6;
}
.cat-intro {
    background-color: #f0f7f0;
    padding: 56px 0;
}
.cat-intro__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.cat-intro__text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 18px;
    line-height: 1.3;
}
.cat-intro__text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 16px;
}
.cat-intro__topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cat-intro__topic-item {
    background-color: #fff;
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid #d4e8d4;
    border-left: 3px solid var(--color-brand);
}
.cat-intro__topic-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 4px;
}
.cat-intro__topic-item span {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
}
.cat-guide {
    background-color: #166534;
    padding: 56px 0;
}
.cat-guide__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.cat-guide h2, .cat-guide p, .cat-guide td, .cat-guide th, .cat-guide span, .cat-guide strong {
    color: #fff;
}
.cat-guide h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.3;
}
.cat-guide p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 14px;
    opacity: 0.92;
}
.cat-guide__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-guide__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.cat-guide__table th {
    text-align: left;
    padding: 12px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #FF6B00;
    color: #fff;
}
.cat-guide__table td {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.cat-guide__table tr:last-child td {
    border-bottom: none;
}
.cat-guide__table td strong {
    color: #FF6B00;
    font-weight: 700;
}
.cat-calculator {
    background-color: #f7f7f5;
    padding: 56px 0;
}
.cat-calculator__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-calculator__head {
    text-align: center;
    margin-bottom: 36px;
}
.cat-calculator__head h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 10px;
    line-height: 1.3;
}
.cat-calculator__head p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.cat-calculator__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.cat-calc-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.cat-calc-group input,
.cat-calc-group select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}
.cat-calc-group input:focus,
.cat-calc-group select:focus {
    outline: 2px solid #166534;
    outline-offset: 1px;
}
.cat-calculator__result {
    margin-top: 24px;
    text-align: center;
    padding: 24px;
    background-color: var(--color-brand);
    border-radius: 8px;
    grid-column: 1 / -1;
}
.cat-calculator__result-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 4px;
}
.cat-calculator__result-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FF6B00;
    display: block;
}
.cat-calculator__result-detail {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    display: block;
}
.cat-mega {
    background-color: #fff;
    padding: 56px 0;
    border-top: 1px solid #e8e8e8;
}
.cat-mega__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-mega__head {
    margin-bottom: 32px;
}
.cat-mega__head h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 8px;
    line-height: 1.3;
}
.cat-mega__head p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.cat-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.cat-mega__block {
    background-color: #f5f5f2;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e0e0dc;
    border-top: 3px solid var(--color-brand);
}
.cat-mega__block-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 14px;
    line-height: 1.3;
}
.cat-mega__block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cat-mega__block li {
    font-size: 0.88rem;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #e8e8e4;
    line-height: 1.5;
}
.cat-mega__block li:last-child {
    border-bottom: none;
}
.cat-mega__block li strong {
    color: #166534;
    font-weight: 700;
}
.cat-mega__block li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-cta);
    margin-right: 8px;
    vertical-align: middle;
}
.cat-faq {
    background-color: #f0f7f0;
    padding: 56px 0;
}
.cat-faq__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-faq h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 28px;
    text-align: center;
    line-height: 1.3;
}
.cat-faq__list {
    max-width: 780px;
    margin: 0 auto;
}
.cat-faq__item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d4e8d4;
}
.cat-faq__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.cat-faq__q {
    font-size: 1rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 6px;
    line-height: 1.5;
}
.cat-faq__a {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}
.cat-disclaimer {
    padding: 32px 0;
    background-color: #fff;
}
.cat-disclaimer__inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.cat-disclaimer p {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}
@media (max-width: 768px) {
    .cat-hero {
        padding: 48px 0 36px;
    }
    .cat-hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cat-hero__title {
        font-size: 2rem;
    }
    .cat-hero__subtitle {
        font-size: 1rem;
    }
    .cat-hero__stats {
        gap: 20px;
    }
    .cat-hero__stat-value {
        font-size: 1.5rem;
    }
    .cat-hero__visual-img {
        height: 200px;
    }
    .cat-intro__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cat-intro__topics {
        grid-template-columns: 1fr;
    }
    .cat-articles__grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }
    .cat-articles__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .cat-guide__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cat-guide__table {
        min-width: 400px;
    }
    .cat-calculator__body {
        grid-template-columns: 1fr;
    }
    .cat-calculator__result {
        grid-column: 1;
    }
    .cat-mega__grid {
        grid-template-columns: 1fr;
    }
    .cat-mega__block {
        min-width: 0;
    }
}
@media (max-width: 480px) {
    .cat-hero__title {
        font-size: 1.65rem;
    }
    .cat-hero__stat-value {
        font-size: 1.3rem;
    }
    .cat-intro__text h2,
    .cat-guide h2,
    .cat-calculator__head h2,
    .cat-mega__head h2,
    .cat-faq h2 {
        font-size: 1.35rem;
    }
    .cat-card__body {
        padding: 16px;
    }
    .cat-guide__table th,
    .cat-guide__table td {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .cat-calc-group input,
    .cat-calc-group select {
        font-size: 16px;
    }
}