/* Would You Ride an Elephant? — ethical sanctuary guide */

.tl-page--elephant {
  --el-navy: #0d2e4d;
  --el-blue: #2f6f9f;
  --el-ink: #1c2430;
  --el-muted: #5c6570;
  --el-paper: #f6fafc;
  --el-white: #ffffff;
  --el-line: rgba(13, 46, 77, 0.1);
  --el-sage: #e7f3ea;
  background: var(--el-paper);
  color: var(--el-ink);
}

.tl-main--elephant {
  padding: 0;
  background: var(--el-paper);
}

.tl-el {
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-el__wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.tl-el-script {
  margin: 0;
  color: var(--el-blue);
  font-family: Caveat, cursive;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.tl-el-open {
  padding: 36px 0 8px;
}

.tl-el-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--el-muted);
  font-size: 13px;
}

.tl-el-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(13, 46, 77, 0.35);
}

.tl-el-crumb a {
  text-decoration: none;
}

.tl-el-crumb a:hover {
  color: var(--el-blue);
}

.tl-el-open h1 {
  margin: 0;
  color: var(--el-navy);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.tl-el-open__lead {
  max-width: 38rem;
  margin: 12px 0 0;
  color: var(--el-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.tl-el-section {
  padding: 56px 0;
}

.tl-el-section--alt {
  background: #fff;
}

.tl-el-num {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--el-blue);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tl-el-num span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5f1fa;
  color: var(--el-blue);
  font-size: 0.95rem;
}

.tl-el-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.tl-el-head h2,
.tl-el-shift__copy h2,
.tl-el-close h2 {
  margin: 0 0 10px;
  color: var(--el-navy);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tl-el-head p,
.tl-el-shift__copy p,
.tl-el-close p {
  margin: 0 0 12px;
  color: var(--el-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.tl-el-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 32px 48px;
  align-items: center;
}

.tl-el-shift__copy em {
  font-style: italic;
}

.tl-el-quote {
  margin-top: 8px !important;
  color: var(--el-blue) !important;
  font-family: Caveat, cursive;
  font-size: 1.85rem !important;
  font-weight: 600;
  line-height: 1.15 !important;
}

.tl-el-art {
  position: relative;
  margin: 0;
  text-align: center;
}

.tl-el-art img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(13, 46, 77, 0.16);
}

.tl-el-art .tl-el-script {
  display: inline-block;
  margin-top: 14px;
  transform: rotate(-2deg);
}

.tl-el-why {
  grid-column: 1 / -1;
  padding: 22px 20px 8px;
  border: 1px solid var(--el-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 46, 77, 0.05);
}

.tl-el-why h3 {
  margin: 0 0 14px;
  color: var(--el-navy);
  font-size: 1.15rem;
  line-height: 1.3;
}

.tl-el-why ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-el-why li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 16px;
  color: var(--el-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tl-el-why strong {
  display: block;
  margin-bottom: 2px;
  color: var(--el-ink);
  font-weight: 700;
}

.tl-el-why__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f3fb;
  color: var(--el-blue);
}

.tl-el-why__icon svg {
  width: 18px;
  height: 18px;
}

.tl-el-acts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tl-el-act {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 12px 12px 16px;
  border: 1px solid var(--el-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-el-act:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(13, 46, 77, 0.08);
}

.tl-el-act__art {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 280 / 170;
  background: #e8f0e6;
}

.tl-el-act__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-el-act h3 {
  margin: 14px 4px 6px;
  color: var(--el-navy);
  font-size: 1.05rem;
  line-height: 1.25;
}

.tl-el-act > p {
  margin: 0 4px;
  color: var(--el-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tl-el-act__foot {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: auto 4px 0 !important;
  padding-top: 14px;
}

.tl-el-act__icon {
  flex: 0 0 auto;
  color: var(--el-blue);
}

.tl-el-act__icon svg {
  width: 22px;
  height: 22px;
}

.tl-el-act__foot .tl-el-script {
  font-size: 1.2rem;
}

.tl-page--elephant,
.tl-page--elephant *,
.tl-page--elephant *::before,
.tl-page--elephant *::after {
  box-sizing: border-box;
}

.tl-el-havens {
  display: grid;
  gap: 40px;
}

.tl-el-haven-region + .tl-el-haven-region {
  margin-top: 8px;
}

.tl-el-haven-region__head {
  margin-bottom: 18px;
  max-width: 46rem;
}

.tl-el-haven-region__kicker {
  margin: 0 0 6px;
  color: var(--el-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-el-haven-region__head h3 {
  margin: 0 0 8px;
  color: var(--el-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.tl-el-haven-region__head > p {
  margin: 0;
  color: var(--el-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tl-el-haven-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.tl-el-haven {
  display: flex;
  flex-direction: column;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 20px 20px 16px;
  border: 1px solid var(--el-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.92)),
    radial-gradient(circle at top right, rgba(47, 111, 159, 0.06), transparent 42%);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tl-el-haven:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 159, 0.22);
  box-shadow: 0 14px 28px rgba(13, 46, 77, 0.08);
  z-index: 1;
}

.tl-el-haven__role {
  margin: 0 0 6px;
  color: var(--el-blue);
  font-family: "Caveat", cursive;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
}

.tl-el-haven h4 {
  margin: 0 0 8px;
  color: var(--el-navy);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}

.tl-el-haven > p:not(.tl-el-haven__role):not(.tl-el-haven__loc) {
  margin: 0 0 14px;
  color: var(--el-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.tl-el-haven__loc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: auto;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 46, 77, 0.08);
  color: var(--el-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* Pin only — do not style glossary/notranslate spans injected into this row */
.tl-el-haven__pin {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--el-blue);
  transform: rotate(-45deg);
}

.tl-el-haven-tip {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(47, 111, 159, 0.16);
  background:
    linear-gradient(135deg, rgba(232, 243, 251, 0.95), rgba(231, 243, 234, 0.75));
}

.tl-el-haven-tip__label {
  margin: 0 0 6px;
  color: var(--el-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-el-haven-tip > p:last-child {
  margin: 0;
  color: var(--el-ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.tl-el-head > p + p {
  margin-top: 10px;
}

.tl-el-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tl-el-fact {
  padding: 18px 16px 16px;
  border: 1px solid var(--el-line);
  border-radius: 16px;
  background: var(--el-paper);
}

.tl-el-fact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #e8f3fb;
  color: var(--el-blue);
}

.tl-el-fact__icon svg {
  width: 26px;
  height: 26px;
}

.tl-el-fact h3 {
  margin: 0 0 6px;
  color: var(--el-navy);
  font-size: 1rem;
}

.tl-el-fact p {
  margin: 0;
  color: var(--el-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tl-el-didyou {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #e8f3fb;
}

.tl-el-didyou svg {
  flex: 0 0 auto;
  width: 72px;
  height: auto;
}

.tl-el-didyou p {
  margin: 0;
  color: var(--el-ink);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tl-el-didyou strong {
  color: var(--el-navy);
}

.tl-el-close {
  padding-top: 56px;
  text-align: center;
}

.tl-el-close__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-el-close .tl-el-num {
  justify-content: center;
}

.tl-el-close h2 {
  margin-bottom: 8px;
}

.tl-el-close__inner > p:not(.tl-el-num) {
  max-width: 36rem;
}

.tl-el-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 8px 0 22px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--el-blue);
  box-sizing: border-box;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tl-el-cta svg {
  width: 22px;
  height: 22px;
}

.tl-el-cta:hover {
  background: var(--el-navy);
  transform: translateY(-2px);
}

.tl-el-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  color: var(--el-navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.tl-el-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tl-el-trust svg {
  width: 22px;
  height: 22px;
  color: var(--el-blue);
}

.tl-el-band {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background-position: center 40%;
  background-size: cover;
  color: #fff;
}

.tl-el-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 28, 48, 0.78), rgba(8, 28, 48, 0.18));
}

.tl-el-band__line,
.tl-el-band__bar {
  position: relative;
  z-index: 1;
}

.tl-el-band__line {
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}

.tl-el-band__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 22px;
  font-size: 0.92rem;
  font-weight: 600;
}

.tl-el-band__brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .tl-el-shift,
  .tl-el-haven-grid,
  .tl-el-acts,
  .tl-el-facts {
    grid-template-columns: 1fr 1fr;
  }

  .tl-el-art {
    grid-column: auto;
  }

  .tl-el-why ul {
    grid-template-columns: 1fr 1fr;
  }

  .tl-el-haven h4 {
    font-size: 1.05rem;
  }

  .tl-el-haven > p:not(.tl-el-haven__role):not(.tl-el-haven__loc) {
    font-size: 0.9rem;
  }
}

@media (max-width: 680px) {
  .tl-el__wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .tl-el-section {
    padding: 40px 0;
  }

  .tl-el-shift,
  .tl-el-haven-grid,
  .tl-el-acts,
  .tl-el-facts {
    grid-template-columns: 1fr;
  }

  .tl-el-art {
    grid-row: auto;
  }

  .tl-el-why {
    grid-column: auto;
  }

  .tl-el-why ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tl-el-haven {
    padding: 18px 16px 14px;
  }

  .tl-el-haven__role {
    font-size: 1.18rem;
  }

  .tl-el-haven__loc {
    font-size: 0.8rem;
  }

  .tl-el-didyou {
    align-items: flex-start;
  }

  .tl-el-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tl-el-band__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .tl-el__wrap {
    width: min(1120px, calc(100% - 24px));
  }

  .tl-el-haven-grid {
    gap: 14px;
  }

  .tl-el-haven {
    padding: 16px 14px 12px;
  }
}
