/* ==========================================================================
   VisitGuide – hönnunarkerfi
   Litir sóttir í íslenskt landslag: blágrýti, fjörður, mosi, lúpína og jökull.
   Einkenni: hæðarlínur (topographic contours) í forsíðuhaus og fæti.
   ========================================================================== */

:root {
  --ink: #17262b;          /* blágrýti */
  --ink-2: #48595f;
  --ink-3: #6b7b80;
  --paper: #f5f8f7;        /* jökulmóða */
  --surface: #ffffff;
  --line: #d9e2e0;
  --line-2: #c3d0cd;
  --fjord: #145a63;
  --fjord-deep: #0d3f46;
  --fjord-tint: #e3eff0;
  --moss: #3f6f2b;
  --moss-tint: #e6efdc;
  --lupine: #5b4fa3;
  --lupine-tint: #ecebf7;
  --sulfur: #7c5a00;
  --sulfur-tint: #fbf1d4;
  --lava: #a5381f;
  --lava-tint: #fbe9e4;

  --f-display: "Charter", "Bitstream Charter", "Sitka Text", "Iowan Old Style", Cambria, Georgia, serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(13, 63, 70, .06), 0 2px 8px rgba(13, 63, 70, .05);
  --shadow-2: 0 6px 24px rgba(13, 63, 70, .10), 0 1px 3px rgba(13, 63, 70, .08);
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--lupine);
  --wrap: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--fjord); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--fjord-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 var(--s-3); color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.05rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--s-4); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.hint { font-size: .875rem; color: var(--ink-3); display: flex; gap: .4rem; align-items: flex-start; margin: var(--s-2) 0; }
.hint .ico { width: 1rem; height: 1rem; flex: none; margin-top: .2rem; }
.h-small { font-size: 1rem; font-family: var(--f-body); font-weight: 650; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-2); }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.ico-sm { width: .95em; height: .95em; }
/* Font Awesome: táknin eru leturtákn, svo stærð ræðst af font-size en ekki breidd/hæð */
i.ico { width: 1.25em; height: auto; font-size: 1em; line-height: 1; text-align: center; vertical-align: -.125em; }
i.ico-sm { font-size: .85em; width: 1.2em; }
.ico-on[class*="fa-"] { display: none; }
[aria-pressed="true"] i.ico-on { display: inline-block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-wide { width: 100%; max-width: 1440px; margin: 0 auto; }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap, .wrap-narrow { padding: 0 24px; } }
main { display: block; min-height: 60vh; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- Hnappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--r-md);
  border: 1.5px solid transparent; font-weight: 600; font-size: .975rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--fjord); color: #fff; }
.btn-primary:hover { background: var(--fjord-deep); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--fjord-deep); border-color: var(--fjord); }
.btn-secondary:hover { background: var(--fjord-tint); color: var(--fjord-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); background: var(--surface); }
.btn-light { background: #fff; color: var(--fjord-deep); }
.btn-light:hover { background: var(--fjord-tint); color: var(--fjord-deep); }
.btn-danger { background: var(--lava); color: #fff; }
.btn-danger:hover { background: #7f2a17; color: #fff; }
.btn-small { min-height: 36px; padding: .35rem .8rem; font-size: .875rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink-2); }
.link-strong { font-weight: 650; display: inline-flex; gap: .35rem; align-items: center; }
.badge { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: var(--r-pill); background: var(--lupine); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }

/* ---------- Haus ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--fjord-deep); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand:hover { color: var(--fjord); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--fjord); }
.header-row { flex-wrap: wrap; }
.nav-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; }
.main-nav { display: flex; flex-direction: column; width: 100%; padding-bottom: var(--s-3); }
.main-nav a { display: flex; align-items: center; gap: .55rem; padding: .8rem .25rem; color: var(--ink); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line); }
.main-nav a[aria-current="page"] { color: var(--fjord); }
.main-nav a .ico { color: var(--ink-3); }
.main-nav .badge { margin-left: auto; }
.nav-sep { display: none; }
.js .main-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: var(--s-2) 16px var(--s-4); }
.js .main-nav.is-open { display: flex; }
@media (min-width: 960px) {
  .header-row { flex-wrap: nowrap; }
  .nav-btn { display: none !important; }
  .main-nav, .js .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: .15rem; width: auto; background: none; border: 0; box-shadow: none; padding: 0; }
  .main-nav a { border: 0; padding: .5rem .7rem; border-radius: var(--r-sm); font-size: .95rem; }
  .main-nav a:hover { background: var(--paper); }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--fjord); border-radius: 0; }
  .main-nav .nav-saved .ico { display: none; }
  .main-nav .badge { margin-left: .2rem; }
  .nav-sep { display: block; width: 1px; height: 22px; background: var(--line); margin: 0 .4rem; }
}

/* ---------- Skilaboð ---------- */
.flash-stack { margin-top: var(--s-4); }
.flash { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r-md); margin: 0 0 var(--s-2); font-weight: 550; }
.flash-success { background: var(--moss-tint); color: #24461a; }
.flash-error { background: var(--lava-tint); color: #6d2414; }
.flash-info { background: var(--fjord-tint); color: var(--fjord-deep); }
.flash-warning { background: #fdf3d8; color: #5c4306; flex-wrap: wrap; }

/* ---------- Forsíða: haus með hæðarlínum ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eef5f4 0%, var(--paper) 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-contours { position: absolute; inset: 0 0 auto 0; height: 560px; background: url("../img/contours.svg") center top / 1400px auto no-repeat; opacity: .55; pointer-events: none; }
.hero-inner { position: relative; text-align: center; max-width: 920px; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.7rem); line-height: 1.05; margin-bottom: var(--s-4); color: var(--fjord-deep); }
.hero-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 56ch; margin: 0 auto var(--s-6); }
.hero-stats { color: var(--ink-2); margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; align-items: center; font-size: .975rem; }

/* Photos stay behind the search panel, above the featured cards. */
.hero.has-search-backgrounds { padding-top: 0; overflow: visible; }
.has-search-backgrounds .hero-search { position: relative; z-index: 1; isolation: isolate; background: var(--fjord-deep); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.75rem, 4vw, 3rem); }
.hero-backdrop, .hero-background { position: absolute; inset: 0; pointer-events: none; }
.hero-backdrop { z-index: -1; overflow: hidden; }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 26 32 / .62), rgb(7 26 32 / .79)); }
.hero-background { display: block; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; }
.has-search-backgrounds .hero-inner h1, .has-search-backgrounds .hero-lede, .has-search-backgrounds .hero-stats, .has-search-backgrounds .hero-stats a { color: #fff; }
.has-search-backgrounds .type-tab input:checked + span { border-color: #afdfda; }
@media (max-width: 719px) { .has-search-backgrounds .hero-search { padding-top: 2rem; } }

/* ---------- Leitarblokk (forsíða) ---------- */
.search { max-width: 900px; margin: 0 auto; }
.type-tabs { border: 0; padding: 0; margin: var(--s-4) 0 0; min-width: 0; }
.type-tabs-row { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.type-tab input { position: absolute; opacity: 0; pointer-events: none; }
.type-tab span { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .45rem .95rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .925rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.type-tab span:hover { border-color: var(--fjord); color: var(--fjord-deep); }
.type-tab input:checked + span { background: var(--fjord-deep); border-color: var(--fjord-deep); color: #fff; }
.type-tab input:focus-visible + span { box-shadow: var(--focus); }
@media (max-width: 640px) {
  .type-tabs { margin: var(--s-3) -16px 0; }
  .type-tabs-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 16px .25rem; scrollbar-width: none; }
  .type-tabs-row::-webkit-scrollbar { display: none; }
  .type-tab span { white-space: nowrap; }
}

.search-bar { display: flex; flex-direction: column; gap: .6rem; text-align: left; }
.search-field, .search-region { position: relative; display: flex; align-items: center; }
.search-ico, .region-ico { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; width: 1.25rem; height: 1.25rem; }
.search-field input, .search-region select {
  width: 100%; min-height: 54px; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); padding: .6rem .9rem .6rem 2.75rem; font-size: 1.05rem;
}
.search-region select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348595f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 2.4rem; cursor: pointer; }
.search-field input::placeholder { color: var(--ink-3); }
.search-field input:focus, .search-region select:focus { outline: none; border-color: var(--fjord); box-shadow: 0 0 0 3px rgba(20, 90, 99, .18); }
.search-btn { min-height: 54px; font-size: 1.05rem; padding: 0 1.6rem; }
@media (min-width: 720px) {
  .search-bar { flex-direction: row; gap: 0; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 10px 30px rgba(13, 63, 70, .08); }
  .search-bar:focus-within { border-color: var(--fjord); }
  .search-field { flex: 1 1 auto; }
  .search-region { flex: 0 0 34%; border-left: 1px solid var(--line); }
  .search-field input, .search-region select { border: 0; min-height: 52px; border-radius: 10px; }
  .search-field input:focus, .search-region select:focus { box-shadow: none; background-color: var(--paper); }
  .search-btn { border-radius: 10px; }
}

/* Leitartillögur */
.suggest { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: .4rem; max-height: 70vh; overflow: auto; }
.suggest-group { padding: .25rem 0; }
.suggest-group + .suggest-group { border-top: 1px solid var(--line); }
.suggest-head { font-size: .75rem; font-weight: 650; color: var(--ink-3); padding: .35rem .6rem .15rem; letter-spacing: .02em; }
.suggest-item { display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; cursor: pointer; }
.suggest-item .ico { color: var(--fjord); }
.suggest-item small { display: block; color: var(--ink-3); font-size: .8rem; }
.suggest-item[aria-selected="true"], .suggest-item:hover { background: var(--fjord-tint); text-decoration: none; }
.suggest-item mark { background: none; color: inherit; font-weight: 700; }
.suggest-all { font-weight: 600; color: var(--fjord-deep); }

/* ---------- Kaflar ---------- */
.section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-intro { color: var(--ink-2); margin: .4rem 0 0; max-width: 60ch; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }

/* Flísar (flokkar/landshlutar) */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1100px) { .tile-grid-5 { grid-template-columns: repeat(5, 1fr); } .tile-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.tile a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.tile-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--fjord-tint); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile a:hover .tile-img img { transform: scale(1.03); }
.tile-ico { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--fjord-deep); }
.tile-name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin-top: .7rem; }
.tile a:hover .tile-name { color: var(--fjord); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.tile-desc { color: var(--ink-2); font-size: .925rem; margin-top: .2rem; line-height: 1.5; }

/* Staðaspjöld */
.card-grid { display: grid; gap: var(--s-5) var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: var(--line-2); }
.card.is-highlighted { border-color: var(--fjord); box-shadow: 0 0 0 2px var(--fjord); }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--fjord-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { display: grid; place-items: center; height: 100%; color: var(--fjord); position: relative; overflow: hidden; }
.card-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-placeholder-ico { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgb(255 255 255 / .85); }
.card-placeholder .ico { width: 1.4rem; height: 1.4rem; }
/* Staðfest atriði á spjöldum */
.card-feats { list-style: none; margin: .35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .7rem; font-size: .82rem; color: var(--ink-2); }
.card-feats li { display: inline-flex; align-items: center; gap: .25rem; }
.card-feats .ico { width: .95rem; height: .95rem; color: var(--moss, #3f6f2b); }
.card-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card-cat { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--fjord); margin: 0; }
.card-cat .ico { width: 1rem; height: 1rem; }
.card-title { font-size: 1.12rem; margin: .1rem 0 0; line-height: 1.25; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-where { color: var(--ink-2); font-size: .9rem; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.card-dist { color: var(--ink-3); }
.card-short { font-size: .9rem; color: var(--ink-2); margin: .35rem 0 0; }
.card-reason { font-size: .82rem; color: var(--moss); font-weight: 600; margin: .25rem 0 0; }
.hours-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; margin: .45rem 0 0; color: var(--ink-2); }
.hours-chip .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ink-3); flex: none; }
.hours-open { color: var(--moss); }
.hours-open .dot { background: var(--moss); }
.hours-closed, .hours-seasonal { color: var(--lava); }
.hours-closed .dot, .hours-seasonal .dot { background: var(--lava); }
.hours-unknown { color: var(--ink-3); }
.save-btn { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); }
.js .save-btn { display: grid; }
.save-btn .ico { width: 1.2rem; height: 1.2rem; }
.ico-on { display: none; }
[aria-pressed="true"] .ico-on { display: block; color: #b4233c; }
[aria-pressed="true"] .ico-off { display: none; }
.partner-tag { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--lupine); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: var(--r-sm); }
.card-partner { border-color: #cbc6e8; }

/* Ferðahandbækur */
.guide-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-card { position: relative; display: flex; flex-direction: column; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; }

/* Samstarf / fyrirtæki */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); background: var(--fjord-deep) url("../img/contours-light.svg") right center / 900px auto no-repeat; color: #e6f0f0; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 56ch; color: #cfe1e2; }
.partners-section .section-intro .ico { color: var(--lupine); }

/* ---------- Niðurstöðusíða ---------- */
.explore-top { background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--s-5) 0 var(--s-3); }
.explore-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: var(--s-4); }
.search-bar-compact { max-width: 880px; }
@media (min-width: 720px) { .search-bar-compact { box-shadow: none; } .search-bar-compact .search-field input, .search-bar-compact .search-region select, .search-bar-compact .search-btn { min-height: 46px; } }
.type-pills { display: flex; gap: .4rem; overflow-x: auto; padding: var(--s-4) 0 .25rem; scrollbar-width: thin; }
.type-pills a { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .45rem .85rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--surface); }
.type-pills a:hover { border-color: var(--fjord); color: var(--fjord-deep); }
.type-pills a[aria-current="true"] { background: var(--fjord-deep); border-color: var(--fjord-deep); color: #fff; }
.count { font-weight: 500; font-size: .8em; opacity: .75; font-variant-numeric: tabular-nums; }
.explore-body { display: grid; gap: var(--s-5); padding-top: var(--s-5); padding-bottom: var(--s-7); }
@media (min-width: 1000px) { .explore-body { grid-template-columns: 260px 1fr; align-items: start; } }
.filters > summary { list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.filters-panel { margin-top: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
@media (min-width: 1000px) {
  .filters > summary { display: none; }
  .filters { position: sticky; top: calc(var(--header-h) + 16px); }
  .filters > .filters-panel { margin-top: 0; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
}
.filter-group { border: 0; padding: 0 0 var(--s-4); margin: 0 0 var(--s-4); border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group legend, .filter-group .legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .5rem; padding: 0; }
.filter-group select { width: 100%; min-height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: .4rem .6rem; background: var(--surface); margin-bottom: .5rem; }
.opt { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; font-size: .95rem; cursor: pointer; line-height: 1.35; }
.opt input { width: 1.15rem; height: 1.15rem; accent-color: var(--fjord); flex: none; margin: 0; }
.opt .ico { color: var(--ink-3); width: 1rem; height: 1rem; }
.opt .count { margin-left: auto; }
.opt-empty { color: var(--ink-3); }
.opt-inline { padding: 0 .5rem; white-space: nowrap; }
.filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.js .filter-actions .btn-primary { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-3); }
.results-count { font-weight: 650; margin: 0; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.view-toggle a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.view-toggle a + a { border-left: 1.5px solid var(--line-2); }
.view-toggle a[aria-current="true"] { background: var(--fjord-tint); color: var(--fjord-deep); }
.chips { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .4rem .3rem .75rem; border-radius: var(--r-pill); background: var(--fjord-tint); color: var(--fjord-deep); text-decoration: none; font-size: .875rem; font-weight: 600; }
.chip .ico { width: .95rem; height: .95rem; }
.chip:hover { background: #cfe3e5; text-decoration: none; }
.chip-clear { background: none; text-decoration: underline; padding-right: .75rem; }
.chip-plain { padding: .35rem .8rem; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.partner-box { background: var(--lupine-tint); border: 1px solid #d6d2ee; border-radius: var(--r-md); padding: var(--s-4); margin-bottom: var(--s-5); }
.partner-box-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-3); }
.partner-box-head h2 { font-size: 1rem; font-family: var(--f-body); margin: 0; color: #3b3274; }
.partner-why { font-size: .85rem; display: inline-flex; gap: .3rem; align-items: center; color: #3b3274; }
.partner-box-list { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: var(--s-6); text-align: center; }
.empty h2 { font-size: 1.4rem; }
.broaden { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pager { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: var(--s-6); flex-wrap: wrap; }
.pager ol { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.pager a, .pager span[aria-current], .pager-step { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { background: var(--surface); }
.pager span[aria-current] { background: var(--fjord-deep); color: #fff; }
.pager-step { display: inline-flex; gap: .3rem; border: 1.5px solid var(--line-2); }

/* Kort + listi hlið við hlið */
.results-split { display: block; }
.explore-map .results-split { display: grid; gap: var(--s-4); }
@media (min-width: 1000px) {
  .explore-map .explore-body { grid-template-columns: 240px 1fr; }
  .explore-map .results-split { grid-template-columns: minmax(300px, 1fr) minmax(360px, 1.15fr); align-items: start; }
  .explore-map .card-grid-results { grid-template-columns: 1fr; }
  .explore-map .card-grid-results .card { flex-direction: row; }
  .explore-map .card-grid-results .card-media { width: 38%; aspect-ratio: auto; min-height: 130px; flex: none; }
  .explore-map .map-pane { position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 32px); }
}
@media (max-width: 999px) {
  .explore-map .map-pane { order: -1; height: 60vh; }
}
.map-pane { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--fjord-tint); }
.map-canvas { width: 100%; height: 100%; min-height: 320px; position: relative; background: #dfeaea; }
.map-fallback { padding: var(--s-4); margin: 0; color: var(--ink-2); }
.map-area-btn { position: absolute; z-index: 500; left: 50%; top: 12px; transform: translateX(-50%); box-shadow: var(--shadow-2); }

/* /map – heilskjár */
.page-map .site-footer { display: none; }
.mapview { display: flex; flex-direction: column; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
.mapview-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mapview-bar .search-field { flex: 1 1 220px; }
.mapview-bar .search-field input { min-height: 44px; font-size: 1rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding-left: 2.5rem; width: 100%; }
.mapview-bar select { min-height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: .3rem .5rem; background: var(--surface); }
.mapview-body { position: relative; flex: 1; min-height: 0; }
.mapview-empty { margin: .5rem 1rem 0; }
.map-full { position: absolute; inset: 0; min-height: 0; }
.map-panel { position: absolute; z-index: 600; left: 12px; right: 12px; bottom: 12px; max-width: 380px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.map-panel .card { border: 0; flex-direction: row; }
.map-panel .card-media { width: 120px; aspect-ratio: auto; flex: none; }
.map-panel .panel-close { position: absolute; z-index: 3; top: 6px; right: 6px; width: 36px; height: 36px; }
.map-status { position: absolute; z-index: 500; right: 12px; top: 12px; margin: 0; background: rgba(255, 255, 255, .95); padding: .3rem .7rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-1); }
.map-status:empty { display: none; }
@media (max-width: 719px) { .mapview-bar { gap: .4rem; } .mapview-bar select { flex: 1 1 40%; } }

/* Kortamerki */
.pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--fjord); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); color: #fff; }
.pin svg { width: 17px; height: 17px; transform: rotate(45deg); }
.pin-things-to-do { background: #2f6e4f; }
.pin-stay { background: #5b4fa3; }
.pin-eat-drink { background: #a5381f; }
.pin-wellness { background: #145a63; }
.pin-services { background: #48595f; }
.pin-parking { background: #2b4d8f; border-radius: 6px; transform: none; }
.pin-parking svg { transform: none; }
.pin.is-active { outline: 3px solid #ffd447; outline-offset: 1px; }
.cluster { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(13, 63, 70, .9); color: #fff; font-weight: 700; font-size: .875rem; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper { border-radius: var(--r-md); }

/* ---------- Staðasíða ---------- */
.preview-banner { background: var(--sulfur-tint); color: var(--sulfur); padding: .7rem 16px; text-align: center; font-weight: 650; display: flex; gap: .5rem; justify-content: center; align-items: center; }
.crumbs { margin: var(--s-4) 0 var(--s-2); font-size: .875rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: .25rem; }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink-3); }
.back-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; margin-bottom: var(--s-3); }
.place { --accent: var(--fjord); --accent-tint: var(--fjord-tint); }
.place-type-stay { --accent: var(--lupine); --accent-tint: var(--lupine-tint); }
.place-type-eat-drink { --accent: var(--lava); --accent-tint: var(--lava-tint); }
.place-type-things-to-do { --accent: var(--moss); --accent-tint: var(--moss-tint); }
.place-head { padding: var(--s-2) 0 var(--s-5); max-width: 880px; }
.place-kicker { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.kicker-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; font-weight: 550; text-decoration: none; line-height: 1.3; }
.kicker-chip .ico { color: var(--accent); }
a.kicker-cat { background: var(--accent-tint); border-color: transparent; color: var(--ink); font-weight: 650; }
a.kicker-cat:hover { color: var(--ink); text-decoration: underline; }
.kicker-chip.badge-owner { color: var(--moss); border-color: var(--moss-tint); }
.place-head h1 { margin-bottom: .35rem; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -.02em; }
.place-alt { color: var(--ink-3); font-family: var(--f-display); font-style: italic; font-size: 1.15rem; margin-bottom: var(--s-3); }
.place-short { font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.place-status { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: var(--s-3) 0 var(--s-3); }
.place-status .hours-chip { margin: 0; font-size: .95rem; padding: .3rem .8rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.place-status .hours-open { background: var(--moss-tint); border-color: transparent; }
.place-status .hours-closed, .place-status .hours-seasonal { background: var(--lava-tint); border-color: transparent; }
.caveat { display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; color: var(--sulfur); background: var(--sulfur-tint); padding: .25rem .7rem; border-radius: var(--r-pill); }
.badge-owner { display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--moss); }
.place-access-summary { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; font-size: .92rem; color: var(--ink-2); margin: 0 0 var(--s-4); }
.place-access-summary span { display: inline-flex; gap: .35rem; align-items: center; }
.place-access-summary .ico { color: var(--moss); }
.place-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.place-actions .btn { border-radius: var(--r-pill); }

.gallery { position: relative; margin-bottom: var(--s-5); }
.gallery-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0 16px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track { scroll-padding-inline: 16px; }
.gallery-slide { flex: 0 0 88%; margin: 0; scroll-snap-align: start; position: relative; }
@media (min-width: 720px) { .gallery-track { padding: 0 24px; scroll-padding-inline: 24px; } }
@media (min-width: 900px) { .gallery-slide { flex-basis: 66%; } .gallery-track { padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); scroll-padding-inline: max(24px, calc((100vw - 1200px) / 2 + 24px)); } }
.gallery-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); background: var(--accent-tint); }
.gallery-slide figcaption { font-size: .82rem; color: var(--ink-2); margin-top: .4rem; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.gallery-pos { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .9rem; min-width: 4ch; text-align: center; }
.gallery-single .gallery-slide { flex-basis: 100%; }
@media (min-width: 900px) {
  .gallery-single .gallery-track, .gallery-mosaic .gallery-track { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; overflow: visible; }
  .gallery-single .gallery-slide img { aspect-ratio: 21 / 9; }
  .gallery-mosaic .gallery-track { display: grid; gap: 10px; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 210px); }
  .gallery-mosaic .gallery-slide { margin: 0; min-width: 0; }
  .gallery-mosaic .gallery-slide img { height: 100%; aspect-ratio: auto; border-radius: 0; }
  .gallery-mosaic .gallery-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.4rem .7rem .45rem; color: #fff; font-size: .75rem; background: linear-gradient(transparent, rgba(10, 30, 34, .7)); }
  .gallery-mosaic .gallery-slide:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-mosaic .gallery-slide { overflow: hidden; }
  .gallery-mosaic .gallery-slide:first-child img { border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .gallery-n2 .gallery-track { grid-template-rows: 420px; }
  .gallery-n2 .gallery-slide:first-child { grid-row: span 1; }
  .gallery-n2 .gallery-slide:last-child { grid-column: span 2; }
  .gallery-n2 .gallery-slide:last-child img { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  .gallery-n3 .gallery-slide:not(:first-child) { grid-column: span 2; }
  .gallery-n3 .gallery-slide:nth-child(2) img { border-radius: 0 var(--r-lg) 0 0; }
  .gallery-n3 .gallery-slide:nth-child(3) img { border-radius: 0 0 var(--r-lg) 0; }
  .gallery-n4 .gallery-slide:nth-child(4) { grid-column: span 2; }
  .gallery-n4 .gallery-slide:nth-child(3) img { border-radius: 0 var(--r-lg) 0 0; }
  .gallery-n4 .gallery-slide:nth-child(4) img { border-radius: 0 0 var(--r-lg) 0; }
  .gallery-n5 .gallery-slide:nth-child(3) img { border-radius: 0 var(--r-lg) 0 0; }
  .gallery-n5 .gallery-slide:nth-child(5) img { border-radius: 0 0 var(--r-lg) 0; }
  .gallery-mosaic .gallery-controls { display: none; }
}

.gallery-open { display: block; color: inherit; cursor: zoom-in; border-radius: var(--r-lg); }
.gallery-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-3); margin-top: var(--s-3); padding: 0 16px; }
.gallery-bar .gallery-controls { margin: 0; }
.gallery-all { border-radius: var(--r-pill); }
@media (min-width: 900px) {
  .gallery-mosaic .gallery-open { height: 100%; border-radius: 0; }
  .gallery-mosaic .gallery-slide:nth-child(n+6) { display: none; }
  .gallery-mosaic .gallery-slide img { transition: transform .35s ease, filter .2s; }
  .gallery-mosaic .gallery-open:hover img { transform: scale(1.025); filter: brightness(1.04); }
  .gallery-mosaic .gallery-bar { position: absolute; right: max(24px, calc((100% - 1200px) / 2 + 24px)); bottom: 14px; margin: 0; padding: 0; }
  .gallery-mosaic .gallery-all { background: rgb(255 255 255 / .95); box-shadow: var(--shadow-2); border-color: transparent; }
  .gallery-single .gallery-bar { justify-content: flex-end; max-width: var(--wrap); margin: var(--s-3) auto 0; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-mosaic .gallery-slide img { transition: none; } .gallery-mosaic .gallery-open:hover img { transform: none; } }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 20 23 / .97); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgb(8 20 23 / .9); }
html.lb-open { overflow: hidden; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lb-count { font-variant-numeric: tabular-nums; font-size: .95rem; color: rgb(255 255 255 / .85); }
.lb-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; font-size: 1.1rem; }
.lb-btn:hover { background: rgb(255 255 255 / .22); }
.lb-btn:focus-visible { box-shadow: 0 0 0 3px #fff; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 8px; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.lb-figure img { width: 100%; max-width: 1600px; height: calc(100vh - 210px); height: calc(100dvh - 210px); object-fit: contain; }
.lb-cap { margin-top: .6rem; font-size: .9rem; color: rgb(255 255 255 / .9); text-align: center; max-width: 70ch; }
.lb-cap:empty { display: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-thumbs { list-style: none; margin: 0; padding: 10px 14px 14px; display: flex; gap: 8px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lb-thumbs button { display: block; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; opacity: .6; }
.lb-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs img { width: 84px; height: 56px; object-fit: cover; border-radius: 6px; }
@media (max-width: 719px) { .lb-prev, .lb-next { display: none; } .lb-figure img { height: calc(100dvh - 190px); } .lb-thumbs img { width: 64px; height: 44px; } }

.place-band { position: relative; height: 150px; margin-bottom: var(--s-5); border-radius: var(--r-lg); overflow: hidden; background: var(--accent-tint) url("../img/contours.svg") center / 900px auto; display: flex; align-items: center; justify-content: center; }
.place-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .35)); }
.place-band-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-2); font-size: 1.9rem; }
.place-band-ico svg.ico { width: 2.1rem; height: 2.1rem; }


.place-glance { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin: 0 0 var(--s-4); }
.glance { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.glance-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); font-size: 1.05rem; }
.glance-open .glance-ico { background: var(--moss-tint); color: var(--moss); }
.glance-closed .glance-ico, .glance-seasonal .glance-ico { background: var(--lava-tint); color: var(--lava); }
.glance-text { display: flex; flex-direction: column; min-width: 0; }
.glance-label { font-size: .75rem; font-weight: 650; color: var(--ink-3); text-transform: none; }
.glance-value { font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.glance-sub { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 719px) {
  .place-band { height: 92px; margin-bottom: var(--s-4); }
  .place-band-ico { width: 58px; height: 58px; font-size: 1.45rem; }
  .glance-type { display: none; }
  .place-glance { grid-template-columns: 1fr 1fr; }
  .glance-wide { grid-column: 1 / -1; }
  .glance { padding: .7rem .75rem; gap: .6rem; }
  .glance-ico { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
}
.place-toc { position: sticky; top: var(--header-h); z-index: 30; margin: 0 -16px var(--s-4); padding: .55rem 16px; background: rgb(245 248 247 / .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .place-toc { margin: 0 -24px var(--s-5); padding: .55rem 24px; } }
.place-toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.place-toc ul::-webkit-scrollbar { display: none; }
.place-toc a { display: inline-block; white-space: nowrap; padding: .4rem .85rem; border-radius: var(--r-pill); font-size: .875rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.place-toc a:hover { color: var(--ink); border-color: var(--line-2); }
.place-section[id], .place-section h2[id], .before-go h3[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

.place-layout { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
@media (min-width: 1000px) { .place-layout { grid-template-columns: minmax(0, 1fr) 370px; align-items: start; } }
.place-section { padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.place-section:first-child { border-top: 0; padding-top: 0; }
.sec-title { display: flex; align-items: center; gap: .65rem; }
.sec-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-tint); color: var(--accent); font-size: 1rem; }
.sec-ico svg.ico { width: 1.15rem; height: 1.15rem; }
.prose { max-width: 68ch; font-size: 1.05rem; }
.prose p { margin-bottom: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose blockquote { margin: 1.2em 0; padding-left: 1rem; border-left: 3px solid var(--fjord); color: var(--ink-2); font-style: italic; }
.prose-lead p:first-child { font-size: 1.14rem; color: var(--ink); }
.map-card { margin-top: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.map-card .mini-map { margin: 0; border: 0; border-radius: 0; }
.map-card-foot { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; padding: .65rem .85rem; border-top: 1px solid var(--line); }
.map-coords { display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.btn-sm { padding: .4rem .8rem; font-size: .875rem; min-height: 38px; }
.mini-map { height: 300px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-top: var(--s-4); }
.map-note { font-size: .85rem; color: var(--ink-3); margin-top: .5rem; }
.access-links { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: .5rem; }
.access-links li { display: flex; gap: .5rem; align-items: center; }
.access-links a { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; }
.access-links .ico { color: var(--accent); }
.verified-line { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--ink-3); margin: .5rem 0 0; }
.verified-line .ico { width: 1rem; height: 1rem; color: var(--moss); }
.facts-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
@media (max-width: 480px) { .fact { padding: .6rem; gap: .5rem; } .fact-ico { width: 30px; height: 30px; } .fact-name { font-size: .9rem; } }
.fact { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .9rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.fact-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none; font-size: 1rem; }
.fact-yes { border-color: #cfe0c2; }
.fact-yes .fact-ico { background: var(--moss-tint); color: var(--moss); }
.fact-no .fact-ico { background: #eef1f1; color: var(--ink-2); }
.fact-no .fact-name { color: var(--ink-2); }
.fact-unknown { border-style: dashed; background: transparent; }
.fact-unknown .fact-ico { background: transparent; color: var(--ink-3); border: 1.5px dashed var(--line-2); }
.fact-text { display: flex; flex-direction: column; }
.fact-name { font-weight: 600; line-height: 1.3; }
.fact-state { display: inline-flex; gap: .3rem; align-items: center; font-size: .85rem; color: var(--ink-2); }
.fact-yes .fact-state { color: var(--moss); font-weight: 600; }
.fact-unknown .fact-state { color: var(--ink-3); }
.fact-note { font-size: .82rem; color: var(--ink-3); }
.facts-unknown { margin-top: var(--s-4); padding: .85rem 1rem; border: 1.5px dashed var(--line-2); border-radius: var(--r-md); }
.facts-grid + .facts-unknown { margin-top: .8rem; }
.facts-unknown:first-of-type { margin-top: 0; }
.facts-unknown-title { display: flex; gap: .4rem; align-items: center; font-size: .9rem; font-weight: 650; color: var(--ink-2); margin: 0 0 .5rem; }
.facts-unknown ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.facts-unknown li { display: inline-flex; gap: .35rem; align-items: center; padding: .25rem .65rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.facts-unknown li .ico { color: var(--ink-3); }
.attr-list { margin: 0; display: grid; gap: 0; }
.attr { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: var(--s-4); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.attr dt { display: flex; gap: .45rem; align-items: center; color: var(--ink-2); font-weight: 550; }
.attr dt .ico { color: var(--accent); }
.attr dd { margin: 0; }
.attr-verified { display: block; font-size: .8rem; color: var(--ink-3); }
.callout { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r-md); margin: var(--s-4) 0 0; font-size: .95rem; }
.callout > .ico { flex: none; margin-top: .2rem; font-size: 1.1rem; }
.callout .prose { font-size: 1rem; }
.callout .prose p:last-child { margin-bottom: 0; }
.callout-season { background: var(--sulfur-tint); color: var(--ink); margin-top: 0; }
.callout-season > .ico { color: var(--sulfur); }
.callout-safety { background: var(--fjord-tint); color: var(--ink); }
.callout-safety > .ico { color: var(--fjord); }
.report-cta { display: grid; gap: .5rem; }
.report-cta p { display: flex; gap: .55rem; align-items: center; color: var(--ink-2); font-size: .95rem; margin: 0; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.report-cta p > .ico { color: var(--ink-3); }

.factbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-1); }
@media (min-width: 1000px) { .place-facts { position: sticky; top: calc(var(--header-h) + 72px); } }
@media (max-width: 999px) { .place-facts { order: -1; } }
.factbox-title { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: var(--s-4); }
.fb-block { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.fb-block:first-of-type { border-top: 0; padding-top: 0; }
.fb-head { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0 0 .6rem; letter-spacing: 0; }
.fb-head > .ico { color: var(--accent); }
.fb-head .hours-chip { margin: 0 0 0 auto; font-size: .8rem; }
.fb-text { margin: 0; }
.hours-table { border-collapse: collapse; width: 100%; font-size: .925rem; font-variant-numeric: tabular-nums; }
.hours-table th { text-align: left; font-weight: 500; color: var(--ink-2); padding: .3rem .5rem; width: 45%; }
.hours-table td { padding: .3rem .5rem; text-align: right; }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px solid #edf2f1; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 700; color: var(--ink); background: var(--accent-tint); border-top-color: transparent; }
.hours-table .is-today th { border-radius: 8px 0 0 8px; }
.hours-table .is-today td { border-radius: 0 8px 8px 0; }
.hours-table .is-today + tr th, .hours-table .is-today + tr td { border-top-color: transparent; }
.hours-table .closed { color: var(--ink-3); }
.today-tag { display: inline-block; margin-left: .3rem; padding: 0 .4rem; border-radius: var(--r-pill); background: var(--surface); font-size: .7rem; font-weight: 700; color: var(--accent); vertical-align: .1em; }
.exception { display: flex; gap: .35rem; align-items: center; font-size: .85rem; color: var(--sulfur); margin: .5rem 0 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.cl-row, .cl-link { display: flex; gap: .7rem; align-items: center; padding: .45rem .5rem; margin: 0 -.5rem; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.cl-link:hover { background: var(--paper); color: var(--ink); }
.cl-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper); color: var(--accent); font-size: .95rem; }
.cl-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cl-label { font-size: .75rem; font-weight: 650; color: var(--ink-3); }
.cl-value { overflow-wrap: anywhere; line-height: 1.35; }
.cl-link .cl-value { color: var(--fjord); font-weight: 600; }
.cl-go { color: var(--ink-3); }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.social-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem .4rem .55rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.social-btn .ico { font-size: 1.05rem; }
.social-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.social-facebook .ico { color: #1877f2; }
.social-instagram .ico { color: #c13584; }
.social-youtube .ico { color: #e00000; }
.social-tiktok .ico { color: #111; }
.factbox-foot { display: flex; gap: .4rem; align-items: center; font-size: .82rem; color: var(--moss); margin: var(--s-2) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.factbox-foot.muted { color: var(--ink-3); }

.action-dock { display: none; }
@media (max-width: 719px) {
  .action-dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: .5rem; padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(13, 63, 70, .08); transform: translateY(110%); transition: transform .2s; }
  .action-dock.is-visible { transform: none; }
  .action-dock .btn { flex: 1; padding: .5rem .6rem; }
  .place { padding-bottom: 80px; }
}

/* ---------- Lendingarsíður ---------- */
.landing-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-bottom: var(--s-6); }
.landing-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .landing-grid { grid-template-columns: 1.2fr 1fr; } }
.landing-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fjord-tint); }
.landing-img img { width: 100%; height: 100%; object-fit: cover; }
.landing-head .btn { margin: 0 .4rem .4rem 0; }
.town-list { margin-top: var(--s-5); }
.cat-index { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-top: var(--s-5); }
.cat-col h2 { font-size: 1.35rem; }
.cat-col h2 a { display: inline-flex; gap: .5rem; align-items: center; color: var(--ink); text-decoration: none; }
.cat-col ul { list-style: none; padding: 0; margin: 0; }
.cat-col li a { display: flex; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.cat-col li a:hover { color: var(--fjord); }
.cat-col li .ico { color: var(--fjord); }
.cat-col .cat-children { margin-inline-start: 1.5rem; }
.tax-tour-child { padding-inline-start: 1.5rem; }
.filter-group .tour-filter-child { margin-inline-start: 1rem; }
.guide-hero img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Eyðublöð ---------- */
.form { display: grid; gap: var(--s-4); max-width: 640px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 var(--s-2); display: grid; gap: var(--s-4); }
.form legend { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; margin-bottom: var(--s-3); padding: 0; }
.field { display: grid; gap: .35rem; }
.field > label, .field > .label { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .input {
  width: 100%; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); padding: .55rem .75rem; font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--fjord); box-shadow: 0 0 0 3px rgba(20, 90, 99, .18); }
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.has-error input, .has-error select, .has-error textarea { border-color: var(--lava) !important; }
.field-error { color: var(--lava); font-size: .875rem; font-weight: 600; margin: 0; }
.form-errors { background: var(--lava-tint); color: #6d2414; padding: .8rem 1rem; border-radius: var(--r-md); font-weight: 600; margin-bottom: var(--s-4); }
.form-errors p { margin: 0; }
.optional { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.claim-target { display: flex; gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); margin-bottom: var(--s-4); }
.claim-target .ico { width: 1.6rem; height: 1.6rem; color: var(--fjord); }

/* ---------- Verðsíða ---------- */
.partners-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.partners-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/contours.svg") right -200px top -80px / 1100px auto no-repeat; opacity: .5; pointer-events: none; }
.partners-hero .wrap { position: relative; }
.price-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: var(--s-5); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; }
.price-card-featured { border: 2px solid var(--fjord); }
.price { margin: var(--s-2) 0 0; }
.price .amount { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--fjord-deep); }
.price .unit { color: var(--ink-2); font-size: .95rem; }
.price-vat { color: var(--ink-3); font-size: .85rem; }
.check-list { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-5); display: grid; gap: .55rem; flex: 1; }
.check-list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; }
.check-list .ico { color: var(--moss); margin-top: .2rem; }
.two-col { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.steps { padding-left: 1.3rem; display: grid; gap: .6rem; }

/* ---------- Mínar síður ---------- */
.account-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .account-grid { grid-template-columns: 240px 1fr; } }
.side-nav { display: flex; flex-direction: column; gap: .15rem; }
.side-nav a { padding: .55rem .75rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 550; display: flex; gap: .5rem; align-items: center; }
.side-nav a[aria-current="page"] { background: var(--fjord-tint); color: var(--fjord-deep); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); margin-bottom: var(--s-4); }
.panel h2 { font-size: 1.25rem; }
.storage-note { display: flex; gap: .5rem; align-items: flex-start; background: var(--fjord-tint); color: var(--fjord-deep); padding: .8rem 1rem; border-radius: var(--r-md); font-size: .925rem; }
.trip-day { margin-bottom: var(--s-5); }
.trip-day h3 { font-family: var(--f-body); font-size: 1rem; text-transform: none; color: var(--fjord-deep); }
.trip-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .6rem; margin-bottom: .5rem; }
.trip-item img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--r-sm); }
.trip-item .controls { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.trip-item .controls .icon-btn { width: 36px; height: 36px; }
.trip-note { font-size: .875rem; color: var(--ink-2); }
.inline-form { display: inline; }
.share-box { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.share-box input { flex: 1 1 260px; }

/* ---------- Villusíða ---------- */
.error-page { text-align: center; }
.error-code { font-family: var(--f-display); font-size: 4.5rem; font-weight: 700; color: var(--fjord-tint); -webkit-text-stroke: 2px var(--fjord); margin: 0; line-height: 1; }
.debug { text-align: left; white-space: pre-wrap; font-size: .75rem; background: #fff; padding: 1rem; border-radius: 8px; overflow: auto; }

/* ---------- Fótur ---------- */
.site-footer { background: var(--fjord-deep) url("../img/contours-light.svg") center bottom / 1600px auto no-repeat; color: #c8dbdc; margin-top: var(--s-7); }
.footer-grid { display: grid; gap: var(--s-5); padding-top: var(--s-7); padding-bottom: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.footer-head { color: #fff; font-weight: 650; margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.site-footer a { color: #e4f0f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { margin-top: var(--s-4); }
.footer-social ul { display: flex; flex-wrap: wrap; gap: .35rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: .2rem .55rem; border: 1px solid rgb(255 255 255 / .28); border-radius: var(--r-md); font-size: .86rem; }
.footer-social a:hover { border-color: currentColor; }
.footer-social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-social .ico { width: 1rem; height: 1rem; flex: none; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: var(--s-4); padding-bottom: var(--s-5); font-size: .85rem; color: #a9c3c5; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .action-dock, .save-btn, .place-actions, .gallery-controls, .mini-map, .place-toc, .map-card-foot { display: none !important; }
}
.landing-figure { margin: 0; }

/* ---------- Staðaspjöld undir leitinni ---------- */
.featured { position: relative; margin-top: var(--s-6); padding-bottom: var(--s-3); }
.featured-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: var(--s-3); }
.featured-head .link-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--fjord); font-size: .88rem; font-weight: 650; }
.featured-head .link-more .ico { width: .85rem; height: .85rem; }
.featured-title { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); color: var(--fjord-deep); margin: 0; }
.featured-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1.6vw, 1.25rem); list-style: none; margin: 0; padding: 0; }
.featured-card { min-width: 0; }
.featured-card > a { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: inherit; text-decoration: none; }
.featured-card > a:focus-visible { outline: none; box-shadow: var(--focus); }
.featured-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fjord-tint); }
.featured-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-img > img { transition: transform .35s ease; }
.featured-card a:hover .featured-img > img { transform: scale(1.035); }
.featured-body { min-width: 0; padding: .85rem 1rem 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.featured-body p { margin: 0; }
.featured-category, .featured-fact { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 650; }
.featured-category { color: var(--fjord); }
.featured-category .ico, .featured-fact .ico { width: .95rem; height: .95rem; flex: none; }
.featured-name { margin: 0; color: var(--fjord-deep); font-size: clamp(1.05rem, .9rem + .65vw, 1.35rem); line-height: 1.2; overflow-wrap: anywhere; }
.featured-card a:hover .featured-name { text-decoration: underline; text-underline-offset: 3px; }
.featured-where { color: var(--ink-2); font-size: .84rem; }
.featured-fact { color: var(--moss); }
.featured-fact-closed { color: var(--ink-2); }
@media (max-width: 599px) {
  .featured-row { grid-template-columns: minmax(0, 1fr); }
  .featured-card > a { grid-template-columns: clamp(5.75rem, 29vw, 8rem) minmax(0, 1fr); grid-template-rows: auto; }
  .featured-img { aspect-ratio: auto; min-height: 6.5rem; }
  .featured-img > img { position: absolute; inset: 0; }
  .featured-img .partner-tag { top: 6px; left: 6px; }
  .featured-body { padding: .65rem .8rem; }
}

/* Sími: landshlutaval og leitarhnappur í sömu röð, með þéttari forsíðuhaus. */
@media (max-width: 719px) {
  .search:not(.search-compact) .search-bar { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
  .search:not(.search-compact) .search-field { grid-column: 1 / -1; }
  .search:not(.search-compact) .search-btn { min-height: 52px; padding: 0 1.1rem; }
  .hero { padding-top: 1.75rem; }
  .hero h1 { margin-bottom: var(--s-3); }
  .hero-lede { margin-bottom: var(--s-4); font-size: 1rem; }
  .hero-stats { margin-top: var(--s-3); }
  .featured { margin-top: var(--s-5); }
}
.place-access-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: .6rem 0 0; font-size: .95rem; color: var(--ink-2); }
.place-access-summary span { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; color: var(--ink); }
.place-access-summary .ico { width: 1.05rem; height: 1.05rem; color: var(--moss); }
.place-access-summary a { font-weight: 600; }

/* ---------- Handbók: stopp í röð með korti ---------- */
.guide-stops .section-head { align-items: flex-start; flex-wrap: wrap; gap: var(--s-3); }
.save-all { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.save-all-status { margin: 0; font-size: .9rem; color: var(--moss); font-weight: 600; min-height: 1.2em; }
.guide-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .guide-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .guide-map-wrap { position: sticky; top: calc(var(--header-h) + 16px); } }
.stop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: none; }
.stop { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.stop-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--fjord-deep); color: #fff; font-weight: 700; margin-top: .6rem; }
.stop + .stop { position: relative; }
.guide-map { height: 420px; border-radius: var(--r-lg); overflow: hidden; background: var(--fjord-tint); }
@media (max-width: 999px) { .guide-map-wrap { order: -1; } .guide-map { height: 300px; } }
.stop-pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fjord-deep); color: #fff; font-weight: 700; font-size: .95rem; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
@media (max-width: 640px) { .save-all { align-items: stretch; width: 100%; } .save-all .btn { justify-content: center; } }

/* ---------- Útlitsklasar í stað style-eiginda (CSP leyfir ekki innbyggðan stíl) ---------- */
.u-0466783 { width:100%; }
.u-068a8dd { grid-column:1/-1; }
.u-0e3f55c { min-width:7.5rem; }
.u-0e83ee9 { margin-top:2rem; }
.u-12373bf { grid-template-columns:72px 1fr; }
.u-2239d6d { margin-top:1rem; }
.u-30e741d { width:auto; }
.u-3a1ba6e { grid-template-columns:repeat(2,minmax(120px,1fr)) auto repeat(2,minmax(80px,1fr)) 2fr; }
.u-3ea9dac { width:8rem; }
.u-4260ebe { padding-top:0; }
.u-43a96ee { margin-top:1.2rem; }
.u-4be9c13 { width:14rem; }
.u-561f378 { margin-bottom:1.5rem; }
.u-60e32dc { display:inline-block; }
.u-62da067 { flex-wrap:wrap; }
.u-6322ad4 { margin-top:.8rem; }
.u-8a14738 { grid-template-columns:minmax(0,1fr); }
.u-8c40c9a { margin-top:.75rem; }
.u-90fce33 { min-width:2rem; }
.u-acef095 { margin-top:.6rem; }
.u-b532e5d { max-width:520px;display:grid;gap:1rem; }
.u-b700c0f { margin-top:1.25rem; }
.u-b769877 { display:grid;gap:1rem; }
.u-cccfa45 { display:inline; }
.u-d462248 { margin-top:0; }
.u-dafcc80 { width:7rem; }
.u-e2b8a41 { max-height:480px;overflow:auto; }
.u-f08cdb8 { margin-top:.4rem; }
.u-fc511f0 { margin-top:1.5rem; }
/* Dálkahæð í umferðarriti (0–100%) */
.bar-h-0 { height: 0%; }
.bar-h-1 { height: 1%; }
.bar-h-2 { height: 2%; }
.bar-h-3 { height: 3%; }
.bar-h-4 { height: 4%; }
.bar-h-5 { height: 5%; }
.bar-h-6 { height: 6%; }
.bar-h-7 { height: 7%; }
.bar-h-8 { height: 8%; }
.bar-h-9 { height: 9%; }
.bar-h-10 { height: 10%; }
.bar-h-11 { height: 11%; }
.bar-h-12 { height: 12%; }
.bar-h-13 { height: 13%; }
.bar-h-14 { height: 14%; }
.bar-h-15 { height: 15%; }
.bar-h-16 { height: 16%; }
.bar-h-17 { height: 17%; }
.bar-h-18 { height: 18%; }
.bar-h-19 { height: 19%; }
.bar-h-20 { height: 20%; }
.bar-h-21 { height: 21%; }
.bar-h-22 { height: 22%; }
.bar-h-23 { height: 23%; }
.bar-h-24 { height: 24%; }
.bar-h-25 { height: 25%; }
.bar-h-26 { height: 26%; }
.bar-h-27 { height: 27%; }
.bar-h-28 { height: 28%; }
.bar-h-29 { height: 29%; }
.bar-h-30 { height: 30%; }
.bar-h-31 { height: 31%; }
.bar-h-32 { height: 32%; }
.bar-h-33 { height: 33%; }
.bar-h-34 { height: 34%; }
.bar-h-35 { height: 35%; }
.bar-h-36 { height: 36%; }
.bar-h-37 { height: 37%; }
.bar-h-38 { height: 38%; }
.bar-h-39 { height: 39%; }
.bar-h-40 { height: 40%; }
.bar-h-41 { height: 41%; }
.bar-h-42 { height: 42%; }
.bar-h-43 { height: 43%; }
.bar-h-44 { height: 44%; }
.bar-h-45 { height: 45%; }
.bar-h-46 { height: 46%; }
.bar-h-47 { height: 47%; }
.bar-h-48 { height: 48%; }
.bar-h-49 { height: 49%; }
.bar-h-50 { height: 50%; }
.bar-h-51 { height: 51%; }
.bar-h-52 { height: 52%; }
.bar-h-53 { height: 53%; }
.bar-h-54 { height: 54%; }
.bar-h-55 { height: 55%; }
.bar-h-56 { height: 56%; }
.bar-h-57 { height: 57%; }
.bar-h-58 { height: 58%; }
.bar-h-59 { height: 59%; }
.bar-h-60 { height: 60%; }
.bar-h-61 { height: 61%; }
.bar-h-62 { height: 62%; }
.bar-h-63 { height: 63%; }
.bar-h-64 { height: 64%; }
.bar-h-65 { height: 65%; }
.bar-h-66 { height: 66%; }
.bar-h-67 { height: 67%; }
.bar-h-68 { height: 68%; }
.bar-h-69 { height: 69%; }
.bar-h-70 { height: 70%; }
.bar-h-71 { height: 71%; }
.bar-h-72 { height: 72%; }
.bar-h-73 { height: 73%; }
.bar-h-74 { height: 74%; }
.bar-h-75 { height: 75%; }
.bar-h-76 { height: 76%; }
.bar-h-77 { height: 77%; }
.bar-h-78 { height: 78%; }
.bar-h-79 { height: 79%; }
.bar-h-80 { height: 80%; }
.bar-h-81 { height: 81%; }
.bar-h-82 { height: 82%; }
.bar-h-83 { height: 83%; }
.bar-h-84 { height: 84%; }
.bar-h-85 { height: 85%; }
.bar-h-86 { height: 86%; }
.bar-h-87 { height: 87%; }
.bar-h-88 { height: 88%; }
.bar-h-89 { height: 89%; }
.bar-h-90 { height: 90%; }
.bar-h-91 { height: 91%; }
.bar-h-92 { height: 92%; }
.bar-h-93 { height: 93%; }
.bar-h-94 { height: 94%; }
.bar-h-95 { height: 95%; }
.bar-h-96 { height: 96%; }
.bar-h-97 { height: 97%; }
.bar-h-98 { height: 98%; }
.bar-h-99 { height: 99%; }
.bar-h-100 { height: 100%; }
.row-current { background: #f3f9ef; }
.fs-plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs-grid { display: grid; gap: .8rem; }
.fs-grid-lg { display: grid; gap: 1rem; }
.w-5rem { width: 5rem; }
.w-auto { width: auto; }
.input-compact { min-height: 36px; }
.span-all { grid-column: 1 / -1; }
.steps .is-current { font-weight: 700; }
.mt-04 { margin-top: .4rem; }
.trip-item-draft { grid-template-columns: 1fr auto; }
/* Stopp í handbók: lárétt, þétt spjöld */
.stop-card .card { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); min-height: 0; }
.stop-card .card-media { aspect-ratio: auto; height: 100%; min-height: 7.5rem; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.stop-card .card-media img { height: 100%; }
.stop-card .card-body { padding: .8rem 3rem .8rem 1rem; }
.stop-card .card-short { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) { .stop-card .card { grid-template-columns: 6.5rem minmax(0, 1fr); } }
.guide-map ol.map-fallback { padding: 1rem 1rem 1rem 2.4rem; margin: 0; }

/* Forsíða 1.1.0: featured og handahófskenndir staðir */
.partner-tag { position: absolute; z-index: 1; top: 10px; left: 10px; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--lupine); color: #fff; font-size: .75rem; font-weight: 700; }
.partners-section h2, .random-section h2 { display: flex; align-items: center; gap: .55rem; }
.partners-section h2 .ico { color: var(--sulfur); }
.random-section h2 .ico { color: var(--lupine); }

/* Tilboð og viðburðir á staðasíðu */
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.offer { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.offer-date { flex: none; display: grid; place-items: center; align-content: center; width: 56px; height: 56px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); line-height: 1.05; }
.od-day { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; }
.od-mon { font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.offer-ico { font-size: 1.3rem; }
.offer-text { min-width: 0; }
.offer-kind { font-size: .75rem; font-weight: 700; color: var(--accent); }
.offer-text h3 { font-family: var(--f-body); font-size: 1.05rem; margin: .1rem 0 .3rem; }
.offer-text p { margin: 0 0 .3rem; color: var(--ink-2); }
.offer-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; font-size: .9rem; }
.offer-meta a { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; }

/* Ferðaplan */
.trip-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--s-4); }
.trip-map { height: 360px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.trip-day-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.trip-day-head .muted { font-weight: 500; font-size: .85rem; }
.day-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.day-dot-1, .stop-pin-d1 { background: #145a63; } .day-dot-2, .stop-pin-d2 { background: #5b4fa3; } .day-dot-3, .stop-pin-d3 { background: #a5381f; }
.day-dot-4, .stop-pin-d4 { background: #3f6f2b; } .day-dot-5, .stop-pin-d5 { background: #7c5a00; } .day-dot-6, .stop-pin-d6 { background: #0d3f46; }
.stop-pin[class*="stop-pin-d"] { font-size: .7rem; }
.add-all { margin-top: .6rem; }
@media print {
  .trip-tools, .trip-item form, .trip-item .controls, .panel, form, .back-link, .trip-map, .map-note { display: none !important; }
  .trip-item { break-inside: avoid; }
  a[href^="/place/"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

.before-go { margin-top: var(--s-5); padding: 1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.before-go h3 { display: flex; gap: .45rem; align-items: center; font-family: var(--f-body); font-size: 1rem; margin: 0 0 .7rem; }
.before-go h3 .ico { color: var(--sulfur); }
.before-go .conditions { margin-bottom: 1rem; }
.before-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.before-links a { display: flex; gap: .6rem; align-items: center; padding: .5rem .6rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--paper); }
.before-links a:hover { background: var(--fjord-tint); color: var(--ink); }
.before-links strong { display: block; font-size: .9rem; }
.before-links a > span:last-child > span { font-size: .8rem; color: var(--ink-3); }
.bg-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--fjord); }
.bg-ico-sos { color: var(--lava); }

/* 1.1.0: tveggja þrepa auðkenning og tæki á reikningssíðu */
.totp-setup { display: grid; gap: var(--s-4); align-items: start; margin: var(--s-4) 0; }
@media (min-width: 640px) { .totp-setup { grid-template-columns: auto 1fr; } }
.totp-qr { margin: 0; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); width: max-content; }
.totp-qr svg { display: block; width: 200px; height: 200px; }
.totp-setup .steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.totp-setup code.secret { font-size: 1.05rem; letter-spacing: .04em; word-break: break-all; }
.device-list { list-style: none; padding: 0; margin: var(--s-3) 0; display: grid; gap: .5rem; }
.device-list li { display: flex; gap: .7rem; align-items: center; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.device-list li > span { flex: 1; display: flex; flex-direction: column; }
.device-list small { color: var(--ink-3); }

/* 1.1.0: stopp á leiðinni */
.route-hero { background: var(--fjord-tint); padding: var(--s-6) 0 var(--s-5); }
.route-hero h1 { margin: 0 0 var(--s-2); }
.route-hero .lede { max-width: 62ch; }
.route-form { display: grid; gap: var(--s-3); grid-template-columns: 1fr; align-items: end; margin-top: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); }
@media (min-width: 720px) { .route-form { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .route-form { grid-template-columns: repeat(4, 1fr) auto; } }
.route-form .field { margin: 0; }
.route-form select { width: 100%; }
.route-submit .btn { width: 100%; justify-content: center; }
.route-summary { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.route-summary h2 { margin: 0; flex-basis: 100%; }
.route-summary p { margin: 0; display: flex; gap: .4rem; align-items: center; color: var(--ink-2); }
.stop-detour { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; margin: 0 0 .4rem; font-size: .9rem; }
.tag-detour { display: inline-flex; gap: .3rem; align-items: center; background: var(--moss-tint); color: #24461a; font-weight: 650; padding: .15rem .55rem; border-radius: 999px; }
.tag-detour .ico { width: .95rem; height: .95rem; }
.stop-pin-end { background: #a5381f; color: #fff; }
.route-notes { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .9rem; color: var(--ink-2); max-width: 75ch; }
.route-notes p { margin: 0; display: flex; gap: .45rem; align-items: flex-start; }
.route-notes .ico { flex: none; margin-top: .15rem; }
.route-cta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; justify-content: space-between; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.route-cta h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.route-cta p { margin: 0; color: var(--ink-2); }

/* ===================== 1.2.0 ===================== */
:root { --star: #b7791f; --star-off: #d9e2e0; --warn-yellow: #f2c94c; --warn-yellow-ink: #5c4306; --warn-orange: #d9661f; --warn-orange-ink: #6b2c06; --warn-red: #c0392b; --warn-red-ink: #fff; }

/* Stjörnur: grár grunnur og gyllt lag með breidd í hálfum stjörnum (engin style-eigindi) */
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; white-space: nowrap; }
.stars .ico { width: 1rem; height: 1rem; }
.stars-lg .ico { width: 1.35rem; height: 1.35rem; }
.stars-base { color: var(--star-off); display: inline-flex; gap: 1px; }
.stars-fill { color: var(--star); position: absolute; inset: 0 auto 0 0; overflow: hidden; display: inline-flex; gap: 1px; }
.sw0 { width: 0; } .sw1 { width: 10%; } .sw2 { width: 20%; } .sw3 { width: 30%; } .sw4 { width: 40%; } .sw5 { width: 50%; }
.sw6 { width: 60%; } .sw7 { width: 70%; } .sw8 { width: 80%; } .sw9 { width: 90%; } .sw10 { width: 100%; }

.card-rating { display: inline-flex; align-items: center; gap: .3rem; margin: .3rem 0 0; font-size: .85rem; font-weight: 650; color: var(--ink); }
.card-rating .ico { width: .95rem; height: .95rem; color: var(--star); }
.card-rating-n { color: var(--ink-3); font-weight: 500; }

/* Umsagnir */
.review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); align-items: center; margin: 0 0 var(--s-5); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.review-score { text-align: center; min-width: 7.5rem; }
.review-avg { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; margin: 0 0 .35rem; color: var(--ink); }
.review-n { margin: .35rem 0 0; font-size: .85rem; color: var(--ink-3); }
.review-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.review-dist li { display: grid; grid-template-columns: 1rem minmax(0, 1fr) 2.2rem; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-2); }
.rd-bar { height: .5rem; border-radius: var(--r-pill); background: var(--paper); overflow: hidden; }
.rd-bar span { display: block; height: 100%; background: var(--star); border-radius: var(--r-pill); }
.rd-n { text-align: right; font-variant-numeric: tabular-nums; }
.bw0 { width: 0; } .bw1 { width: 10%; } .bw2 { width: 20%; } .bw3 { width: 30%; } .bw4 { width: 40%; } .bw5 { width: 50%; }
.bw6 { width: 60%; } .bw7 { width: 70%; } .bw8 { width: 80%; } .bw9 { width: 90%; } .bw10 { width: 100%; }
.review-list { display: grid; gap: 0; }
.review { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.review-title { font-size: 1.02rem; margin: 0; font-family: var(--f-body); font-weight: 700; }
.review-body { margin: .5rem 0; max-width: 68ch; }
.review-body p { margin: 0 0 .6rem; }
.review-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .84rem; color: var(--ink-3); margin: 0; align-items: center; }
.review-author { color: var(--ink-2); font-weight: 650; }
.review-flag { margin-left: auto; display: inline-flex; gap: .3rem; align-items: center; color: var(--ink-3); font-size: .8rem; }
.review-flag .ico { width: .85rem; height: .85rem; }
.review-reply { margin: .75rem 0 0; padding: .75rem 1rem; border-left: 3px solid var(--fjord); background: var(--fjord-tint); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .93rem; }
.review-reply p { margin: 0 0 .4rem; }
.review-reply-head { display: flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--fjord-deep); }
.review-reply-head .ico { width: 1rem; height: 1rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: var(--s-4) 0 0; }
.review-note { margin-top: var(--s-3); }
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; color: var(--star-off); padding: .15rem; border-radius: var(--r-sm); line-height: 0; }
.rating-input label .ico { width: 2rem; height: 2rem; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }
.rating-input input:focus-visible + label { box-shadow: var(--focus); }
.notice { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--r-md); margin: 0 0 var(--s-4); background: var(--fjord-tint); color: var(--fjord-deep); }
.notice .ico { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; }
.notice-rejected, .notice-removed { background: var(--lava-tint); color: #6d2414; }
.notice-published { background: var(--moss-tint); color: #24461a; }
.btn-link { background: none; border: 0; padding: .4rem 0; color: var(--fjord); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; }
.btn-link.btn-danger { color: var(--lava); background: none; }
.review-delete { margin-top: var(--s-4); }

/* Ástand á staðnum */
.conditions { margin: 0 0 var(--s-5); }
.cond-title { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin: 0 0 .6rem; }
.cond-title .ico { width: 1.2rem; height: 1.2rem; color: var(--warn-orange); }
.cond-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cond { border: 1px solid var(--line); border-left: 6px solid var(--ink-3); border-radius: var(--r-md); padding: .75rem 1rem; background: var(--surface); }
.cond p { margin: 0; }
.cond-head { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: center; margin-bottom: .3rem !important; }
.cond-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 750; padding: .15rem .55rem; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); }
.cond-badge .ico { width: .9rem; height: .9rem; }
.cond-when { font-size: .82rem; color: var(--ink-3); }
.cond-text { font-size: 1rem; }
.cond-more { margin-top: .35rem; font-size: .92rem; color: var(--ink-2); }
.cond-more summary { cursor: pointer; color: var(--fjord); font-weight: 600; font-size: .85rem; }
.cond-more p { margin: .4rem 0 0; }
.cond-src { font-size: .78rem; color: var(--ink-3); margin-top: .4rem !important; }
.cond-yellow { border-left-color: var(--warn-yellow); }
.cond-yellow .cond-badge { background: var(--warn-yellow); color: var(--warn-yellow-ink); }
.cond-orange { border-left-color: var(--warn-orange); background: #fff8f2; }
.cond-orange .cond-badge { background: var(--warn-orange); color: #fff; }
.cond-red { border-left-color: var(--warn-red); background: #fff5f4; }
.cond-red .cond-badge { background: var(--warn-red); color: var(--warn-red-ink); }
.cond-info { border-left-color: var(--fjord); }
.cond-info .cond-badge { background: var(--fjord-tint); color: var(--fjord-deep); }
.cond-ok { display: flex; gap: .45rem; align-items: flex-start; font-size: .9rem; margin: 0 0 .75rem; color: var(--moss); }
.cond-ok .ico { width: 1rem; height: 1rem; flex: none; margin-top: .2rem; }
.cond-ok .muted { color: var(--ink-3); }
.aurora { margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: var(--r-md); background: var(--lupine-tint); color: #2e2760; font-size: .9rem; }
.aurora p { margin: 0 0 .25rem; }
.aurora-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.aurora-head .ico { width: 1.05rem; height: 1.05rem; color: var(--lupine); }
.aurora-kp { font-weight: 700; background: var(--surface); padding: .05rem .5rem; border-radius: var(--r-pill); font-size: .8rem; }
.aurora-high .aurora-kp { background: var(--lupine); color: #fff; }
.aurora .cond-src { color: #5b5585; }
.site-alerts { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-alert p { display: flex; gap: .6rem; align-items: flex-start; margin: 0 auto; padding-top: .7rem; padding-bottom: .7rem; font-size: .95rem; }
.site-alert .ico { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .1rem; }
.site-alert.cond-red { background: var(--warn-red); color: #fff; }
.site-alert.cond-red a { color: #fff; }
.site-alert.cond-orange { background: #fdebdc; color: var(--warn-orange-ink); }
.site-alert.cond-yellow { background: #fdf3d8; color: var(--warn-yellow-ink); }
.site-alert.cond-info { background: var(--fjord-tint); color: var(--fjord-deep); }

/* Leit */
.corrected { margin: 0 0 var(--s-3); font-size: .95rem; color: var(--ink-2); }
.corrected a { margin-left: .4rem; font-size: .88rem; }
.season-pick { display: grid; gap: .25rem; margin: .5rem 0 0; font-size: .9rem; }
.season-pick span { font-weight: 600; }

/* Greinar */
.guide-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--ink-3); font-size: .88rem; margin: var(--s-3) 0 0; }
.guide-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.guide-meta .ico { width: .95rem; height: .95rem; }
.place-inline { margin: var(--s-5) 0; }
.place-inline-link { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; align-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); }
.place-inline-link:hover { border-color: var(--fjord); }
.place-inline-link img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-md); }
.place-inline-ico { width: 120px; height: 90px; display: grid; place-items: center; background: var(--fjord-tint); color: var(--fjord); border-radius: var(--r-md); }
.place-inline-ico .ico { width: 2rem; height: 2rem; }
.place-inline-text { display: grid; gap: .15rem; }
.place-inline-text strong { font-family: var(--f-display); font-size: 1.15rem; }
.place-inline-cat { font-size: .78rem; color: var(--fjord); font-weight: 700; }
.place-inline-where { font-size: .85rem; color: var(--ink-2); }
.place-inline-where .ico { width: .85rem; height: .85rem; color: var(--star); vertical-align: -1px; }
.place-inline .hours-chip { margin: .15rem 0 0; }
.region-guides { margin: var(--s-5) auto 0; }

/* Ábending: tillaga að leiðréttingu */
.suggest-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); background: var(--surface); }
.suggest-box legend { padding: 0 .4rem; font-weight: 700; }
.suggest-box .field:last-child { margin-bottom: 0; }

@media (max-width: 599px) {
  .review-summary { grid-template-columns: 1fr; gap: var(--s-3); }
  .review-score { min-width: 0; }
  .place-inline-link { grid-template-columns: 84px minmax(0, 1fr); gap: .75rem; }
  .place-inline-link img, .place-inline-ico { width: 84px; height: 72px; }
  .review-flag { margin-left: 0; }
}

/* QR-skilti til prentunar (A4) */
.poster-page { background: var(--paper); }
.poster { width: 100%; max-width: 680px; margin: 2rem auto; padding: 3rem 2.5rem; background: #fff; text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg); }
.poster-brand { display: flex; justify-content: center; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.25rem; color: var(--fjord-deep); margin: 0 0 2rem; }
.poster-name { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; margin: 0 0 .75rem; }
.poster-lede { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 1.75rem; }
.poster-qr svg { width: min(100%, 360px); height: auto; }
.poster-scan { font-weight: 700; font-size: 1.1rem; margin: 1rem 0 .25rem; }
.poster-url { color: var(--ink-3); word-break: break-all; margin: 0; }
.poster-help { text-align: center; color: var(--ink-3); font-size: .9rem; padding: 0 16px; }
@media print {
  @page { size: A4; margin: 15mm; }
  .poster-page { background: #fff; }
  .poster { border: 0; margin: 0 auto; padding: 0; max-width: none; }
  .no-print { display: none !important; }
}

/* ---------- Öryggissíða ---------- */
.safety-hero { background: var(--fjord-deep) url("../img/contours-light.svg") center / cover; color: #fff; }
.safety-hero-inner { display: grid; gap: clamp(1.25rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 800px) { .safety-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .43fr); } }
.safety-hero-copy h1 { color: #fff; margin-bottom: var(--s-3); font-size: clamp(2rem, 5vw, 3.5rem); }
.safety-kicker { display: flex; gap: .5rem; align-items: center; margin: 0 0 var(--s-3); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c5e1e3; }
.safety-hero-copy .lede { color: #e5eff0; font-size: clamp(1rem, 2vw, 1.18rem); margin-bottom: var(--s-4); }
.safety-jump { display: flex; flex-wrap: wrap; gap: .4rem .55rem; }
.safety-jump a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem .75rem; border: 1px solid #7ca5aa; border-radius: var(--r-pill); color: #fff; font-size: .87rem; text-decoration: none; }
.safety-jump a:hover { background: rgb(255 255 255 / .12); text-decoration: underline; }
.safety-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.safety-emergency { display: grid; align-content: start; justify-items: start; gap: .55rem; padding: clamp(1rem, 2.5vw, 1.45rem); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); border-top: 4px solid var(--lava); }
.safety-emergency h2 { font-size: 1.22rem; margin: 0; }
.safety-emergency p { color: var(--ink-2); margin: 0; font-size: .91rem; }
.safety-emergency-call { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; margin-top: .2rem; padding: .4rem 1rem; background: var(--lava); color: #fff; border-radius: var(--r-md); font-weight: 750; text-decoration: none; }
.safety-emergency-call:hover { color: #fff; text-decoration: underline; }
.safety-emergency a:focus-visible { outline-color: var(--fjord); }
.safety-emergency .safety-emergency-fallback { font-size: .83rem; }
.safety-emergency-fallback a { white-space: nowrap; font-weight: 650; }
.safety-emergency-source { color: var(--fjord-deep); font-size: .83rem; }

.safety-sources-top { padding-block: clamp(1.4rem, 3vw, 2.25rem); }
.safety-sources-top h2 { margin-bottom: .35rem; }
.safety-sources-top > p { margin-bottom: var(--s-3); color: var(--ink-2); }
.safety-shortcuts { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
@media (min-width: 680px) { .safety-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.safety-shortcuts a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; height: 100%; min-height: 3.5rem; padding: .65rem .8rem; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.safety-shortcuts a:hover { border-color: var(--fjord); }
.safety-shortcuts a:hover strong { text-decoration: underline; }
.safety-shortcut-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--fjord-tint); color: var(--fjord-deep); border-radius: var(--r-sm); }
.safety-shortcut-text { display: grid; gap: .1rem; line-height: 1.25; }
.safety-shortcut-text > span { font-size: .8rem; color: var(--ink-2); }
.safety-shortcuts a > .ico { width: .85rem; height: .85rem; color: var(--fjord); }

.safety-conditions { padding-top: .5rem; }
.safety-conditions .section-head { margin-bottom: var(--s-4); }
.safety-filter { margin-bottom: var(--s-4); }
.safety-filter-label { font-size: .875rem; font-weight: 650; color: var(--ink-2); margin: 0 0 var(--s-2); }
.safety-filter .seg { flex-wrap: wrap; overflow: visible; }
.safety-scope { margin: .45rem 0 0; font-size: .84rem; color: var(--ink-2); }
.safety [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.safety-coverage, .safety-priority { padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.safety-coverage { display: flex; gap: .5rem; align-items: start; background: var(--fjord-tint); }
.safety-coverage .ico { flex: none; }
.safety-priority { background: var(--lava-tint); border-color: #e6b6a8; }
.safety-priority h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; color: #7a2918; font: 750 1rem var(--f-body); }
.safety-priority ul { list-style: none; padding: 0; margin: 0; }
.safety-priority li + li { border-top: 1px solid #e6b6a8; }
.safety-priority a { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .55rem 0; color: var(--ink); text-decoration: none; }
.safety-priority a:hover strong { text-decoration: underline; }
.safety-priority a > .ico { flex: none; color: var(--lava); }
.safety-priority-source { display: block; font-size: .81rem; color: var(--ink-2); }

.seg { list-style: none; margin: 0; padding: 0 0 .25rem; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: thin; }
.seg a { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .45rem .85rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.seg a:hover { border-color: var(--fjord); }
@media (min-width: 720px) { .seg { flex-wrap: wrap; overflow: visible; } }
.seg a[aria-current="page"] { background: var(--fjord); border-color: var(--fjord); color: #fff; }
.seg-n { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: var(--r-pill); background: var(--sulfur-tint); color: var(--sulfur); font-size: .75rem; font-weight: 750; }
.seg a[aria-current="page"] .seg-n { background: #fff; color: var(--fjord-deep); }
.safety-grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .safety-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.safety-main, .safety-aside { display: grid; gap: var(--s-3); }
.safety-block, .safety-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.safety-h { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; margin-bottom: var(--s-3); }
.safety-h .ico { width: 1.2rem; height: 1.2rem; color: var(--fjord); flex: none; }
.safety-sub { color: var(--ink-2); font-size: .9rem; margin: 0 0 var(--s-2); max-width: 65ch; }
.safety-block .conditions { margin-bottom: var(--s-3); }
.safety-block .cond:target { outline: 2px solid var(--fjord); outline-offset: 2px; }
.safety-feed { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: var(--s-3); color: var(--ink-2); font-size: .82rem; }
.safety-feed-label { display: inline-flex; align-items: center; gap: .3rem; border-radius: var(--r-pill); background: var(--fjord-tint); color: var(--fjord-deep); padding: .2rem .55rem; font-weight: 700; }
.safety-feed-label .ico { width: .85rem; height: .85rem; }
.safety-feed-stale .safety-feed-label, .safety-feed-unavailable .safety-feed-label { background: var(--sulfur-tint); color: var(--sulfur); }
.safety-feed-disabled .safety-feed-label { background: var(--paper); color: var(--ink-2); }
.safety-empty { margin-bottom: var(--s-3); color: var(--ink-2); font-size: .92rem; }
.safety-source-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .89rem; font-weight: 650; }
.safety-source-link .ico, .safety-card a .ico { width: .8rem; height: .8rem; margin-left: .2rem; }
.safety-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.safety-plan-links { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.safety-card a { font-weight: 650; }
.safety-card p { margin: .2rem 0 0; color: var(--ink-2); font-size: .89rem; }
.safety-tip { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .65rem; font-size: .88rem; }
.safety-tip summary { cursor: pointer; font-weight: 650; }
.safety-tip a { display: inline-block; margin-top: .35rem; }
.safety-conditions + .safety-cams { padding-top: var(--s-6); }
.safety-cams { padding-top: var(--s-2); padding-bottom: var(--s-5); }
.safety-cams .section-head { margin-bottom: var(--s-3); }
.safety-cams .safety-h { margin-bottom: var(--s-3); }
.cam-grid { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 720px) { .cam-grid { gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.cam { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cam-img { display: block; aspect-ratio: 4 / 3; background: var(--fjord-tint); }
.cam-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cam-name { font-weight: 650; margin: .55rem .75rem 0; line-height: 1.3; }
.cam-meta { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .82rem; color: var(--ink-3); margin: .15rem .75rem .65rem; }
.cam-road { font-weight: 650; color: var(--ink-2); }
.cam-views { display: flex; gap: .6rem; font-size: .82rem; margin: -.35rem .75rem .65rem; }
.safety-foot { padding-bottom: var(--s-7); }
.callout-safety a.safety-link { font-weight: 650; }

/* ---------- 1.2.1: tákn í aðalvalmynd ---------- */
.main-nav a .ico { width: 1.05rem; height: 1.05rem; flex: none; }
@media (min-width: 960px) {
  .main-nav .nav-saved .ico { display: inline-block; }
  .main-nav a { gap: .4rem; padding: .5rem .6rem; }
  .main-nav a[aria-current="page"] .ico { color: var(--fjord); }
}
@media (min-width: 960px) and (max-width: 1139px) {
  .main-nav a { padding: .5rem .45rem; font-size: .9rem; gap: .3rem; }
}
.before-go .safety-more a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.before-go .safety-more .ico { width: 1rem; height: 1rem; }
.cam-name { overflow-wrap: anywhere; }

/* 1.2.2: síðuskipting – „Next“/„Previous“ á einni línu, tákn við hlið texta */
.pager .pager-step { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; white-space: nowrap; padding: 0 .85rem 0 1rem; background: var(--surface); border: 1.5px solid var(--line-2); line-height: 1; }
.pager .pager-step[rel="prev"] { padding: 0 1rem 0 .85rem; }
.pager .pager-step .ico, .pager .pager-step i { width: 1rem; height: 1rem; flex: none; }
.pager .pager-step:hover { border-color: var(--fjord); background: var(--surface); color: var(--fjord-deep); }
.pager ol a, .pager span[aria-current] { line-height: 1; }
/* Eyðublöð mega aldrei verða breiðari en skjárinn (grid-dálkur annars jafn breiður og lengsta efni) */
.form { grid-template-columns: minmax(0, 1fr); }
.pager ol > li { display: flex; align-items: center; justify-content: center; min-width: 1.25rem; color: var(--ink-3); }


/* ---------- 1.2.2: ferðahandbækur ---------- */
/* Spjöld */
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.guide-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--fjord-tint); }
.guide-media-empty { display: grid; place-items: center; height: 100%; color: var(--fjord); }
.guide-media-empty .ico { width: 2.25rem; height: 2.25rem; }
.guide-card:hover .guide-media img { transform: scale(1.02); }
.guide-media img { transition: transform .4s ease; }
@media (prefers-reduced-motion: reduce) { .guide-media img { transition: none; } .guide-card:hover .guide-media img { transform: none; } }
.guide-card-body { padding: var(--s-4) var(--s-4) var(--s-4); display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.guide-card-body h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; text-wrap: balance; }
.guide-card-body h3 a { color: var(--ink); text-decoration: none; }
.guide-card-body h3 a:hover { color: var(--fjord-deep); text-decoration: underline; text-underline-offset: 3px; }
.guide-card-intro { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card-meta { margin: auto 0 0; padding-top: .35rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--ink-3); font-size: .84rem; }
.guide-card-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.guide-card-meta .ico { width: .9rem; height: .9rem; }
.guide-card-featured { margin-bottom: var(--s-6); }
@media (min-width: 860px) {
  .guide-card-featured { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .guide-card-featured .guide-media { aspect-ratio: auto; min-height: 340px; }
  .guide-card-featured .guide-media img { height: 100%; }
  .guide-card-featured .guide-card-body { padding: clamp(1.5rem, 3vw, 2.75rem); justify-content: center; gap: .8rem; }
  .guide-card-featured h3 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem); }
  .guide-card-featured .guide-card-intro { font-size: 1.05rem; -webkit-line-clamp: 5; }
  .guide-card-featured .guide-card-meta { margin-top: .4rem; }
}
.guides-head { margin-bottom: var(--s-5); max-width: 46rem; }
.guides-head .lede { margin-top: var(--s-2); }

/* Síða handbókar */
.guide-head { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.guide-head .crumbs { margin: 0; }
.guide-head .crumbs li { min-width: 0; }
.guide-head-text { margin-top: clamp(.75rem, 1.8vw, 1.25rem); }
.guide-head h1 { max-width: 61rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -.018em; text-wrap: pretty; overflow-wrap: anywhere; margin: 0; }
.guide-lede { font-size: clamp(1.05rem, .98rem + .38vw, 1.25rem); line-height: 1.55; color: var(--ink-2); margin: clamp(.85rem, 2vw, 1.4rem) 0 0; max-width: 46rem; text-wrap: pretty; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; color: var(--ink-3); font-size: .875rem; margin: 1rem 0 0; }
.guide-meta span, .guide-meta a { display: inline-flex; align-items: center; gap: .35rem; }
.guide-meta a { color: var(--ink-3); text-decoration: none; }
.guide-meta a:hover { color: var(--fjord-deep); text-decoration: underline; }
.guide-meta .ico { width: 1rem; height: 1rem; color: var(--fjord); }
.guide-hero { margin: 0 auto clamp(1.75rem, 4vw, 3.25rem); }
.guide-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); background: var(--fjord-tint); }
@media (min-width: 1100px) { .guide-hero img { aspect-ratio: 21 / 9; } }

.guide-main { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--s-6); }
.guide-article { max-width: 44rem; width: 100%; }
@media (min-width: 1100px) {
  .guide-main.has-toc { grid-template-columns: 15rem minmax(0, 44rem); justify-content: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .guide-main:not(.has-toc) .guide-article { margin: 0 auto; }
}
@media (min-width: 760px) and (max-width: 1099px) { .guide-article, .guide-toc { margin-left: auto; margin-right: auto; max-width: 44rem; width: 100%; } }

/* Efnisyfirlit */
.guide-toc details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.guide-toc summary { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; cursor: pointer; font-weight: 700; list-style: none; }
.guide-toc summary::-webkit-details-marker { display: none; }
.guide-toc summary .ico { width: 1rem; height: 1rem; margin-left: auto; transition: transform .2s; color: var(--ink-3); }
.guide-toc details[open] summary .ico { transform: rotate(180deg); }
.guide-toc-n { font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.guide-toc ol { list-style: none; margin: 0; padding: 0 .5rem .6rem; counter-reset: toc; }
.guide-toc li { counter-increment: toc; }
.guide-toc a { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .25rem; padding: .45rem .5rem; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.guide-toc li:not(.guide-toc-stops) a::before { content: counter(toc); color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: .85rem; padding-top: .05rem; }
.guide-toc .guide-toc-stops a::before { content: "→"; color: var(--ink-3); }
.guide-toc a:hover { background: var(--paper); color: var(--ink); }
.guide-toc a[aria-current="true"] { color: var(--fjord-deep); background: var(--fjord-tint); font-weight: 650; }
@media (min-width: 1100px) {
  .guide-toc { position: sticky; top: calc(var(--header-h) + 1.25rem); align-self: start; max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; }
  .guide-toc details { border: 0; background: none; }
  .guide-toc summary { padding: 0 0 .6rem .5rem; pointer-events: none; font-size: .95rem; }
  .guide-toc summary .ico, .guide-toc-n { display: none; }
  .guide-toc ol { padding: 0; border-left: 2px solid var(--line); }
  .guide-toc a { border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-left: -2px; border-left: 2px solid transparent; }
  .guide-toc a[aria-current="true"] { border-left-color: var(--fjord); }
}

/* Meginmál */
.guide-article { font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.guide-article > :first-child { margin-top: 0; }
.guide-article p { margin: 0 0 1.15em; }
.guide-article > p:first-of-type { font-size: 1.2rem; line-height: 1.7; }
.guide-article h2 { font-size: clamp(1.55rem, 1.3rem + .8vw, 1.95rem); line-height: 1.2; margin: 2.6em 0 .7em; padding-top: 1.1em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); text-wrap: balance; }
.guide-article > h2:first-child { border-top: 0; padding-top: 0; }
.guide-article h3 { font-size: 1.3rem; line-height: 1.3; margin: 2em 0 .5em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.guide-article h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 750; margin: 1.6em 0 .4em; }
.guide-article h2 + h3 { margin-top: .6em; }
.guide-article a { color: var(--fjord-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--fjord) 45%, transparent); }
.guide-article a:hover { text-decoration-color: currentColor; }
.guide-article strong { font-weight: 700; color: var(--ink); }
.guide-article ul, .guide-article ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.guide-article li { position: relative; padding-left: 1.6rem; margin-bottom: .55em; }
.guide-article ul > li::before { content: ""; position: absolute; left: .35rem; top: .72em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--fjord); }
.guide-article ol { counter-reset: gl; }
.guide-article ol > li { counter-increment: gl; padding-left: 2.4rem; }
.guide-article ol > li::before { content: counter(gl); position: absolute; left: 0; top: .2em; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--fjord-tint); color: var(--fjord-deep); font-size: .85rem; font-weight: 750; display: grid; place-items: center; line-height: 1; font-variant-numeric: tabular-nums; }
.guide-article li > ul, .guide-article li > ol { margin: .5em 0 0; }
.guide-article blockquote { margin: 1.6em 0; padding: 1rem 1.25rem 1rem 1.25rem; background: var(--fjord-tint); border-left: 4px solid var(--fjord); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); font-style: normal; font-size: 1.05rem; line-height: 1.6; }
.guide-article blockquote p:last-child { margin-bottom: 0; }
.guide-article hr { border: 0; height: auto; margin: 2.5em 0; text-align: center; }
.guide-article hr::after { content: "· · ·"; color: var(--ink-3); letter-spacing: .5em; font-size: 1.25rem; }
.guide-article .table-scroll { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.guide-article table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.guide-article caption { caption-side: top; text-align: left; padding: .75rem 1rem 0; font-weight: 650; color: var(--ink-2); }
.guide-article th, .guide-article td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide-article thead th { background: var(--paper); font-size: .85rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.guide-article tbody tr:last-child td { border-bottom: 0; }
.guide-article figure { margin: 1.6em 0; }
.guide-article .place-inline { margin: 1.4em 0 1.8em; font-size: 1rem; line-height: 1.4; }
.guide-article .place-inline a { text-decoration: none; color: var(--ink); }
.guide-article .place-inline-link { padding: .7rem; gap: 1.1rem; }
.guide-article .place-inline li::before { content: none; }
@media (max-width: 560px) {
  .guide-article { font-size: 1.0625rem; line-height: 1.7; }
  .guide-article > p:first-of-type { font-size: 1.125rem; }
  .place-inline-link { grid-template-columns: 88px minmax(0, 1fr); }
  .place-inline-link img, .place-inline-ico { width: 88px; height: 72px; }
}
.guide-more { border-top: 1px solid var(--line); }
.guide-more .section-head h2 { margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 650; color: var(--fjord-deep); text-decoration: none; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more .ico { width: 1rem; height: 1rem; }
.guide-article hr + h2 { border-top: 0; padding-top: 0; margin-top: 0; }

/* Just arrived */
.arrival { margin-block: var(--s-6); scroll-margin-top: 6rem; }
.arrival-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: var(--s-4); }
.arrival-group { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); }
.arrival-group h3 { display: flex; align-items: center; gap: .45rem; color: var(--fjord-deep); }
.arrival-list { list-style: none; margin: 0; padding: 0; }
.arrival-list li + li { border-top: 1px solid var(--line); margin-top: .65rem; padding-top: .65rem; }
.arrival-list p { margin: .15rem 0; }
.arrival-name { font-weight: 650; }
.arrival-meta { color: var(--ink-2); font-size: .875rem; }
.arrival-directions { display: inline-flex; align-items: center; gap: .35rem; padding-block: .25rem; font-size: .875rem; }
.place-arrival-link { margin: .5rem 0; }

.place-badges { position: absolute; z-index: 2; inset: 10px auto auto 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.place-badges .partner-tag { position: static; }
.featured-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; }
.featured-tag .ico { width: .8rem; height: .8rem; }
@media (max-width: 599px) {
  .featured-img .place-badges { inset: 6px 6px auto 6px; }
}
