/*
Theme Name: Vavuro
Theme URI: https://vavuro.com
Author: Workcraft
Description: Block-Theme für Vavuro im Stil der Marke (Marine, Gold, Elfenbein): Schaufenster für Wandbilder und
 Printables, Journal und Rechtsseiten. Schriften (Cormorant Garamond, Cinzel, Inter; SIL Open Font License) und Logo
 liegen im Theme – keine externen Schriften oder Skripte (Datenschutz, Ladezeit). Produkte spiegelt Workcraft als
 Beiträge in die Kategorie "Shop".
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: Proprietär
Text Domain: vavuro
*/

/* Gestaltung steckt in theme.json; hier nur, was dort nicht geht. */

:root {
  --vv-gold: var(--wp--preset--color--gold);
  --vv-gold-line: rgb(201 165 92 / 38%);
  --vv-on-dark: rgb(255 253 248 / 76%);
}

/* Kopf: Nachtblau mit goldenem Logo, bleibt beim Scrollen oben. */
.vv-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(17 26 49 / 94%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--vv-gold-line);
  color: var(--wp--preset--color--surface);
}
.admin-bar .vv-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .vv-header {
    top: 46px;
  }
}
.vv-header .wp-block-navigation a:hover,
.vv-header .wp-block-navigation a:focus-visible {
  color: var(--vv-gold);
}
.vv-header .wp-block-navigation__responsive-container-open,
.vv-header .wp-block-navigation__responsive-container-close {
  color: var(--vv-gold);
}

/* Logo-Zeile: Emblem und Schriftzug aus dem Markenzeichen. */
.vv-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  line-height: 0;
}
.vv-logo__emblem {
  height: 48px;
  width: auto;
}
.vv-logo__wordmark {
  height: 21px;
  width: auto;
}
@media (max-width: 600px) {
  .vv-logo {
    gap: 0.6rem;
  }
  .vv-logo__emblem {
    height: 40px;
  }
  .vv-logo__wordmark {
    height: 17px;
  }
}

/* Kleine Überzeile über Überschriften, in Kapitälchen wie der Schriftzug. */
.vv-eyebrow {
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
}

/* Zierlinie: Goldlinie – Emblem – Goldlinie. */
.vv-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
  margin-inline: auto;
}
.vv-ornament::before,
.vv-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vv-gold));
}
.vv-ornament::after {
  background: linear-gradient(90deg, var(--vv-gold), transparent);
}
.vv-ornament span {
  width: 26px;
  aspect-ratio: 195 / 240;
  background: url(assets/images/emblem-gold.png) center / contain no-repeat;
}
.vv-ornament--left {
  margin-inline: 0;
}
.vv-ornament--left::before {
  display: none;
}

/* Dunkle Flächen (Marine, Nachtblau): helle Schrift, goldene Akzente. */
.vv-dark {
  color: var(--wp--preset--color--surface);
}
.vv-dark :where(h1, h2, h3, h4) {
  color: var(--wp--preset--color--surface);
}
.vv-dark .vv-eyebrow,
.vv-dark h1 em,
.vv-dark h2 em {
  color: var(--vv-gold);
}
.vv-dark .has-muted-color,
.vv-dark .wp-block-post-date {
  color: var(--vv-on-dark) !important;
}
.vv-dark a:where(:not(.wp-element-button)) {
  color: var(--vv-gold);
}
.vv-dark a:where(:not(.wp-element-button)):hover {
  color: var(--wp--preset--color--surface);
}

/* Knöpfe: Gold auf dunklem Grund, Umriss fein. */
.vv-btn-gold .wp-block-button__link {
  background: var(--vv-gold);
  color: var(--wp--preset--color--night);
}
.vv-btn-gold .wp-block-button__link:hover {
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--night);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
  border-width: 1px;
  padding: calc(0.95rem - 1px) calc(1.9rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background: var(--wp--preset--color--navy);
  border-color: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--surface);
}
.vv-dark .wp-block-button.is-style-outline > .wp-block-button__link {
  border-color: var(--vv-gold-line);
  color: var(--wp--preset--color--surface);
}
.vv-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  background: transparent;
  border-color: var(--vv-gold);
  color: var(--vv-gold);
}

/* Bühne: Nachtblau mit goldenem Schein und feinen Ringen um das Siegel. */
.vv-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgb(201 165 92 / 14%), transparent 70%),
    linear-gradient(160deg, var(--wp--preset--color--navy), var(--wp--preset--color--night));
}
.vv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='%23c9a55c' fill-opacity='0.09'/%3E%3C/svg%3E");
}
.vv-hero h1 em,
.vv-display em {
  font-style: italic;
  color: var(--wp--preset--color--accent);
}
.vv-dark.vv-hero h1 em {
  color: var(--vv-gold);
}

.vv-seal {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 1;
}
.vv-seal::before,
.vv-seal::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(201 165 92 / 22%);
  pointer-events: none;
}
.vv-seal::before {
  inset: -7%;
}
.vv-seal::after {
  inset: -15%;
  border-color: rgb(201 165 92 / 10%);
}
.vv-seal img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgb(201 165 92 / 22%));
}
@media (max-width: 781px) {
  .vv-seal {
    width: min(70%, 280px);
  }
}

/* Vertrauenszeile unter den Knöpfen. */
.vv-facts {
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Seitenkopf: Marine-Band mit Titel und goldener Linie. */
.vv-page-head {
  position: relative;
  background:
    radial-gradient(ellipse 50% 90% at 85% 0%, rgb(201 165 92 / 12%), transparent 70%),
    linear-gradient(160deg, var(--wp--preset--color--navy), var(--wp--preset--color--night));
  border-bottom: 1px solid var(--vv-gold-line);
}

/* Karten für Beiträge und Produkte. */
.vv-card {
  height: 100%;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.vv-card:hover {
  transform: translateY(-4px);
  border-color: var(--vv-gold);
  box-shadow: var(--wp--preset--shadow--soft);
}
.vv-card .wp-block-post-featured-image {
  margin: 0;
  background: var(--wp--preset--color--accent-soft);
}
.vv-card .wp-block-post-featured-image img {
  transition: transform 0.5s ease;
}
.vv-card:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}
.vv-card .wp-block-post-title {
  font-weight: 600;
}
/* Beitragskarte ohne Bild: goldene Kante oben und Luft zum Text. */
.wp-block-post .vv-card:not(:has(.wp-block-post-featured-image)) {
  border-top: 3px solid var(--vv-gold);
  padding-top: 1.5rem;
}
/* Flächen wie der Shop-Aufruf heben sich nicht beim Überfahren. */
.vv-card.vv-static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--vv-gold-line);
}

/* Umschalter Digital/Poster auf der Shop-Seite. */
.vv-format {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--vv-gold-line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 0.6rem;
}
.vv-format__option {
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.vv-format__option:hover {
  color: var(--vv-gold);
}
.vv-format__option.is-active {
  background: var(--vv-gold);
  color: var(--wp--preset--color--night);
}
.vv-format__note {
  margin: 0 0 var(--wp--preset--spacing--40);
  color: var(--wp--preset--color--muted);
}

/* Produktkarten (vavuro_product_grid): Startseite, /shop/ und „Mehr davon“. */
.vavuro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 782px) {
  .vavuro-cards {
    grid-template-columns: repeat(var(--vavuro-cols, 3), minmax(0, 1fr));
  }
}
.vavuro-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--wp--preset--color--surface);
}
.vavuro-card__image {
  display: block;
  overflow: hidden;
  background: var(--wp--preset--color--accent-soft);
}
.vavuro-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vavuro-card:hover .vavuro-card__image img {
  transform: scale(1.03);
}
.vavuro-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem 1.25rem 1.5rem;
}
/* Label zur Produktart: Tinte auf hellem Gold (Kontrast über 12:1). */
.vavuro-card__type {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--wp--preset--color--accent-soft);
  color: var(--wp--preset--color--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vavuro-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.vavuro-card__title a {
  color: inherit;
  text-decoration: none;
}
.vavuro-card__title a:hover {
  color: var(--wp--preset--color--accent);
}
.vavuro-card__format {
  margin: 0;
  color: var(--wp--preset--color--muted);
  font-size: 0.95rem;
}

/* Filter-Links nach Produktart über dem Shop-Raster – brechen auf schmalen Bildschirmen um. */
.vavuro-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--wp--preset--spacing--40);
  padding: 0;
  list-style: none;
}
.vavuro-filter__link {
  display: inline-block;
  max-width: 100%;
  padding: 0.4rem 1rem;
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: 999px;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}
.vavuro-filter__link:hover {
  background: var(--wp--preset--color--accent-soft);
}
.vavuro-filter__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}

/* Raum-Ideen: schlichte Karten mit goldener Ziffer. */
.vv-room {
  height: 100%;
  border-top: 1px solid var(--vv-gold);
}
.vv-room a {
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wp--preset--color--accent);
}

/* Schritte mit römischen Ziffern. */
.vv-step-number {
  font-family: var(--wp--preset--font-family--caps);
  font-size: 2.6rem !important;
  line-height: 1;
  color: var(--wp--preset--color--gold);
}

/* Fragen und Antworten. */
.wp-block-details summary {
  cursor: pointer;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.4rem;
  font-weight: 600;
  list-style: none;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: '+';
  float: right;
  color: var(--wp--preset--color--accent);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 300;
}
.wp-block-details[open] summary::after {
  content: '–';
}

/* Tabellen im Journal. */
.wp-block-table thead {
  border-bottom: 2px solid var(--vv-gold);
}
.wp-block-table th {
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-align: left;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: var(--wp--preset--color--accent-soft);
}

/* Fuß: Nachtblau, Siegel, Links ohne Unterstreichung. */
.vv-footer {
  border-top: 1px solid var(--vv-gold-line);
}
.vv-footer a {
  color: inherit;
  text-decoration: none;
}
.vv-footer a:hover {
  color: var(--vv-gold);
}
.vv-footer .vv-eyebrow {
  color: var(--vv-gold);
}
.vv-footer__seal {
  width: 132px;
  height: auto;
}

/* Lesespalte für Artikel. */
.vv-article .wp-block-post-content > p:first-of-type {
  font-size: 1.2rem;
  color: var(--wp--preset--color--muted);
}
.vv-article .wp-block-post-content h2 {
  font-size: 2.1rem;
  margin-top: 2.5rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--wp--preset--color--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Produktlinien (Startseite, ADR-454): jede Linie mit eigenem Akzent – bewusst unterschiedlich. Weiße Schrift auf
   jedem Akzent mindestens 5,4:1. Neue Linie = neuer Block .vv-line--<slug>. */
.vv-lines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vv-line {
  --vv-line: var(--wp--preset--color--navy);
  margin: 0;
}
.vv-line--poster { --vv-line: #b4462a; }
.vv-line--coloring-pages { --vv-line: #4f6b45; }
.vv-line--nursery-wall-art { --vv-line: #a3485e; }
.vv-line--phone-wallpapers { --vv-line: #5b3fd6; }
.vv-line--clipart { --vv-line: #0f6f73; }
.vv-line--planners { --vv-line: #59617a; }
.vv-line__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 6px solid var(--vv-line);
  background: color-mix(in srgb, var(--vv-line) 7%, var(--wp--preset--color--surface));
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vv-line__link:hover,
.vv-line__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--vv-line) 22%, transparent);
}
.vv-line__link:focus-visible {
  outline: 2px solid var(--vv-line);
  outline-offset: 3px;
}
.vv-line__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--vv-line) 18%, var(--wp--preset--color--surface));
}
.vv-line__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vv-line__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1rem 1.25rem 1.25rem;
}
.vv-line__mood {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--vv-line);
  color: #fff;
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vv-line__name {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  line-height: 1.15;
}
.vv-line__text {
  color: var(--wp--preset--color--muted);
  font-size: 0.95rem;
}
.vv-line__count {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--vv-line);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .vv-card,
  .vv-card .wp-block-post-featured-image img,
  .vavuro-card__image img,
  .vv-line__link {
    transition: none;
  }
}

/* Vorschaltseite (functions.php, Option vavuro_coming_soon). */
.vv-soon {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgb(201 165 92 / 12%), transparent 70%),
    linear-gradient(160deg, var(--wp--preset--color--navy), var(--wp--preset--color--night));
  color: var(--wp--preset--color--surface);
}
.vv-soon__main {
  max-width: 34rem;
  padding: 2rem;
  text-align: center;
}
.vv-soon__title {
  margin: 0 0 1.5rem;
  line-height: 0;
}
.vv-soon__seal {
  width: min(78vw, 320px);
  height: auto;
  filter: drop-shadow(0 0 28px rgb(201 165 92 / 22%));
}
.vv-soon .vv-eyebrow {
  color: var(--vv-gold);
}
.vv-soon__text {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--vv-on-dark);
}
.vv-soon__links {
  margin-top: 3rem;
  font-size: 0.85rem;
}
.vv-soon__links a {
  color: var(--vv-gold);
}

/*
 * Zubehör-Empfehlungen (ADR-099): schlichte Karte unter Produktbeiträgen, Kennzeichnung „Ad“ vor den Links, Einträge
 * als ganze Klickflächen im Raster (zwei Spalten ab 520px).
 */
.vv-supplies {
  container-type: inline-size;
  margin-top: var(--wp--preset--spacing--50);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  background: var(--wp--preset--color--surface);
}
.vv-supplies .vv-eyebrow {
  margin: 0 0 0.3rem;
}
.vv-supplies__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.2;
}
.vv-supplies__disclosure {
  margin: 0 0 1.25rem;
  color: var(--wp--preset--color--muted);
  font-size: 0.85rem;
}
.vv-supplies__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@container (min-width: 520px) {
  .vv-supplies__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.vv-supplies__item a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--vv-gold-line);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.vv-supplies__item a:hover,
.vv-supplies__item a:focus-visible {
  border-color: var(--vv-gold);
  box-shadow: var(--wp--preset--shadow--soft);
}
.vv-supplies__name {
  font-weight: 600;
}
.vv-supplies__note {
  color: var(--wp--preset--color--muted);
  font-size: 0.9rem;
}
.vv-supplies__merchant {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--wp--preset--color--accent);
  font-size: 0.85rem;
}

/*
 * Newsletter-Anmeldung (ADR-084): Karte auf hellem Gold mit Emblem, Vorteilen und dem Formular von beehiiv auf
 * Papierweiß. Unter Beiträgen schmal (Spalte 700px) untereinander, als Band auf Übersichtsseiten nebeneinander.
 */
.vv-newsletter-band {
  margin-block: var(--wp--preset--spacing--50);
}
.vv-newsletter {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--wp--preset--spacing--50);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--vv-gold-line);
  border-top: 3px solid var(--vv-gold);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgb(201 165 92 / 22%), transparent 70%),
    linear-gradient(160deg, var(--wp--preset--color--surface), var(--wp--preset--color--accent-soft));
  box-shadow: var(--wp--preset--shadow--soft);
}
.vv-newsletter-band .vv-newsletter {
  margin-top: 0;
}
.vv-newsletter::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='%238c6a2e' fill-opacity='0.08'/%3E%3C/svg%3E");
}
.vv-newsletter__emblem {
  display: block;
  width: auto;
  height: 52px;
  margin-bottom: 0.9rem;
}
.vv-newsletter .vv-eyebrow {
  margin: 0 0 0.4rem;
}
.vv-newsletter__title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}
.vv-newsletter__title em {
  font-style: italic;
  color: var(--wp--preset--color--accent);
}
.vv-newsletter__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--wp--preset--color--muted);
  font-size: 0.95rem;
}
.vv-newsletter__perks li {
  position: relative;
  margin: 0.35rem 0;
  padding-left: 1.4rem;
}
.vv-newsletter__perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--vv-gold);
}
.vv-newsletter__form {
  min-height: 7rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  background: var(--wp--preset--color--surface);
}
.vv-newsletter__form iframe {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}
/* Breite Karte (Band auf Übersichtsseiten): Text links, Formular rechts. */
@container (min-width: 760px) {
  .vv-newsletter__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5cqi, 4rem);
    align-items: center;
  }
  .vv-newsletter__form {
    margin-top: 0;
  }
}

/* Brotkrumen (inc/seo.php): klein in Versalien über der Überschrift, auf dunklem Kopf in Gold. */
.vv-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--wp--preset--font-family--caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.vv-breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: var(--wp--preset--color--muted);
}
.vv-breadcrumbs a {
  color: var(--wp--preset--color--accent);
  text-decoration: none;
}
.vv-breadcrumbs a:hover {
  text-decoration: underline;
}
.vv-dark .vv-breadcrumbs a {
  color: var(--vv-gold);
}
/* Einleitung unter der Überschrift einer Kategorie. */
.vv-dark .vv-term-intro {
  color: var(--wp--preset--color--line);
}
.vv-term-intro p {
  max-width: 720px;
  margin: 0;
}
/* „Mehr davon“ unter Beiträgen. */
.vv-related {
  margin-top: var(--wp--preset--spacing--60);
}
.vv-related__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.2;
}
.vv-related .wp-block-post-title {
  font-size: 1.15rem !important;
}
.vv-related__more {
  margin-top: 1.25rem;
  text-align: right;
}
/* Beitragsbild ganz zeigen statt im Querformat beschneiden (Produkte sind Hochformat). */
.vv-hero-image img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: min(80vh, 860px);
  margin-inline: auto;
  object-fit: contain !important;
  box-shadow: 0 18px 40px -24px rgb(17 26 49 / 45%);
}
/* Produkt: H1 = Motiv, Unterzeile = übrige Suchbegriffe des Etsy-Titels. */
.vv-subtitle {
  margin: 0;
  color: var(--wp--preset--color--muted);
  font-size: 1.05rem;
}
.vv-reading {
  white-space: nowrap;
}
/* Inhaltsverzeichnis im Journal. */
.vv-toc {
  margin: var(--wp--preset--spacing--40) 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--vv-gold);
  background: var(--wp--preset--color--surface);
}
.vv-toc .vv-eyebrow {
  margin: 0 0 0.5rem;
}
.vv-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vv-toc li + li {
  margin-top: 0.25rem;
}
.vv-toc a {
  text-decoration: none;
}
.vv-toc a:hover {
  text-decoration: underline;
}
/* Das Produkt im Artikel – Karte mit Link auf seine Seite. */
.vv-feature {
  display: grid;
  gap: 1rem;
  margin-top: var(--wp--preset--spacing--50);
}
.vv-feature__card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  background: var(--wp--preset--color--surface);
  color: inherit;
  text-decoration: none;
}
.vv-feature__card:hover {
  border-color: var(--vv-gold);
}
.vv-feature__image {
  flex: 0 0 auto;
  width: 110px;
  height: auto;
  border-radius: 2px;
}
.vv-feature__text {
  display: grid;
  gap: 0.3rem;
}
.vv-feature__name {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.3rem;
  line-height: 1.2;
}
.vv-feature__more {
  color: var(--wp--preset--color--accent);
  font-size: 0.95rem;
}
/* Kurzanleitung und „Styling ideas“ unter Produkten. */
.vv-howto,
.vv-featured-in {
  margin-top: var(--wp--preset--spacing--50);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  background: var(--wp--preset--color--surface);
}
.vv-howto__title,
.vv-article .wp-block-post-content .vv-howto__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}
.vv-howto ol,
.vv-featured-in ul {
  margin: 0;
  padding-left: 1.2rem;
}
.vv-howto li + li,
.vv-featured-in li + li {
  margin-top: 0.4rem;
}
.vv-howto__note {
  margin: 0.9rem 0 0;
  color: var(--wp--preset--color--muted);
  font-size: 0.9rem;
}

/* Frame-Fit-Rechner (/frame-fit/, Muster vavuro/frame-fit, assets/js/frame-fit.js). */
.vv-ff {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-top: 3px solid var(--vv-gold);
}
.vv-ff[hidden],
.vv-ff [hidden] {
  display: none !important;
}
.vv-ff *,
.vv-ff *::before,
.vv-ff *::after {
  box-sizing: border-box;
}
.vv-ff__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}
.vv-ff__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  align-items: end;
}
.vv-ff__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.vv-ff label,
.vv-ff legend {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.vv-ff select,
.vv-ff input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--muted);
  border-radius: 2px;
}
.vv-ff__custom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--line);
}
.vv-ff__custom legend {
  padding: 0 0.35rem;
}
.vv-ff__button,
.vv-ff__copy {
  font: inherit;
  cursor: pointer;
}
.vv-ff__button {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  color: var(--wp--preset--color--night);
  background: var(--vv-gold);
  border: 1px solid var(--vv-gold);
  border-radius: 2px;
}
.vv-ff__button:hover {
  background: var(--wp--preset--color--accent-soft);
}
.vv-ff select:focus-visible,
.vv-ff input:focus-visible,
.vv-ff button:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}
.vv-ff__result:not(:empty) {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--line);
}
.vv-ff__result-title,
.vv-article .wp-block-post-content .vv-ff__result-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}
.vv-ff__result p {
  margin: 0 0 0.9rem;
}
.vv-ff__advice {
  font-size: var(--wp--preset--font-size--large);
}
.vv-ff__warn,
.vv-ff__error {
  padding: 0.75rem 1rem;
  background: var(--wp--preset--color--accent-soft);
  border-left: 3px solid var(--wp--preset--color--accent);
}
.vv-ff__note {
  color: var(--wp--preset--color--muted);
  font-size: 0.9rem;
}
.vv-ff__figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.5rem;
  margin: 1.25rem 0;
}
.vv-ff__figure {
  margin: 0;
  min-width: 0;
}
.vv-ff__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  background: var(--wp--preset--color--base);
}
.vv-ff__figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}
/* Vorschau: Rahmen in Marine, Druckfläche in Gold hell, Beschnitt schraffiert, weißer Rand als Papier. */
.vv-ff__frame {
  fill: none;
  stroke: var(--wp--preset--color--navy);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.vv-ff__print {
  fill: var(--wp--preset--color--accent-soft);
}
.vv-ff__paper {
  fill: #fff;
}
.vv-ff__outline {
  fill: none;
  stroke: var(--wp--preset--color--accent);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  vector-effect: non-scaling-stroke;
}
.vv-ff__trim-bg {
  fill: var(--wp--preset--color--accent-soft);
}
.vv-ff__trim-line {
  stroke: var(--wp--preset--color--accent);
  stroke-width: 0.06;
}
.vv-ff__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 0.5rem;
}
.vv-ff__copy {
  padding: 0;
  color: var(--wp--preset--color--accent);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.vv-ff__copy-status {
  color: var(--wp--preset--color--muted);
  font-size: 0.9rem;
}
.vv-ff__copy-wrap {
  flex-basis: 100%;
}
.vv-ff__next {
  margin: 1.25rem 0 0;
}
.vv-ff__next a {
  font-weight: 600;
}
.vv-ff__shop {
  margin: 1.25rem 0 0;
}
.vv-ff__shop a {
  font-weight: 600;
}

/* Drucker-Testblatt (Muster vavuro/print-test-sheet): zwei Download-Knöpfe, am Handy untereinander, je ≥ 44 px hoch. */
.vv-pts {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-left: 2px solid var(--vv-gold);
}
.vv-pts .vv-pts__title,
.vv-article .wp-block-post-content .vv-pts__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}
.vv-pts .vv-pts__text {
  margin: 0 0 1rem;
}
.vv-pts__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.vv-pts__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: var(--wp--preset--color--night);
  background: var(--vv-gold);
  border: 1px solid var(--vv-gold);
  border-radius: 2px;
}
.vv-pts__button:hover {
  color: var(--wp--preset--color--night);
  background: var(--wp--preset--color--accent-soft);
}
.vv-pts__button:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}
.vv-pts .vv-pts__more {
  margin: 1rem 0 0;
}
.vv-pts__more a {
  font-weight: 600;
}
@media (max-width: 600px) {
  .vv-pts {
    padding: 1.25rem 1rem 1rem;
  }
  .vv-pts__buttons {
    flex-direction: column;
  }
  .vv-pts__button {
    width: 100%;
    box-sizing: border-box;
  }
}

/*
 * „Matching prints“ (inc/topics.php): drei Angebotskarten zwischen Artikel und „Mehr davon“ – einspaltig, ab 768px
 * dreispaltig. Bilder im festen Seitenverhältnis 4:5 wie „Neu im Shop“, damit beim Laden nichts springt.
 */
.vv-mp {
  margin-top: var(--wp--preset--spacing--60);
}
.vv-mp__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.2;
}
.vv-mp__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .vv-mp__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.vv-mp__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding-bottom: 1.25rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--wp--preset--color--surface);
}
.vv-mp__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--wp--preset--color--accent-soft);
}
.vv-mp__image--placeholder {
  object-fit: contain;
  padding: 2rem;
}
.vv-mp__name {
  margin: 0;
  padding: 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.vv-mp__link {
  align-self: flex-start;
  margin: auto 1.25rem 0;
}
.vv-mp__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--wp--preset--color--night);
}
.vv-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
