@import url("./fonts/fonts.css");

:root {
  color-scheme: light;
  --ink: #1a2d25;
  --muted: #495e53;
  --green: #174e3b;
  --pine: #153c32;
  --leaf: #e8f0e8;
  --paper: #fff;
  --surroundings: #e7ede6;
  --panel: #f5f7f3;
  --line: #d5dfd6;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Roboto", "Segoe UI", system-ui, sans-serif;
  --sc-font-size-body: 1rem;
  --sc-line-height-body: 1.6;
  --sc-font-size-h1: clamp(1.875rem, 1.6rem + 1vw, 2rem);
  --sc-font-size-h2: 1.5rem;
  --sc-font-size-h3: 1.1875rem;
  --sc-heading-line-height: 1.25;
  --sc-card-gap: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--surroundings); color: var(--ink); font: var(--sc-font-size-body)/var(--sc-line-height-body) var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a65021; outline-offset: 3px; }
.frame { width: min(100% - 3rem, 80rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 0; left: 0; padding: .7rem 1rem; background: white; transform: translateY(-120%); }
.skip-link:focus { transform: none; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-bar { display: flex; min-height: 5.05rem; align-items: center; justify-content: space-between; gap: 1.4rem; }
.wordmark { color: var(--pine); font: bold clamp(1.55rem, 2.65vw, 2.18rem)/1 var(--display); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.wordmark span:first-child { font-weight: normal; font-style: italic; }
.main-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.4rem; }
.main-nav a, .search-link, .site-footer nav a { font-size: 1rem; font-weight: 650; text-decoration: none; }
.main-nav a { display: inline-block; padding-block: .5rem; }
.main-nav a:hover, .main-nav .current { text-decoration: underline; text-decoration-thickness: 2px; }
.search-link { padding: .47rem .82rem; border: 1px solid var(--line); border-radius: 2rem; }
.review-banner { background: #fff3cd; color: #463a1c; padding-block: .45rem; font-size: .875rem; }
.review-banner summary { cursor: pointer; font-weight: 650; }
.review-identity { display: none; font-weight: 400; }
@media (min-width: 57rem) { .review-identity { display: inline; } }
.review-banner dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .2rem .8rem; }
.review-banner dt { font-weight: 650; }
.review-banner dd { margin: 0; overflow-wrap: anywhere; }
.animal-letters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.animal-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.animal-column > section:first-of-type > h2 { margin-top: 0; }
.animal-index section { min-width: 0; }
@media (max-width: 57rem) {
  .animal-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animal-column { display: contents; }
  .animal-index section > h2 { margin-top: 0; }
}
@media (max-width: 36rem) { .animal-index { grid-template-columns: minmax(0, 1fr); } }
.editorial-layout i, .navigation-cards i { font-style: italic; }
.card :is(.card-title, .card-header :is(h2, h3, h4, h5, h6)) { hyphens: manual; overflow-wrap: anywhere; }
.main-frame {
  width: min(calc(100% - 1.5rem), 84rem); min-height: 58vh; margin-block: 1rem 2rem;
  padding: 1.9rem clamp(.9rem, 2.4vw, 2rem) 4.25rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 1rem;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .68rem; margin: 0 0 1.05rem; padding: 0; color: var(--muted); font-size: .91rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); margin-right: .68rem; }

h1, h2, h3, h4, h5, h6 { color: var(--pine); font: 500 1rem/var(--sc-heading-line-height) var(--display); }
h1 { font-size: var(--sc-font-size-h1); font-weight: 600; letter-spacing: -.025em; margin: 0 0 1rem; }
h2 { font-size: var(--sc-font-size-h2); margin: 2rem 0 .75rem; }
h3 { font-size: var(--sc-font-size-h3); margin: 1.5rem 0 .5rem; }
h4, h5, h6 { line-height: var(--sc-heading-line-height); margin: 1rem 0 .5rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1.0625rem; }
h6 { font-size: 1rem; }
p { margin: 0 0 1rem; }
.editorial p { max-width: 70ch; }
.editorial { font-size: var(--sc-font-size-body); }
.editorial .article-intro { font-weight: 650; }
.kind-article .editorial p { max-width: 48rem; }
.editorial hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.editorial img:not(.carousel img) { border-radius: .7rem; margin-block: .7rem 1rem; }
.editorial .col-md-6 img:not(.carousel img) { max-height: 32rem; object-fit: contain; }
.editorial blockquote { border-left: .22rem solid #477b62; margin: 1.45rem 0; padding: .95rem 1.15rem; background: var(--leaf); border-radius: 0 .6rem .6rem 0; }
.editorial blockquote p:last-of-type { margin-bottom: .4rem; }
.editorial blockquote footer { font-size: .9rem; }
.kind-guide .editorial, .kind-privacy .editorial, .kind-privacy .policy-heading,
.kind-search .editorial, .kind-error .editorial { max-width: 48rem; }
.kind-article .editorial, .kind-recipe .editorial { max-width: 69rem; }
.kind-article .editorial > .container > .row:has(> .col-md-12) { max-width: 48rem; }
.article-contents { width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: .65rem; background: var(--leaf); padding: .65rem 1rem; margin-bottom: 1rem; }
.article-contents summary { cursor: pointer; font-weight: 650; }
.article-contents ul { padding-inline-start: 1.25rem; margin: .5rem 0 0; }
.article-aside:empty, .ad-slot:not([data-filled]) { display: none; }
.ad-slot[data-filled] { margin-block: 2rem; min-block-size: var(--ad-height, 0px); clear: both; }
.kind-search .ad-slot, .kind-error .ad-slot, .kind-privacy .ad-slot { display: none; }

.kind-home .main-frame { padding-top: 1.15rem; }
.home-search { width: min(100%, 36rem); margin: 2rem auto 0; }
.home-search label { display: block; font-weight: 650; margin-bottom: .3rem; }
.kind-home .editorial > .container > .row:first-child h1 {
  display: flex; align-items: end; min-height: clamp(16rem, 34vw, 28rem);
  padding: 2.3rem clamp(1.1rem, 4.5vw, 3.5rem);
  font-size: clamp(2rem, 3.5vw, 2.5rem); color: white; line-height: var(--sc-heading-line-height); border-radius: 1.1rem;
  background: linear-gradient(90deg, #12372ef5 4%, #153c32c9 33%, #153c3238 67%, #153c3200 100%),
    linear-gradient(0deg, #122f27c9, transparent 64%), url("/bilder/resor/paris/eiffeltornet01.jpg") center 43% / cover no-repeat, var(--pine);
  text-wrap: balance;
}
.kind-home .editorial > .container > .container > .card { margin-bottom: 1.35rem; }
.kind-home .editorial > .container > .container > .card > .row {
  display: grid; grid-template-columns: minmax(10rem, 31%) minmax(0, 1fr); align-items: stretch;
}
.kind-home .card > .row > .col { padding: 1.2rem clamp(1rem, 3vw, 2rem); }
.kind-home .card > .row > .card-header { display: grid; }
.kind-home .card > .row > .card-header img { --card-image-limit: none; height: 100%; }
.kind-home .editorial .card-title { font-size: var(--sc-font-size-h3); margin: 0 0 .5rem; }
.kind-home .editorial .card-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.card {
  --card-image-ratio: 4 / 3;
  --card-image-limit: 11rem;
  background: #fff; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden;
}
/* The existing thumbnail or derivative fills its reserved media area. */
.card img:not(.country-flag):not(.carousel img) {
  display: block; width: 100%; height: auto; aspect-ratio: var(--card-image-ratio);
  max-height: var(--card-image-limit); object-fit: cover; object-position: var(--card-image-position, center);
  border-radius: 0; margin: 0;
}
.kind-home .card-deck > .card, .travel-overview .card-deck > .card {
  --card-image-ratio: 16 / 9;
  --card-image-limit: none;
}
.destination-card { --card-image-ratio: 2 / 1; }
.card-image-focus-left { --card-image-position: 15% center; }
.card img[src^="/bilder/resor/guidbok/"] { --card-image-position: center top; }
.editorial .row:has(> .col-auto > .card) .card { --card-image-limit: 7.5rem; }
.category-overview .card, .kind-category .editorial .row:has(> .col-md-6 > .card) .card {
  --card-image-ratio: 16 / 9;
}
.card-body { padding: .95rem; }
/* These legacy article cards place a product image alongside their text. */
.card.clearfix .card-body :is(img.float-left, .w-25:has(> img.float-left)) {
  float: inline-start; width: auto; max-width: clamp(4.5rem, 23%, 8rem); margin: 0 1rem .5rem 0;
}
.card.clearfix .card-body img.float-left {
  aspect-ratio: auto; max-height: 11rem;
}
.card.clearfix .card-body .w-25 > img.float-left {
  float: none; max-width: 100%; margin: 0;
}
.kind-home .card-footer { padding: 0 .95rem .95rem; color: var(--muted); }
.kind-home .card-note { color: var(--muted); font-size: .9rem; margin-bottom: .85rem; }
.kind-home .card-note br { display: none; }
.kind-home .card-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.card-deck > .card, .card-deck .card-body { display: flex; flex-direction: column; }
.card-deck .card-body { flex: 1; }
.card-deck .card-actions { margin-top: auto; }
.kind-category .editorial .card { width: 100% !important; height: 100%; } /* Override the legacy inline card width. */
.kind-category .editorial .card-header { padding: .7rem; }
.kind-category .editorial .card-title { font-size: 1.0625rem; line-height: 1.35; }
.kind-category .editorial .card-header .card-title { margin: 0; }
.linked-card { position: relative; }
.card :is(.card-title, .card-header :is(h2, h3, h4, h5, h6)) a { text-decoration: none; }
.card :is(.card-title, .card-header :is(h2, h3, h4, h5, h6)) a:is(:hover, :focus-visible),
.linked-card:is(:hover, :has(.card-destination:focus-visible)) :is(.card-title, .card-header :is(h2, h3, h4, h5, h6)) a { text-decoration: underline; }
.linked-card :is(.card-title a, .card-destination)::after { content: ""; position: absolute; inset: 0; }
.linked-card:focus-within { outline: 3px solid #a65021; outline-offset: 2px; }
.kind-category .editorial .linked-card .card-body { padding: 0; }
.kind-category .editorial .card-body { padding: 0 0 .75rem; }
.kind-category .editorial .card-body small { display: block; padding-inline: .65rem; margin-top: .5rem; }
.kind-category .editorial .row:has(> .col-auto), .navigation-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: var(--sc-card-gap); margin: 1.15rem 0;
}
.kind-category .editorial .row:has(> .col-auto > .card) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.25rem), 1fr)); }
.navigation-cards { list-style: none; padding: 0; }
.subpage-card { align-self: stretch; max-width: 23rem; }
.subpage-card .card-title { margin: 0; padding: .75rem; font-size: 1.15rem; }
.subpage-card p { padding: .75rem; margin: 0; overflow-wrap: anywhere; }
.navigation-cards > .category-card { max-width: none; }
.navigation-cards > .category-card .card-title { padding: .7rem .75rem .35rem; }
.navigation-cards > .destination-card { max-width: none; }
.navigation-cards > .destination-card .card-title { padding: .65rem .75rem; }
.card .card-summary { --category-summary-padding: 0; padding: 0; margin: .25rem .75rem .75rem; }
.category-overview > .subpage-card { max-width: none; }
.navigation-cards .card-body > .btn { position: relative; z-index: 1; margin: auto .75rem .65rem; }
.editorial .feature-pair { display: grid; gap: var(--sc-card-gap); align-items: start; margin-block: 1rem; }
.editorial .feature-pair > img { margin: 0; }
.editorial .feature-pair .feature-card { --card-image-ratio: 16 / 9; }
@media (min-width: 57rem) {
  .editorial .feature-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 55rem; }
}
.category-card .country-flag {
  display: inline-block; vertical-align: -.1em; width: 1.5rem; height: auto;
  aspect-ratio: 3 / 2; object-fit: contain; background: transparent; margin-inline-end: .3rem;
}
.kind-category .editorial .row:has(> .col-auto) .card { max-width: 18rem; }
.kind-category .editorial .row:has(> .col-md-6 > .card) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; max-width: 53rem; margin-block: 1rem;
}
.kind-category .editorial .row:has(> .col-md-6 > .card) .card-header { display: flex; align-items: center; }
.kind-category .editorial .row:has(> .col-md-6 > .card) .card-header h3 { margin: 0; }
.kind-category .editorial .row:has(> .col-md-6 > .card) .card-body { display: flex; flex: 1; flex-direction: column; align-items: start; }
.kind-category .editorial .row:has(> .col-md-6 > .card) .card-body p { padding: var(--category-summary-padding, .75rem); }
.kind-category .editorial .row:has(> .col-md-6 > .card) .card-body .btn { margin: auto .75rem .75rem; }
.travel-overview .card-deck { display: grid; gap: 1rem; max-width: 61rem; margin-block: 1rem; }
.travel-overview .card-deck > .card { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
.travel-overview .card > .embed-responsive { display: grid; }
.travel-overview .card > .embed-responsive img { height: 100%; }
.travel-overview .card-deck > .card > .card-body, .travel-overview .card .card-footer { padding: .8rem 1rem; }
.travel-overview .card-body .btn { position: relative; z-index: 1; align-self: start; margin-top: auto; }
.travel-overview .card .card-footer { padding-inline: 0; padding-top: 0; }
.editorial .row > :is(.col-auto, .col-md-6, .col-sm-6) > .card,
.navigation-cards > .card:has(> .card-body > a.btn) {
  height: 100%; display: flex; flex-direction: column;
}
.editorial .card-body:has(> a.btn, > small > a, > .card-actions) {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start;
}
.editorial .card-body > :is(a.btn, small:has(a), .card-actions):last-child { margin-block-start: auto; }
.travel-overview .card .card-title { margin-top: 0; font-size: var(--sc-font-size-h3); }

/* Each visual row shares its heading, media and content tracks. */
@supports (grid-template-rows: subgrid) {
  :is(.navigation-cards, .kind-category .editorial .row:has(> :is(.col-auto, .col-md-6) > .card),
      .kind-home .editorial .card-deck) { row-gap: 0; }

  .kind-category .editorial .row > :is(.col-auto, .col-md-6):has(> .card) {
    display: grid; grid-row: span 3; grid-template-rows: subgrid;
    row-gap: 0; margin-block-end: var(--sc-card-gap);
  }
  :is(.navigation-cards > .card, .kind-category .editorial .row > :is(.col-auto, .col-md-6) > .card) {
    display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; height: auto;
  }
  .navigation-cards > .card { margin-block-end: var(--sc-card-gap); }
  :is(.navigation-cards > .card, .kind-category .editorial .row > :is(.col-auto, .col-md-6) > .card)
    > :is(.card-header, .card-title) { grid-row: 1; }
  :is(.navigation-cards > .card, .kind-category .editorial .row > :is(.col-auto, .col-md-6) > .card)
    > img { grid-row: 2; align-self: start; }
  :is(.navigation-cards > .card, .kind-category .editorial .row > :is(.col-auto, .col-md-6) > .card)
    > :is(.card-body, p) { grid-row: 2 / span 2; }
  :is(.navigation-cards > .card, .kind-category .editorial .row > :is(.col-auto, .col-md-6) > .card)
    > img ~ :is(.card-body, p) { grid-row: 3; }

  /* On the home deck the images precede the headings. */
  .kind-home .editorial .card-deck > .card {
    display: grid; grid-row: span 5; grid-template-rows: subgrid;
    row-gap: 0; margin-block-end: var(--sc-card-gap);
  }
  .kind-home .card-deck > .card > .card-body {
    display: grid; grid-row: 2 / span 4; grid-template-rows: subgrid; row-gap: 0;
  }
  .kind-home .card-deck .card-body > .card-title { grid-row: 1; }
  .kind-home .card-deck .card-body > .card-text { grid-row: 2; }
  .kind-home .card-deck .card-body > .card-note { grid-row: 3; }
  .kind-home .card-deck .card-body > .card-actions { grid-row: 4; }
}
.editorial-tip { overflow-wrap: anywhere; }
.editorial .editorial-tip { margin-block: 1rem; }
.thread details { margin-block: .4rem; }
.thread summary { cursor: pointer; }
.thread article { min-width: 0; overflow-wrap: anywhere; }
.thread .thread .thread .thread { margin-inline-start: 0; padding-inline-start: .3rem; }
.comment-pages { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1rem; }
.comment-status { margin-top: .6rem; }
.kind-recipe .editorial .col-md-6:has(> ul > li) { padding: 1rem 1.35rem; background: var(--leaf); border-radius: .85rem; }
.kind-recipe .editorial .col-md-6:has(> ul > li) h4 { margin-top: 0; }

.btn, .carousel button { border: 1px solid transparent; border-radius: .48rem; font-weight: 650; }
.btn { display: inline-block; padding: .375rem .75rem; line-height: 1.5; background: var(--green); color: #fff; text-decoration: none; }
.btn:hover { background: #23674d; }
.card .btn { margin: .14rem .14rem .14rem 0; }
input[type="search"] { min-width: 0; width: 100%; padding: .52rem .72rem; border: 1px solid #80978a; border-radius: .45rem; background: #fff; }
.input-group { display: flex; gap: .55rem; align-items: stretch; }
.content-panel, .error-search, .guide-steps, .comments {
  padding: clamp(1rem, 3vw, 1.6rem); background: var(--panel); border: 1px solid var(--line); border-radius: .85rem;
  max-width: 49rem; margin-top: 1.5rem;
}
.content-panel h2, .guide-steps h2, .comments h2 { margin-top: 0; }
.content-panel *, .error-search * { overflow-wrap: anywhere; }
.content-panel label, .error-search label { font-weight: 650; display: block; }
.kind-search :is(#local-search-heading, label[for="local-search-query"]) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.kind-search .content-panel form { margin-bottom: .75rem; }
.kind-search .input-group button, .home-search .input-group button {
  flex: none; white-space: nowrap; overflow-wrap: normal; min-height: 2.75rem;
}
.content-panel .list-group { list-style: none; padding: 0; }
.content-panel .list-group li { padding-block: .55rem; border-bottom: 1px solid var(--line); }
.feature-note { color: var(--muted); font-size: .91rem; margin: .8rem 0 0; }

.carousel { width: fit-content; max-width: 100%; margin: 0 0 1.45rem; }
.carousel-indicators, .carousel-control-prev, .carousel-control-next { display: none; }
.carousel-item img {
  width: auto; height: auto; max-width: 100%; max-height: 34rem; margin-inline: auto;
}
.carousel[data-ready] .carousel-item[aria-hidden="true"] { display: none; }
.carousel-controls { display: flex; gap: .65rem; align-items: center; justify-content: center; padding: .65rem; flex-wrap: wrap; }
.carousel-controls:not(:has(> :not([hidden]))) { display: none; }
.carousel-controls button { background: #fff; color: var(--pine); padding: .31rem .7rem; border-color: #a1b8aa; }
.carousel-controls button:hover { background: var(--leaf); }
.carousel-caption { padding-block: .6rem; overflow-wrap: anywhere; }
.carousel-caption p { margin: 0; }
.carousel dialog { color: var(--ink); border: 1px solid var(--line); border-radius: .8rem; max-width: min(94vw, 70rem); max-height: 90dvh; padding: 1rem; }
.carousel dialog::backdrop { background: #15251ed9; }
.carousel dialog img { width: auto; max-width: 100%; max-height: 70dvh; margin-top: .65rem; }
.carousel dialog p:empty { display: none; }
.table-scroll, .table-responsive { max-width: 100%; overflow-x: auto; border-radius: .55rem; }
:is(.editorial table, .statistics-table) { width: 100%; border-collapse: collapse; background: #fff; font-size: .93rem; }
:is(.editorial, .statistics-table) :is(th, td) { border-bottom: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
:is(.editorial, .statistics-table) th { background: var(--leaf); }
:is(.editorial, .statistics-table) tr:nth-child(even) td { background: #f6f9f5; }
.name-statistics { margin-block: 2rem; scroll-margin-block: 1rem; }
.name-statistics #namnhistorik { scroll-margin-block: 1rem; }
.name-statistics h4 { font-size: var(--sc-font-size-h3); }
.name-statistics-years ul {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; padding: 0; list-style: none;
}
.name-statistics-years a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .3rem .85rem; border: 1px solid var(--line); border-radius: .48rem;
}
.name-statistics-years a[aria-current] { background: var(--green); color: #fff; }
.name-statistics-form {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: .65rem; background: var(--panel);
}
.name-statistics-form label { display: grid; gap: .25rem; min-width: 0; max-width: 100%; font-weight: 650; }
.name-statistics-form :is(input, select) {
  min-width: 0; max-width: 100%; min-height: 2.75rem; padding: .35rem .5rem;
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--muted); border-radius: .48rem;
}
.name-statistics-form button { min-height: 2.75rem; font-family: inherit; }
.name-statistics-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.1rem; align-items: start; }
.statistics-table { table-layout: fixed; }
.statistics-table caption { color: var(--pine); text-align: left; margin-block-end: .4rem; font-weight: 650; }
.statistics-table :is(td, th) { overflow-wrap: anywhere; padding-inline: clamp(.35rem, 2vw, .7rem); }
.statistics-table td:last-child, .statistics-table th:last-child { text-align: right; }
.name-statistics-top th:is(:first-child, :last-child) { width: 23%; }
.name-statistics-history thead th:first-child { width: 19%; }
.name-statistics-history thead th:nth-child(3) { width: 15%; }
.name-statistics-history :is(th, td):last-child { width: 28%; text-align: left; }
.name-history-group { --chart-scb: #754d67; --chart-tax: var(--green); }
.name-statistics-chart { display: block; width: 100%; height: clamp(13rem, 27vw, 22rem); margin-block: .5rem; }
.name-statistics-chart text { font-size: .79rem; fill: var(--ink); }
.name-statistics-chart line { stroke: var(--line); }
.name-statistics-chart polyline { fill: none; stroke-width: 2; }
.name-statistics-chart .chart-scb { stroke: var(--chart-scb); }
.name-statistics-chart polyline.chart-scb { stroke-dasharray: 5 3; }
.name-statistics-chart circle.chart-scb { fill: var(--paper); stroke-width: 1.2; }
.name-statistics-chart polyline.chart-skatteverket { stroke: var(--chart-tax); }
.name-statistics-chart circle.chart-skatteverket { fill: var(--chart-tax); }
.name-history-plot { position: relative; }
.chart-points { position: absolute; inset: 0; pointer-events: none; }
.chart-point {
  position: absolute; left: var(--point-x); top: var(--point-y); translate: -50% -50%;
  inline-size: min(.75rem, var(--point-slot)); block-size: .9rem; padding: 0; border: 0;
  border-radius: .25rem; background: transparent; pointer-events: auto; cursor: pointer;
}
.chart-point-paired { inline-size: min(.5rem, calc(var(--point-slot) / 2)); }
.chart-point-paired.chart-scb { translate: -100% -50%; }
.chart-point-paired.chart-skatteverket { translate: 0 -50%; }
.chart-point:is(:hover, :focus) { z-index: 1; background: #d5dfd68c; }
.chart-point-tooltip {
  display: none; position: absolute; inset-block-end: calc(100% + .35rem); inset-inline-start: 50%;
  translate: -50% 0; inline-size: max-content; padding: .3rem .55rem;
  border: 1px solid var(--line); border-radius: .35rem; background: var(--pine); color: #fff;
  font: .85rem/1.35 var(--sans); pointer-events: none;
}
.chart-point-start .chart-point-tooltip { inset-inline-start: 0; translate: 0; }
.chart-point-end .chart-point-tooltip { inset-inline: auto 0; translate: 0; }
.chart-point:is(:hover, :focus) .chart-point-tooltip { display: block; }
.chart-points:has(.chart-point:hover) .chart-point:focus:not(:hover) .chart-point-tooltip { display: none; }
.chart-years-narrow { display: none; }
@media (max-width: 640px) {
  .chart-years-wide { display: none; }
  .chart-years-narrow { display: inline; }
}
.name-history-legend { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; padding: 0; margin: .35rem 0; list-style: none; }
.name-history-legend li { display: flex; align-items: center; gap: .45rem; }
.name-history-legend li::before { content: ""; width: 1.5rem; border-block-start: 2px solid var(--chart-tax); }
.name-history-legend .chart-scb::before { border-block-start: 2px dashed var(--chart-scb); }
.name-history-method { margin-block: .5rem 1rem; }
.name-history-overlap { margin-block: .65rem 1.25rem; }
.name-history-overlap summary { width: fit-content; color: var(--green); text-decoration: underline; cursor: pointer; }
.name-history-overlap ul { margin-block: .5rem; }
.name-statistics-errors { border-left: .2rem solid #a65021; padding-inline-start: 1.4rem; }
.quick-facts { border: 1px solid var(--line); border-radius: .75rem; background: var(--panel); }
.quick-facts caption {
  padding: .65rem .75rem; background: var(--pine); color: #fff;
  font: bold 1.15rem/1.3 var(--display); text-align: start;
}
.editorial .quick-facts th { width: 45%; border-inline-end: 1px solid var(--line); hyphens: manual; }
.editorial .quick-facts :is(th, td) { padding-inline: .5rem; word-break: normal; }
.editorial .quick-facts td { overflow-wrap: break-word; }
.editorial .quick-facts tr:last-child > * { border-bottom: 0; }

.guide-steps ol { padding-left: 0; list-style: none; }
.guide-steps li { margin: .4rem 0; }
.guide-steps [aria-current] { font-weight: 700; color: var(--pine); }
.comments { margin-top: 2.4rem; }
.comment-form fieldset { display: grid; gap: .5rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; }
.comment-form { margin-top: 1rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: .5rem; border: 1px solid var(--line); border-radius: .35rem; font: inherit; }
.comment-form button { justify-self: start; }
.comments button:disabled { opacity: .7; cursor: default; }
.thread time { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.thread article button { font: inherit; color: var(--green); margin-top: .5rem; background: #fff; border: 1px solid var(--line); border-radius: .35rem; padding: .2rem .45rem; }
.thread, .thread ol { list-style: none; margin: 1rem 0 0; padding: 0; }
.thread ol { margin: .65rem 0 .2rem clamp(.4rem, 2vw, 1.1rem); border-left: 1px solid #9bb5a6; padding-left: clamp(.4rem, 2vw, 1.1rem); }
.thread article { padding: .6rem .85rem; border-radius: .45rem; background: var(--leaf); }
.thread > li + li { margin-top: .7rem; }
.thread h3 { font: 650 1rem var(--sans); margin: 0 0 .2rem; }
.comment-byline { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .65rem; }
.comment-byline h3 { min-width: 0; }
.comment-pending { background: #fff3cd; color: #59420d; border-radius: .35rem; padding: .08rem .45rem; font-size: .85rem; font-weight: 650; }
.thread p { margin: 0; }
.site-footer { background: var(--pine); color: var(--leaf); border-top: 1px solid var(--pine); }
.site-footer a { color: var(--leaf); }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--leaf); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; justify-content: space-between; min-height: 8rem; }

@media (min-width: 57rem) {
  .kind-category .editorial .row:has(> .col-md-6:first-child > h2):has(> .col-md-6:first-child > p):has(> .col-md-6:nth-child(2):last-child > img:only-child) {
    display: grid; grid-template-columns: minmax(0, 48rem) minmax(0, 19rem); gap: 1.5rem; align-items: start;
  }
  .kind-article .editorial .row:has(> .col-md-6), .kind-recipe .editorial .row:has(> .col-md-6) {
    display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: clamp(1.3rem, 3vw, 2.8rem); align-items: start;
  }
  .kind-article .editorial .row:has(> .col-md-6):not(:has(> .col-md-6:nth-child(2) > *:not(hr))) {
    grid-template-columns: minmax(0, 48rem);
  }
  .kind-article .editorial .row:has(> .col-md-6:nth-child(2) > *:not(hr)),
  .editorial .row:has(> .col-md-6 > .article-aside:not(:empty)) {
    display: grid; grid-template-columns: minmax(0, 48rem) minmax(0, 19rem); gap: 1.5rem;
  }
  .editorial .row:has(> .col-md-6:nth-child(2) > :is(.quick-facts, .article-aside:not(:empty), img:only-child))
    > .col-md-6 > :first-child,
  .editorial .article-aside > :first-child { margin-block-start: 0; }
}
@media (max-width: 52rem) {
  .site-bar { flex-wrap: wrap; gap: .35rem 1rem; min-height: 0; padding-block: .76rem .32rem; }
  .main-nav { order: 3; width: 100%; gap: .1rem 1rem; }
  .main-nav a { font-size: .9375rem; padding-block: .44rem; }
  .kind-home .editorial .card-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .frame { width: calc(100% - 1.55rem); }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-frame { width: 100%; margin-block: 0; padding-block: 1.35rem 3.3rem; border: 0; border-radius: 0; }
  .kind-home .editorial > .container > .row:first-child h1 { min-height: 17rem; background-size: auto, auto, cover; }
  .kind-home .editorial > .container > .container > .card > .row { grid-template-columns: minmax(0, 1fr); }
  .kind-home .card > .row > .card-header img { --card-image-ratio: 16 / 9; height: auto; }
  .kind-home .editorial .card-deck { grid-template-columns: minmax(0, 1fr); }
  .kind-category .editorial .row:has(> .col-auto > .card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind-category .editorial .row:has(> .col-md-6 > .card), .travel-overview .card-deck > .card { grid-template-columns: minmax(0, 1fr); }
  .travel-overview .card > .embed-responsive img { height: auto; }
  .footer-inner { padding-block: 1.3rem; }
}
