/* World Geography. The section reuses the layout of "How the visual clue works"
   (how-mnemonic.css): small card beside the heading, two panels on the right,
   "Why it matters" below. Only what differs for a geography card is set here. */
.geo-how{background:linear-gradient(180deg,#0b0d0e 0%,#0d1218 45%,#0c0d0d 100%);border-top:1px solid #2a241d}
/* Geography follows straight on from the 7000 BC explanation: a small gap, not two full section paddings. */
.how-before-geo{padding-bottom:44px}
.geo-how{padding-top:52px}
@media(max-width:760px){.how-before-geo{padding-bottom:36px}.geo-how{padding-top:44px}}
.geo-how .section-kicker{font-size:1.2rem;letter-spacing:.2em}
/* The intro runs as wide as the paragraph under it, so the longer text does not push the pictures apart from "Why it matters". */
.geo-how .mnemonic-method-intro p{max-width:42ch}
.geo-scene{grid-template-columns:repeat(2,minmax(0,1fr))}
/* The two pictures have their soft edges baked in (transparent WebP), so they melt into the page like the 7000 BC ones. */
.geo-scene img{display:block;width:100%;height:auto;aspect-ratio:408 / 602}
/* The example is three quarters of the column, centred; the "Why it matters" line follows the same width. */
/* On a computer the two main pictures fill the column and the three below are smaller, so the block narrows downwards.
   The titles of the three keep their size: only the pictures shrink. */
@media(min-width:1101px){
  .geo-how .mnemonic-example{width:92%;margin-inline:auto}
  .geo-how .geo-facts,.geo-how .geo-meaning{width:84%;margin-inline:auto}
  .geo-facts .geo-fact img{width:84%;margin-inline:auto}
  .geo-facts .geo-fact-main{font-size:.86rem}
  .geo-facts .geo-fact-sub{font-size:.68rem}
}
@media(max-width:520px){.geo-how .section-kicker{font-size:1rem;letter-spacing:.16em}}
/* "Country: Canada" and "Capital: Ottawa" are one matching pair: same font, size and colours.
   Each one sits centred over its own picture, with a normal word space after the label. */
.geo-how .mnemonic-example-heading{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:baseline;padding:0 0 14px}
.mnemonic-example-heading .geo-pair{display:flex;justify-content:center;align-items:baseline;gap:.17em;margin:0;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(1.45rem,2.4vw,2.3rem);line-height:1.12;letter-spacing:-.03em;white-space:nowrap;color:var(--bronze-light)}
.geo-pair-label{font-size:max(.46em,.74rem);letter-spacing:0;color:var(--cream)}
@media(max-width:760px){.geo-how .mnemonic-example-heading{gap:14px}}
/* Flag, continent and landmark from the bottom row of the card, beside "The country behind the capital". */
.geo-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 12px}
.geo-fact{display:flex;flex-direction:column;margin:0;text-align:center;container-type:inline-size}
.geo-fact img{display:block;width:100%;height:auto;aspect-ratio:260 / 238}
/* Each picture keeps the title it has on the card (same words, gold capitals), sized to the picture so it always fits. */
.geo-fact figcaption{flex:1;display:flex;flex-direction:column;justify-content:center;gap:.2em;margin-bottom:8px;font-family:Cambria,'Times New Roman',Times,serif;font-variant-numeric:lining-nums;font-weight:700;text-transform:uppercase;letter-spacing:.02em;line-height:1.2;color:var(--bronze-light)}
.geo-fact-main{font-size:.86rem;font-size:7cqw}
.geo-fact-sub{font-size:.7rem;font-size:5.5cqw}
.geo-nowrap{white-space:nowrap}
.geo-how .mnemonic-meaning-copy h3{text-wrap:balance}
/* Narrower columns: a short list, picture on the left and its title beside it, so the titles stay readable. */
@media(max-width:1100px){
  .geo-facts{grid-template-columns:1fr;gap:10px;margin-bottom:22px}
  .geo-fact{flex-direction:row-reverse;align-items:center;gap:16px;text-align:left;container-type:normal}
  .geo-fact img{flex:none;width:118px}
  .geo-fact figcaption{margin:0}
  .geo-fact-main{font-size:.95rem}
  .geo-fact-sub{font-size:.8rem}
}
/* On a phone the text comes first and its pictures follow, as in the block above. */
@media(max-width:760px){.geo-how .mnemonic-copy{order:1}.geo-how .mnemonic-meaning-wrap{order:2}.geo-how .mnemonic-closing{order:3}}
/* "Why it matters": the plaque comes from the card, the sentence is real text in the card's serif. */
.geo-meaning{margin:0 0 20px;text-align:center}
.geo-meaning-title{margin:0}
.geo-meaning-badge{display:block;width:53%;max-width:300px;height:auto;margin-inline:auto}
.geo-meaning-text{margin:14px auto 0;max-width:31em;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.4;color:var(--cream)}
/* Key words of the explanation, picked out in the gold of the headings. */
.geo-how strong{font-weight:600;color:var(--bronze-light)}
/* In the sentence under the title ("Take Canada. Beside the map, an otter…") only the first two bold words (Canada, otter / Austria, violín) are plain
   text colour; the sound-alike clue and the capital (water: otter + water, Ottawa / violín + antena, Viena) keep the gold. */
.geo-how .mnemonic-method-intro strong:nth-of-type(-n+2){color:inherit}

/* Fourth collection card */
.collection-grid.has-geo{grid-template-columns:repeat(4,minmax(0,1fr))}
.collection-card--geo{background:radial-gradient(circle at 50% 35%,#1f2b38,#191e24 40%,#131517 78%)}
.geo-backdrop{position:absolute;z-index:-2;inset:0;overflow:hidden;pointer-events:none}
.geo-backdrop::after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(17,18,17,.96) 0%,rgba(17,18,17,.8) 24%,rgba(17,18,17,.38) 60%,rgba(17,18,17,.08) 100%),linear-gradient(180deg,rgba(17,18,17,.14) 0%,transparent 26%,rgba(17,18,17,.12) 58%,rgba(17,18,17,.58) 82%,#151514 100%)}
.geo-bcard{position:absolute;width:45%;height:auto;max-width:none;opacity:.74;filter:saturate(.72);border-radius:4px;box-shadow:0 12px 26px rgba(0,0,0,.5);transform-origin:center}
.geo-bcard--a{left:23%;top:-18%;transform:rotate(-12deg);opacity:.56}
.geo-bcard--b{right:-1%;top:3%;transform:rotate(12deg)}
.geo-bcard--c{right:-8%;top:52%;width:47%;transform:rotate(-9deg);opacity:.68}
.discipline-inner{flex-wrap:wrap}
/* Six games in one row on a computer, with everything inside each card scaled down to fit.
   Narrow laptops get two rows of three; tablet and phone keep their two and one columns. */
@media(min-width:1101px){.games-grid.has-geo-games{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1201px){
  .games-grid.has-geo-games{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
  .has-geo-games .game-card{--game-space:14px}
  .has-geo-games .game-card p{font-size:.86rem;line-height:1.55}
  .has-game-motion .has-geo-games .game-trigger,.has-geo-games .game-trigger{min-height:46px;padding:9px 11px;gap:6px;font-size:.76rem}
  .has-geo-games .game-trigger span{font-size:1.2rem}
}
/* 7000 BC section, Spanish page (3 Dec): the new Spanish card's «Por qué importa» sentence is wider than the English one,
   so the crop of the card is wider there: card pixels x 44–856, y 1354–1530 (English keeps x 90–810, y 1348–1560 from how-mnemonic.css). */
html[lang^="es"] .mnemonic-meaning{aspect-ratio:812 / 176}
html[lang^="es"] .mnemonic-meaning-art{top:-769.318182%;left:-5.418719%;width:110.837438%}
/* Games whose how-to-play video is not ready yet: a click shows "Video coming soon" on the button (geography.js). */
.game-trigger.is-soon,.game-trigger.is-soon:hover{border-color:var(--bronze-light);background:#3d2e1f;color:var(--bronze-light)}
.game-trigger.is-soon span{visibility:hidden}
@media(max-width:1180px) and (min-width:761px){.collection-grid.has-geo{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.collection-grid.has-geo{grid-template-columns:1fr}}
