/* ========================================
   GROWHUB HOME PAGE STYLES
   ======================================== */

:root {
    --gh-forest: #165943;
    --gh-forest-light: #286f55;
    --gh-leaf: #2d7a5f;
    --gh-gold: #c9a227;
    --gh-gold-light: #e8c547;
    --gh-cream: #faf8f3;
    --gh-paper: #ffffff;
    --gh-ink: #1a1a1a;
    --gh-muted: #6b7280;
    --gh-line: #e5e7eb;
    --gh-shadow: 0 20px 60px rgba(22, 89, 67, 0.12);
    --gh-radius: 4px;
}

/* ========================================
   HERO - Full-bleed image slider, one slide at a time: no margin on any
   side and no rounded corners, filling the whole screen below the
   navbar. Slides are Media Library images named slider1, slider2,
   slider3... with optional phone versions named slider1mobile,
   slider2mobile... (see mytheme_get_named_media_url() in functions.php
   and front-page.php).
   ======================================== */

.site-main.growhub-home {
    padding-top: var(--mytheme-navbar-height, 72px);
    background: #ffffff;
}

.gh-hero {
    position: relative;
    padding: 0;
    height: calc(100vh - var(--mytheme-navbar-height, 72px) - var(--mytheme-shipping-bar-height, 41px));
    height: calc(100dvh - var(--mytheme-navbar-height, 72px) - var(--mytheme-shipping-bar-height, 41px));
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.gh-hero>.container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.gh-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    background: #f3f4f6;
    opacity: 0;
    animation: ghHeroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.gh-hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gh-hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
}

.gh-hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gh-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide button (slide 2: Landscaping Services, slide 3: Privacy Plants) */
.gh-hero-slide .gh-hero-cta {
    position: absolute;
    left: clamp(24px, 4.5vw, 62px);
    bottom: 40px;
    z-index: 3;
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: #0a3d2e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.gh-hero-slide .gh-hero-cta:hover {
    background: #165943;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.gh-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    display: flex;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateX(-50%);
}

.gh-hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 61, 46, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gh-hero-dot:hover {
    background: rgba(10, 61, 46, 0.6);
}

.gh-hero-dot.is-active {
    background: #0a3d2e;
    transform: scale(1.25);
}

/* Shown only until slider1 is uploaded to the Media Library. */
.gh-hero-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gh-hero-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    color: var(--gh-muted);
}

.gh-hero-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: var(--gh-leaf);
    opacity: 0.55;
}

.gh-hero-placeholder span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes ghHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gh-hero-slider {
        opacity: 1;
        animation: none;
    }

    .gh-hero-track {
        transition: none;
    }
}

@media (max-width: 768px) {

    /* Phones: full-width slider, edge to edge. The WHOLE image is shown
       (object-fit: contain) so nothing is cut off at the sides. If the
       image's shape doesn't exactly match the slider's height, the spare
       space is filled with a soft blurred copy of the same slide instead
       of plain bars. Change the height below to make the phone slider
       taller or shorter. */
    .gh-hero {
        height: clamp(380px, 62vh, 540px);
        height: clamp(380px, 62dvh, 540px);
    }

    .gh-hero-slide {
        overflow: hidden;
        background: #0a3d2e;
    }

    .gh-hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: var(--gh-slide-bg);
        background-size: cover;
        background-position: center;
        filter: blur(22px);
        transform: scale(1.2);
    }

    .gh-hero-slide picture {
        position: relative;
        z-index: 1;
    }

    .gh-hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .gh-hero-slide .gh-hero-cta {
        left: auto;
        right: 12px;
        bottom: 64px;
        padding: 8px 18px;
        font-size: 12px;
    }

    .gh-hero-dots {
        bottom: 8px;
        gap: 7px;
        padding: 5px 10px;
    }

    .gh-hero-dot {
        width: 8px;
        height: 8px;
    }
}

.gh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.gh-btn svg {
    transition: transform 0.3s ease;
}

.gh-btn:hover svg {
    transform: translateX(4px);
}

.gh-btn-primary {
    background: var(--gh-gold);
    color: var(--gh-forest);
    border-color: var(--gh-gold);
}

.gh-btn-primary:hover {
    background: var(--gh-gold-light);
    border-color: var(--gh-gold-light);
    transform: translateY(-3px);
    color: var(--gh-forest);
}

.gh-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.gh-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
}

.gh-btn-gold {
    background: var(--gh-gold);
    color: var(--gh-forest);
    border-color: var(--gh-gold);
}

.gh-btn-gold:hover {
    background: var(--gh-gold-light);
    border-color: var(--gh-gold-light);
    transform: translateY(-3px);
    color: var(--gh-forest);
}

/* ========================================
   SHARED SECTIONS
   ======================================== */

.gh-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gh-leaf);
    margin-bottom: 16px;
}

.gh-eyebrow-light {
    color: var(--gh-gold-light);
}

.gh-section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.gh-section-head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    text-align: left;
    margin-bottom: 40px;
}

.gh-section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--gh-forest);
    margin: 0 0 16px;
}

.gh-section-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gh-muted);
    margin: 0;
}

.gh-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--gh-forest);
    border-radius: 50px;
    color: var(--gh-forest);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gh-view-all:hover {
    background: var(--gh-forest);
    color: #ffffff;
    transform: translateY(-2px);
}

.gh-view-all svg {
    transition: transform 0.3s ease;
}

.gh-view-all:hover svg {
    transform: translateX(3px);
}

/* ========================================
   CATEGORIES
   ======================================== */

.gh-categories {
    padding: 100px 0;
    background: var(--gh-cream);
}

.gh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gh-cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--gh-radius);
    text-decoration: none;
    background: var(--gh-forest);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gh-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(22, 89, 67, 0.25);
}

.gh-cat-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gh-cat-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.gh-cat-card:hover .gh-cat-bg {
    transform: scale(1.08);
}

.gh-cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(22, 89, 67, 0.85) 100%);
    transition: background 0.4s ease;
}

.gh-cat-card:hover .gh-cat-overlay {
    background: linear-gradient(180deg, rgba(22, 89, 67, 0.2) 0%, rgba(22, 89, 67, 0.92) 100%);
}

.gh-cat-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    z-index: 1;
}

.gh-cat-count {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gh-cat-name {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.1;
}

.gh-cat-large .gh-cat-name {
    font-size: 40px;
}

.gh-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gh-gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
}

.gh-cat-card:hover .gh-cat-link {
    opacity: 1;
    transform: translateY(0);
}

.gh-cat-link svg {
    transition: transform 0.3s ease;
}

.gh-cat-card:hover .gh-cat-link svg {
    transform: translateX(4px);
}

/* ========================================
   FEATURED PRODUCTS
   ======================================== */

.gh-featured {
    padding: 100px 0;
    background: var(--gh-paper);
}

.gh-featured .product-grid {
    gap: 24px;
}

/* ========================================
   SERVICES
   ======================================== */

.gh-services {
    padding: 40px 0;
    background: var(--gh-forest);
    position: relative;
    overflow: hidden;
}

.gh-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gh-services-inner {
    padding-right: 46vw;
}

.gh-services-text {
    max-width: 560px;
}

.gh-services-title {
    font-family: Georgia, serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 14px;
}

.gh-services-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px;
}

.gh-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-services-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

.gh-services-list svg {
    flex-shrink: 0;
    color: var(--gh-gold-light);
}

.gh-services-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 46vw;
    overflow: hidden;
}

.gh-services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   WHY NATURE GULF GARDEN
   ======================================== */

.gh-why {
    padding: 100px 0;
    background: var(--gh-cream);
}

.gh-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gh-why-card {
    padding: 36px 28px;
    background: var(--gh-paper);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gh-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gh-shadow);
}

.gh-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: var(--gh-cream);
    border: 1px solid var(--gh-line);
    border-radius: 50%;
    color: var(--gh-leaf);
    transition: all 0.35s ease;
}

.gh-why-card:hover .gh-why-icon {
    background: var(--gh-forest);
    border-color: var(--gh-forest);
    color: var(--gh-gold-light);
    transform: scale(1.05) rotate(-5deg);
}

.gh-why-card h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--gh-forest);
    margin: 0 0 12px;
}

.gh-why-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gh-muted);
    margin: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.gh-testimonials {
    padding: 100px 0;
    background: var(--gh-paper);
}

.gh-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Horizontally-scrolling variant used on the homepage (the full grid
   above is still used on the dedicated "All Reviews" page). Scrolls
   with touch/trackpad/click-drag like any native overflow area, just
   without a visible scrollbar - same treatment already used for the
   single-product thumbnail strip. */
.gh-testimonial-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gh-testimonial-scroll::-webkit-scrollbar {
    display: none;
}

.gh-testimonial-scroll .gh-testimonial {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
}

.gh-testimonials-actions {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.gh-testimonial {
    display: flex;
    flex-direction: column;
    height: 300px;
    overflow: hidden;
    padding: 36px 32px;
    background: var(--gh-cream);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius);
    margin: 0;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gh-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--gh-shadow);
}

.gh-testimonial::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 28px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(201, 162, 39, 0.15);
    pointer-events: none;
}

.gh-testimonial p {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--gh-forest);
    margin: 0 0 28px;
    font-style: italic;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-testimonial footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid var(--gh-line);
}

.gh-testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gh-forest);
    color: var(--gh-gold-light);
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    text-transform: uppercase;
}

.gh-testimonial footer strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gh-forest);
}

.gh-testimonial footer>div span {
    display: block;
    font-size: 13px;
    color: var(--gh-muted);
}

.gh-testimonial-stars {
    display: block;
    color: var(--gh-gold);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

/* ========================================
   ALL REVIEWS PAGE (reviews.php)
   ======================================== */

.reviews-page-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
}

.reviews-page-load-more-sentinel {
    height: 1px;
    width: 100%;
}

.reviews-page-empty {
    text-align: center;
    color: var(--gh-muted);
    font-size: 15px;
}

/* ========================================
   LEAVE A REVIEW
   ======================================== */

.gh-leave-review {
    padding: 100px 0;
    background: var(--gh-cream);
}

.gh-leave-review-sub {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--gh-muted);
}

.gh-leave-review-actions {
    text-align: center;
}

.gh-review-notice {
    max-width: 640px;
    margin: 0 auto 32px;
    padding: 14px 20px;
    border-radius: var(--gh-radius);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.gh-review-notice-success {
    background: rgba(45, 122, 95, 0.12);
    color: var(--gh-forest);
    border: 1px solid rgba(45, 122, 95, 0.3);
}

.gh-review-notice-error {
    background: rgba(178, 48, 48, 0.1);
    color: #b23030;
    border: 1px solid rgba(178, 48, 48, 0.3);
}

.gh-review-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
    background: var(--gh-paper);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Honeypot - kept out of sight and out of tab order for real visitors. */
.gh-review-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.gh-review-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-review-form-row label,
.gh-review-form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-forest);
}

.gh-review-form-row input[type="text"],
.gh-review-form-row textarea {
    padding: 14px 16px;
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--gh-ink);
    background: #ffffff;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.gh-review-form-row input[type="text"]:focus,
.gh-review-form-row textarea:focus {
    border-color: var(--gh-leaf);
}

/* Star rating - CSS-only picker built from radio inputs laid out in
   reverse (5..1) so the ~ sibling selector can light up every star
   up to the hovered/checked one while keeping the DOM in a sane,
   accessible tab order. */
.gh-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
    border: 0;
    padding: 0;
    margin: 0;
}

.gh-star-rating input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.gh-star-rating label {
    font-size: 30px;
    line-height: 1;
    color: var(--gh-line);
    cursor: pointer;
    transition: color 0.15s ease;
}

.gh-star-rating input:checked~label,
.gh-star-rating label:hover,
.gh-star-rating label:hover~label {
    color: var(--gh-gold);
}

.gh-star-rating input:focus-visible+label {
    outline: 2px solid var(--gh-leaf);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ========================================
   NEWSLETTER
   ======================================== */

.gh-newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gh-forest) 0%, var(--gh-leaf) 100%);
    position: relative;
    overflow: hidden;
}

.gh-newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gh-newsletter-text h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
}

.gh-newsletter-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.gh-newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

.gh-newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    min-width: 0;
}

.gh-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.gh-newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    border: none;
    background: var(--gh-gold);
    color: var(--gh-forest);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
}

.gh-newsletter-form button:hover {
    background: var(--gh-gold-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .gh-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .gh-category-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .gh-cat-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gh-services-inner {
        padding-right: 0;
    }

    .gh-services-image {
        position: static;
        width: 100%;
        height: 320px;
        margin-top: 32px;
    }

    .gh-services-text {
        max-width: 100%;
    }

    .gh-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .gh-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gh-section-head-split {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .gh-btn {
        justify-content: center;
        width: 100%;
    }

    .gh-categories,
    .gh-featured,
    .gh-why,
    .gh-testimonials,
    .gh-leave-review {
        padding: 64px 0;
    }

    .gh-services,
    .gh-newsletter {
        padding: 40px 0;
    }

    .gh-category-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
        gap: 10px;
    }

    .gh-cat-name {
        font-size: 20px;
    }

    .gh-cat-large .gh-cat-name {
        font-size: 28px;
    }

    .gh-cat-content {
        padding: 18px;
    }

    .gh-why-grid {
        grid-template-columns: 1fr;
    }

    .gh-why-card {
        padding: 28px 22px;
    }

    .gh-section-head {
        margin-bottom: 36px;
    }

    .gh-section-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .gh-section-desc {
        font-size: 15px;
    }

    .gh-testimonial {
        padding: 28px 24px;
    }

    .gh-testimonial p {
        font-size: 15px;
    }

    .gh-newsletter-form {
        flex-direction: column;
        border-radius: 16px;
    }

    .gh-newsletter-form input {
        padding: 16px 20px;
    }

    .gh-newsletter-form button {
        justify-content: center;
        padding: 16px 20px;
        border-radius: 0;
    }

    .gh-review-form {
        padding: 28px 22px;
    }

    .gh-star-rating label {
        font-size: 26px;
    }

    .gh-services-list li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .gh-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gh-cat-large {
        grid-column: span 1;
    }
}


/* ========================================
   SHOP BY CATEGORY - one large featured tile (the
   category with the most products) plus a 2x2 grid of
   smaller category tiles alongside it.
   ======================================== */

.gh-shop-categories {
    padding: 72px 0;
    background: var(--gh-paper);
}

.gh-shop-cat-head {
    align-items: center;
}

.gh-shop-cat-head .gh-section-title {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 48px);
}

.gh-shop-cat-head .gh-section-title em {
    font-style: italic;
    color: var(--gh-leaf);
}

.gh-shop-cat-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--gh-forest);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.gh-shop-cat-viewall:hover {
    border-color: currentColor;
    gap: 12px;
}

.gh-shop-cat-viewall svg {
    flex-shrink: 0;
}

.gh-shop-cat-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    gap: 16px;
}

.gh-shop-cat-tile {
    position: relative;
    display: block;
    grid-column: span 1;
    grid-row: span 1;
    overflow: hidden;
    border-radius: 22px;
    background: var(--gh-cream);
    text-decoration: none;
    isolation: isolate;
}

/* Product cards on the home page: both top corners rounded to match the
   hero slider and the category tiles (bottom corners keep their style). */
.growhub-home .product-card {
    border-radius: 22px;
}

/* List view (image on the left, details on the right): all four corners
   rounded the same as the slider. */
.growhub-home .product-grid.view-list .product-card {
    border-radius: 22px;
}

/* Grid view on the home page: up to 10 products in ONE row that scrolls
   sideways (swipe on touch, scrollbar / trackpad on desktop) instead of
   wrapping into many rows. List view is untouched - it stays a normal
   vertical list. */
.growhub-home .product-grid.view-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 6px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* room for the hover lift and card shadow, which overflow would
       otherwise clip */
    padding: 10px 6px 24px;
    margin: -10px -6px -10px;
    /* no visible scrollbar - the arrows below handle sideways scrolling */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.growhub-home .product-grid.view-grid::-webkit-scrollbar {
    display: none;
}

/* Wrapper + arrows (added by the small script at the bottom of
   front-page.php). Each arrow only appears when there are more products
   to scroll to in that direction. */
.gh-row-scroller {
    position: relative;
}

.gh-row-arrow {
    position: absolute;
    /* vertical centre of the cards (7px = the row's extra bottom room for
       the card shadow) */
    top: calc(50% - 7px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0a3d2e;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10, 61, 46, 0.3);
    transform: translateY(-50%);
    transition: background 0.25s ease, transform 0.25s ease;
}

.gh-row-arrow[hidden] {
    display: none;
}

.gh-row-arrow:hover {
    background: #165943;
    transform: translateY(-50%) scale(1.06);
}

.gh-row-prev {
    left: -18px;
}

.gh-row-next {
    right: -18px;
}

/* Wide screens have room beside the row, so the arrows sit fully outside
   the cards, centred on the side, instead of overlapping the card edge. */
@media (min-width: 1320px) {
    .gh-row-prev {
        left: -54px;
    }

    .gh-row-next {
        right: -54px;
    }
}

/* Quick View button in the theme green (was orange). */
.growhub-home .product-card .product-card-quickview {
    background: #0a3d2e !important;
    color: #ffffff !important;
}

.growhub-home .product-card .product-card-quickview:hover {
    background: #165943 !important;
}

.growhub-home .product-grid.view-grid>.product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 1200px) {
    .growhub-home .product-grid.view-grid>.product-card {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 768px) {
    .growhub-home .product-grid.view-grid {
        gap: 12px;
    }

    .gh-row-arrow {
        width: 34px;
        height: 34px;
    }

    /* big cards: the first card is wide and only HALF of the second card
       shows, so it's clear there's more to swipe to */
    .growhub-home .product-grid.view-grid>.product-card {
        flex-basis: calc((100% - 12px) / 1.5);
    }
}

.gh-shop-cat-tile-featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* The featured (Outdoor Plants) tile shows its photo in full rather than
   cropping it to fill the box - object-fit: contain instead of cover, with
   the tile's own background filling in any letterboxed space. */
.gh-shop-cat-tile-featured img {
    object-fit: contain;
    background: var(--gh-cream);
}

.gh-shop-cat-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gh-shop-cat-tile:hover img {
    transform: scale(1.05);
}

.gh-shop-cat-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%);
}

.gh-shop-cat-tile-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 24px;
    color: #ffffff;
}

.gh-shop-cat-tile-featured .gh-shop-cat-tile-label {
    padding: 32px;
}

.gh-shop-cat-tile-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.gh-shop-cat-tile-featured .gh-shop-cat-tile-name {
    font-size: clamp(26px, 2.4vw, 34px);
}

.gh-shop-cat-tile-count {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 992px) {
    .gh-shop-cat-grid {
        grid-template-columns: 1.15fr 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* This section now sits below the product rows. */
    .gh-shop-categories {
        padding: 28px 0 24px;
    }

    /* Mobile: eyebrow ("Shop by category") and "See All" share the first
       row; the big title drops underneath across the full width.
       display: contents lets the eyebrow + title (wrapped in one div in
       front-page.php) act as direct grid items of the header. */
    .gh-shop-cat-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 10px;
    }

    .gh-shop-cat-head>div {
        display: contents;
    }

    .gh-shop-cat-head .gh-eyebrow {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }

    .gh-shop-cat-head .gh-shop-cat-viewall {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .gh-shop-cat-head .gh-section-title {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    /* Mobile: ONE single row that scrolls sideways, in this order:
       Outdoor Plants, Indoor Plants, Pots and Planters, Easy Care,
       Hard to Kill. Every tile - Outdoor Plants included - is the same
       size; the next tile peeks in from the right to show there is more. */
    .gh-shop-cat-grid {
        display: grid;
        grid-template-columns: none;
        grid-template-rows: 190px;
        grid-auto-flow: column;
        grid-auto-columns: 44%;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* run edge to edge of the screen, so the peeking tiles aren't cut
           off by the page padding */
        margin: 0 -20px;
        padding: 0 20px;
        scroll-padding-left: 20px;
    }

    .gh-shop-cat-grid::-webkit-scrollbar {
        display: none;
    }

    .gh-shop-cat-tile {
        min-height: 0;
        scroll-snap-align: start;
    }

    .gh-shop-cat-tile-featured {
        grid-column: auto;
        grid-row: 1;
        min-height: 0;
    }

    .gh-shop-cat-tile-featured img {
        object-fit: cover;
    }

    .gh-shop-cat-tile-label,
    .gh-shop-cat-tile-featured .gh-shop-cat-tile-label {
        padding: 14px;
    }

    .gh-shop-cat-tile-name,
    .gh-shop-cat-tile-featured .gh-shop-cat-tile-name {
        font-size: 17px;
    }

    .gh-shop-cat-tile-count {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* ========================================
   MOBILE: collection rows (Indoor Plants, Outdoor Plants, ...)
   - less empty space above each collection
   - title on the left; "View All" (no border) and the grid/list
     switcher stacked on the right
   ======================================== */

@media (max-width: 768px) {
    .growhub-home .shop-products-section {
        padding-top: 18px;
        padding-bottom: 10px;
    }

    /* Less empty space under the product row (was 24px of shadow room). */
    .growhub-home .product-grid.view-grid {
        padding-bottom: 16px;
    }

    /* keep the scroll arrow centred on the cards after the change above */
    .gh-row-arrow {
        top: calc(50% - 3px);
    }

    .growhub-home .shop-products-section .shop-section-header-split {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }

    .growhub-home .shop-products-section .shop-section-header-text {
        flex: 1;
        min-width: 0;
    }

    .growhub-home .shop-products-section .shop-section-title {
        margin: 0;
        font-size: 26px;
    }

    .growhub-home .shop-products-section .shop-section-header-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }

    /* View All: plain text link, no border / background */
    .growhub-home .shop-products-section .shop-view-all,
    .growhub-home .shop-products-section .shop-view-all:hover {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #002f34;
        font-size: 13px;
        font-weight: 700;
        transform: none;
    }
}

/* ========================================
   MOBILE: "Landscapes that thrive in the heat" callout
   Heading + description run full width; underneath, the checklist sits
   on the left and the image on the right. The image stretches to the
   height of the checklist, so it stays responsive at any phone width.
   (display: contents lets the text block's children and the image
   share one grid.)
   ======================================== */

@media (max-width: 768px) {
    .gh-services-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: 8px;
        align-items: stretch;
        padding-right: 0;
    }

    .gh-services-text {
        display: contents;
    }

    .gh-services-text .gh-eyebrow,
    .gh-services-title,
    .gh-services-desc {
        grid-column: 1 / -1;
    }

    .gh-services-list {
        grid-column: 1;
        grid-row: 4;
        align-self: center;
        position: relative;
        z-index: 1;
        margin: 0;
        gap: 12px;
    }

    .gh-services-list li {
        gap: 10px;
        font-size: 14px;
        align-items: flex-start;
    }

    .gh-services-list svg {
        margin-top: 2px;
    }

    /* Image is pinned to the bottom-right corner of the green section and
       taken out of the layout flow, so it never makes the section taller:
       it just rises up over the empty space beside the checklist. */
    .gh-services {
        padding-bottom: 24px;
    }

    .gh-services-image {
        position: absolute;
        right: 0;
        bottom: 0;
        top: auto;
        width: 54%;
        height: 190px;
        margin: 0;
        border-radius: 0;
        overflow: visible;
        pointer-events: none;
    }

    .gh-services-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }
}

/* ========================================
   WHY NATURE GULF GARDEN cards
   - fully rounded corners on every screen size
   - mobile: tighter spacing, two cards per row, centred icon + text
   ======================================== */

.gh-why-card {
    border-radius: 22px;
}

@media (max-width: 768px) {
    .gh-why {
        padding: 28px 0 36px;
    }

    .gh-why .gh-section-head {
        margin-bottom: 20px;
    }

    .gh-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gh-why-card {
        padding: 20px 12px;
        text-align: center;
    }

    .gh-why-icon {
        display: flex;
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }

    .gh-why-icon svg {
        width: 24px;
        height: 24px;
    }

    .gh-why-card h3 {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .gh-why-card p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ========================================
   MOBILE: reviews ("Kind words.") - tighter spacing, plain
   "View All Reviews" link on the same row as the heading
   ======================================== */

@media (max-width: 768px) {
    .gh-testimonials {
        padding: 28px 0 32px;
    }

    .gh-testimonials .gh-section-head-split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }

    .gh-testimonials .gh-section-head-split>div {
        flex: 1;
        min-width: 0;
    }

    .gh-testimonials .gh-eyebrow {
        margin-bottom: 8px;
    }

    .gh-testimonials .gh-section-title {
        margin: 0;
    }

    /* View All Reviews: simple text link, no yellow button */
    .gh-testimonials .gh-section-head-split .gh-btn-gold,
    .gh-testimonials .gh-section-head-split .gh-btn-gold:hover {
        width: auto;
        flex-shrink: 0;
        padding: 0 0 6px;
        gap: 6px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        color: var(--gh-forest);
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .gh-testimonials .gh-section-head-split .gh-btn-gold svg {
        width: 14px;
        height: 14px;
    }

    /* Review cards: height follows the content instead of a fixed 300px */
    .gh-testimonial-scroll {
        gap: 12px;
    }

    .gh-testimonial {
        height: auto;
        padding: 18px 18px 16px;
    }

    .gh-testimonial-stars {
        margin-bottom: 8px;
    }

    .gh-testimonial p {
        margin-bottom: 14px;
    }

    .gh-testimonial footer {
        padding-top: 14px;
    }

    .gh-leave-review {
        padding: 32px 0 40px;
    }
}

/* ========================================
   LEAVE A REVIEW - premium green panel
   A rounded forest-green card with soft glows, a gold star row, white
   heading and a gold call-to-action. Desktop + mobile.
   ======================================== */

.gh-leave-review {
    padding: 72px 0;
    background: var(--gh-cream);
}

.gh-leave-review>.container {
    position: relative;
    width: calc(100% - 40px);
    max-width: 940px;
    padding: 64px 40px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #0d3b2c 0%, #165943 55%, #2d7a5f 100%);
    box-shadow: var(--gh-shadow);
    text-align: center;
}

/* soft decorative glows */
.gh-leave-review>.container::before,
.gh-leave-review>.container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gh-leave-review>.container::before {
    top: -120px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.28) 0%, transparent 70%);
}

.gh-leave-review>.container::after {
    bottom: -140px;
    left: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.gh-leave-review>.container>* {
    position: relative;
    z-index: 1;
}

/* five gold stars above the eyebrow */
.gh-leave-review .gh-section-head {
    margin: 0 auto 28px;
}

.gh-leave-review .gh-section-head::before {
    content: '\2605\2605\2605\2605\2605';
    display: block;
    margin-bottom: 14px;
    color: var(--gh-gold-light);
    font-size: 20px;
    letter-spacing: 8px;
    text-indent: 8px;
}

.gh-leave-review .gh-eyebrow {
    margin-bottom: 12px;
    color: var(--gh-gold-light);
}

.gh-leave-review .gh-section-title {
    margin: 0;
    color: #ffffff;
}

.gh-leave-review .gh-leave-review-sub {
    max-width: 480px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
}

.gh-leave-review .gh-btn-gold {
    padding: 16px 38px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.gh-leave-review .gh-btn-gold:hover {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

/* success / error notices stay readable on the dark panel */
.gh-leave-review .gh-review-notice {
    background: #ffffff;
    border-radius: 14px;
}

@media (max-width: 992px) {
    .gh-leave-review {
        padding: 40px 0;
    }

    .gh-leave-review>.container {
        padding: 48px 28px;
    }
}

@media (max-width: 768px) {
    .gh-leave-review {
        padding: 20px 0 28px;
    }

    .gh-leave-review>.container {
        width: calc(100% - 24px);
        padding: 32px 20px 30px;
        border-radius: 22px;
    }

    .gh-leave-review .gh-section-head {
        margin-bottom: 22px;
    }

    .gh-leave-review .gh-section-head::before {
        margin-bottom: 10px;
        font-size: 17px;
        letter-spacing: 6px;
        text-indent: 6px;
    }

    .gh-leave-review .gh-leave-review-sub {
        font-size: 14px;
    }

    .gh-leave-review .gh-btn-gold {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 15px 24px;
    }
}

/* ========================================
   DESKTOP / TABLET (769px and up): tighter vertical rhythm for the
   whole front page - the big 100px section paddings are reduced so the
   sections sit closer together. Mobile (<= 768px) is unaffected.
   ======================================== */

@media (min-width: 769px) {

    /* Shop by category */
    .gh-shop-categories {
        padding: 40px 0 44px;
    }

    .gh-shop-cat-head,
    .gh-section-head-split {
        margin-bottom: 28px;
    }

    /* Collection rows (Indoor Plants, Outdoor Plants, ...) */
    .growhub-home .shop-products-section {
        padding: 40px 0 16px;
    }

    .growhub-home .shop-products-section .shop-section-header {
        margin-bottom: 24px;
    }

    .growhub-home .product-grid.view-grid {
        padding-bottom: 16px;
    }

    .gh-row-arrow {
        top: calc(50% - 3px);
    }

    /* Landscaping callout */
    .gh-services {
        padding: 44px 0;
    }

    /* Why Nature Gulf Garden */
    .gh-why {
        padding: 44px 0 36px;
    }

    .gh-why .gh-section-head {
        margin-bottom: 32px;
    }

    .gh-why-card {
        padding: 30px 26px;
    }

    /* Reviews */
    .gh-testimonials {
        padding: 36px 0 48px;
    }

    .gh-testimonial {
        height: auto;
        padding: 28px 28px 24px;
    }

    .gh-testimonial p {
        margin-bottom: 20px;
    }

    .gh-testimonial footer {
        padding-top: 16px;
    }

    /* Leave a review */
    .gh-leave-review {
        padding: 48px 0 56px;
    }

    .gh-leave-review>.container {
        padding: 52px 40px;
    }
}

/* ========================================
   Review pop-up: "Submit review" text + arrow centred in the button
   (desktop and mobile)
   ======================================== */

.review-modal-content .gh-review-form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* ========================================
   ALL REVIEWS PAGE - card grid
   ======================================== */

.site-main.reviews-page {
    padding-top: calc(var(--mytheme-navbar-height, 72px) + 12px);
    background: var(--gh-paper);
}

.reviews-page .gh-testimonials {
    padding: 40px 0 56px;
}

.reviews-page .gh-section-head {
    margin-bottom: 32px;
}

.reviews-page .gh-section-title {
    margin: 0;
}

.reviews-page .gh-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.reviews-page .gh-testimonial {
    height: auto;
    min-height: 0;
    padding: 26px 26px 22px;
    border-radius: 22px;
    background: var(--gh-cream);
    box-shadow: 0 6px 20px rgba(22, 89, 67, 0.06);
}

.reviews-page .gh-testimonial p {
    -webkit-line-clamp: 6;
    margin-bottom: 18px;
}

.reviews-page .reviews-page-load-more-button {
    padding: 13px 30px;
    border: 0;
    border-radius: 50px;
    background: var(--gh-forest);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 992px) {
    .reviews-page .gh-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .reviews-page .gh-testimonials {
        padding: 24px 0 40px;
    }

    .reviews-page .gh-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews-page .gh-testimonial {
        padding: 20px 18px 16px;
    }
}

/* ========================================
   Review cards: rounded like the other cards
   (home page row + All Reviews page, desktop and mobile)
   ======================================== */

.gh-testimonial,
.reviews-page .gh-testimonial {
    border-radius: 22px;
}

/* ========================================
   OFFER BANNER
   Full-width strip shown above the reviews, only when an image named
   "offer" is in the Media Library (see front-page.php). The image fills
   the full width of the screen; its height is capped so the banner never
   gets too tall (the image is cropped slightly if it is taller).
   ======================================== */

.gh-offer-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.gh-offer-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .gh-offer-banner img {
        max-height: 200px;
    }
}

/* ========================================
   Hero slider (phones): the image fills the FULL screen width - no side bars
   and no blurred strips. The slider takes the image's own height, so the whole
   picture shows edge to edge without being cropped.
   ======================================== */
@media (max-width: 768px) {

    .gh-hero,
    .gh-hero>.container,
    .gh-hero-slider,
    .gh-hero-track,
    .gh-hero-slide,
    .gh-hero-slide picture {
        height: auto;
    }

    .gh-hero {
        min-height: 240px;
    }

    .gh-hero-slide picture,
    .gh-hero-slide img {
        width: 100%;
    }

    .gh-hero-slide img {
        height: auto;
        object-fit: cover;
    }

    .gh-hero-slide::before {
        display: none;
    }
}


/* ========================================
   Hero slider (desktop / tablet): the slider keeps the height of the
   screen (no growing, no extra scrolling) and the image is stretched to
   fill the slider's full width and height - no gaps at the sides, top or
   bottom and nothing is cut off. The image adjusts itself to whatever
   shape the screen is.
   ======================================== */
@media (min-width: 769px) {

    .gh-hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}