/* Styles that were inlined on partner-with-us.html only. */

/* ---- partner-page-css ---- */
.partner-intro-section { padding: 140px 5vw 2vw; }
.partner-intro-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.partner-intro-heading { font-family: 'Lora', Georgia, serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; color: #2b2b2b; margin: 0 0 1.2rem 0; }
.partner-intro-text { font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 1.1rem; line-height: 1.7; color: #555; margin: 0; }

.partner-cards-section { padding: 3vw 5vw 5vw; }
.partner-cards-grid { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.partner-card {
  flex: 1 1 460px; max-width: 500px;
  background: #faf8f2;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.partner-card:nth-child(4n+1) { border-top: 5px solid #4EABCC; }
.partner-card:nth-child(4n+2) { border-top: 5px solid #ECC253; }
.partner-card:nth-child(4n+3) { border-top: 5px solid #306011; }
.partner-card:nth-child(4n+4) { border-top: 5px solid #842C43; }
.partner-card-title { font-family: 'Lora', Georgia, serif; font-size: 1.3rem; font-weight: 500; color: #2b2b2b; margin: 0 0 0.6rem 0; }
.partner-card-teaser { font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; color: #555; line-height: 1.6; margin: 0 0 1rem 0; }
.partner-card-detail { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.partner-card-detail p { font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; color: #555; line-height: 1.6; margin: 0 0 1rem 0; }
.partner-card-toggle { display: inline-block; background: transparent; border: 2px solid #2b2b2b; border-radius: 999px; padding: 0.5rem 1.3rem; font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 0.85rem; font-weight: 700; cursor: pointer; color: #2b2b2b; transition: background 0.2s ease, color 0.2s ease; }
.partner-card-toggle:hover { background: #2b2b2b; color: #fff; }

.partner-contact-section { padding: 2vw 5vw 6vw; }
.partner-contact-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.partner-contact-heading { font-family: 'Lora', Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 500; color: #2b2b2b; margin: 0 0 1rem 0; }
.partner-contact-text { font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 1.02rem; line-height: 1.6; color: #555; margin: 0 0 1.6rem 0; }
.partner-contact-button { display: inline-block; background: #842C43; color: #ffffff !important; font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: 700; font-size: 0.95rem; padding: 0.9rem 2rem; border-radius: 999px; text-decoration: none !important; box-shadow: 0 4px 14px rgba(0,0,0,0.15); transition: transform .2s ease, box-shadow .2s ease; }
.partner-contact-button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }

/* ---- editorial-redesign-css ---- */
html, body { max-width: 100%; overflow-x: hidden; }
#header { background-color: #ffffff !important; box-shadow: 0 1px 0 rgba(0,0,0,0.08); }
#header, #header a, #header .header-nav-item, #header .header-title, #header .header-title-text, #header .header-actions, #header * { color: #2b2b2b !important; }
#pream-lang-toggle { border-color: #2b2b2b !important; }
.editorial-redesign { max-width: 1300px; margin: 0 auto; padding: 5vw; }

.story-scroll { position: relative; }
.story-track {
  position: relative; z-index: 1;
  width: 100vw; margin-left: calc(50% - 50vw);
  display: flex; flex-direction: column;
}

.story-scroll-cue {
  position: absolute; top: 5vh; left: calc(5vw + 34px); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  opacity: 1; transition: opacity 0.6s ease;
  pointer-events: none;
}
.story-scroll-cue.is-hidden { opacity: 0; }
.story-scroll-cue-text { font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.story-scroll-cue-arrow { font-size: 1.3rem; animation: storyCueBounce 1.6s ease-in-out infinite; }
@keyframes storyCueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.story-chapter {
  position: relative;
  min-height: 66vh;
  margin-top: -14vh;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 13vh calc(5vw + 34px);
}
.story-chapter-first { margin-top: 0; }
.story-chapter-bg {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}
.story-chapter::after {
  content: '';
  position: absolute; inset: -6%;
  background: linear-gradient(to top, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.42) 34%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.15) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}

.story-beat-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.story-beat-inner.is-visible { opacity: 1; transform: translateY(0); }
.story-beat-inner::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0.35em;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 3px solid rgba(255,255,255,0.7);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}
.story-beat-inner.is-visible::before {
  border-color: #ECC253;
  background: #ECC253;
  box-shadow: 0 0 0 5px rgba(236,194,83,0.25);
}

.story-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.story-text {
  font-family: "Mulish","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.story-connector {
  position: relative;
  z-index: 1;
  width: 2px;
  height: 6vh;
  margin-left: calc(5vw + 27px);
  background: rgba(0,0,0,0.12);
}
.story-connector-fill {
  position: absolute; top: 0; left: 0; width: 100%;
  height: 100%;
  background: #842C43;
  transform-origin: top;
  transform: scaleY(0);
}

.story-chapter-finale { align-items: center; justify-content: center; padding: 2.5rem; }
.story-beat-inner-finale { max-width: 900px; width: 100%; }
.story-beat-inner-finale::before { display: none; }
.story-beat-inner-finale .stat-block { background: rgba(255,255,255,0.97); }

@media (max-width: 800px) {
  .story-scroll-cue { display: none; }
  .story-chapter { min-height: auto; margin-top: 6vw; border-radius: 14px; padding: 1.6rem; }
  .story-chapter-first { margin-top: 0; }
  .story-beat-inner { opacity: 1; transform: none; max-width: 100%; }
  .story-beat-inner::before { display: none; }
  .story-connector { display: none; }
}
