/*
Theme Name: Jogi Theme
Theme URI: https://example.com/jogi-theme
Author: Jogi Design Conversion
Description: WordPress custom theme converted from the static Jogi (Joginder Rohilla) website. Built on Tailwind CSS (CDN) utility classes plus this stylesheet for custom design tokens, animations and responsive fine-tuning.
Version: 1.0.10
Text Domain: jogi-theme
*/

/* =======================================================
   JOGI — LIGHT THEME
   Global custom styles only. Tailwind handles layout/spacing.
   ======================================================= */

:root {
  --accent: #f27b4b;
  --accent-dark: #e86f3d;
  --ink: #171717;
  --muted: #6f6a65;
  --cream: #fcfaf7;
  --soft: #f7efe8;
  --line: #eadfd4;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}

@media (max-width: 767px) {
  main .grid > * {
    min-width: 0;
  }

  main .grid[class*="md:grid-cols-"]:not([class*="sm:grid-cols-"]),
  main .grid[class*="lg:grid-cols-"]:not([class*="sm:grid-cols-"]),
  main .grid[class*="xl:grid-cols-"]:not([class*="sm:grid-cols-"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 639px) {
  main .grid[class*="sm:grid-cols-"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.serif {
  font-family: "Playfair Display", serif;
}

.hide-scroll {
  scrollbar-width: none;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

.site-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 9999;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 9999px;
  background: #e86f3d;
  color: #fff;
  box-shadow: 0 8px 24px rgba(85, 45, 26, .22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease,
    background-color .2s ease;
}

.site-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-back-to-top:hover {
  background: #d85f34;
}

.site-back-to-top:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-back-to-top {
    transition: none;
  }
}

.hover-lift {
  transition: transform .35s ease, box-shadow .35s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(71, 48, 31, .10);
}

.book-shadow {
  filter: drop-shadow(0 20px 18px rgba(39, 25, 15, .16));
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 3.35rem;
    line-height: .94;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =======================================================
   HEADER — NAV LINKS
   ======================================================= */

.nav-link {
  position: relative;
  padding: .5rem 0;
  color: #222;
  transition: color .25s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
}

.nav-link.is-active {
  color: var(--accent-dark);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-dark);
}

.mobile-link {
  display: block;
  border-radius: .75rem;
  padding: .75rem 1rem;
  transition: background .2s ease, color .2s ease;
}

.mobile-link:hover {
  background: #faf5f0;
}

.mobile-link-active {
  background: #fff1e9;
  color: #b7441f;
}

#desktop-sessions-dropdown[hidden] {
  display: none !important;
}

/* =======================================================
   FOOTER HELPERS
   ======================================================= */

.footer-link {
  display: block;
  transition: color .2s ease;
}

.footer-link:hover {
  color: var(--accent-dark);
}

.footer-social {
  display: flex;
  height: 34px;
  width: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #555;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-social:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* =======================================================
   HERO SECTION
   ======================================================= */

.hero-section {
  isolation: isolate;
}


/* =======================================================
   HERO PERSON IMAGE
   ======================================================= */

.hero-person {
  display: block;
  filter: drop-shadow(0 20px 26px rgba(50, 35, 25, .10));
}

.hero-person-blend {
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at center,
      #000 55%,
      rgba(0, 0, 0, 0.85) 70%,
      rgba(0, 0, 0, 0.4) 85%,
      transparent 100%);
  mask-image: radial-gradient(ellipse 78% 82% at center,
      #000 55%,
      rgba(0, 0, 0, 0.85) 70%,
      rgba(0, 0, 0, 0.4) 85%,
      transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}


/* =======================================================
   DESKTOP HERO IMAGE POSITIONING
   -------------------------------------------------------
   Image is intentionally wider and slightly shifted left.
   This creates the same visual balance as the reference:
   text remains on the left while the person enters toward
   the centre of the hero.
   ======================================================= */

@media (min-width: 1024px) {

  .hero-photo-wrap {
    width: 64%;
    right: -1%;
    bottom: 0;
  }

  .hero-photo-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
  }

}


/* =======================================================
   LARGE DESKTOP
   ======================================================= */

@media (min-width: 1280px) {

  .hero-photo-wrap {
    width: 65%;
    right: -2%;
  }

}


/* =======================================================
   EXTRA LARGE SCREENS
   ======================================================= */

@media (min-width: 1536px) {

  .hero-photo-wrap {
    width: 66%;
    right: -3%;
  }

}


/* =======================================================
   TABLET
   ======================================================= */

@media (max-width: 1023px) {

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-mobile-photo {
    margin-left: auto;
    margin-right: auto;
  }

}


/* =======================================================
   MOBILE
   ======================================================= */

@media (max-width: 767px) {

  .hero-title {
    font-size: 3.2rem;
    line-height: .94;
  }

  .hero-mobile-photo {
    width: 94%;
    margin-top: 1.5rem;
  }

}


/* =======================================================
   SMALL MOBILE
   ======================================================= */

@media (max-width: 480px) {

  .hero-title {
    font-size: 2.85rem;
  }

  .hero-mobile-photo {
    width: 100%;
  }

}


/* =======================================================
   ACCESSIBILITY
   ======================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero-person {
    transition: none !important;
  }

}

/* ============================================================
   FEATURED BY — SIGNATURE MEDIA SHOWCASE
   Borderless Logo + Outer Glass Hover
   ============================================================ */

.featured-section {
  --bg: #fcfaf7;
  --accent: #e86f3d;
  --accent-2: #f4a261;
  --line: rgba(218, 195, 180, .55);

  position: relative;
  width: 100%;
  overflow: hidden;

  padding: 72px 0 64px;

  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(255,255,255,.98) 0%,
      rgba(255,253,251,.96) 30%,
      rgba(252,250,247,1) 72%
    ),
    radial-gradient(
      circle at 10% 20%,
      rgba(232,111,61,.045),
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(232,111,61,.045),
      transparent 40%
    );

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* ============================================================
   HEADER
   ============================================================ */

.featured-heading-wrap {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;
  margin-bottom: 40px;

  z-index: 5;
}

.featured-heading {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;
  padding: 0 20px;
}

.featured-heading-line {
  width: 90px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #dfc7b7
    );
}

.featured-heading-line:last-child {
  background:
    linear-gradient(
      90deg,
      #dfc7b7,
      transparent
    );
}

.featured-heading-text {
  position: relative;

  display: flex;
  align-items: center;

  gap: 9px;

  color: var(--accent);

  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;

  letter-spacing: .4em;
  text-transform: uppercase;

  white-space: nowrap;

  padding: 8px 20px;

  border-radius: 999px;

  background: rgba(232,111,61,.08);
  border: 1px solid rgba(232,111,61,.18);
}

.featured-heading-dot {
  width: 6px;
  height: 6px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--accent);

  animation:
    featuredPulse 2s ease-in-out infinite;
}

.featured-subtext {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size: 14px;

  color: #9a8a7d;

  letter-spacing: .02em;
}


/* ============================================================
   HEADING PULSE
   ============================================================ */

@keyframes featuredPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);

    box-shadow:
      0 0 0 0 rgba(232,111,61,.4);
  }

  50% {
    opacity: .6;
    transform: scale(1.3);

    box-shadow:
      0 0 0 4px rgba(232,111,61,0);
  }
}


/* ============================================================
   MARQUEE
   ============================================================ */

.featured-marquee {
  position: relative;

  width: 100%;

  overflow: hidden;

  padding: 24px 0 30px;

  z-index: 2;
}

.featured-marquee::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 30;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(252,250,247,.94) 3%,
      rgba(252,250,247,.55) 8%,
      transparent 16%,
      transparent 84%,
      rgba(252,250,247,.55) 92%,
      rgba(252,250,247,.94) 97%,
      var(--bg) 100%
    );
}


/* ============================================================
   TRACK
   ============================================================ */

.featured-track {
  position: relative;

  display: flex;
  align-items: center;

  width: max-content;

  z-index: 5;

  animation:
    featuredSignatureScroll 62s linear infinite;

  will-change: transform;
}

.featured-marquee:hover .featured-track {
  animation-play-state: paused;
}


/* ============================================================
   LOGO CONTAINER
   No permanent card.
   Only outer glass panel appears on hover.
   ============================================================ */

.featured-logo {
  --zoom: 1;
  --float-delay: 0s;

  position: relative;

  flex: 0 0 210px;

  width: 210px;
  height: 138px;

  margin: 0 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  isolation: isolate;

  animation:
    featuredFloat 5.5s ease-in-out infinite;

  animation-delay: var(--float-delay);
}


/* ============================================================
   FLOATING ANIMATION
   ============================================================ */

@keyframes featuredFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}


/* ============================================================
   OUTER GLASS PANEL
   THIS IS THE ONLY BORDER WE WANT
   ============================================================ */

.featured-logo::before {
  content: "";

  position: absolute;

  inset: 6px;

  border-radius: 18px;

  background: rgba(255,255,255,.55);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* ONLY OUTER BORDER */
  border: 1px solid rgba(255,255,255,.7);

  box-shadow:
    0 20px 34px rgba(60,40,25,.12);

  opacity: 0;

  transform: scale(.94);

  transition:
    opacity .4s ease,
    transform .4s cubic-bezier(.16,1,.3,1);

  z-index: 0;

  pointer-events: none;
}


/* ============================================================
   AMBIENT GLOW
   ============================================================ */

.featured-logo::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 160px;
  height: 100px;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      ellipse,
      rgba(232,111,61,.16),
      transparent 72%
    );

  opacity: 0;

  transition:
    opacity .45s ease;

  z-index: -1;

  pointer-events: none;
}


/* ============================================================
   LOGO IMAGE
   ============================================================ */

.featured-logo img {
  position: relative;

  z-index: 2;

  display: block;

  width: 100%;
  height: 100%;

  padding: 22px 24px;

  box-sizing: border-box;

  object-fit: contain;
  object-position: center;

  /* ========================================================
     IMPORTANT:
     CSS BORDER / OUTLINE / SHADOW COMPLETELY REMOVED
     ======================================================== */

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  background: transparent !important;

  /* Keep logo colours */
  mix-blend-mode: multiply;

  transform:
    scale(var(--zoom));

  transition:
    transform .5s cubic-bezier(.16,1,.3,1),
    filter .4s ease;

  /* ========================================================
     HIDE THE BAKED-IN IMAGE BORDER
     ======================================================== */

  -webkit-mask-image:
    radial-gradient(
      ellipse 72% 68% at center,
      #000 62%,
      rgba(0,0,0,.92) 68%,
      rgba(0,0,0,.55) 78%,
      transparent 100%
    );

  mask-image:
    radial-gradient(
      ellipse 72% 68% at center,
      #000 62%,
      rgba(0,0,0,.92) 68%,
      rgba(0,0,0,.55) 78%,
      transparent 100%
    );

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}


/* ============================================================
   LIGHT SWEEP
   ============================================================ */

.featured-logo-shine {
  position: absolute;

  inset: 6px;

  border-radius: 18px;

  overflow: hidden;

  z-index: 1;

  pointer-events: none;
}

.featured-logo-shine::before {
  content: "";

  position: absolute;

  top: -60%;
  left: -70%;

  width: 45%;
  height: 220%;

  background:
    linear-gradient(
      100deg,
      transparent 20%,
      rgba(255,255,255,.85) 48%,
      transparent 76%
    );

  transform:
    rotate(14deg)
    translateX(-160%);

  transition:
    transform .85s cubic-bezier(.16,1,.3,1);
}

.featured-logo:hover
.featured-logo-shine::before {
  transform:
    rotate(14deg)
    translateX(260%);
}


/* ============================================================
   NATURAL LOGO POSITION VARIATIONS
   ============================================================ */

.featured-logo:nth-child(3n) {
  margin-top: -6px;
}

.featured-logo:nth-child(3n+1) {
  margin-top: 4px;
}

.featured-logo:nth-child(5n) {
  --float-delay: -1.8s;
}

.featured-logo:nth-child(7n) {
  --float-delay: -3.2s;
}

.featured-logo:nth-child(4n) {
  --float-delay: -.9s;
}


/* ============================================================
   HOVER
   ============================================================ */

.featured-logo:hover {
  animation-play-state: paused;

  transform:
    translateY(-9px);

  z-index: 100;
}


/* Show ONLY the outer glass box */

.featured-logo:hover::before {
  opacity: 1;

  transform:
    scale(1);
}


/* Ambient glow */

.featured-logo:hover::after {
  opacity: 1;
}


/* Logo hover */

.featured-logo:hover img {
  transform:
    scale(calc(var(--zoom) * 1.06));

  /* Absolutely NO logo border */

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  /*
     Small natural depth.
     This is NOT a box shadow.
  */

  filter: none !important;
}


/* ============================================================
   PER-BRAND ZOOM
   ============================================================ */

.logo-haribhoomi {
  --zoom: 1.35;
}

.logo-radiomirchi {
  --zoom: 1.4;
}

.logo-samay {
  --zoom: 1.25;
}

.logo-nomad {
  --zoom: 1.15;
}

.logo-cio {
  --zoom: 1.2;
}

.logo-isrn {
  --zoom: 1.1;
}

.logo-ministry {
  --zoom: 1.05;
}

.logo-haryana {
  --zoom: 1.05;
}

.logo-giveindia {
  --zoom: 1.05;
}

.logo-dainikbhaskar {
  --zoom: 1.05;
}

.logo-tataworld {
  --zoom: 1.05;
}

.logo-undp {
  --zoom: 1;
}

.logo-nexusofgood {
  --zoom: 1;
}

.logo-uttarakhand {
  --zoom: 1;
}

.logo-betterindia {
  --zoom: .95;
}

.logo-yourstory {
  --zoom: .95;
}

.logo-redfm {
  --zoom: .95;
}

.logo-dainikjagran {
  --zoom: .95;
}


/* ============================================================
   AUTO SCROLL
   ============================================================ */

@keyframes featuredSignatureScroll {

  0% {
    transform:
      translate3d(0,0,0);
  }

  100% {
    transform:
      translate3d(-50%,0,0);
  }
}


/* ============================================================
   LARGE DESKTOP
   ============================================================ */

@media (min-width: 1400px) {

  .featured-section {
    padding: 80px 0 70px;
  }

  .featured-logo {
    flex-basis: 226px;

    width: 226px;
    height: 148px;
  }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

  .featured-section {
    padding: 54px 0 46px;
  }

  .featured-heading {
    gap: 14px;
  }

  .featured-heading-wrap {
    margin-bottom: 30px;
  }

  .featured-heading-line {
    width: 60px;
  }

  .featured-heading-text {
    font-size: 10px;

    letter-spacing: .3em;

    padding: 7px 16px;
  }

  .featured-subtext {
    font-size: 11.5px;
  }

  .featured-track {
    animation-duration: 52s;
  }

  .featured-logo {
    flex-basis: 182px;

    width: 182px;
    height: 120px;

    margin: 0 10px;
  }

  .featured-logo img {
    padding: 18px 20px;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

  .featured-section {
    padding: 42px 0 36px;
  }

  .featured-heading {
    gap: 10px;
  }

  .featured-heading-wrap {
    margin-bottom: 22px;
  }

  .featured-heading-line {
    width: 32px;
  }

  .featured-heading-text {
    font-size: 8px;

    letter-spacing: .24em;

    padding: 6px 13px;
  }

  .featured-subtext {
    font-size: 10.5px;
  }

  .featured-track {
    animation-duration: 40s;
  }

  .featured-logo {
    flex-basis: 156px;

    width: 156px;
    height: 104px;

    margin: 0 8px;

    animation: none;
  }

  .featured-logo img {
    padding: 13px 15px;
  }

  .featured-logo:hover {
    transform:
      translateY(-5px);
  }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

  .featured-section {
    padding: 34px 0 28px;
  }

  .featured-heading {
    gap: 7px;
  }

  .featured-heading-wrap {
    margin-bottom: 18px;
  }

  .featured-heading-line {
    width: 20px;
  }

  .featured-heading-text {
    font-size: 7px;

    letter-spacing: .18em;

    padding: 5px 11px;
  }

  .featured-subtext {
    display: none;
  }

  .featured-track {
    animation-duration: 34s;
  }

  .featured-logo {
    flex-basis: 132px;

    width: 132px;
    height: 88px;

    margin: 0 6px;
  }

  .featured-logo img {
    padding: 11px 12px;
  }
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .featured-track {
    animation: none;
  }

  .featured-logo {
    animation: none !important;
  }

  .featured-heading-dot {
    animation: none;
  }
}

/* =========================================================
   JOGI HANDWRITTEN SIGNATURE
   ========================================================= */

.jogi-signature {
  font-family:
    "Brush Script MT",
    "Segoe Script",
    "Lucida Handwriting",
    cursive;

  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.04em;
  transform: rotate(-4deg);
  transform-origin: left center;
}

/* ================= SANSKRITI INDIA MAP ================= */

.india-theme-map {
  height: 335px;
  width: 225px;
  opacity: .95;
  filter: sepia(1) saturate(3.2) hue-rotate(320deg) brightness(.78) contrast(1.15);
  transition: transform .5s ease, opacity .5s ease;
}

.india-theme-map:hover {
  opacity: 1;
  transform: scale(1.035);
}

.map-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #e86f3d;
  border-radius: 50%;
  background: #f8f0e9;
  box-shadow: 0 0 0 4px rgba(232,111,61,.14);
}

@media (min-width:1280px) {
  .india-theme-map {
    height: 355px;
    width: 240px;
  }
}

@media (max-width:1023px) {
  .india-theme-map {
    height: 270px;
    width: 185px;
  }

  .map-dot {
    display: none;
  }
}

/* ================= SANSKRITI IMAGE DEPTH ================= */

.sanskriti-image {
  overflow: visible;
}

.sanskriti-image > div {
  box-shadow: 28px 0 45px rgba(70, 45, 30, .10);
}

/* INDIA MAP */
.india-theme-map {
  opacity: .88;
  filter: drop-shadow(0 8px 18px rgba(232,111,61,.10));
}

.map-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #e86f3d;
  box-shadow: 0 0 0 4px rgba(232,111,61,.10);
}

/* MOBILE */
@media (max-width: 1023px) {
  .sanskriti-image {
    overflow: hidden;
  }

  .sanskriti-image > div {
    width: 100%;
    border-radius: 30px 30px 0 0;
    box-shadow: none;
  }

  .sanskriti-image > div > div:nth-child(2),
  .sanskriti-image > div > div:nth-child(3) {
    display: none;
  }
}

/* ================= STORIES CAROUSEL ================= */

.stories-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 4px 22px;
  margin: -12px -4px -22px;
}

.stories-carousel::before,
.stories-carousel::after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
}

.stories-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f8f1eb 25%, transparent);
}

.stories-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f8f1eb 25%, transparent);
}

.stories-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: stories-scroll 42s linear infinite !important;
  -webkit-animation: stories-scroll 42s linear infinite !important;
  will-change: transform;
}

.stories-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 20px !important;
  flex-shrink: 0 !important;
  padding-right: 20px !important;
}

.story-card {
  display: flex !important;
  flex-direction: column !important;
  width: 360px !important;
  min-width: 360px !important;
  max-width: 360px !important;
  flex: 0 0 360px !important;
  flex-shrink: 0 !important;
}

.stories-carousel:hover .stories-track,
.stories-carousel:focus-within .stories-track {
  animation-play-state: paused !important;
  -webkit-animation-play-state: paused !important;
}

@keyframes stories-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@-webkit-keyframes stories-scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 640px) {
  .stories-group {
    gap: 14px !important;
    padding-right: 14px !important;
  }
  .story-card {
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    flex: 0 0 290px !important;
  }
  .stories-track {
    animation-duration: 30s !important;
    -webkit-animation-duration: 30s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stories-carousel {
    overflow-x: auto;
  }
  .stories-track {
    animation: none !important;
    -webkit-animation: none !important;
  }
}

/* ================= PEOPLE BOOKS AUTO CAROUSEL ================= */

.books-carousel{overflow:hidden}
.books-track{display:flex;width:max-content;animation:books-scroll 30s linear infinite;will-change:transform}
.books-group{display:flex;gap:20px;flex-shrink:0;padding-right:20px}
.book-person{width:220px;flex-shrink:0;transition:transform .45s ease,box-shadow .45s ease,border-color .45s ease}
.book-person:hover{transform:translateY(-6px);box-shadow:0 18px 35px rgba(0,0,0,.08);border-color:#e86f3d}
.books-carousel:hover .books-track{animation-play-state:paused}

@keyframes books-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media(max-width:640px){
  .book-person{width:190px}
  .books-group{gap:14px;padding-right:14px}
  .books-track{animation-duration:24s}
}

/* =========================================================
   PEOPLE JOGI SHARED BOOKS WITH
========================================================= */

.books-carousel {
  width: 100%;
}

.books-track {
  display: flex;
  width: max-content;
  animation: books-scroll 32s linear infinite;
}

.books-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.book-person {
  width: 230px;
  flex-shrink: 0;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Normal cards */
.hover-lift:hover {
  transform: translateY(-6px);
  border-color: #e4d2c6;
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
}

/* =========================================================
   ROBIN SHARMA — CLEAR BUT PREMIUM HIGHLIGHT
========================================================= */

.robin-feature {
  border: 2px solid #e86f3d;
  box-shadow:
    0 18px 45px rgba(232, 111, 61, 0.16),
    0 6px 20px rgba(23, 23, 23, 0.05);

  transform: translateY(-8px);
}

.robin-feature::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 24px;
  background: rgba(232, 111, 61, 0.08);
  filter: blur(12px);
  opacity: 0.8;
}

.robin-feature img {
  transition: transform 0.7s ease;
}

.robin-feature:hover {
  transform: translateY(-13px);
  box-shadow:
    0 25px 60px rgba(232, 111, 61, 0.24),
    0 10px 25px rgba(23, 23, 23, 0.08);
}

.robin-feature:hover img {
  transform: scale(1.04);
}

/* Pause carousel */
.books-carousel:hover .books-track {
  animation-play-state: paused;
}

/* Infinite scroll */
@keyframes books-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {

  .books-group {
    gap: 14px;
    padding-right: 14px;
  }

  .book-person {
    width: 190px;
  }

  .robin-feature {
    transform: translateY(-4px);
  }

  .robin-feature:hover {
    transform: translateY(-7px);
  }

}

/* ================= BOOKS PAGES ================= */

.book-hero-card{position:relative;transition:transform .6s cubic-bezier(.22,1,.36,1),filter .6s ease}
.book-hero-card:hover{transform:translateY(-16px) rotate(-1deg);filter:drop-shadow(0 28px 25px rgba(60,35,20,.18))}
.book-hero-main{transform:translateY(-10px)}
.book-hero-main:hover{transform:translateY(-24px) rotate(1deg)}

.book-library-card{position:relative;transition:transform .45s ease,box-shadow .45s ease,border-color .45s ease}
.book-library-card:hover{transform:translateY(-8px);box-shadow:0 24px 55px rgba(70,45,30,.10);border-color:rgba(232,111,61,.35)}
.book-library-cover{transition:transform .45s ease}
.book-library-card:hover .book-library-cover{transform:scale(1.015)}

.book-detail-cover{max-height:620px}

.quick-info-card{
  border-radius:24px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 18px 40px rgba(70,45,30,.06);
  overflow:hidden;
}

.book-stat{display:flex;min-height:128px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:26px 14px;text-align:center}
.book-stat-icon{width:30px;height:30px;color:#e86f3d;flex-shrink:0}
.book-stat-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:#a49a8d}
.book-stat strong{font-family:"Playfair Display",serif;font-size:16px;font-weight:600;color:#222;line-height:1.15}

@media(max-width:639px){
  .book-stat{min-height:110px;padding:20px 10px;gap:6px}
  .book-stat-icon{width:24px;height:24px}
}

.related-book{transition:transform .4s ease,box-shadow .4s ease,border-color .4s ease}
.related-book:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(70,45,30,.09);border-color:rgba(232,111,61,.35)}

@media(max-width:767px){
.book-hero-main{transform:none}
.book-hero-card:hover{transform:translateY(-8px)}
.book-detail-cover{max-height:500px}
}

@media(prefers-reduced-motion:reduce){
.book-hero-card,.book-library-card,.related-book{transition:none}
}

/* =======================================================
   FLUID TYPE SCALE — BOOKS PAGE
   ======================================================= */

.hero-books-title {
  font-size: clamp(2.3rem, 3.6vw + 1.1rem, 4.5rem);
  line-height: .95;
}

.section-title {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.75rem);
}

/* =======================================================
   BOOK COVER — FIXED ASPECT RATIO WRAPPER
   ======================================================= */

.book-cover-ratio {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.book-cover-ratio img {
  display: block;
}

/* =======================================================
   BOOK SHELF — HERO
   -------------------------------------------------------
   Books stand close together, front-facing, resting on a
   shared ground shadow — like the reference photo, not
   scattered fanned cards.
   ======================================================= */

.book-shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  padding-bottom: 20px; /* room for the ground shadow below the books */
}

.book-shelf-shadow {
  position: absolute;
  bottom: -6px;
  left: 6%;
  right: 6%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(60,40,25,.22), transparent 72%);
  filter: blur(5px);
  z-index: 0;
}

.book-plank {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease;
  z-index: 1;
}

.book-plank-a { width: 110px; transform: rotate(-2deg); }
.book-plank-b { width: 145px; }
.book-plank-c { width: 100px; transform: rotate(2deg); }

.book-plank-a:hover { transform: rotate(-2deg) translateY(-10px); z-index: 2; }
.book-plank-b:hover { transform: translateY(-14px); z-index: 2; }
.book-plank-c:hover { transform: rotate(2deg) translateY(-10px); z-index: 2; }

.book-float {
  animation: bookFloat 5.5s ease-in-out infinite;
}

@keyframes bookFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.book-plank-b:hover.book-float {
  animation-play-state: paused;
}

@media (min-width: 640px) {
  .book-shelf { max-width: 540px; gap: 14px; }
  .book-plank-a { width: 135px; }
  .book-plank-b { width: 175px; }
  .book-plank-c { width: 122px; }
}

@media (min-width: 1024px) {
  .book-shelf { max-width: 640px; gap: 18px; }
  .book-plank-a { width: 165px; }
  .book-plank-b { width: 215px; }
  .book-plank-c { width: 150px; }
}

/* =======================================================
   HERO ENTRANCE ANIMATION
   ======================================================= */

.book-float {
  animation: bookFloat 5.5s ease-in-out infinite;
}

@keyframes bookFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .book-float { animation: none; }
}

/* =======================================================
   AUTHOR SECTION — ENHANCED
   ======================================================= */

.author-dots {
  background-image: radial-gradient(circle, #e86f3d 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: .45;
  z-index: 1;
}

/* ---- Photo frame with offset back panel (depth effect) ---- */

.author-frame {
  position: relative;
}

.author-frame-back {
  position: absolute;
  top: 18px;
  left: -18px;
  right: 18px;
  bottom: -18px;
  border-radius: 6px;
  background: linear-gradient(155deg, #e86f3d 0%, #f2a06d 100%);
  z-index: 0;
}

.author-frame-img {
  box-shadow: 0 30px 60px -20px rgba(50, 30, 15, .35);
}

.author-frame-tag {
  position: absolute;
  right: -14px;
  bottom: -22px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #fcfaf7;
  border: 1px solid #eadfd4;
  box-shadow: 0 14px 30px rgba(50, 30, 15, .18);
  text-align: center;
}

.author-frame-tag strong {
  font-size: 20px;
  line-height: 1;
  color: #1a1a1a;
}

.author-frame-tag span {
  margin-top: 3px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a08064;
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .author-frame-tag {
    width: 108px;
    height: 108px;
    right: -20px;
    bottom: 40px;
  }
  .author-frame-tag strong { font-size: 24px; }
  .author-frame-tag span { font-size: 9px; }
}

/* ---- Pull quote ---- */

.author-quote {
  position: relative;
  padding-left: 22px;
  border-left: 2px solid #e86f3d;
}

/* ---- Stats row ---- */

.author-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.author-stat {
  padding: 14px 20px 14px 0;
  border-right: 1px solid #e0cdba;
  border-bottom: 1px solid #e0cdba;
}

.author-stat:nth-child(2n) {
  border-right: none;
  padding-left: 20px;
}

.author-stat:nth-last-child(-n+2) {
  border-bottom: none;
}

.author-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #1a1a1a;
}

.author-stat span {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #8a8078;
}

@media (min-width: 640px) {
  .author-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .author-stat {
    border-right: 1px solid #e0cdba;
    border-bottom: none;
    padding: 0 20px;
  }
  .author-stat:first-child { padding-left: 0; }
  .author-stat:last-child { border-right: none; }
  .author-stat strong { font-size: 2.25rem; }
}

/* ---- CTA strip ---- */

.author-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 20px;
  background: linear-gradient(120deg, #221b15 0%, #3a2a1e 100%);
  padding: 28px 30px;
}

@media (min-width: 640px) {
  .author-cta {
    flex-direction: row;
    align-items: center;
  }
}

/* =======================================================
   LIBRARY CARDS — THEME MATCH
   ======================================================= */

.lib-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 28px;
  padding: 44px 30px 38px;
  background: var(--lib-tint, #f7f3ee);
  border: 1px solid color-mix(in srgb, var(--lib-accent) 16%, transparent);
  opacity: 0;
  transform: translateY(24px);
  animation: libCardIn .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}

@keyframes libCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.lib-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -18px rgba(60, 40, 20, .16);
  border-color: color-mix(in srgb, var(--lib-accent) 40%, transparent);
}

.lib-card-num {
  align-self: flex-start;
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--lib-accent);
  opacity: .85;
  margin-bottom: 4px;
}

.lib-cover-wrap {
  position: relative;
  width: 100%;
  max-width: 185px;
  margin: 10px 0 28px;
}

.lib-cover-shadow {
  position: absolute;
  bottom: -12px;
  left: 8%;
  right: 8%;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(40,25,10,.24), transparent 75%);
  filter: blur(5px);
}

.lib-cover {
  position: relative;
  z-index: 1;
  box-shadow: 0 22px 34px -12px rgba(40, 25, 10, .32);
}

.lib-tag {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--lib-accent);
}

.lib-btn {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lib-accent) 45%, #d8c6b8);
  padding: 13px 22px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #2a2a2a;
  background: rgba(255,255,255,.5);
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.lib-btn svg {
  height: 13px;
  width: 13px;
  transition: transform .3s ease;
}

.lib-card:hover .lib-btn {
  background: var(--lib-accent);
  color: #fff;
  border-color: var(--lib-accent);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--lib-accent) 60%, transparent);
}

.lib-card:hover .lib-btn svg {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .lib-card { opacity: 1; transform: none; animation: none; }
}

/* =========================================================
   BOOK DETAILS PAGE — FINAL COMPACT PREMIUM FIX
========================================================= */

:root {
    --book-accent: #e86f3d;
    --book-accent-dark: #d95f30;
    --book-ink: #171717;
    --book-muted: #777;
    --book-line: #eadfd4;
    --book-soft: #f7eee7;
}


/* =========================================================
   1. GLOBAL TEXT BALANCE
========================================================= */

#book-page .text-\[9px\] {
    font-size: 10px !important;
}

#book-page .text-\[8px\] {
    font-size: 9px !important;
}

#book-page .text-\[11px\] {
    font-size: 12px !important;
}

#book-page .text-\[12px\] {
    font-size: 13px !important;
}

#book-page .section-title {
    font-size: clamp(2.5rem, 4vw, 4.2rem) !important;
    line-height: .98 !important;
    letter-spacing: -.03em;
}


/* =========================================================
   2. KEY TAKEAWAYS — COMPACT & BALANCED
========================================================= */

#book-page > section.bg-\[\#f7eee7\] {
    padding-top: 58px !important;
    padding-bottom: 62px !important;
}

#book-page > section.bg-\[\#f7eee7\] > div > div:first-child {
    padding-bottom: 22px !important;
}

.takeaway-list-premium {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
    align-content: start;
}

.takeaway-card {
    position: relative;
    min-height: 155px !important;
    padding: 22px 22px 20px !important;
    border: 1px solid rgba(234, 223, 212, .95);
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .78);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.takeaway-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 111, 61, .28);
    box-shadow: 0 14px 30px rgba(50, 30, 20, .06);
}

.takeaway-card-icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 14px !important;
    font-size: 15px !important;
}

.takeaway-card-label {
    font-size: 15px !important;
}

.takeaway-card-copy {
    margin-top: 7px !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}


/* =========================================================
   3. WRITE REVIEW CARD — NO EMPTY DEAD SPACE
========================================================= */

.takeaway-review-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    min-height: 324px !important;
    padding: 26px !important;
    overflow: hidden;
    border: 1px solid rgba(232, 111, 61, .18);
    border-radius: 16px !important;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(232, 111, 61, .09),
            transparent 42%
        ),
        #fff;
    box-shadow: 0 12px 30px rgba(40, 25, 18, .045);
}

.takeaway-review-top {
    gap: 10px !important;
}

.takeaway-review-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
}

.takeaway-review-card h3 {
    margin-top: 18px !important;
    font-size: 29px !important;
    line-height: 1.02 !important;
}

.takeaway-review-card p {
    margin-top: 12px !important;
    max-width: 245px !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
}

.takeaway-review-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    margin-top: 22px !important;
    padding: 14px 17px !important;
    border-radius: 8px !important;
    background: #e86f3d;
    color: #fff;
    font-size: 10px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.takeaway-review-btn:hover {
    background: #d95f30;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(232, 111, 61, .22);
}

.takeaway-review-btn span:last-child {
    transition: transform .3s ease;
}

.takeaway-review-btn:hover span:last-child {
    transform: translateX(3px);
}

.takeaway-review-mark {
    position: absolute !important;
    right: 18px !important;
    bottom: -22px !important;
    display: block !important;
    font-size: 150px !important;
    line-height: 1 !important;
    color: rgba(232, 111, 61, .06) !important;
    pointer-events: none;
}


/* =========================================================
   4. RELATED BOOKS — CLEAN COMPACT LAYOUT
========================================================= */

.related-books-section {
    padding-top: 66px !important;
    padding-bottom: 70px !important;
}

.related-books-section .grid {
    gap: 34px !important;
}

.related-books-section .mt-9 {
    margin-top: 28px !important;
}

.related-books-large {
    display: grid;
    gap: 15px !important;
}


/* BOOK CARD */

.related-book-large {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    min-height: 215px !important;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 212, .9);
    border-radius: 15px !important;
    background: #fff;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.related-book-large:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 111, 61, .28);
    box-shadow: 0 15px 32px rgba(40, 25, 18, .065);
}


/* IMAGE SIDE */

.related-book-large-cover {
    position: relative;
    z-index: 1;
    flex: 0 0 175px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #fbf4ef,
            #f6ebe3
        );
}


/* REMOVE OLD HUGE SHADOW */

.related-book-large-shadow {
    display: none !important;
}


/* BOOK IMAGE */

.related-book-large-image {
    position: relative;
    z-index: 2;
    width: auto !important;
    height: 165px !important;
    max-width: 105px !important;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 10px 22px rgba(30, 20, 15, .13);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.related-book-large:hover .related-book-large-image {
    transform: translateY(-4px) rotate(-.5deg);
    box-shadow: 0 16px 27px rgba(30, 20, 15, .18);
}


/* DIVIDER */

.related-book-large-cover::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: rgba(232, 111, 61, .12);
}


/* CONTENT SIDE — MORE SPACE BETWEEN IMAGE & TEXT */

.related-book-large > div:last-child {
    position: relative;
    z-index: 3;
    min-height: 215px !important;
    padding: 26px 26px 24px 31px !important;
}

.related-book-large h3 {
    font-size: 28px !important;
    line-height: 1.03 !important;
}

.related-book-large p {
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.related-book-large > div:last-child > span:last-child {
    margin-top: 16px !important;
}


/* =========================================================
   5. AUTHOR CARD — COMPACT PREMIUM DESIGN
========================================================= */

.related-author-feature {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 212, .95);
    border-radius: 17px !important;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 22, 15, .045);
}

.related-author-image-frame {
    position: relative;
    min-height: 270px !important;
    height: 270px !important;
    overflow: hidden;
}

.related-author-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s ease;
}

.related-author-feature:hover .related-author-feature-image {
    transform: scale(1.025);
}

.related-author-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(20, 12, 8, .68),
            rgba(20, 12, 8, .05) 65%
        );
}

.related-author-image-label {
    position: absolute;
    z-index: 3;
    left: 24px;
    bottom: 22px;
}

.related-author-feature-copy {
    padding: 23px 26px 25px !important;
}

.related-author-feature-copy p {
    margin-top: 11px !important;
    font-size: 26px !important;
    line-height: 1.06 !important;
}

.related-author-link {
    margin-top: 17px !important;
}


/* ORBIT SHOULD NOT TAKE SPACE */

.related-author-orbit {
    pointer-events: none;
}


/* =========================================================
   6. TOP GAP FIX
========================================================= */

#book-page {
    padding-top: 82px !important;
}

#book-page > section:first-child {
    padding-top: 24px !important;
}


/* =========================================================
   7. ABOUT + READER TEXT SIZE
========================================================= */

#book-page #book-long-description {
    font-size: 15px !important;
    line-height: 1.8 !important;
}

#book-page #book-long-description p {
    font-size: 15px !important;
}

#book-page .jogi-signature {
    margin-top: 22px !important;
}

#book-page #book-review {
    font-size: clamp(1.65rem, 2.4vw, 2.1rem) !important;
}


/* =========================================================
   8. RESPONSIVE
========================================================= */

@media (max-width: 1023px) {

    .takeaway-list-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .takeaway-review-card {
        min-height: auto !important;
    }

    .related-books-section .grid {
        gap: 32px !important;
    }

    .related-author-feature {
        max-width: 100%;
    }

}


@media (max-width: 767px) {

    #book-page {
        padding-top: 74px !important;
    }

    #book-page > section:first-child {
        padding-top: 18px !important;
    }

    #book-page > section.bg-\[\#f7eee7\] {
        padding-top: 48px !important;
        padding-bottom: 52px !important;
    }

    .takeaway-list-premium {
        grid-template-columns: 1fr;
        gap: 12px !important;
    }

    .takeaway-card {
        min-height: auto !important;
        padding: 21px !important;
    }

    .takeaway-review-card {
        margin-top: 2px !important;
        min-height: 300px !important;
    }

    .related-books-section {
        padding-top: 54px !important;
        padding-bottom: 58px !important;
    }

    .related-book-large {
        min-height: 205px !important;
    }

    .related-book-large-cover {
        flex-basis: 145px !important;
    }

    .related-book-large-image {
        height: 150px !important;
        max-width: 96px !important;
    }

    .related-book-large > div:last-child {
        min-height: 205px !important;
        padding: 22px 20px 21px 26px !important;
    }

    .related-book-large h3 {
        font-size: 24px !important;
    }

    .related-author-image-frame {
        height: 260px !important;
        min-height: 260px !important;
    }

    .related-author-feature-copy {
        padding: 22px 23px 24px !important;
    }

}


@media (max-width: 480px) {

    .takeaway-review-card {
        min-height: 285px !important;
    }

    .related-book-large {
        flex-direction: column;
    }

    .related-book-large-cover {
        flex-basis: auto !important;
        min-height: 185px !important;
    }

    .related-book-large-cover::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 20%;
        width: 60%;
        height: 1px;
    }

    .related-book-large-image {
        height: 150px !important;
        max-width: 98px !important;
    }

    .related-book-large > div:last-child {
        min-height: auto !important;
        padding: 23px !important;
    }

    .related-author-image-frame {
        height: 240px !important;
        min-height: 240px !important;
    }

}

/* =========================================================
   JOGI — SESSION SYSTEM
   Premium supporting styles
========================================================= */

html {
    scroll-behavior: smooth;
}

/* =========================================================
   SESSION PAGE BASE
========================================================= */

.sessions-page,
#sessionDetailPage {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.font-serif {
    font-family: "Playfair Display", serif;
}

.font-sans {
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* =========================================================
   PREMIUM SESSION BACKGROUND
========================================================= */

.soft-grid {
    background-image:
        linear-gradient(rgba(23, 23, 23, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 23, 23, 0.025) 1px, transparent 1px);
    background-size: 46px 46px;
}


/* =========================================================
   RICH SESSION CONTENT
========================================================= */

.session-rich-content {
    max-width: 44rem;
    color: #6f6a65;
    font-size: 1.04rem;
    line-height: 1.95;
}

.session-rich-content p {
    margin: 0 0 1.45rem;
}

.session-rich-content p:last-child {
    margin-bottom: 0;
}

.session-rich-content strong {
    color: #292522;
    font-weight: 650;
}

.session-rich-content em {
    color: #e86f3d;
}

.session-rich-content h3 {
    margin-top: 2rem;
    margin-bottom: .8rem;
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    line-height: 1.25;
    color: #292522;
}

.session-rich-content h4 {
    margin-top: 1.7rem;
    margin-bottom: .7rem;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #292522;
}

.session-rich-content ul {
    margin: 1.25rem 0 1.5rem;
    padding-left: 1.25rem;
}

.session-rich-content ol {
    margin: 1.25rem 0 1.5rem;
    padding-left: 1.4rem;
}

.session-rich-content li {
    margin-bottom: .7rem;
    color: #6f6a65;
    font-size: 15px;
    line-height: 1.7;
}

.session-rich-content li:last-child {
    margin-bottom: 0;
}

.session-rich-content a {
    color: #e86f3d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.session-rich-content a:hover {
    color: #d96032;
}

.session-rich-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid #e86f3d;
    color: #292522;
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    line-height: 1.5;
}

.session-rich-content::selection {
    background: rgba(232, 111, 61, .18);
}


/* =========================================================
   SESSION CARDS
========================================================= */

.session-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;

    border: 1px solid #e8ddd4;
    border-radius: 24px;

    background: rgba(255, 255, 255, .84);

    box-shadow:
        0 8px 30px rgba(23, 23, 23, .035);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.session-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(242, 123, 75, .045),
        transparent 45%
    );
}

.session-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(242, 123, 75, .045),
        transparent 45%
    );

    opacity: 0;
    transition: opacity .35s ease;
}

.session-card:hover {
    transform: translateY(-6px);
    border-color: #dccbc0;

    box-shadow:
        0 24px 60px rgba(23, 23, 23, .09);
}

.session-card:hover::after {
    opacity: 1;
}

.session-card .card-number {
    letter-spacing: .18em;
}

.session-card .card-arrow {
    transition:
        transform .3s ease,
        background-color .3s ease;
}

.session-card:hover .card-arrow {
    transform: translateX(4px);
    background: #f8eee8;
}


/* =========================================================
   SESSION FILTERS
========================================================= */

.session-filter {
    -webkit-tap-highlight-color: transparent;

    transition:
        transform .25s ease,
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.session-filter:not(.active-filter):hover {
    transform: translateY(-1px);
}

.active-filter {
    background: #171717 !important;
    color: #fff !important;
    border-color: #171717 !important;
}


/* =========================================================
   FOCUS ACCESSIBILITY
========================================================= */

.session-filter:focus-visible,
.session-card a:focus-visible,
#sessionDetailPage a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e86f3d;
    outline-offset: 3px;
}

#selectedSession option {
    background: #fffdfa;
    color: #302c29;
    font-family: "DM Sans", "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    padding: 10px 12px;
}

#selectedSession option:checked {
    background: #fff0e7;
    color: #b7441f;
    font-weight: 700;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

#sessionDetailPage h1,
#sessionDetailPage h2,
#sessionDetailPage blockquote {
    text-wrap: balance;
}

.testimonial-quote {
    text-wrap: balance;
}


/* =========================================================
   DATE INPUT
========================================================= */

input[type="date"] {
    color-scheme: light;
}


/* =========================================================
   PREMIUM GLOW
========================================================= */

.premium-glow {
    box-shadow:
        0 20px 60px rgba(23, 23, 23, .07),
        0 0 0 1px rgba(255, 255, 255, .75) inset;
}

.new-experience-glow {
    box-shadow:
        0 20px 70px rgba(232, 111, 61, .07),
        0 0 0 1px rgba(255, 255, 255, .75) inset;
}


/* =========================================================
   CARD ARROW
========================================================= */

.card-arrow {
    transition:
        transform .3s ease,
        background-color .3s ease;
}

.group:hover .card-arrow {
    transform: translateX(3px);
    background: #fdf0e9;
}


/* =========================================================
   NEW EXPERIENCE BADGE
========================================================= */

.new-badge {
    animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(232, 111, 61, .08);
    }

    50% {
        box-shadow:
            0 0 0 7px rgba(232, 111, 61, 0);
    }
}


/* =========================================================
   VERIFIED PARTICIPANT
========================================================= */

.verified-dot {
    box-shadow:
        0 0 0 4px rgba(242, 123, 75, .10);
}


/* =========================================================
   SESSION DETAIL PAGE
========================================================= */

#sessionDetailPage {
    --session-accent: #e86f3d;
    --session-line: #e8ddd4;
}


/* =========================================================
   DETAIL PAGE RICH CONTENT
========================================================= */

#sessionDetailPage .session-rich-content {
    color: #6f6a65;
    font-size: 1rem;
    line-height: 1.9;
}

#sessionDetailPage .session-rich-content p {
    margin-bottom: 1.35rem;
}

#sessionDetailPage .session-rich-content p:last-child {
    margin-bottom: 0;
}

#sessionDetailPage .session-rich-content strong {
    color: #292522;
    font-weight: 650;
}

#sessionDetailPage .session-rich-content em {
    color: #e86f3d;
}

#sessionDetailPage .session-rich-content h3 {
    margin-top: 2rem;
    margin-bottom: .8rem;

    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    line-height: 1.25;

    color: #292522;
}

#sessionDetailPage .session-rich-content ul {
    margin: 1.25rem 0 1.5rem;
    padding-left: 1.25rem;
    list-style: disc;
}

#sessionDetailPage .session-rich-content blockquote {
    margin: 1.8rem 0;
    padding: .4rem 0 .4rem 1.4rem;
    border-left: 3px solid #e86f3d;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.55;
}

#sessionDetailPage .session-rich-content li {
    margin-bottom: .7rem;
    color: #6f6a65;
    font-size: 15px;
    line-height: 1.7;
}

#sessionDetailPage .session-rich-content::selection {
    background: rgba(232, 111, 61, .16);
}


/* =========================================================
   DETAIL PAGE SESSION CARDS
========================================================= */

#sessionDetailPage .session-card {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

#sessionDetailPage .session-card::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(242, 123, 75, .045),
        transparent 45%
    );

    opacity: 0;

    transition: opacity .35s ease;
}

#sessionDetailPage .session-card:hover::after {
    opacity: 1;
}


/* =========================================================
   DETAIL PAGE ACCESSIBILITY
========================================================= */

#sessionDetailPage a:focus-visible,
#sessionDetailPage button:focus-visible {
    outline: 2px solid #e86f3d;
    outline-offset: 4px;
}


/* =========================================================
   MOBILE REFINEMENTS
========================================================= */

@media (max-width: 640px) {

    .session-rich-content {
        font-size: .98rem;
        line-height: 1.85;
    }

    .session-card {
        border-radius: 20px;
    }

    #sessionDetailPage .session-rich-content {
        font-size: .96rem;
        line-height: 1.82;
    }

    #sessionDetailPage .session-card {
        border-radius: 20px;
    }
}

/* =========================================================
   SESSION CARD — PREMIUM REDESIGN
========================================================= */

.session-card-v2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 26px;
    border: 1px solid #ecdfd4;
    background: #fff;
    box-shadow: 0 10px 34px rgba(35, 22, 15, .05);
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}

.session-card-v2:hover {
    transform: translateY(-7px);
    border-color: #e6c8b4;
    box-shadow: 0 30px 60px rgba(35, 22, 15, .12);
}

/* top accent bar */
.session-card-v2::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f27b4b, #f4a261);
    opacity: 0;
    transition: opacity .35s ease;
}
.session-card-v2:hover::before { opacity: 1; }

/* header */
.session-card-v2-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 24px 0;
}

.session-card-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fdf0e9;
    color: #e86f3d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.session-card-v2-num {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 600;
    color: #d8c7ba;
    letter-spacing: .08em;
}

/* body */
.session-card-v2-title {
    margin-top: 16px;
    padding: 0 24px;
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #171717;
}

.session-card-v2-desc {
    margin-top: 10px;
    padding: 0 24px;
    color: #6f6a65;
    font-size: 13.5px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.session-card-v2-spacer { flex: 1; }

/* meta row */
.session-card-v2-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 24px 0;
    padding-top: 18px;
    border-top: 1px solid #f0e6dc;
}

.session-card-v2-meta-block p:first-child {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #a89f97;
}

.session-card-v2-meta-block p:last-child {
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #292522;
}

.session-card-v2-meta-block.is-price p:last-child {
    font-family: "Playfair Display", serif;
    font-size: 17px;
    color: #e86f3d;
}

.session-card-v2-meta-block.is-price { text-align: right; }

/* footer buttons */
.session-card-v2-actions {
    display: flex;
    gap: 10px;
    padding: 18px 24px 24px;
}

.session-card-v2-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
    white-space: nowrap;
}

.session-card-v2-btn.is-outline {
    border: 1.5px solid #e9bfa5;
    color: #e86f3d;
    background: #fff;
}
.session-card-v2-btn.is-outline:hover {
    background: #fdf0e9;
    border-color: #e86f3d;
    transform: translateY(-2px);
}

.session-card-v2-btn.is-solid {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #f27b4b, #e86f3d);
    box-shadow: 0 12px 26px rgba(232, 111, 61, .28);
}
.session-card-v2-btn.is-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(232, 111, 61, .38);
}

.session-card-v2-btn svg {
    width: 14px;
    height: 14px;
    transition: transform .3s ease;
}
.session-card-v2-btn.is-solid:hover svg {
    transform: translateX(2px);
}

@media (max-width: 380px) {
    .session-card-v2-actions { flex-direction: column; }
}

/* =========================================================
   SESSION TESTIMONIAL STATES
   (moved out of session-detail.html inline <style>)
========================================================= */

#testimonialSection { display: none; }
#testimonialSection.is-visible { display: block; }

#realTestimonial { display: none; }
#testimonialSection.has-testimonial #realTestimonial { display: block; }

#newExperience { display: none; }
#testimonialSection.is-new-experience #newExperience { display: block; }

#testimonialContent { width: 100%; }
.testimonial-single #testimonialContent {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

#testimonialGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.testimonial-carousel-wrapper { position: relative; width: 100%; }

#testimonialTrack {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0.25rem 1rem;
}
#testimonialTrack::-webkit-scrollbar { display: none; }

.testimonial-slide { scroll-snap-align: start; }

.testimonial-control {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e4d8cf;
    background: rgba(255,255,255,.82);
    color: #292522;
    box-shadow: 0 10px 25px rgba(40,25,15,.07);
    backdrop-filter: blur(12px);
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.testimonial-control:hover {
    transform: translateY(-2px);
    background: #171717;
    border-color: #171717;
    color: #fff;
}

#testimonialDots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.testimonial-card { min-height: 100%; }

/* Session grid card number */
.card-number { letter-spacing: .18em; }

@media (max-width: 767px) {
    #testimonialGrid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    #testimonialGrid { gap: 1rem; }
    .testimonial-control { width: 38px; height: 38px; }

    .testimonial-quote {
        font-size: 1.55rem;
        line-height: 1.5;
    }
}


/* =========================================================
   MEDIA & RECOGNITION PAGE
========================================================= */

.media-hero {
    min-height: 720px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(242, 123, 75, .12),
            transparent 34%
        ),
        #fcfaf7;
}

.media-hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: .35;
}

.media-glow-one {
    top: -220px;
    right: -120px;
    background: rgba(242, 123, 75, .25);
}

.media-glow-two {
    bottom: -250px;
    left: -180px;
    background: rgba(244, 162, 97, .18);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e86f3d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #e86f3d;
}

.media-hero-title {
    max-width: 780px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 500;
}

.media-hero-title span {
    display: block;
    color: #e86f3d;
    font-style: italic;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 500;
}

.section-title em {
    color: #e86f3d;
    font-style: italic;
}

.section-description {
    color: #6f6a65;
    font-size: 1.08rem;
    line-height: 1.8;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
}

.primary-btn {
    color: #fff;
    background: #e86f3d;
    box-shadow: 0 14px 35px rgba(232, 111, 61, .22);
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #d95f32;
    box-shadow: 0 18px 40px rgba(232, 111, 61, .3);
}

.secondary-btn {
    color: #171717;
    border: 1px solid #ded3ca;
    background: rgba(255, 255, 255, .7);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    border-color: #e86f3d;
    color: #e86f3d;
}


/* =========================================================
   HERO CARD
========================================================= */

.media-hero-card {
    position: relative;
    padding: 14px;
    border-radius: 32px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(218,195,180,.6);
    box-shadow:
        0 35px 90px rgba(61, 42, 31, .13);
}

.media-hero-image {
    height: 590px;
    overflow: hidden;
    border-radius: 23px;
}

.media-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.media-hero-card:hover .media-hero-image img {
    transform: scale(1.035);
}

.media-hero-floating-card {
    position: absolute;
    left: -30px;
    bottom: 35px;
    max-width: 280px;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(42,30,22,.15);
}

.floating-label {
    display: block;
    margin-bottom: 8px;
    color: #e86f3d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}

.media-hero-floating-card strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}


/* =========================================================
   STATS
========================================================= */

.recognition-stat {
    text-align: center;
    padding: 10px 20px;
}

.recognition-stat strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 500;
    color: #e86f3d;
}

.recognition-stat span {
    display: block;
    margin-top: 5px;
    color: #6f6a65;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
}


/* =========================================================
   MEDIA FILTERS
========================================================= */

.media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.media-filter {
    padding: 11px 18px;
    border: 1px solid #ded3ca;
    border-radius: 999px;
    color: #6f6a65;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.media-filter:hover,
.media-filter.active {
    color: #fff;
    border-color: #e86f3d;
    background: #e86f3d;
    transform: translateY(-2px);
}


/* =========================================================
   MASONRY MEDIA WALL
========================================================= */

.media-masonry {
    columns: 3 300px;
    column-gap: 22px;
}

.media-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #eadfd6;
    border-radius: 24px;
    background: #fff;
    break-inside: avoid;
    box-shadow: 0 10px 30px rgba(48,34,25,.04);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        opacity .35s ease;
}

.media-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(48,34,25,.1);
}

.media-image-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.media-image-button img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    transition: transform .65s ease;
}

.media-image-button:hover img {
    transform: scale(1.045);
}

.media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px;
    opacity: 0;
    background: linear-gradient(
        to top,
        rgba(23,23,23,.7),
        transparent 55%
    );
    transition: opacity .35s ease;
}

.media-image-button:hover .media-overlay {
    opacity: 1;
}

.media-overlay span {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 700;
}

.media-card-content {
    padding: 20px 21px 23px;
}

.media-card-content > span,
.testimonial-content > span {
    color: #e86f3d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.media-card-content h3 {
    margin-top: 8px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
}

.media-card-content p {
    margin-top: 8px;
    color: #77716b;
    font-size: 14px;
    line-height: 1.7;
}

.media-hidden {
    display: none !important;
}


/* =========================================================
   RECOGNITION FEATURE
========================================================= */

.recognition-feature-section {
    padding: 120px 0;
    background: #f4eee8;
}

.recognition-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.recognition-feature-image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(44,31,23,.12);
}

.recognition-feature-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
    transition: transform .7s ease;
}

.recognition-feature-image:hover img {
    transform: scale(1.03);
}

.recognition-feature-content h2 {
    margin-top: 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 500;
}

.recognition-feature-content h2 em {
    display: block;
    color: #e86f3d;
    font-style: italic;
}

.recognition-feature-content > p {
    max-width: 560px;
    margin-top: 25px;
    color: #6f6a65;
    font-size: 17px;
    line-height: 1.8;
}

.recognition-points {
    margin-top: 35px;
    border-top: 1px solid #d8c9bd;
}

.recognition-points div {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid #d8c9bd;
}

.recognition-points span {
    color: #e86f3d;
    font-size: 11px;
    font-weight: 800;
}

.recognition-points p {
    color: #38332f;
    font-weight: 600;
}


/* =========================================================
   NEWSPAPER SHOWCASE
========================================================= */

.newspaper-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: center;
}

.newspaper-paper {
    display: block;
    padding: 15px;
    border: 0;
    background: #fff;
    box-shadow: 0 25px 50px rgba(39,29,23,.12);
    cursor: pointer;
    transition: .45s ease;
}

.newspaper-paper img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.newspaper-paper-one {
    transform: rotate(-4deg);
}

.newspaper-paper-two {
    transform: translateY(-25px) rotate(2deg);
}

.newspaper-paper-three {
    transform: rotate(4deg);
}

.newspaper-paper:hover {
    z-index: 3;
    transform: translateY(-12px) rotate(0deg) scale(1.03);
    box-shadow: 0 35px 70px rgba(39,29,23,.18);
}


/* =========================================================
   BOOKS MEDIA SECTION
========================================================= */

.books-media-section {
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(242, 123, 75, .12),
            transparent 30%
        ),
        #f4eee8;
}


/* =========================================================
   BOOK COUNT BADGE
========================================================= */

.book-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 10px;
    border: 1px solid #dfd1c6;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
}

.book-count-badge strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #e86f3d;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 500;
}

.book-count-badge span {
    color: #6f6a65;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   THREE BOOK GRID
========================================================= */

.books-media-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}


/* =========================================================
   BOOK CARD
========================================================= */

.book-media-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(218, 195, 180, .7);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 20px 45px rgba(42, 30, 22, .08);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.book-media-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 65px rgba(42, 30, 22, .15);
}


/* =========================================================
   BOOK IMAGE
========================================================= */

.book-media-image {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #eee7e0;
}

.book-media-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.book-media-card:hover .book-media-image img {
    transform: scale(1.045);
}


/* =========================================================
   BOOK NUMBER
========================================================= */

.book-number {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: rgba(23, 23, 23, .45);
    backdrop-filter: blur(12px);
    font-family: "Playfair Display", serif;
    font-size: 14px;
}


/* =========================================================
   VIEW BOOK
========================================================= */

.book-view {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    color: #fff;
    background: rgba(23, 23, 23, .45);
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.book-media-card:hover .book-view {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   BOOK INFO
========================================================= */

.book-media-info {
    padding: 18px 18px 20px;
}

.book-media-info > span {
    color: #e86f3d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.book-media-info h3 {
    margin-top: 6px;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 500;
}

.book-media-info p {
    margin-top: 7px;
    color: #77716b;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .books-media-grid-three {
        gap: 14px;
    }

    .book-media-image {
        height: 340px;
    }

    .book-media-info h3 {
        font-size: 20px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .books-media-grid-three {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .book-media-image {
        height: 300px;
    }

    .book-media-info {
        padding: 15px;
    }

    .book-media-info h3 {
        font-size: 18px;
    }

    .book-media-info p {
        font-size: 11px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .books-media-section {
        padding: 80px 0;
    }

    .books-media-grid-three {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .book-media-image {
        height: 430px;
    }

    .book-media-info {
        padding: 18px 20px 21px;
    }

    .book-media-info h3 {
        font-size: 23px;
    }

    .book-media-info p {
        font-size: 13px;
    }

    .book-view {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   VIDEO TESTIMONIALS
========================================================= */

.video-testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(232, 111, 61, .08),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(244, 162, 97, .08),
            transparent 30%
        ),
        #fcfaf7;
}


/* =========================================================
   TESTIMONIAL GRID
========================================================= */

.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.video-testimonial-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e6d9ce;
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 15px 40px rgba(49, 35, 25, .06);
    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;
}

.video-testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 111, 61, .45);
    box-shadow:
        0 25px 60px rgba(49, 35, 25, .12);
}


/* =========================================================
   VIDEO MEDIA
========================================================= */

.video-testimonial-media {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #eee7df;
}

.testimonial-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}


/* =========================================================
   VIDEO OVERLAY
========================================================= */

.video-testimonial-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .04) 30%,
            rgba(0, 0, 0, .30) 100%
        );
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.testimonial-play-btn {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.testimonial-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    color: #fff;
    background: rgba(23, 23, 23, .48);
    backdrop-filter: blur(12px);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, .18);
    transition:
        transform .4s ease,
        background .4s ease,
        border-color .4s ease;
}

.testimonial-play-icon svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.video-testimonial-card:hover .testimonial-play-icon {
    transform: scale(1.12);
    border-color: #fff;
    background: rgba(232, 111, 61, .9);
}


/* =========================================================
   VIDEO LABEL
========================================================= */

.video-story-label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    color: #fff;
    background: rgba(23, 23, 23, .35);
    backdrop-filter: blur(12px);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
}


/* =========================================================
   TESTIMONIAL CONTENT
========================================================= */

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
    padding: 20px 20px 21px;
}

.testimonial-category {
    display: block;
    color: #e86f3d;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
}

.testimonial-content h3 {
    margin-top: 6px;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: 21px;
    line-height: 1.15;
    font-style: italic;
    font-weight: 500;
}

.testimonial-content p {
    margin-top: 5px;
    color: #77716b;
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   ARROW
========================================================= */

.testimonial-arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 10px;
    border: 1px solid #dfd2c8;
    border-radius: 50%;
    color: #6f6963;
    font-size: 14px;
    transition:
        color .3s ease,
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.video-testimonial-card:hover .testimonial-arrow {
    color: #fff;
    background: #e86f3d;
    border-color: #e86f3d;
    transform: rotate(8deg);
}


/* =========================================================
   BOTTOM NOTE
========================================================= */

.testimonial-bottom-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 50px;
}

.testimonial-bottom-note p {
    color: #8a817a;
    font-size: 11px;
    letter-spacing: .05em;
    text-align: center;
}

.testimonial-bottom-note strong {
    color: #e86f3d;
    font-weight: 700;
}

.testimonial-bottom-line {
    width: 55px;
    height: 1px;
    background: #ddcec2;
}


/* =========================================================
   VIDEO PLAYING STATE
========================================================= */

.video-testimonial-card.is-playing .testimonial-play-icon {
    opacity: 0;
    transform: scale(.7);
}

.video-testimonial-card.is-playing .video-story-label {
    opacity: 0;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .video-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .video-testimonial-media {
        height: 430px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .video-testimonials-section {
        padding: 85px 0;
    }

    .video-testimonials-grid {
        gap: 18px;
        margin-top: 45px;
    }

    .video-testimonial-media {
        height: 400px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .video-testimonials-section {
        padding: 75px 0;
    }

    .video-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-testimonial-media {
        height: 470px;
    }

    .testimonial-content {
        min-height: 100px;
        padding: 18px 19px;
    }

    .testimonial-content h3 {
        font-size: 22px;
    }

    .testimonial-content p {
        max-width: 220px;
    }

    .testimonial-bottom-note {
        gap: 10px;
        margin-top: 38px;
    }

    .testimonial-bottom-line {
        width: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .video-testimonial-media {
        height: 430px;
    }

    .testimonial-play-icon {
        width: 56px;
        height: 56px;
    }

}

/* =========================================================
   PEOPLE INTERACTION
========================================================= */

.people-interaction-section {
    padding: 120px 0;
    background: #171717;
    color: #fff;
}

.people-interaction-section .section-title {
    color: #fff;
}

.interaction-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    grid-template-rows: 260px 260px;
    gap: 18px;
}

.interaction-image {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
}

.interaction-large {
    grid-row: span 2;
}

.interaction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.interaction-image:hover img {
    transform: scale(1.06);
}

.interaction-image::after {
    content: "View Moment ↗";
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transition: .3s ease;
}

.interaction-image:hover::after {
    opacity: 1;
}


/* =========================================================
   FINAL CTA
========================================================= */

.media-final-cta {
    position: relative;
    overflow: hidden;
    padding: 130px 0;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(242,123,75,.2),
            transparent 35%
        ),
        #fcfaf7;
}

.media-final-cta h2 {
    max-width: 850px;
    margin: 20px auto 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 500;
}

.media-final-cta h2 em {
    color: #e86f3d;
    font-style: italic;
}

.media-final-cta p {
    margin-top: 22px;
    color: #6f6a65;
    font-size: 17px;
}


/* =========================================================
   MODALS / LIGHTBOX
========================================================= */

.media-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(12,10,9,.88);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.media-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: fixed;
    z-index: 2;
    top: 25px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: .3s ease;
}

.modal-close:hover {
    background: #e86f3d;
    border-color: #e86f3d;
}

.modal-image-wrapper {
    max-width: min(1100px, 94vw);
    max-height: 92vh;
    text-align: center;
}

.modal-image-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    margin: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0,0,0,.4);
}

.modal-image-wrapper p {
    margin-top: 15px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
}

.video-modal-wrapper {
    width: min(1100px, 94vw);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.video-modal-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .media-hero {
        min-height: auto;
    }

    .media-hero-image {
        height: 500px;
    }

    .recognition-feature {
        gap: 45px;
    }

    .newspaper-paper img {
        height: 400px;
    }

    .interaction-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 300px;
    }

    .interaction-large {
        grid-row: span 2;
    }

}

@media (max-width: 768px) {

    .media-hero {
        padding-top: 20px;
    }

    .media-hero-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .media-hero-floating-card {
        left: 18px;
        bottom: 20px;
    }

    .media-hero-image {
        height: 430px;
    }

    .recognition-feature {
        grid-template-columns: 1fr;
    }

    .recognition-feature-section {
        padding: 80px 0;
    }

    .newspaper-showcase {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
    }

    .newspaper-paper-one,
    .newspaper-paper-two,
    .newspaper-paper-three {
        transform: rotate(0);
    }

    .newspaper-paper img {
        height: auto;
        max-height: 650px;
    }

    .books-media-section {
        padding: 80px 0;
    }

    .books-media-grid {
        grid-template-columns: 1fr 1fr;
    }

    .book-media-card img {
        height: 360px;
    }

    .people-interaction-section {
        padding: 80px 0;
    }

    .interaction-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 250px 250px;
    }

    .interaction-large {
        grid-column: span 2;
        grid-row: span 1;
    }

}

@media (max-width: 640px) {

    .media-hero {
        padding-bottom: 60px;
    }

    .media-hero-image {
        height: 390px;
    }

    .media-hero-floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: calc(100% - 30px);
        margin: -60px auto 0;
    }

    .media-filters {
        gap: 7px;
    }

    .media-filter {
        padding: 9px 14px;
        font-size: 11px;
    }

    .media-masonry {
        columns: 1;
    }

    .recognition-feature-content h2 {
        font-size: 2.8rem;
    }

    .books-media-grid {
        grid-template-columns: 1fr;
    }

    .book-media-card img {
        height: 430px;
    }

    .testimonial-video {
        height: 240px;
    }

    .interaction-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 280px);
    }

    .interaction-large {
        grid-column: auto;
        grid-row: auto;
    }

    .media-modal {
        padding: 15px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }

    .video-modal-wrapper {
        width: 100%;
    }

}

/* Media & Recognization*/
/* Ensures newspaper cards look perfectly even regardless of original image size */
    .newspaper-thumb-container {
        aspect-ratio: 3/4;
        width: 100%;
        overflow: hidden;
        background-color: #eee8e2;
        border-radius: 0.75rem;
    }
    .newspaper-thumb-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top; /* Keeps the headline visible */
    }

/* About Page */
/* =======================================================
   JOURNEY HORIZONTAL TIMELINE
======================================================= */

.journey-timeline-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-snap-type: x proximity;
}

.journey-timeline-scroll::-webkit-scrollbar {
  display: none;
}

.journey-card {
  scroll-snap-align: start;
}

/* Minimal Style for Infinite Testimonial Marquee */

    @keyframes marquee {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    .animate-marquee {
      display: flex;
      width: max-content;
      animation: marquee 30s linear infinite;
    }

    .animate-marquee:hover {
      animation-play-state: paused;
    }

/* =======================================================
   BOOK DETAILS
   ======================================================= */

#book-page .book-copy,
#book-page .book-copy p,
#book-page p#book-review {
  margin: 0;
  color: #5e5750 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  word-spacing: normal !important;
}

#book-page #book-long-description {
  margin-top: 2rem;
}

#book-page #book-long-description > p + p {
  margin-top: 1.25rem;
}

#book-page p#book-review {
  border-left: 2px solid rgba(232, 111, 61, .45);
  padding: 2px 0 2px 14px;
}

@media (min-width: 640px) {
  #book-page #book-long-description {
    margin-top: 2.5rem;
  }

  #book-page #book-long-description > p + p {
    margin-top: 1.5rem;
  }

  #book-page .book-copy,
  #book-page .book-copy p,
  #book-page p#book-review {
    font-size: 16px !important;
  }
}

/* =======================================================
   SANSKRITI SCROLLBAR
   ======================================================= */

.sanskriti-page {
  scrollbar-color: #e86f3d #f5ebe1;
  scrollbar-width: thin;
}

.sanskriti-page::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.sanskriti-page::-webkit-scrollbar-track {
  background: #f7efe8;
  border-radius: 8px;
}

.sanskriti-page::-webkit-scrollbar-thumb {
  border: 2px solid #f7efe8;
  background: #e86f3d;
  border-radius: 8px;
}

.sanskriti-page::-webkit-scrollbar-thumb:hover {
  background: #cf5a28;
}

/* =======================================================
   SESSION DETAILS
   ======================================================= */

#sessionDetailPage {
  --o: #e86f3d;
  --ink: #171717;
}

:where(#sessionDetailPage) .grain::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: multiply;
}

:where(#sessionDetailPage) .dots {
  background-image: radial-gradient(rgba(232, 111, 61, .10) 1px, transparent 1px);
  background-size: 28px 28px;
}

:where(#sessionDetailPage) .gcard {
  position: relative;
  border: 1px solid transparent;
  border-radius: 24px;
  background: linear-gradient(#fffdfa, #fbf6f0) padding-box,
    linear-gradient(145deg, rgba(232, 111, 61, .45), rgba(233, 222, 213, .6) 40%, rgba(233, 222, 213, .3)) border-box;
  box-shadow: 0 20px 50px rgba(232, 111, 61, .06);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}

:where(#sessionDetailPage) .gcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(232, 111, 61, .14);
}

:where(#sessionDetailPage) .gcard .wm {
  position: absolute;
  top: 6px;
  right: 18px;
  color: rgba(232, 111, 61, .08);
  font-family: "Playfair Display", serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  transition: color .4s, transform .4s;
}

:where(#sessionDetailPage) .gcard:hover .wm {
  color: rgba(232, 111, 61, .18);
  transform: translateY(4px);
}

:where(#sessionDetailPage) .eyebrow {
  color: var(--o);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

:where(#sessionDetailPage) .btn {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #e86f3d, #f07542 50%, #ea580c);
  box-shadow: 0 14px 34px -8px rgba(232, 111, 61, .55);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  transition: transform .3s, box-shadow .3s;
}

:where(#sessionDetailPage) .btn::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  content: "";
  transform: translateX(-120%);
  transition: transform .7s;
}

:where(#sessionDetailPage) .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -8px rgba(232, 111, 61, .6);
}

:where(#sessionDetailPage) .btn:hover::before {
  transform: translateX(120%);
}

:where(#sessionDetailPage) .btn .arr {
  transition: transform .3s;
}

:where(#sessionDetailPage) .btn:hover .arr {
  transform: translateX(5px);
}

:where(#sessionDetailPage) .navbtn {
  display: flex;
  height: 46px;
  width: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded1c7;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: all .3s;
}

:where(#sessionDetailPage) .navbtn:hover {
  transform: scale(1.08);
  border-color: var(--o);
  background: var(--o);
  box-shadow: 0 10px 24px rgba(232, 111, 61, .35);
  color: #fff;
}

:where(#sessionDetailPage) .session-rich-content p {
  max-width: 68ch;
  letter-spacing: -.01em;
}

:where(#sessionDetailPage) .session-rich-content > p:first-of-type::first-letter {
  float: left;
  padding: .35rem .7rem 0 0;
  color: var(--o);
  font-family: "Playfair Display", serif;
  font-size: 4.6rem;
  font-weight: 600;
  line-height: .82;
}

:where(#sessionDetailPage) .session-rich-content strong {
  background: linear-gradient(transparent 62%, rgba(232, 111, 61, .18) 0);
}

:where(#sessionDetailPage) .session-rich-content em {
  font-style: italic;
}

:where(#sessionDetailPage) .tl {
  position: relative;
}

:where(#sessionDetailPage) .tl::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 19px;
  width: 2px;
  background: linear-gradient(#e86f3d, rgba(232, 111, 61, .1));
  content: "";
}

:where(#sessionDetailPage) .no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

:where(#sessionDetailPage) .no-scrollbar::-webkit-scrollbar {
  display: none;
}

:where(#sessionDetailPage) a:focus-visible,
:where(#sessionDetailPage) button:focus-visible {
  outline: 2px solid var(--o);
  outline-offset: 3px;
}

:where(#sessionDetailPage) #relatedSessions > * {
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}

:where(#sessionDetailPage) #relatedSessions > *:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(232, 111, 61, .14);
}

@media (min-width: 640px) {
  :where(#sessionDetailPage) .tl::before {
    top: 19px;
    right: 8%;
    bottom: auto;
    left: 8%;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, #e86f3d, rgba(232, 111, 61, .15));
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(#sessionDetailPage) *,
  html:has(#sessionDetailPage) *::before,
  html:has(#sessionDetailPage) *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =======================================================
   LETTER CONTENT & COMMENTS
   ======================================================= */

.letter-content {
  color: #2b2521;
  font-size: 1.0625rem;
  line-height: 1.85;
  letter-spacing: -0.01em;
}

.letter-content p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.letter-content p:first-of-type::first-letter {
  float: left;
  padding: 0.35rem 0.65rem 0 0;
  color: #e86f3d;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.85;
}

.letter-content h2,
.letter-content h3 {
  font-family: "Playfair Display", serif;
  color: #171717;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.letter-content blockquote {
  margin: 1.75rem 0;
  border-left: 3px solid #e86f3d;
  padding-left: 1.25rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #3e3731;
}

.comment-list .comment {
  border-bottom: 1px solid #eadfd4;
  padding: 1.5rem 0;
}
