:root {
    --igd-content-width: 1320px;
    --igd-gutter: clamp(1rem, 4vw, 3.5rem);
    --igd-card-tint: #edf0ff;
    --igd-art-ratio: 16 / 9;
}

body .wp-site-blocks > header > .igd-site-header-inner {
    max-width: min(var(--igd-content-width), calc(100% - 2 * var(--igd-gutter)));
    min-height: 64px;
    align-items: center;
    padding-block: .5rem !important;
}
.igd-site-header-inner .wp-block-site-title a { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.035em; font-weight: 800; }
.igd-site-header-inner .wp-block-navigation a { padding: .55rem .65rem; }
.igd-site-header-inner .wp-block-navigation .current-menu-item > a { color: #253bd4; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .55rem; }
body .wp-site-blocks > :is(.igd-site-shell, .igd-games-shell) {
    box-sizing: border-box;
    padding: clamp(1.45rem, 3vw, 2.7rem) var(--igd-gutter) 4rem !important;
    margin-top: 0;
}
.wp-site-blocks > :is(.igd-site-shell, .igd-games-shell) > * {
    box-sizing: border-box;
    max-width: var(--igd-content-width) !important;
    width: 100%;
}
.igd-home-intro, .igd-games-intro { position: relative; display: grid; align-items: center; min-height: 125px; }
.igd-home-intro { grid-template-columns: minmax(0, 1fr) minmax(125px, 26%); gap: 1.5rem; }
.igd-home-intro h1, .igd-games-intro h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.65rem) !important; }
.igd-home-intro p, .igd-games-intro p { color: #41476f; font-size: clamp(1rem, 1.7vw, 1.26rem); margin: .55rem 0 0; }
.igd-home-lighthouse { aspect-ratio: 2 / 1; max-height: 130px; background: url("lighthouse.png") right center / contain no-repeat; }
.igd-games-intro { align-content: center; padding-right: 28%; }
.igd-games-intro::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 27%; background: url("lighthouse.png") right center / contain no-repeat; pointer-events: none; }
.igd-home-search, .igd-games-shell .igd-filter-form {
    display: flex;
    align-items: end;
    gap: .65rem;
    margin: .8rem 0 0;
    max-width: none;
}
.igd-home-search label, .igd-games-shell .igd-filter-form label { flex: 1; min-width: 0; }
.igd-games-shell .igd-filter-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.igd-home-search > p, .igd-games-shell .igd-filter-form > p, .igd-filter-disclosure-actions > p:not(:has(button)) { display: none; }
.igd-filter-disclosure-actions > p:has(button) { display: contents; }
.igd-home-search input, .igd-games-shell .igd-filter-form input[type="search"] {
    min-height: 3.05rem;
    padding: .55rem .7rem .55rem 2.6rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 450;
    background: #f9faff;
}
.igd-home-search label, .igd-games-shell .igd-filter-search { position: relative; }
.igd-home-search label::after, .igd-games-shell .igd-filter-search::after { content: ""; position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.igd-home-search .igd-button, .igd-games-shell .igd-filter-actions .igd-button { min-height: 3.05rem; padding: .5rem 1.05rem; white-space: nowrap; }
.igd-games-shell .igd-filter-panel { margin-block: .8rem 1.45rem; }
.igd-games-shell .igd-filter-actions { gap: .5rem; }
.igd-games-shell .igd-filter-count { align-self: center; font-size: .85rem; }
.igd-filter-disclosure-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 .6rem; }
.igd-filter-disclosure-actions .igd-quick-filter, .igd-filter-disclosure-actions [data-igd-filter-toggle] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border-radius: 10px;
    min-height: 42px;
    padding: .45rem .8rem;
    margin: 0;
    background: #e4dfff;
    border: 1px solid #c9bfff;
    color: var(--igd-ink);
    font-size: .9rem;
}
.igd-filter-disclosure-actions [data-igd-filter-toggle] { background: transparent; border-color: var(--igd-blue); color: #253bd4; margin-left: auto; }
.igd-filter-disclosure-actions button:hover { background: #d8d4ff; }
.igd-home-feature { margin: 1.35rem 0 0; border-radius: 16px; background: #e7ebff; }
.igd-home-feature--with-image { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; }
.igd-home-feature figure { position: relative; display: grid; min-width: 0; }
.igd-home-feature-media { aspect-ratio: var(--igd-art-ratio); overflow: hidden; }
.igd-home-feature figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.igd-home-feature figcaption { position: absolute; left: .55rem; bottom: .55rem; border-radius: 6px; background: #15173ad9; color: white; font-size: .68rem; padding: .16rem .45rem; }
.igd-home-feature > div { align-self: center; padding: clamp(1rem, 3vw, 2.3rem); min-width: 0; }
.igd-home-feature h2 { max-width: 18ch; font-size: clamp(1.65rem, 3.1vw, 3rem); }
.igd-home-feature-facts { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .6rem 0 .8rem; }
.igd-home-feature-facts span { display: inline-flex; align-items: center; gap: .3rem; font-size: .86rem; }
.igd-home-feature .igd-button { min-height: 0; padding: .6rem .9rem; }
.igd-home-games { margin-block: 1.5rem 2.1rem; }
.igd-home-games header { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.igd-home-games header h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.35rem); letter-spacing: -.04em; }
.igd-home-games header a { color: #253bd4; font-size: .9rem; font-weight: 700; }
.igd-home-game-grid, .igd-games-shell .igd-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.igd-home-game, .igd-games-shell .igd-card { display: block; overflow: hidden; background: var(--igd-card-tint); border: 1px solid var(--igd-line); border-radius: 13px; }
.igd-home-game-media { aspect-ratio: var(--igd-art-ratio); background: #e2e7fb; }
.igd-home-game-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.igd-home-game-copy, .igd-games-shell .igd-card-body { padding: .65rem .8rem .85rem; }
.igd-home-game-copy h3 { margin: 0 0 .3rem; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.13; letter-spacing: -.03em; }
.igd-home-game-copy a { color: var(--igd-ink); text-decoration: none; }
.igd-home-game-copy p { margin: 0; font-size: .92rem; line-height: 1.4; }
.igd-games-shell .igd-card-media { width: 100%; aspect-ratio: 460 / 215; }
.igd-games-shell .igd-card-media img { width: 100%; height: 100%; object-fit: contain; }
.igd-games-shell .igd-card h3 { font-size: clamp(1rem, 1.8vw, 1.3rem); }
.igd-games-shell .igd-card-meta { line-height: 1.2; }
.igd-games-shell .igd-score { background: #e1e5ff; }
.igd-games-shell .igd-card .igd-pill { background: #e7e1ff; }
.igd-site-shell .igd-collection-card { background: var(--igd-card-tint); }

[data-igd-icon], .igd-site-header-inner .wp-block-site-title a::before,
.igd-home-search label::after, .igd-games-shell .igd-filter-search::after,
.igd-cluster-search::after, .igd-ai-button::before,
.igd-filter-disclosure-actions .igd-quick-filter::before, [data-igd-filter-toggle]::before {
    display: inline-block;
    flex: 0 0 auto;
    width: 1.45em;
    height: 1.45em;
    background: currentColor;
    mask: url("discovery-icons.png") var(--igd-icon-x, 5.6%) var(--igd-icon-y, 6.5%) / 522% 522% no-repeat;
}
.igd-site-header-inner .wp-block-site-title a::before { --igd-icon-x: 92.5%; --igd-icon-y: 64.5%; color: var(--igd-blue); }
.igd-home-search label::after, .igd-games-shell .igd-filter-search::after, .igd-cluster-search::after { --igd-icon-x: 63.5%; --igd-icon-y: 35.5%; }
.igd-cluster-search { position: relative; display: block; }
.igd-cluster-search::after { content: ""; position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.igd-cluster-search input { padding-left: 2.6rem; }
.igd-ai-button::before { content: ""; --igd-icon-y: 64.5%; vertical-align: middle; margin-right: .25em; }
.igd-filter-disclosure-actions .igd-quick-filter::before { content: ""; --igd-icon-x: 63.5%; }
.igd-filter-disclosure-actions .igd-quick-filter[aria-label="Filter by Cozy"]::before { --igd-icon-x: 33.6%; }
[data-igd-filter-toggle]::before { content: ""; --igd-icon-x: 92.5%; --igd-icon-y: 35.5%; }
[data-igd-icon="cup"] { --igd-icon-x: 33.6%; }
[data-igd-icon="pad"] { --igd-icon-x: 92.5%; }
[data-igd-icon="screen"] { --igd-icon-y: 35.5%; }
[data-igd-icon="sliders"] { --igd-icon-x: 92.5%; --igd-icon-y: 35.5%; }
[data-igd-icon="mountain"] { --igd-icon-x: 92.5%; --igd-icon-y: 93.5%; }
[data-igd-icon="mouse"] { --igd-icon-x: 63.5%; --igd-icon-y: 64.5%; }
[data-igd-icon="sofa"] { --igd-icon-x: 63.5%; }
[data-igd-icon="player"] { --igd-icon-x: 33.6%; --igd-icon-y: 64.5%; }
[data-igd-icon="clock"] { --igd-icon-x: 33.6%; --igd-icon-y: 93.5%; }
[data-igd-icon="puzzle"] { --igd-icon-x: 63.5%; --igd-icon-y: 93.5%; }
[data-igd-icon="palette"] { --igd-icon-y: 93.5%; }
.igd-cluster-content .igd-filter-chip [data-igd-icon] { width: 1.1em; height: 1.1em; vertical-align: middle; margin-right: .25em; }
.igd-cluster-orb .igd-cluster-orb-inner { position: relative; width: clamp(72px, 11dvh, 100px); }
.igd-cluster-orb-inner i { width: 56%; height: 56%; }
.igd-cluster-orb-inner::after {
    content: ""; position: absolute; right: 15%; top: 13%; width: 12%; aspect-ratio: 1;
    border-radius: 50%; background: #f9faff; box-shadow: .42rem .5rem 0 -1px #735dcc80;
}
@media (max-width: 730px) {
    body .wp-site-blocks > header > .igd-site-header-inner { min-height: 56px; flex-wrap: wrap; gap: .3rem; }
    .igd-site-header-inner .wp-block-navigation { width: 100%; justify-content: start; }
    .igd-site-header-inner .wp-block-navigation a { padding: .4rem .5rem; font-size: .8rem; }
    .igd-home-intro { grid-template-columns: minmax(0, 1fr) minmax(65px, 24%); gap: .5rem; min-height: 0; align-items: end; }
    .igd-home-intro h1, .igd-games-intro h1 { font-size: clamp(2.1rem, 7.5vw, 3rem) !important; }
    .igd-games-intro { min-height: 0; padding-right: 0; }
    .igd-games-intro::after { display: none; }
    .igd-home-search, .igd-games-shell .igd-filter-form { align-items: stretch; flex-wrap: wrap; }
    .igd-home-search label, .igd-games-shell .igd-filter-form label { flex-basis: 100%; }
    .igd-home-search button { min-width: 6rem; }
    .igd-games-shell .igd-filter-actions { width: 100%; }
    .igd-games-shell .igd-filter-count { margin-left: auto; }
    .igd-filter-disclosure-actions .igd-quick-filter, .igd-filter-disclosure-actions [data-igd-filter-toggle] { padding-inline: .55rem; font-size: .79rem; }
    .igd-home-feature--with-image { grid-template-columns: 1fr; }
    .igd-home-feature > div { padding: .9rem 1rem 1rem; }
    .igd-home-feature p { margin-block: .35rem .7rem; }
    .igd-home-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .igd-games-shell .igd-card-grid { grid-template-columns: 1fr; }
}
