/* ==========================================================================
   Know Your Rights block — dark video series section with GIF thumbnails.
   ========================================================================== */

.kyr {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 10px auto;
  overflow: hidden;
  background: #0a151a;
  isolation: isolate;
}

.kyr__inner {
  position: relative;
  max-width: 1640px;
  margin: 0 auto;
  padding: 120px 20px;
  display: flex;
  gap: 80px;
  align-items: center;
}

/* ------------------------------ Media (video + gifs) -------------------- */

.kyr__media {
  position: relative;
  aspect-ratio: 16 / 11;
  width: 42%;
}

.kyr__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid #36435c;
  box-shadow: 0 0 140px 0 #1b3440;
}

.kyr__player {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.kyr__player--empty {
  cursor: default;
}

.kyr__thumb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kyr__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 62px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease;
}

.kyr__player:hover .kyr__play {
  transform: translate(-50%, -50%) scale(1.05);
}

/* GIF thumbnails around the player. */
.kyr__thumb {
  position: absolute;
  display: block;
  max-width: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  filter: brightness(0.5);
}

.kyr__thumb--1 {
  top: -62%;
  left: 4%;
}
.kyr__thumb--2 {
  top: -33%;
  right: 5%;
}
.kyr__thumb--3 {
  bottom: -10%;
  left: 5%;
}
.kyr__thumb--4 {
  bottom: -63%;
  right: 5%;
}

/* ------------------------------ Content --------------------------------- */

.kyr__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  color: #ffffff;
  width: 58%;
}

.kyr__content-top-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.kyr__shorts {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 27px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.kyr__shorts-icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-bottom: 3px;
  color: #ff1111;
}

.kyr__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  font-family: 'Quattrocento Sans';
  font-weight: 700;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 1.94px;
  text-transform: uppercase;
  color: #7d7d7d;
}

.kyr__meta li {
  position: relative;
}

.kyr__meta li + li::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d7d7d;
  opacity: 0.3;
  transform: translateY(-50%);
}

.kyr__heading {
  margin: 0;
  font-family: Quattrocento;
  font-weight: 400;
  font-size: 100px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.kyr__heading strong {
  font-family: 'Quattrocento Sans';
  color: #ff1111;
  font-style: italic;
  font-weight: 700;
}

.kyr__heading span {
  display: block;
  font-size: 64px;
  line-height: 64px;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
}

.kyr__description {
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  line-height: 40px;
  letter-spacing: 0.24px;
  color: #f3f2ed;
}

.kyr__description p {
  margin: 0 0 16px;
}

.kyr__description p:last-child {
  margin-bottom: 0;
}

.kyr__content > .c-btn {
  align-self: flex-start;
  min-width: 260px;
}

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 1100px) {
  .kyr__inner {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 80px 40px;
  }
  .kyr__media,
  .kyr__content {
    width: 100%;
  }
  .kyr__heading {
    font-size: 52px;
  }
  .kyr__description {
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .kyr__frame {
    width: 80%;
    height: 100%;
    margin: 0 auto;
  }

  .kyr__thumb--1,
  .kyr__thumb--2 {
    top: -10%;
  }

  .kyr__thumb--3 {
    bottom: -6%;
    left: 0%;
  }

  .kyr__thumb--4 {
    bottom: -20%;
  }
}

@media (max-width: 767px) {
  /* Mobile layout: everything stacks in one centered column with the video
     sandwiched between the intro (pill / meta / heading) and the description
     + CTA. Because `.kyr__content-top-wrapper`, description, and CTA are
     children of `.kyr__content` (a sibling of `.kyr__media`), we make
     `.kyr__content` display:contents so all its children become direct flex
     items of `.kyr__inner`, then reorder them. */
  .kyr {
    text-align: center;
  }

  .kyr__inner {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 64px 20px 72px;
  }

  /* Soft circular glow behind the media, matching the Figma. */
  .kyr__inner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(54, 67, 92, 0.55) 0%, rgba(54, 67, 92, 0.25) 55%, rgba(10, 21, 26, 0) 75%);
    pointer-events: none;
    z-index: -1;
  }
  .kyr__inner > * {
    position: relative;
    z-index: 1;
  }

  .kyr__content {
    display: contents;
  }

  .kyr__content-top-wrapper {
    order: 1;
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .kyr__media {
    order: 2;
  }
  .kyr__description {
    order: 3;
  }
  .kyr__content .c-btn {
    order: 4;
  }

  .kyr__shorts {
    align-self: center;
    font-size: 14px;
    padding: 6px 20px;
  }

  .kyr__meta {
    justify-content: center;
    gap: 24px;
    font-size: 8px;
    line-height: 14px;
    letter-spacing: 1px;
  }
  .kyr__meta li + li::before {
    left: -16px;
    width: 5px;
    height: 5px;
  }

  .kyr__heading {
    text-align: center;
    font-size: 41px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .kyr__heading span {
    font-size: 25px;
    line-height: 1.2;
    margin-top: 6px;
  }

  /* Media: keep aspect-ratio, let it fill the column so the GIFs on the
     section edges have room to peek in from the sides. */
  .kyr__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 430px;
    margin: 40px 0;
  }
  .kyr__frame {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .kyr__play {
    width: 60px;
    height: 42px;
  }

  /* GIFs: 2 stacked on each side, peeking in from beyond the section edge.
     Anchored to .kyr (the section) via translating from viewport edges — we
     use negative left/right on the media which is now full width. */
  .kyr__thumb {
    max-width: 150px;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  }
  .kyr__thumb--1 {
    top: -8%;
    left: -18%;
    right: auto;
  }
  .kyr__thumb--2 {
    top: -8%;
    right: -18%;
    left: auto;
  }
  .kyr__thumb--3 {
    top: auto;
    bottom: -8%;
    left: -18%;
    right: auto;
  }
  .kyr__thumb--4 {
    top: auto;
    bottom: -8%;
    right: -18%;
    left: auto;
  }

  .kyr__description {
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.6px;
    text-align: left;
  }

  .kyr__content .c-btn {
    align-self: stretch;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .kyr__inner {
    padding: 50px 20px;
  }
  .kyr__thumb--1 {
    left: -35%;
    top: -28%;
  }
  .kyr__thumb--2 {
    right: -30%;
    top: -5%;
  }
  .kyr__thumb--3 {
    bottom: -25%;
    left: -45%;
  }
  .kyr__thumb--4 {
    bottom: -30%;
    right: -40%;
  }

  .kyr__media {
    max-width: 280px;
  }
}

/* ------------------------------ Editor preview -------------------------- */

.kyr--is-preview {
  zoom: 0.55;
}
