:root {
    --hh-green: #1b461f;
    --hh-red: #95372f;
    --hh-bg: #fdfbef;
}

/* Hide title bar on front page */
.home .cspt-title-bar-wrapper {
    display: none;
}

/* Front page layout resets */
body.home {
    margin: 0 !important;
}

body.home #content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Homepage wrapper */
.hh-homepage {
    width: 100%;
}

/* Hero full-width */
.hh-hero {
    position: relative;
    width: 100%;
}

.hh-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero CTA button */
.hh-hero__btn {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 14px 48px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.hh-hero__btn:hover,
.hh-hero__btn:focus {
    background: transparent;
    border-color: currentColor;
}

/* Content sections — full-width background, centered content */
.hh-section {
    background: var(--hh-bg);
    padding: 80px 40px;
}

.hh-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1170px;
    margin: 0 auto;
}

.hh-row--reverse {
    flex-direction: row-reverse;
}

/* Image column — smaller than text column */
.hh-col:first-child {
    flex: 0 0 38%;
    max-width: 38%;
    min-width: 0;
}

/* Text column — takes remaining space */
.hh-col:last-child {
    flex: 1;
    min-width: 0;
}

/* Reversed rows: image is last-child visually but first in DOM */
.hh-row--reverse .hh-col:first-child {
    flex: 0 0 38%;
    max-width: 38%;
}

.hh-col img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Typography */
.hh-section h2 {
    color: var(--hh-green);
    font-family: 'Zen Old Mincho', serif;
    font-size: 2rem;
    margin: 0 0 1rem;
}

/* Section heading (centered, above row — e.g. Consultations) */
.hh-section h2.hh-section__title {
    text-align: center;
    font-size: 2rem;
    margin: 0 auto 40px;
    max-width: 1170px;
}

.hh-section h4,
.hh-section p {
    color: var(--hh-green);
    font-family: 'Zen Old Mincho', serif;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .hh-section {
        padding: 60px 30px;
    }

    .hh-row {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hh-row,
    .hh-row--reverse {
        flex-direction: column;
    }

    .hh-col:first-child,
    .hh-row--reverse .hh-col:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hh-col img {
        max-width: 320px;
        margin: 0 auto;
    }

    .hh-section {
        padding: 40px 20px;
    }

    .hh-section__title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .hh-section h2 {
        font-size: 1.5rem;
    }

    .hh-section p {
        font-size: 1rem;
    }

    .hh-hero {
        display: flex;
        flex-direction: column;
    }

    .hh-hero__btn {
        position: static;
        transform: none;
        margin: 12px auto 0;
        padding: 8px 24px;
        font-size: 0.85rem;
    }
}
