/* Homepage. Typography and colour values follow the destination search page. */
.ggr-home {
    --navy: #183246;
    --muted: #465e6e;
    --accent: var(--ggr-roze, #e93074);
    --accent-dark: var(--ggr-roze-tekst, #9c1044);
    --blue: #176892;
    --cream: #fffaf2;
    --line: #e4e6e7;
    --card-shadow: 0 3px 12px rgb(24 50 70 / 5%);
    color: var(--navy);
    background: #fff;
    font: 1rem/1.55 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ggr-home h1, .ggr-home h2, .ggr-home h3 {
    color: var(--navy);
    font-family: Georgia, serif;
    font-weight: 700;
}

.ggr-home p { color: var(--muted); }
.ggr-home a { color: var(--accent-dark); text-underline-offset: .2em; }
.ggr-home :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ggr-home-cream { background: var(--cream); }

.ggr-home #hero-wrapper {
    max-width: 1600px;
    margin-inline: auto;
    padding: 8px clamp(8px, 2vw, 24px) 0;
}

.ggr-home #page-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 12px;
}

.ggr-home #hero-slider,
.ggr-home-hero-copy { grid-area: 1 / 1; }

.ggr-home #hero-slider {
    position: relative;
    min-height: clamp(280px, 31vw, 480px);
    overflow: hidden;
    border-radius: inherit;
    background: var(--navy);
}

.ggr-home #hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(15 31 44 / 11%), rgb(15 31 44 / 34%) 48%, rgb(15 31 44 / 13%));
    pointer-events: none;
}

.ggr-home .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.ggr-home .hero-slide.active { opacity: 1; }

.ggr-home-hero-copy {
    position: relative;
    align-self: center;
    padding: clamp(24px, 5vw, 60px) 16px;
    text-align: center;
    /* No z-index here: the suggestions must be able to sit above the trip filter. */
}

.ggr-home .ggr-home-hero-copy h1 {
    color: #fff;
    margin: 0 auto 10px;
    max-width: 22ch;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.03;
    text-shadow: 0 2px 6px rgb(15 31 44 / 70%);
    text-wrap: balance;
}

.ggr-home .ggr-home-hero-copy > p {
    margin: 0 auto 20px;
    color: var(--cream);
    font-size: clamp(.9rem, 1.8vw, 1.08rem);
    text-shadow: 0 1px 5px rgb(15 31 44 / 90%);
}

.ggr-home #hero-search { max-width: 720px; margin-inline: auto; }

.ggr-home-search-row {
    display: flex;
    min-height: 54px;
    border: 1px solid #b5c3cb;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(24 50 70 / 9%);
}

.ggr-home-search-row input[type="search"] {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    border-radius: 8px 0 0 8px;
    padding: 10px 14px;
    background: transparent;
    color: var(--navy);
    font: inherit;
}

.ggr-home-search-row input[type="search"]:focus-visible { outline-offset: -3px; }

.ggr-home-search-row button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 17px;
    border: 0;
    border-radius: 0 8px 8px 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ggr-home #zoekblok-outer { position: relative; z-index: 10; margin: 12px 0 20px; }

.ggr-home #zoekblok-outer .ggr-search-box,
.ggr-home .hotel-list,
.ggr-home #USP .usp-card,
.ggr-home .ggr-home-reviews .card {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.ggr-home #zoekblok-outer .ggr-search-box label[style] { color: var(--navy) !important; }
.ggr-home #zoekblok-outer .ggr-search-box :is(.ggr-search-label-note, .ggr-tip) { color: var(--muted); }
.ggr-home #zoekblok-outer .ggr-search-box .ggr-checkbox-label { display: inline-flex; min-height: 30px; margin: 0; }
.ggr-home #zoekblok-outer .ggr-checkbox-label input { accent-color: var(--accent); }
.ggr-home #zoekblok-outer .ggr-location-panel { background: var(--cream); border-color: var(--line); }
.ggr-home #zoekblok-outer .form-control { min-height: 44px; height: auto; border-color: #b5c3cb; color: var(--navy); font-size: 1rem; }
.ggr-home #zoekblok-outer .form-control:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; box-shadow: none; }
.ggr-home #zoekblok-outer .btn-add-destination { color: var(--accent-dark); min-width: 44px; min-height: 44px; margin: 0; }
.ggr-home #zoekblok-outer .ggr-btn-search { border-radius: 7px; min-height: 44px; font: inherit; font-weight: 700; }

.ggr-home-search-row button,
.ggr-home #zoekblok-outer .ggr-btn-search,
.ggr-home .ggr-home-button {
    background: var(--accent);
    color: #fff;
}

.ggr-home-search-row button,
.ggr-home #zoekblok-outer .ggr-btn-search,
.ggr-home .ggr-home-button:not(.ggr-home-button--outline) { font-size: max(19px, 1em); }

.ggr-home-search-row button:hover,
.ggr-home-search-row button:focus-visible,
.ggr-home #zoekblok-outer .ggr-btn-search:hover,
.ggr-home .ggr-home-button:hover,
.ggr-home .ggr-home-button:focus-visible { background: var(--ggr-roze-hover, #c81f61); color: #fff; }

.ggr-home .ggr-home-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 19px;
    border-radius: 7px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.ggr-home .ggr-home-button--outline {
    border: 1px solid var(--accent);
    background: #fff;
    color: var(--accent-dark);
}

.ggr-home .ggr-home-button--outline:hover,
.ggr-home .ggr-home-button--outline:focus-visible { background: var(--ggr-roze-licht, #fff1f6); color: var(--accent-dark); }

.ggr-home .ggr-home-category {
    position: relative;
    display: grid;
    border-radius: 11px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--card-shadow);
    color: #fff;
}

.ggr-home-category > img,
.ggr-home-category-copy { grid-area: 1 / 1; }
.ggr-home-category > img { width: 100%; height: 100%; aspect-ratio: 1.2; object-fit: cover; }

.ggr-home-category-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
    background: linear-gradient(180deg, rgb(15 31 44 / 8%), rgb(15 31 44 / 33%) 50%, rgb(15 31 44 / 11%));
    text-shadow: 0 2px 5px rgb(15 31 44 / 80%);
}

.ggr-home .ggr-home-category :is(h2, p) { color: #fff; }
.ggr-home .ggr-home-category h2 { margin: 0 0 6px; font-size: clamp(1.45rem, 2.45vw, 2.15rem); }

.ggr-home .section-title h2 { color: var(--navy); font-size: clamp(1.65rem, 3.2vw, 2.25rem); }
.ggr-home .section-title h2 a { color: inherit; }
.ggr-home .section-title h2 a:hover { color: var(--accent-dark); }
.ggr-home .section-title-des { color: var(--muted); font: inherit; }
.ggr-home .section-title-center .section-title-des::after { border-color: var(--accent); }
.ggr-home #USP .usp-title { border-bottom-color: var(--accent); font-size: 1.3rem; }
.ggr-home #USP .usp-text { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.ggr-home #USP .usp-tagline { color: var(--navy); font-family: Georgia, serif; }
.ggr-home .hotel-list { display: flex; flex-direction: column; height: 100%; }
.ggr-home .hotel-list .card { flex: 1 0 auto; border-radius: inherit; }
.ggr-home .hotel-list .card-img-top { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px 10px 0 0; }
.ggr-home .hotel-list h3, .ggr-home .ggr-home-reviews h3 { font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.ggr-home-card-actions { padding: 0 16px 16px; }

@media (min-width: 992px) {
    .ggr-home #zoekblok-outer { margin-top: -26px; }
    .ggr-home-hero-copy { padding-bottom: 82px; }
}

@media (max-width: 680px) {
    .ggr-home-search-row { min-height: 50px; }
    .ggr-home-search-row button { padding-inline: 12px; }
    .ggr-home-category > img { aspect-ratio: 1.5; }
}

@media (max-width: 575px) {
    .ggr-home .ggr-home-suggestions [role="option"] {
        justify-content: center;
        flex-wrap: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ggr-home .hero-slide { transition: none; }
}
