
:root {
    --thl-guide-text: #14231d;
    --thl-guide-muted: #4c5b54;
    --thl-guide-green: #60775a;
    --thl-guide-green-dark: #50684b;
    --thl-guide-soft: #eef3eb;
    --thl-guide-card: #f8f7f1;
    --thl-guide-border: #deddd4;
}

.thl-guide-page {
    color: var(--thl-guide-text);
    background: #fff;
}

.thl-guide-page * {
    box-sizing: border-box;
}

.thl-guide-header {
    padding: 72px 20px 40px;
    background: var(--thl-guide-soft);
}

.thl-guide-header-inner {
    width: min(960px, 100%);
    margin: 0 auto;
    text-align: center;
}

.thl-guide-category {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--thl-guide-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.thl-guide-title {
    margin: 0 auto 20px;
    max-width: 900px;
    color: var(--thl-guide-text);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.thl-guide-deck {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 19px;
    line-height: 1.65;
    color: #33433b;
}

.thl-guide-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--thl-guide-muted);
    font-size: 14px;
}

.thl-guide-featured-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 40px auto 0;
}

.thl-guide-featured {
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid var(--thl-guide-border);
}

.thl-guide-layout {
    width: min(1120px, calc(100% - 40px));
    margin: 56px auto 80px;
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    justify-content: center;
    gap: 56px;
    align-items: start;
}

.thl-guide-toc {
    position: relative;
}

.thl-guide-toc-inner {
    position: sticky;
    top: 100px;
    padding: 22px;
    background: var(--thl-guide-card);
    border: 1px solid var(--thl-guide-border);
    border-radius: 14px;
}

.thl-guide-toc-title {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
}

.thl-guide-toc ol {
    margin: 0;
    padding-left: 20px;
}

.thl-guide-toc li {
    margin: 0 0 9px;
    color: var(--thl-guide-muted);
    font-size: 14px;
    line-height: 1.4;
}

.thl-guide-toc a {
    color: inherit;
    text-decoration: none;
}

.thl-guide-toc a:hover {
    color: var(--thl-guide-green);
    text-decoration: underline;
}

.thl-guide-content {
    min-width: 0;
    font-size: 18px;
    line-height: 1.78;
}

.thl-guide-content > *:first-child {
    margin-top: 0;
}

.thl-guide-content p {
    margin: 0 0 1.3em;
}

.thl-guide-content h2 {
    scroll-margin-top: 110px;
    margin: 2.25em 0 .7em;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.thl-guide-content h3 {
    margin: 1.8em 0 .55em;
    font-size: 23px;
    line-height: 1.3;
}

.thl-guide-content ul,
.thl-guide-content ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}

.thl-guide-content li {
    margin-bottom: .45em;
}

.thl-guide-content a {
    color: var(--thl-guide-green-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.thl-guide-category-cta {
    margin-top: 56px;
    padding: 28px;
    border: 1px solid var(--thl-guide-border);
    border-radius: 16px;
    background: var(--thl-guide-soft);
}

.thl-guide-category-cta strong {
    display: block;
    margin-bottom: 6px;
    font-size: 23px;
}

.thl-guide-category-cta p {
    margin-bottom: 18px;
}

.thl-guide-cta-button {
    display: inline-block;
    padding: 11px 16px;
    background: var(--thl-guide-green);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
}

.thl-guide-cta-button:hover {
    background: var(--thl-guide-green-dark);
}

.thl-guide-related {
    padding: 64px 20px 84px;
    background: #fafaf7;
    border-top: 1px solid var(--thl-guide-border);
}

.thl-guide-related-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.thl-guide-related h2 {
    margin: 0 0 26px;
    font-size: 34px;
    line-height: 1.2;
}

.thl-guide-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.thl-guide-related-card {
    overflow: hidden;
    border: 1px solid var(--thl-guide-border);
    border-radius: 14px;
    background: #fff;
}

.thl-guide-related-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--thl-guide-card);
    color: var(--thl-guide-green);
    text-decoration: none;
    font-weight: 700;
}

.thl-guide-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thl-guide-related-body {
    padding: 20px;
}

.thl-guide-related-body h3 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
}

.thl-guide-related-body h3 a {
    color: var(--thl-guide-text);
    text-decoration: none;
}

.thl-guide-related-link {
    color: var(--thl-guide-green-dark);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 900px) {
    .thl-guide-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .thl-guide-toc-inner {
        position: static;
    }

    .thl-guide-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .thl-guide-header {
        padding: 50px 18px 34px;
    }

    .thl-guide-deck {
        font-size: 17px;
    }

    .thl-guide-featured-wrap,
    .thl-guide-layout {
        width: min(100% - 28px, 1120px);
    }

    .thl-guide-layout {
        margin-top: 34px;
        margin-bottom: 58px;
    }

    .thl-guide-content {
        font-size: 17px;
        line-height: 1.72;
    }

    .thl-guide-related-grid {
        grid-template-columns: 1fr;
    }
}
