/* CollegeUSA.se – "campus": tegel, kalksten, murgröna och mässing.
   Typsnitt: Cinzel (inskriptioner, rubriker) och EB Garamond (brödtext), båda OFL, självhostade. */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }

/* Utbildningar använder samma färger, spalter och tabeller som skolorna. */
.utb-sok { margin-block: 1.5rem; }
.utb-sok label { display: block; font-weight: 600; }
.utb-sok input { box-sizing: border-box; width: 100%; padding: .65rem; font: inherit; }
.utb-amnen, .utb-omraden { list-style: none; padding: 0; }
.utb-amnen li, .utb-omraden li { padding-block: .45rem; border-bottom: 1px solid var(--mortar); }
.utb-amnen span, .utb-tabell th span, .utb-tabell td small { display: block; font-size: .85em; font-weight: 400; }
.utb-omrade { margin-block: .75rem; }
.utb-omrade summary { cursor: pointer; }
.college-grid > .prose { min-width: 0; }
[hidden] { display: none !important; }

:root {
  --brick: #8b3a2b;
  --brick-dark: #6e2c20;
  --brick-deep: #4f1f17;
  --mortar: #d9c9ad;
  --limestone: #f4efe4;
  --parchment: #fbf8f1;
  --stone: #e6dcc8;
  --stone-dark: #b9aa8c;
  --ivy: #2e4a34;
  --ivy-light: #4f6f4a;
  --brass: #b08a3e;
  --brass-light: #d8b56c;
  --bronze: #4a3b26;
  --ink: #2a2420;
  --muted: #6a5f55;
  --link: #7a2e21;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(42, 36, 32, .08), 0 6px 18px rgba(42, 36, 32, .08);
  --wrap: 1180px;
  --brick-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Crect width='64' height='32' fill='%238b3a2b'/%3E%3Crect x='1' y='1' width='30' height='14' fill='%23923f2f'/%3E%3Crect x='33' y='1' width='30' height='14' fill='%23853727'/%3E%3Crect x='-15' y='17' width='30' height='14' fill='%2388392a'/%3E%3Crect x='17' y='17' width='30' height='14' fill='%23944231'/%3E%3Crect x='49' y='17' width='30' height='14' fill='%23823525'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--parchment);
  font-feature-settings: "kern", "liga", "onum";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; color: var(--brick-deep); font-weight: 600; }
h1 { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: .01em; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
small { font-size: .85em; color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: .5rem 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .95rem; color: var(--muted); }
.eyebrow { font-family: var(--display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0; }
.lede { font-size: 1.3rem; line-height: 1.5; color: #463c34; max-width: 46em; }

/* --- Knappar ------------------------------------------------------------ */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--limestone); background: var(--brick-dark); border: 0; border-bottom: 3px solid var(--brick-deep);
  padding: .75em 1.4em .65em; border-radius: var(--radius); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brick); color: #fff; }
.btn-ghost { background: transparent; color: var(--limestone); border: 1px solid var(--brass-light); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* --- Sidhuvud: överliggare i kalksten, gesims med tandsnitt -------------- */
.site-head { position: relative; z-index: 10; }
.lintel { background: var(--limestone); border-bottom: 1px solid var(--stone-dark); }
.lintel-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.crest { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--brick-deep); }
.crest-name { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: .04em; }
.crest-name b { color: var(--brick); font-weight: 700; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; margin: 0; padding: 0; }
.main-nav a {
  display: block; font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: .6rem .7rem; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--brick); border-bottom-color: var(--brass); }
.nav-toggle { display: none; }
.cornice {
  height: 14px; background:
    linear-gradient(var(--stone-dark), var(--stone-dark)) top / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--stone) 0 14px, transparent 14px 22px) 0 3px / 100% 8px no-repeat,
    var(--brick-dark);
  border-bottom: 3px solid var(--brick-deep);
}

/* --- Brödsmulor ----------------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: .9rem 0 0; margin: 0 auto; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--stone-dark); }
.crumbs a { color: var(--muted); }

/* --- Startsidans hero: kvällshimmel och en campusbyggnad i tegel ----------- */
.hero-sky {
  position: relative; overflow: hidden; color: var(--limestone);
  background: linear-gradient(180deg, #2b3445 0%, #48506a 45%, #8a6f62 80%, #b98a62 100%);
  border-bottom: 4px solid var(--ivy);
  --hall-h: clamp(120px, 19vw, 300px);
}
.hero-text { position: relative; z-index: 2; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: calc(var(--hall-h) + 1.5rem); }
.hero-text h1 { color: #fffaf0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); max-width: 16em; }
.hero-text .lede { color: #f1e7d6; }
.hero-text .eyebrow { color: var(--brass-light); }
.hall { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--hall-h); z-index: 1; }
.hero-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.4rem 0 .8rem; }
.hero-search input {
  flex: 1; font: inherit; font-size: 1.1rem; padding: .7rem 1rem; border: 2px solid var(--brass); border-radius: var(--radius);
  background: var(--parchment); color: var(--ink); min-width: 0;
}
.hero-quick { font-size: 1rem; color: #e9dcc6; }
.hero-quick a { color: #fff3d8; }
.page-head .hero-search input { border-color: var(--stone-dark); }

/* --- Sektioner och frisrubriker ------------------------------------------- */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-stone { background: var(--limestone); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.frieze { display: flex; align-items: center; gap: 1rem; text-align: center; margin: 0 0 1.6rem; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .12em; text-transform: uppercase; color: var(--brick-deep); }
.frieze::before, .frieze::after { content: ""; flex: 1; height: 7px; border-top: 1px solid var(--stone-dark); border-bottom: 3px double var(--stone-dark); }
.frieze-left::before { display: none; }
.frieze-left { text-align: left; }

.page-head { background: var(--limestone); border-bottom: 1px solid var(--stone); padding: 1.5rem 0 2rem; margin-bottom: 2rem; }
.page-head h1 { color: var(--brick-deep); }

/* --- Kort: fasad med valvbåge -------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--parchment); border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42, 36, 32, .1), 0 12px 28px rgba(42, 36, 32, .14); }
.card-link { display: block; color: inherit; text-decoration: none; padding: .75rem; }
.arch { position: relative; overflow: hidden; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--brick-bg); aspect-ratio: 3 / 2.1; border: 3px solid var(--stone); border-bottom-width: 6px; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-tall { aspect-ratio: 4 / 4.4; border-radius: 50% 50% 0 0 / 28% 28% 0 0; }
.arch-wide { aspect-ratio: 16 / 9; border-radius: 50% 50% 0 0 / 22% 22% 0 0; margin: 0 0 1.5rem; }
.pennant {
  position: absolute; top: 18%; right: 0; font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  background: var(--ivy); color: var(--limestone); padding: .28rem .9rem .28rem .7rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 50%);
}
.card-body { padding: .8rem .35rem .2rem; }
.card h3, .city-card h2 { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; margin: 0 0 .1rem; color: var(--brick-deep); }
.card-where { margin: 0 0 .6rem; color: var(--muted); font-size: 1rem; }
.card-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin: 0 0 .6rem; padding: .55rem 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.card-facts div { text-align: center; }
.card-facts dt { font-family: var(--display); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-facts dd { margin: 0; font-weight: 600; font-size: 1.02rem; font-variant-numeric: lining-nums tabular-nums; }
.card-tag { margin: 0; font-size: .9rem; color: var(--ivy-light); font-style: italic; }

/* --- Guidepelare ---------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.pillar {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 1.4rem 1.3rem 1.2rem;
  background: var(--limestone);
  border: 1px solid var(--stone); border-top: 8px solid var(--stone-dark); border-radius: 2px;
}
.pillar h3 { font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em; margin: 0 0 .5rem; }
.pillar p { margin: 0 0 1rem; font-size: 1.02rem; flex: 1; }
.pillar .more { font-family: var(--display); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); }
.pillar:hover { border-top-color: var(--brass); }

/* --- Listor på startsidan ------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.city-list, .news-list { list-style: none; padding: 0; margin: 0; }
.city-list li, .news-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dotted var(--stone-dark); }
.city-list span, .news-list time { color: var(--muted); font-size: .95rem; white-space: nowrap; }

/* --- Skolsida --------------------------------------------------------------- */
.college-head { background: var(--limestone); border-bottom: 1px solid var(--stone); padding: 1.5rem 0 2.5rem; }
.college-head-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.college-head h1 { margin-top: .3rem; }
.college-where { font-size: 1.1rem; color: var(--muted); margin: 0 0 1rem; }
.college-photo { margin: 0; box-shadow: var(--shadow); }
.college-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; padding-top: 2rem; padding-bottom: 3rem; }
.prose { max-width: 46rem; }
.prose > h2:first-child, .prose > .plaque:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .25rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 1rem 0; }
.prose th, .prose td { border-bottom: 1px solid var(--stone); padding: .45rem .5rem; text-align: left; vertical-align: top; }
.prose blockquote { margin: 1.2rem 0; padding: .2rem 1.2rem; border-left: 4px solid var(--brass); color: #4a4038; font-style: italic; }

/* Mässingsplakett med snabbfakta */
.plaque {
  position: relative; color: #f3e6c9; padding: 1.5rem 1.6rem 1.1rem; margin: 0 0 2rem; border-radius: 6px;
  background: radial-gradient(ellipse at 30% 0%, #6a5634 0%, #4a3b26 55%, #3a2e1e 100%);
  border: 3px solid #8c6f3d; box-shadow: inset 0 0 0 2px #2c2216, inset 0 0 0 5px rgba(216, 181, 108, .35), var(--shadow);
}
.plaque::before, .plaque::after { content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0d79a, #8c6f3d); }
.plaque::before { left: 10px; } .plaque::after { right: 10px; }
.plaque h2 { font-family: var(--display); font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); text-align: center; margin: 0 0 1rem; }
.plaque dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.6rem; margin: 0; }
.plaque dl div { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid rgba(216, 181, 108, .25); }
.plaque dt { font-family: var(--display); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: #cdb88c; }
.plaque dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: #fff6e3; }
.plaque dd small { display: block; color: #cdb88c; font-weight: 400; }
.plaque a { color: #ffe3a6; }
.plaque h3 { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-light); margin: 1.3rem 0 .4rem; }
.plaque-note { font-size: .82rem; color: #bfa978; margin: .9rem 0 0; text-align: center; }
.meter { display: inline-flex; gap: 2px; margin-left: .45rem; vertical-align: middle; }
.meter i { width: 6px; height: 12px; background: rgba(216, 181, 108, .25); border-radius: 1px; }
.meter i.on { background: var(--brass-light); }

.fit { margin: 2.5rem 0 1.5rem; padding: 1.4rem 1.6rem; background: #eef1e9; border-left: 6px solid var(--ivy); border-radius: 0 var(--radius) var(--radius) 0; }
.fit h2 { margin-top: 0; color: var(--ivy); }
.credit { font-size: .85rem; color: var(--muted); margin-top: 2rem; }
.credit a { color: var(--muted); }

/* Sidokolumn */
.side { display: flex; flex-direction: column; gap: 1.2rem; }
.side-box { background: var(--limestone); border: 1px solid var(--stone); border-top: 5px solid var(--brick-dark); padding: 1rem 1.2rem; border-radius: 2px; }
.side-head { font-family: var(--display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brick-deep); margin: 0 0 .6rem; }
.side ul { list-style: none; padding: 0; margin: 0; }
.side li { padding: .35rem 0; border-bottom: 1px dotted var(--stone-dark); font-size: 1.02rem; }
.side li:last-child { border-bottom: 0; }
.side-list span { display: block; font-size: .88rem; color: var(--muted); }
.side a[aria-current] { font-weight: 600; color: var(--brick-deep); }

/* --- Kartor ----------------------------------------------------------------- */
.map { background: var(--stone); border: 3px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1; }
.map-big { height: 460px; }
.map-full { height: min(70vh, 640px); }
.map-list { height: 340px; margin-bottom: 1.5rem; }
.map-college { height: 320px; margin: 1.2rem 0 1rem; }
.leaflet-container { font-family: var(--serif); font-size: 1rem; }
.leaflet-popup-content { margin: .8rem 1rem; line-height: 1.4; }
.leaflet-popup-content b { font-family: var(--display); color: var(--brick-deep); }
.cu-pin { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin: 0 .3rem 0 .9rem; vertical-align: middle; }
.dot-university, .cu-pin.university { background: var(--brick); }
.dot-liberal_arts, .cu-pin.liberal_arts { background: var(--ivy-light); }
.dot-community, .cu-pin.community { background: var(--brass); }
.legend { font-size: .95rem; color: var(--muted); }

/* --- Skollista med filter ---------------------------------------------------- */
.list-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; padding-bottom: 3rem; }
.filters { align-self: start; position: sticky; top: 1rem; background: var(--limestone); border: 1px solid var(--stone); border-top: 5px solid var(--ivy); padding: 1rem 1.1rem 1.2rem; }
.filters label { display: block; font-family: var(--display); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .8rem 0 .25rem; }
.filters input, .filters select, .compare-form select {
  width: 100%; font: inherit; font-size: 1rem; padding: .45rem .5rem; border: 1px solid var(--stone-dark); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.filters .btn { width: 100%; margin-top: 1.1rem; }
.reset { display: block; text-align: center; margin-top: .6rem; font-size: .95rem; }
.result-count { margin-top: 0; }
.list-guide { margin-top: 3rem; }

/* --- Jämför ------------------------------------------------------------------ */
.compare-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1rem; align-items: end; margin-bottom: 2rem; }
.compare-form label { display: block; font-family: var(--display); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--parchment); }
.compare th, .compare td { padding: .65rem .8rem; border-bottom: 1px solid var(--stone); text-align: left; vertical-align: top; font-size: 1.02rem; }
.compare thead th { font-family: var(--display); font-size: 1.05rem; background: var(--limestone); vertical-align: bottom; }
.compare thead img { width: 100%; max-width: 240px; aspect-ratio: 16/10; object-fit: cover; border-radius: 40% 40% 0 0 / 30% 30% 0 0; margin-bottom: .4rem; }
.compare tbody th { font-family: var(--display); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 22%; }

/* --- Städer, nyheter, delstater ---------------------------------------------- */
.city-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding-bottom: 3rem; }
.city-card { display: block; text-decoration: none; color: inherit; background: var(--parchment); border: 1px solid var(--stone); padding: .8rem; box-shadow: var(--shadow); border-radius: var(--radius); }
.city-card .arch { margin: 0; }
.news-item { padding: 1.2rem 0; border-bottom: 1px solid var(--stone); }
.news-item h2 { margin: .2rem 0 .4rem; font-size: 1.45rem; }
.news-item h2 a { text-decoration: none; }
.news-item time { font-family: var(--display); font-size: .75rem; letter-spacing: .1em; color: var(--brass); }
.state-cols { columns: 3 220px; column-gap: 2rem; }
.state-block { break-inside: avoid; margin-bottom: 1.2rem; }
.state-block h3 { font-family: var(--display); font-size: .95rem; letter-spacing: .08em; margin: 0 0 .3rem; }
.state-block ul { list-style: none; padding: 0; margin: 0; }
.state-block li { font-size: 1rem; }
.state-block span { color: var(--muted); font-size: .9rem; }
.states-index { max-width: none; padding-bottom: 3rem; }
.fakta { background: var(--limestone); border: 1px solid var(--stone); border-left: 5px solid var(--brass); padding: 1rem 1.3rem; margin: 1.5rem 0; }
.fakta p { margin: .3rem 0; }
.fakta-head { font-family: var(--display); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brick-deep); margin-bottom: .5rem !important; }

/* --- Annonser ------------------------------------------------------------------ */
.adsplats { display: block; margin: 2rem 0; min-height: 100px; clear: both; }
.adsplats::before { content: "Annons"; display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: .25rem; }
.adsplats-multiplex { min-height: 280px; }
.cards > .adsplats { grid-column: 1 / -1; margin: .4rem 0; }
/* Högerkolumnen: 300×600 som följer med vid scroll, bara på breda skärmar (site.js lägger in den) */
.adsplats-sida { display: none; }
@media (min-width: 1001px) {
  .adsplats-sida { display: block; position: sticky; top: 1rem; width: 300px; min-height: 620px; margin: 0; }
}

/* --- Sidfot: murgröna över en tegelvägg ----------------------------------------- */
.site-foot { margin-top: 0; }
.ivy { height: 26px; background:
  radial-gradient(circle at 10px 6px, var(--ivy) 9px, transparent 10px) 0 0 / 34px 26px repeat-x,
  radial-gradient(circle at 24px 16px, var(--ivy-light) 8px, transparent 9px) 0 0 / 46px 26px repeat-x,
  var(--parchment); }
.foot-wall { background: var(--brick-bg); color: #f3e2cf; padding: 2.5rem 0 1.5rem; border-top: 6px solid var(--ivy); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 2rem; background: rgba(60, 22, 15, .78); padding-top: 1.5rem; padding-bottom: 1.5rem; border-radius: var(--radius); }
.foot-wall a, .foot-wall .linklike { color: #ffe9cf; }
.foot-name { font-family: var(--display); font-size: 1.35rem; margin: 0 0 .5rem; }
.foot-head { font-family: var(--display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 .5rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: .15rem 0; font-size: 1rem; }
.foot-grid p { font-size: 1rem; margin: 0; }
.foot-small { font-size: .85rem; margin-top: 1rem; background: rgba(60, 22, 15, .78); padding-top: .8rem; padding-bottom: .8rem; border-radius: var(--radius); }
.foot-small p { margin: .3rem 0; }
.foot-small .foot-name { font-size: 1.15rem; margin: .2rem 0 .1rem; }
.foot-news li + li { margin-top: .25rem; }
.foot-news a { line-height: 1.35; }

/* --- Cookiebanner ----------------------------------------------------------- */

/* --- Mobil ------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .college-grid, .list-layout { grid-template-columns: 1fr; }
  .side-box, .filters { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .college-head-grid { grid-template-columns: 1fr; }
  .college-photo { max-width: 520px; }
  .two-col { grid-template-columns: 1fr; gap: 1rem; }
  .compare-form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .nav-toggle {
    display: block; font-family: var(--display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    background: var(--brick-dark); color: var(--limestone); border: 0; padding: .55rem .9rem; border-radius: var(--radius);
  }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--limestone); border-bottom: 3px solid var(--brick-dark); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: .5rem 1.25rem 1rem; }
  .main-nav a { padding: .75rem 0; border-bottom: 1px solid var(--stone); }
  .lintel-row { position: relative; }
  .plaque dl { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .map-big { height: 340px; }
  .hero-search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
@media print { .site-head, .site-foot, .side, .adsplats, .map { display: none !important; } }
