/* =========================================================
     RESET
  ========================================================= */

  [data-lux-editorial],
  [data-lux-editorial] *,
  [data-lux-editorial] *::before,
  [data-lux-editorial] *::after {
    box-sizing: border-box;
  }



  /* =========================================================
     SECTION

     IMPORTANT:
     ONLY ONE SOLID BACKGROUND.
     NO ::before BACKGROUND.
  ========================================================= */

  [data-lux-editorial] {
    position: relative;

    width: 100%;

    overflow: hidden;

    isolation: isolate;

    margin: 0;

    padding-top:
      var(--lux-padding-top);

    padding-bottom:
      var(--lux-padding-bottom);

    background-color:
      var(--lux-bg);

    color:
      var(--lux-text);
  }



  /* =========================================================
     INNER
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__inner {
    position: relative;

    width:
      min(
        calc(100% - 44px),
        var(--lux-max-width)
      );

    margin:
      0 auto;
  }



  /* =========================================================
     GRID
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid {
    position: relative;

    display: grid;

    align-items: center;

    gap:
      var(--lux-gap);
  }



  /* =========================================================
     LANDSCAPE 16:9
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid--landscape {
    grid-template-columns:
      minmax(0, 1.42fr)
      minmax(320px, .78fr);
  }


  [data-lux-editorial]
  .lux-editorial__grid--landscape.is-reverse {
    grid-template-columns:
      minmax(320px, .78fr)
      minmax(0, 1.42fr);
  }



  /* =========================================================
     PORTRAIT 4:5
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid--portrait {
    grid-template-columns:
      minmax(330px, .82fr)
      minmax(0, 1.18fr);
  }


  [data-lux-editorial]
  .lux-editorial__grid--portrait.is-reverse {
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(330px, .82fr);
  }



  /* =========================================================
     SQUARE 1:1
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid--square {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
  }



  /* =========================================================
     REVERSE
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid.is-reverse
  .lux-editorial__media-col {
    order: 2;
  }


  [data-lux-editorial]
  .lux-editorial__grid.is-reverse
  .lux-editorial__content-col {
    order: 1;
  }



  [data-lux-editorial]
  .lux-editorial__media-col,

  [data-lux-editorial]
  .lux-editorial__content-col {
    min-width: 0;
  }



  /* =========================================================
     MEDIA WRAPPER
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__media-wrap {
    position: relative;

    width: 100%;
  }



  /* =========================================================
     INITIAL REVEAL
  ========================================================= */

  [data-lux-editorial].is-motion-ready
  .lux-editorial__media-wrap {
    opacity: 0;

    transform:
      translate3d(
        0,
        28px,
        0
      )
      scale(.985);

    transition:
      opacity .8s
      cubic-bezier(.16,1,.3,1),

      transform 1.05s
      cubic-bezier(.16,1,.3,1);
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__media-wrap {
    opacity: 1;

    transform:
      translate3d(
        0,
        0,
        0
      )
      scale(1);
  }



  /* =========================================================
     ROYAL FRAME
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__frame {
    position: absolute;

    inset: -11px;

    z-index: 4;

    pointer-events: none;
  }



  [data-lux-editorial]
  .lux-editorial__corner {
    position: absolute;

    width: 70px;

    height: 70px;
  }



  [data-lux-editorial]
  .lux-editorial__corner::before,

  [data-lux-editorial]
  .lux-editorial__corner::after {
    content: "";

    position: absolute;

    background:
      var(--lux-accent);
  }



  [data-lux-editorial]
  .lux-editorial__corner::before {
    width: 100%;

    height: 1px;
  }


  [data-lux-editorial]
  .lux-editorial__corner::after {
    width: 1px;

    height: 100%;
  }



  [data-lux-editorial]
  .lux-editorial__corner--tl {
    top: 0;
    left: 0;
  }


  [data-lux-editorial]
  .lux-editorial__corner--tr {
    top: 0;
    right: 0;

    transform:
      scaleX(-1);
  }


  [data-lux-editorial]
  .lux-editorial__corner--bl {
    bottom: 0;
    left: 0;

    transform:
      scaleY(-1);
  }


  [data-lux-editorial]
  .lux-editorial__corner--br {
    right: 0;
    bottom: 0;

    transform:
      scale(-1);
  }



  /* FRAME REVEAL */

  [data-lux-editorial].is-motion-ready
  .lux-editorial__corner {
    opacity: 0;

    transition:
      opacity .65s ease,
      transform .9s
      cubic-bezier(.16,1,.3,1);
  }


  [data-lux-editorial].is-motion-ready
  .lux-editorial__corner--tl {
    transform:
      translate(
        12px,
        12px
      );
  }


  [data-lux-editorial].is-motion-ready
  .lux-editorial__corner--tr {
    transform:
      translate(
        -12px,
        12px
      )
      scaleX(-1);
  }


  [data-lux-editorial].is-motion-ready
  .lux-editorial__corner--bl {
    transform:
      translate(
        12px,
        -12px
      )
      scaleY(-1);
  }


  [data-lux-editorial].is-motion-ready
  .lux-editorial__corner--br {
    transform:
      translate(
        -12px,
        -12px
      )
      scale(-1);
  }



  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__corner {
    opacity: 1;
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__corner--tl {
    transform:
      translate(
        0,
        0
      );
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__corner--tr {
    transform:
      translate(
        0,
        0
      )
      scaleX(-1);
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__corner--bl {
    transform:
      translate(
        0,
        0
      )
      scaleY(-1);
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__corner--br {
    transform:
      translate(
        0,
        0
      )
      scale(-1);
  }



  /* =========================================================
     IMAGE BOX
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__media {
    position: relative;

    width: 100%;

    overflow: hidden;

    isolation: isolate;

    border-radius:
      var(--lux-radius);

    background:
      #EEE9E1;

    box-shadow:
      0 18px 44px
      rgba(62,49,39,.10),

      0 34px 70px
      rgba(62,49,39,.06);
  }



  /* =========================================================
     IMAGE FORMAT DESKTOP
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__grid--landscape
  .lux-editorial__media {
    aspect-ratio:
      16 / 9;
  }


  [data-lux-editorial]
  .lux-editorial__grid--portrait
  .lux-editorial__media {
    aspect-ratio:
      4 / 5;
  }


  [data-lux-editorial]
  .lux-editorial__grid--square
  .lux-editorial__media {
    aspect-ratio:
      1 / 1;
  }



  /* =========================================================
     IMAGE
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__picture,

  [data-lux-editorial]
  .lux-editorial__placeholder {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;

    height: 100%;
  }


  [data-lux-editorial]
  .lux-editorial__placeholder svg {
    display: block;

    width: 100%;

    height: 100%;
  }



  [data-lux-editorial]
  .lux-editorial__image {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position:
      var(--lux-image-x)
      var(--lux-image-y);

    transform:
      scale(1);

    transition:
      transform .75s
      cubic-bezier(.16,1,.3,1);
  }



  [data-lux-editorial].is-motion-ready
  .lux-editorial__image {
    transform:
      scale(1.06);

    clip-path:
      inset(
        0
        0
        100%
        0
        round
        var(--lux-radius)
      );

    transition:
      clip-path 1.1s
      cubic-bezier(.16,1,.3,1),

      transform 1.45s
      cubic-bezier(.16,1,.3,1);
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__image {
    transform:
      scale(1);

    clip-path:
      inset(
        0
        0
        0
        0
        round
        var(--lux-radius)
      );
  }



  /* =========================================================
     IMAGE OVERLAY
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background-color:
      var(--lux-overlay-color);

    opacity:
      var(--lux-overlay-opacity);
  }



  /* =========================================================
     SHEEN
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__sheen {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    opacity: 0;

    background:
      linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,.015) 38%,
        rgba(255,255,255,.10) 48%,
        rgba(255,255,255,.02) 58%,
        transparent 68%
      );

    transform:
      translateX(-135%);
  }


  [data-lux-editorial].is-visible
  .lux-editorial__sheen {
    animation:
      luxSheen-nwq4J3
      1.9s
      cubic-bezier(.16,1,.3,1)
      .2s
      forwards;
  }



  @keyframes luxSheen-nwq4J3 {

    0% {
      opacity: 0;

      transform:
        translateX(-135%);
    }

    15% {
      opacity: .6;
    }

    100% {
      opacity: 0;

      transform:
        translateX(140%);
    }

  }



  /* =========================================================
     CONTENT SHELL
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__content-shell {
    position: relative;

    width: 100%;

    max-width:
      var(--lux-content-max);
  }



  [data-lux-editorial]
  .lux-editorial__grid:not(.is-reverse)
  .lux-editorial__content-shell {
    margin-left:
      calc(
        var(--lux-overlap) * -1
      );
  }


  [data-lux-editorial]
  .lux-editorial__grid.is-reverse
  .lux-editorial__content-shell {
    margin-left: auto;

    margin-right:
      calc(
        var(--lux-overlap) * -1
      );
  }



  /* =========================================================
     TEXT PANEL
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__content {
    position: relative;

    width: 100%;

    padding:
      var(--lux-content-padding);

    border:
      1px solid
      var(--lux-panel-border);

    border-radius:
      var(--lux-panel-radius);

    /*
      Panel remains deliberately lighter than section background.
      But the LARGE SECTION BACKGROUND itself is now one solid
      color only.
    */

    background-color:
      var(--lux-panel-bg);

    color:
      var(--lux-text);

    box-shadow:
      0 15px 38px
      rgba(62,49,39,.055),

      0 28px 64px
      rgba(62,49,39,.035);
  }



  [data-lux-editorial]
  .lux-editorial__content--left {
    text-align: left;
  }


  [data-lux-editorial]
  .lux-editorial__content--center {
    text-align: center;
  }



  /* =========================================================
     EDITORIAL LINE
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__line {
    width: 82px;

    height: 1px;

    margin-bottom: 22px;

    background:
      linear-gradient(
        90deg,
        var(--lux-accent),
        transparent
      );
  }



  [data-lux-editorial]
  .lux-editorial__content--center
  .lux-editorial__line {
    margin-left: auto;

    margin-right: auto;
  }



  [data-lux-editorial].is-motion-ready
  .lux-editorial__line {
    transform:
      scaleX(0);

    transform-origin:
      left center;

    transition:
      transform .8s
      cubic-bezier(.16,1,.3,1);
  }


  [data-lux-editorial]
  .lux-editorial__content--center
  .lux-editorial__line {
    transform-origin:
      center;
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__line {
    transform:
      scaleX(1);
  }



  /* =========================================================
     TEXT REVEAL
  ========================================================= */

  [data-lux-editorial].is-motion-ready
  .lux-editorial__reveal {
    opacity: 0;

    transform:
      translate3d(
        0,
        18px,
        0
      );

    transition:
      opacity .68s
      cubic-bezier(.16,1,.3,1),

      transform .85s
      cubic-bezier(.16,1,.3,1);

    transition-delay:
      var(--lux-delay);
  }


  [data-lux-editorial].is-motion-ready.is-visible
  .lux-editorial__reveal {
    opacity: 1;

    transform:
      translate3d(
        0,
        0,
        0
      );
  }



  /* =========================================================
     CAPTION
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__caption {
    margin:
      0 0 13px;

    color:
      var(--lux-muted);

    font-family:
      var(--font-body-family);

    font-size:
      var(--lux-caption-size);

    font-weight:
      600;

    line-height:
      1.4;

    letter-spacing:
      .20em;

    text-transform:
      uppercase;
  }



  /* =========================================================
     HEADING
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__heading-mask {
    overflow: hidden;
  }


  [data-lux-editorial]
  .lux-editorial__heading {
    margin: 0;

    color:
      var(--lux-text);

    font-family:
      var(--font-heading-family);

    font-size:
      var(--lux-heading-size);

    font-weight:
      500;

    line-height:
      1.05;

    letter-spacing:
      -.035em;

    text-wrap:
      balance;
  }



  /* =========================================================
     DESCRIPTION
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__description {
    margin-top:
      18px;

    color:
      var(--lux-text);

    font-family:
      var(--font-body-family);

    font-size:
      var(--lux-body-size);

    line-height:
      1.75;
  }


  [data-lux-editorial]
  .lux-editorial__description p {
    margin: 0;
  }


  [data-lux-editorial]
  .lux-editorial__description p + p {
    margin-top: 12px;
  }



  /* =========================================================
     NEARBY
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__nearby {
    margin-top:
      24px;

    padding-top:
      20px;

    border-top:
      1px solid
      rgba(128,89,67,.18);

    color:
      var(--lux-nearby);

    font-family:
      var(--font-body-family);
  }



  [data-lux-editorial]
  .lux-editorial__nearby-heading {
    margin:
      0 0 12px;

    color:
      var(--lux-muted);

    font-size:
      10px;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing:
      .16em;

    text-transform:
      uppercase;
  }



  [data-lux-editorial]
  .lux-editorial__nearby-list {
    font-size:
      var(--lux-nearby-size);

    line-height:
      1.9;
  }



  /* =========================================================
     BUTTON
  ========================================================= */

  [data-lux-editorial]
  .lux-editorial__actions {
    margin-top:
      24px;
  }



  [data-lux-editorial]
  .lux-editorial__button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height:
      46px;

    padding:
      11px
      20px;

    border:
      1px solid
      var(--lux-button-bg);

    border-radius:
      24px;

    background-color:
      var(--lux-button-bg);

    color:
      var(--lux-button-text);

    font-family:
      var(--font-body-family);

    font-size:
      var(--lux-button-size);

    font-weight: 600;

    line-height: 1;

    letter-spacing:
      .03em;

    text-decoration: none;

    transition:
      background-color .25s ease,
      color .25s ease,
      border-color .25s ease,
      transform .25s ease,
      box-shadow .25s ease;
  }



  [data-lux-editorial]
  .lux-editorial__button svg {
    width: 17px;

    height: 17px;

    flex:
      0 0 17px;

    transition:
      transform .25s ease;
  }



  [data-lux-editorial]
  .lux-editorial__button--outline {
    background-color:
      transparent;

    color:
      var(--lux-text);

    border-color:
      var(--lux-accent);
  }



  /* =========================================================
     HOVER
  ========================================================= */

  @media (hover:hover) and (pointer:fine) {

    [data-lux-editorial]
    .lux-editorial__button:hover {
      background-color:
        var(--lux-button-hover-bg);

      color:
        var(--lux-button-hover-text);

      border-color:
        var(--lux-button-hover-bg);

      transform:
        translateY(-2px);

      box-shadow:
        0 12px 22px
        rgba(0,0,0,.10);
    }


    [data-lux-editorial]
    .lux-editorial__button:hover svg {
      transform:
        translateX(3px);
    }


    [data-lux-editorial]
    .lux-editorial__media:hover
    .lux-editorial__image {
      transform:
        scale(1.025);
    }

  }



  /* =========================================================
     TABLET
  ========================================================= */

  @media screen and (max-width: 989px) {

    [data-lux-editorial]
    .lux-editorial__inner {
      width:
        calc(100% - 30px);
    }


    [data-lux-editorial]
    .lux-editorial__grid,

    [data-lux-editorial]
    .lux-editorial__grid.is-reverse {
      grid-template-columns:
        minmax(0,1fr);

      gap:
        24px;
    }


    [data-lux-editorial]
    .lux-editorial__grid.is-reverse
    .lux-editorial__media-col,

    [data-lux-editorial]
    .lux-editorial__grid.is-reverse
    .lux-editorial__content-col {
      order: initial;
    }


    [data-lux-editorial]
    .lux-editorial__content-shell,

    [data-lux-editorial]
    .lux-editorial__grid:not(.is-reverse)
    .lux-editorial__content-shell,

    [data-lux-editorial]
    .lux-editorial__grid.is-reverse
    .lux-editorial__content-shell {
      width: 100%;

      max-width: 100%;

      margin:
        -10px 0 0;
    }

  }



  /* =========================================================
     MOBILE
  ========================================================= */

  @media screen and (max-width: 749px) {

    [data-lux-editorial] {
      padding-top:
        var(--lux-mobile-padding-top);

      padding-bottom:
        var(--lux-mobile-padding-bottom);
    }


    [data-lux-editorial]
    .lux-editorial__inner {
      width:
        calc(100% - 24px);
    }



    /* MOBILE LANDSCAPE */

    [data-lux-editorial].lux-editorial--mobile-landscape
    .lux-editorial__media {
      aspect-ratio:
        16 / 9;
    }



    /* MOBILE PORTRAIT */

    [data-lux-editorial].lux-editorial--mobile-portrait
    .lux-editorial__media {
      aspect-ratio:
        4 / 5;
    }



    /* MOBILE SQUARE */

    [data-lux-editorial].lux-editorial--mobile-square
    .lux-editorial__media {
      aspect-ratio:
        1 / 1;
    }



    [data-lux-editorial]
    .lux-editorial__image {
      object-position:
        var(--lux-mobile-image-x)
        var(--lux-mobile-image-y);
    }


    [data-lux-editorial]
    .lux-editorial__overlay {
      opacity:
        var(--lux-mobile-overlay-opacity);
    }


    [data-lux-editorial]
    .lux-editorial__frame {
      inset: -7px;
    }


    [data-lux-editorial]
    .lux-editorial__corner {
      width: 48px;

      height: 48px;
    }


    [data-lux-editorial]
    .lux-editorial__content {
      padding:
        var(--lux-mobile-content-padding);

      border-radius:
        14px;
    }


    [data-lux-editorial]
    .lux-editorial__line {
      width: 58px;

      margin-bottom: 16px;
    }


    [data-lux-editorial]
    .lux-editorial__caption {
      margin-bottom: 10px;

      font-size:
        var(--lux-mobile-caption-size);
    }


    [data-lux-editorial]
    .lux-editorial__heading {
      font-size:
        var(--lux-mobile-heading-size);
    }


    [data-lux-editorial]
    .lux-editorial__description {
      margin-top: 14px;

      font-size:
        var(--lux-mobile-body-size);
    }


    [data-lux-editorial]
    .lux-editorial__nearby {
      margin-top: 20px;

      padding-top: 18px;
    }


    [data-lux-editorial]
    .lux-editorial__nearby-heading {
      margin-bottom: 10px;

      font-size: 10px;
    }


    [data-lux-editorial]
    .lux-editorial__nearby-list {
      font-size:
        var(--lux-mobile-nearby-size);
    }


    [data-lux-editorial]
    .lux-editorial__button {
      min-height:
        43px;

      padding:
        11px
        16px;
    }

  }



  /* =========================================================
     REDUCED MOTION
  ========================================================= */

  @media (prefers-reduced-motion: reduce) {

    [data-lux-editorial]
    .lux-editorial__media-wrap,

    [data-lux-editorial]
    .lux-editorial__reveal {
      opacity: 1;

      transform: none;

      transition: none;
    }


    [data-lux-editorial]
    .lux-editorial__image {
      transform: none;

      clip-path:
        inset(
          0
          0
          0
          0
          round
          var(--lux-radius)
        );

      transition: none;
    }


    [data-lux-editorial]
    .lux-editorial__corner {
      opacity: 1;

      transition: none;
    }


    [data-lux-editorial]
    .lux-editorial__line {
      transform:
        scaleX(1);

      transition: none;
    }


    [data-lux-editorial]
    .lux-editorial__sheen {
      display: none;
    }

  }
