/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-font-feature-settings: var(--font-sans--font-feature-settings);
    --default-font-variation-settings: var(--font-sans--font-variation-settings);
    --default-mono-font-family: var(--font-mono);
    --default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
    --default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
    --color-background: #f7f4ef;
    --color-foreground: #2a2a2a;
    --color-border: #e5e5e5;
    --font-family-headline: "Fjalla One", sans-serif;
    --font-family-sans: "Inter", sans-serif;
    --color-coral: #f25f5c;
    --color-gold: #ffe066;
    --color-blue: #247ba0;
    --color-teal: #70c1b3;
    --color-charcoal: #2a2a2a;
    --color-surface: #fff;
    --shadow-book-cover: 4px 4px 8px #0003;
    --shadow-book-cover-dark: 4px 4px 12px #0006;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  body {
    line-height: inherit;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
    color: currentColor;
  }

  @supports (color: color-mix(in lab, red, red)) {
    ::placeholder {
      color: color-mix(in oklab, currentColor 50%, transparent);
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: var(--color-border);
    outline-color: color-mix(in oklab, oklch(.708 0 0) 50%, transparent);
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
  }

  :root {
    --color-background: #f7f4ef;
    --color-surface: #fff;
    --color-foreground: #2a2a2a;
    --color-foreground-muted: #6b7280;
    --color-interactive: #2a2a2a;
    --color-interactive-contrast: #fff;
    --header-bg: #f7f4ef;
    --header-icon: var(--color-charcoal);
    --header-icon-shadow: drop-shadow(2px 2px 4px #00000026);
    --nav-bg: var(--color-charcoal);
    --nav-text: #fff;
    --search-bg: #fff;
    --search-text: var(--color-charcoal);
    --search-icon: var(--color-charcoal);
    --search-border: #e5e5e5;
    --megamenu-bg: var(--color-charcoal);
    --megamenu-text: #fff;
    --megamenu-border: #ffffff1a;
    --breadcrumb-text: #2a2a2a;
    --breadcrumb-text-muted: #6b7280;
    --breadcrumb-separator: #9ca3af;
    --breadcrumb-link: #2a2a2a;
    --breadcrumb-link-hover: var(--color-blue);
    --button-product-bg: #247ba0;
    --button-product-border: #fff;
    --button-product-text: #fff;
    --button-primary-bg: var(--color-blue);
    --button-primary-text: #fff;
    --carousel-button-bg: #000;
    --carousel-button-border: #fff;
    --carousel-button-icon: #fff;
    --fluid-h1: clamp(1.875rem, 1.45rem + 1.8vw, 3rem);
    --fluid-h2: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    --fluid-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
    --fluid-h4: clamp(1.125rem, 1.05rem + .3vw, 1.375rem);
    --fluid-h5: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
    --fluid-h6: clamp(.875rem, .825rem + .2vw, 1rem);
    --fluid-body: clamp(1rem, .95rem + .2vw, 1.125rem);
    --fluid-body-small: clamp(.875rem, .85rem + .1vw, .9375rem);
    --fluid-body-xs: clamp(.75rem, .725rem + .1vw, .8125rem);
    --fluid-price-label: clamp(.875rem, .7rem + .65vw, 1.125rem);
    --content-text-body: 1.5rem;
  }

  :where(h1, h2, h3, h4, h5, h6, p, span, a, div) {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-family-sans);
    font-size: var(--fluid-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    transition: background .3s, color .3s;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headline);
    text-transform: uppercase;
    letter-spacing: .02em;
  }
}

@layer utilities {
  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .running {
    animation-play-state: running;
  }

  .content-area p:not([class*="text-"]) {
    font-size: var(--content-text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }

  .btn-coral, .tag-coral {
    background-color: var(--color-coral) !important;
    color: #fff !important;
  }

  .kuratorname {
    font-family: var(--font-family-headline);
    font-size: var(--fluid-h4);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: bold;
  }

  .series-link {
    color: var(--color-blue);
    transition: opacity .2s;
  }

  .series-link:hover {
    opacity: .7;
  }

  .bg-gradient-pastel {
    background: linear-gradient(to right, #e4afcb 0%, #b8cbb8 0% 0%, #e2c58b 30%, #c2ce9c 64%, #7edbdc 100%);
  }

  .bg-hero-blue {
    background-color: var(--color-blue);
  }

  .breadcrumb-on-blue {
    --breadcrumb-text: #fff;
    --breadcrumb-text-muted: #fff;
    --breadcrumb-separator: #fff;
    --breadcrumb-link: #fff;
    --breadcrumb-link-hover: var(--color-gold);
  }

  .author-card-name {
    color: #2a2a2a !important;
  }

  .author-card-bio {
    color: #3a3a3a !important;
  }

  .dark .author-card-name {
    color: #2a2a2a !important;
  }

  .dark .author-card-bio {
    color: #3a3a3a !important;
  }

  .tag-button {
    background-color: var(--color-coral);
    color: #fff;
    font-family: var(--font-family-sans);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #0000;
    border-radius: 9999px;
    align-items: center;
    gap: .5rem;
    padding: .75rem;
    font-size: .875rem;
    font-weight: 600;
    transition: all .2s;
    display: inline-flex;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  }

  .tag-button:hover {
    border-color: var(--color-blue);
  }

  .tag-button:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
  }

  .tag-button-small {
    gap: .375rem;
    padding: .25rem .5rem;
    font-size: .625rem;
  }

  .search-input {
    border: 2px solid var(--color-charcoal);
    width: 100%;
    font-family: var(--font-family-sans);
    border-radius: .5rem;
    padding: .75rem 1rem .75rem 3rem;
    transition: border-color .2s;
  }

  .search-input:focus {
    border-color: var(--color-blue);
    outline: none;
  }

  .dark .search-input {
    border-color: var(--color-foreground);
    background-color: var(--color-surface);
    color: var(--color-foreground);
  }

  .author-card {
    cursor: pointer;
    background-color: #fff;
    border-radius: .5rem;
    transition: all .3s;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  }

  .author-card:hover {
    box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  }

  .author-card:focus-visible {
    outline: 3px solid var(--color-blue);
    outline-offset: 2px;
  }

  .dark .author-card {
    background-color: #fff;
  }

  .author-stats {
    font-family: var(--font-family-headline);
    color: #fff;
    font-size: .75rem;
  }

  .publisher-card {
    cursor: pointer;
    background-color: #fff;
    border-radius: .5rem;
    transition: all .3s;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  }

  .publisher-card:hover {
    box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  }

  .publisher-card:focus-visible {
    outline: 3px solid var(--color-blue);
    outline-offset: 2px;
  }

  .dark .publisher-card {
    background-color: #fff;
  }

  .publisher-card-name {
    color: #2a2a2a !important;
  }

  .publisher-card-description {
    color: #3a3a3a !important;
  }

  .dark .publisher-card-name {
    color: #2a2a2a !important;
  }

  .dark .publisher-card-description {
    color: #3a3a3a !important;
  }

  .sort-chip {
    color: #000;
    background-color: #fff;
    border: 1px solid #0000001a;
    border-radius: 9999px;
    flex-shrink: 0;
    padding: .25rem .625rem;
    transition: all .2s;
    box-shadow: 0 1px 2px #0000000d;
  }

  .sort-chip:hover {
    border-color: #0000004d;
  }

  .sort-chip[aria-pressed="true"] {
    color: #fff;
    background-color: #247ba0;
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
  }

  .dark .sort-chip:not([aria-pressed="true"]) {
    color: #247ba0;
    background-color: #fff;
    border-color: #0000001a;
  }

  .dark .sort-chip:not([aria-pressed="true"]):hover {
    border-color: #0000004d;
  }

  .dark .sort-chip[aria-pressed="true"] {
    color: #fff;
    background-color: #247ba0;
  }

  .filter-chip-coral {
    color: #000;
    background-color: #fff;
    border: 1px solid #0000001a;
    border-radius: 9999px;
    flex-shrink: 0;
    padding: .25rem .625rem;
    transition: all .2s;
    box-shadow: 0 1px 2px #0000000d;
  }

  .filter-chip-coral:hover {
    border-color: #0000004d;
  }

  .filter-chip-coral[aria-pressed="true"] {
    color: #fff;
    background-color: #f25f5c;
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
  }

  .dark .filter-chip-coral:not([aria-pressed="true"]) {
    color: #247ba0;
    background-color: #fff;
    border-color: #0000001a;
  }

  .dark .filter-chip-coral:not([aria-pressed="true"]):hover {
    border-color: #0000004d;
  }

  .dark .filter-chip-coral[aria-pressed="true"] {
    color: #fff;
    background-color: #f25f5c;
  }

  .filter-chip-saffron {
    color: #000;
    background-color: #fff;
    border: 1px solid #0000001a;
    border-radius: 9999px;
    flex-shrink: 0;
    padding: .25rem .625rem;
    transition: all .2s;
    box-shadow: 0 1px 2px #0000000d;
  }

  .filter-chip-saffron:hover {
    border-color: #0000004d;
  }

  .filter-chip-saffron[aria-pressed="true"] {
    color: #fff;
    background-color: #f4a261;
    box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
  }

  .dark .filter-chip-saffron:not([aria-pressed="true"]) {
    color: #247ba0;
    background-color: #fff;
    border-color: #0000001a;
  }

  .dark .filter-chip-saffron:not([aria-pressed="true"]):hover {
    border-color: #0000004d;
  }

  .dark .filter-chip-saffron[aria-pressed="true"] {
    color: #fff;
    background-color: #f4a261;
  }

  .expand-btn {
    color: var(--color-blue);
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
    font-weight: 400;
    transition: all .2s;
    display: inline-flex;
  }

  .expand-btn:hover {
    color: var(--color-blue);
    opacity: .8;
  }

  .expand-btn:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
    border-radius: .25rem;
  }

  .press-quote {
    border-left: 3px solid var(--color-blue);
    border-radius: .5rem;
    padding: 1.25rem;
    transition: transform .2s;
  }

  .press-quote:hover {
    transform: translateX(4px);
  }

  .press-quote-text {
    color: var(--color-foreground);
    margin-bottom: .75rem;
    font-style: italic;
  }

  .press-quote-source {
    color: var(--color-blue);
    text-align: right;
    font-size: .875rem;
    font-weight: 600;
  }

  .press-quotes-container {
    position: relative;
  }

  .press-quotes-container.collapsed {
    max-height: 250px;
    overflow: hidden;
  }

  .press-quotes-fade {
    background: linear-gradient(to bottom, transparent, var(--color-background));
    pointer-events: none;
    height: 120px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .press-quotes-expand-btn {
    align-items: center;
    gap: .5rem;
    display: inline-flex;
  }

  .fade-out-text-light {
    max-height: 6rem;
    position: relative;
    overflow: hidden;
  }

  .fade-out-text-light:after {
    content: "";
    background: linear-gradient(to bottom, transparent, var(--color-background));
    pointer-events: none;
    height: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .fade-out-text-dark {
    max-height: 6rem;
    position: relative;
    overflow: hidden;
  }

  .fade-out-text-dark:after {
    content: "";
    pointer-events: none;
    background: linear-gradient(#0000, #1a1a1a);
    height: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .press-quotes-expand-btn:hover {
    opacity: .8;
  }

  .press-quotes-expand-btn:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
    border-radius: .25rem;
  }

  .translator-highlight {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .translator-highlight-text {
    color: var(--color-charcoal);
    font-weight: 500;
  }

  .dark .translator-highlight-text {
    color: var(--color-charcoal);
  }

  .book-container-3d {
    perspective: 1000px;
    perspective-origin: center;
  }

  .book-cover-3d {
    transform-style: preserve-3d;
    transition: transform .3s;
  }

  .book-cover-thumb {
    aspect-ratio: 2 / 3;
    cursor: pointer;
    width: 80px;
    box-shadow: var(--shadow-book-cover);
    border: 2px solid #0000;
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
  }

  .dark .book-cover-thumb {
    box-shadow: var(--shadow-book-cover-dark);
  }

  .book-cover-thumb:hover {
    border-color: var(--color-teal);
    transform: scale(1.05);
  }

  .book-cover-thumb:focus-visible {
    border-color: var(--color-blue);
    outline: none;
  }

  .book-carousel-grid {
    gap: 1.5rem;
    display: flex;
    overflow-x: visible;
  }

  @media (width <= 768px) {
    .book-carousel-grid {
      gap: 1rem;
    }
  }

  .scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb-link {
    color: var(--breadcrumb-link);
  }

  .breadcrumb-link:hover {
    color: var(--breadcrumb-link-hover);
  }

  @keyframes heartBounce {
    0%, 100% {
      transform: scale(1);
    }

    25% {
      transform: scale(1.2);
    }

    50% {
      transform: scale(.95);
    }

    75% {
      transform: scale(1.05);
    }
  }

  .heart-bounce {
    animation: .4s cubic-bezier(.36, 0, .66, -.56) heartBounce;
  }
}

:root.dark {
  --color-background: #2a2a2a;
  --color-surface: #2a2a2a;
  --color-foreground: #f5f5f0;
  --color-foreground-muted: #aaa;
  --color-interactive: #f5f5f0;
  --color-interactive-contrast: #2a2a2a;
  --header-bg: #2a2a2a;
  --header-icon: #f5f5f0;
  --header-icon-shadow: drop-shadow(2px 2px 4px #0006);
  --nav-bg: #fff;
  --nav-text: #2a2a2a;
  --search-bg: #fff;
  --search-text: #2a2a2a;
  --search-icon: #2a2a2a;
  --search-border: #e5e5e5;
  --megamenu-bg: #fff;
  --megamenu-text: #2a2a2a;
  --megamenu-border: #0000001a;
  --breadcrumb-text: #f5f5f0;
  --breadcrumb-text-muted: #f5f5f0;
  --breadcrumb-separator: #f5f5f0;
  --breadcrumb-link: #f5f5f0;
  --breadcrumb-link-hover: var(--color-blue);
  --button-product-bg: #247ba0;
  --button-product-border: #fff;
  --button-product-text: #fff;
  --carousel-button-bg: #f5f5f5;
  --carousel-button-border: #000;
  --carousel-button-icon: #000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
