:root {
    --cgeh-text: #1f1d1a;
    --cgeh-muted: #6f6a63;
    --cgeh-border: #e8e2da;
    --cgeh-soft: #f8f6f2;
    --cgeh-accent: #5d3b24;
    --cgeh-white: #ffffff;
}

.cgeh-home,
.cgeh-home * {
    box-sizing: border-box;
}

.cgeh-home {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 88px;
    color: var(--cgeh-text);
}

.cgeh-home a {
    color: inherit;
    text-decoration: none;
}

.cgeh-home a:focus-visible {
    outline: 2px solid var(--cgeh-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.cgeh-hero {
    padding-bottom: 48px;
}

.cgeh-kicker {
    margin-bottom: 14px;
    color: var(--cgeh-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.cgeh-hero-heading,
.cgeh-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.cgeh-hero h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.cgeh-root-description {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--cgeh-muted);
    font-size: 15px;
    line-height: 1.8;
}

.cgeh-root-link,
.cgeh-more-link {
    flex: 0 0 auto;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    color: var(--cgeh-accent);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.cgeh-category-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 42px;
    overflow: hidden;
    border: 1px solid var(--cgeh-border);
    border-radius: 14px;
    background: var(--cgeh-border);
}

.cgeh-category-overview-item {
    min-height: 154px;
    padding: 24px;
    background: var(--cgeh-white);
    transition: background-color 160ms ease;
}

.cgeh-category-overview-item:hover {
    background: var(--cgeh-soft);
}

.cgeh-category-overview-title,
.cgeh-category-overview-description {
    display: block;
}

.cgeh-category-overview-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.cgeh-category-overview-description {
    color: var(--cgeh-muted);
    font-size: 13px;
    line-height: 1.65;
}

.cgeh-category-section,
.cgeh-recommended {
    padding: 48px 0;
    border-top: 1px solid var(--cgeh-border);
}

.cgeh-section-heading {
    margin-bottom: 24px;
}

.cgeh-section-heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.cgeh-section-heading p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--cgeh-muted);
    font-size: 14px;
    line-height: 1.75;
}

.cgeh-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.cgeh-post-card {
    min-width: 0;
}

.cgeh-post-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: var(--cgeh-soft);
}

.cgeh-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.cgeh-post-card:hover .cgeh-post-card-media img {
    transform: scale(1.025);
}

.cgeh-post-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #9a8d80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.cgeh-post-card-body {
    padding-top: 15px;
}

.cgeh-post-date {
    display: block;
    margin-bottom: 7px;
    color: #8c857d;
    font-size: 12px;
}

.cgeh-post-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.025em;
}

.cgeh-post-card h3 a:hover {
    color: var(--cgeh-accent);
}

.cgeh-post-card p {
    margin: 9px 0 0;
    color: var(--cgeh-muted);
    font-size: 13px;
    line-height: 1.65;
}

.cgeh-section-heading--compact {
    margin-bottom: 20px;
}

.cgeh-recommended-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--cgeh-border);
    list-style: none;
}

.cgeh-recommended-list li {
    border-bottom: 1px solid var(--cgeh-border);
}

.cgeh-recommended-list li:nth-child(odd) {
    border-right: 1px solid var(--cgeh-border);
}

.cgeh-recommended-list a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 94px;
    padding: 18px 20px;
}

.cgeh-recommended-list a:hover {
    background: var(--cgeh-soft);
}

.cgeh-recommended-number {
    color: #a0968c;
    font-size: 12px;
    font-weight: 700;
}

.cgeh-recommended-copy {
    min-width: 0;
}

.cgeh-recommended-category,
.cgeh-recommended-title {
    display: block;
}

.cgeh-recommended-category {
    margin-bottom: 4px;
    color: var(--cgeh-accent);
    font-size: 11px;
    font-weight: 700;
}

.cgeh-recommended-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.cgeh-recommended-arrow {
    color: #9b9289;
}

.cgeh-empty {
    margin: 0;
    padding: 28px;
    border-radius: 10px;
    background: var(--cgeh-soft);
    color: var(--cgeh-muted);
    font-size: 14px;
}

@media (max-width: 920px) {
    .cgeh-home {
        width: min(100% - 32px, 1180px);
        padding-top: 40px;
    }

    .cgeh-category-overview,
    .cgeh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cgeh-hero-heading,
    .cgeh-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 620px) {
    .cgeh-home {
        width: min(100% - 24px, 1180px);
        padding: 28px 0 64px;
    }

    .cgeh-hero {
        padding-bottom: 36px;
    }

    .cgeh-category-overview,
    .cgeh-card-grid,
    .cgeh-recommended-list {
        grid-template-columns: 1fr;
    }

    .cgeh-category-overview-item {
        min-height: 0;
        padding: 20px;
    }

    .cgeh-category-section,
    .cgeh-recommended {
        padding: 36px 0;
    }

    .cgeh-recommended-list li:nth-child(odd) {
        border-right: 0;
    }

    .cgeh-recommended-list a {
        min-height: 84px;
        padding: 16px 8px;
    }
}
