.glh-home {
    padding: 18px 0 0;
}

.glh-shell {
    width: min(calc(100% - 32px), var(--cpost-shell));
    margin: 0 auto;
}

.glh-hero {
    padding: 10px 0 22px;
}

.glh-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.glh-kicker,
.glh-panel-label,
.glh-tool-badge,
.glh-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.glh-kicker,
.glh-panel-label,
.glh-tool-badge {
    background: #eef4fb;
    color: #235298;
}

.glh-hero-copy {
    padding: 22px 0 10px;
}

.glh-hero-copy h1 {
    max-width: 760px;
    margin: 16px 0 12px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    color: var(--cpost-text);
}

.glh-hero-copy p {
    max-width: 650px;
    margin: 0;
    color: var(--cpost-muted);
    font-size: 18px;
    line-height: 1.72;
}

.glh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.glh-home .glh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid var(--cpost-blue);
    background: var(--cpost-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(31, 111, 255, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.glh-home .glh-button:link,
.glh-home .glh-button:visited,
.glh-home .glh-button:hover,
.glh-home .glh-button:focus {
    color: #ffffff;
    text-decoration: none;
}

.glh-home .glh-button:hover,
.glh-tool-card:hover,
.glh-category-card:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.glh-home .glh-button-secondary {
    background: #ffffff;
    color: var(--cpost-blue);
    border-color: #cbd8ef;
    box-shadow: none;
}

.glh-home .glh-button-secondary:link,
.glh-home .glh-button-secondary:visited,
.glh-home .glh-button-secondary:hover,
.glh-home .glh-button-secondary:focus {
    color: var(--cpost-blue);
}

.glh-trending {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    color: var(--cpost-muted);
    font-size: 14px;
}

.glh-trending span {
    font-weight: 700;
    color: #24364f;
}

.glh-trending a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #d7e2f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #40516b;
}

.glh-home .glh-trending a:link,
.glh-home .glh-trending a:visited,
.glh-home .glh-trending a:hover,
.glh-home .glh-trending a:focus,
.glh-home .glh-panel-links a:link,
.glh-home .glh-panel-links a:visited,
.glh-home .glh-panel-links a:hover,
.glh-home .glh-panel-links a:focus,
.glh-home .glh-inline-link:link,
.glh-home .glh-inline-link:visited,
.glh-home .glh-inline-link:hover,
.glh-home .glh-inline-link:focus {
    text-decoration: none;
}

.glh-hero-panel,
.glh-tool-card,
.glh-category-card,
.glh-story-panel,
.glh-story-item {
    border: 1px solid rgba(217, 226, 236, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--cpost-shadow);
}

.glh-hero-panel {
    padding: 22px;
    align-self: end;
}

.glh-panel-head {
    display: grid;
    gap: 8px;
}

.glh-panel-head strong {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--cpost-text);
}

.glh-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 18px;
}

.glh-search input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd8e5;
    border-radius: 12px;
    background: #ffffff;
    font: inherit;
}

.glh-search button {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--cpost-blue);
    border-radius: 12px;
    background: var(--cpost-blue);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.glh-panel-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.glh-panel-links a {
    display: block;
    padding: 12px 14px;
    border: 1px solid #dce6f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #2a4162;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
}

.glh-home .glh-panel-links a:link,
.glh-home .glh-panel-links a:visited {
    color: #2a4162;
}

.glh-section {
    padding: 30px 0;
}

.glh-section-tight {
    padding-top: 22px;
}

.glh-section-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.glh-section-head h2 {
    margin: 12px 0 10px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    color: var(--cpost-text);
}

.glh-section-head p,
.glh-story-copy p,
.glh-copy-grid p,
.glh-tool-card p,
.glh-category-card p,
.glh-story-item p {
    margin: 0;
    color: var(--cpost-muted);
    font-size: 16px;
    line-height: 1.76;
}

.glh-section-head-inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
}

.glh-inline-link {
    color: #3a5172;
    font-size: 14px;
    font-weight: 700;
}

.glh-home .glh-inline-link:link,
.glh-home .glh-inline-link:visited {
    color: #3a5172;
}

.glh-category-grid,
.glh-tool-grid {
    display: grid;
    gap: 18px;
}

.glh-category-grid,
.glh-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glh-category-card,
.glh-tool-card {
    display: block;
    padding: 22px 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.glh-category-pill {
    border: 1px solid currentColor;
    background: transparent;
}

.glh-category-card.is-blue {
    color: var(--cpost-finance);
}

.glh-category-card.is-green {
    color: var(--cpost-health);
}

.glh-category-card.is-orange {
    color: var(--cpost-converter);
}

.glh-category-card h3,
.glh-tool-card h3 {
    margin: 16px 0 10px;
    color: var(--cpost-text);
    font-size: 28px;
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.glh-tool-card h3 {
    font-size: 30px;
}

.glh-story {
    padding-top: 18px;
}

.glh-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
    gap: 26px;
    align-items: start;
}

.glh-story-copy h2 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: var(--cpost-text);
}

.glh-story-copy p + p {
    margin-top: 16px;
}

.glh-story-panel {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.glh-story-item {
    padding: 16px;
    box-shadow: none;
}

.glh-story-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #1f324d;
}

.glh-copy {
    padding-bottom: 40px;
}

.glh-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 1120px) {
    .glh-hero-shell,
    .glh-story-grid {
        grid-template-columns: 1fr;
    }

    .glh-category-grid,
    .glh-tool-grid,
    .glh-copy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .glh-shell {
        width: min(calc(100% - 20px), var(--cpost-shell));
    }

    .glh-search,
    .glh-category-grid,
    .glh-tool-grid,
    .glh-copy-grid {
        grid-template-columns: 1fr;
    }

    .glh-hero-copy h1 {
        font-size: 40px;
    }

    .glh-panel-head strong,
    .glh-category-card h3,
    .glh-tool-card h3 {
        font-size: 24px;
    }
}
