/* Landing hero and content use the same outer width, including borders. */
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero.gg-word-hero--rhyme {
    display:grid!important;
    grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);
    align-items:stretch!important;
    box-sizing:border-box!important;
    max-width:var(--ggw-ds-content-max,1280px)!important;
    margin:clamp(12px,2vw,25px) auto 25px!important;
    min-height:0!important;
    padding:0!important;
    border:1px solid var(--ggw-ds-lookup-border,#ead9c4)!important;
    border-radius:22px!important;
    overflow:hidden!important;
    background:var(--ggw-ds-lookup-paper,#fcf6ee)!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero.gg-word-hero--rhyme .gg-word-hero__copy {
    width:100%!important;
    max-width:none!important;
    align-self:center;
    padding:clamp(23px,4.2vw,57px) clamp(20px,3.9vw,54px)!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero.gg-word-hero--rhyme h1 {
    font-size:clamp(37px,5vw,65px)!important;
    margin-block-end:13px!important;
    overflow-wrap:anywhere;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__description {
    max-width:46ch!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__rhyme-art {
    min-height:290px;
    background:linear-gradient(90deg,var(--ggw-ds-lookup-paper,#fcf6ee),transparent 28%),
        var(--gg-lookup-art,url('../images/gg-page-heros/rijmwoordenboek.webp')) 82% 54% / cover no-repeat;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__search {max-width:100%}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__search :is(input,button) {min-height:44px}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__search input {min-width:0}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__examples {flex-wrap:wrap}
@media(max-width:830px) {
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero.gg-word-hero--rhyme {
        grid-template-columns:minmax(0,1fr);
        border-radius:15px!important;
    }
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__rhyme-art {
        min-height:clamp(104px,24vw,170px);
        background-image:linear-gradient(180deg,var(--ggw-ds-lookup-paper,#fcf6ee),transparent 35%),var(--gg-lookup-art,url('../images/gg-page-heros/rijmwoordenboek.webp'));
        background-position:center,center 58%;
    }
}
@media(max-width:530px) {
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero.gg-word-hero--rhyme h1 {font-size:clamp(31px,8.9vw,45px)!important}
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__search {
        display:grid!important;
        grid-template-columns:minmax(0,1fr);
    }
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__search :is(input,button) {width:100%;min-width:0}
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top) .gg-word-hero--rhyme .gg-word-hero__icon {display:none}
}

/* One outer boundary for the landing page, word results and letter pages. */
html body.gg-literary-canvas #ggw-site > main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme.site-main.gg-page-layout {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:auto!important;
    padding-inline:0!important;
}
html body #ggw-site main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme > .gg-rhyme-layout {
    box-sizing:border-box!important;
    width:min(var(--ggw-ds-content-max,1280px),calc(100% - 40px))!important;
    max-width:var(--ggw-ds-content-max,1280px)!important;
    min-width:0;
    margin-inline:auto!important;
}
html body #ggw-site main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme > .gg-rhyme-layout > *,
html body #ggw-site main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme .gg-rhyme-layout > .gg-rhyme-shell > :is(section,nav,article,aside) {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
}
html body #ggw-site main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme .gg-rhyme-layout > .gg-rhyme-shell {padding-inline:0!important}
@media(max-width:767px) {
    html body #ggw-site main:is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme > .gg-rhyme-layout {
        width:min(var(--ggw-ds-content-max,1280px),calc(100% - 20px))!important;
    }
}

/* The result variant keeps the search field in the hero and gives results priority. */
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme--result .gg-word-hero.gg-word-hero--rhyme {
    margin-block:clamp(10px,1.7vw,22px) clamp(13px,2vw,24px)!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme--result .gg-word-hero--rhyme .gg-word-hero__copy {
    padding-block:clamp(17px,3vw,34px)!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme--result .gg-word-hero--rhyme h1 {
    font-size:clamp(32px,4.3vw,56px)!important;
    margin-block-end:8px!important;
}
html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme--result .gg-word-hero__rhyme-art {min-height:205px}
@media(max-width:830px) {
    html body #ggw-site :is(#gg-rhyme-top,#gg-rubrics-top,#gg-studio-themes-top,#gg-home-top).gg-rhyme--result .gg-word-hero__rhyme-art {min-height:clamp(66px,15vw,105px)}
}


#gg-rubrics-top {
    --gg-lookup-art:var(--gg61-hero-image,url('../images/hero-collection/themes.webp'));
}
#gg-rubrics-top .gg-rubric-directory-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));
    gap:14px;
    margin-block:18px 32px;
}
@media (min-width:900px) {
    #gg-rubrics-top .gg-rubric-directory-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
#gg-rubrics-top .gg-rubric-directory-card {
    display:grid;
    grid-template-columns:60px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:12px;
    text-decoration:none;
    color:inherit;
}
#gg-rubrics-top .gg-rubric-directory-card:hover,
#gg-rubrics-top .gg-rubric-directory-card:focus-visible {
    outline:2px solid #a66c36;
    outline-offset:-2px;
}
#gg-rubrics-top .gg-rubric-directory-card img {
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:10px;
}
#gg-rubrics-top .gg-rubric-directory-card strong,
#gg-rubrics-top .gg-rubric-directory-card small {
    display:block;
}
#gg-rubrics-top .gg-rubric-directory-card strong {
    overflow-wrap:anywhere;
}
#gg-rubrics-top .gg-rubric-directory-card small {
    color:#61554b;
}
#gg-rubrics-top .gg-rhyme-letter-nav a[aria-current="page"] {
    background:#183347;
    color:#fff;
}

#gg-studio-themes-top {--gg-lookup-art:var(--gg61-hero-image,url('../images/hero-collection/studio.webp'))}

html body #ggw-site #gg-studio-themes-top .gg-word-hero.gg-word-hero--rhyme {
    width:100%!important;
}

@media (min-width:1320px) {
    html body #ggw-site #gg-studio-themes-top .gg40-themes__wrap {
        width:100%!important;
    }
}


#gg-home-top {--gg-lookup-art:url('../images/gg-page-heros/voorpagina.webp')}
#gg-home-top .gg-word-hero__rhyme-art {background-position:center,center 68%}

html body #ggw-site #main-content .gg-home-community-banner {
    margin-block:clamp(24px,3.5vw,48px)!important;
}
