/*! tailwindcss v4.2.4 | 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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --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 {
    --spacing: .25rem;
    --container-lg: 32rem;
    --container-2xl: 42rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-7xl: 80rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-wide: .025em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  }
}

@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;
  }

  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;
    -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;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      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;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-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;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .top-0 {
    top: calc(var(--spacing) * 0);
  }

  .top-full {
    top: 100%;
  }

  .left-0 {
    left: calc(var(--spacing) * 0);
  }

  .z-50 {
    z-index: 50;
  }

  .z-999 {
    z-index: 999;
  }

  .col-span-12 {
    grid-column: span 12 / span 12;
  }

  .clear-both {
    clear: both;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .m-0 {
    margin: calc(var(--spacing) * 0);
  }

  .-mx-2 {
    margin-inline: calc(var(--spacing) * -2);
  }

  .mx-1 {
    margin-inline: calc(var(--spacing) * 1);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .my-1\.5 {
    margin-block: calc(var(--spacing) * 1.5);
  }

  .my-2 {
    margin-block: calc(var(--spacing) * 2);
  }

  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }

  .my-6 {
    margin-block: calc(var(--spacing) * 6);
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }

  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }

  .-mb-px {
    margin-bottom: -1px;
  }

  .mb-0 {
    margin-bottom: calc(var(--spacing) * 0);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

  .ml-0 {
    margin-left: calc(var(--spacing) * 0);
  }

  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }

  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }

  .line-clamp-2 {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .line-clamp-3 {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .aspect-square {
    aspect-ratio: 1;
  }

  .\!h-auto {
    height: auto !important;
  }

  .\!h-full {
    height: 100% !important;
  }

  .h-10 {
    height: calc(var(--spacing) * 10);
  }

  .h-\[7px\] {
    height: 7px;
  }

  .h-full {
    height: 100%;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .w-8 {
    width: calc(var(--spacing) * 8);
  }

  .w-24 {
    width: calc(var(--spacing) * 24);
  }

  .w-40 {
    width: calc(var(--spacing) * 40);
  }

  .w-64 {
    width: calc(var(--spacing) * 64);
  }

  .w-\[7px\] {
    width: 7px;
  }

  .w-full {
    width: 100%;
  }

  .max-w-2xl {
    max-width: var(--container-2xl);
  }

  .max-w-4xl {
    max-width: var(--container-4xl);
  }

  .max-w-5xl {
    max-width: var(--container-5xl);
  }

  .max-w-7xl {
    max-width: var(--container-7xl);
  }

  .max-w-lg {
    max-width: var(--container-lg);
  }

  .max-w-none {
    max-width: none;
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .min-w-max {
    min-width: max-content;
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink-0, .shrink-0 {
    flex-shrink: 0;
  }

  .grow {
    flex-grow: 1;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .cursor-not-allowed {
    cursor: not-allowed;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .resize-y {
    resize: vertical;
  }

  .list-inside {
    list-style-position: inside;
  }

  .list-decimal {
    list-style-type: decimal;
  }

  .list-disc {
    list-style-type: disc;
  }

  .list-none {
    list-style-type: none;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-row {
    flex-direction: row;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .justify-items-center {
    justify-items: center;
  }

  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }

  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }

  .gap-10 {
    gap: calc(var(--spacing) * 10);
  }

  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-12 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 12) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .rounded-t {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
  }

  .rounded-l {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
  }

  .rounded-r {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .border-r-0 {
    border-right-style: var(--tw-border-style);
    border-right-width: 0;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-dotted {
    --tw-border-style: dotted;
    border-style: dotted;
  }

  .border-\[\#24b09c\] {
    border-color: #24b09c;
  }

  .border-\[\#ccc\] {
    border-color: #ccc;
  }

  .border-\[var\(--color-button-primary\)\] {
    border-color: var(--color-button-primary);
  }

  .border-\[var\(--color-knockout\)\] {
    border-color: var(--color-knockout);
  }

  .\!bg-\[var\(--color-knockout\)\] {
    background-color: var(--color-knockout) !important;
  }

  .bg-\[\#ff8004\] {
    background-color: #ff8004;
  }

  .bg-\[var\(--color-bg\)\] {
    background-color: var(--color-bg);
  }

  .bg-transparent {
    background-color: #0000;
  }

  .object-contain {
    object-fit: contain;
  }

  .object-cover {
    object-fit: cover;
  }

  .p-0 {
    padding: calc(var(--spacing) * 0);
  }

  .p-2 {
    padding: calc(var(--spacing) * 2);
  }

  .p-2\.5 {
    padding: calc(var(--spacing) * 2.5);
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .px-0 {
    padding-inline: calc(var(--spacing) * 0);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }

  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }

  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }

  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }

  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }

  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }

  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }

  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }

  .pr-1 {
    padding-right: calc(var(--spacing) * 1);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }

  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }

  .pl-3 {
    padding-left: calc(var(--spacing) * 3);
  }

  .text-center {
    text-align: center;
  }

  .text-justify {
    text-align: justify;
  }

  .text-left {
    text-align: left;
  }

  .align-top {
    vertical-align: top;
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .text-\[13px\] {
    font-size: 13px;
  }

  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }

  .leading-8 {
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }

  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .text-ellipsis {
    text-overflow: ellipsis;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .\!text-\[var\(--color-button-primary\)\] {
    color: var(--color-button-primary) !important;
  }

  .text-\[\#7d50e5\] {
    color: #7d50e5;
  }

  .text-\[\#755ce6\] {
    color: #755ce6;
  }

  .text-\[\#242424\] {
    color: #242424;
  }

  .text-\[\#262626\] {
    color: #262626;
  }

  .text-\[\#dc2626\] {
    color: #dc2626;
  }

  .text-\[var\(--color-button-primary\)\] {
    color: var(--color-button-primary);
  }

  .text-\[var\(--color-knockout\)\] {
    color: var(--color-knockout);
  }

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .no-underline {
    text-decoration-line: none;
  }

  .underline {
    text-decoration-line: underline;
  }

  .accent-\[var\(--color-button-primary\)\] {
    accent-color: var(--color-button-primary);
  }

  .opacity-60 {
    opacity: .6;
  }

  .shadow-\[1px_1px_44px_rgba\(38\,63\,90\,0\.09\)\] {
    --tw-shadow: 1px 1px 44px var(--tw-shadow-color, #263f5a17);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .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, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  @media (hover: hover) {
    .hover\:no-underline:hover {
      text-decoration-line: none;
    }

    .hover\:underline:hover {
      text-decoration-line: underline;
    }

    .hover\:opacity-80:hover {
      opacity: .8;
    }

    .hover\:opacity-90:hover {
      opacity: .9;
    }

    .hover\:shadow-md:hover {
      --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }

  .focus\:border-\[var\(--color-button-primary\)\]:focus {
    border-color: var(--color-button-primary);
  }

  .focus\:border-\[var\(--color-button-secondary\)\]:focus {
    border-color: var(--color-button-secondary);
  }

  .focus\:border-transparent:focus {
    border-color: #0000;
  }

  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-\[var\(--color-button-primary\)\]:focus {
    --tw-ring-color: var(--color-button-primary);
  }

  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }

  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }

  .disabled\:opacity-60:disabled {
    opacity: .6;
  }

  @media not all and (min-width: 992px) {
    .max-\[992px\]\:grid-cols-6 {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }

  @media not all and (min-width: 480px) {
    .max-\[480px\]\:mt-2 {
      margin-top: calc(var(--spacing) * 2);
    }

    .max-\[480px\]\:mb-2 {
      margin-bottom: calc(var(--spacing) * 2);
    }

    .max-\[480px\]\:grid-cols-1 {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .max-\[480px\]\:gap-2 {
      gap: calc(var(--spacing) * 2);
    }

    .max-\[480px\]\:py-2 {
      padding-block: calc(var(--spacing) * 2);
    }

    .max-\[480px\]\:pt-4 {
      padding-top: calc(var(--spacing) * 4);
    }
  }

  @media not all and (min-width: 40rem) {
    .max-sm\:w-full {
      width: 100%;
    }

    .max-sm\:flex-col {
      flex-direction: column;
    }
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sm\:flex-row {
      flex-direction: row;
    }

    .sm\:text-sm {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }

    .sm\:text-\[13px\] {
      font-size: 13px;
    }

    .sm\:text-\[15px\] {
      font-size: 15px;
    }
  }

  @media (min-width: 48rem) {
    .md\:col-span-6 {
      grid-column: span 6 / span 6;
    }

    .md\:block {
      display: block;
    }

    .md\:hidden {
      display: none;
    }

    .md\:w-1\/2 {
      width: 50%;
    }

    .md\:w-5\/12 {
      width: 41.6667%;
    }

    .md\:w-7\/12 {
      width: 58.3333%;
    }

    .md\:w-auto {
      width: auto;
    }

    .md\:flex-1 {
      flex: 1;
    }

    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:\!flex-row {
      flex-direction: row !important;
    }

    .md\:gap-8 {
      gap: calc(var(--spacing) * 8);
    }

    .md\:p-10 {
      padding: calc(var(--spacing) * 10);
    }
  }

  @media (min-width: 64rem) {
    .lg\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media (min-width: 80rem) {
    .xl\:w-1\/2 {
      width: 50%;
    }
  }
}

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

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

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

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

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

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

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

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

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

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

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

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

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

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

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@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
}
/*! tailwindcss v4.2.4 | 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-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
    }
  }
}

:root {
  --spacing-xs: .5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --font-size-xs: .75rem;
  --font-size-sm: .875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --border-radius-sm: .25rem;
  --border-radius-md: .375rem;
  --border-radius-lg: .5rem;
  --border-radius-xl: .75rem;
  --border-radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --transition-fast: .15s ease-in-out;
  --transition-normal: .3s ease-in-out;
  --transition-slow: .5s ease-in-out;
  --oos-container-max-lg: 1200px;
  --oos-container-max-md: 960px;
  --oos-container-gutter: 24px;
  --oos-container-max: var(--oos-container-max-lg);
}

@media (max-width: 1440px) {
  :root {
    --oos-container-max: var(--oos-container-max-md);
  }
}

.oos-container, .header__container, .footer__container, .navigation__container, .blog-container, .hero__container, .search-results__container, .article-details__container, .category-section__container, .carousel__container, .demo-container, .static-page__container, .hero-showcase {
  width: 100%;
  max-width: var(--oos-container-max);
  box-sizing: border-box;
  margin-inline: auto;
}

@media (max-width: 1023px) {
  .oos-container, .header__container, .footer__container, .navigation__container, .blog-container, .hero__container, .search-results__container, .article-details__container, .category-section__container, .carousel__container, .demo-container, .static-page__container, .hero-showcase {
    max-width: none;
    padding-inline: var(--oos-container-gutter);
  }
}

@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;
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-gray-900: oklch(21% .034 264.665);
    --color-white: #fff;
    --spacing: .25rem;
    --container-4xl: 56rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-wide: .025em;
    --leading-relaxed: 1.625;
    --radius-lg: .5rem;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-bg: var(--color-bg);
    --color-bg-alt: var(--color-bg-alt);
    --color-header: var(--color-header);
    --color-text-primary: var(--color-text-primary);
    --color-button-primary: var(--color-button-primary);
    --color-button-secondary: var(--color-button-secondary);
    --color-knockout: var(--color-knockout);
  }
}

@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;
  }

  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;
    -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;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      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;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-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;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .inline {
    display: inline;
  }

  .w-full {
    width: 100%;
  }

  .max-w-4xl {
    max-width: var(--container-4xl);
  }

  .grow {
    flex-grow: 1;
  }

  .list-inside {
    list-style-position: inside;
  }

  .list-decimal {
    list-style-type: decimal;
  }

  .list-disc {
    list-style-type: disc;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .items-start {
    align-items: flex-start;
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-bg {
    border-color: var(--color-bg);
  }

  .border-bg-alt {
    border-color: var(--color-bg-alt);
  }

  .border-button-primary {
    border-color: var(--color-button-primary);
  }

  .border-button-secondary {
    border-color: var(--color-button-secondary);
  }

  .border-gray-200 {
    border-color: var(--color-gray-200);
  }

  .border-header {
    border-color: var(--color-header);
  }

  .border-knockout {
    border-color: var(--color-knockout);
  }

  .border-text-primary {
    border-color: var(--color-text-primary);
  }

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

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

  .bg-button-primary {
    background-color: var(--color-button-primary);
  }

  .bg-button-secondary {
    background-color: var(--color-button-secondary);
  }

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

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

  .bg-text-primary {
    background-color: var(--color-text-primary);
  }

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

  .fill-bg {
    fill: var(--color-bg);
  }

  .fill-bg-alt {
    fill: var(--color-bg-alt);
  }

  .fill-button-primary {
    fill: var(--color-button-primary);
  }

  .fill-button-secondary {
    fill: var(--color-button-secondary);
  }

  .fill-header {
    fill: var(--color-header);
  }

  .fill-knockout {
    fill: var(--color-knockout);
  }

  .fill-text-primary {
    fill: var(--color-text-primary);
  }

  .stroke-bg {
    stroke: var(--color-bg);
  }

  .stroke-bg-alt {
    stroke: var(--color-bg-alt);
  }

  .stroke-button-primary {
    stroke: var(--color-button-primary);
  }

  .stroke-button-secondary {
    stroke: var(--color-button-secondary);
  }

  .stroke-header {
    stroke: var(--color-header);
  }

  .stroke-knockout {
    stroke: var(--color-knockout);
  }

  .stroke-text-primary {
    stroke: var(--color-text-primary);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }

  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }

  .text-justify {
    text-align: justify;
  }

  .font-heading {
    font-family: var(--font-family-heading);
  }

  .font-primary {
    font-family: var(--font-family-primary);
  }

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .text-bg {
    color: var(--color-bg);
  }

  .text-bg-alt {
    color: var(--color-bg-alt);
  }

  .text-blue-600 {
    color: var(--color-blue-600);
  }

  .text-button-primary {
    color: var(--color-button-primary);
  }

  .text-button-secondary {
    color: var(--color-button-secondary);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-700 {
    color: var(--color-gray-700);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-header {
    color: var(--color-header);
  }

  .text-knockout {
    color: var(--color-knockout);
  }

  .text-text-primary {
    color: var(--color-text-primary);
  }

  .uppercase {
    text-transform: uppercase;
  }

  .decoration-bg {
    -webkit-text-decoration-color: var(--color-bg);
    -webkit-text-decoration-color: var(--color-bg);
    text-decoration-color: var(--color-bg);
  }

  .decoration-bg-alt {
    -webkit-text-decoration-color: var(--color-bg-alt);
    -webkit-text-decoration-color: var(--color-bg-alt);
    text-decoration-color: var(--color-bg-alt);
  }

  .decoration-button-primary {
    -webkit-text-decoration-color: var(--color-button-primary);
    -webkit-text-decoration-color: var(--color-button-primary);
    text-decoration-color: var(--color-button-primary);
  }

  .decoration-button-secondary {
    -webkit-text-decoration-color: var(--color-button-secondary);
    -webkit-text-decoration-color: var(--color-button-secondary);
    text-decoration-color: var(--color-button-secondary);
  }

  .decoration-header {
    -webkit-text-decoration-color: var(--color-header);
    -webkit-text-decoration-color: var(--color-header);
    text-decoration-color: var(--color-header);
  }

  .decoration-knockout {
    -webkit-text-decoration-color: var(--color-knockout);
    -webkit-text-decoration-color: var(--color-knockout);
    text-decoration-color: var(--color-knockout);
  }

  .decoration-text-primary {
    -webkit-text-decoration-color: var(--color-text-primary);
    -webkit-text-decoration-color: var(--color-text-primary);
    text-decoration-color: var(--color-text-primary);
  }

  .caret-bg {
    caret-color: var(--color-bg);
  }

  .caret-bg-alt {
    caret-color: var(--color-bg-alt);
  }

  .caret-button-primary {
    caret-color: var(--color-button-primary);
  }

  .caret-button-secondary {
    caret-color: var(--color-button-secondary);
  }

  .caret-header {
    caret-color: var(--color-header);
  }

  .caret-knockout {
    caret-color: var(--color-knockout);
  }

  .caret-text-primary {
    caret-color: var(--color-text-primary);
  }

  .accent-bg {
    accent-color: var(--color-bg);
  }

  .accent-bg-alt {
    accent-color: var(--color-bg-alt);
  }

  .accent-button-primary {
    accent-color: var(--color-button-primary);
  }

  .accent-button-secondary {
    accent-color: var(--color-button-secondary);
  }

  .accent-header {
    accent-color: var(--color-header);
  }

  .accent-knockout {
    accent-color: var(--color-knockout);
  }

  .accent-text-primary {
    accent-color: var(--color-text-primary);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-bg {
    --tw-shadow-color: var(--color-bg);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-bg {
      --tw-shadow-color: color-mix(in oklab, var(--color-bg) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-bg-alt {
    --tw-shadow-color: var(--color-bg-alt);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-bg-alt {
      --tw-shadow-color: color-mix(in oklab, var(--color-bg-alt) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-button-primary {
    --tw-shadow-color: var(--color-button-primary);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-button-primary {
      --tw-shadow-color: color-mix(in oklab, var(--color-button-primary) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-button-secondary {
    --tw-shadow-color: var(--color-button-secondary);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-button-secondary {
      --tw-shadow-color: color-mix(in oklab, var(--color-button-secondary) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-header {
    --tw-shadow-color: var(--color-header);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-header {
      --tw-shadow-color: color-mix(in oklab, var(--color-header) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-knockout {
    --tw-shadow-color: var(--color-knockout);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-knockout {
      --tw-shadow-color: color-mix(in oklab, var(--color-knockout) var(--tw-shadow-alpha), transparent);
    }
  }

  .shadow-text-primary {
    --tw-shadow-color: var(--color-text-primary);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-text-primary {
      --tw-shadow-color: color-mix(in oklab, var(--color-text-primary) var(--tw-shadow-alpha), transparent);
    }
  }

  .ring-bg {
    --tw-ring-color: var(--color-bg);
  }

  .ring-bg-alt {
    --tw-ring-color: var(--color-bg-alt);
  }

  .ring-button-primary {
    --tw-ring-color: var(--color-button-primary);
  }

  .ring-button-secondary {
    --tw-ring-color: var(--color-button-secondary);
  }

  .ring-header {
    --tw-ring-color: var(--color-header);
  }

  .ring-knockout {
    --tw-ring-color: var(--color-knockout);
  }

  .ring-text-primary {
    --tw-ring-color: var(--color-text-primary);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .outline-bg {
    outline-color: var(--color-bg);
  }

  .outline-bg-alt {
    outline-color: var(--color-bg-alt);
  }

  .outline-button-primary {
    outline-color: var(--color-button-primary);
  }

  .outline-button-secondary {
    outline-color: var(--color-button-secondary);
  }

  .outline-header {
    outline-color: var(--color-header);
  }

  .outline-knockout {
    outline-color: var(--color-knockout);
  }

  .outline-text-primary {
    outline-color: var(--color-text-primary);
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  @media (hover: hover) {
    .hover\:border-bg:hover {
      border-color: var(--color-bg);
    }

    .hover\:border-bg-alt:hover {
      border-color: var(--color-bg-alt);
    }

    .hover\:border-button-primary:hover {
      border-color: var(--color-button-primary);
    }

    .hover\:border-button-secondary:hover {
      border-color: var(--color-button-secondary);
    }

    .hover\:border-header:hover {
      border-color: var(--color-header);
    }

    .hover\:border-knockout:hover {
      border-color: var(--color-knockout);
    }

    .hover\:border-text-primary:hover {
      border-color: var(--color-text-primary);
    }

    .hover\:bg-bg:hover {
      background-color: var(--color-bg);
    }

    .hover\:bg-bg-alt:hover {
      background-color: var(--color-bg-alt);
    }

    .hover\:bg-button-primary:hover {
      background-color: var(--color-button-primary);
    }

    .hover\:bg-button-secondary:hover {
      background-color: var(--color-button-secondary);
    }

    .hover\:bg-header:hover {
      background-color: var(--color-header);
    }

    .hover\:bg-knockout:hover {
      background-color: var(--color-knockout);
    }

    .hover\:bg-text-primary:hover {
      background-color: var(--color-text-primary);
    }

    .hover\:font-heading:hover {
      font-family: var(--font-family-heading);
    }

    .hover\:font-primary:hover {
      font-family: var(--font-family-primary);
    }

    .hover\:text-bg:hover {
      color: var(--color-bg);
    }

    .hover\:text-bg-alt:hover {
      color: var(--color-bg-alt);
    }

    .hover\:text-button-primary:hover {
      color: var(--color-button-primary);
    }

    .hover\:text-button-secondary:hover {
      color: var(--color-button-secondary);
    }

    .hover\:text-header:hover {
      color: var(--color-header);
    }

    .hover\:text-knockout:hover {
      color: var(--color-knockout);
    }

    .hover\:text-text-primary:hover {
      color: var(--color-text-primary);
    }

    .hover\:underline:hover {
      text-decoration-line: underline;
    }
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (min-width: 48rem) {
    .md\:w-1\/2 {
      width: 50%;
    }
  }
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

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

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

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

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

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

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

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

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

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

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

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
/* Blog Home Component Styles - 12 Column Grid */

/* Color Variables from Design Tokens */
/* :root {
  --color-bg-a: rgb(254, 246, 228);
  --color-header-a: rgb(0, 24, 88);
  --color-text-primary-a: rgb(23, 44, 102);
  --color-button-primary-a: rgb(245, 130, 174);
  --color-bg-alt-a: rgb(243, 210, 193);
  --color-button-secondary-a: rgb(139, 211, 221);
  --color-knockout-a: rgb(255, 255, 254);
} */

/* Base Layout — container max-width/padding: see globals.css */

/* 12 Column Grid System */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-12 {
  grid-column: span 12;
}

/* Header */
.blog-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blog-logo {
  font-family: 'Outfit-Thin_', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-header);
}

.blog-search {
  display: flex;
  gap: 0;
  position: relative;
  flex: 0 0 386px;
}

.blog-search__input {
  width: 348px;
  height: 40px;
  padding: 9px 16px;
  border: 2px solid var(--color-header);
  border-radius: 4px 0 0 4px;
  background: var(--color-knockout);
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-header);
  outline: none;
}

.blog-search__input::placeholder {
  color: var(--color-header);
  opacity: 0.6;
}

.blog-search__button {
  width: 40px;
  height: 40px;
  background: var(--color-text-primary);
  border: 2px solid var(--color-header);
  border-radius: 0 3px 3px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: -2px;
  color: var(--color-knockout);
}

.blog-search__button:hover {
  opacity: 0.9;
}

/* Hamburger menu button - hidden by default, shown on mobile */
.blog-header__menu-button {
  display: none;
}

/* Navigation */
.blog-nav {
  padding: 16px 0;
  margin-bottom: 24px;
}

.blog-nav__items {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.blog-nav__item {
  padding: 7px 16px;
  border: 2px solid var(--color-header);
  border-radius: 4px;
  background: transparent;
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: var(--color-header);
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-nav__item--active {
  background: rgba(0, 24, 88, 0.1);
  border-color: var(--color-header);
}

.blog-nav__item:hover:not(.blog-nav__item--active) {
  background: rgba(0, 24, 88, 0.05);
}

/* Card Component */
.blog-card {
  background: var(--color-knockout);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.blog-card--horizontal {
  flex-direction: row;
  height: 264px;
}

.blog-card--vertical {
  flex-direction: column;
  height: 368px;
}

.blog-card__image {
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.blog-card--horizontal .blog-card__image {
  width: 468px;
  height: 264px;
}

.blog-card--vertical .blog-card__image {
  width: 100%;
  height: 228px;
}

.blog-card__image--16-9 {
  aspect-ratio: 16 / 9;
}

.blog-card__image--4-3 {
  aspect-ratio: 4 / 3;
}

.blog-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.blog-card--horizontal .blog-card__content {
  padding: 73px 24px;
}

.blog-card--vertical .blog-card__content {
  padding: 16px;
}

.blog-card__title {
  font-family: 'Outfit-Thin_', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: var(--color-header);
  margin: 0 0 16px 0;
}

.blog-card--vertical .blog-card__title {
  font-size: 18px;
  line-height: 24px;
}


.blog-pagination__control,
.blog-pagination__chip {
  width: 40px;
  height: 48px;
  background: var(--color-knockout);
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'WorkSans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-header);
}

.blog-pagination__control:hover,
.blog-pagination__chip:hover {
  background: var(--color-bg-alt);
}

.blog-pagination__control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.blog-pagination__chip--active {
  background: var(--color-button-secondary);
}

.blog-pagination__control svg {
  color: var(--color-header);
}

/* Footer */
.blog-footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-footer__copyright {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: var(--color-header);
  margin: 0;
}

.blog-footer__links {
  display: flex;
  gap: 24px;
}

.blog-footer__link {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-header);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-footer__link:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .col-span-4 {
    grid-column: span 6;
  }

  .col-span-12 {
    grid-column: span 6;
  }

  .blog-card--horizontal {
    flex-direction: column;
    height: auto;
  }

  .blog-card--horizontal .blog-card__image {
    width: 100%;
    height: 228px;
  }
}

@media (max-width: 768px) {
  .blog-nav__items {
    flex-wrap: wrap;
  }

  .blog-footer__content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .blog-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =================================================================
   MOBILE RESPONSIVE STYLES (Extra Small Screens - 320px to 480px)
   Based on Zeplin Mobile Screen Design
   ================================================================= */

@media (max-width: 480px) {
  /* Container adjustments for mobile */
  .blog-header__content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row !important; /* Override tablet styles */
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  /* Logo simplified for mobile - left side of first row */
  .blog-logo {
    font-size: 16px;
    max-width: 152px;
    flex-shrink: 0;
    flex-basis: auto;
    order: 1;
  }

  /* Hamburger menu button - right side of first row */
  .blog-header__menu-button {
    display: flex;
    width: 32px;
    height: 32px;
    background: var(--color-text-primary);
    border: none;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    flex-basis: auto;
    order: 2;
  }

  .blog-header__menu-icon {
    width: 18px;
    height: 13px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .blog-header__menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-knockout);
    border-radius: 1px;
  }

  /* Search mobile layout - full width on second row */
  .blog-search {
    flex: 1 1 100% !important; /* Override tablet styles */
    width: 100% !important;
    flex-basis: 100%;
    order: 3;
    max-width: 100%;
    margin-top: 8px;
  }

  .blog-search__input {
    width: calc(100% - 40px) !important;
    height: 40px;
    font-size: 14px;
    padding: 9px 12px;
  }

  .blog-search__button {
    width: 40px;
    height: 40px;
  }

  /* Navigation hidden on mobile (shown via hamburger menu) */
  .blog-nav {
    display: none;
  }

  .blog-nav--mobile-open {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    z-index: 1000;
    padding: 16px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .blog-nav--mobile-open .blog-nav__items {
    flex-direction: column;
    gap: 8px;
  }

  .blog-nav--mobile-open .blog-nav__item {
    width: 100%;
    text-align: center;
  }

  /* Grid system for mobile */
  .col-span-4,
  .col-span-12 {
    grid-column: span 1;
  }

  /* Cards - Vertical Large (from Zeplin) */
  .blog-card--vertical {
    height: auto;
    min-height: 376px;
  }

  .blog-card--vertical .blog-card__image {
    height: 228px;
    width: 100%;
  }

  .blog-card--vertical .blog-card__content {
    padding: 16px;
  }

  .blog-card--vertical .blog-card__title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  /* Cards - Horizontal Medium (from Zeplin) */
  .blog-card--horizontal {
    height: 112px;
    flex-direction: row;
  }

  .blog-card--horizontal .blog-card__image {
    width: 96px;
    height: 96px;
    margin: 8px;
  }

  .blog-card--horizontal .blog-card__content {
    padding: 19px 8px;
    justify-content: center;
  }

  .blog-card--horizontal .blog-card__title {
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
  }

  /* Pagination mobile */
  .blog-pagination {
    margin: 24px 0;
    gap: 4px;
  }

  .blog-pagination__control,
  .blog-pagination__chip {
    width: 36px;
    height: 44px;
    font-size: 18px;
  }

  /* Footer mobile */
  .blog-footer {
    padding: 16px 0;
  }

  .blog-footer__content {
    flex-direction: column;
    gap: 12px;
    padding: 0 8px;
  }

  .blog-footer__copyright {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .blog-footer__links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .blog-footer__link {
    font-size: 12px;
    line-height: 16px;
  }

}

/* Extra mobile styles for very small screens (320px exactly) */
@media (max-width: 360px) {
  .blog-search {
    max-width: calc(100% - 150px);
  }

  .blog-card--horizontal .blog-card__title {
    font-size: 16px;
    line-height: 22px;
  }

  .blog-pagination__control,
  .blog-pagination__chip {
    width: 32px;
    height: 40px;
    font-size: 16px;
  }
}
/* Button Component Styles - Using Design Token Variables */

._button_k28bg_3 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	border: none;
	border-radius: 4px;
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	min-height: 40px;
	white-space: nowrap;
}

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

/* Primary Variant */
._button--primary_k28bg_28 {
	background-color: var(--color-button-primary);
	color: var(--color-header);
	border: none;
}

._button--primary_k28bg_28:hover:not(:disabled) {
	background-color: color-mix(in srgb, var(--color-button-primary) 50%, transparent);
	border: 2px solid var(--color-button-primary);
	padding: 9px 14px;
}

._button--primary_k28bg_28:disabled {
	background-color: color-mix(in srgb, var(--color-text-primary) 10%, transparent);
	color: var(--color-header);
	cursor: not-allowed;
	opacity: 0.5;
}

/* Secondary Variant */
._button--secondary_k28bg_48 {
	background-color: transparent;
	color: var(--color-header);
	border: 2px solid var(--color-header);
	padding: 5px 14px;
	min-height: 32px;
}

._button--secondary_k28bg_48:hover:not(:disabled) {
	border-color: var(--color-button-primary);
}

._button--secondary_k28bg_48:active:not(:disabled) {
	background-color: color-mix(in srgb, var(--color-header) 10%, transparent);
}

._button--secondary_k28bg_48:disabled {
	border-color: var(--color-header);
	color: var(--color-header);
	cursor: not-allowed;
	opacity: 0.5;
}

/* Label Variant (Text button with underline) */
._button--label_k28bg_72 {
	background-color: transparent;
	border: none;
	padding: 0;
	min-height: auto;
	position: relative;
	color: var(--color-header);
}

._button--label_k28bg_72::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--color-button-primary);
	transition: opacity 0.2s ease-in-out;
}

._button--label_k28bg_72:hover:not(:disabled)::after {
	opacity: 0.5;
}

._button--label_k28bg_72:hover:not(:disabled) ._button__icon_k28bg_96 {
	color: var(--color-button-primary);
}

._button--label_k28bg_72:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

._button--label_k28bg_72:disabled::after {
	background-color: var(--color-text-primary);
}

/* Input Button Variant (Search button with icon only) */
._button--input_k28bg_110 {
	min-width: 40px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background-color: var(--color-text-primary);
	color: var(--color-knockout);
	border: 2px solid var(--color-header);
	border-radius: 3px;
}

._button--input_k28bg_110:hover:not(:disabled) {
	border-color: var(--color-button-primary);
}

._button--input_k28bg_110:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Size Variants */
._button--small_k28bg_131 {
	min-height: 32px;
	padding: 5px 14px;
	font-size: 14px;
	line-height: 18px;
}

._button--small_k28bg_131._button--primary_k28bg_28:hover:not(:disabled) {
	padding: 3px 12px;
}

/* Icon Variants */
._button--icon-right_k28bg_143 {
	gap: 8px;
}

._button__text_k28bg_147 {
	display: inline-block;
}

._button__icon_k28bg_96 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Full Width */
._button--full-width_k28bg_159 {
	width: 100%;
}

/* Loading State */
._button--loading_k28bg_164 {
	position: relative;
	color: transparent;
	pointer-events: none;
}

._button--loading_k28bg_164::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid currentColor;
	border-radius: 50%;
	border-top-color: transparent;
	animation: _button-spin_k28bg_1 0.6s linear infinite;
}

@keyframes _button-spin_k28bg_1 {
	to {
		transform: rotate(360deg);
	}
}

/* Disabled State for Icon */
._button_k28bg_3:disabled ._button__icon_k28bg_96 {
	opacity: 0.5;
}
/* Unified Card Component - All Variants */

/* Base Card Styles */
.card {
  display: flex;
  cursor: pointer;
  text-align: left;
  background: transparent;
}

.card__image-wrapper {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(255 255 255 / 0);
  transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.card:hover .card__image-wrapper::after {
  background-color: rgb(255 255 255 / 0.15);
}

.card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: var(--color-bg-alt, rgb(243, 210, 193));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card__image {
  transform: scale(1.07);
}

.card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ensure buttons don't stretch to full width */
.card__content > button,
.card__content > * > button {
  align-self: flex-start;
  width: auto;
}

.card__title {
  color: var(--color-text-primary, rgb(0, 24, 88));
  margin: 0;
}

.card__category {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-button-primary, #ff9601);
  margin-bottom: 4px;
  line-height: 10px;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card__footer .card__category {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ========================================
   VERTICAL VARIANTS
   ======================================== */

/* Vertical - Large: 304×368px with 4:3 image */
.card--vertical-large {
  flex-direction: column;
  max-width: 304px;
  height: 368px;
  background-color: var(--color-knockout);
  display: flex;
  justify-self: center;
}

.card--vertical-large .card__image-wrapper {
  width: 100%;
  height: 228px;
  border-radius: 4px;
}

.card--vertical-large .card__content {
  padding: 16px;
  gap: 16px;
  flex: 1;
  display: flex;
  justify-content: space-between;
}

.card--vertical-large .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

/* Vertical - XLarge: 550×537px with 16:9 image */
.card--vertical-xlarge {
  flex-direction: column;
  width: 550px;
  height: 537px;
  background-color: var(--color-knockout);
}

.card--vertical-xlarge .card__image-wrapper {
  width: 100%;
  height: 310px;
  border-radius: 4px;
}

.card--vertical-xlarge .card__content {
  padding: 16px;
  gap: 16px;
  flex: 1;
}

.card--vertical-xlarge .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 43px;
  font-weight: 800;
  line-height: 53px;
}

/* ========================================
   HORIZONTAL VARIANTS
   ======================================== */

/* Horizontal - Tiny: 304×63px with 16:9 image */
.card--horizontal-tiny {
  flex-direction: row;
  width: 304px;
  height: 63px;
  gap: 8px;
}

.card--horizontal-tiny .card__image-wrapper {
  width: 112px;
  height: 63px;
  border-radius: 4px;
}

.card--horizontal-tiny .card__content {
  padding: 14px 0;
}

.card--horizontal-tiny .card__title {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

/* Horizontal - Small: 386×88px with 4:3 image */
.card--horizontal-small {
  flex-direction: row;
  width: 386px;
  height: 88px;
  gap: 16px;
}

.card--horizontal-small .card__image-wrapper {
  width: 118px;
  height: 88px;
  border-radius: 4px;
}

.card--horizontal-small .card__content {
  padding: 19px 0;
}

.card--horizontal-small .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

/* Horizontal - Medium: 312×112px with 1:1 image */
.card--horizontal-medium {
  flex-direction: row;
  width: 312px;
  height: 112px;
  gap: 8px;
  background-color: var(--color-knockout);
}

.card--horizontal-medium .card__image-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 4px;
  margin: 8px;
}

.card--horizontal-medium .card__content {
  padding: 19px 0;
}

.card--horizontal-medium .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

/* Horizontal - Large: 632×166px with 16:9 image */
.card--horizontal-large {
  flex-direction: row;
  height: 166px;
  gap: 24px;
  background-color: var(--color-knockout);
}

.card--horizontal-large .card__image-wrapper {
  width: 294px;
  height: 166px;
  border-radius: 4px;
}

.card--horizontal-large .card__content {
  padding: 41px 0;
  gap: 16px;
}

.card--horizontal-large .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

/* Horizontal - XLarge: 960×264px with 16:9 image */
.card--horizontal-xlarge {
  flex-direction: row;
  width: 960px;
  height: 264px;
  background: var(--color-knockout, rgb(255, 255, 254));
  border-radius: 4px;
  background-color: var(--color-knockout);
}

.card--horizontal-xlarge .card__image-wrapper {
  width: 468px;
  height: 264px;
  border-radius: 4px;
}

.card--horizontal-xlarge .card__content {
  padding: 73px 24px;
  gap: 16px;
  flex: 1;
}

.card--horizontal-xlarge .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
}

/* ========================================
   HIGHLIGHT VARIANT
   ======================================== */

/* Highlight: 304×381px with overlay body */
.card--highlight {
  flex-direction: column;
  width: 304px;
  height: 381px;
  position: relative;
}

.card--highlight .card__image-wrapper {
  width: 304px;
  height: 288px;
  border-radius: 4px;
}

.card--highlight .card__body {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  background: var(--color-knockout, rgb(255, 255, 254));
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 134px;
  box-sizing: border-box;
}

.card--highlight .card__intro {
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  color: var(--color-text-primary, rgb(0, 24, 88));
  margin: 0;
}

.card--highlight .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}
.card--highlight-xlarge {
  flex-direction: column;
  width: 468px;
  height: 537px;
  position: relative;
}

.card--highlight-xlarge .card__image-wrapper {
  width: 468px;
  height: 490px;
  border-radius: 4px;
}


.card--highlight-xlarge .card__body {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  background: var(--color-knockout, rgb(255, 255, 254));
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 134px;
  box-sizing: border-box;
} 

.card--highlight-xlarge .card__intro {
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  color: var(--color-text-primary, rgb(0, 24, 88));
  margin: 0;
}

.card--highlight-xlarge .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}   
/* ========================================
   FEATURE VARIANT
   ======================================== */

/* Feature: 294×180px with icon */
.card--feature {
  width: 294px;
  height: 180px;
  background: var(--color-knockout, rgb(255, 255, 254));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card--feature .card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  width: 262px;
}

.card--feature .card__icon {
  width: 64px;
  height: 64px;
  color: var(--color-text-primary, rgb(0, 24, 88));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card--feature .card__icon svg {
  width: 100%;
  height: 100%;
}

.card--feature .card__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.card--feature .card__description {
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  color: var(--color-text-primary, rgb(0, 24, 88));
  margin: 0;
}

/* ========================================
   CATEGORY VARIANT
   ======================================== */

/* Category: 125×138px with icon */
.card--category {
  width: 125px;
  height: 138px;
  background: var(--color-knockout, rgb(255, 255, 254));
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card--category:hover {
  transform: translateY(-4px);
}

.card--category .card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  width: 77px;
}

.card--category .card__icon {
  width: 64px;
  height: 64px;
  color: var(--color-text-primary, rgb(0, 24, 88));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card--category .card__icon svg {
  width: 100%;
  height: 100%;
}

.card--category .card__label {
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--color-text-primary, rgb(0, 24, 88));
  margin: 0;
  text-align: center;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
  /* Make all cards full width on mobile */
  .card {
    width: 100% !important;
    height: 100% !important;
  }

  /* Horizontal cards stack vertically on mobile */
  .card--horizontal-tiny,
  .card--horizontal-small,
  .card--horizontal-medium,
  .card--horizontal-large,
  .card--horizontal-xlarge {
    flex-direction: column;
  }

  /* Images adapt to mobile */
  .card__image-wrapper {
    width: 100% !important;
    height: auto !important;
  }

  .card--vertical-large .card__image-wrapper,
  .card--horizontal-small .card__image-wrapper {
    aspect-ratio: 4 / 3;
  }

  .card--vertical-xlarge .card__image-wrapper,
  .card--horizontal-tiny .card__image-wrapper,
  .card--horizontal-large .card__image-wrapper,
  .card--horizontal-xlarge .card__image-wrapper {
    aspect-ratio: 16 / 9;
  }

  .card--horizontal-medium .card__image-wrapper {
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  /* Adjust content padding on mobile */
  .card__content {
    padding: 16px !important;
  }

  /* Highlight card adjustments */
  .card--highlight .card__body {
    position: relative;
    left: 0;
    right: 0;
    margin: -40px 16px 0 16px;
    width: calc(100% - 32px);
  }

  /* Feature and category cards */
  .card--feature,
  .card--category {
    min-height: 180px;
  }

  .card--feature .card__content,
  .card--category .card__content {
    width: auto;
  }
}

.header {
  background-color: var(--color-bg, rgb(254, 246, 228));
  width: 100%;
}


.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}

/* Logo Block */
.header__logo-block {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 294px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.header__logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header__logo-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.header__logo-dot--pink {
  background-color: rgb(245, 130, 174);
  left: 0;
  top: 13px;
}

.header__logo-dot--blue {
  background-color: rgb(139, 211, 221);
  right: 0;
  top: 13px;
}

.header__logo-dot--dark {
  background-color: rgb(0, 30, 29);
  left: 13px;
  top: 0;
}

.header__logo-dot--outline {
  border: 3px solid rgb(0, 30, 29);
  left: 13px;
  bottom: 0;
  background: transparent;
}

.header__logo-text {
  font-family: 'WorkSans', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 42px;
  color: rgb(0, 30, 29);
}

.header__logo-image {
  display: block;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left;
}

/* Search Field */
.header__search {
  display: flex;
  align-items: center;
  width: 386px;
  position: relative;
}

.header__search-input {
  width: 348px;
  height: 40px;
  padding: 9px 16px;
  background-color: rgb(255, 255, 254);
  border: 2px solid var(--color-button-primary);
  border-radius: 4px 0 0 4px;
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: rgb(0, 24, 88);
  outline: none;
}

.header__search-button {
  position: absolute;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: var(--color-button-primary);
  border: 2px solid var(--color-button-primary);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.header__search-button:hover {
  filter: brightness(0.85);
}

.header__search-button svg {
  color: rgb(255, 255, 254);
}

/* Mobile Menu Button */
.header__menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu-icon {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header__menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-button-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.header__menu-icon--open span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.header__menu-icon--open span:nth-child(2) {
  opacity: 0;
}

.header__menu-icon--open span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
  .header__search {
    width: 300px;
  }

  .header__search-input {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .header__content {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0 10px;
    gap: 8px;
    align-items: center;
  }

  .header__logo-block {
    flex: 1;
    width: auto;
    order: 1;
  }

  .header__logo-text {
    font-size: 24px;
    line-height: 32px;
  }

  .header__menu-button {
    display: block;
    order: 2;
    flex-shrink: 0;
  }

  .header__search {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .header__search-input {
    width: calc(100% - 40px);
    padding: 8px 12px;
    font-size: 14px;
  }

  .header__logo-icon {
    width: 32px;
    height: 32px;
  }

  .header__logo-dot {
    width: 11px;
    height: 11px;
  }

  .header__logo-dot--pink {
    top: 10px;
  }

  .header__logo-dot--blue {
    top: 10px;
  }

  .header__logo-dot--dark {
    left: 10px;
  }

  .header__logo-dot--outline {
    left: 10px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .header__logo-text {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 360px) {
  .header__content {
    gap: 6px;
  }

  .header__logo-text {
    font-size: 18px;
  }
}
.breadcrumbs {
  width: 100%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  gap: 4px;
  white-space: nowrap;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  line-height: 18px;
}

.breadcrumbs__link {
  color: var(--color-button-primary, rgb(0, 30, 29));
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.breadcrumbs__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumbs__current {
  color: var(--color-header);
  font-weight: 500;
  white-space: nowrap;
}

.breadcrumbs__separator {
  color: var(--color-header);
  font-size: 12px;
}

@media (max-width: 768px) {
  .breadcrumbs__list {
    padding: 8px 0;
  }

  .breadcrumbs__item {
    font-size: 12px;
  }

  .breadcrumbs__current {
    max-width: 160px;
  }
}

/* Applied when the page's content theme is 'dark' (matches article-details__container--dark). */
.breadcrumbs--on-dark .breadcrumbs__link {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs--on-dark .breadcrumbs__link:hover {
  color: rgb(255, 255, 255);
}

.breadcrumbs--on-dark .breadcrumbs__current {
  color: rgb(255, 255, 255);
}

.breadcrumbs--on-dark .breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.35);
}

/* Applied when the page's content theme is 'light' (matches article-details__container--light,
   a guaranteed-white background) — pins text to dark/black regardless of --color-header. */
.breadcrumbs--on-light .breadcrumbs__link {
  color: var(--color-button-primary, rgb(0, 30, 29));
  opacity: 0.75;
}

.breadcrumbs--on-light .breadcrumbs__link:hover {
  opacity: 1;
}

.breadcrumbs--on-light .breadcrumbs__current {
  color: rgb(0, 0, 0);
}

.breadcrumbs--on-light .breadcrumbs__separator {
  color: rgba(0, 0, 0, 0.35);
}

.navigation {
  background-color: var(--color-bg, rgb(254, 246, 228));
  width: 100%;
}


.navigation__items {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  justify-content: center;
}

.navigation__item {
  padding: 7px 16px;
  background: none;
  border: 2px solid var(--color-header, rgb(254, 246, 228));
  border-radius: 4px;
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: var(--color-header, rgb(0, 24, 88));
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navigation__item:hover {
  background-color: rgb(from var(--color-header) r g b / 0.05);
  border: 2px solid rgb(from var(--color-header) r g b / 0.05);
}

.navigation__item--active {
  background-color: transparent;
  border-color: var(--color-header, rgb(254, 246, 228));
}

/* Dropdown wrapper — acts as the positioning context */
.navigation__dropdown-wrapper {
  position: relative;
}

/* Category label + chevron sit side by side in one visual pill */
.navigation__dropdown-trigger {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--color-header, rgb(254, 246, 228));
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.navigation__dropdown-trigger:hover {
  background-color: rgb(from var(--color-header) r g b / 0.05);
  border-color: rgb(from var(--color-header) r g b / 0.05);
}

.navigation__item--dropdown-label,
.navigation__item--chevron {
  border: none;
  background: none;
}

.navigation__item--dropdown-label:hover,
.navigation__item--chevron:hover {
  background: none;
  border: none;
}

.navigation__item--dropdown-label {
  border-radius: 4px 0 0 4px;
}

.navigation__item--chevron {
  padding: 7px 8px;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
}

.navigation__chevron-icon {
  transition: transform 0.2s ease;
}

.navigation__chevron-icon--open {
  transform: rotate(180deg);
}

/* Dropdown menu */
.navigation__dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  background-color: var(--color-bg, rgb(254, 246, 228));
  border: 1px solid rgb(from var(--color-header) r g b / 0.15);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  z-index: 100;
  overflow: hidden;
}

.navigation__dropdown-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-header, rgb(0, 24, 88));
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.navigation__dropdown-option:hover {
  background-color: rgb(from var(--color-header) r g b / 0.07);
}

/* ── Mobile drawer ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .navigation--mobile-open {
    display: block;
    position: fixed;
    top: var(--oos-header-height, 96px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: var(--color-bg, rgb(254, 246, 228));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-top: 0;
  }

  .navigation--mobile-open .navigation__container {
    padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
    padding-inline: var(--oos-container-gutter, 16px);
  }

  .navigation__mobile-list,
  .navigation__drilldown-list {
    display: flex;
    flex-direction: column;
  }

  .navigation__mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 16px 4px;
    margin: 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgb(from var(--color-header) r g b / 0.12);
    font-family: 'WorkSans', sans-serif;
    color: var(--color-header, rgb(0, 24, 88));
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .navigation__mobile-row:active {
    background-color: rgb(from var(--color-header) r g b / 0.06);
  }

  .navigation__mobile-row-label {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
  }

  .navigation__mobile-row--emphasis .navigation__mobile-row-label {
    font-weight: 800;
  }

  .navigation__mobile-row-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: rgb(from var(--color-header) r g b / 0.55);
  }

  .navigation__mobile-row-count {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(from var(--color-header) r g b / 0.08);
    color: var(--color-header, rgb(0, 24, 88));
  }

  /* Drill-down panel */
  .navigation__drilldown {
    animation: oos-nav-drill-in 0.2s ease-out;
  }

  @keyframes oos-nav-drill-in {
    from {
      opacity: 0;
      transform: translateX(16px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .navigation__drilldown-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 4px 8px;
    border-bottom: 1px solid rgb(from var(--color-header) r g b / 0.12);
  }

  .navigation__drilldown-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 8px 4px;
    margin: 0;
    background: none;
    border: none;
    font-family: 'WorkSans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-header, rgb(0, 24, 88));
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .navigation__drilldown-title {
    margin: 0;
    padding: 0 0 8px;
    font-family: 'WorkSans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-header, rgb(0, 24, 88));
  }
}

.footer {
  background-color: var(--color-bg-alt);
  width: 100%;
  margin-top: auto;
}


.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 24px;
}

.footer__aside {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-button-secondary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  color: var(--color-header);
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__social-icon--image {
  object-fit: contain;
}

.footer__disclaimer {
  font-family: var(--footer-font-family, 'WorkSans', sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  opacity: 0.7;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 4px;
}

.footer__copyright {
  font-family: var(--footer-font-family, 'WorkSans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: var(--color-text-primary);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__link {
  font-family: var(--footer-font-family, 'WorkSans', sans-serif);
  font-size: 13px;
  font-weight: var(--footer-link-weight, 600);
  line-height: 18px;
  color: var(--footer-link-color, var(--color-button-secondary));
  text-decoration: none;
  text-align: right;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 0.7;
}

/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
  .footer__links {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
    align-items: flex-start;
  }

  .footer__aside {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer__link {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer__content {
    padding: 12px 0;
  }

  .footer__copyright {
    font-size: 12px;
  }

  .footer__link {
    font-size: 12px;
  }
}
/* SearchResult Component Styles - Using Design Token Variables */

._searchResult_9hloq_3 {
  background: var(--color-knockout);
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

._searchResult_9hloq_3:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--color-button-primary);
}

._title_9hloq_17 {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-header);
  margin: 0 0 4px 0;
  cursor: pointer;
}

._title_9hloq_17:hover {
  text-decoration: underline;
  color: var(--color-button-primary);
}

._url_9hloq_32 {
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  word-break: break-all;
}

._url_9hloq_32:hover {
  text-decoration: underline;
}

._description_9hloq_47 {
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0;
}
/* Pagination Component Styles */
.pagination {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px 0;
}

.pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.pagination__control {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-knockout);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination__control:hover:not(:disabled) {
  color: var(--color-button-secondary);
  background-color: var(--color-knockout);
}

.pagination__control:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pagination__control svg {
  color: var(--color-button-secondary);
}

.pagination__chip {
  flex-shrink: 0;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-knockout);
  color: var(--color-button-secondary);
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination__chip:hover {
  background: var(--color-button-secondary, #007bff);
  color: var(--color-knockout, #007bff);
}

.pagination__chip--active {
  background: var(--color-button-secondary, #007bff);
  color: var(--color-knockout, #007bff);
}

.pagination__chip--active:hover {
  background: var(--color-bg-alt, #0056b3);
}

.pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 20px;
  height: 40px;
  color: var(--color-button-secondary);
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}

@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-inline: 8px;
  }

  .pagination__pages {
    flex: 1 1 100%;
    order: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    column-gap: 6px;
  }

  .pagination__control--prev {
    order: 2;
  }

  .pagination__control--next {
    order: 3;
  }

  .pagination__control,
  .pagination__chip {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

  .pagination__control {
    width: 36px;
  }

  .pagination__control svg {
    width: 20px;
    height: 20px;
  }

  .pagination__ellipsis {
    min-width: 14px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pagination {
    gap: 10px;
  }

  .pagination__pages {
    row-gap: 6px;
    column-gap: 4px;
  }

  .pagination__control,
  .pagination__chip {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 12px;
  }

  .pagination__control {
    width: 32px;
  }

  .pagination__control svg {
    width: 18px;
    height: 18px;
  }

  .pagination__ellipsis {
    min-width: 12px;
    height: 32px;
    font-size: 12px;
  }
}

/* Link pager items (getPageHref): laid out like the buttons. */
a.pagination__chip,
span.pagination__chip,
a.pagination__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}
.editor-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
  margin-bottom: 24px;
}

.editor-info__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.editor-info__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-info__details {
  flex: 1;
  min-width: 0;
}

.editor-info__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.editor-info__name {
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary, #001858);
}

.editor-info__separator {
  color: #999;
  font-size: 12px;
}

.editor-info__date {
  font-size: var(--font-size-sm, 14px);
  color: var(--color-text-primary, #666);
}

.editor-info__bio {
  font-size: var(--font-size-sm, 14px);
  line-height: 1.6;
  color: var(--color-text-primary, #444);
  margin: 0;
}

@media (max-width: 480px) {
  .editor-info {
    gap: 12px;
    padding: 12px 0;
  }

  .editor-info__avatar {
    width: 40px;
    height: 40px;
  }

  .editor-info__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .editor-info__separator {
    display: none;
  }

  .editor-info__bio {
    font-size: 13px;
  }
}
.eurekster {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}
.keyword-ad {
  background: linear-gradient(180deg, rgb(81, 97, 129) 0%, rgb(20, 25, 34) 100%);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  min-height: 250px;
}

.keyword-ad__title {
  font-family: 'Roboto', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 31px;
  color: rgb(255, 255, 255);
  margin: 0 0 16px 0;
}

.keyword-ad__description {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(255, 255, 255);
  margin: 0;
}

.keyword-ad__graphic {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  color: rgb(255, 255, 255);
}
.brandweaver {
  margin: 24px 0;
}

.brandweaver__container {
  background-color: rgba(245, 130, 174, 0.05);
  border: 2px solid rgba(245, 130, 174, 0.5);
  border-radius: 4px;
  padding: 16px;
}

.brandweaver__title {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: rgb(0, 24, 88);
  margin: 0 0 16px 0;
}

.brandweaver__content {
  margin-bottom: 16px;
}

.brandweaver__content p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: rgb(0, 24, 88);
  margin: 0;
}

.brandweaver__highlight {
  font-weight: 700;
  font-style: italic;
  border-bottom: 4px solid rgb(0, 24, 88);
  padding-bottom: 2px;
}

.brandweaver__attribution {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  color: rgb(0, 24, 88);
}
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
.hero {
  width: 100%;
}

.hero__container {
  align-items: flex-start;
  display: flex;
}

.hero--single-xlarge .hero__container, .hero--single-full .hero__container {
  justify-content: center;
}

.hero--cluster-left .hero__container {
  align-items: flex-start;
  gap: 24px;
}

.hero--cluster-left .hero__main {
  flex: 0 0 55%;
  min-width: 0;
}

.hero--cluster-left .hero__secondary {
  flex-direction: column;
  flex: 1;
  gap: 24px;
  min-width: 0;
  display: flex;
}

.hero--cluster-right .hero__container {
  align-items: flex-start;
  gap: 24px;
}

.hero--cluster-right .hero__main {
  flex: 0 0 55%;
  min-width: 0;
}

.hero--cluster-right .hero__secondary {
  flex-direction: column;
  flex: 1;
  gap: 24px;
  min-width: 0;
  display: flex;
}

.hero--cluster-center .hero__container {
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero--cluster-center .hero__main {
  flex: 0 0 50%;
  order: 2;
  min-width: 0;
}

.hero--cluster-center .hero__secondary {
  gap: calc(var(--spacing, .25rem) * 6);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.hero--cluster-left .hero__main .card, .hero--cluster-right .hero__main .card, .hero--cluster-center .hero__main .card {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero--cluster-left .hero__main .card .card__image, .hero--cluster-right .hero__main .card .card__image, .hero--cluster-center .hero__main .card .card__image {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.hero--cluster-left .hero__secondary .card, .hero--cluster-right .hero__secondary .card, .hero--cluster-center .hero__secondary .card {
  width: 100%;
  height: auto;
}

.hero--cluster-left .hero__secondary .card .card__image-wrapper, .hero--cluster-right .hero__secondary .card .card__image-wrapper, .hero--cluster-center .hero__secondary .card .card__image-wrapper {
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  width: 118px;
  height: 88px;
}

.hero--cluster-left .hero__secondary .card .card__image, .hero--cluster-right .hero__secondary .card .card__image, .hero--cluster-center .hero__secondary .card .card__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero--split-50-50 .hero__container {
  gap: 24px;
}

.hero--split-50-50 .hero__split-left, .hero--split-50-50 .hero__split-right {
  flex: 1;
}

.hero--split-60-40 .hero__container {
  gap: 24px;
}

.hero--split-60-40 .hero__split-left {
  flex: 1.5;
}

.hero--split-60-40 .hero__split-right {
  flex: 1;
}

.hero--triple .hero__container {
  justify-content: space-between;
  gap: 24px;
}

.hero--triple .hero__triple-item {
  flex: 1;
  max-width: 360px;
}

.hero__three-column-container {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  margin: auto;
  display: flex;
}

.hero--three-column .hero__container {
  align-items: flex-start;
  gap: 24px;
}

.hero--three-column .hero__three-column-main {
  flex: none;
}

.hero--three-column .hero__three-column-secondary {
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.hero--three-column .hero__three-column-custom {
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: 280px;
  display: flex;
}

.hero--three-column .hero__three-column-custom-item {
  width: 100%;
}

@media (max-width: 1024px) {
  .hero--cluster-left .hero__container, .hero--cluster-right .hero__container, .hero--cluster-center .hero__container, .hero--three-column .hero__container {
    flex-direction: column;
    align-items: center;
  }

  .hero--cluster-left .hero__secondary, .hero--cluster-right .hero__secondary, .hero--cluster-center .hero__secondary, .hero--three-column .hero__three-column-secondary, .hero--three-column .hero__three-column-custom {
    width: 100%;
    max-width: 550px;
  }

  .hero--split-50-50 .hero__container, .hero--split-60-40 .hero__container {
    flex-direction: column;
    align-items: center;
  }

  .hero--split-50-50 .hero__split-left, .hero--split-50-50 .hero__split-right, .hero--split-60-40 .hero__split-left, .hero--split-60-40 .hero__split-right {
    width: 100%;
    max-width: 550px;
  }

  .hero--triple .hero__container {
    flex-direction: column;
    align-items: center;
  }

  .hero--triple .hero__triple-item {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 0;
  }

  .hero__secondary {
    gap: 16px !important;
  }

  .hero--cluster-left .hero__container, .hero--cluster-right .hero__container, .hero--cluster-center .hero__container, .hero--split-50-50 .hero__container, .hero--split-60-40 .hero__container, .hero--triple .hero__container, .hero--three-column .hero__container {
    gap: 16px;
  }

  .hero--cluster-left .hero__secondary .card .card__image-wrapper, .hero--cluster-right .hero__secondary .card .card__image-wrapper, .hero--cluster-center .hero__secondary .card .card__image-wrapper {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
  }

  .hero--cluster-left .hero__secondary .card .card__image, .hero--cluster-right .hero__secondary .card .card__image, .hero--cluster-center .hero__secondary .card .card__image {
    width: 100%;
    height: 100%;
  }

  .hero--cluster-left .hero__main .card .card__image-wrapper, .hero--cluster-right .hero__main .card .card__image-wrapper, .hero--cluster-center .hero__main .card .card__image-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
  }

  .hero--cluster-left .hero__main .card .card__image, .hero--cluster-right .hero__main .card .card__image, .hero--cluster-center .hero__main .card .card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 16px 0;
  }
}

.hero--loading .hero__container, .hero--error .hero__container {
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero__loading {
  text-align: center;
  color: var(--color-text-secondary, #666);
  font-size: var(--font-size-lg, 1.25rem);
  padding: 3rem;
}

.hero--error .hero__container {
  padding: 2rem;
}

.hero__third-column-newsletter, .hero__third-column-adunit {
  background-color: var(--color-knockout, #f0f0f0);
  border: 1px solid var(--color-header, #000);
  color: var(--color-text-primary, #000);
  border-radius: .5rem;
  padding: 1rem;
  font-size: 10px;
}

.hero--custom-3col .hero__container {
  padding: 0;
}

.hero__custom-3col-container {
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  display: flex;
}

.hero__custom-3col-left {
  flex: 0 0 320px;
  min-width: 0;
}

.hero__custom-3col-middle {
  flex-direction: column;
  flex: 1 1 0;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.hero__custom-3col-middle .card {
  width: 100%;
}

.hero__custom-3col-right {
  flex-direction: column;
  flex: 0 0 260px;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.hero__third-column-newsletter, .hero__third-column-eurekster {
  background-color: var(--color-bg-alt, #f0f0f0);
  border: 1px solid var(--color-header, #000);
  color: var(--color-text-primary, #000);
  text-align: center;
  border-radius: .5rem;
  padding: 1rem;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .hero__custom-3col-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero__custom-3col-left, .hero__custom-3col-middle, .hero__custom-3col-right {
    flex: 100%;
    min-width: 0;
  }
}
/* CardGrid Component Styles */
.card-grid {
  width: 100%;
}

.card-grid__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
}

.card-grid__item {
  grid-column: span 3;
}

/* Column span utilities */
.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-6 {
  grid-column: span 6;
}

.col-span-12 {
  grid-column: span 12;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .card-grid__item.col-span-3,
  .card-grid__item.col-span-4 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .card-grid__container {
    gap: 16px;
  }

  .card-grid__item {
    grid-column: span 12 !important;
  }
}
/* Section Title Component Styles - Using Design Token Variables */

._sectionTitle_1c2gq_3 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

._sectionTitle--large_1c2gq_10 {
	gap: 16px;
}

._sectionTitle--small_1c2gq_14 {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

/* Alignment variants */
._sectionTitle--left_1c2gq_21 {
	align-items: flex-start;
	text-align: left;
}

._sectionTitle--center_1c2gq_26 {
	align-items: center;
	text-align: center;
}

._sectionTitle--right_1c2gq_31 {
	align-items: flex-end;
	text-align: right;
}

/* Decorator rectangle (40×8px positioned above/below title) */
._sectionTitleDecorator_1c2gq_37 {
	width: 40px;
	height: 8px;
	background-color: var(--color-bg-alt);
	border-radius: 0;
	flex-shrink: 0;
}

/* DEPRECATED: Kept for backwards compatibility */
._sectionTitleAccent_1c2gq_46 {
	width: 40px;
	height: 8px;
	background-color: var(--color-bg-alt);
	border-radius: 0;
}

._sectionTitle--large_1c2gq_10 ._sectionTitleText_1c2gq_53 {
	font-family: var(--font-family-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 42px;
	text-align: center;
	color: var(--color-text-primary);
	margin: 0;
}

._sectionTitle--small_1c2gq_14 ._sectionTitleText_1c2gq_53 {
	font-family: var(--font-family-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	color: var(--color-header);
	margin: 0;
}

._sectionTitleAction_1c2gq_72 {
	display: flex;
	align-items: center;
}

._actionButton_1c2gq_77 {
	background: none;
	border: none;
	color: var(--color-header);
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	transition: opacity 0.2s ease;
}

._actionButton_1c2gq_77:hover {
	opacity: 0.8;
	color: var(--color-button-primary);
}
/* ========================================
   CategorySection Organism Component
   ======================================== */

.category-section {
  width: 100%;
  background-color: var(--color-bg, rgb(248, 245, 242));
}


/* Header with Title and View All */
.category-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg, 2rem);
  gap: var(--spacing-md, 1.5rem);
}

.category-section__title {
  font-size: var(--font-size-2xl, 2rem);
  font-weight: 700;
  font-family: var(--font-family-heading, 'Nexa', sans-serif);
  color: var(--color-header, rgb(35, 35, 35));
  margin: 0;
  line-height: 1.2;
}

.category-section__view-all {
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  font-family: var(--font-family-secondary, 'Nexa', sans-serif);
  color: var(--color-button-primary, rgb(7, 128, 128));
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs, 0.5rem) var(--spacing-sm, 1rem);
  border-radius: var(--border-radius-sm, 0.25rem);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.category-section__view-all:hover {
  background-color: var(--color-bg-alt, rgb(217, 220, 229));
  transform: translateX(4px);
}

.category-section__view-all:focus {
  outline: 2px solid var(--color-button-primary, rgb(7, 128, 128));
  outline-offset: 2px;
}

/* Card Grid */
.category-section__grid {
  display: grid;
  gap: var(--spacing-lg, 2rem);
  margin-bottom: var(--spacing-lg, 2rem);
}

/* 2 Columns Grid */
.category-section__grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3 Columns Grid */
.category-section__grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 Columns Grid */
.category-section__grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.category-section__card {
  width: 100%;
  height: 100%;
}

/* Pagination */
.category-section__pagination {
  display: flex;
  justify-content: center;
}

/* Bottom View All Button */
.category-section__view-all-bottom {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl, 3rem);
}

/* Loading State */
.category-section--loading .category-section__container {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-section__loading {
  padding: var(--spacing-xl, 3rem);
  text-align: center;
  font-family: var(--font-family-secondary, 'Nexa', sans-serif);
  color: var(--color-text-primary, rgb(48, 52, 52));
  font-size: var(--font-size-lg, 1.25rem);
}

/* Error State */
.category-section--error .category-section__container {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Empty State */
.category-section--empty .category-section__container {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .category-section {
    padding: var(--spacing-lg, 2rem) 0;
  }

  .category-section__title {
    font-size: var(--font-size-xl, 1.5rem);
  }

  /* Force 2 columns on tablet for 3 and 4 column grids */
  .category-section__grid--cols-3,
  .category-section__grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-section__grid {
    gap: var(--spacing-md, 1.5rem);
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .category-section {
    padding: var(--spacing-md, 1.5rem) 0;
  }

  .category-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm, 1rem);
    margin-bottom: var(--spacing-md, 1.5rem);
  }

  .category-section__title {
    font-size: var(--font-size-lg, 1.25rem);
  }

  .category-section__view-all {
    align-self: flex-end;
    font-size: var(--font-size-sm, 0.875rem);
  }

  /* Force 1 column on mobile for all grids */
  .category-section__grid--cols-2,
  .category-section__grid--cols-3,
  .category-section__grid--cols-4 {
    grid-template-columns: 1fr;
  }

  .category-section__grid {
    gap: var(--spacing-md, 1.5rem);
  }

  .category-section__pagination {
    margin-top: var(--spacing-lg, 2rem);
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
  .category-section__header {
    flex-direction: row;
    justify-content: space-between;
  }

  .category-section__title {
    font-size: var(--font-size-base, 1rem);
  }

  .category-section__view-all {
    align-self: center;
    font-size: var(--font-size-xs, 0.75rem);
    padding: var(--spacing-xs, 0.5rem);
  }
}
/* ========================================
   Carousel Organism Component
   ======================================== */

.carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

/* Semi-transparent dark overlay — add class="carousel--overlay" via backgroundClass
   to improve text/card readability on top of a background image */
.carousel--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 0;
}

.carousel--overlay .carousel__container,
.carousel--overlay .carousel__dots {
  position: relative;
  z-index: 1;
}

.carousel--title-only {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-sm, 1rem) 0 var(--spacing-sm, 1rem);
  box-sizing: border-box;
}

.carousel--title-only .carousel__text-slide {
  background-color: transparent;
  border-radius: 0;
  min-height: auto;
  padding: var(--spacing-md, 1.5rem) var(--spacing-lg, 2rem);
  align-items: center;
  text-align: center;
  cursor: pointer;
  min-height: 200px;
}

.carousel--title-only .carousel__text-slide-title {
  font-size: var(--font-size-2xl, 2rem);
  margin: 0;
}

.carousel--title-only.carousel--overlay .carousel__text-slide-title {
  color: var(--color-knockout, #fff);
}

.carousel--title-only .carousel__arrow {
  border-color: var(--color-knockout, #fff);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-knockout, #fff);
}

.carousel--title-only .carousel__arrow:hover:not(:disabled) {
  background-color: var(--color-knockout, #fff);
  color: var(--color-header, rgb(0, 24, 88));
}

.carousel--title-only .carousel__dot {
  background-color: rgba(255, 255, 255, 0.45);
}

.carousel--title-only .carousel__dot--active {
  background-color: var(--color-knockout, #fff);
}

.carousel__container {
  position: relative;
  min-width: 0;
}

/* ----------------------------------------
   Viewport & Track
   ---------------------------------------- */

.carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  touch-action: pan-y pinch-zoom;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: max-content;
}

.carousel__slide {
  flex-shrink: 0;
  min-width: 0;
  box-sizing: border-box;
}

.carousel__slide > * {
  max-width: 100%;
  min-width: 0;
}

/* ----------------------------------------
   Arrows
   ---------------------------------------- */

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* border: 2px solid var(--color-header, rgb(0, 24, 88)); */
  background-color: var(--color-knockout, rgb(255, 255, 254));
  color: var(--color-header, rgb(0, 24, 88));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel__arrow:hover:not(:disabled) {
  background-color: var(--color-header, rgb(0, 24, 88));
  color: var(--color-knockout, rgb(255, 255, 254));
}

.carousel__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel__arrow--prev {
  left: -22px;
}

.carousel__arrow--next {
  right: -22px;
}

/* ----------------------------------------
   Dots
   ---------------------------------------- */

.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--spacing-md, 1.5rem);
  height: 14px;

}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-bg-alt, rgb(243, 210, 193));
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel__dot:hover {
  background-color: var(--color-header, rgb(0, 24, 88));
}

.carousel__dot--active {
  background-color: var(--color-button-secondary, rgb(139, 211, 221));
  transform: scale(1.3);
}

/* ----------------------------------------
   Text Slide
   ---------------------------------------- */

.carousel__text-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 240px;
  padding: var(--spacing-lg, 2rem);
  background-color: var(--color-knockout, #fff);
  border-radius: var(--border-radius-lg, 0.5rem);
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.carousel__text-slide-eyebrow {
  display: block;
  font-family: var(--font-family-primary, sans-serif);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-button-primary, rgb(245, 130, 174));
  margin-bottom: 0.5rem;
}

.carousel__text-slide-title {
  font-family: var(--font-family-heading, sans-serif);
  font-size: var(--font-size-xl, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-header, rgb(0, 24, 88));
  margin: 0 0 var(--spacing-sm, 1rem) 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.carousel__text-slide-description {
  font-family: var(--font-family-primary, sans-serif);
  font-size: var(--font-size-base, 1rem);
  line-height: 1.6;
  color: var(--color-text-primary, rgb(23, 44, 102));
  margin: 0 0 var(--spacing-md, 1.5rem) 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.carousel__text-slide-btn {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-header, rgb(0, 24, 88));
  border-radius: var(--border-radius-sm, 0.25rem);
  background: transparent;
  font-family: var(--font-family-primary, sans-serif);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 700;
  color: var(--color-header, rgb(0, 24, 88));
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel__text-slide-btn:hover {
  background-color: var(--color-header, rgb(0, 24, 88));
  color: var(--color-knockout, #fff);
}

/* ----------------------------------------
   Loading / Error states
   ---------------------------------------- */

.carousel--loading .carousel__container,
.carousel--error .carousel__container {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__loading {
  text-align: center;
  color: var(--color-text-primary, rgb(48, 52, 52));
  font-family: var(--font-family-primary, sans-serif);
  font-size: var(--font-size-lg, 1.25rem);
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */

@media (max-width: 1280px) {
  .carousel__arrow--prev {
    left: 4px;
  }
  .carousel__arrow--next {
    right: 4px;
  }
}

@media (max-width: 768px) {
  .carousel {
    padding: var(--spacing-lg, 2rem) 0;
  }

  .carousel--title-only {
    min-height: 220px;
    padding: var(--spacing-lg, 2rem) 0;
  }

  .carousel--title-only .carousel__text-slide-title {
    font-size: var(--font-size-xl, 1.5rem);
  }

  .carousel__viewport {
    padding-inline: 2.75rem;
    box-sizing: border-box;
  }

  .carousel__arrow {
    width: 36px;
    height: 36px;
  }

  .carousel__text-slide {
    min-height: auto;
    padding: var(--spacing-md, 1.5rem);
  }

  .carousel__text-slide-title {
    font-size: var(--font-size-lg, 1.25rem);
  }
}

@media (max-width: 480px) {
  .carousel {
    padding: var(--spacing-md, 1.5rem) 0;
  }

  .carousel__arrow--prev {
    left: 0;
  }
  .carousel__arrow--next {
    right: 0;
  }
}
.quicklaunch {
  background-color: rgb(255, 255, 254);
  border: 2px solid rgb(0, 24, 88);
  border-radius: 4px;
  padding: 8px;
}

.quicklaunch__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.quicklaunch__title {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: rgb(0, 24, 88);
}

.quicklaunch__powered-by {
  font-family: 'Nexa', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgb(0, 0, 0);
  text-align: right;
}

.quicklaunch__powered-by strong {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
}

.quicklaunch__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quicklaunch__item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quicklaunch__item-image {
  width: 112px;
  height: 63px;
  background-color: rgb(243, 210, 193);
  border-radius: 4px;
  flex-shrink: 0;
}

.quicklaunch__item-title {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: rgb(0, 24, 88);
  margin: 0;
  flex: 1;
}
.recent-articles__title {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: inherit;
  margin: 0 0 16px 0;
}

.recent-articles__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-articles__item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.recent-articles__item-image-wrapper {
  width: 112px;
  height: 63px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: rgb(243, 210, 193);
  position: relative;
}

.recent-articles__item-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(255 255 255 / 0);
  transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.recent-articles__item:hover .recent-articles__item-image-wrapper::after {
  background-color: rgb(255 255 255 / 0.15);
}

.recent-articles__item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recent-articles__item:hover .recent-articles__item-image {
  transform: scale(1.07);
}

.recent-articles__item-title {
  font-family: 'WorkSans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: inherit;
  margin: 0;
  flex: 1;
}
.shopping-ad {
  margin: 24px -92px;
  padding: 8px;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(204, 204, 204);
  border-radius: 10px;
  display: flex;
  gap: 8px;
}

.shopping-ad__gallery {
  width: 376px;
  height: 202px;
  background-color: #f5f5f5;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.shopping-ad__tile {
  position: absolute;
  width: 89px;
  height: 89px;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.15));
}

.shopping-ad__tile:nth-child(1) { left: 28px;  top: 19px; }
.shopping-ad__tile:nth-child(2) { left: 100px; top: 59px; }
.shopping-ad__tile:nth-child(3) { left: 181px; top: 37px; }
.shopping-ad__tile:nth-child(4) { left: 245px; top: 73px; }

.shopping-ad__tile-inner {
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  border-radius: 6px;
  padding: 2px;
}

.shopping-ad__tile-image {
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  border-radius: 6px;
}

.shopping-ad__products {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shopping-ad__product-card {
  display: flex;
  gap: 8px;
  background-color: rgb(234, 234, 234);
  border-radius: 8px;
  padding: 4px;
  height: 97px;
}

.shopping-ad__product-tile {
  width: 89px;
  height: 89px;
  background-color: rgb(255, 255, 255);
  border-radius: 6px;
  padding: 2px;
}

.shopping-ad__product-img {
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  border-radius: 6px;
}

.shopping-ad__product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.shopping-ad__product-name {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: rgb(0, 0, 0);
  margin: 0 0 8px 0;
}

.shopping-ad__shop-info {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.shopping-ad__favicon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
}

.shopping-ad__shop-name {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  color: rgb(0, 0, 0);
}

.shopping-ad__product-price {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  color: rgb(0, 0, 0);
  margin-top: auto;
}

.shopping-ad__footer {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 332px 0 0;
}

.shopping-ad__sponsor {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  color: rgb(0, 0, 0);
}

.shopping-ad__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shopping-ad__page-count {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  color: rgb(0, 0, 0);
}

.shopping-ad__nav-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.shopping-ad__nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .shopping-ad {
    margin: 24px 0;
    flex-direction: column;
  }

  .shopping-ad__gallery {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .shopping-ad__products {
    gap: 8px;
  }

  .shopping-ad__product-card {
    flex-direction: column;
    height: auto;
  }
}
/* PageLayout Template Styles */
.page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.page-layout__content {
  flex: 1;
  width: 100%;
}

.page-layout__chrome,
.page-layout__sticky-chrome {
  position: relative;
  z-index: 1010;
  width: 100%;
  background-color: var(--color-bg, rgb(254, 246, 228));
}

.page-layout__sticky-chrome {
  position: sticky;
  top: 0;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
}

/* Page Intro Component Styles - Using Design Token Variables */

._pageIntro_k84zb_3 {
	max-width: 880px;
	margin: 0 auto;
	padding: 40px 16px 24px;
	text-align: center;
}

._pageIntroHeading_k84zb_10 {
	font-family: var(--font-family-heading);
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
	color: var(--color-text-primary);
	margin: 0;
}

@media (max-width: 480px) {
	._pageIntro_k84zb_3 {
		padding: 24px 16px 16px;
	}

	._pageIntroHeading_k84zb_10 {
		font-size: 26px;
		line-height: 34px;
	}
}

.search-results {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
}

.search-results__main {
  flex: 1;
  width: 100%;
}

.search-results__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: start;
  padding-block: 24px;
}

.search-results__container--with-rail {
  width: 100%;
  color: var(--color-text-primary);
}

.search-results__content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* Results List */
.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.search-results__title {
  grid-column: 1 / -1;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 24px 0;
}

/* Search Bar */
.search-results__search-bar {
  width: 100%;
  margin-bottom: 24px;
}

.search-results__search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 600px;
}

.search-results__search-input {
  flex: 1;
  height: 48px;
  padding: 12px 16px;
  background-color: rgb(255, 255, 254);
  border: 2px solid rgb(0, 24, 88);
  border-radius: 8px;
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(0, 18, 67);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-results__search-input:focus {
  border-color: rgb(139, 211, 221);
  box-shadow: 0 0 0 3px rgba(139, 211, 221, 0.2);
}

.search-results__search-input::placeholder {
  color: rgba(0, 18, 67, 0.5);
}

.search-results__search-button {
  height: 48px;
  padding: 12px 24px;
  background-color: rgb(0, 24, 88);
  border: none;
  border-radius: 8px;
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: rgb(255, 255, 254);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.search-results__search-button:hover {
  background-color: rgb(0, 18, 67);
  transform: translateY(-1px);
}

.search-results__search-button:active {
  transform: translateY(0);
}

.search-results__search-clear {
  height: 48px;
  padding: 12px 20px;
  background-color: transparent;
  border: 2px solid rgb(0, 24, 88);
  border-radius: 8px;
  font-family: 'WorkSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: rgb(0, 24, 88);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.search-results__search-clear:hover {
  background-color: rgb(0, 24, 88);
  color: rgb(255, 255, 254);
}

/* Pagination Info */
.search-results__pagination-info {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(139, 211, 221, 0.1);
  border-left: 4px solid rgb(139, 211, 221);
  border-radius: 4px;
  font-family: 'WorkSans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgb(0, 18, 67);
  margin-bottom: 16px;
}

/* Loading State */
.search-results__loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  font-size: 18px;
  color: #666;
}

/* Error State */
.search-results__error {
  grid-column: 1 / -1;
  padding: 24px;
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  text-align: center;
}

.search-results__error p {
  margin: 0 0 16px 0;
  color: #c00;
  font-weight: 600;
}

.search-results__retry {
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #c00;
  border-radius: 4px;
  color: #c00;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.search-results__retry:hover {
  background-color: #c00;
  color: #fff;
}

/* Empty State */
.search-results__empty {
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
  font-size: 18px;
  color: #999;
}

/* Pagination */
.search-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
}

.search-pagination__control {
  width: 40px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 254);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: rgb(0, 18, 67);
}

.search-pagination__control:hover:not(:disabled) {
  background-color: rgba(0, 24, 88, 0.05);
}

.search-pagination__control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-pagination__chip {
  width: 40px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 254);
  border: none;
  border-radius: 4px;
  font-family: 'WorkSans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
  color: rgb(0, 24, 88);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-pagination__chip:hover {
  background-color: rgba(0, 24, 88, 0.05);
}

.search-pagination__chip--active {
  background-color: rgb(139, 211, 221);
}

/* Sidebar */
.search-results__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Eurekster Widget */
.search-results__widget {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 8px;
}

.search-results__widget-search {
  margin-bottom: 8px;
}

.search-results__widget-input {
  width: 100%;
  height: 40px;
  padding: 12px 44px 12px 12px;
  background-color: rgb(245, 244, 255);
  border: 2px solid rgb(28, 15, 129);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.75);
  outline: none;
}

.search-results__widget-title {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
}

.search-results__widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-results__widget-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.8);
  padding: 6px 0;
}

.search-results__widget-list li::before {
  content: '';
  width: 32px;
  height: 32px;
  background-color: rgb(28, 15, 129);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Keyword Ad */
.search-results__ad {
  background: linear-gradient(180deg, rgb(81, 97, 129) 0%, rgb(20, 25, 34) 100%);
  border-radius: 8px;
  padding: 16px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search-results__ad-title {
  font-family: 'Roboto', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 31px;
  color: rgb(255, 255, 255);
  margin: 0 0 16px 0;
}

.search-results__ad-text {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(255, 255, 255);
  margin: 0;
}

/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
  .search-results__container {
    grid-template-columns: 1fr;
  }

  .search-results__sidebar {
    order: -1;
    flex-direction: row;
    gap: 16px;
  }

  .search-results__widget,
  .search-results__ad {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .search-results__sidebar {
    flex-direction: column;
  }

  .search-pagination {
    gap: 4px;
    flex-wrap: wrap;
  }

  .search-pagination__control,
  .search-pagination__chip {
    width: 36px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .search-results__list {
    gap: 16px;
  }

  .search-pagination {
    margin-top: 32px;
    gap: 2px;
  }

  .search-pagination__control,
  .search-pagination__chip {
    width: 32px;
    height: 40px;
    font-size: 16px;
  }

  .search-results__ad {
    min-height: 200px;
    padding: 12px;
  }

  .search-results__ad-title {
    font-size: 18px;
    line-height: 24px;
  }

  .search-results__ad-text {
    font-size: 14px;
    line-height: 20px;
  }

  /* Search Bar - Mobile */
  .search-results__search-form {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }

  .search-results__search-input,
  .search-results__search-button,
  .search-results__search-clear {
    width: 100%;
    height: 44px;
  }

  .search-results__search-button,
  .search-results__search-clear {
    font-size: 14px;
  }

  .search-results__pagination-info {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (max-width: 360px) {
  .search-pagination__control,
  .search-pagination__chip {
    width: 28px;
    height: 36px;
    font-size: 14px;
  }

  /* Search Bar - Extra Small Mobile */
  .search-results__search-input,
  .search-results__search-button,
  .search-results__search-clear {
    height: 40px;
    font-size: 14px;
  }

  .search-results__pagination-info {
    font-size: 12px;
    padding: 8px 10px;
  }
}
/* Article Details Layout */
.article-details {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.article-details__container {
  flex: 1;
  padding-block: 24px;
  a {
    color: #0c00ff;
  }
}

.article-details__container--light {
  color: #000000;
  background-color: #ffffff;
  .editor-info__name, 
  .editor-info__date {
    color: #000000;
  }
}

.article-details__container--dark {
  color: #ffffff;
  background-color: #000000;
}

.article-details__container--custom {
  color: var(--color-header);
  background-color: var(--color-bg, rgb(254, 246, 228));
}

.article-details__content {
  width: 100%;
}

/* Article Title */
.article__title {
  font-family: var(--font-family-heading);
  font-size: 43px;
  font-weight: 800;
  line-height: 53px;
  margin: 0 0 16px 0;
}

/* Hero Image */
.article__hero {
  width: 100%;
  margin-bottom: 24px;
}

.article__hero-image {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  background-color: var(--color-bg-alt, rgb(243, 210, 193));
}

/* ─── Article rich-text content (dynamic HTML from API) ─────────────────── */
.article__content h1,
.article__content h2,
.article__content h3,
.article__content h4,
.article__content h5,
.article__content h6 {
  font-family: 'Outfit-Thin_', sans-serif;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}

.article__content h1 { font-size: 2rem; }
.article__content h2 { font-size: 1.75rem; }
.article__content h3 { font-size: 1.375rem; }
.article__content h4 { font-size: 1.125rem; }
.article__content h5 { font-size: 1rem; }
.article__content h6 { font-size: 0.875rem; }

.article__content p {
  font-family: 'WorkSans', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 2rem;
  margin: 0 0 1.5rem;
}

.article__content p:last-child {
  margin-bottom: 0;
}

.article__content ul,
.article__content ol {
  font-size: 1.125rem;
  line-height: 2rem;
  margin: 0 0 1.5rem;
  padding-left: 1.75rem;
}

.article__content ul { list-style-type: disc; }
.article__content ol { list-style-type: decimal; }

.article__content li {
  margin-bottom: 0.4rem;
}

.article__content a {
  text-decoration: underline;
}

.article__content a:hover {
  opacity: 0.8;
}

.article__content strong,
.article__content b {
  font-weight: 700;
}

.article__content em,
.article__content i {
  font-style: italic;
}

.article__content blockquote {
  border-left: 4px solid var(--color-primary, rgb(0, 24, 88));
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  color: rgb(23, 44, 102);
  font-style: italic;
}

.article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
  margin: 1rem 0;
}

.article__content pre {
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article__content code {
  font-family: monospace;
  font-size: 0.9em;
  background-color: var(--color-bg-alt, rgb(243, 210, 193));
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.article__content pre code {
  background: none;
  padding: 0;
}

.article__content hr {
  border: none;
  border-top: 1px solid var(--color-knockout, rgb(204, 204, 204));
  margin: 2rem 0;
}

/* Article Content (legacy section classes) */
.article__paragraph {
  margin-bottom: 24px;
}

.article__paragraph p {
  font-family: 'WorkSans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  margin: 0 0 32px 0;
}

.article__paragraph p:last-child {
  margin-bottom: 0;
}

.article__subheading {
  font-family: 'Outfit-Thin_', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  margin: 40px 0 24px 0;
}

.article__image-wrapper {
  margin: 24px 0;
}

.article__image {
  width: 100%;
  height: 356px;
  object-fit: cover;
  border-radius: 3px;
}

.article__gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .article__title {
    font-size: 32px;
    line-height: 42px;
  }

  .article__subheading {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (max-width: 480px) {
  .article__paragraph p {
    font-size: 16px;
    line-height: 28px;
  }

  .article__title {
    font-size: 28px;
    line-height: 36px;
  }
}
/* Input Component Styles - Using Design Token Variables */

._inputWrapper_1dhbg_3 {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

._inputLabel_1dhbg_9 {
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-header);
	margin-bottom: 4px;
}

._input_1dhbg_3 {
	width: 362px;
	height: 40px;
	padding: 9px 16px;
	background-color: var(--color-knockout);
	border: 2px solid var(--color-header);
	border-radius: 3px;
	font-family: var(--font-family-primary);
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	color: var(--color-header);
	transition: border-color 0.2s ease-in-out;
}

._input_1dhbg_3::placeholder {
	color: var(--color-header);
	opacity: 0.6;
}

._input_1dhbg_3:focus {
	outline: none;
	border-color: var(--color-button-primary);
}

._input_1dhbg_3:disabled {
	background-color: var(--color-bg-alt);
	cursor: not-allowed;
	opacity: 0.6;
}

._input--full-width_1dhbg_48 {
	width: 100%;
}

._input--error_1dhbg_52 {
	border-color: #dc2626;
}

._input--error_1dhbg_52:focus {
	border-color: #dc2626;
}

._inputError_1dhbg_60 {
	font-family: var(--font-family-primary);
	font-size: 12px;
	font-weight: 400;
	color: #dc2626;
	margin-top: 4px;
}
/* Select Component Styles - Using Design Token Variables */

._selectWrapper_1s2eg_3 {
	display: inline-block;
}

._label_1s2eg_7 {
	display: block;
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text-primary);
	margin-bottom: 8px;
}

._select_1s2eg_3 {
	position: relative;
	display: inline-block;
	min-width: 100px;
}

._select--full-width_1s2eg_22 {
	width: 100%;
}

._select--disabled_1s2eg_26 {
	opacity: 0.5;
	cursor: not-allowed;
}

._selectButton_1s2eg_31 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 100px;
	height: 32px;
	padding: 6px 16px;
	background-color: transparent;
	border: none;
	border-radius: 0;
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: var(--color-header);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

._selectButton_1s2eg_31:hover:not(:disabled) {
	color: var(--color-button-primary);
}

._selectButton_1s2eg_31:disabled {
	cursor: not-allowed;
}

._selectText_1s2eg_59 {
	flex: 1;
	text-align: left;
}

._selectMenu_1s2eg_64 {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	min-width: 186px;
	background-color: var(--color-knockout);
	border: 2px solid var(--color-header);
	border-radius: 4px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	overflow: hidden;
	padding: 8px 0;
}

._selectOption_1s2eg_79 {
	display: block;
	width: 100%;
	padding: 6px 16px;
	background-color: var(--color-knockout);
	border: none;
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	color: var(--color-header);
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
}

._selectOption_1s2eg_79:hover,
._selectOption--highlighted_1s2eg_96 {
	background-color: color-mix(in srgb, var(--color-button-primary) 10%, transparent);
}

._selectOption--selected_1s2eg_100 {
	background-color: color-mix(in srgb, var(--color-button-primary) 50%, transparent);
}
/* Radio Component Styles - Using Design Token Variables */

._radioWrapper_4n8m9_3 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

._radioWrapper--disabled_4n8m9_11 {
	opacity: 0.5;
	cursor: not-allowed;
}

._radioInput_4n8m9_16 {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

._radioCustom_4n8m9_22 {
	position: relative;
	width: 24px;
	height: 24px;
	border: 2px solid var(--color-header);
	border-radius: 50%;
	background-color: var(--color-knockout);
	transition: all 0.2s ease-in-out;
	flex-shrink: 0;
}

._radioInput_4n8m9_16:checked + ._radioCustom_4n8m9_22::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--color-header);
}

._radioWrapper_4n8m9_3:hover ._radioInput_4n8m9_16:not(:disabled) + ._radioCustom_4n8m9_22 {
	border-color: var(--color-button-primary);
}

._radioInput_4n8m9_16:disabled + ._radioCustom_4n8m9_22 {
	opacity: 0.5;
	cursor: not-allowed;
}

._radioInput_4n8m9_16:disabled:checked + ._radioCustom_4n8m9_22::after {
	opacity: 0.5;
}

._radioLabel_4n8m9_58 {
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-header);
}
/* Checkbox Component Styles - Using Design Token Variables */

._checkboxWrapper_2j4yq_3 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

._checkboxWrapper--disabled_2j4yq_11 {
	opacity: 0.5;
	cursor: not-allowed;
}

._checkboxInput_2j4yq_16 {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

._checkboxCustom_2j4yq_22 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 2px solid var(--color-header);
	border-radius: 4px;
	background-color: var(--color-knockout);
	transition: all 0.2s ease-in-out;
	flex-shrink: 0;
}

._checkboxIcon_2j4yq_36 {
	opacity: 0;
	color: var(--color-header);
	transition: opacity 0.2s ease-in-out;
}

._checkboxInput_2j4yq_16:checked + ._checkboxCustom_2j4yq_22 ._checkboxIcon_2j4yq_36 {
	opacity: 1;
}

._checkboxWrapper_2j4yq_3:hover ._checkboxInput_2j4yq_16:not(:disabled) + ._checkboxCustom_2j4yq_22 {
	border-color: var(--color-button-primary);
}

._checkboxInput_2j4yq_16:disabled + ._checkboxCustom_2j4yq_22 {
	opacity: 0.5;
	cursor: not-allowed;
}

._checkboxLabel_2j4yq_55 {
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-header);
}
/* ── Container ────────────────────────────────────────── */
.static-page {
  padding-block: 24px;
}

/* ── Theme: light ──────────────────────────────────────── */
.static-page--light {
  background-color: #fff;
  color: #000;
}

/* ── Theme: custom (default) ──────────────────────────── */
.static-page--custom {
  background-color: var(--color-bg, #fff);
  color: var(--color-header, #001858);
  min-height: calc(100vh - 220px);
}
.product-card {
    border:1px solid var(--color-bg);
    img {
        background-color: #fff;
        height: 180px;
        margin-bottom: 0;
        padding: 10px;
        object-fit: scale-down;
    }

    .product-card-content {
        background-color: var(--color-bg);
        h2 {
            color: var(--color-button-primary);
            letter-spacing: 0;
            text-transform: capitalize;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            margin-bottom: 7px;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            overflow: hidden;
        }

        h3 {
            text-transform: capitalize;
            letter-spacing: 0;
            text-overflow: ellipsis;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            height: 62px;
            margin-bottom: 0;
            font-size: 16px;
            font-weight: 600;
            line-height: 20px;
            display: -webkit-box;
            overflow: hidden;
        }

        .product-description {
            text-transform: capitalize;
            letter-spacing: 0;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            height: 41px;
            margin: 7px 0;
            font-size: 12px;
            font-weight: 500;
            line-height: 20px;
            display: -webkit-box;
            overflow: hidden;
        }

        .product-price {
            text-transform: capitalize;
            letter-spacing: 0;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            margin-bottom: 7px;
            font-size: 20px;
            font-weight: 600;
            line-height: 21px;
            display: -webkit-box;
            overflow: hidden;
        }

        .product-link {
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            height: 18px;
            color: var(--color-button-primary);
            -webkit-box-orient: vertical;
            margin-bottom: 0;
            font-size: 14px;
            line-height: 18px;
            display: -webkit-box;
            overflow: hidden;
        }
    }
}.product-details{
    img{
        border: 1px dashed var(--color-button-primary);
        width: 100%;
        height: 400px;
        padding: 20px; 
        object-fit: scale-down;
    }
    .product-info{
        .product-title{
                text-transform: capitalize;
                color: var(--color-button-primary);
                letter-spacing: 0;
                font-size: 1.8rem;
                font-weight: 700;
                line-height: 1.2;
                margin-bottom: 5px;
        }
        .product-price{
            color: var(--color-button-primary);
            letter-spacing: .5px;
            text-transform: capitalize;
            font-size: 1.3rem;
            font-weight: 500;
            font-size: 1.8rem;
        }
        .product-table{
            th {
                text-transform: uppercase;
                padding-left: 0;
                font-size: 1rem;
                font-weight: 700;
                width: auto;
            }
            td {
                font-size: 1.1rem;
                font-weight: 600;
            }
        }
        hr{
            margin: 1rem 0;
        }
    }

}/* HeroShowcase Component Styles */

.hero-showcase {
  padding-block: 40px;
}

.hero-showcase__controls {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.hero-showcase__title {
  font-size: 32px;
  font-weight: 700;
  color: rgb(0, 24, 88);
  margin: 0 0 10px 0;
}

.hero-showcase__subtitle {
  font-size: 16px;
  color: rgb(23, 44, 102);
  margin: 0 0 30px 0;
}

.hero-showcase__selector {
  margin-bottom: 20px;
}

.hero-showcase__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgb(0, 24, 88);
  margin-bottom: 8px;
}

.hero-showcase__select {
  width: 100%;
  max-width: 500px;
  padding: 12px 16px;
  font-size: 14px;
  border: 2px solid rgb(0, 24, 88);
  border-radius: 4px;
  background: white;
  color: rgb(0, 24, 88);
  cursor: pointer;
  transition: border-color 0.2s;
}

.hero-showcase__select:hover {
  border-color: rgb(245, 130, 174);
}

.hero-showcase__select:focus {
  outline: none;
  border-color: rgb(245, 130, 174);
  box-shadow: 0 0 0 3px rgba(245, 130, 174, 0.1);
}

.hero-showcase__description {
  background: rgb(254, 246, 228);
  padding: 16px 20px;
  border-radius: 4px;
  border-left: 4px solid rgb(245, 130, 174);
  margin-bottom: 20px;
}

.hero-showcase__description p {
  margin: 0;
  font-size: 14px;
  color: rgb(0, 24, 88);
  font-weight: 500;
}

.hero-showcase__specs {
  margin-top: 20px;
}

.hero-showcase__specs h3 {
  font-size: 16px;
  font-weight: 600;
  color: rgb(0, 24, 88);
  margin: 0 0 10px 0;
}

.hero-showcase__code {
  background: rgb(243, 210, 193);
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.6;
  color: rgb(0, 24, 88);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.hero-showcase__preview {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.hero-showcase__preview-label {
  font-size: 18px;
  font-weight: 600;
  color: rgb(0, 24, 88);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgb(243, 210, 193);
}

.hero-showcase__info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-showcase__info h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgb(0, 24, 88);
  margin: 0 0 15px 0;
}

.hero-showcase__info h3:not(:first-child) {
  margin-top: 30px;
}

.hero-showcase__info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-showcase__info li {
  padding: 10px 0;
  border-bottom: 1px solid rgb(243, 210, 193);
  font-size: 14px;
  color: rgb(23, 44, 102);
}

.hero-showcase__info li:last-child {
  border-bottom: none;
}

.hero-showcase__info strong {
  color: rgb(0, 24, 88);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-showcase {
    padding-block: 20px;
  }

  .hero-showcase__controls,
  .hero-showcase__preview,
  .hero-showcase__info {
    padding: 20px;
  }

  .hero-showcase__title {
    font-size: 24px;
  }

  .hero-showcase__select {
    max-width: 100%;
  }

  .hero-showcase__code {
    font-size: 11px;
  }
}
.demo-container {
  padding-block: 40px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.demo-header {
  margin-bottom: 48px;
  text-align: center;
}

.demo-header h1 {
  font-size: 36px;
  font-weight: 600;
  color: var(--atomic-text-primary, #202124);
  margin: 0 0 12px 0;
}

.demo-header p {
  font-size: 18px;
  color: var(--atomic-text-secondary, #5f6368);
  margin: 0;
}

.demo-section {
  margin-bottom: 64px;
}

.component-group {
  margin-top: 32px;
  padding: 24px;
  background: var(--atomic-bg-card, #ffffff);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.component-group h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--atomic-text-secondary, #5f6368);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Card demos specific styles */
.demo-row.cards-vertical {
  justify-content: flex-start;
  gap: 24px;
}

.demo-row.cards-horizontal {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.demo-row.cards-special {
  gap: 24px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .demo-container {
    padding-block: 24px;
  }

  .demo-header h1 {
    font-size: 28px;
  }

  .demo-header p {
    font-size: 16px;
  }

  .demo-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* ──────────────────────────────────────────────────────────────────────────
   Editorial template
   The look of the legacy "theme2" PHP sites (Bootstrap 5.3 + theme2/style.css),
   rebuilt without Bootstrap. Sizes, breakpoints (768 / 992 / 1200 / 1400px) and
   spacing follow Bootstrap's so pages line up with the old ones.

   Colours and fonts come from the site's config ("theme"), with the legacy
   values as defaults:
     --color-button-primary   brand colour: buttons, card and article headings,
                              side menu, search box, current page   (#e52a6f)
     --color-button-label     text on the brand colour               (#fff)
     --color-text-primary     body text                              (#212529)
     --color-text-secondary   header links                           (#6a6a6a)
     --color-content          article text, footer links             (#373737)
     --color-bg / --color-bg-alt   page / card body and footer       (#fff / #f5f5f5)
     --color-link             links in articles, the editor's name   (#3557ff)
     --color-article-heading  article title and headings             (the brand colour)
     --color-banner           static page banner                     (rgba(0, 34, 71, .85))
     --font-family-primary    body text      (Bootstrap's system font stack)
     --font-family-heading    headings and article text              ("Poppins")
   ────────────────────────────────────────────────────────────────────────── */

.ed-page {
  --ed-first: var(--color-button-primary, #e52a6f);
  --ed-on-first: var(--color-button-label, #fff);
  --ed-text: var(--color-text-primary, #212529);
  --ed-nav-text: var(--color-text-secondary, #6a6a6a);
  --ed-content: var(--color-content, #373737);
  --ed-bg: var(--color-bg, #fff);
  --ed-light: var(--color-bg-alt, #f5f5f5);
  --ed-link: var(--color-link, #3557ff);
  --ed-article-heading: var(--color-article-heading, var(--color-button-primary, #e52a6f));
  --ed-banner: var(--color-banner, rgba(0, 34, 71, 0.85));
  --ed-font: var(--font-family-primary, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
  --footer-font-family: var(--ed-font);
  --ed-font-heading: var(--font-family-heading, "Poppins", sans-serif);
  --ed-bootstrap-link: #0d6efd;

  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: var(--ed-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  /* Short pages (no search results, 404) keep the footer at the bottom of the window. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.ed-page > .ed-main { flex: 1 0 auto; }
.ed-page *, .ed-page ::before, .ed-page ::after { box-sizing: border-box; }

/* Bootstrap's .container and .row (24px gutters) */
.ed-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 12px;
}
@media (min-width: 576px) { .ed-container { max-width: 540px; } }
@media (min-width: 768px) { .ed-container { max-width: 720px; } }
@media (min-width: 992px) { .ed-container { max-width: 960px; } }
@media (min-width: 1200px) { .ed-container { max-width: 1140px; } }
@media (min-width: 1400px) { .ed-container { max-width: 1320px; } }

.ed-grid-row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.ed-grid-row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-inline: 12px; }

.ed-section { padding-block: 48px; background: var(--ed-bg); }

.ed-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 8px 12px;
  background: var(--ed-bg);
  color: var(--ed-text);
}
.ed-skip:focus { left: 8px; top: 8px; }

.ed-status { margin: 0; padding: 48px 0; text-align: center; opacity: 0.8; }
/* Holds the footer below the window while a page's content loads, so it doesn't show and then jump away. */
.ed-status--loading { min-height: 100vh; min-height: 100dvh; }
.ed-status p { margin: 0 0 24px; }
.ed-button {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid transparent;
  background: var(--ed-first);
  color: var(--ed-on-first);
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

/* Bootstrap's .alert-danger ("No Articles Found!") */
.ed-alert {
  position: relative;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #f1aeb5;
  border-radius: 6px;
  background: #f8d7da;
  color: #58151c;
}
/* The legacy markup puts the alert straight in the row, so it spans the gutters. */
.ed-grid-row > .ed-alert { padding-inline: 16px; }

.ed-icon { display: inline-block; vertical-align: -0.125em; }

/* ── Footer ───────────────────────────────────────────────────────────── */
/* The classic footer sets 13px text; the legacy editorial sites' footer is 16px/24px with 10px between the links. */
.ed-page .footer__copyright,
.ed-page .footer__link { font-size: 16px; line-height: 24px; }
.ed-page .footer__links { gap: 10px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.ed-header {
  position: relative;
  z-index: 1020;
  padding-block: 8px;
  background: var(--ed-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
}
.ed-header--sticky { position: sticky; top: 0; }

.ed-header__row { align-items: center; }
.ed-header__brand { display: flex; align-items: center; justify-content: space-between; }
.ed-header__nav, .ed-header__search { width: 100%; }
@media (min-width: 768px) {
  .ed-header__nav { width: 58.333333%; }
  .ed-header__search { width: 41.666667%; }
}
@media (min-width: 992px) {
  .ed-header__brand { width: 25%; }
  .ed-header__end { width: 75%; }
}

/* Like the legacy header, the logo is centred in a 1rem/1.5 text line, so a short logo still gets the line's 24px */
.ed-logo { display: inline-block; font-size: 1rem; line-height: 1.5; text-decoration: none; }
.ed-logo__image { display: inline-block; width: 150px; max-width: none; height: auto; vertical-align: middle; }
.ed-logo__text { font: 700 28px/1.2 var(--ed-font-heading); color: var(--ed-first); }

/* 29px: the legacy menu icon's line box, which sets the mobile header row's height */
.ed-header__toggle {
  display: flex;
  align-items: flex-start;
  height: 29px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ed-first);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
@media (min-width: 992px) { .ed-header__toggle { display: none; } }

.ed-nav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 992px) { .ed-nav { display: none; } }
.ed-nav__item { position: relative; display: flex; align-items: stretch; padding: 0 6px; text-align: center; }
.ed-nav__link {
  display: block;
  padding: 8px 0;
  color: var(--ed-nav-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  /* A label that has to wrap breaks at word boundaries only, and never splits a word */
  overflow-wrap: normal;
  word-break: normal;
}
.ed-nav__link:hover,
.ed-nav__link--active { color: var(--ed-first); }

/* Links with sub-links: label + chevron read as one item with a bar under it */
.ed-nav__trigger {
  display: flex;
  align-items: stretch;
  box-shadow: inset 0 -3px 0 transparent;
  transition: box-shadow 0.15s ease;
}
.ed-nav__chevron { display: flex; align-items: center; padding: 0 0 0 4px; border: 0; background: none; color: var(--ed-nav-text); cursor: pointer; }
.ed-nav__item--menu:hover .ed-nav__trigger,
.ed-nav__item--menu:focus-within .ed-nav__trigger,
.ed-nav__item--open .ed-nav__trigger { box-shadow: inset 0 -3px 0 var(--ed-first); }
.ed-nav__item--menu:hover .ed-nav__link,
.ed-nav__item--menu:hover .ed-nav__chevron,
.ed-nav__item--menu:focus-within .ed-nav__link,
.ed-nav__item--menu:focus-within .ed-nav__chevron,
.ed-nav__item--open .ed-nav__link,
.ed-nav__item--open .ed-nav__chevron { color: var(--ed-first); }
.ed-nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1030;
  min-width: 240px;
  margin: 0;
  padding: 8px 12px 8px 8px;
  list-style: none;
  background: var(--nav-dropdown-bg, #f5f5f5);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  text-align: left;
}
.ed-nav__item--menu:hover .ed-nav__menu,
.ed-nav__item--menu:focus-within .ed-nav__menu,
.ed-nav__item--open .ed-nav__menu { display: block; }
.ed-nav__menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  color: var(--nav-dropdown-text, #111);
  text-decoration: none;
  white-space: nowrap;
}
.ed-nav__menu-link::before {
  content: '';
  flex: 0 0 2px;
  height: 16px;
  background: var(--nav-dropdown-bar, #bdbdbd);
}
.ed-nav__menu-link:hover { color: var(--ed-first); }

/* Search box: Bootstrap .input-group with .form-control + button */
.ed-search { display: flex; align-items: stretch; width: 100%; margin: 0; }
.ed-search__input {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--ed-first);
  border-radius: 6px 0 0 6px;
  background: var(--ed-bg);
  color: var(--ed-text);
  font: 400 16px/1.5 var(--ed-font);
  outline: none;
  appearance: none;
}
.ed-search__input::placeholder { color: rgba(33, 37, 41, 0.75); opacity: 1; }
.ed-search__input:focus { border-color: var(--ed-first); box-shadow: none; outline: none; }
.ed-search__button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 -1px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 0 6px 6px 0;
  background: var(--ed-first);
  color: var(--ed-on-first);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}

/* shared.header.style "plain" (legacy theme3): no shadow, roomier, a grey outlined search box on the right half. */
.ed-header--plain { padding-block: 16px; box-shadow: none; }
.ed-header--plain .ed-search__input { height: 45px; border-color: #6c757d; }
.ed-header--plain .ed-search__input:focus { border-color: #6c757d; }
.ed-header--plain .ed-search__button { border-color: #6c757d; background: transparent; color: #6c757d; }
.ed-header--plain .ed-search__button:hover, .ed-header--plain .ed-search__button:focus-visible { background: #6c757d; color: #fff; }
@media (min-width: 992px) {
  .ed-header--plain .ed-header__end { width: 50%; margin-left: auto; }
  .ed-header--plain .ed-header__search { width: 100%; }
}

/* Side menu (phones and tablets) */
.ed-sidenav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 0;
  height: 100%;
  overflow-x: hidden;
  background: var(--ed-first);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
  transition: width 0.5s;
}
.ed-sidenav--open { width: 250px; }
.ed-sidenav__top { position: sticky; top: 0; z-index: 1020; }
.ed-sidenav__close {
  position: absolute;
  top: 15px;
  right: 5px;
  padding: 6px 12px;
  border: 1px solid transparent;
  background: none;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.ed-sidenav__body { padding-top: 40px; }
.ed-sidenav__list { margin: 0; padding: 0; list-style: none; }
.ed-sidenav__list--sub .ed-sidenav__link { padding-left: 48px; }
.ed-sidenav__link {
  display: block;
  padding: 8px 8px 8px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s;
}
.ed-sidenav__link:hover, .ed-sidenav__link:focus { color: #fff; }

/* ── Contextual ads (config.pages.<page>.adUnit and the homepage AdUnit section) ── */
.ed-ad { padding-block: 12px; }

/* ── Article cards (home, category, search) ──────────────────────────── */
.ed-cards__cell { margin-bottom: 16px; }
@media (min-width: 768px) { .ed-cards__cell { width: 50%; } }
@media (min-width: 992px) { .ed-cards__cell { width: var(--ed-card-width, 25%); } }

.ed-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  background: var(--ed-bg);
  color: inherit;
  text-decoration: none;
  /* Bootstrap's .card on the legacy sites: a word wider than the card breaks instead of being clipped. */
  overflow-wrap: break-word;
}
/* Hover, like the classic cards: the image zooms a little under a faint white veil. */
.ed-card__media, .ed-row__image-link { position: relative; overflow: hidden; }
.ed-card__media::after, .ed-row__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(255 255 255 / 0);
  transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.ed-card__image, .ed-row__image { transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ed-card:hover .ed-card__media::after, .ed-row:hover .ed-row__image-link::after { background-color: rgb(255 255 255 / 0.15); }
.ed-card:hover .ed-card__image, .ed-row:hover .ed-row__image { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .ed-card__image, .ed-row__image, .ed-card__media::after, .ed-row__image-link::after { transition: none; }
  .ed-card:hover .ed-card__image, .ed-row:hover .ed-row__image { transform: none; }
}
.ed-card__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--ed-card-image-height, 330px);
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) { .ed-card__image { height: auto; } }
.ed-card__body { flex: 1 1 auto; padding: 16px; background: var(--ed-light); text-align: center; }
.ed-card__title {
  margin: 0 0 8px;
  color: var(--ed-first);
  font: 900 28.8px/1.2 var(--ed-font-heading);
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ed-card__excerpt {
  margin: 0 0 8px;
  font-size: 19.2px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ed-card__action { text-align: center; }
.ed-card__button {
  display: inline-block;
  width: 100%;
  padding: 6px 12px;
  border: 1px solid transparent;
  background: var(--ed-first);
  color: var(--ed-on-first);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.ed-cards__cell--wide .ed-card__button { width: 50%; }

/* ── Panel layouts (legacy "theme3": easytriviaquestion.com) ──────────────
   ArticleSplit on the homepage, ArticlePanelRows on search: article cards on
   grey panels (--color-bg-alt), white cards with the brand-colour title. */
.ed-panels__cell { margin-bottom: 0; }
@media (min-width: 768px) { .ed-panels__cell { width: 50%; align-self: flex-start; } }
.ed-panel { padding: 16px; background: var(--ed-light); }
.ed-panel--grid { display: grid; grid-template-columns: 1fr; column-gap: 24px; }
@media (min-width: 576px) { .ed-panel--grid { grid-template-columns: 1fr 1fr; } }
.ed-pcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 20px;
  background: var(--ed-bg);
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
}
.ed-panel--grid .ed-pcard { margin-bottom: 36px; }
.ed-pcard__media { position: relative; overflow: hidden; line-height: 0; }
.ed-pcard__image { display: block; width: 100%; max-width: 100%; object-fit: cover; object-position: center; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ed-pcard--stacked .ed-pcard__image { height: var(--ed-pcard-image-height, 221px); }
.ed-pcard--row .ed-pcard__image { height: var(--ed-prow-image-height, 184px); }
.ed-pcard:hover .ed-pcard__image { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) { .ed-pcard__image { transition: none; } .ed-pcard:hover .ed-pcard__image { transform: none; } }
.ed-pcard__body { flex: 1 1 auto; padding: 16px; }
.ed-pcard__title {
  margin: 0 0 8px;
  color: var(--ed-first);
  font: 700 22.4px/1.2 var(--ed-font-heading);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ed-pcard__excerpt {
  margin: 0 0 8px;
  color: var(--ed-content);
  font-size: 19.2px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* A row: image 5/12 and text 7/12 from 992px, stacked below that. */
@media (min-width: 992px) {
  .ed-pcard--row { flex-direction: row; align-items: center; }
  .ed-pcard--row .ed-pcard__media { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .ed-pcard--row .ed-pcard__body { flex: 0 0 58.333333%; max-width: 58.333333%; }
}
.ed-panel-wrap { margin-top: 8px; }
@media (min-width: 992px) { .ed-panel-wrap__panel--inset { width: 66.666667%; } }
@media (min-width: 1200px) { .ed-panel-wrap__panel--inset { width: 75%; } }
.ed-panels + .ed-pager, .ed-panel-wrap .ed-pager { margin-top: 16px; }

/* Search heading (Bootstrap h2, after an empty line) */
.ed-search-title {
  margin: 24px 0 8px;
  color: inherit;
  font: 500 calc(1.325rem + 0.9vw)/1.2 var(--ed-font);
}
@media (min-width: 1200px) { .ed-search-title { font-size: 2rem; } }

/* ── Pager (the shared Pagination, drawn like Bootstrap's .pagination) ── */
.ed-pager { width: 100%; }
.ed-page .ed-pagination {
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
}
.ed-page .ed-pagination .pagination__pages { display: contents; }
.ed-page .ed-pagination .pagination__control,
.ed-page .ed-pagination .pagination__chip {
  order: 0;
  flex: none;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0 0 0 -1px;
  padding: 6px 12px;
  border: 1px solid #dee2e6;
  border-radius: 0;
  background: var(--ed-bg);
  color: var(--ed-bootstrap-link);
  font: 400 16px/1.5 var(--ed-font);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.ed-page .ed-pagination > :first-child { margin-left: 0; border-radius: 6px 0 0 6px; }
.ed-page .ed-pagination > :last-child { border-radius: 0 6px 6px 0; }
.ed-page .ed-pagination .pagination__control { display: block; }
.ed-page .ed-pagination .pagination__control svg { width: 0.715em; height: 1em; color: inherit; vertical-align: -0.143em; }
.ed-page .ed-pagination .pagination__chip:hover,
.ed-page .ed-pagination .pagination__control:hover:not(:disabled) {
  background: #f8f9fa;
  color: #0a58ca;
}
.ed-page .ed-pagination .pagination__chip--active,
.ed-page .ed-pagination .pagination__chip--active:hover {
  z-index: 3;
  margin-right: 5px;
  border-color: var(--ed-first);
  background: var(--ed-first);
  color: #fff;
}
.ed-page .ed-pagination .pagination__control:disabled {
  border-color: #dee2e6;
  background: #e9ecef;
  color: rgba(33, 37, 41, 0.75);
  opacity: 1;
  cursor: default;
}
/* The last page has no "next" arrow, so the active page closes the row. */
.ed-page .ed-pagination .pagination__pages:last-child > .pagination__chip--active:last-child { border-radius: 0 6px 6px 0; }

/* ── Article ──────────────────────────────────────────────────────────── */
.ed-section--article { padding-block: 48px 16px; }
@media (min-width: 768px) {
  .ed-col-main { width: 58.333333%; }
  .ed-col-rail { width: 41.666667%; }
}
@media (min-width: 1200px) {
  .ed-col-main { width: 66.666667%; }
  .ed-col-rail { width: 33.333333%; }
}

/* Visible breadcrumb above the content of every page but the home page. */
.ed-breadcrumbs-bar { padding-top: 16px; }
.ed-breadcrumbs-bar .ed-breadcrumbs { margin-bottom: 0; }

/* A long article title wraps instead of scrolling sideways. */
.ed-breadcrumbs { margin-bottom: 12px; overflow-x: visible; }
.ed-breadcrumbs .breadcrumbs__list { flex-wrap: wrap; padding: 0; white-space: normal; }
.ed-breadcrumbs .breadcrumbs__item { color: var(--ed-nav-text); font-family: var(--ed-font); font-size: 0.875rem; line-height: 1.4; }
.ed-breadcrumbs .breadcrumbs__link { color: var(--ed-first); opacity: 1; }
.ed-breadcrumbs .breadcrumbs__current { max-width: none; color: var(--ed-nav-text); font-weight: 400; white-space: normal; }
.ed-breadcrumbs .breadcrumbs__separator { color: var(--ed-nav-text); }

.ed-article__title {
  margin: 0 0 8px;
  color: var(--ed-article-heading);
  font: 700 calc(1.375rem + 1.5vw)/1.2 var(--ed-font-heading);
  letter-spacing: 0;
}
@media (min-width: 1200px) { .ed-article__title { font-size: 2.5rem; } }

.ed-byline { display: flex; align-items: center; margin: 10px 0; }
.ed-byline__avatar { display: inline-block; flex: none; width: 35px; height: 35px; }
.ed-byline__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ed-byline__text { width: 80%; margin: 0 0 0 10px; }
.ed-byline__author, .ed-byline__date { color: #333; font-family: var(--ed-font-heading); font-size: 1rem; line-height: 1.4; }
.ed-byline__author { margin-right: 5px; padding-right: 5px; border-right: 1px solid #333; }
.ed-byline__name { color: var(--ed-link); }

.ed-article__hero { display: block; max-width: 100%; height: auto; }

/* CMS article HTML */
.ed-article .ed-prose h1, .ed-article .ed-prose h2, .ed-article .ed-prose h3,
.ed-article .ed-prose h4, .ed-article .ed-prose h5, .ed-article .ed-prose h6 {
  margin: 0 0 0.5rem;
  color: var(--ed-article-heading);
  font-family: var(--ed-font-heading);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
.ed-article .ed-prose p, .ed-article .ed-prose li, .ed-article .ed-prose span,
.ed-article .ed-prose a, .ed-article .ed-prose p strong, .ed-article .ed-prose li strong,
.ed-article__disclosure, .ed-article__disclosure strong {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  color: var(--ed-content);
  font-family: var(--ed-font-heading);
  font-size: 1rem;
  line-height: 1.4;
}
.ed-article .ed-prose p, .ed-article__disclosure { margin-top: 0; }
.ed-article .ed-prose ul, .ed-article .ed-prose ol { margin: 0 0 1rem; }
.ed-article .ed-prose ul { padding-left: 15px; list-style: disc; }
/* Nested lists keep the browser's look (circle bullets, no gap below), like the legacy sites. */
.ed-article .ed-prose li > ul { margin-bottom: 0; list-style: circle; }
.ed-article .ed-prose ol { padding-left: 0; list-style: decimal; }
.ed-article .ed-prose a, .ed-article .ed-prose p a, .ed-article .ed-prose li a { color: var(--ed-link); text-decoration: underline; }
.ed-article .ed-prose img { max-width: 100%; height: auto; object-fit: contain; }
.ed-article .ed-prose table { border-collapse: collapse; caption-side: bottom; }
/* A run of text wider than the screen (CMS words joined by &nbsp;) wraps instead of scrolling the page sideways. */
.ed-prose { overflow-wrap: break-word; }
/* CMS tables come in <figure class="table">: Bootstrap's figure margin; a table wider than the
   screen scrolls inside it instead of widening the page. */
.ed-prose figure { margin: 0 0 1rem; }
.ed-prose figure.table, .ed-prose div.table { max-width: 100%; overflow-x: auto; vertical-align: top; }
/* The legacy pages load Bootstrap, whose .table rules land on the CMS's <figure class="table"> and
   <div class="table"> wrappers: every row gets a 1px black bottom rule and black text. */
.ed-prose figure.table > table > * > tr, .ed-prose div.table > table > * > tr { color: #000; border-bottom: 1px solid #000; }
/* Cells keep the browser's default 1px padding (the legacy pages have no reset). */
.ed-prose td, .ed-prose th { padding: 1px; }
/* Bold text outside a paragraph or list item (e.g. table headings) and every <b>: the legacy
   ".webContent strong, b" rule; "p strong" and "li strong" above keep their own. */
.ed-article .ed-prose strong, .ed-article .ed-prose b { color: #333; font-family: var(--ed-font-heading); line-height: 1.6; }
.ed-article .ed-prose th { text-align: inherit; text-align: -webkit-match-parent; }
.ed-article .ed-prose strong, .ed-article .ed-prose b, .ed-article__disclosure strong { font-weight: 600; }
/* The empty line (a <br>) before the AI note: padding, so it adds to the last paragraph's margin instead of collapsing into it */
.ed-article__disclosure { padding-top: 24px; }
.ed-article__ad { margin-block: 16px; }

/* CMS heading sizes, smaller than the legacy Bootstrap ones (QA): theme2's own .mainHeading (1.8rem),
   .subHeading (1.4rem) and .smallHeading (1.2rem) scale, so they sit clearly under the 2.5rem article title. */
.ed-prose h1 { font-size: 1.8rem; }
.ed-prose h2 { font-size: 1.4rem; }
.ed-prose h3 { font-size: 1.2rem; }
.ed-prose h4 { font-size: 1.1rem; }
.ed-prose h5, .ed-prose h6 { font-size: 1rem; }
/* FAQ questions often share the FAQ heading's H2 (see markFaqQuestions): they read as a step below it. */
.ed-article .ed-prose .ed-faq-question { font-size: 1.2rem; font-weight: 600; }

/* Rail: the legacy rail starts with two empty lines and has 16px between its ads */
.ed-col-rail .rail { width: 100% !important; padding-top: 48px; }
.ed-col-rail .rail > * { margin: 0 0 16px; }
.ed-col-rail .rail > :first-child { margin: 0; padding-bottom: 30px; }

/* ── Static pages (About, Privacy, Terms, For Advertisers, Contact) and sitemap ── */
.ed-banner { padding-block: 16px; background: linear-gradient(var(--ed-banner), var(--ed-banner)) center / cover no-repeat; }
.ed-banner__inner { padding-block: 16px; }
@media (min-width: 768px) {
  .ed-banner { padding-block: 48px; }
  .ed-banner__inner { padding-block: 24px; }
}
@media (min-width: 992px) { .ed-banner__inner { padding-block: 48px; } }
.ed-banner__title {
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
  font: 500 calc(1.375rem + 1.5vw)/1.2 var(--ed-font);
  text-align: center;
}
@media (min-width: 992px) { .ed-banner__title { max-width: 66.666667%; } }
@media (min-width: 1200px) { .ed-banner__title { font-size: 2.5rem; } }

.ed-section--doc { padding-block: 8px; }
.ed-doc { min-height: 50vh; }
.ed-prose--doc h1, .ed-prose--doc h2, .ed-prose--doc h3, .ed-prose--doc h4, .ed-prose--doc h5, .ed-prose--doc h6 {
  margin: 0 0 0.5rem;
  font-family: var(--ed-font);
  font-weight: 500;
  line-height: 1.2;
}
/* A step up from the article sizes: static page text is 1.2rem, not 1rem. */
.ed-prose--doc h1 { font-size: 1.8rem; }
.ed-prose--doc h2 { font-size: 1.6rem; }
.ed-prose--doc h3 { font-size: 1.4rem; }
.ed-prose--doc h4, .ed-prose--doc h5, .ed-prose--doc h6 { font-size: 1.2rem; }
.ed-prose--doc p { margin: 0 0 1rem; font-size: 1.2rem; }
.ed-prose--doc ul, .ed-prose--doc ol { margin: 0 0 1rem; padding-left: 2rem; }
.ed-prose--doc ul { list-style: disc; }
.ed-prose--doc ol { list-style: decimal; }
.ed-prose--doc a { color: var(--ed-bootstrap-link); text-decoration: underline; }
.ed-prose--doc img { max-width: 100%; height: auto; }
.ed-prose--doc strong, .ed-prose--doc b { color: #333; font-family: var(--ed-font-heading); font-weight: 600; line-height: 1.6; }

.ed-sitemap { min-height: 50vh; }
.ed-sitemap__heading {
  margin: 0 0 5px;
  color: var(--ed-first);
  font: 900 1.8rem/1.2 var(--ed-font-heading);
  letter-spacing: 0;
}
.ed-sitemap ul { margin: 0 0 1rem; padding-left: 2rem; list-style: disc; }
.ed-sitemap ul ul { margin-bottom: 0; list-style: circle; }
.ed-sitemap a { color: var(--ed-bootstrap-link); text-decoration: underline; }

/* ── Article lists (/articles) ────────────────────────────────────────── */
.ed-list__title { margin: 0 0 24px; font: 500 2rem/1.2 var(--ed-font); }
.ed-rows { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ed-row { display: flex; background: var(--ed-light); }
.ed-row__image-link { display: block; flex: 0 0 294px; line-height: 0; }
.ed-row__image { width: 100%; height: 100%; min-height: 166px; object-fit: cover; }
.ed-row__body { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; }
.ed-row__title { margin: 0; font: 600 18px/1.35 var(--ed-font-heading); }
.ed-row__title a { color: var(--ed-text); text-decoration: none; }
.ed-row__more {
  align-self: flex-start;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ed-first);
  color: var(--ed-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 600px) {
  .ed-row { flex-direction: column; }
  .ed-row__image-link { flex-basis: auto; }
  .ed-row__image { height: 180px; }
}

/* ── Shop ─────────────────────────────────────────────────────────────── */
.ed-shopbar__banner { padding: 20px 0; background: var(--color-button-primary); color: var(--color-button-label, #fff); text-align: center; }
.ed-shopbar__heading { margin: 0 0 12px; font: 700 26px/1.2 var(--font-family-heading, inherit); }
.ed-shopbar__form { display: flex; max-width: 640px; margin-inline: auto; }
.ed-shopbar__input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid var(--color-button-label, #fff); border-right: 0; border-radius: 3px 0 0 3px; background: #fff; color: #222; font: 400 14px/1 var(--font-family-primary, system-ui, sans-serif); outline: none; }
.ed-shopbar__button { display: flex; align-items: center; justify-content: center; width: 48px; height: 40px; border: 0; border-radius: 0 3px 3px 0; background: var(--color-header, #222); color: #fff; cursor: pointer; }

.ed-shopnav { background: var(--color-bg-alt, #f3f4f6); }
.ed-shopnav__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-block: 0; padding-block: 0; list-style: none; }
.ed-shopnav__link, .ed-shopnav__menu-link { display: block; padding: 12px 16px; border-bottom: 2px solid transparent; color: var(--color-text-primary, #333); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; list-style: none; }
.ed-shopnav__link:hover { background: rgb(0 0 0 / 0.05); }
.ed-shopnav__link--active { color: var(--color-button-primary); border-bottom-color: var(--color-button-primary); font-weight: 600; }
.ed-shopnav__more { position: relative; }
.ed-shopnav__more summary::-webkit-details-marker { display: none; }
.ed-shopnav__menu { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 180px; margin: 0; padding: 6px 0; list-style: none; background: #fff; box-shadow: 0 6px 14px rgb(0 0 0 / 0.14); }
.ed-shopnav__menu-link { padding: 9px 16px; border-bottom: 0; }

.ed-shop { padding-block: 24px 40px; }
.ed-shop section + section { margin-top: 40px; }
.ed-shop__heading { margin: 0 0 16px; text-align: center; font: 700 22px/1.2 var(--font-family-heading, inherit); color: var(--color-header, #222); }
.ed-shop__title { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px dotted var(--color-button-primary); color: var(--color-button-primary); font: 600 22px/1.2 var(--font-family-heading, inherit); text-transform: capitalize; }
.ed-shop__layout { display: flex; align-items: flex-start; gap: 24px; margin-top: 16px; }
.ed-shop__filters { flex: 0 0 240px; }
.ed-shop__results { flex: 1; min-width: 0; }

.ed-tiles { display: flex; gap: 12px; }
.ed-tiles > .ed-tile--large { flex: 1; }
.ed-tiles__grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ed-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 8px; border: 1px dashed var(--color-button-primary); color: var(--color-button-primary); text-decoration: none; }
.ed-tile--large { padding: 12px; }
.ed-tile img { width: 100%; object-fit: contain; }
.ed-tile__label { margin-top: 8px; text-align: center; font-weight: 500; }
.ed-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ed-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; padding: 8px; border: 1px solid rgb(0 0 0 / 0.1); border-radius: 3px; background: #fff; color: #222; font-size: 14px; font-weight: 600; text-decoration: none; }
.ed-brand img { max-width: 100%; max-height: 90px; object-fit: contain; }

.ed-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ed-product { overflow: hidden; border-radius: 3px; background: #fff; transition: box-shadow 0.2s ease; }
.ed-product:hover { box-shadow: 0 4px 14px rgb(0 0 0 / 0.12); }
.ed-product__link { display: block; color: inherit; text-decoration: none; }
.ed-product__image { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ed-product__body { padding: 12px; }
.ed-product__merchant { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #555; }
.ed-product__title { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed-product__description { margin: 0 0 8px; font-size: 12px; color: #777; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ed-product__price { margin: 0; font-size: 14px; font-weight: 700; }

.ed-filter { margin-bottom: 20px; }
.ed-filter__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.ed-filter__title::-webkit-details-marker { display: none; }
.ed-filter__clear { border: 0; background: none; color: var(--color-button-primary); font-size: 12px; cursor: pointer; }
.ed-filter__clear:hover { text-decoration: underline; }
.ed-filter__list { margin: 0; padding: 0; list-style: none; }
.ed-filter__item { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 14px; }
.ed-filter__item input { accent-color: var(--color-button-primary); }

.ed-detail__top { display: flex; align-items: flex-start; gap: 24px; }
.ed-detail__image { flex: 0 0 45%; max-width: 45%; height: auto; object-fit: cover; }
.ed-detail__info { flex: 1; min-width: 0; }
.ed-detail__title { margin: 0; font: 700 22px/1.3 var(--font-family-heading, inherit); }
.ed-detail__price { margin: 14px 0 0; color: var(--color-button-primary); font-size: 26px; font-weight: 700; }
.ed-detail__facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; padding-block: 12px; border-block: 1px solid rgb(0 0 0 / 0.1); font-size: 14px; }
.ed-detail__facts dt { font-weight: 600; }
.ed-detail__facts dd { margin: 0; }
.ed-button--large { padding: 11px 28px; font-size: 14px; }
.ed-detail__tabs { display: flex; gap: 8px; margin-top: 32px; border-bottom: 1px solid rgb(0 0 0 / 0.15); }
.ed-tab { margin-bottom: -1px; padding: 9px 16px; border: 1px solid transparent; border-bottom: 0; background: none; color: #666; font-size: 14px; font-weight: 500; cursor: pointer; }
.ed-tab--active { border-color: rgb(0 0 0 / 0.15); background: var(--color-bg, #fff); color: var(--color-button-primary); }
.ed-detail__text { margin: 16px 0 0; font-size: 14px; line-height: 1.7; }
.ed-specs { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; }
.ed-specs th, .ed-specs td { padding: 8px 12px; border: 1px solid rgb(0 0 0 / 0.15); text-align: left; }
.ed-specs th { width: 180px; font-weight: 600; }

@media (max-width: 768px) {
  .ed-shop__layout { flex-direction: column; gap: 12px; }
  .ed-shop__filters { flex-basis: auto; width: 100%; }
  .ed-filter { margin-bottom: 8px; padding: 8px; border: 1px solid rgb(0 0 0 / 0.12); border-radius: 3px; }
  .ed-filter__title { margin-bottom: 0; }
  .ed-filter[open] .ed-filter__title { margin-bottom: 8px; }
  .ed-tiles { flex-direction: column; }
  .ed-brands { grid-template-columns: repeat(2, 1fr); }
  .ed-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ed-detail__top { flex-direction: column; }
  .ed-detail__image { flex-basis: auto; max-width: 100%; width: 100%; }
}
/* ──────────────────────────────────────────────────────────────────────────
   Magazine template
   One shared magazine layout; each site sets its colours and fonts in its
   config ("theme"), these values being the defaults:
     --magazine-accent        brand colour: kickers, rules, current page, buttons (#1f4e8c)
     --magazine-on-accent     text on the brand colour                             (#fff)
     --magazine-text          body text and headlines                              (#14171c)
     --magazine-muted         dates, captions, secondary text                      (#5b6470)
     --magazine-container (content width, 1200px), --magazine-header-height (76px), --magazine-logo-height (32px), --magazine-main-top (32px), --magazine-aside-width (25%), --magazine-columns-gap (56px), --magazine-rail-width (300px), --magazine-rail-gap (28px), --magazine-font-smoothing (antialiased; "auto" for the browser's own), --magazine-control-text (the text colour), --magazine-section-gap (56px), --magazine-main-bottom (64px), --magazine-rows-text (the text colour)
     --magazine-nav-transform / -size / -weight / -spacing / -color   the menu bar's text (uppercase, 13px, 700, .07em, the text colour)
     --magazine-accent-2      second accent: tile kickers, banners, buttons of the portal look (the accent)
     --magazine-bg            page background                                      (#fff)
     --magazine-surface       footer and panels                                    (#f4f5f7)
     --magazine-line          dividers                                             (#e3e6ea)
     --magazine-font-heading  headlines            ("Archivo")
     --magazine-font-body     interface text       ("Public Sans")
     --magazine-font-article  article body text    ("Source Serif 4")
   Fonts load from the site's shared.stylesheets (a Google Fonts URL).
   Breakpoints: 576 / 768 / 992 / 1200px.
   ────────────────────────────────────────────────────────────────────────── */

.mg-page {
  --mg-accent: var(--magazine-accent, #1f4e8c);
  --mg-on-accent: var(--magazine-on-accent, #fff);
  --mg-accent-2: var(--magazine-accent-2, var(--mg-accent));
  --mg-text: var(--magazine-text, #14171c);
  --mg-muted: var(--magazine-muted, #5b6470);
  --mg-soft: color-mix(in srgb, var(--mg-text) 72%, var(--mg-bg));
  --mg-bg: var(--magazine-bg, #fff);
  --mg-surface: var(--magazine-surface, #f4f5f7);
  --mg-line: var(--magazine-line, #e3e6ea);
  --mg-control: color-mix(in srgb, var(--mg-text) 24%, var(--mg-bg));
  --mg-font-heading: var(--magazine-font-heading, "Archivo", "Helvetica Neue", Arial, sans-serif);
  --mg-font-body: var(--magazine-font-body, "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --mg-font-article: var(--magazine-font-article, "Source Serif 4", Georgia, "Times New Roman", serif);
  --mg-gutter: 16px;
  --mg-radius: 6px;
  --mg-container: var(--magazine-container, 1200px);
  --mg-header-height: var(--magazine-header-height, 76px);
  --mg-nav-transform: var(--magazine-nav-transform, uppercase);
  --mg-nav-size: var(--magazine-nav-size, 13px);
  --mg-nav-weight: var(--magazine-nav-weight, 700);
  --mg-nav-spacing: var(--magazine-nav-spacing, .07em);
  --mg-nav-color: var(--magazine-nav-color, var(--mg-text));

  background: var(--mg-bg);
  color: var(--mg-text);
  font-family: var(--mg-font-body);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: var(--magazine-font-smoothing, antialiased);
}
.mg-page *, .mg-page ::before, .mg-page ::after { box-sizing: border-box; }
:where(.mg-page) a { color: inherit; text-decoration: none; }
:where(.mg-page) img { max-width: 100%; }
.mg-page :focus-visible { outline: 2px solid var(--mg-accent); outline-offset: 2px; }
:where(.mg-page) :is(h1, h2, h3) { margin: 0; text-wrap: balance; }
:where(.mg-page) ul { margin: 0; padding: 0; list-style: none; }
:where(.mg-page) p { margin: 0; }
@media (min-width: 768px) { .mg-page { --mg-gutter: 32px; } }

.mg-container {
  width: 100%;
  max-width: calc(var(--mg-container) + 2 * var(--mg-gutter));
  margin-inline: auto;
  padding-inline: var(--mg-gutter);
}
.mg-main { flex: 1 0 auto; padding-block: 24px 64px; }
.mg-main:focus { outline: none; }
@media (min-width: 768px) { .mg-main { padding-top: var(--magazine-main-top, 32px); } }

.mg-skip {
  position: absolute; left: 8px; top: -48px; z-index: 50;
  padding: 10px 16px; border-radius: var(--mg-radius);
  background: var(--mg-text); color: var(--mg-bg); font-weight: 600;
}
.mg-skip:focus { top: 8px; }

.mg-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ── Buttons, kickers, status ─────────────────────────────────────────────── */

.mg-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border: 2px solid var(--mg-accent); border-radius: var(--mg-radius);
  background: var(--mg-accent); color: var(--mg-on-accent);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.mg-button:hover { filter: brightness(1.08); }
.mg-button--outline { background: transparent; border-color: var(--mg-text); color: var(--mg-text); }
.mg-button--outline:hover { background: var(--mg-text); color: var(--mg-bg); filter: none; }

.mg-icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: var(--mg-radius); color: var(--mg-text); cursor: pointer;
}
.mg-icon-button:hover { background: var(--mg-surface); }

.mg-kicker {
  display: block;
  font-size: 12px; font-weight: 700; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mg-accent);
}

.mg-status { padding: 48px 0; text-align: center; color: var(--mg-muted); display: grid; justify-items: center; gap: 16px; }
/* A page's loading state fills the window, so the footer doesn't show and then jump down (layout shift). */
.mg-status--loading { min-height: 100vh; min-height: 100dvh; }
/* Homepage sections load separately: each keeps about its final height instead. */
.mg-home .mg-status--loading { min-height: 0; padding-block: 24px; }
.mg-home-lead--loading { min-height: 920px; }
.mg-home-section--loading.mg-home-section--cards { min-height: 500px; }
.mg-home-section--loading.mg-home-section--list { min-height: 360px; }
@media (min-width: 992px) {
  .mg-home-lead--loading { min-height: 640px; }
  .mg-home-section--loading.mg-home-section--cards { min-height: 380px; }
}

/* ── Header ───────────────────────────────────────────────────────────────── */

.mg-header { background: var(--mg-bg); border-bottom: 1px solid var(--mg-line); position: relative; z-index: 20; }
.mg-header--sticky { position: sticky; top: 0; }

.mg-header__bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 60px;
}
.mg-header__menu-button { margin-left: -10px; }
.mg-header__search-button { margin-right: -10px; justify-self: end; }

.mg-logo { display: inline-flex; align-items: center; justify-self: center; min-height: 44px; }
/* A configured logo width (shared.header.logo.width) sets the box; the image keeps its shape at its left edge. */
.mg-logo__image { display: block; height: 28px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; }
.mg-logo__text { font-family: var(--mg-font-heading); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }

.mg-search { display: none; grid-column: 1 / -1; padding-bottom: 12px; }
.mg-search--open { display: flex; }
.mg-search__input {
  flex: 1 1 auto; min-width: 0; min-height: 44px;
  padding: 10px 14px; font: inherit; font-size: 15px; color: var(--mg-text);
  background: var(--mg-bg);
  border: 1px solid var(--mg-control); border-right: 0;
  border-radius: var(--mg-radius) 0 0 var(--mg-radius);
}
.mg-search__input::placeholder { color: var(--mg-muted); }
.mg-search__input:focus-visible { outline-offset: -2px; }
.mg-search__button {
  flex: none; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 0 var(--mg-radius) var(--mg-radius) 0;
  background: var(--mg-accent); color: var(--mg-on-accent);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}

.mg-nav { display: none; border-top: 1px solid color-mix(in srgb, var(--mg-line) 60%, var(--mg-bg)); }

/* The phone strip of top-level items */
.mg-strip { border-top: 1px solid color-mix(in srgb, var(--mg-line) 60%, var(--mg-bg)); overflow-x: auto; scrollbar-width: none; }
.mg-strip::-webkit-scrollbar { display: none; }
.mg-strip__list { display: flex; gap: 22px; padding-inline: var(--mg-gutter); white-space: nowrap; width: max-content; }
.mg-strip__link {
  display: block; padding: 11px 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.mg-strip__link--active { color: var(--mg-accent); border-bottom-color: var(--mg-accent); }

@media (min-width: 992px) {
  .mg-header__bar { grid-template-columns: auto minmax(0, 1fr); min-height: var(--mg-header-height); gap: 24px; }
  .mg-header__menu-button, .mg-header__search-button { display: none; }
  .mg-logo { justify-self: start; }
  .mg-logo__image { height: var(--magazine-logo-height, 32px); max-width: 260px; }
  .mg-search, .mg-search--open { display: flex; grid-column: auto; justify-self: end; padding: 0; width: min(100%, 340px); }
  .mg-nav { display: block; }
  .mg-strip { display: none; }
}

/* Menu bar (992px+) */
.mg-nav__list { display: flex; flex-wrap: wrap; gap: 4px 30px; }
.mg-nav__item { position: relative; display: flex; }
.mg-nav__trigger { display: flex; align-items: center; gap: 2px; }
.mg-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 0 11px;
  font: inherit; font-size: var(--mg-nav-size); font-weight: var(--mg-nav-weight); letter-spacing: var(--mg-nav-spacing); text-transform: var(--mg-nav-transform);
  color: var(--mg-nav-color); background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
}
.mg-nav__link:hover { color: var(--mg-accent); }
.mg-nav__link--active { color: var(--mg-accent); border-bottom-color: var(--mg-accent); }
.mg-nav__chevron {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-right: -10px; padding: 0;
  background: none; border: 0; border-radius: 4px; color: var(--mg-text); cursor: pointer;
}
.mg-nav__chevron:hover { background: var(--mg-surface); }
.mg-nav__chevron[aria-expanded="true"] .mg-icon, .mg-nav__toggle[aria-expanded="true"] .mg-icon { transform: rotate(180deg); }
.mg-nav__menu {
  position: absolute; top: 100%; left: -16px; z-index: 30;
  min-width: 220px; padding: 8px 0;
  background: var(--mg-bg); border: 1px solid var(--mg-line); border-radius: var(--mg-radius);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--mg-text) 14%, transparent);
}
.mg-nav__menu[hidden] { display: none; }
.mg-nav__menu-link { display: block; padding: 9px 16px; font-size: 15px; }
.mg-nav__menu-link:hover { background: var(--mg-surface); color: var(--mg-accent); }

/* Phone menu panel */
.mg-drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; pointer-events: none; }
.mg-drawer--open { visibility: visible; pointer-events: auto; }
.mg-drawer__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--mg-text) 45%, transparent); opacity: 0; transition: opacity .2s; }
.mg-drawer--open .mg-drawer__backdrop { opacity: 1; }
.mg-drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(86vw, 340px);
  padding: 8px 20px 32px; overflow-y: auto;
  background: var(--mg-bg); transform: translateX(-100%); transition: transform .25s ease;
}
.mg-drawer--open .mg-drawer__panel { transform: none; }
.mg-drawer__top { display: flex; justify-content: flex-end; margin-right: -10px; }
.mg-drawer__list > li { border-bottom: 1px solid var(--mg-line); }
.mg-drawer__link { display: block; padding: 13px 0; font-weight: 700; font-size: 16px; }
.mg-drawer__sublist { padding: 0 0 10px 14px; }
.mg-drawer__sublink { display: block; padding: 9px 0; font-size: 15px; color: var(--mg-soft); }
@media (prefers-reduced-motion: reduce) { .mg-drawer__panel, .mg-drawer__backdrop { transition: none; } }

/* ── Stories ──────────────────────────────────────────────────────────────── */

.mg-story { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mg-story__media { display: block; overflow: hidden; border-radius: 4px; background: var(--mg-surface); }
.mg-story__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mg-story:hover .mg-story__image { transform: scale(1.03); }
.mg-story__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mg-story__title { font-family: var(--mg-font-heading); font-weight: 700; font-size: 18px; line-height: 1.25; }
.mg-story:hover .mg-story__title { color: var(--mg-accent); }
.mg-story__excerpt { color: var(--mg-soft); font-size: 16px; }
.mg-story__date { color: var(--mg-muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .mg-story__image { transition: none; } .mg-story:hover .mg-story__image { transform: none; } }

.mg-story--card .mg-story__media { aspect-ratio: 3 / 2; }

.mg-story--lead { gap: 14px; }
.mg-story--lead .mg-story__media { aspect-ratio: 4 / 3; border-radius: var(--mg-radius); }
.mg-story--lead .mg-story__title { font-weight: 800; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.08; letter-spacing: -.01em; }
.mg-story--lead .mg-story__excerpt { font-size: 17px; max-width: 62ch; }
@media (min-width: 768px) { .mg-story--lead .mg-story__media { aspect-ratio: 16 / 9; } }

.mg-story--row, .mg-story--compact {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start;
}
.mg-story--row .mg-story__media { aspect-ratio: 4 / 3; }
.mg-story--row .mg-story__title { font-size: 16px; }
@media (min-width: 768px) {
  .mg-story--row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .mg-story--row .mg-story__title { font-size: 17px; }
}
.mg-story--compact { grid-template-columns: 88px minmax(0, 1fr); }
.mg-story--compact .mg-story__media { aspect-ratio: 4 / 3; }
.mg-story--compact .mg-story__title { font-size: 15px; line-height: 1.3; }
.mg-story--no-image.mg-story--row, .mg-story--no-image.mg-story--compact { display: flex; }

.mg-story--text .mg-story__title { font-size: 17px; line-height: 1.3; }

.mg-story-list > li { border-bottom: 1px solid var(--mg-line); padding-block: 14px; }

.mg-card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
/* Homepage category cards stay two to a row on phones, with smaller headlines. */
.mg-card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.mg-card-grid--4 .mg-story__title { font-size: 15px; }
@media (min-width: 768px) { .mg-card-grid--4 .mg-story__title { font-size: 18px; } }
@media (min-width: 576px) { .mg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 992px) {
  .mg-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; }
  .mg-card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

.mg-list-title, .mg-rail-list__title {
  font-family: var(--mg-font-heading); font-size: 14px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 2px solid var(--mg-text);
}

/* ── Homepage ─────────────────────────────────────────────────────────────── */

.mg-home { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .mg-home { gap: var(--magazine-section-gap, 56px); } }

.mg-home-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 992px) { .mg-home-lead { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; } }

.mg-home-section { display: flex; flex-direction: column; gap: 20px; }
.mg-home-section--list { gap: 4px; }
.mg-home-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 768px) { .mg-home-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

.mg-section-header {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  border-top: 4px solid var(--mg-accent); padding-top: 12px;
}
.mg-section-header__title { font-family: var(--mg-font-heading); font-weight: 800; font-size: 23px; line-height: 1.2; }
.mg-section-header--large .mg-section-header__title { font-size: clamp(23px, 2.6vw, 28px); }
.mg-section-header__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--mg-accent);
}
.mg-section-header__link:hover { text-decoration: underline; }

.mg-more { display: flex; justify-content: center; }
.mg-more .mg-button { width: 100%; }
@media (min-width: 576px) { .mg-more .mg-button { width: auto; padding-inline: 28px; } }

.mg-ad-row { display: flex; justify-content: center; }
.mg-ad { max-width: 100%; overflow: hidden; }
.mg-ad:empty { display: none; }

/* ── Two columns: content and rail ────────────────────────────────────────── */

.mg-columns { display: flex; flex-wrap: wrap; gap: 40px var(--magazine-columns-gap, 56px); align-items: flex-start; }
.mg-columns__content { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.mg-sidebar { flex: 1 1 var(--magazine-rail-width, 300px); max-width: 100%; display: flex; flex-direction: column; gap: var(--magazine-rail-gap, 28px); align-self: stretch; }
@media (min-width: 992px) { .mg-sidebar { max-width: var(--magazine-rail-width, 300px); } }
.mg-sidebar__item { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.mg-sidebar__item > * { width: 100%; }
.mg-sidebar__item--sticky { position: sticky; top: 16px; }
.mg-header--sticky ~ .mg-main .mg-sidebar__item--sticky { top: 150px; }
.mg-rail-list__items > li { border-bottom: 1px solid var(--mg-line); padding-block: 12px; }

/* ── Listing pages ────────────────────────────────────────────────────────── */

.mg-page-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--mg-line); }
.mg-page-title { font-family: var(--mg-font-heading); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.02; letter-spacing: -.015em; }
.mg-page-title--small { font-size: clamp(26px, 3.4vw, 36px); }

.mg-breadcrumbs.breadcrumbs { margin: 0; padding: 0; background: none; font-size: 13px; color: var(--mg-muted); }
.mg-breadcrumbs .breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.mg-breadcrumbs .breadcrumbs__item { display: inline-flex; gap: 8px; align-items: center; min-width: 0; }
.mg-breadcrumbs .breadcrumbs__link { color: var(--mg-soft); }
.mg-breadcrumbs .breadcrumbs__link:hover { color: var(--mg-accent); text-decoration: underline; }
.mg-breadcrumbs .breadcrumbs__current { color: var(--mg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.mg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mg-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--mg-control); border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--mg-bg);
}
.mg-chip:hover { border-color: var(--mg-accent); color: var(--mg-accent); }
.mg-chip--active, .mg-chip--active:hover { background: var(--mg-accent); border-color: var(--mg-accent); color: var(--mg-on-accent); }

.mg-listing { display: flex; flex-direction: column; gap: 36px; }
.mg-listing > .mg-story--lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 768px) {
  .mg-listing > .mg-story--lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .mg-listing > .mg-story--lead .mg-story__media { aspect-ratio: 4 / 3; }
  .mg-listing > .mg-story--lead .mg-story__title { font-size: clamp(26px, 2.6vw, 32px); }
  .mg-listing > .mg-story--lead.mg-story--no-image { display: flex; }
}

.mg-pager { display: flex; justify-content: center; padding-top: 8px; }
.mg-pagination.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; }
.mg-pagination .pagination__pages { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-pagination .pagination__chip,
.mg-pagination .pagination__control {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--mg-control); border-radius: var(--mg-radius);
  background: var(--mg-bg); color: var(--mg-text);
  font: inherit; font-size: 15px; font-weight: 600;
}
.mg-pagination .pagination__control svg { color: currentColor; }
.mg-pagination .pagination__chip:hover,
.mg-pagination .pagination__control:hover:not(:disabled) { border-color: var(--mg-accent); color: var(--mg-accent); background: var(--mg-bg); }
.mg-pagination .pagination__chip--active,
.mg-pagination .pagination__chip--active:hover { background: var(--mg-accent); border-color: var(--mg-accent); color: var(--mg-on-accent); }
.mg-pagination .pagination__control:disabled, .mg-pagination .pagination__control[aria-disabled="true"] { opacity: .4; cursor: default; }
.mg-pagination .pagination__ellipsis { color: var(--mg-muted); padding: 0 4px; }

/* ── Article ──────────────────────────────────────────────────────────────── */

.mg-article { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mg-article__kicker { margin-top: 6px; align-self: flex-start; }
.mg-article__kicker:hover { text-decoration: underline; }
.mg-article__title { font-family: var(--mg-font-heading); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.07; letter-spacing: -.015em; max-width: 24ch; }
.mg-article__summary { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.5; color: var(--mg-soft); max-width: 60ch; }

.mg-byline { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-block: 1px solid var(--mg-line); font-size: 14px; }
.mg-byline__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.mg-byline__avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--mg-accent) 12%, var(--mg-bg)); color: var(--mg-accent); font-weight: 700;
}
.mg-byline__text { display: flex; flex-direction: column; }
.mg-byline__name { font-weight: 700; }
.mg-byline__date { color: var(--mg-muted); }

.mg-article__hero { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--mg-radius); margin-top: 4px; background: var(--mg-surface); }
.mg-article__disclosure { font-size: 15px; }
.mg-article__ad { display: flex; justify-content: center; margin-top: 12px; }

/* CMS HTML (articles and static pages) */
.mg-prose { font-family: var(--mg-font-article); font-size: 18px; line-height: 1.7; color: color-mix(in srgb, var(--mg-text) 92%, var(--mg-bg)); max-width: 68ch; overflow-wrap: anywhere; }
@media (min-width: 768px) { .mg-prose { font-size: 19px; } }
.mg-prose > * + * { margin-top: 1.05em; }
.mg-prose p, .mg-prose ul, .mg-prose ol, .mg-prose figure, .mg-prose table, .mg-prose blockquote { margin-block: 0; }
.mg-prose * + p, .mg-prose * + ul, .mg-prose * + ol { margin-top: 1.05em; }
.mg-prose h2, .mg-prose h3, .mg-prose h4 { font-family: var(--mg-font-heading); color: var(--mg-text); line-height: 1.22; margin-top: 1.6em; margin-bottom: 0; }
.mg-prose h2 { font-size: clamp(24px, 2.4vw, 28px); font-weight: 800; }
.mg-prose h3 { font-size: clamp(20px, 2vw, 22px); font-weight: 700; }
.mg-prose h4 { font-size: 18px; font-weight: 700; }
.mg-prose .mg-faq-question { font-size: 19px; font-weight: 700; }
.mg-prose ul, .mg-prose ol { padding-left: 1.3em; list-style: revert; }
.mg-prose li + li { margin-top: .4em; }
.mg-prose a { color: var(--mg-accent); text-decoration: underline; text-underline-offset: 2px; }
.mg-prose img { height: auto; border-radius: 4px; }
.mg-prose figure { max-width: 100%; overflow-x: auto; }
.mg-prose blockquote { padding-left: 18px; border-left: 3px solid var(--mg-accent); font-style: italic; }
.mg-prose table { width: 100%; border-collapse: collapse; font-family: var(--mg-font-body); font-size: 15px; line-height: 1.45; display: block; overflow-x: auto; }
.mg-prose th, .mg-prose td { border: 1px solid var(--mg-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.mg-prose th { background: var(--mg-surface); }
.mg-prose--doc { font-family: var(--mg-font-body); font-size: 16px; line-height: 1.65; }

/* ── Static pages, sitemap, not found ─────────────────────────────────────── */

/* The shared contact form (atoms/ContactForm) in the magazine look: fields full width,
   "w-1/2" fields paired from 768px, 44px controls, the submit button in the accent colour. */
.mg-contact-form { --color-button-primary: var(--mg-accent); --color-knockout: var(--mg-on-accent); }
.mg-contact-form > div > div { box-shadow: none; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); padding: 20px; }
.mg-contact-form form > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; }
.mg-contact-form form > div > div { width: auto; padding: 0; margin: 0; }
@media (min-width: 768px) {
  .mg-contact-form > div > div { padding: 28px; }
  .mg-contact-form form > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-contact-form form > div > div { grid-column: 1 / -1; }
  .mg-contact-form form > div > div[class*="w-1/2"] { grid-column: auto; }
}
.mg-contact-form input, .mg-contact-form textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--mg-text);
  background: var(--mg-bg); border: 1px solid var(--mg-control); border-radius: var(--mg-radius);
}
.mg-contact-form textarea { min-height: 140px; }
.mg-contact-form input::placeholder, .mg-contact-form textarea::placeholder { color: var(--mg-muted); }
.mg-contact-form button[type="submit"] { min-height: 44px; padding-inline: 28px; font-size: 15px; border-radius: var(--mg-radius); }

.mg-doc { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.mg-sitemap section { display: flex; flex-direction: column; gap: 12px; }
.mg-sitemap__heading { font-family: var(--mg-font-heading); font-size: 22px; font-weight: 800; }
.mg-sitemap__list { display: grid; gap: 6px; }
.mg-sitemap__list ul { padding: 6px 0 4px 18px; display: grid; gap: 6px; }
.mg-sitemap__list a { color: var(--mg-accent); }
.mg-sitemap__list a:hover { text-decoration: underline; }

.mg-notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 48px 24px; max-width: 640px; }
.mg-notfound p { font-size: 18px; color: var(--mg-soft); }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.mg-footer { background: var(--mg-surface); border-top: 1px solid var(--mg-line); }
.mg-footer__inner { display: flex; flex-direction: column; gap: 28px; padding-block: 36px 24px; }
@media (min-width: 768px) { .mg-footer__inner { padding-top: 48px; gap: 32px; } }
.mg-footer__columns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.mg-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.mg-logo--footer { justify-self: start; }
.mg-logo--footer .mg-logo__image { height: 28px; }
.mg-footer__description { font-size: 14px; color: var(--mg-soft); }
.mg-footer__group { display: flex; flex-direction: column; gap: 10px; }
.mg-footer__social .footer__social { display: flex; gap: 10px; }
.mg-footer__social .footer__social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--mg-accent); color: var(--mg-on-accent);
}
.mg-footer__social .footer__social-link:hover { filter: brightness(1.12); }
.mg-footer__social .footer__social-icon { width: 18px; height: 18px; }
.mg-footer__heading { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mg-muted); }
.mg-footer__list { display: grid; gap: 2px 40px; font-size: 15px; }
.mg-footer__list--two { grid-template-columns: repeat(2, minmax(0, auto)); }
.mg-footer__link { display: inline-block; padding-block: 6px; }
.mg-footer__link:hover { color: var(--mg-accent); text-decoration: underline; }
.mg-footer__legal { padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--mg-line) 70%, var(--mg-text) 6%); font-size: 13px; color: var(--mg-muted); display: grid; gap: 6px; }

/* ── Shop ─────────────────────────────────────────────────────────────────── */

.mg-shop { display: flex; flex-direction: column; gap: 40px; padding-top: 28px; }
.mg-shop-head { border-bottom: 1px solid var(--mg-line); }
.mg-shop-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.mg-shop-search { display: flex; width: min(100%, 460px); }
.mg-shop-more { position: relative; }
.mg-shop-nav-placeholder { min-height: 140px; }
@media (min-width: 768px) { .mg-shop-nav-placeholder { min-height: 90px; } }
@media (min-width: 1200px) { .mg-shop-nav-placeholder { min-height: 40px; } }
.mg-shop-more summary { list-style: none; cursor: pointer; gap: 6px; }
.mg-shop-more summary::-webkit-details-marker { display: none; }
.mg-shop-more[open] summary .mg-icon, .mg-shop-more details[open] summary .mg-icon { transform: rotate(180deg); }

.mg-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 768px) { .mg-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.mg-tiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .mg-tiles__grid { gap: 24px; } }
.mg-tile { display: flex; flex-direction: column; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); overflow: hidden; background: var(--mg-bg); }
.mg-tile__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; padding: 16px; }
.mg-tile__media img { max-height: 100%; object-fit: contain; }
.mg-tile__label { padding: 10px 12px; text-align: center; font-weight: 600; border-top: 1px solid var(--mg-line); }
.mg-tile--large .mg-tile__media { flex: 1 1 auto; }
.mg-tile--large .mg-tile__label { background: var(--mg-accent); color: var(--mg-on-accent); border: 0; font-family: var(--mg-font-heading); font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mg-tile:hover { border-color: var(--mg-accent); }

.mg-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 576px) { .mg-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mg-brands { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }
.mg-brand { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 14px; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); background: var(--mg-bg); }
.mg-brand img { max-height: 100%; object-fit: contain; }
.mg-brand__name { font-family: var(--mg-font-heading); font-weight: 700; font-size: 17px; text-align: center; }
.mg-brand:hover { border-color: var(--mg-accent); }

.mg-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
@media (min-width: 992px) { .mg-shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; } }
.mg-filters { display: flex; flex-direction: column; gap: 12px; }
.mg-filter { border: 1px solid var(--mg-line); border-radius: var(--mg-radius); }
.mg-filter__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.mg-filter__clear { background: none; border: 0; padding: 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--mg-accent); cursor: pointer; }
.mg-filter__list { max-height: 300px; overflow-y: auto; padding: 0 14px 12px; display: grid; gap: 2px; }
.mg-filter__item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mg-filter__item input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--mg-accent); }
.mg-filter__item label { flex: 1 1 auto; min-height: 32px; display: flex; align-items: center; gap: 4px; padding-block: 4px; cursor: pointer; }
.mg-filter__count { color: var(--mg-muted); }

.mg-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 768px) { .mg-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
.mg-shop-layout__results { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.mg-product { display: flex; flex-direction: column; gap: 10px; }
.mg-product__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 12px; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); background: var(--mg-bg); }
.mg-product__media img { max-height: 100%; object-fit: contain; }
.mg-product__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mg-product__title { font-family: var(--mg-font-heading); font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-product:hover .mg-product__title { color: var(--mg-accent); }
.mg-product__price { font-weight: 700; }

.mg-product-detail { display: flex; flex-direction: column; gap: 28px; }
.mg-product-detail__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 768px) { .mg-product-detail__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.mg-product-detail__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 20px; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); }
.mg-product-detail__media img { max-height: 100%; object-fit: contain; }
.mg-product-detail__info { display: flex; flex-direction: column; gap: 16px; }
.mg-product-detail__title { font-family: var(--mg-font-heading); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.mg-product-detail__value { font-weight: 600; color: var(--mg-muted); font-size: .7em; }
.mg-product-detail__price { font-size: 26px; font-weight: 800; }
.mg-product-detail__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; }
.mg-product-detail__facts dt { color: var(--mg-muted); }
.mg-product-detail__facts dd { margin: 0; }
.mg-product-detail__facts a { color: var(--mg-accent); text-decoration: underline; }
.mg-product-detail__buy { align-self: flex-start; padding-inline: 32px; }
.mg-product-detail__section { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--mg-accent); padding-top: 12px; max-width: 820px; }
.mg-specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.mg-specs th, .mg-specs td { border: 1px solid var(--mg-line); padding: 8px 12px; text-align: left; vertical-align: top; }
.mg-specs th { width: 36%; background: var(--mg-surface); font-weight: 600; }


/* ── Portal-look home sections: HeroBanner, TrendingCarousel, ArticleMosaic, FeaturePanel ── */

.mg-main--bleed { padding-block: 0; }
.mg-home--padded { padding-block: 40px 56px; }

.mg-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mg-accent) 12%, var(--mg-bg)), var(--mg-bg)) center / cover no-repeat;
}
.mg-hero__inner { display: grid; justify-items: center; gap: 16px; padding-block: 48px 88px; text-align: center; }
.mg-hero__title { max-width: 820px; font-family: var(--mg-font-heading); font-weight: 700; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.2; color: var(--mg-accent); }
.mg-hero__text { max-width: 720px; font-size: 17px; line-height: 1.6; color: var(--mg-muted); }
.mg-hero__wave { position: absolute; inset: auto 0 -1px 0; width: 100%; height: 56px; fill: var(--mg-bg); }

.mg-trending, .mg-mosaic { display: grid; gap: 24px; }
.mg-trending .mg-section-header, .mg-mosaic .mg-section-header { justify-content: center; border-top: 0; padding-top: 0; }
.mg-trending .mg-section-header__title, .mg-mosaic .mg-section-header__title {
  position: relative; padding-bottom: 12px; text-align: center;
  font-family: var(--mg-font-heading); color: var(--mg-accent);
}
.mg-trending .mg-section-header__title::after, .mg-mosaic .mg-section-header__title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 120px; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--mg-line) 0 30%, var(--mg-accent-2) 30% 70%, var(--mg-line) 70%);
}

.mg-trending__row { display: grid; gap: 24px; }
@media (min-width: 992px) { .mg-trending__row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; } }
.mg-trending__main { display: grid; gap: 16px; justify-items: center; }
.mg-trending__story { display: grid; width: 100%; background: var(--mg-bg); box-shadow: 0 1px 8px rgb(0 0 0 / .08); }
@media (min-width: 768px) { .mg-trending__story { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.mg-trending__image { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.mg-trending__body { display: grid; gap: 12px; padding: 20px 24px; }
.mg-trending__title { font-family: var(--mg-font-heading); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: var(--mg-accent); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-trending__excerpt { font-size: 14px; color: var(--mg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-trending__controls { display: flex; gap: 10px; }
.mg-trending__arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--mg-accent-2); background: transparent; color: var(--mg-accent-2); cursor: pointer;
}
.mg-trending__arrow:hover { background: var(--mg-accent-2); color: var(--mg-on-accent); }
.mg-trending__ad { display: flex; justify-content: center; }

.mg-mosaic__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; }
@media (min-width: 992px) { .mg-mosaic__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-tile { display: flex; flex-direction: column; min-width: 0; background: var(--mg-bg); box-shadow: 0 1px 8px rgb(0 0 0 / .08); }
.mg-tile--big { grid-column: span 2; grid-row: span 2; }
.mg-tile__image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mg-tile--big .mg-tile__image { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.mg-tile__body { display: grid; gap: 8px; padding: 14px 16px 18px; align-content: start; }
.mg-tile__title { font-family: var(--mg-font-heading); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--mg-accent-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mg-tile--big .mg-tile__title { font-size: clamp(20px, 2.4vw, 26px); color: var(--mg-accent); -webkit-line-clamp: 3; }
.mg-tile__excerpt { font-size: 13px; color: var(--mg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-tile:hover .mg-tile__title { text-decoration: underline; }

.mg-feature { background: linear-gradient(110deg, #000 0%, color-mix(in srgb, var(--mg-accent) 55%, #000) 70%, var(--mg-accent) 100%); color: #fff; }
.mg-feature__inner { display: grid; gap: 28px; padding-block: 48px; }
@media (min-width: 992px) { .mg-feature__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.mg-feature__copy { display: grid; gap: 16px; justify-items: start; }
.mg-feature__title { position: relative; padding-bottom: 12px; font-family: var(--mg-font-heading); font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; }
.mg-feature__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 120px; height: 2px; background: var(--mg-accent-2); }
.mg-feature__text { font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .86); }
.mg-feature__button { border-color: var(--mg-accent-2); background: var(--mg-accent-2); }
.mg-feature__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .mg-feature__chips { display: flex; flex-wrap: wrap; justify-content: center; } .mg-feature__chip { min-width: 180px; } }
.mg-feature__chip {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; text-align: center;
  border: 2px solid rgb(255 255 255 / .55); background: #fdf3f6; color: var(--mg-accent); font-size: 13px; font-weight: 600;
  box-shadow: 0 0 0 3px rgb(255 255 255 / .12);
}
.mg-feature__chip:hover { background: #fff; border-color: #fff; }

/* ── Footer with link columns and a newsletter box ──────────────────────── */

.mg-footer--columns .mg-footer__inner { padding-block: 40px 28px; }
.mg-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 992px) { .mg-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); } }
.mg-footer__heading--ruled {
  position: relative; padding-bottom: 12px; border-bottom: 1px solid var(--mg-line);
  font-family: var(--mg-font-heading); font-size: 19px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--mg-accent);
}
.mg-footer__heading--ruled::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 60px; height: 2px; background: var(--mg-accent); }
.mg-footer__heading--plain { font-family: var(--mg-font-heading); font-size: 19px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--mg-accent); }
.mg-footer__list--arrows .mg-footer__link { padding-left: 24px; position: relative; font-size: 14px; font-weight: 500; color: var(--mg-accent); }
.mg-footer__list--arrows .mg-footer__link::before { content: ''; position: absolute; left: 3px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.mg-footer__group--newsletter { gap: 16px; }
.mg-footer__follow { display: grid; gap: 10px; }
.mg-footer__follow .footer__social-link { border: 1px solid var(--mg-accent); background: transparent; color: var(--mg-accent-2); border-radius: 0; }
.mg-newsletter { display: grid; gap: 12px; }
.mg-newsletter__text { font-size: 15px; color: var(--mg-muted); }
.mg-newsletter__form { display: flex; max-width: 460px; }
.mg-newsletter__input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--mg-line); border-right: 0; background: #fff; font: inherit; font-size: 14px; }
.mg-newsletter__button { height: 46px; padding: 0 22px; border: 0; background: var(--mg-accent-2); color: var(--mg-on-accent); font: inherit; font-weight: 700; cursor: pointer; }
.mg-newsletter__button:disabled { opacity: .7; cursor: default; }
.mg-newsletter__message { font-size: 14px; }
.mg-newsletter__message--done { color: #1b7a3d; }
.mg-newsletter__message--error { color: var(--mg-accent-2); }
.mg-footer__bar { padding: 12px var(--mg-gutter); background: var(--mg-accent); color: var(--mg-on-accent); text-align: center; font-size: 15px; font-weight: 500; }
.mg-footer__bar p + p { margin-top: 4px; font-size: 13px; opacity: .85; }

/* ── Mega menu: a bordered card under its item; tabs on the left, the links on the right ── */

.mg-nav__item--mega { position: relative; }
.mg-mega {
  position: absolute; left: -15px; top: calc(100% - 1px); z-index: 40;
  display: grid; gap: 16px; padding: 16px;
  background: #f8f9fa; border: 1px solid #ddd;
}
.mg-mega--list { width: 500px; }
.mg-mega--tabs { width: 600px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.mg-mega[hidden] { display: none; }
.mg-mega__tabs { display: grid; gap: 4px; align-content: start; }
.mg-mega__tab { display: block; width: 100%; padding: 8px 8px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--mg-accent); cursor: pointer; }
.mg-mega__tab--active { background: #fff; }
.mg-mega__tab:hover { background: #fff; }
.mg-mega__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; align-content: start; }
.mg-mega--list .mg-mega__links { display: block; column-count: 2; column-gap: 16px; }
.mg-mega--list .mg-mega__links > li { break-inside: avoid; }
.mg-mega__link { display: block; padding: 11px 0 10px; border-bottom: 1px solid #aaa; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--mg-accent); }
.mg-mega--tabs .mg-mega__link { font-weight: 600; }
.mg-mega__link:hover { text-decoration: underline; }
.mg-mega__all-item { padding-top: 10px; }
.mg-mega__all { display: inline-block; padding: 8px 17px; background: var(--mg-accent); color: var(--mg-on-accent); font-size: 17px; font-weight: 600; line-height: 1.5; }
.mg-mega__all:hover { filter: brightness(1.15); }

/* ── Category page: banner, subcategory tiles, A-Z list ──────────────────── */

.mg-banner { background: var(--mg-accent-2); color: var(--mg-on-accent); }
.mg-banner__inner { display: grid; justify-items: center; gap: 18px; padding-block: 56px; text-align: center; }
.mg-banner__title { font-family: var(--mg-font-heading); font-weight: 700; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
.mg-banner__subtitle { max-width: 820px; text-transform: capitalize; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }
.mg-banner-body { padding-block: 16px 64px; }
.mg-banner-body .mg-page-head { border-bottom: 0; padding-bottom: 20px; }

.mg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; padding-top: 32px; }
@media (min-width: 768px) { .mg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mg-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mg-tiles__tile {
  position: relative; display: grid; place-items: end center; min-height: 100px; padding: 38px 12px 18px;
  background: var(--mg-bg); border-radius: 26px; box-shadow: 0 4px 14px rgb(0 0 0 / .08);
  font-size: 18px; color: var(--mg-accent); text-align: center;
}
.mg-tiles__tile:hover { box-shadow: 0 6px 18px rgb(0 0 0 / .16); }
.mg-tiles__icon { position: absolute; left: 50%; top: -20px; display: grid; place-items: center; width: 60px; height: 60px; transform: translateX(-50%); border-radius: 50%; background: var(--mg-accent-2); color: var(--mg-on-accent); }

.mg-alpha { display: grid; gap: 28px; }
.mg-alpha__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mg-alpha__letter {
  min-width: 35px; height: 35px; padding: 0 10px; border: 1px solid var(--mg-line); border-radius: 4px;
  background: #efefef; color: var(--mg-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.mg-alpha__letter:hover:not(:disabled) { border-color: var(--mg-accent); }
.mg-alpha__letter:disabled { opacity: .45; cursor: default; }
.mg-alpha__letter--active { background: var(--mg-accent); border-color: var(--mg-accent); color: var(--mg-on-accent); }
.mg-alpha__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
@media (min-width: 768px) { .mg-alpha--list .mg-alpha__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mg-alpha--list .mg-alpha__link { position: relative; display: block; padding: 10px 0 10px 24px; font-size: 14px; font-weight: 600; color: #555; }
.mg-alpha--list .mg-alpha__link::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 2px solid var(--mg-accent-2); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--mg-bg), inset 0 0 0 6px var(--mg-accent-2); }
.mg-alpha--list .mg-alpha__link:hover { color: var(--mg-accent-2); }
.mg-alpha--cards .mg-alpha__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .mg-alpha--cards .mg-alpha__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mg-alpha--cards .mg-alpha__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 12px; } }
.mg-alpha--cards .mg-alpha__link { display: block; height: 100%; padding: 8px 10px; background: var(--mg-bg); box-shadow: 0 1px 4px rgb(0 0 0 / .14); font-size: 13px; font-weight: 700; color: var(--mg-text); }
.mg-alpha--cards .mg-alpha__link:hover { color: var(--mg-accent-2); }

/* Rail: LinkChips (a titled box of outlined chips) */
.mg-rail-chips { display: grid; gap: 12px; }
.mg-rail-chips__title { font-family: var(--mg-font-heading); font-size: 22px; font-weight: 700; color: var(--mg-accent-2); }
.mg-rail-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-rail-chips__chip { display: inline-block; padding: 4px 12px; border: 1px solid var(--mg-accent); color: var(--mg-accent); font-size: 14px; }
.mg-rail-chips__chip:hover { background: var(--mg-accent); color: var(--mg-on-accent); }

/* ── Header options: shared.header.layout "inline", shared.header.menuButton "always" ── */

@media (min-width: 992px) {
  .mg-header--menu-always .mg-header__menu-button { display: inline-flex; }
  .mg-header--inline .mg-header__bar, .mg-header--menu-always .mg-header__bar { display: flex; gap: 20px; }
  .mg-header--inline .mg-nav--inline { display: block; flex: 1 1 auto; border: 0; }
  .mg-header--inline .mg-nav__list { justify-content: center; gap: 4px 16px; }
  .mg-header--inline .mg-nav__link { padding-block: 10px; border-bottom-width: 0; }
  .mg-header--inline .mg-search { margin-left: auto; flex: none; }
}

/* ── Tab heading ("Recent Post" ... "View More"), rows, hero tiles, link cards ── */

.mg-tabhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--mg-text); }
.mg-tabhead__title { padding: 5px 15px; background: var(--mg-text); color: var(--mg-bg); font-family: var(--mg-font-heading); font-size: 20px; font-weight: 500; letter-spacing: .5px; line-height: 1.3; }
.mg-tabhead__more { padding: 3px 15px; margin-bottom: -4px; font-size: 14px; font-weight: 400; color: var(--mg-text); }
.mg-tabhead__more:hover { color: var(--mg-accent-2); }

.mg-rows { display: grid; margin-top: 10px; }
.mg-rows__item { border-bottom: 1px solid #e6e6e6; }
.mg-rows__item:last-child { border-bottom: 0; }
.mg-rows__link { display: grid; gap: 14px 30px; padding-block: 10px; }
@media (min-width: 768px) { .mg-rows__link { grid-template-columns: minmax(0, 255px) minmax(0, 1fr); } }
.mg-rows__image { display: block; width: 100%; height: 170px; object-fit: cover; }
.mg-rows__body { display: grid; gap: 8px; align-content: start; }
.mg-rows__title { font-family: var(--mg-font-heading); font-size: 20px; font-weight: 700; line-height: 1.3; color: #000; }
.mg-rows__excerpt { font-size: 16px; font-weight: 300; line-height: 1.7; letter-spacing: .5px; color: var(--magazine-rows-text, var(--mg-text)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mg-rows__link:hover .mg-rows__title { color: var(--mg-accent-2); }

.mg-recent { display: grid; gap: 28px; }
.mg-recent__main { display: grid; gap: 4px; align-content: start; }
@media (min-width: 992px) { .mg-recent--aside { grid-template-columns: minmax(0, 1fr) var(--magazine-aside-width, 25%); gap: 30px; } }
.mg-recent__aside { display: grid; gap: 12px; align-content: start; padding-top: 4px; }

.mg-herotiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--mg-bg); }
.mg-herotile { position: relative; display: block; min-height: 245px; overflow: hidden; background: #2f2f2f; }
.mg-herotile__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mg-herotile:hover .mg-herotile__image { transform: scale(1.04); }
.mg-herotile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .9) 100%); }
.mg-herotile__title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 15px;
  font-family: var(--mg-font-heading); font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff; text-shadow: 1px 1px 2px #000;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 768px) {
  .mg-herotiles { grid-template-columns: minmax(0, 364fr) minmax(0, 380fr) minmax(0, 365fr); grid-template-rows: 245px 245px; }
  .mg-herotile--tall { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .mg-herotile__image { transition: none; } .mg-herotile:hover .mg-herotile__image { transform: none; } }

.mg-linkcards { display: grid; gap: 20px; }
.mg-linkcards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
@media (min-width: 992px) { .mg-linkcards__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }
.mg-linkcard { display: block; background: var(--mg-bg); box-shadow: 0 10px 25px -13px rgb(0 0 0 / .35); }
.mg-linkcard__media { display: block; overflow: hidden; background: #333; line-height: 0; }
.mg-linkcard__image { width: 100%; height: 195px; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.mg-linkcard:hover .mg-linkcard__image { transform: scale(1.08); opacity: .5; }
.mg-linkcard__title { display: block; padding: 15px; font-family: var(--mg-font-heading); font-size: 18px; font-weight: 500; line-height: 1.7; color: #333; }

/* ── Category page as rows with a category drop-down ── */

.mg-catrows { display: grid; gap: 20px; }
@media (min-width: 992px) { .mg-catrows--select { grid-template-columns: minmax(0, 255px) minmax(0, 1fr); gap: 30px; } }
.mg-catrows__main { display: grid; gap: 4px; align-content: start; }
.mg-catrows__select { width: 100%; padding: 5px 8px; border: 1px solid var(--mg-text); border-radius: 0; background: var(--mg-bg); color: var(--magazine-control-text, var(--mg-text)); font: inherit; font-size: 14px; align-self: start; }

/* ── Rail: Newsletter box and Follow Us bar ── */

.mg-rail-box { padding: 15px; background: var(--mg-surface); border: 1px solid var(--mg-text); }
.mg-newsletter__title { font-family: var(--mg-font-heading); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--mg-text); }
.mg-rail-box .mg-newsletter__form { flex-direction: column; gap: 16px; max-width: none; }
.mg-rail-box .mg-newsletter__input { border-right: 1px solid var(--mg-line); }
.mg-rail-box .mg-newsletter__button { background: var(--mg-accent); }
.mg-rail-follow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; background: var(--mg-accent); color: var(--mg-on-accent); }
.mg-rail-follow__title { font-family: var(--mg-font-heading); font-size: 22px; font-weight: 600; }
.mg-rail-follow .footer__social-link { background: transparent; color: var(--mg-on-accent); border: 1px solid var(--mg-on-accent); border-radius: 0; }

/* ── Footer colours (theme: --magazine-footer-bg / -text / -heading / -link / -rule / -mark / -bar-bg / -bar-text / -icon / -icon-border) ── */

.mg-footer--columns { background: var(--magazine-footer-bg, var(--mg-surface)); color: var(--magazine-footer-text, inherit); }
.mg-footer--columns .mg-footer__heading--ruled, .mg-footer--columns .mg-footer__heading--plain { color: var(--magazine-footer-heading, var(--mg-accent)); }
.mg-footer--columns .mg-footer__heading--ruled { border-bottom: var(--magazine-footer-rule, 1px solid var(--mg-line)); }
.mg-footer--columns .mg-footer__heading--ruled::after { background: var(--magazine-footer-mark, var(--mg-accent)); }
.mg-footer--columns .mg-footer__list--arrows .mg-footer__link { color: var(--magazine-footer-link, var(--mg-accent)); }
.mg-footer--columns .mg-footer__follow .footer__social-link { border-color: var(--magazine-footer-icon-border, var(--mg-accent)); color: var(--magazine-footer-icon, var(--mg-accent-2)); }
.mg-footer--columns .mg-footer__bar { background: var(--magazine-footer-bar-bg, var(--mg-accent)); color: var(--magazine-footer-bar-text, var(--mg-on-accent)); border-top: var(--magazine-footer-bar-border, 0); }

/* Newsletter box in the rail: the small legacy sizes */
.mg-rail-box { padding: 15px; }
.mg-rail-box .mg-newsletter { gap: 8px; }
.mg-rail-box .mg-newsletter__input { height: 34px; font-size: 13px; }
.mg-rail-box .mg-newsletter__button { height: 36px; font-size: 14px; }
.mg-rail-follow__title { font-size: 20px; }

/* A search box without a button (shared.header.search.button false) */
.mg-search--plain .mg-search__input { border: 1px solid #f0f0f0; border-radius: 0; min-height: 36px; padding: 6px 8px; font-size: 12.6px; font-weight: 300; letter-spacing: .9px; color: #999; }

/* ── shared.footer.compact: the legacy Bootstrap footer's metrics ── */

.mg-footer--compact .mg-footer__inner { padding-block: 20px; gap: 0; }
.mg-footer--compact .mg-footer__group { gap: 0; }
.mg-footer--compact .mg-footer__heading--ruled, .mg-footer--compact .mg-footer__heading--plain {
  margin: 0 0 15px; padding: 0; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .5px; text-transform: capitalize;
}
.mg-footer--compact .mg-footer__list { gap: 5px; }
.mg-footer--compact .mg-footer__list--arrows .mg-footer__link { padding: 0 0 0 18px; font-size: 14px; font-weight: 300; line-height: 1.6; letter-spacing: .5px; }
.mg-footer--compact .mg-footer__list--arrows .mg-footer__link { display: block; }
.mg-footer--compact .mg-footer__list--arrows .mg-footer__link::before {
  left: 0; top: 50%; width: 7px; height: 11px; margin-top: -5px; border: 0; transform: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 11'%3E%3Cpath d='M1 .7 5.8 5.5 1 10.3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 11'%3E%3Cpath d='M1 .7 5.8 5.5 1 10.3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mg-footer--compact .mg-footer__list--arrows .mg-footer__link--mail { display: flex; align-items: center; padding-left: 0; }
.mg-footer--compact .mg-footer__link--mail::before { display: none; }
.mg-footer__mail { flex: none; margin-right: 6px; }
.mg-footer--compact .mg-footer__follow { margin-top: 14px; }
.mg-footer--compact .footer__social-link { width: 28px; height: 28px; }
.mg-footer--compact .footer__social-icon { width: 14px; height: 14px; }
.mg-footer--compact .mg-footer__bar { padding: 14px var(--mg-gutter); font-size: 14px; font-weight: 300; letter-spacing: .5px; }

@media (min-width: 992px) {
  .mg-header--menu-always .mg-header__menu-button { width: 20px; min-width: 20px; margin-left: 0; margin-right: -4px; }
  .mg-header--menu-always .mg-search--plain { width: 330px; }
}
.mg-search--plain .mg-search__input::placeholder { color: #bfbfbf; font-weight: 300; letter-spacing: .9px; }

/* Without a newsletter the footer columns are four equal ones */
@media (min-width: 992px) { .mg-footer__grid--even { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; } }
.mg-main { padding-bottom: var(--magazine-main-bottom, 64px); }

/* ── Article style "legacy" (pages.articleDetails.style): theme --magazine-article-title / -heading / -text / -link / -muted ── */

.mg-article--legacy { gap: 0; }
.mg-article--legacy .mg-article__title { max-width: none; margin-bottom: 20px; font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--magazine-article-title, var(--mg-text)); }
.mg-byline--legacy { padding: 0; margin: 0 0 10px; color: var(--magazine-byline-text, #333); border: 0; gap: 10px; font-size: 14px; font-weight: 300; }
.mg-byline--legacy .mg-byline__avatar { width: 35px; height: 35px; }
.mg-byline__line { margin: 0; line-height: 1.3; }
.mg-byline__author { margin-right: 5px; padding-right: 5px; border-right: 1px solid currentColor; }
.mg-byline--legacy .mg-byline__name { color: var(--magazine-byline-link, #3557ff); font-weight: 300; }
.mg-article--legacy .mg-article__hero { width: auto; max-width: min(800px, calc(100% - 13px)); height: auto; aspect-ratio: auto; margin: 0 0 0 13px; border-radius: 0; background: none; }

.mg-prose--legacy { max-width: none; font-family: var(--mg-font-body); font-size: 14px; font-weight: 300; line-height: 1.8; letter-spacing: .4px; color: var(--magazine-article-text, #333); }
.mg-prose--legacy > * + *, .mg-prose--legacy * + p, .mg-prose--legacy * + ul, .mg-prose--legacy * + ol { margin-top: 0; }
.mg-prose--legacy p { margin-top: 5px; }
.mg-prose--legacy h2, .mg-prose--legacy h3, .mg-prose--legacy h4 { margin-top: 0; font-family: var(--mg-font-body); font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--magazine-article-heading, var(--mg-muted)); }
.mg-prose--legacy h2 { font-size: 32px; }
.mg-prose--legacy h3 { font-size: 28px; }
.mg-prose--legacy h4 { font-size: 24px; }
.mg-prose--legacy ul, .mg-prose--legacy ol { margin-bottom: 16px; padding-left: 40px; line-height: 1.3; letter-spacing: 0; color: var(--magazine-article-heading, var(--mg-muted)); }
.mg-prose--legacy li + li { margin-top: 0; }
.mg-prose--legacy a { color: var(--magazine-article-link, #0c00ff); text-decoration: none; }
.mg-prose--legacy img { border-radius: 0; }

/* ── shared.hoverEffects false: nothing changes when a link or title is hovered (the gallery cards keep their image fade) ── */

.mg-page--no-hover .mg-rows__link:hover .mg-rows__title { color: #000; }
.mg-page--no-hover .mg-tabhead__more:hover { color: var(--mg-text); }
.mg-page--no-hover .mg-footer__link:hover { text-decoration: none; }
.mg-page--no-hover .mg-nav__link:not(.mg-nav__link--active):hover { color: var(--mg-nav-color); }
.mg-page--no-hover .mg-icon-button:hover, .mg-page--no-hover .mg-nav__chevron:hover { background: none; }
.mg-page--no-hover .mg-breadcrumbs .breadcrumbs__link:hover { color: inherit; text-decoration: none; }
.mg-page--no-hover .mg-herotile:hover .mg-herotile__image { transform: none; }
.mg-page--no-hover .footer__social-link:hover { filter: none; }
.mg-page--no-hover .mg-button:hover { filter: none; }

/* Informational pages in the legacy text style */
.mg-doc--legacy { max-width: none; gap: 0; }
.mg-page-title--legacy { margin-bottom: 16px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--magazine-article-title, var(--mg-text)); }
.mg-prose--legacy-doc { line-height: 1.7; letter-spacing: .2px; }
.mg-prose--legacy-doc p { margin: 0 0 16px; }
.mg-prose--legacy-doc ul, .mg-prose--legacy-doc ol { margin: 0 0 16px; padding-left: 40px; line-height: 1.7; letter-spacing: .2px; }
.mg-prose--legacy-doc li { letter-spacing: normal; color: var(--magazine-article-text, #333); }
.mg-prose--legacy-doc a { color: #007bff; }
.mg-prose--legacy-doc strong, .mg-prose--legacy-doc b { font-weight: 400; }
/* The Bootstrap utility classes the legacy page text uses */
.mg-prose--legacy .font-size-14 { font-size: 14px; line-height: 1.7; }
.mg-prose--legacy .font-size-16 { font-size: 16px; line-height: 1.7; }
.mg-prose--legacy .font-size-18 { font-size: 18px; line-height: 1.7; }
.mg-prose--legacy .font-weight-bold { font-weight: 700; }
.mg-prose--legacy .text-black { color: #000; }
.mg-prose--legacy .text-primary { color: #007bff; }
.mg-prose--legacy .mb-0 { margin-bottom: 0; }
.mg-prose--legacy .mb-3 { margin-bottom: 16px; }
.mg-prose--legacy .pl-3 { padding-left: 16px; }
.mg-prose--legacy .terms-list li { font-size: 14px; font-weight: 400; line-height: 1.5; color: #979797; }

/* Contact page (legacy): three info cards, then the form */
.mg-contact-cards { display: grid; gap: 30px; margin-bottom: 20px; }
@media (min-width: 768px) { .mg-contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mg-contact-card { padding: 25px; background: #f9f9f9; border-left: 4px solid #333; }
.mg-contact-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--mg-font-heading); font-size: 18px; font-weight: 700; color: #000; letter-spacing: 0; }
.mg-contact-card p { margin: 0; font-size: 16px; line-height: 1.3; color: #000; letter-spacing: 0; }
.mg-contact-card svg { flex: none; }
.mg-prose--legacy .mg-contact-heading { margin: 0 0 12px; font-family: var(--mg-font-heading); font-size: 26px; font-weight: 700; color: #000; letter-spacing: 0; }
.mg-doc--legacy .mg-contact-form input, .mg-doc--legacy .mg-contact-form textarea { background: #f9f9f9 !important; border: 1px solid #cdcccc !important; border-radius: 0 !important; padding: 12px 16px !important; font-family: var(--mg-font-body); font-size: 14px; min-height: 0; }
.mg-doc--legacy .mg-contact-form input { height: 44px; }
.mg-doc--legacy .mg-contact-form textarea { height: 120px; resize: none; }
.mg-doc--legacy .mg-contact-form ::placeholder { color: #bfbfbf; }
.mg-doc--legacy .mg-contact-form form > div { gap: 15px 30px; }
.mg-doc--legacy .mg-contact-form button[type="submit"] { background: #fff !important; color: #333 !important; border: 1px solid #333; border-radius: 0; padding: 8px 17px; font-family: var(--mg-font-body); font-size: 16px; font-weight: 600; }
.mg-doc--legacy .mg-contact-form button[type="submit"]:hover { opacity: 1; }
.mg-doc--legacy .mg-contact-form > div > div { border: 0; padding: 0; }
.mg-doc--legacy .mg-contact-form .bg-white { background: none; box-shadow: none; padding: 0; border-radius: 0; }
/* ──────────────────────────────────────────────────────────────────────────
   Directory template
   One shared directory layout; each site sets its brand colour in its config
   ("theme"), these values being the defaults (the approved design):
     --dir-accent        brand colour: logo, buttons, current page          (#8518bf)
     --dir-accent-ink    text on the brand colour                           (#fff)
     --dir-accent-soft   chips, tile initials, "View details", current item (#f1eaf7)
   Optional: --dir-text (#1c1a24), --dir-muted (#4a4656), --dir-line (#e6e3ee),
   --dir-surface (#f6f4fa), --dir-bg (#fff), --dir-footer-bg (#1c1a24),
   --dir-font-heading ("Sora"), --dir-font-body ("Inter"),
   --dir-header-bg / --dir-header-ink (header background and its text; default --dir-bg / --dir-text:
   a dark header with a light logo sets e.g. #010e21 / #fff).
   Fonts load from the site's shared.stylesheets (a Google Fonts URL).
   Breakpoints: 768 / 992 / 1200px.
   ────────────────────────────────────────────────────────────────────────── */

.dir-page {
  --d-accent: var(--dir-accent, #8518bf);
  --d-on-accent: var(--dir-accent-ink, #fff);
  --d-soft: var(--dir-accent-soft, #f1eaf7);
  /* Links and text on the soft colour: the accent darkened (#5f0f8c for the default). */
  --d-link: color-mix(in srgb, var(--d-accent) 72%, #000);
  --d-link-hover: color-mix(in srgb, var(--d-accent) 48%, #000);
  --d-text: var(--dir-text, #1c1a24);
  --d-muted: var(--dir-muted, #4a4656);
  --d-subtle: color-mix(in srgb, var(--d-muted) 85%, var(--d-bg));
  --d-line: var(--dir-line, #e6e3ee);
  --d-control: color-mix(in srgb, var(--d-line) 70%, var(--d-muted));
  --d-surface: var(--dir-surface, #f6f4fa);
  --d-bg: var(--dir-bg, #fff);
  --d-footer-bg: var(--dir-footer-bg, #1c1a24);
  --d-footer-text: #e8e5ef;
  --d-footer-muted: #c9c4d4;
  --d-footer-line: #3a3644;
  --d-font-heading: var(--dir-font-heading, "Sora", "Helvetica Neue", Arial, sans-serif);
  --d-font-body: var(--dir-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --d-header-bg: var(--dir-header-bg, var(--d-bg));
  --d-header-ink: var(--dir-header-ink, var(--d-text));
  /* Header links: the site's ink when it sets one (dark header), else the link colour. */
  --d-header-link: var(--dir-header-ink, var(--d-link));
  --d-gutter: 16px;

  background: var(--d-bg);
  color: var(--d-text);
  font-family: var(--d-font-body);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.dir-page *, .dir-page ::before, .dir-page ::after { box-sizing: border-box; }
:where(.dir-page) a { color: var(--d-link); text-decoration: none; }
:where(.dir-page) a:hover { color: var(--d-link-hover); }
:where(.dir-page) img { max-width: 100%; }
.dir-page :focus-visible { outline: 2px solid var(--d-accent); outline-offset: 2px; }
:where(.dir-page) :is(h1, h2, h3) { margin: 0; font-weight: 700; text-wrap: balance; }
:where(.dir-page) ul { margin: 0; padding: 0; list-style: none; }
:where(.dir-page) p { margin: 0; }
@media (min-width: 768px) { .dir-page { --d-gutter: 24px; } }

.dir-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--d-gutter);
}
.dir-main { flex: 1 0 auto; }
.dir-main:focus { outline: none; }
.dir-stack, .dir-columns { padding-block: 20px 56px; }
@media (min-width: 768px) { .dir-stack, .dir-columns { padding-block: 28px 72px; } }
.dir-stack { display: flex; flex-direction: column; gap: 24px; }

.dir-skip {
  position: absolute; left: 8px; top: -48px; z-index: 50;
  padding: 10px 16px; border-radius: 8px;
  background: var(--d-text); color: var(--d-bg); font-weight: 600;
}
.dir-skip:focus { top: 8px; color: var(--d-bg); }

.dir-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ── Buttons, inputs, chips, status ───────────────────────────────────────── */

.dir-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--d-accent); border-radius: 8px;
  background: var(--d-accent); color: var(--d-on-accent);
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none;
}
:where(.dir-page) a.dir-button:hover, .dir-button:hover { color: var(--d-on-accent); filter: brightness(1.08); }
.dir-button--large { min-height: 48px; }
.dir-button--small { padding: 0 16px; }
.dir-button--outline { background: var(--d-bg); border-color: var(--d-control); color: var(--d-text); font-weight: 500; }
:where(.dir-page) a.dir-button--outline:hover, .dir-button--outline:hover { color: var(--d-text); border-color: var(--d-accent); filter: none; }
.dir-detail__actions .dir-button--outline { font-weight: 600; }
.dir-button--soft { background: var(--d-soft); border-color: var(--d-soft); color: var(--d-link); }
:where(.dir-page) a.dir-button--soft:hover { color: var(--d-link-hover); filter: none; }

.dir-icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 8px; color: var(--d-text); cursor: pointer;
}
.dir-icon-button:hover { background: var(--d-surface); }

.dir-link-button { background: none; border: 0; padding: 0; min-height: 32px; color: var(--d-link); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

.dir-input {
  min-height: 44px; min-width: 0; padding: 0 14px;
  border: 1px solid var(--d-control); border-radius: 8px;
  background: var(--d-bg); color: var(--d-text);
  font: inherit; font-size: 16px;
}
.dir-input::placeholder { color: var(--d-subtle); }

.dir-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--d-control); border-radius: 999px;
  background: var(--d-bg); font-weight: 500;
}
:where(.dir-page) a.dir-pill { color: var(--d-text); }
:where(.dir-page) a.dir-pill:hover { border-color: var(--d-accent); color: var(--d-text); }

.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: var(--d-soft); color: var(--d-link);
  font-size: 14px; font-weight: 500;
}
.dir-chip--link { min-height: 40px; padding-inline: 16px; }
.dir-chip--active { background: var(--d-accent); color: var(--d-on-accent); }
:where(.dir-page) a.dir-chip--active:hover { color: var(--d-on-accent); }

.dir-eyebrow { margin: 0; font-family: var(--d-font-body); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--d-muted); }
.dir-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--d-link); }

.dir-status { padding: 32px 0; color: var(--d-muted); display: grid; justify-items: start; gap: 16px; }
.dir-status--notice { padding: 16px 20px; border: 1px solid var(--d-line); border-radius: 12px; background: var(--d-surface); color: var(--d-text); }
/* A page's loading state keeps the footer down, so it doesn't show and then jump (layout shift). */
.dir-loading-block { min-height: 60vh; }

.dir-ad-row { display: flex; justify-content: center; padding-block: 16px; }
.dir-ad { max-width: 100%; overflow: hidden; }
.dir-ad:empty { display: none; }

/* ── Header ───────────────────────────────────────────────────────────────── */

.dir-header { background: var(--d-header-bg); color: var(--d-header-ink); border-bottom: 1px solid var(--d-line); position: relative; z-index: 20; }
.dir-header--sticky { position: sticky; top: 0; }
.dir-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-block: 8px; min-height: 60px; }

.dir-logo { display: inline-flex; align-items: center; min-height: 44px; }
.dir-logo__image { display: block; height: 32px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.dir-logo__text { font-family: var(--d-font-heading); font-weight: 700; font-size: 21px; color: var(--dir-header-ink, var(--d-accent)); }

.dir-nav { display: none; flex: 1 1 320px; }
.dir-nav__list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.dir-nav__link { display: inline-block; padding: 12px 0; font-weight: 500; }
:where(.dir-page) a.dir-nav__link { color: var(--d-header-ink); }
:where(.dir-page) a.dir-nav__link:hover, :where(.dir-page) a.dir-nav__link--active { color: var(--d-header-link); text-decoration-color: currentColor; }
:where(.dir-page) a.dir-nav__link--active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.dir-header__extra { display: none; }
.dir-header__menu-button { margin-left: auto; margin-right: -10px; color: var(--d-header-ink); }
.dir-header__menu-button:hover { background: color-mix(in srgb, var(--d-header-ink) 10%, transparent); }
:where(.dir-page) .dir-header a.dir-pill { background: var(--d-header-bg); color: var(--d-header-ink); border-color: color-mix(in srgb, var(--d-header-ink) 30%, var(--d-header-bg)); }
:where(.dir-page) .dir-header a.dir-pill:hover { border-color: var(--d-accent); }

/* QuickLaunch search box (home and page headers) */
.dir-ql { display: flex; gap: 8px; flex: 1 1 100%; order: 3; padding-bottom: 8px; }
.dir-ql__input { flex: 1 1 200px; }
.dir-ql__button { min-width: 52px; padding: 0; }

.dir-header-search { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; order: 3; padding-bottom: 8px; }
.dir-header-search__what { flex: 2 1 200px; }
.dir-header-search__where { flex: 1 1 160px; }
.dir-header-search__button { min-width: 52px; padding: 0; }

@media (min-width: 768px) {
  .dir-header__bar { padding-block: 16px; gap: 16px 32px; }
  .dir-logo__text { font-size: 24px; }
  .dir-nav { display: block; }
  .dir-header__extra { display: inline-flex; }
  .dir-header__menu-button { display: none; }
  .dir-header-search { flex: 1 1 520px; order: 0; padding: 0; }
  .dir-ql { flex: 0 1 320px; order: 0; padding: 0; }
  .dir-header--results .dir-nav { flex: 0 1 auto; }
}

/* Phone menu */
.dir-drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; pointer-events: none; }
.dir-drawer--open { visibility: visible; pointer-events: auto; }
.dir-drawer__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--d-text) 45%, transparent); opacity: 0; transition: opacity .2s; }
.dir-drawer--open .dir-drawer__backdrop { opacity: 1; }
.dir-drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(86vw, 340px);
  padding: 8px 20px 32px; overflow-y: auto;
  background: var(--d-bg); transform: translateX(100%); transition: transform .25s ease;
}
.dir-drawer--open .dir-drawer__panel { transform: none; }
.dir-drawer__top { display: flex; justify-content: flex-end; margin-right: -10px; }
.dir-drawer__list > li { border-bottom: 1px solid var(--d-line); }
.dir-drawer__link { display: block; padding: 13px 0; font-weight: 600; }
.dir-drawer__sublist { padding: 0 0 10px 14px; }
.dir-drawer__sublink { display: block; padding: 10px 0; font-size: 15px; }
:where(.dir-page) :is(a.dir-drawer__link, a.dir-drawer__sublink) { color: var(--d-text); }
@media (min-width: 768px) { .dir-drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .dir-drawer__panel, .dir-drawer__backdrop { transition: none; } }

/* ── Home ─────────────────────────────────────────────────────────────────── */

.dir-hero { background: var(--d-surface); border-bottom: 1px solid var(--d-line); }
.dir-hero__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 28px; }
.dir-hero__title { font-family: var(--d-font-heading); font-size: 30px; line-height: 1.15; letter-spacing: -.01em; max-width: 760px; }
.dir-hero__subtitle { font-size: 18px; color: var(--d-muted); max-width: 620px; }

.dir-hero-search { display: flex; flex-direction: column; gap: 10px; }
.dir-hero-search__field { display: flex; flex-direction: column; gap: 10px; }
.dir-hero-search__field label { font-size: 13px; font-weight: 600; color: var(--d-muted); }
.dir-hero-search__field input {
  min-height: 48px; padding: 0 14px; min-width: 0;
  border: 1px solid var(--d-control); border-radius: 8px;
  background: var(--d-bg); color: var(--d-text); font: inherit; font-size: 16px;
}
.dir-hero-search__field input::placeholder { color: var(--d-subtle); }
.dir-hero-search__button { min-height: 50px; padding: 0 28px; }
.dir-hero-search__button .dir-icon { display: none; }

@media (min-width: 768px) {
  .dir-hero__inner { gap: 24px; padding-block: 72px 64px; }
  .dir-hero__title { font-size: 48px; line-height: 1.1; }
  .dir-hero-search {
    flex-direction: row; flex-wrap: wrap; gap: 12px;
    max-width: 880px; padding: 12px;
    background: var(--d-bg); border: 1px solid var(--d-control); border-radius: 12px;
  }
  .dir-hero-search__field { gap: 4px; padding: 4px 8px; }
  .dir-hero-search__field--what { flex: 2 1 260px; }
  .dir-hero-search__field--where { flex: 1 1 200px; border-left: 1px solid var(--d-line); }
  .dir-hero-search__field input { min-height: 0; padding: 6px 0; border: 0; border-radius: 0; font-size: 17px; }
  .dir-hero-search__field input:focus-visible { outline-offset: 4px; }
  .dir-hero-search__button { flex: 0 0 auto; min-height: 52px; }
  .dir-hero-search__button .dir-icon { display: inline-block; }
}

.dir-home { display: flex; flex-direction: column; padding-bottom: 40px; }
.dir-home-section { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.dir-home-section--loading { min-height: 420px; }
@media (min-width: 768px) {
  .dir-home { padding-bottom: 72px; }
  .dir-home-section { gap: 20px; padding-top: 40px; }
  .dir-home-section:first-child { padding-top: 56px; }
}

.dir-section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; }
.dir-section-title { font-family: var(--d-font-heading); font-size: 21px; line-height: 1.25; }
.dir-section-header__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 768px) { .dir-section-title { font-size: 26px; } }

/* Category tiles */
.dir-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dir-tile {
  display: flex; align-items: center; gap: 12px; height: 100%;
  min-height: 52px; padding: 10px 14px;
  border: 1px solid var(--d-line); border-radius: 10px;
  font-weight: 500; overflow-wrap: break-word; hyphens: auto;
}
:where(.dir-page) a.dir-tile { color: var(--d-text); }
:where(.dir-page) a.dir-tile:hover { border-color: var(--d-accent); color: var(--d-text); }
/* The label may shrink below its longest word, so a word too long for the tile breaks instead of overflowing. */
.dir-tile__label { min-width: 0; }
.dir-tile__initial {
  display: none; flex: 0 0 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--d-soft); color: var(--d-link);
  font-family: var(--d-font-heading); font-weight: 700;
}
@media (min-width: 768px) {
  /* 200px: room for a long word ("Communications") beside the initial. */
  .dir-tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .dir-tile { min-height: 56px; }
  .dir-tile__initial { display: flex; }
}

/* ── Listings ─────────────────────────────────────────────────────────────── */

.dir-card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 768px) { .dir-card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } }

.dir-listing { border: 1px solid var(--d-line); border-radius: 12px; min-width: 0; }
.dir-listing__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dir-listing__name { font-family: var(--d-font-body); font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
:where(.dir-page) .dir-listing__name a { color: var(--d-text); }
:where(.dir-page) .dir-listing__name a:hover { color: var(--d-link); }
.dir-listing__place { color: var(--d-muted); font-size: 14px; }
.dir-listing__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-weight: 600; }

.dir-listing--card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; }
.dir-listing--result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 16px; }
.dir-listing--result .dir-listing__body { flex: 1 1 280px; }
.dir-listing__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-listing--placeholder { border-color: transparent; background: var(--d-surface); }
/* A result's first photo: a square beside the name (no box without one). */
.dir-listing__media { flex: 0 0 72px; align-self: flex-start; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--d-surface); }
.dir-listing__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-listing--with-image .dir-listing__body { flex-basis: 200px; }
.dir-listing--card.dir-listing--placeholder { min-height: 128px; }
.dir-listing--result.dir-listing--placeholder { min-height: 136px; }
@media (min-width: 768px) {
  .dir-listing__name { font-size: 18px; }
  .dir-listing__place { font-size: 15px; }
  .dir-listing--card { gap: 10px; padding: 20px; }
  .dir-listing--card.dir-listing--placeholder { min-height: 152px; }
  .dir-listing--result { padding: 18px 20px; }
  .dir-listing--result .dir-listing__name { font-size: 19px; }
  .dir-listing--result.dir-listing--placeholder { min-height: 88px; }
  .dir-listing__media { flex-basis: 96px; }
}

/* Results pages */
.dir-results { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .dir-results { gap: 24px; } }
.dir-detail-page { display: flex; flex-direction: column; gap: 24px; }

.dir-breadcrumbs.breadcrumbs { margin: 0; padding: 0; background: none; font-size: 14px; color: var(--d-muted); }
.dir-breadcrumbs .breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.dir-breadcrumbs .breadcrumbs__item { display: inline-flex; gap: 8px; align-items: center; min-width: 0; }
.dir-breadcrumbs .breadcrumbs__link { color: var(--d-link); }
.dir-breadcrumbs .breadcrumbs__link:hover { color: var(--d-link-hover); text-decoration: underline; }
.dir-breadcrumbs .breadcrumbs__current { color: var(--d-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.dir-breadcrumbs .breadcrumbs__separator { color: var(--d-muted); }

.dir-page-head { display: flex; flex-direction: column; gap: 6px; }
.dir-page-title { font-family: var(--d-font-heading); font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
.dir-page-meta { color: var(--d-muted); font-size: 14px; }
@media (min-width: 768px) {
  .dir-page-title { font-size: 36px; }
  .dir-page-meta { font-size: 16px; }
}

.dir-results__columns { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.dir-results__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dir-result-list { display: flex; flex-direction: column; gap: 12px; }

/* The category list: a strip that scrolls sideways up to 991px, a column beside the results from 992px
   (below that the column and the results don't fit side by side, and the list would stack above them). */
.dir-catnav { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dir-catnav__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--d-gutter)); padding-inline: var(--d-gutter); }
.dir-catnav__list::-webkit-scrollbar { display: none; }
.dir-catnav__link {
  display: flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 8px; white-space: nowrap; border: 1px solid var(--d-line);
}
:where(.dir-page) a.dir-catnav__link { color: var(--d-text); }
:where(.dir-page) a.dir-catnav__link:hover { color: var(--d-link); }
:where(.dir-page) a.dir-catnav__link--active { background: var(--d-soft); border-color: var(--d-soft); color: var(--d-link); font-weight: 600; }
@media (min-width: 992px) {
  .dir-catnav { flex: 1 1 200px; max-width: 240px; }
  .dir-catnav__list { flex-direction: column; gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .dir-catnav__link { border: 0; white-space: normal; }
  .dir-catnav .dir-eyebrow { margin-bottom: 4px; }
}

/* Rail: ads and lists beside the content; full width below it on small screens. */
.dir-rail { flex: 1 1 300px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-self: stretch; }
@media (min-width: 768px) { .dir-results__rail { max-width: 300px; } }
@media (min-width: 992px) { .dir-rail { max-width: 300px; } .dir-detail-page__rail { max-width: 340px; } }
.dir-rail__item { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.dir-rail__item > * { width: 100%; }
.dir-rail__item--sticky { position: sticky; top: 16px; }
/* Shared rail widgets (e.g. the Newsletter card) read the site-wide colour variables: here they get the directory's. */
.dir-rail {
  --color-button-primary: var(--d-accent);
  --color-knockout: var(--d-on-accent);
  --color-text-primary: var(--d-text);
  --color-bg-alt: var(--d-surface);
}
.dir-rail .card--vertical-large { max-width: none; background: var(--d-bg); border: 1px solid var(--d-line); border-radius: 12px; }
.dir-rail .card--vertical-large .card__title { font-family: var(--d-font-heading); }
/* Its input's grey border (the red one of an invalid address stays). */
.dir-rail .card--vertical-large input { color: var(--d-text); }
.dir-rail .card--vertical-large input[class*="border-gray-300"] { border-color: var(--d-control); }
.dir-rail .card--vertical-large input[class*="border-gray-300"]:focus { border-color: var(--d-accent); }

/* Pagination (the shared Pagination with text arrows) */
.dir-pager { display: flex; padding-top: 12px; }
.dir-pagination.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; width: auto; }
.dir-pagination .pagination__pages { display: flex; flex: none; order: 0; flex-wrap: wrap; gap: 8px; }
/* The shared pager's phone rules put the numbers on their own row; the design keeps one row. */
.dir-pagination.pagination { margin-top: 0; padding-inline: 0; gap: 8px; }
.dir-pagination .pagination__chip,
.dir-pagination .pagination__control {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; width: auto; height: auto; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--d-control); border-radius: 8px;
  background: var(--d-bg); color: var(--d-text);
  font: inherit; font-size: 16px; font-weight: 400; text-decoration: none;
}
.dir-pagination .pagination__control { padding: 0 16px; font-weight: 500; }
.dir-pagination .pagination__chip:hover,
.dir-pagination .pagination__control:hover { border-color: var(--d-accent); color: var(--d-text); background: var(--d-bg); }
.dir-pagination .pagination__chip--active,
.dir-pagination .pagination__chip--active:hover { background: var(--d-accent); border-color: var(--d-accent); color: var(--d-on-accent); font-weight: 600; }
/* No "Previous" on the first page (the design shows none). */
.dir-pagination .pagination__control:disabled { display: none; }
.dir-pagination .pagination__ellipsis { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--d-muted); }

/* Sponsored results (AdMedia), article results, tracking pixel */
.dir-sponsored { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--d-line); border-radius: 12px; background: var(--d-surface); }
.dir-sponsored__head { font-size: 13px; color: var(--d-muted); }
.dir-sponsored__label { font-weight: 600; letter-spacing: .04em; }
.dir-sponsored__by { font-weight: 600; }
.dir-sponsored__list { display: flex; flex-direction: column; }
.dir-sponsored__ad { display: flex; flex-direction: column; gap: 2px; padding-block: 10px; border-top: 1px solid var(--d-line); min-width: 0; }
.dir-sponsored__ad:first-child { border-top: 0; padding-top: 4px; }
.dir-sponsored__title { font-weight: 600; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
:where(.dir-page) a.dir-sponsored__url { font-size: 14px; color: var(--d-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-sponsored__text { font-size: 15px; color: var(--d-text); overflow-wrap: anywhere; }
.dir-results__articles { display: flex; flex-direction: column; gap: 16px; }
.dir-results__subheading { font-family: var(--d-font-heading); font-size: 20px; line-height: 1.25; }
.dir-results__articles .dir-results__subheading + .dir-article-grid { margin-bottom: 8px; }
@media (min-width: 576px) { .dir-article-grid--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }

/* Link lists in columns (category subcategories, state cities, states) */
.dir-link-columns { columns: 2 160px; column-gap: 24px; }
@media (min-width: 768px) { .dir-link-columns { columns: 4 180px; } }
.dir-link-columns > li { break-inside: avoid; }
.dir-link-columns__link { display: inline-block; padding: 8px 0; min-height: 40px; overflow-wrap: anywhere; }
.dir-letters { gap: 16px; }
.dir-letters__group { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--d-line); }
.dir-letters__letter { font-family: var(--d-font-heading); font-size: 18px; color: var(--d-link); }

/* City page: titled groups of search links (directory.cityLinkGroups) */
.dir-link-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px 32px; }
.dir-link-groups__group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dir-link-groups__heading { font-family: var(--d-font-body); font-size: 16px; font-weight: 600; color: var(--d-text); }

/* Wikipedia text on state and city pages */
.dir-place { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.dir-place__credit { font-size: 14px; color: var(--d-muted); }
.dir-place__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* Home: location tiles (with or without a photo) */
.dir-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .dir-locations { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } }
.dir-location {
  position: relative; display: flex; align-items: center; height: 100%; min-height: 52px; padding: 10px 14px;
  border: 1px solid var(--d-line); border-radius: 10px; overflow: hidden; font-weight: 600;
}
:where(.dir-page) a.dir-location { color: var(--d-text); }
:where(.dir-page) a.dir-location:hover { border-color: var(--d-accent); color: var(--d-text); }
.dir-location--image { align-items: flex-end; aspect-ratio: 4 / 3; padding: 12px; border: 0; background: var(--d-surface); }
.dir-location__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dir-location--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .65), rgb(0 0 0 / 0) 60%); }
.dir-location--image .dir-location__label { position: relative; z-index: 1; color: #fff; font-size: 17px; }
:where(.dir-page) a.dir-location--image:hover { color: #fff; }
:where(.dir-page) a.dir-location--image:hover .dir-location__label { text-decoration: underline; }

/* Newsletter band above the footer */
.dir-newsletter { background: var(--d-surface); border-top: 1px solid var(--d-line); }
.dir-newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; }
.dir-newsletter__copy { display: flex; flex-direction: column; gap: 4px; flex: 1 1 280px; }
.dir-newsletter__title { font-family: var(--d-font-heading); font-size: 21px; line-height: 1.25; }
.dir-newsletter__text { color: var(--d-muted); }
.dir-newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 360px; max-width: 520px; }
.dir-newsletter__input { flex: 1 1 220px; }
.dir-newsletter__status { flex: 1 1 100%; font-size: 14px; }
.dir-newsletter__status--error { color: #b3261e; }
.dir-newsletter__status--ok { color: var(--d-text); }

/* ── Listing page ─────────────────────────────────────────────────────────── */

.dir-detail-page__columns { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.dir-detail-page__main { flex: 999 1 600px; min-width: 0; }

.dir-detail { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dir-detail__head { display: flex; flex-direction: column; gap: 12px; }
.dir-detail__address { font-size: 17px; color: var(--d-muted); }
.dir-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dir-detail__section { display: flex; flex-direction: column; gap: 10px; }
.dir-detail__heading { font-family: var(--d-font-heading); font-size: 22px; }
.dir-detail__text { font-size: 17px; line-height: 1.65; max-width: 72ch; overflow-wrap: anywhere; white-space: pre-line; }
.dir-detail__muted { font-size: 16px; color: var(--d-muted); }
.dir-detail__attribution { font-size: 13px; color: var(--d-subtle); }
.dir-detail__paragraphs { display: flex; flex-direction: column; gap: 12px; }
.dir-detail__lines { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.dir-detail__line-label { color: var(--d-muted); }
.dir-detail__verified { font-size: 14px; font-weight: 600; }
:where(.dir-page) a.dir-chip:hover { color: var(--d-link-hover); text-decoration: underline; }

/* Photos: the first one large, the rest in a row that scrolls sideways */
.dir-gallery__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.dir-gallery__item { flex: 0 0 auto; }
.dir-gallery__item a { display: block; border-radius: 10px; overflow: hidden; background: var(--d-surface); }
.dir-gallery__item img { display: block; height: 96px; width: auto; max-width: none; object-fit: cover; }
.dir-gallery__item--hero img { height: 200px; max-width: min(100%, 420px); object-fit: contain; }
.dir-gallery__item--hero { max-width: 100%; }
@media (min-width: 768px) {
  .dir-gallery__item img { height: 120px; }
  .dir-gallery__item--hero img { height: 260px; max-width: 480px; }
}

.dir-videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 768px) { .dir-videos { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.dir-video { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--d-surface); }
.dir-video iframe { display: block; width: 100%; height: 100%; border: 0; }

.dir-offer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border: 1px solid var(--d-line); border-radius: 12px;
}
.dir-offer__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dir-offer__text { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.dir-offer__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.dir-map { height: 280px; border-radius: 12px; overflow: hidden; border: 1px solid var(--d-line); background: var(--d-surface); }
.dir-map__frame { display: block; width: 100%; height: 100%; border: 0; }

.dir-nearby { display: flex; flex-direction: column; gap: 16px; }
.dir-nearby__title { font-family: var(--d-font-heading); font-size: 20px; }
.dir-nearby__list { display: flex; flex-direction: column; gap: 12px; }
.dir-nearby__list > li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--d-line); }
.dir-nearby__list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.dir-nearby__name { font-weight: 600; overflow-wrap: anywhere; }
:where(.dir-page) a.dir-nearby__name { color: var(--d-text); }
:where(.dir-page) a.dir-nearby__name:hover { color: var(--d-link); }
.dir-nearby__address { color: var(--d-muted); font-size: 14px; }

/* ── Articles ─────────────────────────────────────────────────────────────── */

.dir-article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 576px) { .dir-article-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.dir-article-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dir-article-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--d-surface); }
.dir-article-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir-article-card__title { font-family: var(--d-font-body); font-size: 18px; font-weight: 600; line-height: 1.35; }
:where(.dir-page) .dir-article-card__title a { color: var(--d-text); }
:where(.dir-page) .dir-article-card__title a:hover { color: var(--d-link); }

.dir-columns { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.dir-columns__content { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.dir-article { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dir-article .dir-kicker { align-self: flex-start; min-height: 24px; }
.dir-article__summary { font-size: 19px; line-height: 1.5; color: var(--d-muted); }
.dir-article__byline { font-size: 14px; color: var(--d-muted); }
.dir-article__hero { width: 100%; height: auto; border-radius: 12px; }
.dir-article__disclosure { font-size: 15px; }
.dir-article__ad { margin-top: 8px; }

.dir-prose { font-size: 17px; line-height: 1.7; max-width: 72ch; overflow-wrap: anywhere; }
.dir-prose > * + * { margin-top: 1em; }
.dir-prose p, .dir-prose ul, .dir-prose ol, .dir-prose figure, .dir-prose table, .dir-prose blockquote { margin-block: 0; }
.dir-prose * + p, .dir-prose * + ul, .dir-prose * + ol { margin-top: 1em; }
.dir-prose h2, .dir-prose h3, .dir-prose h4 { font-family: var(--d-font-heading); line-height: 1.25; margin-top: 1.6em; margin-bottom: 0; }
.dir-prose h2 { font-size: 24px; }
.dir-prose h3 { font-size: 20px; }
.dir-prose h4 { font-size: 18px; }
.dir-prose .dir-faq-question { font-size: 19px; font-weight: 700; }
.dir-prose ul, .dir-prose ol { padding-left: 1.3em; list-style: revert; }
.dir-prose li + li { margin-top: .4em; }
.dir-prose a { color: var(--d-link); text-decoration: underline; text-underline-offset: 2px; }
.dir-prose img { height: auto; border-radius: 8px; }
.dir-prose figure { max-width: 100%; overflow-x: auto; }
.dir-prose blockquote { padding-left: 18px; border-left: 3px solid var(--d-accent); font-style: italic; }
.dir-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.dir-prose th, .dir-prose td { border: 1px solid var(--d-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.dir-prose th { background: var(--d-surface); }
.dir-prose--doc { font-size: 16px; }

/* ── Static pages, sitemap, not found ─────────────────────────────────────── */

.dir-doc { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.dir-sitemap section { display: flex; flex-direction: column; gap: 12px; }
.dir-sitemap__list { display: grid; gap: 6px; }
.dir-sitemap__list ul { padding: 6px 0 4px 18px; display: grid; gap: 6px; }
.dir-sitemap__list a { display: inline-block; padding-block: 4px; }

/* The shared contact form (atoms/ContactForm): fields full width, "w-1/2" fields paired from 768px, the accent button. */
.dir-contact-form { --color-button-primary: var(--d-accent); --color-knockout: var(--d-on-accent); }
.dir-contact-form > div > div { box-shadow: none; border: 1px solid var(--d-line); border-radius: 12px; padding: 20px; }
.dir-contact-form form > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; }
.dir-contact-form form > div > div { width: auto; padding: 0; margin: 0; }
@media (min-width: 768px) {
  .dir-contact-form > div > div { padding: 28px; }
  .dir-contact-form form > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-contact-form form > div > div { grid-column: 1 / -1; }
  .dir-contact-form form > div > div[class*="w-1/2"] { grid-column: auto; }
}
.dir-contact-form input, .dir-contact-form textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--d-text);
  background: var(--d-bg); border: 1px solid var(--d-control); border-radius: 8px;
}
.dir-contact-form textarea { min-height: 140px; }
.dir-contact-form button[type="submit"] { min-height: 44px; padding-inline: 28px; font-size: 16px; border-radius: 8px; }

.dir-notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px 48px; }

/* ── Shop ─────────────────────────────────────────────────────────────────── */

.dir-shop-head { gap: 16px; }
.dir-shop-search { order: 0; flex: none; max-width: 520px; padding: 0; }
.dir-shop-search .dir-input { flex: 1 1 200px; }
.dir-shop-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.dir-shop-brand { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 12px; border: 1px solid var(--d-line); border-radius: 10px; font-weight: 600; text-align: center; }
.dir-shop-brand img { max-height: 56px; width: auto; object-fit: contain; }
.dir-shop-filters { flex: 1 1 200px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .dir-shop-filters { max-width: 240px; } }
.dir-shop-filter ul { display: grid; gap: 4px; padding-top: 8px; max-height: 320px; overflow-y: auto; }
.dir-shop-filter li { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; }
.dir-shop-filter summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.dir-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.dir-product { display: flex; flex-direction: column; gap: 8px; height: 100%; }
:where(.dir-page) a.dir-product { color: var(--d-text); }
.dir-product__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 12px; border: 1px solid var(--d-line); border-radius: 10px; background: var(--d-bg); }
.dir-product__media img { max-height: 100%; object-fit: contain; }
.dir-product__title { font-family: var(--d-font-body); font-size: 15px; font-weight: 600; line-height: 1.35; }
.dir-product__price { font-weight: 700; color: var(--d-text); }
.dir-product-detail { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.dir-product-detail__image { flex: 1 1 280px; max-width: 420px; height: auto; border: 1px solid var(--d-line); border-radius: 12px; padding: 16px; }
.dir-product-detail .dir-detail__head { flex: 999 1 320px; min-width: 0; align-items: flex-start; }
.dir-specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.dir-specs th, .dir-specs td { border: 1px solid var(--d-line); padding: 8px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.dir-specs th { background: var(--d-surface); width: 35%; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.dir-footer { background: var(--d-footer-bg); color: var(--d-footer-text); }
.dir-footer__inner { display: flex; flex-direction: column; gap: 32px; padding-block: 48px 28px; }
.dir-footer__columns { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.dir-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
:where(.dir-page) a.dir-footer__name { align-self: flex-start; font-family: var(--d-font-heading); font-weight: 700; font-size: 22px; color: #fff; }
.dir-footer__social .footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dir-footer__social .footer__social-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid #4a4656; color: var(--d-footer-text);
}
.dir-footer__social .footer__social-link:hover { border-color: var(--d-footer-text); color: #fff; }
.dir-footer__social .footer__social-icon { width: 18px; height: 18px; }
.dir-footer__nav { flex: 2 1 420px; min-width: 0; }
.dir-footer__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 24px; }
:where(.dir-page) a.dir-footer__link { display: inline-block; padding: 10px 0; color: var(--d-footer-text); }
:where(.dir-page) a.dir-footer__link:hover { color: #fff; text-decoration: underline; }
.dir-footer__legal { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--d-footer-line); font-size: 14px; color: var(--d-footer-muted); }
.dir-footer :focus-visible { outline-color: #fff; }

/* The home page's rail widgets, in a row under the nearby listings. */
.dir-home-ads { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 24px; }
.dir-home-ads .dir-rail__item { flex: 0 1 auto; max-width: 100%; }
.dir-home-ads .dir-rail__item--sticky { position: static; }

/* Footer link groups (shared.footer.groups) */
.dir-footer__group { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dir-footer__heading { font-family: var(--d-font-heading); font-size: 16px; font-weight: 600; color: #fff; }
.dir-footer__group-links { display: flex; flex-direction: column; }
/* ──────────────────────────────────────────────────────────────────────────
   Automotive template (toyota4runners.com)
   A navy header with the search box beside the logo and drop-down menus, white
   cards with soft shadows, a newsletter band and a centred footer. Each site sets
   its colours and font in its config ("theme"), these values being the defaults:
     --automotive-navy      header, footer, buttons, current page   (#101c2a)
     --automotive-on-navy   text on the navy                        (#fff)
     --automotive-text      body text                               (#515151)
     --automotive-heading   headings                                (#0e0f10)
     --automotive-muted     labels, dates                           (#6b6b6b)
     --automotive-bg        page background                         (#fff)
     --automotive-surface   the newsletter band and tiles           (#f7f8fa)
     --automotive-font      all text                                ("Questrial")
     --automotive-container content width                           (1110px)
     --automotive-rail      right column width                      (300px)
     --automotive-rail-overhang  how far the right column runs past the content width  (0px)
     --automotive-main-top  space between the header and the content (48px, desktop)
     --automotive-sticky-top  where the right column stops when the page scrolls (91px: under the sticky header)
   The font loads from the site's shared.stylesheets (a Google Fonts URL).
   Breakpoints: 576 / 768 / 992px.
   ────────────────────────────────────────────────────────────────────────── */

.au-page {
  --au-navy: var(--automotive-navy, #101c2a);
  --au-on-navy: var(--automotive-on-navy, #fff);
  --au-text: var(--automotive-text, #515151);
  --au-heading: var(--automotive-heading, #0e0f10);
  --au-muted: var(--automotive-muted, #6b6b6b);
  --au-bg: var(--automotive-bg, #fff);
  --au-surface: var(--automotive-surface, #f7f8fa);
  --au-font: var(--automotive-font, "Questrial", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --au-container: var(--automotive-container, 1110px);
  --au-rail: var(--automotive-rail, 300px);
  --au-rail-overhang: var(--automotive-rail-overhang, 0px);
  --au-main-top: var(--automotive-main-top, 48px);
  --au-sticky-top: var(--automotive-sticky-top, 91px);
  --au-shadow: 0 1px 6px rgb(0 0 0 / .12);
  --au-gutter: 16px;

  background: var(--au-bg);
  color: var(--au-text);
  font-family: var(--au-font);
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.au-page *, .au-page ::before, .au-page ::after { box-sizing: border-box; }
:where(.au-page) a { color: inherit; text-decoration: none; }
:where(.au-page) img { max-width: 100%; }
:where(.au-page) :is(h1, h2, h3) { margin: 0; font-weight: 400; color: var(--au-heading); }
:where(.au-page) ul { margin: 0; padding: 0; list-style: none; }
:where(.au-page) p { margin: 0; }
.au-page :focus-visible { outline: 2px solid var(--au-navy); outline-offset: 2px; }
.au-page input:focus-visible, .au-page textarea:focus-visible { outline: none; }
@media (min-width: 768px) { .au-page { --au-gutter: 15px; } }

.au-container { width: 100%; max-width: calc(var(--au-container) + 2 * var(--au-gutter)); margin-inline: auto; padding-inline: var(--au-gutter); }
.au-main { flex: 1 0 auto; padding-block: 32px 48px; }
.au-main:focus { outline: none; }
@media (min-width: 992px) { .au-main { padding-block: var(--au-main-top) 64px; } }
.au-skip { position: absolute; left: 8px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--au-navy); color: var(--au-on-navy); }
.au-skip:focus { top: 8px; }
.au-icon { display: inline-block; flex: none; vertical-align: middle; transition: transform .2s; }
.au-icon--up { transform: rotate(180deg); }

.au-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 20px;
  border: 0; background: var(--au-navy); color: var(--au-on-navy); font: inherit; font-size: 15px; cursor: pointer;
}
.au-button:hover { filter: brightness(1.2); }
.au-status { padding: 40px 0; text-align: center; color: var(--au-muted); display: grid; justify-items: center; gap: 14px; }
.au-status--loading { min-height: 50vh; }

/* ── Header ───────────────────────────────────────────────────────────── */

.au-header { position: relative; z-index: 30; background: var(--au-navy); color: var(--au-on-navy); }
.au-header--sticky { position: sticky; top: 0; }
.au-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px 12px; min-height: 64px; padding-block: 8px; }
.au-logo { display: inline-flex; align-items: center; justify-self: start; }
.au-logo__image { display: block; height: auto; width: 200px; max-width: 100%; }
.au-logo__text { font-size: 22px; font-weight: 700; }
.au-search { grid-column: 1 / -1; grid-row: 2; }
.au-search__input { width: 100%; height: 33px; padding: 4px 9px; border: 0; border-radius: 0; background: #fff; color: #000; font: inherit; font-size: 12px; }
.au-search__input::placeholder { color: #000; opacity: 1; }
.au-nav { display: none; }
.au-menu-button { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
@media (min-width: 992px) {
  .au-header__bar { grid-template-columns: auto minmax(0, 375px) 1fr; gap: 0 40px; min-height: 75px; padding-block: 0; }
  .au-search { grid-column: 2; grid-row: 1; }
  .au-nav { display: block; grid-column: 3; justify-self: end; padding-right: 10px; }
  .au-logo__image { width: 250px; }
  .au-menu-button:not(.au-drawer .au-menu-button) { display: none; }
}
.au-nav__list { display: flex; gap: 6px 24px; }
.au-nav__item { position: relative; display: flex; }
.au-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 22px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }
.au-nav__link:hover, .au-nav__link--active { opacity: .85; }
.au-nav__item--open .au-icon { transform: rotate(180deg); }
.au-nav__menu { position: absolute; top: 100%; left: -12px; z-index: 40; min-width: 200px; padding: 6px 0; background: var(--au-navy); box-shadow: 0 6px 16px rgb(0 0 0 / .3); }
.au-nav__menu[hidden] { display: none; }
.au-nav__menu-link { display: block; padding: 9px 16px; font-size: 14px; white-space: nowrap; }
.au-nav__menu-link:hover { background: rgb(255 255 255 / .1); }

.au-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.au-drawer--open { visibility: visible; pointer-events: auto; }
.au-drawer__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; transition: opacity .2s; }
.au-drawer--open .au-drawer__backdrop { opacity: 1; }
.au-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(86vw, 340px); padding: 8px 20px 32px; overflow-y: auto; background: var(--au-navy); color: var(--au-on-navy); transform: translateX(100%); transition: transform .25s ease; }
.au-drawer--open .au-drawer__panel { transform: none; }
.au-drawer__top { display: flex; justify-content: flex-end; }
.au-drawer__top .au-menu-button { grid-column: auto; grid-row: auto; }
.au-drawer__list > li { border-bottom: 1px solid rgb(255 255 255 / .15); }
.au-drawer__link { display: block; padding: 13px 0; font-size: 16px; }
.au-drawer__sublist { padding: 0 0 10px 14px; }
.au-drawer__sublink { display: block; padding: 8px 0; font-size: 14px; opacity: .85; }
@media (min-width: 992px) { .au-drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .au-drawer__panel, .au-drawer__backdrop { transition: none; } }

/* ── Columns: content and right rail ───────────────────────────────── */

.au-columns { display: flex; flex-wrap: wrap; gap: 32px 30px; align-items: flex-start; }
.au-columns__content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.au-rail { flex: 1 1 var(--au-rail); max-width: 100%; min-width: 0; align-self: stretch; }
@media (min-width: 992px) { .au-rail__sticky { position: sticky; top: var(--au-sticky-top); } }
@media (min-width: 992px) { .au-rail { max-width: var(--au-rail); } .au-columns { margin-right: calc(-1 * var(--au-rail-overhang)); } }

/* ── Cards, titles, story rows ─────────────────────────────────────── */

.au-card { background: var(--au-bg); box-shadow: var(--au-shadow); }
.au-page-title { font-size: 28px; line-height: 1.2; color: var(--au-heading); }
.au-pagehead { padding: 12px 16px 16px; }
.au-pagehead__text { margin-top: 6px; font-size: 18px; line-height: 1.5; color: var(--au-text); }
.au-section-title { margin-bottom: 20px; padding-left: 8px; font-size: 29px; line-height: 1.2; }
.au-home { display: flex; flex-direction: column; gap: 34px; }
.au-section { display: grid; gap: 0; }

.au-rows { display: grid; gap: 12px; }
.au-rows__item { background: var(--au-bg); box-shadow: var(--au-shadow); }
.au-rows__link { display: grid; gap: 14px 30px; padding: 16px; }
@media (min-width: 576px) { .au-rows__link { grid-template-columns: minmax(0, 382px) minmax(0, 1fr); } }
.au-rows__image { display: block; width: 100%; height: 250px; object-fit: cover; }
.au-rows__body { display: grid; gap: 12px; align-content: center; }
.au-rows__label--chip { justify-self: start; padding: 8px 8px 7px; background: var(--au-navy); color: var(--au-on-navy); font-size: 12px; line-height: 1; text-transform: uppercase; }
.au-rows__label--text { align-self: start; font-size: 13px; color: var(--au-muted); }
.au-rows__title { font-size: 24px; line-height: 1.35; color: var(--au-heading); }
.au-rows__excerpt { font-size: 18px; line-height: 1.4; color: var(--au-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.au-rows__link:hover .au-rows__title { text-decoration: underline; }
.au-rows__item .au-rows__body:has(.au-rows__label--text) { grid-template-rows: auto 1fr; align-content: stretch; }
.au-rows__item .au-rows__body:has(.au-rows__label--text) .au-rows__title { align-self: center; }

.au-featured { background: #000; }
.au-featured__link { position: relative; display: block; overflow: hidden; }
.au-featured__image { display: block; width: 100%; height: 300px; object-fit: cover; opacity: .9; }
@media (min-width: 768px) { .au-featured__image { height: 448px; } }
.au-featured__link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .95) 100%); }
.au-featured__title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 16px 20px; color: #fff; font-size: 24px; line-height: 1.3; text-transform: capitalize; }
@media (min-width: 768px) { .au-featured__title { padding: 28px 8px 20px; font-size: 28px; } }

/* ── Logo grid and link grid ───────────────────────────────────────── */

.au-logos { padding: 14px; }
.au-logos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .au-logos__grid { grid-template-columns: repeat(var(--au-columns, 4), minmax(0, 1fr)); gap: 16px 14px; } }
.au-logo-tile { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 72px; padding: 8px; background: var(--au-bg); box-shadow: var(--au-shadow); font-size: 17px; color: var(--au-heading); }
.au-logo-tile__image { width: 48px; height: 44px; object-fit: contain; }
.au-logo-tile:hover { box-shadow: 0 2px 10px rgb(0 0 0 / .22); }
.au-logos__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; padding: 9px; border: 0; background: var(--au-navy); color: var(--au-on-navy); font: inherit; font-size: 14px; cursor: pointer; }
.au-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding: 30px 16px; }
@media (min-width: 768px) { .au-links { grid-template-columns: repeat(var(--au-columns, 3), minmax(0, 1fr)); padding-inline: 34px; } }
.au-link-button { display: flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px; background: var(--au-bg); box-shadow: var(--au-shadow); font-size: 13px; color: var(--au-heading); text-align: center; }
.au-link-button:hover { background: var(--au-surface); }

/* ── Article ───────────────────────────────────────────────────────── */

.au-article__head { display: grid; gap: 14px; margin-bottom: 24px; }
.au-article__head .au-breadcrumbs { order: 0; }
.au-breadcrumbs.breadcrumbs { margin: 0; padding: 0; background: none; font-size: 13px; color: var(--au-muted); }
.au-article__title { font-size: 26px; line-height: 1.25; color: var(--au-heading); text-transform: capitalize; }
@media (min-width: 768px) { .au-article__title { font-size: 28px; } }
.au-article__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 6px 0 20px; font-size: 18px; color: var(--au-text); }
.au-article { min-width: 0; }
.au-article__hero { display: block; width: 100%; height: auto; }
.au-prose { font-size: 18px; line-height: 1.3; color: var(--au-text); overflow-wrap: anywhere; }
.au-prose > * + * { margin-top: 14px; }
.au-prose h2, .au-prose h3, .au-prose h4 { margin-top: 18px; font-weight: 400; line-height: 1.3; color: var(--au-text); }
.au-prose h2 { font-size: 32px; }
.au-prose h3 { font-size: 26px; }
.au-prose h4 { font-size: 22px; }
.au-prose p { line-height: 1.3; }
.au-prose ul, .au-prose ol { padding-left: 40px; font-size: 14px; list-style: revert; }
.au-prose li { line-height: 1.3; }
.au-prose a { color: #0c00ff; }
.au-prose img { height: auto; }
.au-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.au-prose th, .au-prose td { border: 1px solid #dadada; padding: 8px 10px; text-align: left; vertical-align: top; }
.au-prose .au-faq-question { font-size: 22px; }
.au-article__disclosure { margin-top: 16px; font-size: 15px; }
.au-article__ad { display: flex; justify-content: center; margin-top: 12px; }
.au-ad-row { display: flex; justify-content: center; }

/* ── Pager ─────────────────────────────────────────────────────────── */

.au-pager { display: flex; justify-content: center; margin-top: 24px; }
.au-pagination { display: flex; }
.au-pagination .pagination__pages { display: contents; }
.au-pagination .pagination__chip, .au-pagination .pagination__control {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 26px; padding: 0 9px; margin-left: -1px;
  border: 1px solid #dadada; background: var(--au-bg); color: var(--au-heading); font: inherit; font-size: 12px; cursor: pointer;
}
.au-pagination .pagination__chip--active { background: var(--au-navy); border-color: var(--au-navy); color: var(--au-on-navy); }
.au-pagination .pagination__control:disabled { opacity: .5; cursor: default; }

/* ── Newsletter band and footer ────────────────────────────────────── */

.au-band { background: var(--au-surface); }
.au-band__inner { display: grid; gap: 14px; padding-block: 36px; }
@media (min-width: 768px) { .au-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; gap: 24px; padding-block: 44px; } }
.au-band__title { font-size: 26px; line-height: 1.2; }
@media (min-width: 992px) { .au-band__title { font-size: 28px; } }
.au-band__form { display: flex; }
.au-band__input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #dadada; border-right: 0; border-radius: 0; background: #fff; color: #000; font: inherit; font-size: 14px; }
.au-band__button { height: 46px; padding: 0 16px; border: 0; background: var(--au-navy); color: var(--au-on-navy); font: inherit; font-size: 14px; cursor: pointer; }
.au-band__button:disabled { opacity: .7; cursor: default; }
.au-band__message { margin-top: 8px; font-size: 14px; }
.au-band__message--done { color: #1b7a3d; }
.au-band__message--error { color: #b3261e; }

.au-footer { background: var(--au-navy); color: var(--au-on-navy); }
.au-footer__inner { display: grid; justify-items: center; gap: 8px; padding-block: 24px 18px; text-align: center; }
.au-footer__links { display: flex; flex-wrap: wrap; justify-content: center; }
.au-footer__links > li { padding-inline: 9px; border-left: 1px solid rgb(255 255 255 / .6); line-height: 1.1; }
.au-footer__links > li:first-child { border-left: 0; }
.au-footer__link { font-size: 17px; }
.au-footer__link:hover { text-decoration: underline; }
.au-footer__copyright { font-size: 13px; }
.au-footer__disclaimer { font-size: 12px; opacity: .8; max-width: 80ch; }

/* ── Information pages, sitemap, not found ─────────────────────────── */

.au-doc { padding: 16px 20px 24px; }
.au-doc .au-page-title { margin-bottom: 12px; }
.au-prose--doc { font-size: 16px; line-height: 1.5; }
.au-contact-form { margin-top: 16px; }
.au-sitemap__heading { margin: 16px 0 8px; font-size: 20px; }
.au-sitemap__list { display: grid; gap: 4px; font-size: 15px; }
.au-sitemap__list ul { padding-left: 18px; margin-top: 4px; }
.au-sitemap__list a:hover { text-decoration: underline; }
.au-notfound { display: grid; justify-items: start; gap: 14px; padding: 40px 0; }

.au-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The Bootstrap utility classes the legacy page text uses */
.au-prose--doc .font-size-18 { font-size: 18px; line-height: 1.4; }
.au-prose--doc .font-size-20 { font-size: 20px; line-height: 1.4; }
.au-prose--doc .font-weight-bold { font-weight: 700; }
.au-prose--doc .text-dark { color: #343a40; }
.au-prose--doc .mb-0 { margin-bottom: 0; }
.au-prose--doc .mb-3 { margin-bottom: 16px; }
.au-prose--doc p { margin-top: 0; }
.au-prose--doc > * + * { margin-top: 0; }

/* Contact page: dark info cards, then the form */
.au-doc--plain { padding: 0; }
.au-contact-cards { display: grid; gap: 14px 30px; margin-bottom: 36px; }
@media (min-width: 768px) { .au-contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.au-contact-card { display: grid; justify-items: center; gap: 10px; padding: 22px 16px 24px; background: var(--au-navy); color: var(--au-on-navy); text-align: center; }
.au-contact-card h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; color: var(--au-on-navy); }
.au-contact-card p { font-size: 17px; opacity: .75; }
.au-contact-heading { margin: 0 0 20px; font-size: 32px; color: #000; }
.au-doc--plain .au-contact-form input, .au-doc--plain .au-contact-form textarea { background: #f9f9f9 !important; border: 0 !important; border-radius: 0 !important; padding: 12px 16px !important; font-family: var(--au-font); font-size: 14px; color: #000; }
.au-doc--plain .au-contact-form input { height: 44px; }
.au-doc--plain .au-contact-form textarea { height: 120px; resize: none; }
.au-doc--plain .au-contact-form ::placeholder { color: #000; opacity: 1; }
.au-doc--plain .au-contact-form .bg-white { background: none; box-shadow: none; padding: 0; border-radius: 0; border: 0; }
.au-doc--plain .au-contact-form button[type="submit"] { background: var(--au-navy) !important; color: var(--au-on-navy) !important; border-radius: 0; padding: 10px 18px; font-family: var(--au-font); font-size: 22px; }
.au-doc--plain .au-contact-form > div > div { border: 0; padding: 0; }

/* The shop pages use the magazine's shop components inside this wrapper */
.au-shop-embed.mg-page { display: block; min-height: 0; background: transparent; font-size: 14px; }
.au-shop-embed .mg-page-head { border-bottom: 0; }

/* The ad under the header: desktop widths only, centred */
.au-topad { display: none; justify-content: center; padding-top: 24px; }
@media (min-width: 992px) { .au-topad { display: flex; } }
/* ──────────────────────────────────────────────────────────────────────────
   Quiz template (aboutharmony.com)
   A gradient header and a gradient bar fixed to the bottom of the window, cards
   with soft borders, a quiz player. Each site sets its colours in its config
   ("theme"), these values being the defaults:
     --quiz-from / --quiz-to  the gradient of the header and the footer bar   (#28cbd8 / #6d3cd6)
     --quiz-accent            the question bar and the current step           (#528ed3)
     --quiz-text              body text                                       (#212529)
     --quiz-muted             small print                                     (#6c757d)
     --quiz-link              the "Posted ... by" line and links              (#0b3b9e)
     --quiz-font              all text (the system font stack)
     --quiz-container         content width                                   (1110px)
   Breakpoints: 576 / 768 / 992px.
   ────────────────────────────────────────────────────────────────────────── */

.qz-page {
  --qz-from: var(--quiz-from, #28cbd8);
  --qz-to: var(--quiz-to, #6d3cd6);
  --qz-accent: var(--quiz-accent, #528ed3);
  --qz-text: var(--quiz-text, #212529);
  --qz-muted: var(--quiz-muted, #6c757d);
  --qz-link: var(--quiz-link, #0b3b9e);
  --qz-font: var(--quiz-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif);
  --qz-container: var(--quiz-container, 1110px);
  --qz-gradient: linear-gradient(146deg, var(--qz-from) 0%, var(--qz-to) 100%);
  --qz-line: rgb(0 0 0 / .125);
  --qz-shadow: 0 1px 6px rgb(0 0 0 / .12);
  --qz-gutter: 16px;

  background: #fff;
  color: var(--qz-text);
  font-family: var(--qz-font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.qz-page *, .qz-page ::before, .qz-page ::after { box-sizing: border-box; }
:where(.qz-page) a { color: inherit; text-decoration: none; }
:where(.qz-page) img { max-width: 100%; }
:where(.qz-page) :is(h1, h2, h3) { margin: 0; font-weight: 500; line-height: 1.2; }
:where(.qz-page) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.qz-page) p { margin: 0; }
.qz-page :focus-visible { outline: 2px solid var(--qz-accent); outline-offset: 2px; }
@media (min-width: 768px) { .qz-page { --qz-gutter: 15px; } }
.qz-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.qz-container { width: 100%; max-width: calc(var(--qz-container) + 2 * var(--qz-gutter)); margin-inline: auto; padding-inline: var(--qz-gutter); }
/* Room for the footer bar fixed to the window's bottom. */
.qz-main { flex: 1 0 auto; padding-block: 44px 80px; }
.qz-main:focus { outline: none; }
.qz-skip { position: absolute; left: 8px; top: -48px; z-index: 80; padding: 10px 16px; background: #fff; color: var(--qz-text); }
.qz-skip:focus { top: 8px; }
.qz-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 20px; border: 0; border-radius: 4px; background: var(--qz-accent); color: #fff; font: inherit; cursor: pointer; }
.qz-button:hover { filter: brightness(1.1); }
.qz-status { padding: 40px 0; text-align: center; color: var(--qz-muted); display: grid; justify-items: center; gap: 12px; }
.qz-status--loading { min-height: 40vh; }
.qz-page-title { margin-bottom: 18px; font-size: 24px; }

/* ── Header ───────────────────────────────────────────────────────────── */

.qz-header { position: sticky; top: 0; z-index: 50; background: var(--qz-gradient); color: #fff; }
.qz-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px 12px; padding-block: 10px; }
.qz-logo { display: inline-flex; align-items: center; }
.qz-logo__image { display: block; height: auto; width: 150px; max-width: 100%; }
.qz-logo__text { font-size: 22px; font-weight: 700; }
.qz-menu-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.qz-nav { display: none; }
.qz-search { grid-column: 1 / -1; display: flex; gap: 8px; }
.qz-search__input { flex: 1 1 auto; min-width: 0; height: 38px; padding: 6px 12px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #495057; font: inherit; font-size: 16px; }
.qz-search__input::placeholder { color: #fff; opacity: 1; }
.qz-search__button { height: 38px; padding: 0 16px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.qz-search__input:focus { outline: 0; background: #fff; color: #262c46; caret-color: #262c46; }
.qz-search__button:hover, .qz-search__button:focus-visible { background: #fff; color: #262c46; }
@media (min-width: 992px) {
  .qz-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 28px; min-height: 92px; padding-block: 0; }
  .qz-menu-button:not(.qz-drawer .qz-menu-button) { display: none; }
  .qz-nav { display: block; justify-self: center; }
  .qz-search { grid-column: 3; width: 277px; }
  .qz-search__input { width: 192px; flex: none; }
}
.qz-nav__list { display: flex; gap: 0 4px; }
.qz-nav__item { position: relative; display: flex; }
.qz-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 8px; border: 0; background: none; color: inherit; font: inherit; font-weight: 500; cursor: pointer; }
.qz-caret { margin-left: 2px; vertical-align: middle; }
.qz-nav__menu { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 190px; padding: 6px 0; background: #fff; color: var(--qz-text); border: 1px solid var(--qz-line); border-radius: 4px; box-shadow: 0 6px 16px rgb(0 0 0 / .18); }
.qz-nav__menu[hidden] { display: none; }
.qz-nav__menu-link { display: block; padding: 8px 20px; font-size: 16px; white-space: nowrap; }
.qz-nav__menu-link:hover { background: #f1f3f5; }

.qz-drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.qz-drawer--open { visibility: visible; pointer-events: auto; }
.qz-drawer__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; transition: opacity .2s; }
.qz-drawer--open .qz-drawer__backdrop { opacity: 1; }
.qz-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(86vw, 320px); padding: 8px 20px 32px; overflow-y: auto; background: var(--qz-gradient); color: #fff; transform: translateX(100%); transition: transform .25s ease; }
.qz-drawer--open .qz-drawer__panel { transform: none; }
.qz-drawer__top { display: flex; justify-content: flex-end; }
.qz-drawer__list > li { border-bottom: 1px solid rgb(255 255 255 / .25); }
.qz-drawer__link { display: block; padding: 12px 0; font-weight: 500; }
.qz-drawer__sublist { padding: 0 0 10px 14px; }
.qz-drawer__sublink { display: block; padding: 7px 0; font-size: 15px; opacity: .9; }
@media (min-width: 992px) { .qz-drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .qz-drawer__panel, .qz-drawer__backdrop { transition: none; } }

/* ── Columns: content and side column ───────────────────────────────── */

.qz-columns { display: flex; flex-wrap: wrap; gap: 28px 30px; align-items: flex-start; }
.qz-columns__content { flex: 999 1 540px; min-width: 0; max-width: 730px; }
.qz-columns__aside { flex: 1 1 300px; max-width: 100%; min-width: 0; }
@media (min-width: 992px) { .qz-columns__aside { flex: 0 0 350px; max-width: 350px; } }

/* ── Carousel and tiles ──────────────────────────────────────────────── */

.qz-carousel { margin-bottom: 24px; }
.qz-carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; }
.qz-carousel__track::-webkit-scrollbar { display: none; }
.qz-carousel__item { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
@media (min-width: 600px) { .qz-carousel__item { flex-basis: calc((100% - 20px) / 3); } }
@media (min-width: 1000px) { .qz-carousel__item { flex-basis: calc((100% - 30px) / 4); } }
.qz-tile { display: block; height: 100%; border: 1px solid var(--qz-line); background: #fff; }
.qz-tile__image { display: block; width: 100%; height: 178px; object-fit: cover; }
.qz-tile__title { display: block; padding: 18px 20px; font-size: 16px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-carousel__arrows { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.qz-arrow { border: 0; background: none; color: var(--qz-text); font-size: 14px; cursor: pointer; padding: 4px 6px; }
.qz-arrow:hover { color: var(--qz-to); }

/* ── Quiz list ───────────────────────────────────────────────────────── */

.qz-list { display: grid; gap: 24px; }
.qz-list__item { background: #fff; border: 1px solid var(--qz-line); box-shadow: 0 1px 4px rgb(0 0 0 / .06); }
.qz-list__link { display: grid; gap: 10px 16px; padding: 8px; }
@media (min-width: 576px) { .qz-list__link { grid-template-columns: 150px minmax(0, 1fr); align-items: start; } }
.qz-list__image { display: block; width: 100%; height: 113px; object-fit: cover; }
@media (max-width: 575px) { .qz-list__image { height: 150px; } }
.qz-list__body { display: grid; gap: 3px; min-width: 0; }
.qz-list__posted { font-size: 11px; font-weight: 500; color: var(--qz-link); line-height: 1.6; }
.qz-list__title { font-size: 16px; font-weight: 400; line-height: 1.6; margin-top: 8px; }
.qz-list__text { font-size: 14px; color: var(--qz-text); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Trending rail ───────────────────────────────────────────────────── */

.qz-trending__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; padding-bottom: 5px; font-size: 22px; font-weight: 600; line-height: 1.6; }
.qz-trending__head--latest { margin-top: 0; font-weight: 400; color: #777; }
.qz-trending__date { font-size: 12px; font-weight: 400; }
.qz-trending__list { display: grid; gap: 14px; }
.qz-trending__card { display: grid; gap: 4px; padding: 8px; border: 1px solid #ccc; background: #fff; }
.qz-trending__image { display: block; width: 100%; height: auto; }
.qz-trending__title { padding: 2px 0 0; font-size: 14px; font-weight: 500; line-height: 1.6; color: #000; }
.qz-trending__by { padding: 0; font-size: 12px; color: var(--qz-link); }

/* ── Quiz page and player ────────────────────────────────────────────── */

.qz-quiz__title { margin-bottom: 8px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.qz-steps { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; margin-bottom: 8px; border: 1px solid var(--qz-line); }
.qz-steps > li + li { border-left: 1px solid var(--qz-line); }
.qz-steps__back, .qz-steps__item { display: block; min-width: 38px; padding: 6px 14px; border: 0; background: #fff; color: #0b5ed7; font: inherit; text-align: center; }
.qz-steps__back { color: var(--qz-text); cursor: pointer; }
.qz-steps__back:disabled { color: var(--qz-muted); cursor: default; }
.qz-steps__item--done { color: var(--qz-text); }
.qz-steps__item--current { background: #e9ecef; color: var(--qz-text); }
.qz-question__image { display: block; width: 100%; height: auto; }
.qz-question__text { display: flex; align-items: center; gap: 12px; margin: 7px 10px 10px; padding: 0 1px; min-height: 28px; background: var(--qz-accent); border: 1px solid var(--qz-accent); color: #fff; font-size: 16px; font-weight: 400; line-height: 26px; }
.qz-question__badge { display: inline-block; min-width: 34px; padding: 1px 8px; background: #fff; color: var(--qz-text); font-size: 12px; font-weight: 700; text-align: center; border-radius: 10px; }
.qz-answers { border: 0; }
.qz-answers > li { border: 1px solid var(--qz-line); margin-top: -1px; }
.qz-answer { display: block; width: 100%; padding: 12px 20px 12px 90px; border: 0; background: #fff; color: var(--qz-text); font: inherit; text-align: left; cursor: pointer; }
.qz-answer:hover:not(:disabled) { background: #ddd; }
.qz-answer:disabled { cursor: default; opacity: .7; }
.qz-poll__row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 0; overflow: hidden; background: #fff; }
.qz-poll__bar { position: absolute; inset: 0 auto 0 0; background: #e9ecef; transition: width .4s ease; }
.qz-poll__row--chosen .qz-poll__bar { background: #ccfb8a; }
.qz-poll__percent, .qz-poll__text { position: relative; }
.qz-poll__percent { min-width: 58px; padding: 0 10px 0 12px; border-right: 1px dotted #666; color: #fb0; font-weight: 700; line-height: 24px; }
.qz-result { display: grid; justify-items: center; gap: 12px; padding: 24px 0; text-align: center; }
.qz-result__image { display: block; max-width: 100%; height: auto; }
.qz-result__title { font-size: 26px; }
.qz-result__text { max-width: 60ch; }

.qz-share { margin-top: 22px; }
.qz-share__title { margin-bottom: 8px; font-size: 24px; font-weight: 700; }
.qz-share__buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qz-share__button { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 4px; color: #fff; font-weight: 700; text-transform: lowercase; }
.qz-share__button--facebook { background: #3b5998; }
.qz-share__button--twitter { background: #17a2b8; }
.qz-share__button--mail { background: #ffc107; color: #212529; }
.qz-share__button:hover { filter: brightness(1.1); }

.qz-related { margin-top: 28px; }
.qz-related__title { margin-bottom: 14px; font-size: 22px; font-weight: 400; }
.qz-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
@media (min-width: 768px) { .qz-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qz-related__card { display: grid; gap: 8px; }
.qz-related__image { display: block; width: 100%; height: 148px; object-fit: cover; }
.qz-related__label { font-size: 13px; line-height: 1.3; }

/* ── Blog, information pages ─────────────────────────────────────────── */

.qz-article { min-width: 0; }
.qz-breadcrumbs.breadcrumbs { margin: 0 0 12px; padding: 0; background: none; font-size: 13px; color: var(--qz-muted); }
.qz-article__meta { margin-bottom: 14px; font-size: 13px; color: var(--qz-muted); }
.qz-article__hero { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.qz-prose { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.qz-prose > * + * { margin-top: 14px; }
.qz-prose h2, .qz-prose h3 { margin-top: 22px; }
.qz-prose ul, .qz-prose ol { padding-left: 22px; list-style: revert; }
.qz-prose a { color: #0b5ed7; text-decoration: underline; }
.qz-prose img { height: auto; }
.qz-pager { display: flex; justify-content: center; margin-top: 22px; }
.qz-pagination { display: flex; }
.qz-pagination .pagination__pages { display: contents; }
.qz-pagination .pagination__chip, .qz-pagination .pagination__control { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; margin-left: -1px; border: 1px solid var(--qz-line); background: #fff; color: #0b5ed7; font: inherit; cursor: pointer; }
.qz-pagination .pagination__chip--active { background: var(--qz-accent); border-color: var(--qz-accent); color: #fff; }
.qz-doc { max-width: 900px; }
.qz-sitemap__heading { margin: 16px 0 8px; font-size: 20px; }
.qz-sitemap__list { display: grid; gap: 4px; }
.qz-sitemap__list ul { padding-left: 18px; margin-top: 4px; }
.qz-notfound { display: grid; justify-items: start; gap: 14px; padding: 30px 0; }
.qz-contact-form { margin-top: 16px; }

/* ── Footer bar, fixed to the bottom of the window ─────────────────── */

.qz-footer { position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--qz-gradient); color: #fff; }
.qz-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 36px; font-size: 13px; text-transform: uppercase; }
.qz-footer__links { display: flex; flex-wrap: wrap; gap: 0 18px; }

/* ── Quiz byline ─────────────────────────────────────────────────────── */
.qz-byline { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 18px; font-size: 12px; line-height: 1.5; color: #444; }
.qz-byline__avatar { flex: none; width: 35px; height: 35px; border-radius: 50%; background: #5a6a8e; }
.qz-byline__name { color: #444; }
.qz-byline__date { color: #979797; }
.qz-trending__list + .qz-trending__head--latest { margin-top: 24px; }

.qz-browse__heading { margin: 0 0 12px; padding-inline: 15px; font-size: 22px; font-weight: 400; line-height: 1.6; }
.qz-doc:not(.qz-doc--left) { max-width: none; }
.qz-doc:not(.qz-doc--left) .qz-page-title { text-align: center; font-size: 32px; font-weight: 500; margin-bottom: 20px; }
.qz-doc--left .qz-page-title { font-size: 24px; }
.qz-faq { margin: 0; }
.qz-faq details { border: 1px solid var(--qz-line); border-radius: 4px; overflow: hidden; }
.qz-faq details + details { margin-top: 1px; }
.qz-faq summary { padding: 12px 20px; background: #f7f7f7; cursor: pointer; list-style: none; }
.qz-faq summary::-webkit-details-marker { display: none; }
.qz-faq details[open] summary { border-bottom: 1px solid var(--qz-line); }
.qz-faq__answer { padding: 12px 20px; }

/* ── Blog (CMS) pages, in the legacy site's blue ───────────────────── */
.qz-blog__heading { margin: 0 0 20px; font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--qz-blog, #5b6fd6); }
.qz-blog__title { margin: 0 0 12px; font-size: 38px; font-weight: 700; line-height: 1.25; color: var(--qz-blog, #5b6fd6); }
.qz-article .qz-prose { font-size: 18px; line-height: 1.5; }
.qz-article__meta { font-size: 18px; color: var(--qz-text); }

/* As on the legacy site: Back shows the pointer, the numbers hide the cursor. */
.qz-steps__back, .qz-steps__back:disabled { cursor: pointer; }
.qz-steps__item { cursor: none; }
/* ──────────────────────────────────────────────────────────────────────────
   Shop template
   One shared shop layout; each site sets its skin in its config ("theme"). These values
   are the defaults (sparknoes in the approved design):
     --shop-primary       brand colour: pager, radios, filters, header search button (#032C5D)
     --shop-accent        active tab, section underline, badges (#0077C8)
     --shop-accent-text   text on the accent (#fff)
     --shop-link          links, "View All", tile "Shop Now" (#0077C8)
     --shop-heading       headings (#032C5D)
     --shop-price         card prices (#767676)
     --shop-radius        buttons, tabs, inputs (2.5px; pills 30px)
     --shop-header-bg / --shop-header-fg   header bar (#032C5D / #fff)
     --shop-nav-bg        the bar header's menu row (#1F1F2B)
     --shop-footer-bg / --shop-footer-fg   footer (#032C5D / #fff)
     --shop-font          body font ('Open Sans'); fonts load from shared.stylesheets.
   Optional: --shop-text (#555), --shop-cta-bg / --shop-cta-fg (hero button; default the accent),
   --shop-buy-bg (product Buy button, #253237), --shop-pager-bg (current page; default primary),
   --shop-pager-radius (50%; 4px for square), --shop-card-align (center | left),
   --shop-card-shadow (none), --shop-badge-bg (default the accent), --shop-hero-bg (hero band; default
   #f5f5f5), --shop-blog-heading (blog list and article titles; default --shop-heading),
   --shop-price-home (prices on the home page; default --shop-price), --shop-newsletter-bg /
   --shop-newsletter-fg / --shop-newsletter-border (footer Submit; default the CTA colours).
   No dark mode (as the other templates). Breakpoints: 768 / 992 / 1200px.
   ────────────────────────────────────────────────────────────────────────── */

.sh-page {
  --s-primary: var(--shop-primary, #032C5D);
  --s-accent: var(--shop-accent, #0077C8);
  --s-on-accent: var(--shop-accent-text, #fff);
  --s-link: var(--shop-link, #0077C8);
  --s-heading: var(--shop-heading, #032C5D);
  --s-price: var(--shop-price, #767676);
  --s-radius: var(--shop-radius, 2.5px);
  --s-header-bg: var(--shop-header-bg, #032C5D);
  --s-header-fg: var(--shop-header-fg, #fff);
  --s-nav-bg: var(--shop-nav-bg, #1F1F2B);
  --s-footer-bg: var(--shop-footer-bg, #032C5D);
  --s-footer-fg: var(--shop-footer-fg, #fff);
  --s-font: var(--shop-font, "Open Sans", Arial, sans-serif);
  --s-text: var(--shop-text, #555);
  --s-strong: #222;
  --s-muted: #767676;
  --s-line: #e5e5e5;
  --s-surface: #f5f5f5;
  --s-bg: #fff;
  --s-cta-bg: var(--shop-cta-bg, var(--s-accent));
  --s-cta-fg: var(--shop-cta-fg, var(--s-on-accent));
  --s-buy-bg: var(--shop-buy-bg, #253237);
  --s-pager-bg: var(--shop-pager-bg, var(--s-primary));
  --s-pager-radius: var(--shop-pager-radius, 50%);
  --s-card-align: var(--shop-card-align, center);
  --s-card-shadow: var(--shop-card-shadow, none);
  --s-badge-bg: var(--shop-badge-bg, var(--s-accent));
  --s-hero-bg: var(--shop-hero-bg, var(--s-surface));
  --s-blog-heading: var(--shop-blog-heading, var(--s-heading));
  --s-price-home: var(--shop-price-home, var(--s-price));
  --s-newsletter-bg: var(--shop-newsletter-bg, var(--s-cta-bg));
  --s-newsletter-fg: var(--shop-newsletter-fg, var(--s-cta-fg));
  --s-newsletter-border: var(--shop-newsletter-border, var(--s-newsletter-bg));
  --s-gutter: 16px;
  /* The shared components used here (breadcrumbs, contact form, pager) take the skin, not the platform's defaults. */
  --color-button-primary: var(--s-primary);
  --color-button-secondary: var(--s-strong);
  --color-knockout: #fff;
  --color-header: var(--s-strong);
  --color-text-primary: var(--s-text);
  --color-bg-alt: var(--s-surface);

  background: var(--s-bg);
  color: var(--s-text);
  font-family: var(--s-font);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.sh-page *, .sh-page ::before, .sh-page ::after { box-sizing: border-box; }
:where(.sh-page) a { color: var(--s-link); text-decoration: none; }
:where(.sh-page) a:hover { text-decoration: underline; }
:where(.sh-page) img { max-width: 100%; }
.sh-page :focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
:where(.sh-page) :is(h1, h2, h3) { margin: 0; color: var(--s-heading); line-height: 1.3; }
:where(.sh-page) ul { margin: 0; padding: 0; list-style: none; }
:where(.sh-page) p { margin: 0; }
:where(.sh-page) :is(button, input, select) { font: inherit; }

.sh-container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--s-gutter); }
@media (min-width: 1200px) { .sh-container { max-width: 1172px; } }
.sh-main { flex: 1 0 auto; }
.sh-main:focus { outline: none; }
.sh-stack { display: flex; flex-direction: column; gap: 24px; padding-block: 24px 48px; }
.sh-columns { display: flex; flex-direction: column; gap: 30px; padding-block: 32px 48px; }
@media (min-width: 992px) {
  .sh-columns { flex-direction: row; align-items: flex-start; }
  .sh-columns__content { flex: 1 1 auto; min-width: 0; }
  .sh-rail { flex: 0 0 300px; max-width: 300px; }
}
.sh-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sh-rail__item--sticky { position: sticky; top: 16px; }
.sh-ad-row { padding-block: 16px; }
.sh-ad { min-width: 0; max-width: 100%; overflow: hidden; }

.sh-skip {
  position: absolute; left: 8px; top: -48px; z-index: 60;
  padding: 10px 16px; background: var(--s-strong); color: #fff; font-weight: 600;
}
.sh-skip:focus { top: 8px; }

.sh-icon { flex: none; display: block; }
.sh-icon--left { transform: rotate(180deg); }
.sh-icon--down { transform: rotate(90deg); }
.sh-icon-button, .sh-round-button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.sh-round-button { border-radius: 50%; background: var(--s-primary); color: #fff; }
.sh-round-button:hover { filter: brightness(1.15); }

.sh-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 28px; border: 1px solid transparent; border-radius: var(--s-radius);
  background: var(--s-primary); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
}
:where(.sh-page) a.sh-button { color: #fff; }
.sh-button:hover { text-decoration: none; filter: brightness(1.1); }
.sh-button--outline { background: transparent; color: var(--s-primary); border-color: currentColor; }
:where(.sh-page) a.sh-button--cta, .sh-button--cta { background: var(--s-cta-bg); color: var(--s-cta-fg); }
:where(.sh-page) a.sh-button--buy, .sh-button--buy { background: var(--s-buy-bg); color: #fff; }
.sh-link-button { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; color: var(--s-link); cursor: pointer; text-decoration: underline; }
.sh-status { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; color: var(--s-muted); }
.sh-placeholder { display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.sh-placeholder__row { flex: 1 1 0; min-height: 72px; border-radius: 4px; background: linear-gradient(90deg, #eee, #f6f6f6, #eee); }
.sh-page-title { font-size: 26px; font-weight: 700; }
@media (min-width: 768px) { .sh-page-title { font-size: 30px; } }
.sh-kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sh-badge {
  position: absolute; top: 8px; left: 8px; padding: 2px 10px; border-radius: 30px;
  background: var(--s-badge-bg); color: var(--s-on-accent); font-size: 12px; line-height: 1.6;
}

/* Sections (home, related products) */
.sh-section { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; }
.sh-home { padding-bottom: 48px; }
.sh-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.sh-section-head--stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.sh-section-title { font-size: 22px; font-weight: 700; padding-bottom: 6px; border-bottom: 3px solid var(--s-accent); }
@media (min-width: 768px) { .sh-section-title { font-size: 26px; } }
.sh-view-all { font-weight: 700; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.sh-header { position: relative; z-index: 30; background: var(--s-header-bg); color: var(--s-header-fg); }
.sh-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 64px; padding-block: 10px; }
.sh-logo { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
:where(.sh-page) .sh-logo, :where(.sh-page) .sh-logo:hover { color: inherit; text-decoration: none; }
.sh-logo__image { display: block; height: auto; max-height: 48px; width: auto; max-width: 180px; }
.sh-logo__text { font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.sh-header__links { margin-left: auto; }
.sh-header__link-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
:where(.sh-page) .sh-header__link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0;
  border: 0; background: none; color: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}

/* The search box */
.sh-search { display: flex; align-items: stretch; min-width: 0; background: #fff; border-radius: var(--s-radius); }
.sh-search__input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--s-radius) 0 0 var(--s-radius); background: #fff; color: var(--s-strong); font-size: 16px; }
.sh-search__input::placeholder { color: var(--s-muted); opacity: 1; }
/* A visible ring on the whole box while its input has keyboard focus (QuickLaunch's stylesheet removes input outlines). */
.sh-page .sh-search__input:focus-visible { outline: none; }
.sh-search:has(.sh-search__input:focus-visible) { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.sh-header--offcanvas .sh-search:has(.sh-search__input:focus-visible) { outline-color: #fff; }
.sh-search__input::-webkit-search-cancel-button { cursor: pointer; }
.sh-search__select { flex: 0 1 auto; max-width: 45%; min-height: 44px; padding: 0 8px 0 14px; border: 0; border-right: 1px solid #ddd; background: #fff; color: var(--s-strong); border-radius: var(--s-radius) 0 0 var(--s-radius); }
.sh-search__select + .sh-search__input, .sh-search__select ~ .sh-search__input { border-radius: 0; }
.sh-search__button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 48px; min-height: 44px; border: 1px solid currentColor; border-radius: 0 var(--s-radius) var(--s-radius) 0;
  background: var(--s-primary); color: #fff; cursor: pointer;
}

/* offcanvas: one bar; the search fills the row from 768px, on phones it is in the drawer */
.sh-header--offcanvas .sh-header__row { flex-wrap: nowrap; }
.sh-header--offcanvas .sh-header__menu-button { margin-left: -10px; }
.sh-header--offcanvas .sh-header__search--wide { display: none; }
.sh-header--offcanvas .sh-header__links { display: none; }
.sh-header--offcanvas .sh-logo { margin-inline: auto; }
@media (min-width: 768px) {
  .sh-header--offcanvas .sh-header__search--wide { display: flex; flex: 1 1 auto; }
  .sh-header--offcanvas .sh-header__links { display: block; margin-left: 8px; }
  .sh-header--offcanvas .sh-logo { margin-inline: 0; }
}
.sh-header--offcanvas .sh-header__search--wide .sh-search__button { border-color: #fff; }

/* bar: logo + pill search with a category select, then the dark menu row */
.sh-header--bar { box-shadow: 0 1px 0 var(--s-line); }
.sh-header--bar .sh-header__row { padding-block: 12px; justify-content: space-between; }
.sh-header--bar .sh-search { order: 3; flex: 1 1 100%; border: 2px solid var(--s-primary); border-radius: 30px; overflow: hidden; }
.sh-header--bar .sh-search__input, .sh-header--bar .sh-search__select { min-height: 40px; }
.sh-header--bar .sh-search__button { border: 0; border-radius: 0 30px 30px 0; min-height: 40px; min-width: 52px; }
.sh-header--bar .sh-header__menu-button { order: 2; }
.sh-navbar { display: none; background: var(--s-nav-bg); }
.sh-navbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 44px; }
:where(.sh-page) .sh-navbar__link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; }
:where(.sh-page) .sh-navbar__link:hover { color: #6cc4ff; text-decoration: none; }
@media (min-width: 768px) {
  .sh-header--bar .sh-header__menu-button { display: none; }
  .sh-header--bar .sh-search { order: 0; flex: 0 1 560px; }
  .sh-navbar { display: block; }
}

/* dropdown: logo, search, links and the Categories dropdown; phones: menu + search toggle */
.sh-header--dropdown { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.sh-header--dropdown .sh-header__row { flex-wrap: wrap; justify-content: space-between; }
.sh-header--dropdown .sh-header__menu-button { margin-left: -10px; }
.sh-header--dropdown .sh-header__links { display: none; }
.sh-header--dropdown .sh-header__search-wrap { display: none; flex: 1 1 100%; order: 5; padding-bottom: 6px; }
.sh-header--search-open .sh-header__search-wrap { display: block; }
.sh-header--dropdown .sh-search { border: 1px solid #ccc; border-radius: 2px; }
.sh-header--dropdown .sh-search__button { border: 0; background: transparent; color: var(--s-text); }
@media (min-width: 768px) {
  .sh-header--dropdown .sh-header__row { flex-wrap: nowrap; justify-content: flex-start; gap: 24px; }
  .sh-header--dropdown .sh-header__menu-button, .sh-header--dropdown .sh-header__search-toggle { display: none; }
  .sh-header--dropdown .sh-header__search-wrap { display: block; flex: 1 1 300px; order: 0; padding: 0; }
  .sh-header--dropdown .sh-header__links { display: block; }
  .sh-header--dropdown .sh-header__link { color: #505050; font-weight: 500; }
}
.sh-dropdown { position: relative; }
.sh-dropdown__menu {
  position: absolute; right: 0; top: 100%; z-index: 40; min-width: 240px; padding: 8px 0;
  background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); border-radius: 4px;
}
.sh-dropdown__menu[hidden] { display: none; }
:where(.sh-page) .sh-dropdown__link { display: flex; align-items: center; min-height: 40px; padding: 4px 18px; color: var(--s-strong); }
:where(.sh-page) .sh-dropdown__link:hover, :where(.sh-page) .sh-dropdown__link:focus-visible { background: var(--s-primary); color: #fff; text-decoration: none; }

/* The drawer (all variants) */
.sh-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.sh-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s ease; }
.sh-drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(300px, 86vw); overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 24px;
  background: #fff; color: var(--s-strong); transform: translateX(-100%); transition: transform .25s ease;
}
.sh-drawer--full .sh-drawer__panel { width: 100%; }
.sh-drawer:not(.sh-drawer--open) .sh-drawer__panel { visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.sh-drawer--open { pointer-events: auto; }
.sh-drawer--open .sh-drawer__backdrop { opacity: 1; }
.sh-drawer--open .sh-drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .sh-drawer__panel, .sh-drawer__backdrop { transition: none; } }
.sh-drawer__top { display: flex; justify-content: flex-end; border-bottom: 1px solid var(--s-line); padding-bottom: 4px; }
.sh-drawer__welcome { padding: 16px 0; text-align: center; border-bottom: 1px solid var(--s-line); }
.sh-drawer__search { margin: 12px 0 4px; border: 1px solid #ccc; }
@media (min-width: 768px) { .sh-drawer__search { display: none; } }
.sh-drawer__level { display: flex; flex-direction: column; }
.sh-drawer__list { display: flex; flex-direction: column; }
.sh-drawer__list > li { border-bottom: 1px solid var(--s-line); }
:where(.sh-page) .sh-drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 4px 0;
  border: 0; background: none; color: var(--s-strong); font-weight: 600; text-align: left; text-transform: uppercase; cursor: pointer;
}
.sh-drawer--full :where(.sh-drawer__link) { justify-content: center; }
.sh-drawer__link--more { color: var(--s-link); }
.sh-drawer__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--s-link); font-weight: 600; cursor: pointer; }
.sh-drawer__heading { padding: 4px 0 8px; font-weight: 700; color: var(--s-heading); border-bottom: 1px solid var(--s-line); }
.sh-drawer__sublist { display: flex; flex-direction: column; padding: 0 0 8px 12px; }
:where(.sh-page) .sh-drawer__sublink { display: flex; align-items: center; min-height: 44px; color: var(--s-strong); }
.sh-drawer__social { padding-top: 16px; }
.sh-accordion { border-bottom: 1px solid var(--s-line); }
.sh-accordion__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0;
  border: 0; background: none; color: var(--s-strong); font-weight: 600; cursor: pointer; text-align: left;
}
.sh-drawer--full .sh-accordion__toggle { text-transform: uppercase; }
.sh-accordion--open .sh-icon--plus { transform: rotate(45deg); }

/* ── Hero and scrolling rows ─────────────────────────────────────────────── */
.sh-hero { background: var(--s-hero-bg); }
.sh-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 24px; }
.sh-hero__slides { flex: 1 1 0; min-width: 0; display: grid; }
/* Every slide in one cell; the current one fades in over the others. */
.sh-hero__slide { grid-area: 1 / 1; display: flex; flex-direction: column-reverse; gap: 20px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.sh-hero__slide--active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
@media (prefers-reduced-motion: reduce) { .sh-hero__slide, .sh-hero__slide--active { transition: none; } }
.sh-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sh-hero__kicker { font-style: italic; font-size: 18px; color: var(--s-heading); }
.sh-hero__title { font-size: 28px; font-weight: 600; }
.sh-hero__media { display: flex; align-items: center; justify-content: center; min-height: 180px; }
.sh-hero__media img { max-height: 320px; width: auto; object-fit: contain; }
.sh-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.sh-hero__arrow--prev { left: var(--s-gutter); }
.sh-hero__arrow--next { right: var(--s-gutter); }
.sh-hero--arrows .sh-hero__slides { padding-inline: 52px; }
.sh-hero__bar { flex: 1 1 100%; display: flex; justify-content: center; align-items: center; gap: 12px; }
.sh-hero__dots { display: flex; gap: 2px; }
.sh-hero__dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.sh-hero__dot::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #c9c9d1; }
.sh-hero__dot[aria-current="true"]::after { background: var(--s-accent); }
.sh-hero__pause { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--s-heading); cursor: pointer; }
@media (min-width: 768px) {
  .sh-hero__inner { padding-block: 48px; }
  .sh-hero__slide { flex-direction: row; align-items: center; }
  .sh-hero__text, .sh-hero__media { flex: 1 1 0; min-width: 0; }
  .sh-hero__title { font-size: 40px; }
  .sh-hero__media { min-height: 300px; }
}

.sh-scroller { position: relative; display: flex; flex-direction: column; gap: 12px; }
.sh-scroller__controls { display: flex; justify-content: flex-end; gap: 8px; }
.sh-scroller__controls .sh-round-button { background: transparent; color: var(--s-strong); border: 1px solid var(--s-line); }
.sh-scroller__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 8px;
}
.sh-scroller__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 576px) { .sh-scroller__list { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 768px) { .sh-scroller__list { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (min-width: 1024px) { .sh-scroller__list { grid-auto-columns: calc((100% - 72px) / 4); } }
.sh-scroller--single .sh-scroller__list { grid-auto-columns: 100%; }
.sh-scroller--brands .sh-scroller__list { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
@media (min-width: 600px) { .sh-scroller--brands .sh-scroller__list { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1000px) { .sh-scroller--brands .sh-scroller__list { grid-auto-columns: calc((100% - 64px) / 5); } }
@media (prefers-reduced-motion: no-preference) { .sh-scroller__list { scroll-behavior: smooth; } }

/* ── Product cards ───────────────────────────────────────────────────────── */
.sh-card { height: 100%; }
:where(.sh-page) .sh-card__link {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 12px;
  background: #fff; box-shadow: var(--s-card-shadow); color: inherit; text-align: var(--s-card-align); text-decoration: none;
}
.sh-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.sh-card__media img { width: 100%; height: 100%; object-fit: contain; }
.sh-card__body { display: flex; flex-direction: column; gap: 6px; }
.sh-card__title {
  font-size: 14px; font-weight: 500; line-height: 1.45; color: #253237;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sh-card__link:hover .sh-card__title { text-decoration: underline; }
.sh-card__price { color: var(--s-price); font-weight: 600; }
.sh-home .sh-card__price { color: var(--s-price-home); }
.sh-card--featured .sh-card__link { border: 1px solid #eee; padding: 16px; text-align: left; }
.sh-card--featured .sh-card__title { font-size: 16px; font-weight: 700; color: var(--s-heading); }
.sh-card--mini .sh-card__link { flex-direction: row; align-items: center; gap: 12px; padding: 0; box-shadow: none; text-align: left; }
.sh-card--mini .sh-card__media { flex: 0 0 72px; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 24px; }
@media (min-width: 992px) { .sh-results .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; } }
.sh-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.sh-mini-list { display: flex; flex-direction: column; gap: 14px; }

/* ── Home ───────────────────────────────────────────────────────────────── */
.sh-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-tab {
  min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--s-radius);
  background: #f1f1f1; color: #333; cursor: pointer;
}
.sh-tab[aria-selected="true"] { background: var(--s-accent); color: var(--s-on-accent); }
.sh-tiles { display: grid; gap: 20px; }
.sh-scroller--tiles .sh-scroller__list { grid-auto-columns: 100%; gap: 20px; }
@media (min-width: 768px) { .sh-scroller--tiles .sh-scroller__list { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 992px) { .sh-scroller--tiles .sh-scroller__list { grid-auto-columns: calc((100% - 40px) / 3); } }
:where(.sh-page) .sh-tile { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--s-surface); color: inherit; text-decoration: none; }
.sh-tile__media { flex: 0 0 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.sh-tile__media img { max-height: 100%; object-fit: contain; }
.sh-tile__body { display: flex; flex-direction: column; gap: 4px; }
.sh-tile__name { color: var(--s-heading); font-size: 16px; font-weight: 700; }
.sh-tile__cta { display: inline-flex; align-items: center; gap: 4px; color: var(--s-link); font-weight: 600; }
.sh-tile:hover .sh-tile__name { text-decoration: underline; }
.sh-rails { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.sh-rail-column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sh-rail-column__title { font-size: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--s-line); }
:where(.sh-page) .sh-brand {
  display: flex; align-items: center; justify-content: center; height: 90px; padding: 12px;
  border: 1px solid var(--s-line); border-radius: 4px; background: #fff; color: #333; font-weight: 700; text-align: center;
}
.sh-brand img { max-height: 100%; object-fit: contain; }
.sh-category-buttons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
:where(.sh-page) .sh-category-button {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 16px;
  background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); color: #333; font-weight: 700; text-align: center;
}
:where(.sh-page) .sh-category-button:hover { color: var(--s-primary); text-decoration: none; }

/* ── Listing ────────────────────────────────────────────────────────────── */
.sh-listing { display: flex; flex-direction: column; gap: 30px; }
.sh-results { order: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sh-filters { order: 2; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 992px) {
  .sh-listing { flex-direction: row; align-items: flex-start; }
  .sh-filters { order: 0; flex: 0 0 255px; max-width: 255px; }
  .sh-results { flex: 1 1 0; }
}
.sh-filter { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sh-filter__title { margin-bottom: 8px; padding: 0; color: var(--s-strong); font-size: 16px; font-weight: 600; }
.sh-filter__list { display: flex; flex-direction: column; }
.sh-filter__list li { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.sh-filter__list label { cursor: pointer; overflow-wrap: anywhere; }
.sh-filter__count { color: var(--s-muted); }
.sh-radio { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--s-primary); cursor: pointer; }
:where(.sh-page) .sh-filter__link { display: inline-flex; align-items: center; min-height: 36px; color: var(--s-text); }
:where(.sh-page) .sh-filter__link[aria-current] { color: var(--s-primary); font-weight: 700; }
.sh-show-more { align-self: flex-start; min-height: 40px; padding: 4px 12px; border: 0; border-radius: 2px; background: var(--s-primary); color: #fff; font-weight: 700; cursor: pointer; }
.sh-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--s-surface); }
.sh-toolbar__sort { display: flex; align-items: center; gap: 8px; }
.sh-select { min-height: 40px; padding: 0 12px; border: 1px solid #ccc; border-radius: 20px; background: #fff; color: var(--s-strong); }
.sh-pager-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--s-surface); }
/* Only the pager (no "Showing" line): centred. */
.sh-pager-bar:not(:has(> p)) { justify-content: center; }
.sh-pagination.pagination { width: auto; margin: 0; padding: 0; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.sh-pagination .pagination__pages { gap: 8px; flex-wrap: wrap; }
.sh-pagination .pagination__chip,
.sh-pagination .pagination__control {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
  border: 0; border-radius: var(--s-pager-radius); background: #fff; color: var(--s-strong); font: inherit; font-size: 15px; text-decoration: none;
}
.sh-pagination .pagination__chip--active,
.sh-pagination .pagination__chip--active:hover { background: var(--s-pager-bg); color: #fff; }
.sh-pagination .pagination__control:disabled { display: none; }
.sh-pagination .pagination__ellipsis { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--s-font); color: var(--s-text); }
.sh-related-searches { display: flex; flex-direction: column; gap: 10px; }
.sh-related-searches__title { font-size: 16px; color: var(--s-strong); }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.sh-page) .sh-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 15px; border: 1px solid #ddd; border-radius: 20px; background: #fff; color: var(--s-strong); }

/* Sponsored results (AdMedia) */
.sh-sponsored { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid #333; }
.sh-sponsored__head { font-size: 13px; }
.sh-sponsored__label { color: #5b3fc4; }
:where(.sh-page) .sh-sponsored__by { color: #000; font-weight: 600; }
.sh-sponsored__ad { display: flex; flex-direction: column; gap: 2px; padding-block: 8px; border-top: 1px solid var(--s-line); min-width: 0; }
.sh-sponsored__ad:first-child { border-top: 0; }
:where(.sh-page) .sh-sponsored__title { color: #000; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
:where(.sh-page) .sh-sponsored__url { color: #000; font-size: 13px; overflow-wrap: anywhere; }
.sh-sponsored__text { color: #242424; font-size: 13px; }

/* ── Product page ───────────────────────────────────────────────────────── */
.sh-product { display: flex; flex-direction: column; gap: 24px; padding-block: 24px 40px; }
.sh-breadcrumbs.breadcrumbs { margin: 0; padding: 0; background: none; color: var(--s-muted); font-size: 14px; overflow: visible; }
.sh-breadcrumbs .breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; white-space: normal; }
.sh-breadcrumbs .breadcrumbs__item { display: inline-flex; gap: 8px; min-width: 0; max-width: 100%; font: inherit; font-size: 14px; line-height: 1.5; }
:where(.sh-page) .sh-breadcrumbs .breadcrumbs__link { color: var(--s-muted); opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
.sh-breadcrumbs .breadcrumbs__separator { color: var(--s-muted); }
/* The product name ends in an ellipsis on one line rather than being cut mid-word. */
.sh-breadcrumbs .breadcrumbs__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }
.sh-product__main { display: flex; flex-direction: column; gap: 32px; }
.sh-product__gallery { display: flex; align-items: center; justify-content: center; min-height: 240px; }
.sh-product__gallery img { max-height: 420px; width: auto; object-fit: contain; }
.sh-product__box { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--s-line); border-radius: 6px; align-self: flex-start; width: 100%; }
@media (min-width: 768px) {
  .sh-product__main { flex-direction: row; }
  .sh-product__gallery, .sh-product__box { flex: 1 1 0; min-width: 0; }
  .sh-product__box { padding: 28px; }
}
.sh-product__title { font-size: 23px; font-weight: 400; color: var(--s-strong); }
@media (min-width: 768px) { .sh-product__title { font-size: 25px; } }
.sh-rating { display: flex; gap: 2px; color: #b37d00; }
.sh-product__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sh-product__price { font-size: 22px; color: var(--s-text); }
.sh-save-badge { padding: 3px 10px; background: var(--s-primary); color: #fff; font-size: 12px; }
.sh-stock { color: #2e7d32; font-weight: 600; }
.sh-stock--out { color: #b3261e; }
.sh-product__summary { padding-block: 16px; border-block: 1px solid var(--s-line); }
.sh-product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sh-qty { display: inline-flex; align-items: stretch; border: 1px solid #ccc; }
.sh-qty__button { min-width: 44px; min-height: 44px; border: 0; background: #fff; color: var(--s-strong); font-size: 18px; cursor: pointer; }
.sh-qty__button:disabled { color: #bbb; cursor: default; }
.sh-qty__input { width: 52px; border: 0; border-inline: 1px solid #eee; text-align: center; color: var(--s-strong); -moz-appearance: textfield; appearance: textfield; }
.sh-qty__input::-webkit-inner-spin-button, .sh-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sh-product-info { background: var(--s-surface); padding-block: 32px; }
.sh-product-info__card { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #fff; }
.sh-product-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; border-bottom: 1px solid var(--s-line); }
.sh-product-tab { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--s-text); font-size: 16px; cursor: pointer; }
.sh-product-tab[aria-selected="true"] { color: var(--s-strong); font-weight: 600; border-bottom-color: var(--s-accent); }
.sh-product-info__text { line-height: 2; }
.sh-specs { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.sh-specs dt { font-weight: 600; color: #333; }
.sh-specs dd { margin: 0; overflow-wrap: anywhere; }

/* ── Site pages: /deals, /top-brands, /categories ───────────────────────── */
.sh-brands-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; background: #eee; }
.sh-brands-head .sh-page-title { font-size: 20px; }
.sh-letters { display: flex; flex-wrap: wrap; gap: 2px; }
:where(.sh-page) .sh-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 36px; border-radius: 4px; color: #333; font-weight: 700; }
:where(.sh-page) .sh-letter:hover, :where(.sh-page) .sh-letter:focus-visible { background: var(--s-primary); color: #fff; text-decoration: none; }
.sh-brand-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.sh-brand-group { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid #ddd; scroll-margin-top: 16px; }
.sh-brand-group__letter { font-size: 18px; color: var(--s-primary); }
.sh-brand-group li a { display: inline-flex; min-height: 32px; align-items: center; color: var(--s-text); }
.sh-category-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.sh-category-group { display: flex; flex-direction: column; gap: 6px; }
.sh-category-group__title { font-size: 18px; color: var(--s-strong); }
.sh-category-group ul { list-style: disc; padding-left: 20px; }
.sh-category-group li a { display: inline-block; padding-block: 3px; color: var(--s-text); }

/* ── Blog ───────────────────────────────────────────────────────────────── */
.sh-blog { display: flex; flex-direction: column; gap: 16px; }
.sh-blog__title { font-weight: 800; color: var(--s-blog-heading); }
.sh-posts { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: var(--s-surface); }
.sh-post { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px; background: #fff; }
.sh-post__media { flex: 0 0 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--s-surface); }
.sh-post__media img { width: 100%; height: 100%; object-fit: cover; }
.sh-post__body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sh-post__title { font-size: 20px; font-weight: 700; color: var(--s-blog-heading); }
:where(.sh-page) .sh-post__title a { color: inherit; }
.sh-post__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 576px) { .sh-post__media { flex: 0 0 40%; } }
.sh-blog-pager { display: flex; }
.sh-blog-pager .sh-pagination .pagination__chip:not(.pagination__chip--active),
.sh-blog-pager .sh-pagination .pagination__control { background: #eee; }
.sh-article { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sh-article__title { font-size: 30px; color: var(--s-blog-heading); }
@media (min-width: 768px) { .sh-article__title { font-size: 35px; } }
.sh-article__author { color: var(--s-primary); }
.sh-article__hero { width: 100%; height: auto; }
.sh-article__disclosure { font-style: italic; }
.sh-prose { font-size: 16px; line-height: 1.75; color: var(--s-text); overflow-wrap: break-word; }
.sh-prose :is(h2, h3, h4) { margin: 1.4em 0 .5em; color: var(--s-heading); }
.sh-prose p, .sh-prose ul, .sh-prose ol { margin: 0 0 1em; }
.sh-prose ul { list-style: disc; padding-left: 1.4em; }
.sh-prose ol { padding-left: 1.4em; }
.sh-prose img { height: auto; }
.sh-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sh-prose :is(td, th) { padding: 6px 10px; border: 1px solid var(--s-line); }
.sh-rail-list { display: flex; flex-direction: column; gap: 10px; }
.sh-rail-list__title { font-size: 18px; }
.sh-rail-list li a { display: block; padding-block: 6px; border-bottom: 1px solid var(--s-line); color: var(--s-strong); }

/* ── Static pages, sitemap, not found ───────────────────────────────────── */
.sh-doc { display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
/* The shared contact form (atoms/ContactForm) in the skin: its font, fields full width ("w-1/2" pairs from 768px), the primary button. */
.sh-contact-form, .sh-contact-form * { font-family: var(--s-font); }
.sh-contact-form > div > div { box-shadow: none; border: 1px solid var(--s-line); border-radius: 6px; padding: 20px; }
.sh-contact-form form > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; }
.sh-contact-form form > div > div { width: auto; padding: 0; margin: 0; }
@media (min-width: 768px) {
  .sh-contact-form > div > div { padding: 28px; }
  .sh-contact-form form > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-contact-form form > div > div { grid-column: 1 / -1; }
  .sh-contact-form form > div > div[class*="w-1/2"] { grid-column: auto; }
}
.sh-contact-form input, .sh-contact-form textarea { width: 100%; min-height: 44px; padding: 10px 14px; font-size: 16px; color: var(--s-strong); background: #fff; border: 1px solid #ccc; border-radius: var(--s-radius); }
.sh-contact-form textarea { min-height: 140px; }
.sh-contact-form button[type="submit"] { min-height: 44px; padding-inline: 28px; font-size: 16px; border-radius: var(--s-radius); }
.sh-sitemap section { display: flex; flex-direction: column; gap: 10px; }
.sh-sitemap__list { display: flex; flex-direction: column; gap: 6px; }
.sh-sitemap__list ul { padding: 6px 0 0 18px; display: flex; flex-direction: column; gap: 4px; }
.sh-notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 40px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.sh-footer { margin-top: auto; background: var(--s-footer-bg); color: var(--s-footer-fg); }
:where(.sh-page) .sh-footer a { color: inherit; }
.sh-footer__heading { margin: 0 0 6px; color: inherit; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.sh-footer__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-block: 40px; }
.sh-footer__links { display: flex; flex-direction: column; }
:where(.sh-page) .sh-footer__link { display: inline-flex; align-items: center; min-height: 36px; }
.sh-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.sh-footer__payment { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sh-footer__payment img { max-height: 28px; width: auto; }
.sh-footer__band { background: var(--s-footer-bg); color: var(--s-footer-fg); }
.sh-footer__band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; }
.sh-footer--band { background: transparent; color: var(--s-text); }
.sh-footer__bottom { background: #f7f7f7; color: var(--s-text); }
.sh-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.sh-footer__inline-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.sh-social .footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
:where(.sh-page) .sh-social .footer__social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: 50%; color: inherit;
}
.sh-social .footer__social-icon { width: 18px; height: 18px; }

.sh-newsletter { display: flex; flex-direction: column; gap: 12px; }
.sh-newsletter__text { opacity: .85; }
.sh-newsletter__form { display: flex; flex-direction: column; gap: 10px; }
.sh-newsletter__input { min-height: 44px; padding: 0 12px; border: 1px solid currentColor; border-radius: var(--s-radius); background: transparent; color: inherit; }
.sh-newsletter__input::placeholder { color: inherit; opacity: .75; }
.sh-newsletter__button { min-height: 44px; padding: 0 26px; border: 1px solid var(--s-newsletter-border); border-radius: var(--s-radius); background: var(--s-newsletter-bg); color: var(--s-newsletter-fg); font-weight: 700; cursor: pointer; }
.sh-newsletter__button:disabled { opacity: .7; cursor: default; }
.sh-newsletter__status { flex-basis: 100%; font-size: 14px; }
.sh-newsletter--band { flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.sh-newsletter--band .sh-newsletter__title { font-size: 22px; text-transform: none; margin: 0; }
.sh-newsletter--band .sh-newsletter__form { flex: 0 1 460px; flex-direction: row; flex-wrap: wrap; gap: 0; }
.sh-newsletter--band .sh-newsletter__input { flex: 1 1 200px; min-width: 0; border: 0; border-radius: 30px 0 0 30px; background: #fff; color: var(--s-strong); padding: 0 18px; }
.sh-newsletter--band .sh-newsletter__input::placeholder { color: var(--s-muted); opacity: 1; }
.sh-newsletter--band .sh-newsletter__button { border-radius: 0 30px 30px 0; }

/* Visually hidden, still read (the template doesn't rely on a utility class being generated). */
.sh-page .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Listing view toggle and the list view (one product per row; same products and pager as the grid) */
.sh-toolbar__views { display: flex; gap: 4px; }
.sh-view-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: #fff; color: var(--s-text); cursor: pointer; }
.sh-view-button[aria-pressed="true"] { background: var(--s-primary); color: #fff; }
.sh-toolbar__count { flex: 1 1 auto; }
.sh-list { display: flex; flex-direction: column; gap: 16px; }
.sh-card--list .sh-card__link { flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; border-bottom: 1px solid var(--s-line); padding: 0 0 16px; box-shadow: none; }
.sh-card--list .sh-card__media { flex: 0 0 120px; }
.sh-card--list .sh-card__body { flex: 1 1 auto; min-width: 0; }
.sh-card--list .sh-card__title { font-size: 16px; }
.sh-card__excerpt { color: var(--s-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .sh-card--list .sh-card__media { flex-basis: 200px; } }

/* .App {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.App-header {
  margin-bottom: 2rem;
}

.App-header h1 {
  color: #646cff;
  margin-bottom: 1rem;
}

.App-header p {
  color: #888;
  font-size: 1.1rem;
}

main {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  main {
    background: #1a1a1a;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  }
} */
/*$vite$:1*/