/* Generated from the original Next.js CSS Modules. */

/* ===== src/components/story/StoryRules.module.css ===== */
.story-rules-section {
  width: 100%;
  padding: 110px 30px 120px;
  overflow: hidden;
  color: #364D39;
  background: #FFF9F5;
}

.story-rules-container {
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
}

/* Heading */

.story-rules-heading {
  margin-bottom: 65px;
  opacity: 0;
  transform: translateY(45px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-rules-heading > span {
  display: block;
  margin-bottom: 20px;
  color: #EF8EAE;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.story-rules-heading h2 {
  margin: 0;
  color: #364D39;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4vw, 66px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.8px;
}

/* Rules grid */

.story-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  overflow: hidden;
  border: 1px solid rgba(54, 77, 57, 0.15);
  border-radius: 30px;
  background: #FFFFFF;
  box-shadow: 0 20px 60px rgba(54, 77, 57, 0.06);
}

/* Rule card */

.story-rules-card {
  min-height: 225px;
  padding: 37px 36px 34px;

  opacity: 0;
  transform: translateY(55px);

  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease;
}

.story-rules-card:nth-child(odd) {
  border-right: 1px solid rgba(54, 77, 57, 0.15);
}

.story-rules-card:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(54, 77, 57, 0.15);
}

.story-rules-card:hover {
  background: #FFF9F5;
}

.story-rules-icon {
  display: block;
  width: fit-content;
  margin-bottom: 23px;
  color: #EF8EAE;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 0.7;
}

.story-rules-card h3 {
  margin: 0 0 17px;
  color: #364D39;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
}

.story-rules-card p {
  max-width: 550px;
  margin: 0;
  color: rgba(54, 77, 57, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

/* Scroll animation */

.story-rules-visible .story-rules-heading,
.story-rules-visible .story-rules-card {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */

@media (max-width: 991px) {
  .story-rules-section {
    padding: 85px 24px 95px;
  }

  .story-rules-heading {
    margin-bottom: 50px;
  }

  .story-rules-card {
    padding: 32px 28px;
  }

  .story-rules-card h3 {
    font-size: 25px;
  }

  .story-rules-card p {
    font-size: 16px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .story-rules-section {
    padding: 70px 18px 80px;
  }

  .story-rules-heading {
    margin-bottom: 38px;
  }

  .story-rules-heading > span {
    font-size: 11px;
    letter-spacing: 5px;
  }

  .story-rules-heading h2 {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .story-rules-grid {
    grid-template-columns: 1fr;
    border-radius: 23px;
  }

  .story-rules-card {
    min-height: auto;
    padding: 30px 25px;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(54, 77, 57, 0.15);
  }

  .story-rules-card:last-child {
    border-bottom: 0;
  }

  .story-rules-icon {
    margin-bottom: 20px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .story-rules-heading,
  .story-rules-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== src/components/story/StoryGalleryCTA.module.css ===== */
/* ========================================
   Story Instagram Gallery CTA
======================================== */

.story-gallery-section {
  position: relative;
  width: 100%;
  height: 300vh;
  overflow: clip;

  background: #FFF9F5 !important;
}

.story-gallery-stickyFrame {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;
  padding: 40px 0;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.story-gallery-stage {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding-inline: clamp(18px, 2vw, 38px);

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(320px, 420px)
    minmax(0, 1fr);

  align-items: center;
  gap: clamp(12px, 1.2vw, 22px);
}

/* ========================================
   Three cards on each side
======================================== */

.story-gallery-sideGroup {
  width: 100%;
  min-width: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 0.9vw, 16px);
}

.story-gallery-mediaCard {
  position: relative;
  z-index: 2;

  width: 100%;
  height: clamp(360px, 56vh, 580px);

  overflow: visible;
  border-radius: clamp(14px, 1.2vw, 20px);

  will-change: transform, opacity, filter;
  transform-origin: center;
}

.story-gallery-mediaInner {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
  border-radius: inherit;

  border: 1px solid rgba(54, 77, 57, 0.14);
  background: #FFF9F5;

  box-shadow:
    0 25px 55px rgba(54, 77, 57, 0.10),
    0 3px 10px rgba(54, 77, 57, 0.08);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.story-gallery-mediaCard:hover .story-gallery-mediaInner {
  transform: translateY(-8px) scale(1.025);

  box-shadow:
    0 34px 65px rgba(54, 77, 57, 0.14),
    0 5px 14px rgba(54, 77, 57, 0.10);
}

.story-gallery-mediaImage {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  color: transparent;
  font-size: 0;

  transition: transform 0.7s ease;
}

.story-gallery-mediaCard:hover .story-gallery-mediaImage {
  transform: scale(1.045);
}

/* Reel play mark */

.story-gallery-playIcon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #FFF9F5;
  color: #364D39;

  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;

  box-shadow: 0 5px 14px rgba(54, 77, 57, 0.12);
  backdrop-filter: blur(8px);
}

/* ========================================
   Center CTA card
======================================== */

.story-gallery-centerCard {
  position: relative;
  z-index: 10;

  width: 100%;
  height: clamp(360px, 56vh, 580px);
  padding: clamp(30px, 3vw, 52px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  overflow: hidden;
  border-radius: clamp(24px, 2vw, 36px);

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(239, 142, 174, 0.20),
      transparent 38%
    ),
    #FFF9F5;

  color: #364D39;

  border: 1px solid rgba(54, 77, 57, 0.10);

  box-shadow:
    0 25px 65px rgba(54, 77, 57, 0.10),
    0 5px 18px rgba(54, 77, 57, 0.06);
}

.story-gallery-centerCard::before {
  content: "";

  position: absolute;
  top: -70px;
  right: -70px;

  width: 190px;
  height: 190px;

  border: 1px solid rgba(239, 142, 174, 0.45);
  border-radius: 50%;
}

.story-gallery-centerCard::after {
  content: "";

  position: absolute;
  bottom: -45px;
  left: -45px;

  width: 120px;
  height: 120px;

  border-radius: 50%;
  background: rgba(239, 142, 174, 0.18);
}

.story-gallery-eyebrow {
  position: relative;
  z-index: 2;

  display: block;
  margin-bottom: 18px;

  color: #EF8EAE;

  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.story-gallery-centerCard h2 {
  position: relative;
  z-index: 2;

  margin: 0 0 22px;

  color: #364D39;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3.2vw, 61px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -2px;
}

.story-gallery-centerCard p {
  position: relative;
  z-index: 2;

  max-width: 340px;
  margin: 0 0 28px;

  color: rgba(54, 77, 57, 0.72);

  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
}

.story-gallery-menuButton {
  position: relative;
  z-index: 2;

  min-height: 56px;
  padding: 11px 19px 11px 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  border-radius: 999px;

  background: #EF8EAE;
  color: #364D39;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.story-gallery-menuButton span {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #FFF9F5;

  font-family: Arial, sans-serif;
  font-size: 16px;
}

.story-gallery-menuButton:hover {
  transform: translateY(-4px);
  background: #EF8EAE;
  box-shadow: 0 14px 28px rgba(239, 142, 174, 0.27);
}

.story-gallery-instagramText {
  position: relative;
  z-index: 2;

  display: block;
  margin-top: 21px;

  color: rgba(54, 77, 57, 0.65);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================
   Large laptop
======================================== */

@media (max-width: 1450px) {
  .story-gallery-stage {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(300px, 360px)
      minmax(0, 1fr);

    gap: 12px;
    padding-inline: 16px;
  }

  .story-gallery-sideGroup {
    gap: 9px;
  }

  .story-gallery-mediaCard,
  .story-gallery-centerCard {
    height: clamp(340px, 52vh, 500px);
  }

  .story-gallery-centerCard {
    padding: 30px;
  }

  .story-gallery-centerCard h2 {
    font-size: clamp(37px, 3.5vw, 51px);
  }

  .story-gallery-centerCard p {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .story-gallery-menuButton {
    min-height: 52px;
    font-size: 15px;
  }
}

/* ========================================
   Small laptop and tablet landscape
======================================== */

@media (max-width: 1150px) {
  .story-gallery-stage {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(270px, 315px)
      minmax(0, 1fr);

    gap: 8px;
    padding-inline: 10px;
  }

  .story-gallery-sideGroup {
    gap: 7px;
  }

  .story-gallery-mediaCard,
  .story-gallery-centerCard {
    height: clamp(330px, 49vh, 455px);
  }

  .story-gallery-centerCard {
    padding: 26px 23px;
  }

  .story-gallery-centerCard h2 {
    margin-bottom: 17px;
    font-size: 41px;
  }

  .story-gallery-centerCard p {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.55;
  }

  .story-gallery-eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .story-gallery-instagramText {
    margin-top: 16px;
  }

  .story-gallery-playIcon {
    top: 9px;
    right: 9px;
    width: 29px;
    height: 29px;
  }
}

/* ========================================
   Mobile and tablet
   One horizontal scrollable row
======================================== */

@media (max-width: 900px) {
  .story-gallery-section {
    height: auto;
    padding: 70px 0 55px;
  }

  .story-gallery-stickyFrame {
    position: relative;
    top: auto;

    height: auto;
    min-height: 0;
    padding: 0 0 18px;

    display: block;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }

  .story-gallery-stickyFrame::-webkit-scrollbar {
    display: none;
  }

  .story-gallery-stage {
    width: max-content;
    max-width: none;

    margin: 0;
    padding-inline: 18px;

    grid-template-columns:
      auto
      290px
      auto;

    gap: 10px;
  }

  .story-gallery-sideGroup {
    width: max-content;

    grid-template-columns: repeat(3, 145px);
    gap: 9px;
  }

  .story-gallery-mediaCard {
    width: 145px;
    height: 420px;
    scroll-snap-align: center;
  }

  .story-gallery-centerCard {
    width: 290px;
    height: 420px;
    padding: 30px 25px;
    scroll-snap-align: center;
  }

  .story-gallery-centerCard h2 {
    font-size: 42px;
  }

  .story-gallery-centerCard p {
    font-size: 14px;
  }

  .story-gallery-menuButton {
    min-height: 54px;
    font-size: 15px;
  }
}

/* ========================================
   Small mobile
======================================== */

@media (max-width: 520px) {
  .story-gallery-section {
    padding-top: 55px;
  }

  .story-gallery-stage {
    grid-template-columns:
      auto
      255px
      auto;

    padding-inline: 13px;
    gap: 8px;
  }

  .story-gallery-sideGroup {
    grid-template-columns: repeat(3, 115px);
    gap: 7px;
  }

  .story-gallery-mediaCard {
    width: 115px;
    height: 365px;
    border-radius: 14px;
  }

  .story-gallery-centerCard {
    width: 255px;
    height: 365px;
    padding: 25px 21px;
    border-radius: 24px;
  }

  .story-gallery-centerCard h2 {
    margin-bottom: 17px;
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .story-gallery-centerCard p {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.55;
  }

  .story-gallery-eyebrow {
    margin-bottom: 14px;
    font-size: 8px;
    letter-spacing: 2.5px;
  }

  .story-gallery-menuButton {
    min-height: 49px;
    padding: 8px 12px 8px 19px;
    gap: 13px;
    font-size: 14px;
  }

  .story-gallery-menuButton span {
    width: 31px;
    height: 31px;
  }

  .story-gallery-instagramText {
    margin-top: 15px;
    font-size: 7px;
  }

  .story-gallery-playIcon {
    top: 8px;
    right: 8px;

    width: 26px;
    height: 26px;

    font-size: 8px;
  }
}

/* ========================================
   Reduced motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .story-gallery-section {
    height: auto;
    padding-block: 80px;
  }

  .story-gallery-stickyFrame {
    position: relative;
    height: auto;
  }

  .story-gallery-mediaCard {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}






