.hsg-guide,
.hsg-links {
    --hsg-navy: #1a3875;
    --hsg-ink: #253757;
    --hsg-line: #b9cde2;
    --hsg-cream: #fcf4e9;
    --hsg-gold: #f3d3a9;
    color: var(--hsg-ink);
}

.hsg-guide {
    margin-inline: clamp(20px, 3vw, 54px);
    padding: clamp(7rem, 10vw, 9.5rem) 0 clamp(3rem, 6vw, 6rem);
}

.hsg-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    min-height: 350px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--hsg-navy);
    color: #fff;
}

.hsg-hero__text {
    align-self: center;
    padding: clamp(1.5rem, 4.5vw, 5rem);
}

.hsg-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(2rem, 4.1vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.hsg-hero p {
    max-width: 62ch;
    margin: 1.1rem 0 0;
    color: #edf3fb;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    text-align: start;
}

.hsg-hero__image {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
    background: var(--hsg-cream);
}

.hsg-guide--hypnoza .hsg-hero__image,
.hsg-guide--online .hsg-hero__image {
    object-fit: contain;
}

.hsg-guide--hypnoza .hsg-hero__image {
    background: #ecf3f8;
}

.hsg-guide--vzdelani .hsg-hero__image {
    object-position: center 30%;
}

.hsg-button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 1.4rem;
    padding: .65rem 1rem;
    border-radius: 8px;
    background: var(--hsg-gold);
    color: #142c5c;
    font-weight: 700;
}

.hsg-button:hover {
    background: #fff;
}

.hsg-layout {
    display: grid;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    margin-top: clamp(2rem, 5vw, 4.5rem);
}

.hsg-content {
    min-width: 0;
    font-size: clamp(1rem, 1.35vw, 1.175rem);
    line-height: 1.65;
}

.hsg-guide > .hsg-content {
    margin-top: 2rem;
}

.hsg-content h2 {
    margin: 2rem 0 .55rem;
    color: var(--hsg-navy);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
}

.hsg-content h2:first-child {
    margin-top: 0;
}

.hsg-content p {
    margin: 0 0 1rem;
    text-align: start;
}

.hsg-content a {
    color: var(--hsg-navy);
    text-decoration: underline;
    text-underline-offset: .15em;
}

.hsg-content ul {
    margin: 0 0 1rem;
    padding-inline-start: 1.5em;
    list-style: disc;
}

.hsg-content li + li {
    margin-top: .5rem;
}

.hsg-guide--vzdelani .hsg-content h2:not(:first-child) {
    border-top: 1px solid var(--hsg-line);
    padding-top: 1.15rem;
}

.hsg-links {
    margin: 0;
}

.hsg-links--section,
.hsg-links--service,
.hsg-links--price {
    margin-top: .75rem;
}

.hsg-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsg-links--service ul,
.hsg-links--price ul {
    justify-content: center;
}

.hsg-links a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    color: var(--hsg-navy);
    font-weight: 700;
    line-height: 1.35;
    text-align: start;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .2em;
}

.hsg-links a:hover {
    text-decoration-color: currentColor;
}

.hsg-links a:focus-visible,
.hsg-button:focus-visible {
    outline: 2px solid #217fc1;
    outline-offset: 3px;
}

.hsg-links--section a {
    padding: .5rem .9rem;
    border-radius: 8px;
    background: #fff;
}

.hsg-links--related {
    padding: clamp(1.15rem, 2.4vw, 2rem);
    border-radius: 12px;
    background: #f6f9fd;
}

.hsg-links--related h2 {
    margin: 0 0 .55rem;
    color: var(--hsg-navy);
    font-size: 1.2rem;
    font-weight: 700;
}

.hsg-links--related ul {
    display: block;
}

.hsg-links--related li + li {
    border-top: 1px solid var(--hsg-line);
}

.hsg-links--related a {
    width: 100%;
    justify-content: space-between;
    padding-block: .55rem;
}

.hsg-service-option {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hsg-service-option > .service-selector-card {
    flex: 1 1 auto;
}

@media (min-width: 1050px) {
    .hsg-layout--with-related {
        grid-template-columns: minmax(0, 3fr) minmax(245px, 1fr);
    }
}

@media (max-width: 680px) {
    .hsg-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hsg-hero__image {
        height: clamp(180px, 55vw, 285px);
    }
}
