/** Shopify CDN: Minification failed

Line 25:81 Expected identifier but found whitespace
Line 26:1 Expected identifier but found "%"
Line 27:0 Unexpected "<"

**/
/* ag-home.css: shared styles for the Kartel home-page sections on Dragon — the product list
   (snippets/ag-product-list.liquid, replaces Horizon's resource-list), the release-row rail
   (agified from Horizon's ag-release-row-styles), section backgrounds and rail controls.
   Tokens: --ag-* (ag-vars.css). Linked by each section that needs it; the browser loads it once. */

/* Section chrome */
body.ag-layout .shopify-section { position: relative; }
.ag-section-background { position: absolute; inset: 0; z-index: 0; background-color: var(--ag-color-background); }
/* Dragon hides every empty div (div:empty{display:none} in its reset); the background layer is empty by design. */
body.ag-layout .ag-section-background { display: block; }
.ag-section-background ~ .section { position: relative; z-index: 1; }

/* Product list: carousel (scroll-snap) or grid */



/* Release row rail (Horizon ag-release-row-styles, tokens renamed) */
 so they load on any page that renders a row, including rows inserted after load.
{%- enddoc -%}
<style>
  .ag-release-row {
    --ag-rail-width: 16rem;
  }

  /* Horizon's .section is already a margin / content / margin grid, so the two-column layout
     lives on an inner wrapper that sits in the content column. */
  .ag-release-row__inner {
    display: grid;
    grid-template-columns: var(--ag-rail-width) minmax(0, 1fr);
    column-gap: var(--ag-gap-xl);
    align-items: stretch;
  }

  .ag-release-row--rail-narrow {
    --ag-rail-width: 13rem;
  }

  .ag-release-row--rail-wide {
    --ag-rail-width: 20rem;
  }

  /* The rail: heading and blurb at the top, See all and the arrows pinned to the bottom, so the
     controls sit level with the bottom of the cards whatever the heading does. */
  .ag-release-row__rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--ag-gap-lg);
    min-width: 0;
  }

  .ag-release-row--divider .ag-release-row__rail {
    padding-inline-end: var(--ag-gap-xl);
    border-inline-end: var(--ag-style-border-width, 1px) solid var(--ag-color-border);
  }

  .ag-release-row__rail-top {
    display: flex;
    flex-direction: column;
    gap: var(--ag-gap-sm);
  }

  .ag-release-row__heading {
    margin: 0;
    text-wrap: balance;
  }

  .ag-release-row__blurb {
    margin: 0;
    max-width: 28ch;
    color: var(--ag-color-foreground-subdued);
  }

  /* One control height and one gap across the whole set: SEE ALL and both arrows sit on an
     even rhythm. */
  .ag-release-row__rail-bottom {
    --ag-rail-control-size: 2.25rem;
    --ag-rail-control-gap: var(--ag-gap-2xs);

    display: flex;
    align-items: center;
    gap: var(--ag-rail-control-gap);
  }

  .ag-release-row__arrows {
    display: flex;
    align-items: center;
    gap: var(--ag-rail-control-gap);
  }

  .ag-release-row__all {
    height: var(--ag-rail-control-size);
    min-height: 0;
    padding-block: 0;
    padding-inline: 1.1rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    font-size: var(--ag-type-label-size);
    letter-spacing: 0.06em;
  }

  /* Rail controls: solid foreground fill with the page background as the mark, square, no border.
     Scoped to this section so the site's secondary buttons are untouched. */
  .ag-release-row__all,
  .ag-release-row__arrow {
    --ag-button-background-color: var(--ag-ink);
    --ag-button-color: var(--ag-color-background);
    --ag-button-border-color: var(--ag-ink);
    --ag-button-border-width: var(--ag-style-border-width-secondary, 1px);

    border-radius: 0;
  }

  .ag-release-row__all:hover,
  .ag-release-row__arrow:hover:not([disabled]) {
    --ag-button-background-color: var(--ag-color-background);
    --ag-button-color: var(--ag-ink);
  }

  /* Horizon's global focus rule draws an offset outline in currentcolor, which lands on these
     buttons after a pointer click because the slideshow moves focus. Keep it for keyboard use only. */
  .ag-release-row__all:focus:not(:focus-visible),
  .ag-release-row__arrow:focus:not(:focus-visible) {
    outline: none;
  }

  .ag-release-row__all:focus-visible,
  .ag-release-row__arrow:focus-visible {
    outline-color: var(--ag-color-foreground);
    outline-offset: 2px;
  }

  .ag-release-row__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ag-rail-control-size);
    height: var(--ag-rail-control-size);
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .ag-release-row__icon {
    width: 1rem;
    height: 1rem;
    fill: currentcolor;
  }

  .ag-release-row__icon--prev {
    transform: scaleX(-1);
  }

  .ag-release-row__arrow[disabled] {
    opacity: var(--ag-opacity-30);
    cursor: default;
  }

  .ag-release-row__list {
    min-width: 0;
  }

  .ag-release-row__empty {
    color: var(--ag-color-foreground-subdued);
  }

  @media screen and (max-width: 989px) {
    .ag-release-row__inner {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--ag-gap-md);
    }

    .ag-release-row--divider .ag-release-row__rail {
      padding-inline-end: 0;
      padding-block-end: var(--ag-gap-md);
      border-inline-end: 0;
      border-block-end: var(--ag-style-border-width, 1px) solid var(--ag-color-border);
    }

    .ag-release-row__rail {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      /* Baseline, not end: bottom alignment made the button's position depend on the tallest
         cell, so it moved whenever the heading settled (build cleanup 3.6). */
      align-items: baseline;
    }
  }
  /* Mobile: swipe the row; the arrows go. */
  @media screen and (max-width: 749px) {
    .ag-release-row__arrows {
      display: none;
    }
  }
