* {
  box-sizing: border-box;
}

:root {
  --rd-editorial-text: #2e2e2e;
  --rd-editorial-muted: #727272;
  --rd-editorial-panel: #f0f0f0;
  --rd-editorial-button: #2e2e2e;
  --rd-editorial-button-text: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--rd-editorial-text);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

.demo-page {
  width: 100%;
  padding: 110px 0;
}

.rd-editorial-banner {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(420px, 45fr);
  gap: 0;
  width: 100%;
  min-height: 450px;
  overflow: hidden;
  background: var(--rd-editorial-panel);
}

.rd-editorial-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  min-height: 450px;
  background: #b4635d url('../../jierra-storefront/2023/08/h1-bn1-bg.jpg') center left / cover no-repeat;
}

.rd-editorial-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 52px clamp(36px, 4.25vw, 72px);
  background: var(--rd-editorial-panel);
}

.rd-editorial-content-inner {
  width: 100%;
  max-width: 560px;
}

.rd-editorial-content h2 {
  margin: 0;
  color: var(--rd-editorial-text);
  font-family: "Jost", Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
}

.rd-editorial-content p {
  max-width: none;
  margin: 0 0 30px;
  color: var(--rd-editorial-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.rd-editorial-content h2 + p { margin-top: 16px; }

.rd-editorial-button {
  display: inline-flex;
  min-height: 56px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 32px;
  border: 1px solid var(--rd-editorial-button);
  background: var(--rd-editorial-button);
  color: var(--rd-editorial-button-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.rd-editorial-arrow {
  display: inline-block;
  font-size: 23px;
  font-weight: 400;
  transition: transform 220ms ease;
}

.rd-editorial-button:hover {
  background: transparent;
  color: var(--rd-editorial-button);
}

.rd-editorial-button:hover .rd-editorial-arrow {
  transform: translateX(5px);
}

.rd-editorial-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 5px;
}

.demo-space {
  min-height: 120px;
}

@media (max-width: 1366px) {
  .rd-editorial-content {
    padding-right: clamp(32px, 3.5vw, 48px);
    padding-left: clamp(32px, 3.5vw, 48px);
  }
}

@media (max-width: 1200px) {
  .demo-page {
    padding: 70px 0;
  }

  .rd-editorial-media {
    min-height: 400px;
  }

  .rd-editorial-content {
    padding: 42px 32px;
  }

  .rd-editorial-content-inner {
    width: 100%;
  }

  .rd-editorial-content p {
    font-size: 16px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .rd-editorial-banner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .rd-editorial-media {
    background-position: center;
  }
}

@media (max-width: 880px) {
  .rd-editorial-banner {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .demo-page {
    padding: 32px 0;
  }

  .rd-editorial-banner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0;
  }

  .rd-editorial-media {
    min-height: 400px;
    background-position: center;
  }

  .rd-editorial-content {
    padding: 40px 24px;
  }

  .rd-editorial-content-inner {
    width: 100%;
  }

  .rd-editorial-content h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .rd-editorial-content p {
    max-width: 100%;
    margin: 16px 0 30px;
    font-size: 16px;
    line-height: 1.5;
  }

  .rd-editorial-button {
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rd-editorial-media,
  .rd-editorial-button,
  .rd-editorial-arrow {
    transition: none;
  }
}
