/* Shared shell for the German site. Homepage sections live in home.css. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-ext-600-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../resources/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f3e6c4;
  --cream-deep: #e7d7ae;
  --ink: #3a3428;
  --ink-soft: #5e5648;
  --forest: #2c3a2c;
  --forest-deep: #1e291e;
  --olive: #3f442c;
  --gold: #b59a62;
  --line: rgba(58, 52, 40, 0.22);
  --line-light: rgba(243, 230, 196, 0.35);
  --cream-text: #f6edd8;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 4.75rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
summary {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: #ddc98a;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 80;
  padding: 0.55rem 0.8rem;
  background: var(--forest);
  color: var(--cream-text);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.kicker {
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  pointer-events: none;
}

.site-header a,
.site-header button,
.site-header summary {
  pointer-events: auto;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.7rem var(--pad);
}

.primary-nav,
.header-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem 1.05rem;
}

.header-tools {
  justify-content: flex-end;
  gap: 0.55rem 0.85rem;
}

.primary-nav a,
.header-tools a,
.nav-details summary,
.persist,
.btn,
.nav-toggle {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.primary-nav a,
.header-tools a,
.nav-details summary,
.nav-toggle {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.primary-nav a:hover,
.header-tools a:hover,
.nav-details summary:hover {
  opacity: 0.55;
}

.site-header a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  padding: 0 0.35rem;
}

.mark svg {
  display: block;
  width: auto;
  height: 2.5rem;
}

.mark:hover {
  opacity: 1;
}

.nav-details {
  position: relative;
}

.nav-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  list-style: none;
  cursor: pointer;
}

.nav-details summary::-webkit-details-marker,
.nav-details summary::marker {
  display: none;
  content: "";
}

.nav-details summary::after {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  margin-top: -0.14rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
}

.nav-details[open] > summary {
  opacity: 1;
}

.nav-details[open] > summary::after {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.nav-drop {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 12.75rem;
  padding: 0.35rem 0;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 1rem 2rem rgba(30, 41, 30, 0.12);
  pointer-events: auto;
}

.primary-nav.is-on-dark .nav-drop,
.site-header.is-on-dark .nav-drop {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line);
}

.nav-drop a {
  display: block;
  padding: 0.42rem 1.15rem 0.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-drop a:hover {
  opacity: 1;
  background: rgba(58, 52, 40, 0.06);
}

.nav-drop a[aria-current="page"] {
  font-style: italic;
  text-decoration: none;
}

.region {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
}


.flag-ch,
.flag-li {
  display: inline-block;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.flag-ch {
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23DA291C'/%3E%3Crect x='13' y='6' width='6' height='20' fill='%23fff'/%3E%3Crect x='6' y='13' width='20' height='6' fill='%23fff'/%3E%3C/svg%3E");
}

.flag-li {
  width: 16px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Crect width='30' height='9' fill='%23002780'/%3E%3Crect y='9' width='30' height='9' fill='%23CE1126'/%3E%3Cpath fill='%23F7D117' d='M5.2 7.2c.15-.85.65-1.45 1.15-1.45.28 0 .48.18.66.55.18-.45.45-.72.84-.72s.66.27.84.72c.18-.37.38-.55.66-.55.5 0 .95.55 1.1 1.45.08.35-.12.62-.4.62H5.6c-.28 0-.48-.27-.4-.62z'/%3E%3Cpath fill='%23F7D117' d='M6.15 4.15h.45v1.15h-.45zm1.4-.7h.45v1.55h-.45zm1.4.7h.45v1.15h-.45z'/%3E%3C/svg%3E");
}

.region-switch .flag-ch,
.region-switch .flag-li {
  margin-right: 5px;
}

.region a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}


.region a + a::before,
.langs a + a::before {
  content: "/";
  margin-right: 0.55rem;
  opacity: 0.45;
  text-decoration: none;
  display: inline-block;
}

.langs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem 0.15rem;
}

.header-cta {
  white-space: nowrap;
}

.header-cta,
.btn,
.persist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: var(--forest);
  color: var(--cream-text);
  line-height: 1;
}

.header-cta:hover,
.btn:hover,
.persist:hover {
  background: var(--forest-deep);
  opacity: 1;
  color: var(--cream-text);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  justify-self: end;
  grid-column: 3;
  background: transparent;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  letter-spacing: 0.16em;
}

.nav-toggle-close {
  display: none;
}

.site-header.is-menu-open {
  background: var(--cream);
  color: var(--ink);
  pointer-events: auto;
}

.site-header.is-menu-open .primary-nav,
.site-header.is-menu-open .mark,
.site-header.is-menu-open .header-tools,
.site-header.is-menu-open .nav-toggle {
  color: var(--ink);
}

.site-header.is-menu-open .nav-toggle-open {
  display: none;
}

.site-header.is-menu-open .nav-toggle-close {
  display: inline;
}

.mobile-panel {
  display: none;
}

.site-header.is-on-dark,
.primary-nav.is-on-dark,
.mark.is-on-dark,
.header-tools.is-on-dark,
.nav-toggle.is-on-dark {
  color: var(--cream-text);
}

.site-header.is-on-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(20, 28, 20, 0.62), rgba(20, 28, 20, 0));
  pointer-events: none;
}

.site-header.is-on-dark .header-cta,
.header-tools.is-on-dark .header-cta {
  background: transparent;
  border-color: var(--cream-text);
  color: var(--cream-text);
}

.site-header.is-on-dark .header-cta:hover,
.header-tools.is-on-dark .header-cta:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-header.is-menu-open.is-on-dark {
  background: var(--cream);
  color: var(--ink);
}

.site-header.is-menu-open::before {
  display: none;
}

.persist {
  position: fixed;
  right: 1.15rem;
  bottom: calc(1.15rem + env(safe-area-inset-bottom));
  z-index: 35;
  box-shadow: none;
}

.persist.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-footer {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) calc(5.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem 2rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.footer-brand a {
  text-decoration: none;
}

.site-footer p {
  margin: 0.8rem 0 0;
  max-width: 34rem;
  color: var(--ink-soft);
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-meta {
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 1900px) {
  .header-tools a {
    font-size: 0.78rem;
    letter-spacing: 0.045em;
  }

  .header-cta {
    padding: 0.55rem 0.75rem;
  }
}

@media (max-width: 1760px) {
  .primary-nav,
  .header-tools {
    display: none;
  }

  .header-bar {
    grid-template-columns: auto 1fr auto;
  }

  .mark {
    grid-column: 2;
    justify-self: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-menu-open .header-bar {
    border-bottom: 1px solid var(--line);
  }

  .mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    overflow: auto;
    padding: clamp(1.6rem, 4vh, 2.8rem) var(--pad) calc(1.6rem + env(safe-area-inset-bottom));
    background: var(--cream);
    color: var(--ink);
  }

  .mobile-panel[hidden] {
    display: none;
  }

  .mobile-links {
    display: grid;
    align-content: start;
    gap: 0;
  }

  .mobile-links > a,
  .mobile-links > details {
    padding: 0.62rem 0 0.72rem;
  }

  .mobile-links > * + * {
    border-top: 1px solid var(--line);
  }

  .mobile-links > a,
  .mobile-panel summary {
    font-family: var(--serif);
    font-size: clamp(2.7rem, 6.4vw, 4.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    text-transform: none;
    text-decoration: none;
    line-height: 0.94;
  }

  .mobile-links > a:hover,
  .mobile-panel summary:hover {
    opacity: 0.55;
  }

  .mobile-links > a[aria-current="page"] {
    font-style: italic;
    text-decoration: none;
  }

  .mobile-panel summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
  }

  .mobile-panel summary::-webkit-details-marker,
  .mobile-panel summary::marker {
    display: none;
    content: "";
  }

  .mobile-panel summary::after {
    content: "+";
    font-family: var(--sans);
    font-size: 0.38em;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1;
  }

  .mobile-panel details[open] > summary::after {
    content: "–";
  }

  .mobile-panel .nav-drop {
    position: static;
    display: grid;
    gap: 0;
    margin: 0.85rem 0 0.15rem;
    padding: 0;
    background: transparent;
    min-width: 0;
    border: 0;
    box-shadow: none;
    pointer-events: auto;
  }

  .mobile-panel .nav-drop a {
    display: block;
    padding: 0.72rem 0 0.72rem 0.15rem;
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    text-decoration: none;
    line-height: 1.05;
    color: var(--ink-soft);
  }

  .mobile-panel .nav-drop a:hover {
    color: var(--ink);
    opacity: 1;
    background: transparent;
  }

  .mobile-tools a {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    color: var(--ink-soft);
  }

  .mobile-tools a:hover {
    color: var(--ink);
    opacity: 1;
  }

  .mobile-tools a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.28em;
    text-decoration-thickness: 1px;
  }

  .mobile-tools a + a::before {
    content: "/";
    margin-right: 0.7rem;
    color: var(--ink);
    opacity: 0.35;
    text-decoration: none;
  }

  .mobile-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.4rem 2.4rem;
    margin-top: auto;
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
  }

  .mobile-tools p {
    margin: 0 0 0.45rem;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .mobile-tools nav {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.15rem;
  }

  .mobile-panel .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-top: 1.4rem;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: var(--forest);
    color: var(--cream-text);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
  }

  .mobile-panel .mobile-cta:hover {
    background: var(--forest-deep);
    color: var(--cream-text);
    opacity: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .persist {
    transition: none;
  }
}

@media print {
  .site-header,
  .persist,
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Directory card fixed to the corner of a blog article. */
.blog-float {
  position: fixed;
  z-index: 30;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  width: min(308px, calc(100vw - 36px));
  margin: 0;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(58, 52, 40, 0.16);
  animation: blog-float-in 0.28s ease;
}

.blog-float-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-float-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.blog-float-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(181, 154, 98, 0.35);
}

.blog-float-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.blog-float-close:hover,
.blog-float-close:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.blog-float-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.blog-float-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
}

.blog-float-amount {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.blog-float-unit {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.blog-float-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-bottom: 12px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.blog-float-cta:hover,
.blog-float-cta:focus-visible {
  background: var(--forest-deep);
  color: var(--cream-text);
}

.blog-float-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-float-chips li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.3;
}

.blog-float .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body:has(.site-header.is-open) .blog-float,
body:has(.site-header.is-menu-open) .blog-float,
body:has(.site-nav.is-open) .blog-float {
  display: none;
}

@keyframes blog-float-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .blog-float {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: min(280px, calc(100vw - 28px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-float {
    animation: none;
  }
}

@media print {
  .blog-float {
    display: none;
  }
}
