
:root {
  --black: #050505;
  --black-soft: #121212;
  --gold: #ffb000;
  --gold-soft: #ffd06b;
  --paper: #fffaf0;
  --paper-2: #f5ead8;
  --text: #211d17;
  --muted: #766b5c;
  --line: rgba(75, 58, 35, .16);
  --shadow: 0 18px 60px rgba(46, 35, 19, .12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 176, 0, .12), transparent 34rem),
    linear-gradient(180deg, #fff7ea 0%, #efe3cf 100%);
  line-height: 1.75;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--gold);
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 176, 0, .55);
}

.nav-shell {
  max-width: 1380px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; min-width: 178px; }
.brand img { width: 148px; max-height: 52px; object-fit: contain; }

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.menu-link,
.dropdown-label {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  padding: 0 15px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.menu-link:hover,
.dropdown:hover > .dropdown-label,
.menu-link.active {
  color: #fff;
  background: rgba(255, 176, 0, .10);
}

.dropdown { position: relative; }
.dropdown-label::after {
  content: "⌄";
  margin-left: 8px;
  font-size: 15px;
  color: var(--gold-soft);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 248px;
  padding: 12px;
  border-top: 2px solid var(--gold);
  background: rgba(10, 10, 10, .96);
  box-shadow: 0 24px 55px rgba(0,0,0,.25);
  border-radius: 0 0 18px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dropdown-panel.wide { min-width: 330px; }

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 13px 14px;
  color: var(--gold);
  text-decoration: none;
  border-radius: 12px;
  line-height: 1.35;
}
.dropdown-panel a:hover {
  color: #fff;
  background: rgba(255, 176, 0, .12);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,176,0,.45);
  background: rgba(255,176,0,.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 10px 14px;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}
.menu-toggle b { margin-left: 4px; }

.page-hero {
  background:
    linear-gradient(135deg, rgba(0,0,0,.88), rgba(26, 18, 7, .82)),
    radial-gradient(circle at 20% 10%, rgba(255,176,0,.28), transparent 34rem);
  color: white;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 28px 58px;
}

.page-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}

.page-hero p:not(.page-kicker) {
  margin: 18px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,.74);
  font-size: 18px;
}

.content-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 28px 82px;
}

.original-content {
  background: rgba(255,250,240,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 58px);
}

.home-page .original-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.original-content h1,
.original-content h2,
.original-content h3,
.original-content h4 {
  margin: 1.6em 0 .65em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  font-weight: 500;
  color: var(--black);
}

.original-content h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  letter-spacing: -.04em;
}

.original-content h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -.035em;
}

.original-content h3 { font-size: clamp(24px, 2.8vw, 34px); }

.original-content p,
.original-content li,
.original-content div {
  font-size: 18px;
}

.original-content p { margin: 0 0 1.1em; }
.original-content strong,
.original-content b { color: #14110d; }
.original-content em { color: var(--muted); }

.original-content a {
  color: #a36c00;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.original-content img {
  display: block;
  margin: 26px auto;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(40,30,20,.14);
}

.original-content .elementor-section { margin: 0 0 28px; }
.original-content .elementor-container,
.original-content .elementor-column,
.original-content .elementor-widget-wrap,
.original-content .elementor-widget-container { max-width: 100%; }

.original-content .elementor-widget-container > p:last-child { margin-bottom: 0; }

.original-content .elementor-divider,
.original-content .elementor-divider-separator {
  display: block;
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.original-content .elementor-heading-title { margin-top: 0; }

/* Home page first block: original logo/text, modern presentation */
.home-page .original-content > .elementor > .elementor-section:first-child {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  padding: clamp(42px, 8vw, 110px) clamp(24px, 5vw, 72px);
  display: grid;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(0,0,0,.88), rgba(42, 29, 10, .76)),
    radial-gradient(circle at 50% 20%, rgba(255,176,0,.24), transparent 30rem);
  box-shadow: var(--shadow);
}

.home-page .original-content > .elementor > .elementor-section:first-child img {
  width: min(360px, 70vw);
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 34px;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-container,
.home-page .original-content > .elementor > .elementor-section:first-child .elementor-heading-title {
  color: #fff;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-text-editor {
  max-width: 780px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.84);
  font-size: 22px;
}

.home-page .original-content > .elementor > .elementor-section:first-child h1 {
  color: #fff;
  margin-top: 28px;
}

.home-page .original-content > .elementor > .elementor-section:not(:first-child) {
  background: rgba(255,250,240,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 58px);
  margin-top: 34px;
}

/* Convert the old home video-slider text into readable cards */
#lab_video_slider .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  transform: none !important;
}

#lab_video_slider .swiper-slide {
  width: auto !important;
  min-height: auto;
  position: relative !important;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaf0;
  box-shadow: 0 12px 34px rgba(40,30,20,.08);
}

#lab_video_slider .video-caption {
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination { display: none !important; }

.content-page .original-content > .elementor > .elementor-section:first-child { margin-top: 0; }

.original-content .elementor-gallery__container,
.original-content .gallery,
.original-content .elementor-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.original-content .elementor-gallery__container img,
.original-content .gallery img,
.original-content .elementor-image-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin: 0;
}

.original-content .elementor-widget-icon-box,
.original-content .elementor-widget-wrap > .elementor-element {
  margin-bottom: 18px;
}

.original-content .elementor-icon-box-wrapper {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(40,30,20,.06);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px 56px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong { display: block; color: var(--text); }
.site-footer a { color: #8f6100; font-weight: 700; }

@media (max-width: 1100px) {
  .nav-shell {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .menu-toggle { display: inline-flex; }

  .site-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #080808;
    border: 1px solid rgba(255,176,0,.22);
    border-radius: 22px;
    padding: 10px;
  }

  .site-menu.open { display: flex; }

  .menu-link,
  .dropdown-label {
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .dropdown-panel {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-top: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    margin: 0 0 8px 14px;
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .page-hero-inner,
  .content-shell,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand img { width: 132px; }

  .page-hero-inner {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .original-content p,
  .original-content li,
  .original-content div {
    font-size: 16.5px;
  }

  #lab_video_slider .swiper-wrapper { grid-template-columns: 1fr; }

  .original-content .elementor-gallery__container,
  .original-content .gallery,
  .original-content .elementor-image-gallery {
    grid-template-columns: 1fr;
  }

  .original-content .elementor-gallery__container img,
  .original-content .gallery img,
  .original-content .elementor-image-gallery img {
    height: auto;
  }

  .site-footer { flex-direction: column; }
}


/* ------------------------------------------------------------------
   Version 5 - full-screen readable intro
   Purpose:
   - make the original Nárada story the first-screen experience
   - prioritize readability
   - avoid decorative animations
------------------------------------------------------------------ */

.home-page .content-shell {
  padding-top: 42px;
}

/* Hide the old original slider to avoid duplicated story text.
   The story text is preserved in the new full-screen intro above. */
.home-page #lab_video_slider {
  display: none !important;
}

.fullscreen-story {
  position: relative;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 176, 0, .18), transparent 32rem),
    linear-gradient(135deg, #050505 0%, #15100b 52%, #302313 100%);
  color: #fffaf0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,176,0,.35);
}

.fullscreen-story-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(90deg, rgba(255,176,0,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,176,0,.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 75% 20%, #000 0%, transparent 68%);
}

.fullscreen-story-shell {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 32px 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(22px, 3vw, 36px);
}

.fullscreen-story-top {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
  gap: 34px;
  align-items: end;
}

.fullscreen-story-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 850;
}

.fullscreen-story h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 118px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 500;
}

.fullscreen-story-intro {
  margin: 0 0 8px;
  max-width: 560px;
  color: rgba(255,250,240,.72);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.fullscreen-story-stage {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
}

.fullscreen-story-step {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.fullscreen-story-step.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fullscreen-story-text {
  max-width: 1060px;
  margin: 0 auto;
}

.fullscreen-story-number {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 850;
}

.fullscreen-story-text h2 {
  margin: 0 0 14px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 86px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
}

.fullscreen-story-subtitle {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--gold-soft);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.45;
  max-width: 850px;
}

.fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
  margin: 0 0 16px;
  color: rgba(255,250,240,.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.45vw, 39px);
  line-height: 1.34;
  letter-spacing: -.018em;
}

.fullscreen-story-text p:last-child {
  margin-bottom: 0;
}

.fullscreen-story-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
}

.fullscreen-story-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fullscreen-story-tab {
  text-align: left;
  border: 1px solid rgba(255,176,0,.24);
  background: rgba(255,250,240,.06);
  color: rgba(255,250,240,.72);
  border-radius: 18px;
  padding: 14px 14px 13px;
  cursor: pointer;
  min-height: 76px;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.fullscreen-story-tab:hover,
.fullscreen-story-tab.active {
  border-color: rgba(255,176,0,.75);
  background: rgba(255,176,0,.12);
  color: #fffaf0;
}

.fullscreen-story-tab span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 850;
}

.fullscreen-story-tab strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.fullscreen-story-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.fullscreen-story-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #000;
  font-weight: 850;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
}

.fullscreen-story-btn.secondary {
  background: transparent;
  color: var(--gold);
}

.fullscreen-story-btn.quiet {
  background: rgba(255,250,240,.07);
  border-color: rgba(255,250,240,.22);
  color: rgba(255,250,240,.82);
}

/* Make the original first homepage content card less dominant, because the new intro is now primary. */
.home-page .original-content > .elementor > .elementor-section:first-child {
  min-height: auto;
  padding-top: 58px;
  padding-bottom: 58px;
}

@media (max-width: 980px) {
  .fullscreen-story-shell {
    min-height: calc(100vh - 76px);
    padding-left: 24px;
    padding-right: 24px;
  }

  .fullscreen-story-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fullscreen-story-controls {
    grid-template-columns: 1fr;
  }

  .fullscreen-story-buttons {
    justify-content: flex-start;
  }

  .fullscreen-story-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fullscreen-story-text {
    margin: 0;
  }
}

@media (max-width: 620px) {
  .fullscreen-story {
    min-height: calc(100vh - 74px);
  }

  .fullscreen-story-shell {
    min-height: calc(100vh - 74px);
    padding: 24px 18px 22px;
    gap: 20px;
  }

  .fullscreen-story h1 {
    font-size: clamp(44px, 14vw, 70px);
  }

  .fullscreen-story-text h2 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
    font-size: clamp(20px, 6vw, 27px);
    line-height: 1.38;
  }

  .fullscreen-story-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .fullscreen-story-tab {
    min-height: 64px;
    padding: 11px 12px;
  }

  .fullscreen-story-tab strong {
    font-size: 14px;
  }

  .fullscreen-story-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fullscreen-story-btn {
    width: 100%;
  }
}

@media (max-height: 720px) and (min-width: 900px) {
  .fullscreen-story h1 {
    font-size: clamp(46px, 5vw, 76px);
  }

  .fullscreen-story-text h2 {
    font-size: clamp(36px, 4.2vw, 60px);
  }

  .fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.3;
  }

  .fullscreen-story-subtitle {
    margin-bottom: 18px;
  }
}


/* ------------------------------------------------------------------
   Version 6 adjustment:
   Remove the large intro heading area and start directly with story text.
------------------------------------------------------------------ */

.fullscreen-story-shell {
  grid-template-rows: 1fr auto;
  padding-top: clamp(30px, 5vw, 70px);
}

.fullscreen-story-stage {
  align-items: center;
}

.fullscreen-story-text {
  max-width: 1120px;
}

.fullscreen-story-number {
  margin-bottom: 18px;
}

.fullscreen-story-text h2 {
  margin-bottom: 18px;
}

.fullscreen-story-subtitle {
  max-width: 920px;
}

@media (max-width: 620px) {
  .fullscreen-story-shell {
    padding-top: 28px;
  }
}


/* ------------------------------------------------------------------
   Version 7 adjustment:
   Remove step captions. Use the screen space for the story itself.
------------------------------------------------------------------ */

.fullscreen-story-shell {
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: 24px;
}

.fullscreen-story-text {
  max-width: 1160px;
}

.fullscreen-story-number {
  margin-bottom: clamp(18px, 3vw, 34px);
  font-size: 15px;
}

.fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
  font-size: clamp(27px, 3vw, 48px);
  line-height: 1.34;
  max-width: 1120px;
}

.fullscreen-story-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fullscreen-story-tab {
  min-height: 58px;
  padding: 10px 13px;
}

.fullscreen-story-tab strong {
  display: none;
}

.fullscreen-story-tab span {
  margin-bottom: 0;
  font-size: 13px;
}

@media (max-width: 620px) {
  .fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
    font-size: clamp(22px, 7vw, 31px);
    line-height: 1.38;
  }

  .fullscreen-story-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fullscreen-story-tab {
    min-height: 46px;
    text-align: center;
  }
}


/* ------------------------------------------------------------------
   Version 8 adjustment:
   Remove empty 01/02/03/04 navigation tiles.
------------------------------------------------------------------ */

.fullscreen-story-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fullscreen-story-buttons {
  width: auto;
  justify-content: flex-end;
}

.fullscreen-story-btn {
  min-height: 48px;
  padding-left: 22px;
  padding-right: 22px;
}

@media (max-width: 620px) {
  .fullscreen-story-controls {
    justify-content: stretch;
  }

  .fullscreen-story-buttons {
    width: 100%;
  }
}


/* ------------------------------------------------------------------
   Version 9 adjustment:
   Minimal bottom navigation with arrows + 4 dots.
------------------------------------------------------------------ */

.fullscreen-story-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-story-minimal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}

.story-arrow {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,176,0,.36);
  background: rgba(255,255,255,.05);
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, color .18s ease;
}

.story-arrow:hover {
  border-color: rgba(255,176,0,.78);
  background: rgba(255,176,0,.10);
  color: #fff7df;
  transform: translateY(-1px);
}

.story-dots-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 120px;
}

.story-dot-nav {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,250,240,.58);
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.story-dot-nav:hover {
  border-color: var(--gold);
  transform: scale(1.08);
}

.story-dot-nav.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,176,0,.13);
  transform: scale(1.14);
}

@media (max-width: 620px) {
  .fullscreen-story-minimal-nav {
    gap: 14px;
  }

  .story-arrow {
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .story-dots-nav {
    gap: 10px;
  }

  .story-dot-nav {
    width: 11px;
    height: 11px;
  }
}


/* ------------------------------------------------------------------
   Version 10 adjustment:
   Side arrows like a real slideshow. Dots stay centered below text.
------------------------------------------------------------------ */

.fullscreen-story {
  position: relative;
}

.fullscreen-story-stage {
  padding-left: clamp(48px, 7vw, 120px);
  padding-right: clamp(48px, 7vw, 120px);
}

.story-side-arrow {
  position: absolute;
  z-index: 8;
  top: 54%;
  transform: translateY(-50%);
  width: clamp(54px, 5vw, 82px);
  height: clamp(86px, 13vw, 170px);
  border: 0;
  background: transparent;
  color: rgba(255, 176, 0, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 10vw, 170px);
  line-height: .7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
  opacity: .8;
}

.story-side-arrow-left {
  left: clamp(18px, 4vw, 76px);
}

.story-side-arrow-right {
  right: clamp(18px, 4vw, 76px);
}

.story-side-arrow:hover,
.story-side-arrow:focus-visible {
  color: #fff3c8;
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.fullscreen-story-minimal-nav {
  gap: 0;
}

.story-dots-nav {
  min-width: auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 240, .055);
  border: 1px solid rgba(255, 250, 240, .12);
  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .fullscreen-story-stage {
    padding-left: 0;
    padding-right: 0;
  }

  .story-side-arrow {
    top: auto;
    bottom: 72px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,176,0,.28);
    border-radius: 999px;
    background: rgba(255,250,240,.05);
    font-size: 44px;
    line-height: 1;
  }

  .story-side-arrow-left {
    left: 20px;
  }

  .story-side-arrow-right {
    right: 20px;
  }

  .story-dots-nav {
    margin-bottom: 4px;
  }
}

@media (max-width: 620px) {
  .story-side-arrow {
    bottom: 76px;
    width: 42px;
    height: 42px;
    font-size: 38px;
  }

  .story-side-arrow-left {
    left: 14px;
  }

  .story-side-arrow-right {
    right: 14px;
  }

  .story-dots-nav {
    padding: 10px 14px;
  }
}


/* ------------------------------------------------------------------
   Version 11 adjustment:
   Cleaner dots navigation without oval / pill background.
------------------------------------------------------------------ */

.fullscreen-story-minimal-nav {
  width: 100%;
  justify-content: center;
}

.story-dots-nav {
  min-width: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
  gap: 14px;
}

.story-dot-nav {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 250, 240, .72);
  background: transparent;
}

.story-dot-nav.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,176,0,.10);
  transform: scale(1.1);
}

.story-dot-nav:hover {
  border-color: #fff3c8;
}

@media (max-width: 620px) {
  .story-dots-nav {
    gap: 12px;
  }

  .story-dot-nav {
    width: 10px;
    height: 10px;
  }
}


/* ------------------------------------------------------------------
   Version 12 adjustment:
   Intro is an opening overlay.
   Header + homepage content + footer remain hidden until intro closes.
------------------------------------------------------------------ */

/* Prevent background page interaction while intro is open */
body.home-page.intro-open {
  overflow: hidden;
}

/* Hide menu, main homepage content, and footer until intro is completed or closed */
body.home-page.intro-open > .site-header,
body.home-page.intro-open > main > .content-shell,
body.home-page.intro-open > .site-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Intro behaves like a real overlay on homepage */
.home-page .fullscreen-story {
  position: fixed;
  inset: 0;
  z-index: 300;
  min-height: 100vh;
  border-bottom: 0;
}

/* Close button */
.story-close {
  position: absolute;
  z-index: 12;
  top: 26px;
  right: 30px;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: rgba(255, 176, 0, .9);
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
  opacity: .92;
}

.story-close:hover,
.story-close:focus-visible {
  color: #fff4cf;
  transform: scale(1.04);
  outline: none;
}

/* When intro is closed, the overlay disappears */
body.home-page.intro-closed .fullscreen-story {
  display: none;
}

/* And the rest of the page becomes available */
body.home-page.intro-closed > .site-header,
body.home-page.intro-closed > main > .content-shell,
body.home-page.intro-closed > .site-footer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Smooth reveal for underlying content after intro closes */
.home-page > .site-header,
.home-page > main > .content-shell,
.home-page > .site-footer {
  transition: opacity .28s ease, visibility .28s ease;
}

@media (max-width: 900px) {
  .story-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 42px;
  }
}

@media (max-width: 620px) {
  .story-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 38px;
  }
}


/* ------------------------------------------------------------------
   Version 13 fixes:
   1) Hide left arrow on first slide.
   2) Make long intro text scrollable.
   3) Ensure four dots are visible in overlay mode.
------------------------------------------------------------------ */

/* The overlay must use the full viewport, including when the menu is hidden. */
.home-page .fullscreen-story {
  height: 100vh;
  min-height: 100vh;
}

/* Use a real 2-row layout: text area + dots area. */
.home-page .fullscreen-story-shell {
  height: 100vh;
  min-height: 100vh;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-top: clamp(26px, 5vw, 64px);
  padding-bottom: clamp(20px, 3vw, 34px);
}

/* The text area gets all remaining height and can scroll. */
.home-page .fullscreen-story-stage {
  min-height: 0;
  overflow: hidden;
  align-items: center;
}

/* Each active step can scroll vertically when the text is longer than the viewport. */
.home-page .fullscreen-story-step {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,176,0,.55) rgba(255,255,255,.08);
  padding-right: clamp(8px, 1.5vw, 18px);
}

/* Better readable scrolling on Chromium/Edge. */
.home-page .fullscreen-story-step::-webkit-scrollbar {
  width: 8px;
}

.home-page .fullscreen-story-step::-webkit-scrollbar-track {
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}

.home-page .fullscreen-story-step::-webkit-scrollbar-thumb {
  background: rgba(255,176,0,.55);
  border-radius: 999px;
}

.home-page .fullscreen-story-step::-webkit-scrollbar-thumb:hover {
  background: rgba(255,176,0,.8);
}

/* Keep dots visible and centered under the text. */
.fullscreen-story-controls {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 34px;
  padding-top: 12px;
}

.fullscreen-story-minimal-nav {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.story-dots-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: auto;
  padding: 0;
  margin: 0 auto;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.story-dot-nav {
  display: inline-block !important;
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,250,240,.72);
  background: transparent;
  cursor: pointer;
}

.story-dot-nav.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,176,0,.10);
}

/* Hide left arrow only on the first slide. JS toggles this class. */
.story-side-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* When the text scrolls, keep the left/right arrows vertically available. */
.story-side-arrow {
  z-index: 20;
}

/* On small screens keep the dots and arrows visible at the bottom. */
@media (max-width: 900px) {
  .home-page .fullscreen-story-shell {
    padding-bottom: 96px;
  }

  .fullscreen-story-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    z-index: 18;
    padding-top: 0;
  }

  .home-page .fullscreen-story-stage {
    padding-bottom: 12px;
  }
}

@media (max-width: 620px) {
  .home-page .fullscreen-story-shell {
    padding-bottom: 90px;
  }

  .fullscreen-story-controls {
    bottom: 28px;
  }

  .story-dots-nav {
    gap: 12px;
  }

  .story-dot-nav {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
  }
}


/* ------------------------------------------------------------------
   Version 14:
   Remove footer visually and add bottom intro reopen button.
------------------------------------------------------------------ */

.site-footer {
  display: none !important;
}

.intro-reopen-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 70px;
  display: flex;
  justify-content: center;
}

.intro-reopen-button {
  border: 1px solid rgba(143, 97, 0, .24);
  background:
    linear-gradient(180deg, rgba(255,250,240,.92), rgba(245,234,216,.88));
  color: var(--text);
  border-radius: 999px;
  padding: 15px 24px 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 14px 42px rgba(46,35,19,.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  font: inherit;
}

.intro-reopen-button:hover,
.intro-reopen-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,176,0,.78);
  box-shadow: 0 18px 50px rgba(46,35,19,.13);
  outline: none;
}

.intro-reopen-button span {
  font-weight: 800;
  color: #4a3515;
}

.intro-reopen-button small {
  color: #8f6100;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Keep reopen section hidden while intro overlay is open */
body.home-page.intro-open .intro-reopen-section {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 760px) {
  .intro-reopen-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-reopen-button {
    width: 100%;
    justify-content: center;
    border-radius: 22px;
    flex-direction: column;
    gap: 4px;
  }
}


/* ------------------------------------------------------------------
   Version 15:
   Replace bottom reopen button with the real intro story directly.
------------------------------------------------------------------ */

.intro-reopen-section {
  display: none !important;
}

.bottom-story-section {
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 176, 0, .16), transparent 34rem),
    linear-gradient(135deg, #050505 0%, #15100b 52%, #302313 100%);
  color: #fffaf0;
  border-top: 1px solid rgba(255,176,0,.35);
  overflow: hidden;
}

.bottom-story-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  min-height: min(82vh, 840px);
  padding: clamp(46px, 6vw, 82px) 32px clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px;
}

.bottom-story-stage {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
  padding-left: clamp(48px, 7vw, 120px);
  padding-right: clamp(48px, 7vw, 120px);
}

.bottom-story-step {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,176,0,.55) rgba(255,255,255,.08);
  padding-right: clamp(8px, 1.5vw, 18px);
}

.bottom-story-step.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bottom-story-step::-webkit-scrollbar {
  width: 8px;
}

.bottom-story-step::-webkit-scrollbar-track {
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}

.bottom-story-step::-webkit-scrollbar-thumb {
  background: rgba(255,176,0,.55);
  border-radius: 999px;
}

.bottom-story-number {
  margin: 0 0 clamp(18px, 3vw, 34px);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 850;
}

.bottom-story-step p:not(.bottom-story-number) {
  margin: 0 0 16px;
  color: rgba(255,250,240,.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 48px);
  line-height: 1.34;
  letter-spacing: -.018em;
  max-width: 1120px;
}

.bottom-story-arrow {
  position: absolute;
  z-index: 5;
  top: 52%;
  transform: translateY(-50%);
  width: clamp(54px, 5vw, 82px);
  height: clamp(86px, 13vw, 170px);
  border: 0;
  background: transparent;
  color: rgba(255, 176, 0, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 10vw, 170px);
  line-height: .7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
  opacity: .8;
}

.bottom-story-arrow-left {
  left: clamp(18px, 4vw, 76px);
}

.bottom-story-arrow-right {
  right: clamp(18px, 4vw, 76px);
}

.bottom-story-arrow:hover,
.bottom-story-arrow:focus-visible {
  color: #fff3c8;
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.bottom-story-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bottom-story-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.bottom-story-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,250,240,.72);
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bottom-story-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,176,0,.10);
  transform: scale(1.1);
}

.bottom-story-dot:hover {
  border-color: #fff3c8;
}

/* Hide bottom story while the intro overlay is open, so there is only one intro at a time. */
body.home-page.intro-open .bottom-story-section {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .bottom-story-inner {
    min-height: 78vh;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 96px;
  }

  .bottom-story-stage {
    padding-left: 0;
    padding-right: 0;
  }

  .bottom-story-arrow {
    top: auto;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,176,0,.28);
    border-radius: 999px;
    background: rgba(255,250,240,.05);
    font-size: 44px;
    line-height: 1;
  }

  .bottom-story-arrow-left {
    left: 20px;
  }

  .bottom-story-arrow-right {
    right: 20px;
  }

  .bottom-story-dots {
    position: absolute;
    left: 50%;
    bottom: 45px;
    transform: translateX(-50%);
  }
}

@media (max-width: 620px) {
  .bottom-story-inner {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 90px;
  }

  .bottom-story-step p:not(.bottom-story-number) {
    font-size: clamp(22px, 7vw, 31px);
    line-height: 1.38;
  }

  .bottom-story-arrow {
    bottom: 28px;
    width: 42px;
    height: 42px;
    font-size: 38px;
  }

  .bottom-story-arrow-left {
    left: 14px;
  }

  .bottom-story-arrow-right {
    right: 14px;
  }

  .bottom-story-dots {
    bottom: 42px;
    gap: 12px;
  }

  .bottom-story-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
  }
}


/* ------------------------------------------------------------------
   Version 16:
   Make the main homepage hero more readable and centered,
   closer to the original layout.
------------------------------------------------------------------ */

.home-page .original-content > .elementor > .elementor-section:first-child {
  min-height: auto;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(44px, 6vw, 80px);
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-container {
  justify-content: center;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-column,
.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-wrap {
  width: 100%;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-wrap {
  align-items: center;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget {
  width: 100%;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-container {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-image .elementor-widget-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-image img {
  display: block;
  margin: 0 auto;
  max-width: min(300px, 78vw);
  height: auto;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
  max-width: 980px;
  margin: 0 auto 20px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #2c2113;
  text-align: center !important;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  max-width: 900px;
  margin: 0 auto 26px;
  font-size: clamp(18px, 1.8vw, 30px);
  line-height: 1.45;
  color: #5a4526;
  text-align: center !important;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-divider {
  display: flex;
  justify-content: center;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-divider-separator {
  width: 64px;
}

.home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-453e782 .elementor-heading-title {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center !important;
  font-size: clamp(42px, 5.7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

@media (max-width: 760px) {
  .home-page .original-content > .elementor > .elementor-section:first-child {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-image .elementor-widget-container {
    margin-bottom: 18px;
  }

  .home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    font-size: clamp(17px, 4.8vw, 24px);
    margin-bottom: 18px;
  }

  .home-page .original-content > .elementor > .elementor-section:first-child .elementor-element-453e782 .elementor-heading-title {
    font-size: clamp(34px, 9vw, 52px);
  }
}


/* ------------------------------------------------------------------
   Version 18:
   Corrected homepage hero under the intro.
   - intro opens immediately
   - quote block is centered and larger
   - main heading is smaller
------------------------------------------------------------------ */

/* Keep intro open on first load */
body.home-page.intro-open .fullscreen-story {
  display: block !important;
}

/* Main homepage hero section */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
  min-height: auto !important;
  padding-top: clamp(56px, 7vw, 96px) !important;
  padding-bottom: clamp(44px, 6vw, 76px) !important;
}

/* Center the whole first hero column */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-container,
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-column,
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-widget-wrap {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Center logo */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 .elementor-widget-container {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 img {
  display: block !important;
  margin: 0 auto !important;
  max-width: min(320px, 78vw) !important;
  height: auto !important;
}

/* Main quote */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
  max-width: 980px !important;
  margin: 0 auto 20px !important;
  text-align: center !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.26 !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  color: #2b2115 !important;
}

/* Make "Buddha" visually nicer on the next line */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 br {
  display: block !important;
  content: "" !important;
  margin-bottom: 8px !important;
}

/* Secondary quote */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  max-width: 980px !important;
  margin: 0 auto 26px !important;
  text-align: center !important;
  font-size: clamp(22px, 2.1vw, 32px) !important;
  line-height: 1.42 !important;
  color: #5a4527 !important;
}

/* Divider centered */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-92570e2 .elementor-widget-container,
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider {
  display: flex !important;
  justify-content: center !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider-separator {
  width: 68px !important;
}

/* Main heading smaller */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-453e782 .elementor-widget-container {
  text-align: center !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-453e782 .elementor-heading-title {
  max-width: 1100px !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: clamp(30px, 4vw, 56px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
}

/* Mobile adjustments */
@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
    padding-top: 42px !important;
    padding-bottom: 38px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 .elementor-widget-container {
    margin-bottom: 22px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
    font-size: clamp(24px, 6.8vw, 34px) !important;
    line-height: 1.24 !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    font-size: clamp(18px, 4.9vw, 24px) !important;
    margin-bottom: 22px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-453e782 .elementor-heading-title {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
}


/* ------------------------------------------------------------------
   Version 19:
   Buddha shown like a signature and moved to the right
------------------------------------------------------------------ */

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
  display: block !important;
  width: fit-content;
  margin: 14px clamp(30px, 7vw, 120px) 0 auto !important;
  text-align: right !important;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive !important;
  font-size: clamp(32px, 3.2vw, 54px) !important;
  line-height: 1 !important;
  color: #4d3a22 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  transform: rotate(-2deg);
  opacity: .96;
}

@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
    margin-top: 10px !important;
    margin-right: clamp(10px, 3vw, 24px) !important;
    font-size: clamp(28px, 7vw, 40px) !important;
  }
}


/* ------------------------------------------------------------------
   Version 20:
   - remove divider line in the homepage quote section
   - refine Buddha signature with a more zen/calligraphic font stack
------------------------------------------------------------------ */

/* Remove the line/divider between the quotes and the main heading */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-92570e2,
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider {
  display: none !important;
}

/* Add a little spacing where the divider used to be */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  margin-bottom: 34px !important;
}

/* Refine the Buddha signature */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
  display: block !important;
  width: fit-content;
  margin: 16px clamp(30px, 7vw, 120px) 0 auto !important;
  text-align: right !important;
  font-family:
    "Segoe Script",
    "Lucida Handwriting",
    "Brush Script MT",
    "Apple Chancery",
    "Snell Roundhand",
    "URW Chancery L",
    "KaiTi",
    "STKaiti",
    cursive !important;
  font-size: clamp(30px, 3vw, 48px) !important;
  line-height: 1 !important;
  color: #5b4320 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  font-style: italic !important;
  transform: rotate(-2deg);
  opacity: .96;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    margin-bottom: 28px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
    margin-top: 10px !important;
    margin-right: clamp(10px, 3vw, 24px) !important;
    font-size: clamp(26px, 6.6vw, 38px) !important;
  }
}


/* ------------------------------------------------------------------
   Version 21:
   Restore one subtle centered divider line in the homepage hero section
------------------------------------------------------------------ */

/* Show the divider again, but only as one short subtle centered line */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-92570e2 {
  display: block !important;
  margin-bottom: 18px !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-92570e2 .elementor-widget-container,
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider {
  display: flex !important;
  justify-content: center !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider-separator {
  display: block !important;
  width: 68px !important;
  margin: 0 auto !important;
  border-top-width: 1px !important;
  border-color: rgba(120, 96, 54, 0.28) !important;
}

/* Tighten spacing now that the line is back */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  margin-bottom: 24px !important;
}

@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-92570e2 {
    margin-bottom: 16px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-divider-separator {
    width: 56px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    margin-bottom: 20px !important;
  }
}


/* ------------------------------------------------------------------
   Version 22:
   Remove the decorative grid from the fullscreen intro
------------------------------------------------------------------ */

.fullscreen-story-bg {
  display: none !important;
}


/* ------------------------------------------------------------------
   Version 23:
   Removed page title/caption hero blocks from all pages.
   Add clean top spacing below the menu.
------------------------------------------------------------------ */

.content-page .content-shell {
  padding-top: clamp(34px, 5vw, 64px);
}

/* Homepage keeps its own spacing because it has the intro + homepage hero. */
.home-page .content-shell {
  padding-top: 42px;
}


/* ------------------------------------------------------------------
   Version 24:
   Added local 4 vznešené pravdy page.
------------------------------------------------------------------ */

.original-content .wp-block-image,
.original-content figure {
  margin-left: auto;
  margin-right: auto;
}

.original-content blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 176, 0, .08);
  border-radius: 0 18px 18px 0;
  color: var(--text);
}


/* ------------------------------------------------------------------
   Version 26:
   Kai kyó ge page - keep modern formatting, only make content side by side
------------------------------------------------------------------ */

/* Keep the normal modern page/card style from v24.
   Only improve layout inside the content. */
.kai-side-by-side-page .content-shell {
  max-width: 1280px;
}

/* Center the first title block, but keep it inside the existing modern card */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:first-child {
  text-align: center !important;
  margin-bottom: clamp(36px, 5vw, 64px) !important;
}

.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-widget-container,
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-heading-title {
  text-align: center !important;
}

.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-heading-title {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* The main two text blocks side by side */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 56px) !important;
  align-items: stretch !important;
}

/* Elementor may keep old width classes; force equal columns */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column {
  width: 100% !important;
}

/* Keep a nice modern panel for the left romanized text */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:first-child .elementor-widget-wrap {
  background: rgba(255, 250, 240, .72) !important;
  border: 1px solid rgba(75, 58, 35, .12) !important;
  border-radius: 24px !important;
  padding: clamp(28px, 4vw, 48px) !important;
  box-shadow: 0 14px 42px rgba(46, 35, 19, .08) !important;
  height: 100% !important;
}

/* Right translation block aligned nicely */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:nth-child(2) .elementor-widget-wrap {
  padding: clamp(18px, 3vw, 38px) 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Make headings in the two side-by-side blocks balanced */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-heading-title {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* Ensure paragraph text remains readable */
.kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) p {
  max-width: 100% !important;
}

/* Mobile: stack cleanly */
@media (max-width: 860px) {
  .kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .kai-side-by-side-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:nth-child(2) .elementor-widget-wrap {
    padding-top: 0 !important;
  }
}


/* ------------------------------------------------------------------
   Version 34
   Reverted to v26 base.
   "Buddha" on homepage quote centered with normal font.
------------------------------------------------------------------ */

/* Generic author line styling */
.quote-author,
.hero-quote-author,
.intro-quote-author {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 12px auto 18px auto !important;
  font-style: normal !important;
  font-family: inherit !important;
  letter-spacing: normal !important;
}

/* Common fallback for the author line in the homepage quote block */
.home-hero p + p,
.hero-quote p + p,
.intro-quote p + p {
  text-align: center !important;
  font-style: normal !important;
}


/* ------------------------------------------------------------------
   Version 35
   Buddha under the homepage quote:
   - same font as quote
   - centered
------------------------------------------------------------------ */

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature,
.quote-signature {
  display: block !important;
  width: 100% !important;
  margin: 14px auto 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;

  font-family: inherit !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: normal !important;

  color: inherit !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Keep quote container centered */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
  text-align: center !important;
}


/* ------------------------------------------------------------------
   v35 naming update
   - remove visible intro page numbers
   - hide visible scrollbars, keep scrolling functional
------------------------------------------------------------------ */

/* Remove page numbers in fullscreen intro and reopened story */
.fullscreen-story-number,
.bottom-story-number,
.story-slide-number,
.story-step-number {
  display: none !important;
}

/* Hide visible scrollbar on fullscreen intro text, but keep scroll */
.fullscreen-story-text {
  overflow-y: auto !important;
  scrollbar-width: none !important;     /* Firefox */
  -ms-overflow-style: none !important;  /* IE / old Edge */
}

.fullscreen-story-text::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Hide visible scrollbar on reopened/bottom story content too */
.bottom-story-step,
.bottom-story-content,
.bottom-story-text {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.bottom-story-step::-webkit-scrollbar,
.bottom-story-content::-webkit-scrollbar,
.bottom-story-text::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* If there is any custom scrollbar/thumb element, hide it */
.story-scrollbar,
.story-scroll-track,
.story-scroll-thumb,
.fullscreen-story-scrollbar,
.fullscreen-story-scroll-track,
.fullscreen-story-scroll-thumb,
.bottom-story-scrollbar,
.bottom-story-scroll-track,
.bottom-story-scroll-thumb {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* ------------------------------------------------------------------
   Shin Jin v37
   Bottom copyright:
   - small and subtle
   - shown only near bottom of page
   - current year filled by JS
------------------------------------------------------------------ */

.sj-bottom-copyright {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;

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

  max-width: min(92vw, 420px);
  padding: 7px 12px;
  border-radius: 999px;

  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;

  color: rgba(255, 248, 232, 0.92);
  background: rgba(18, 14, 10, 0.72);
  border: 1px solid rgba(226, 174, 53, 0.26);
  box-shadow: 0 8px 28px rgba(0,0,0,0.24);
  backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.sj-bottom-copyright.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sj-bottom-copyright a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 640px) {
  .sj-bottom-copyright {
    bottom: 10px;
    font-size: 10px;
    padding: 6px 10px;
    max-width: 94vw;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v38
   Footer spacing fix between year and brand name
------------------------------------------------------------------ */
.sj-bottom-copyright .sj-brand-name {
  margin-left: 0.2em;
}


/* ------------------------------------------------------------------
   Shin Jin v41
   Makahannya haramitsu page:
   original-like positioning, current Shin Jin colors and fonts.
------------------------------------------------------------------ */

body.makahannya-page {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 0, .10), transparent 34rem),
    linear-gradient(180deg, #fff7ea 0%, #f0e5d3 100%) !important;
}

/* Remove the generic article/card wrapper only for this long text page */
.makahannya-page .content-shell {
  max-width: 1280px;
  padding: clamp(54px, 6vw, 84px) 28px 110px;
}

.makahannya-page .original-content {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Base typography: keep current site font, but closer to original spacing */
.makahannya-page .original-content p,
.makahannya-page .original-content li,
.makahannya-page .original-content div {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.78;
  color: #5f6670;
}

.makahannya-page .original-content p {
  margin: 0 0 1.35em;
}

.makahannya-page .original-content strong,
.makahannya-page .original-content b {
  color: #40464d;
  font-weight: 800;
}

.makahannya-page .original-content em {
  color: #65707a;
}

.makahannya-page .original-content a {
  color: #007798;
  text-decoration: none;
  font-weight: 800;
}

/* Elementor reset on this page */
.makahannya-page .original-content .elementor-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 clamp(64px, 7vw, 96px) !important;
}

.makahannya-page .original-content .elementor-container {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.makahannya-page .original-content .elementor-widget-wrap,
.makahannya-page .original-content .elementor-widget-container {
  max-width: 100% !important;
}

/* ------------------------------------------------------------------
   Top title - original-like centered large heading
------------------------------------------------------------------ */

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(1) {
  margin-bottom: clamp(64px, 8vw, 96px) !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(1) .elementor-container {
  max-width: 1120px !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(1) .elementor-heading-title {
  margin: 0 auto !important;
  text-align: center !important;
  color: #050505 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-weight: 850 !important;
  font-size: clamp(42px, 5vw, 64px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.045em !important;
}

/* ------------------------------------------------------------------
   Section 2:
   original positioning = left introductory italic column,
   right explanation visually split into two columns.
------------------------------------------------------------------ */

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 2.1fr) !important;
  gap: clamp(44px, 6vw, 78px) !important;
  align-items: start !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column {
  width: 100% !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:first-child .elementor-widget-container p {
  font-size: clamp(18px, 1.65vw, 22px) !important;
  line-height: 1.72 !important;
  font-style: italic !important;
  color: #68625a !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:nth-child(2) .elementor-widget-container {
  column-count: 2;
  column-gap: clamp(34px, 4vw, 58px);
}

/* Avoid paragraph breaks looking awkward in multi-column text */
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:nth-child(2) p {
  break-inside: avoid;
}

/* ------------------------------------------------------------------
   General two-column blocks - original-like side-by-side layout
------------------------------------------------------------------ */

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(n+3):not(:nth-child(6)):not(:nth-child(11)):not(:nth-child(13)) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(52px, 6vw, 80px) !important;
  align-items: start !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(n+3):not(:nth-child(6)):not(:nth-child(11)):not(:nth-child(13)) .elementor-column {
  width: 100% !important;
}

/* Light paper blocks like in original */
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(3) .elementor-column:first-child .elementor-widget-wrap,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(4) .elementor-column:nth-child(2) .elementor-widget-wrap,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(7) .elementor-column:first-child .elementor-widget-wrap,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(8) .elementor-column:nth-child(2) .elementor-widget-wrap,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(9) .elementor-column:first-child .elementor-widget-wrap {
  background: rgba(255, 250, 240, .74) !important;
  border: 1px solid rgba(75, 58, 35, .08) !important;
  padding: clamp(34px, 4vw, 58px) !important;
  min-height: 430px !important;
}

/* Explanation / note columns - teal/blue original-like notes */
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(3) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(4) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(7) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(8) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(9) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(11) .elementor-widget-container {
  color: #007798 !important;
  font-style: italic !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(3) .elementor-column:nth-child(2) p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(4) .elementor-column:nth-child(2) p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(7) .elementor-column:nth-child(2) p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(8) .elementor-column:nth-child(2) p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(9) .elementor-column:nth-child(2) p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(11) p {
  color: #007798 !important;
  font-style: italic !important;
  font-weight: 550;
}

/* Section 5 and 10 look like original 3-column explanations:
   left column + second column split into two columns. */
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(5) .elementor-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(10) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr) !important;
  gap: clamp(48px, 6vw, 74px) !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(5) .elementor-column:nth-child(2) .elementor-widget-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(10) .elementor-column:nth-child(2) .elementor-widget-container {
  column-count: 2;
  column-gap: clamp(34px, 4vw, 58px);
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(5) .elementor-column:first-child p,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(10) .elementor-column:first-child p {
  font-size: clamp(18px, 1.6vw, 22px) !important;
  line-height: 1.72 !important;
  font-style: italic !important;
  color: #68625a !important;
}

/* ------------------------------------------------------------------
   CTA blocks - keep original placement, with current warm style
------------------------------------------------------------------ */

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(6),
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(13) {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  padding: clamp(60px, 6vw, 82px) 28px !important;
  background: rgba(245, 234, 216, .72) !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(6) .elementor-container,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(13) .elementor-container {
  max-width: 900px !important;
  display: block !important;
  text-align: center !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(6) .elementor-heading-title,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(13) .elementor-heading-title {
  color: #050505 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-weight: 850 !important;
  letter-spacing: -0.04em !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  text-transform: none !important;
  margin: 0 0 8px !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(6) a,
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(13) a,
.makahannya-page .original-content .elementor-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: #050505 !important;
  font-weight: 850 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(255,176,0,.18) !important;
}

/* ------------------------------------------------------------------
   Full-width note block near the end
------------------------------------------------------------------ */

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(11) .elementor-container {
  max-width: 1040px !important;
  display: block !important;
}

.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(11) .elementor-widget-wrap {
  background: rgba(255, 250, 240, .74) !important;
  border: 1px solid rgba(75, 58, 35, .08) !important;
  padding: clamp(38px, 5vw, 64px) !important;
}

/* Final note section positioning */
.makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(12) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr) !important;
  gap: clamp(48px, 6vw, 74px) !important;
}

/* Images / emojis should not get modern image card styling on this text page */
.makahannya-page .original-content img {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

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

@media (max-width: 900px) {
  .makahannya-page .content-shell {
    padding-top: 42px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(n+3):not(:nth-child(6)):not(:nth-child(11)):not(:nth-child(13)) .elementor-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(5) .elementor-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(10) .elementor-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(12) .elementor-container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(2) .elementor-column:nth-child(2) .elementor-widget-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(5) .elementor-column:nth-child(2) .elementor-widget-container,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(10) .elementor-column:nth-child(2) .elementor-widget-container {
    column-count: 1;
  }

  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(3) .elementor-column:first-child .elementor-widget-wrap,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(4) .elementor-column:nth-child(2) .elementor-widget-wrap,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(7) .elementor-column:first-child .elementor-widget-wrap,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(8) .elementor-column:nth-child(2) .elementor-widget-wrap,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(9) .elementor-column:first-child .elementor-widget-wrap,
  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(11) .elementor-widget-wrap {
    min-height: auto !important;
    padding: 28px !important;
  }

  .makahannya-page .original-content > .entry-content > .elementor > .elementor-section:nth-child(1) .elementor-heading-title {
    font-size: clamp(34px, 8vw, 48px) !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v43
   Safe rebuild from v41.
   Hide homepage heading "MEDITAČNÉ CENTRUM SHIN JIN" by CSS only.
------------------------------------------------------------------ */

.home-page .elementor-element-453e782,
.home-page .elementor-element-453e782 .elementor-heading-title {
  display: none !important;
}


/* ------------------------------------------------------------------
   Shin Jin v44
   Remove the small divider line under the homepage quote section.
------------------------------------------------------------------ */

.home-page .elementor-element-92570e2,
.home-page .elementor-element-92570e2 .elementor-divider,
.home-page .elementor-element-92570e2 .elementor-divider-separator {
  display: none !important;
}


/* ------------------------------------------------------------------
   Shin Jin v45
   Remove remaining homepage hero divider line completely.
------------------------------------------------------------------ */

/* Hide any divider widget inside the first homepage Elementor section */
.home-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-widget-divider,
.home-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-divider,
.home-page .original-content > .entry-content > .elementor > .elementor-section:first-child .elementor-divider-separator,
.home-page .original-content > .elementor > .elementor-section:first-child .elementor-widget-divider,
.home-page .original-content > .elementor > .elementor-section:first-child .elementor-divider,
.home-page .original-content > .elementor > .elementor-section:first-child .elementor-divider-separator {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Hide the known divider widget class as an additional safety net */
.home-page .elementor-widget-divider,
.home-page .elementor-divider,
.home-page .elementor-divider-separator {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* ------------------------------------------------------------------
   Shin Jin v46
   Homepage hero:
   - larger Shin Jin logo
   - smaller, calmer quote text
------------------------------------------------------------------ */

/* Give the opening hero a calmer vertical composition */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
  padding-top: clamp(58px, 8vw, 116px) !important;
  padding-bottom: clamp(72px, 9vw, 140px) !important;
}

/* Make the logo the main visual focus */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 .elementor-widget-container {
  margin-bottom: clamp(32px, 4.5vw, 58px) !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 img {
  width: min(52vw, 620px) !important;
  max-width: min(52vw, 620px) !important;
  height: auto !important;
}

/* Main quote smaller than before, still readable */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
  max-width: 980px !important;
  margin: 0 auto 22px !important;
  font-size: clamp(28px, 3.1vw, 42px) !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

/* Buddha centered, normal font, slightly smaller than the main quote */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
  display: block !important;
  width: 100% !important;
  margin: 18px auto 0 !important;
  text-align: center !important;
  font-family: inherit !important;
  font-size: clamp(28px, 2.8vw, 38px) !important;
  line-height: 1.18 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  transform: none !important;
  color: inherit !important;
}

/* Secondary quote smaller and softer */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  max-width: 880px !important;
  margin: 0 auto !important;
  font-size: clamp(19px, 1.9vw, 27px) !important;
  line-height: 1.42 !important;
  color: #5b4628 !important;
}

/* Keep the removed divider and heading hidden */
.home-page .elementor-widget-divider,
.home-page .elementor-divider,
.home-page .elementor-divider-separator,
.home-page .elementor-element-453e782 {
  display: none !important;
}

/* Responsive tuning */
@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
    padding-top: 44px !important;
    padding-bottom: 70px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 img {
    width: min(86vw, 420px) !important;
    max-width: min(86vw, 420px) !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
    font-size: clamp(23px, 6.3vw, 32px) !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
    font-size: clamp(23px, 6vw, 30px) !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    font-size: clamp(17px, 4.8vw, 22px) !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v47
   Homepage flow:
   - hide menu/header only on homepage
   - make second quote a subtle flow link to Zazen
------------------------------------------------------------------ */

/* Hide the menu bar/header only on the homepage */
body.home-page > .site-header,
body.home-page .site-header {
  display: none !important;
}

/* Since the menu is hidden, let the hero breathe naturally */
.home-page .content-shell {
  padding-top: 0 !important;
}

/* Opening hero without menu */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  padding-top: clamp(34px, 5vw, 70px) !important;
  padding-bottom: clamp(54px, 7vw, 110px) !important;
}

/* The second quote becomes the flow link */
.home-zazen-flow-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;

  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;

  border-radius: 999px;
  padding: 8px 14px 8px 18px;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.home-zazen-flow-link:hover,
.home-zazen-flow-link:focus-visible {
  background: rgba(255, 176, 0, .10);
  color: #3b2b12 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(110, 70, 10, .10);
  outline: none;
}

/* Decent arrow after the text */
.home-zazen-flow-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;

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

  color: #050505;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(255, 176, 0, .22);

  font-size: 22px;
  line-height: 1;
  font-weight: 800;

  transform: translateY(1px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.home-zazen-flow-link:hover .home-zazen-flow-arrow,
.home-zazen-flow-link:focus-visible .home-zazen-flow-arrow {
  transform: translate(4px, 1px);
  box-shadow: 0 10px 26px rgba(255, 176, 0, .34);
}

/* Make sure the clickable line stays readable and centered */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  text-align: center !important;
}

/* Mobile: keep arrow nice and not too dominant */
@media (max-width: 760px) {
  .home-zazen-flow-link {
    gap: 10px;
    padding: 8px 10px 8px 12px;
  }

  .home-zazen-flow-arrow {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
    min-height: 100vh !important;
    padding-top: 32px !important;
    padding-bottom: 56px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v48
   Generated images used as actual intro story backgrounds.
   Keeps v47 homepage flow unchanged.
------------------------------------------------------------------ */

/* Intro background image mapping */
.fullscreen-story-step[data-step="0"],
.bottom-story-step[data-step="0"] {
  --story-bg: url("../img/intro/story-1.jpg");
}

.fullscreen-story-step[data-step="1"],
.bottom-story-step[data-step="1"] {
  --story-bg: url("../img/intro/story-2.jpg");
}

.fullscreen-story-step[data-step="2"],
.bottom-story-step[data-step="2"] {
  --story-bg: url("../img/intro/story-3.jpg");
}

.fullscreen-story-step[data-step="3"],
.bottom-story-step[data-step="3"] {
  --story-bg: url("../img/intro/story-4.jpg");
}

/* Hide the old decorative grid */
.fullscreen-story-bg {
  display: none !important;
}

/* Story slide card with generated image */
.fullscreen-story-step {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  min-height: min(68vh, 760px) !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(34px, 4vw, 58px) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,176,0,.18) !important;
}

/* Image layer */
.fullscreen-story-step::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: var(--story-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  transform: scale(1.02);
  filter: saturate(.96) contrast(.98) brightness(.88);
  z-index: 0 !important;
}

/* Readability overlay */
.fullscreen-story-step::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(3, 4, 5, .86) 0%,
      rgba(6, 6, 6, .74) 30%,
      rgba(21, 15, 9, .42) 62%,
      rgba(25, 16, 8, .18) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.12) 0%,
      rgba(0,0,0,.04) 40%,
      rgba(0,0,0,.26) 100%
    ) !important;
}

/* Slightly adapt storm slide so it keeps its cool/dark mood */
.fullscreen-story-step[data-step="2"]::before {
  filter: saturate(.86) contrast(1.04) brightness(.82);
}

.fullscreen-story-step[data-step="2"]::after {
  background:
    linear-gradient(90deg,
      rgba(1, 5, 10, .88) 0%,
      rgba(4, 9, 14, .78) 30%,
      rgba(17, 18, 20, .46) 62%,
      rgba(28, 20, 12, .20) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.14) 0%,
      rgba(0,0,0,.06) 40%,
      rgba(0,0,0,.30) 100%
    ) !important;
}

/* Keep text above image and overlay */
.fullscreen-story-text {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1080px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-shadow:
    0 2px 18px rgba(0,0,0,.38),
    0 0 2px rgba(0,0,0,.45) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.fullscreen-story-text::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Keep page numbers hidden and visible scrollbars hidden */
.fullscreen-story-number,
.bottom-story-number,
.story-slide-number,
.story-step-number {
  display: none !important;
}

.fullscreen-story-step::-webkit-scrollbar,
.bottom-story-step::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Bottom/reopened story section uses the same generated images */
.bottom-story-step {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  min-height: min(64vh, 720px) !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(28px, 3vw, 48px) !important;
  box-shadow:
    0 18px 56px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,176,0,.14) !important;
  scrollbar-width: none !important;
}

.bottom-story-step::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: var(--story-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  transform: scale(1.02);
  filter: saturate(.96) contrast(.98) brightness(.88);
  z-index: 0 !important;
}

.bottom-story-step::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(3, 4, 5, .86) 0%,
      rgba(6, 6, 6, .74) 30%,
      rgba(21, 15, 9, .42) 62%,
      rgba(25, 16, 8, .18) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.12) 0%,
      rgba(0,0,0,.04) 40%,
      rgba(0,0,0,.26) 100%
    ) !important;
}

.bottom-story-step[data-step="2"]::before {
  filter: saturate(.86) contrast(1.04) brightness(.82);
}

.bottom-story-step[data-step="2"]::after {
  background:
    linear-gradient(90deg,
      rgba(1, 5, 10, .88) 0%,
      rgba(4, 9, 14, .78) 30%,
      rgba(17, 18, 20, .46) 62%,
      rgba(28, 20, 12, .20) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.14) 0%,
      rgba(0,0,0,.06) 40%,
      rgba(0,0,0,.30) 100%
    ) !important;
}

.bottom-story-step > * {
  position: relative !important;
  z-index: 2 !important;
}

/* Mobile */
@media (max-width: 980px) {
  .fullscreen-story-step {
    min-height: calc(100vh - 210px) !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .bottom-story-step {
    min-height: min(72vh, 780px) !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v49
   Homepage intro refined according to accepted mockup:
   - larger main logo
   - smaller centered text
   - clean flow page, no top menu
------------------------------------------------------------------ */

/* Homepage remains menu-free flow */
body.home-page > .site-header,
body.home-page .site-header {
  display: none !important;
}

.home-page .content-shell {
  padding-top: 0 !important;
}

/* Full-screen calm composition */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  padding-top: clamp(28px, 4vw, 58px) !important;
  padding-bottom: clamp(44px, 6vw, 88px) !important;
}

/* Make logo the hero object */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 .elementor-widget-container {
  margin-bottom: clamp(46px, 5vw, 76px) !important;
}

.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 img {
  width: min(68vw, 980px) !important;
  max-width: min(68vw, 980px) !important;
  height: auto !important;
  image-rendering: auto !important;
}

/* Main quote: smaller, readable, centered */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
  max-width: 880px !important;
  margin: 0 auto 20px !important;
  text-align: center !important;

  font-size: clamp(22px, 2.3vw, 32px) !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  color: #15110b !important;
}

/* Buddha line smaller and balanced */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
  display: block !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  text-align: center !important;

  font-family: inherit !important;
  font-size: clamp(20px, 1.9vw, 27px) !important;
  line-height: 1.2 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  transform: none !important;
  color: #1b140c !important;
}

/* Flow link line smaller but clearly clickable */
.home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
  max-width: 800px !important;
  margin: 24px auto 0 !important;
  text-align: center !important;

  font-size: clamp(14px, 1.25vw, 18px) !important;
  line-height: 1.42 !important;
  color: #5b4628 !important;
  font-weight: 700 !important;
}

/* Refined flow link and arrow */
.home-zazen-flow-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;

  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;

  border-radius: 999px;
  padding: 7px 12px 7px 16px;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.home-zazen-flow-link:hover,
.home-zazen-flow-link:focus-visible {
  background: rgba(255, 176, 0, .10);
  color: #3b2b12 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(110, 70, 10, .10);
  outline: none;
}

.home-zazen-flow-arrow {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  border-radius: 999px;

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

  color: #050505;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(255, 176, 0, .22);

  font-size: 18px !important;
  line-height: 1;
  font-weight: 800;
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.home-zazen-flow-link:hover .home-zazen-flow-arrow,
.home-zazen-flow-link:focus-visible .home-zazen-flow-arrow {
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(255,176,0,.34);
}

/* Keep removed elements hidden */
.home-page .elementor-widget-divider,
.home-page .elementor-divider,
.home-page .elementor-divider-separator,
.home-page .elementor-element-453e782 {
  display: none !important;
}

/* Mobile tuning */
@media (max-width: 760px) {
  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child {
    min-height: 100vh !important;
    padding-top: 32px !important;
    padding-bottom: 54px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 img {
    width: min(92vw, 520px) !important;
    max-width: min(92vw, 520px) !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-4ec1961 .elementor-widget-container {
    margin-bottom: 38px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .elementor-widget-container {
    font-size: clamp(21px, 5.7vw, 29px) !important;
    max-width: 92vw !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-5e060a9 .quote-signature {
    font-size: clamp(19px, 5vw, 25px) !important;
    margin-top: 18px !important;
  }

  .home-page .content-shell .original-content .elementor.elementor-4 > .elementor-section:first-child .elementor-element-3680e6d .elementor-widget-container {
    font-size: clamp(13px, 4vw, 17px) !important;
    max-width: 94vw !important;
    margin-top: 22px !important;
  }

  .home-zazen-flow-link {
    gap: 9px !important;
  }

  .home-zazen-flow-arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 16px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v50
   Homepage logo is clickable and leads to zazen.html.
------------------------------------------------------------------ */

.home-logo-flow-link {
  display: inline-block !important;
  line-height: 0 !important;
  cursor: pointer;
  border-radius: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.home-logo-flow-link:hover,
.home-logo-flow-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.02);
  outline: none;
}

.home-logo-flow-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 176, 0, .32);
}

.home-logo-flow-link img {
  display: block !important;
}


/* ------------------------------------------------------------------
   Shin Jin v51
   Fix bottom intro story layout:
   - paragraphs must flow vertically
   - no strange side-by-side text columns
   - keep generated background images
------------------------------------------------------------------ */

.home-page .bottom-story-stage {
  display: grid !important;
  align-items: center !important;
}

/* The story card itself can still hold a background image,
   but its text content must stack vertically. */
.home-page .bottom-story-step {
  grid-area: 1 / 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;

  width: 100% !important;
  max-width: min(1180px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;

  max-height: min(68vh, 720px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;

  text-align: left !important;
  box-sizing: border-box !important;
}

/* Every paragraph should be full-width inside the card.
   This prevents the browser from treating paragraphs as columns/flex items. */
.home-page .bottom-story-step p {
  display: block !important;
  width: 100% !important;
  max-width: 980px !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Keep page numbers hidden */
.home-page .bottom-story-step .bottom-story-number {
  display: none !important;
}

/* More controlled text size in bottom intro,
   so slides 1-3 remain readable and do not break visually. */
.home-page .bottom-story-step p:not(.bottom-story-number) {
  margin: 0 0 18px !important;
  color: rgba(255, 250, 240, .94) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(25px, 2.35vw, 39px) !important;
  line-height: 1.34 !important;
  letter-spacing: -.018em !important;
  text-shadow:
    0 2px 18px rgba(0,0,0,.42),
    0 0 2px rgba(0,0,0,.45) !important;
}

.home-page .bottom-story-step p:last-child {
  margin-bottom: 0 !important;
}

/* Slide 2 and 3 contain much more text, make them a little smaller
   so they fit more naturally and scroll only when needed. */
.home-page .bottom-story-step[data-step="1"] p:not(.bottom-story-number),
.home-page .bottom-story-step[data-step="2"] p:not(.bottom-story-number) {
  font-size: clamp(22px, 2.05vw, 34px) !important;
  line-height: 1.34 !important;
  max-width: 1080px !important;
}

/* Keep scroll possible, but do not show visible scrollbars. */
.home-page .bottom-story-step {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.home-page .bottom-story-step::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Mobile tuning */
@media (max-width: 760px) {
  .home-page .bottom-story-step {
    max-height: calc(100vh - 220px) !important;
    padding: 24px !important;
  }

  .home-page .bottom-story-step p:not(.bottom-story-number),
  .home-page .bottom-story-step[data-step="1"] p:not(.bottom-story-number),
  .home-page .bottom-story-step[data-step="2"] p:not(.bottom-story-number) {
    font-size: clamp(20px, 6vw, 28px) !important;
    line-height: 1.34 !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v52
   Shobogenzo overview page:
   replace placeholder "Texty" page with actual Shobogenzo text.
------------------------------------------------------------------ */

.shobogenzo-overview-page {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 0, .10), transparent 34rem),
    linear-gradient(180deg, #fff7ea 0%, #f0e5d3 100%) !important;
}

.shobogenzo-overview-page .shobogenzo-overview-shell {
  max-width: 1280px;
  padding-top: clamp(58px, 7vw, 96px);
}

.shobogenzo-overview-content {
  padding: clamp(42px, 5vw, 74px) !important;
}

.shobogenzo-overview-header h1 {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -.045em;
  color: #070707;
}

.shobogenzo-poem-block {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: clamp(34px, 5vw, 72px);
  margin: 0 0 clamp(44px, 6vw, 78px);
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid rgba(55, 42, 23, .14);
}

.shobogenzo-poem-block h2,
.shobogenzo-main-text h2,
.shobogenzo-main-text h3 {
  color: #111;
  margin-top: 0;
}

.shobogenzo-poem-block h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.shobogenzo-poem-block p {
  margin: 0;
  color: #4b5560;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
}

.shobogenzo-main-text {
  max-width: 1060px;
}

.shobogenzo-main-text h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.shobogenzo-subtitle {
  margin: 0 0 34px !important;
  color: #8b6500 !important;
  font-weight: 700;
}

.shobogenzo-main-text h3 {
  margin: 38px 0 14px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.25;
}

.shobogenzo-main-text p {
  color: #4d5560;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.82;
  margin: 0 0 20px;
}

.shobogenzo-main-text blockquote {
  margin: 28px 0;
  padding: clamp(24px, 3vw, 38px);
  border-left: 4px solid var(--gold);
  border-radius: 22px;
  background: rgba(255, 250, 240, .78);
  color: #4a4540;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.74;
  box-shadow: 0 18px 44px rgba(30, 20, 8, .06);
}

@media (max-width: 900px) {
  .shobogenzo-overview-content {
    padding: 30px !important;
  }

  .shobogenzo-poem-block {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .shobogenzo-overview-page .shobogenzo-overview-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .shobogenzo-overview-content {
    padding: 24px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v53
   Makahannya page:
   make inline star symbols smaller, closer to the original layout.
------------------------------------------------------------------ */

.makahannya-page .small-inline-stars {
  font-size: 0.68em !important;
  line-height: 1 !important;
  vertical-align: 0.08em !important;
  letter-spacing: 0.03em !important;
  color: #ff9f1a !important;
  white-space: nowrap !important;
}

/* Safety rule: if star spans inherit strange sizing from Elementor,
   keep them visually inline and not dominant. */
.makahannya-page p .small-inline-stars,
.makahannya-page .elementor-widget-container .small-inline-stars {
  display: inline !important;
  font-weight: 700 !important;
}


/* ------------------------------------------------------------------
   Shin Jin v54
   Makahannya page:
   fix large star emoji SVG images.
   These stars are <img class="emoji">, not text.
------------------------------------------------------------------ */

.makahannya-page img.emoji,
.makahannya-page img.wp-smiley,
.makahannya-page .popup-star-3 img,
.makahannya-page .popup-star-4 img {
  display: inline-block !important;
  width: 0.9em !important;
  height: 0.9em !important;
  max-width: 0.9em !important;
  max-height: 0.9em !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 0.04em !important;
  padding: 0 !important;

  vertical-align: -0.08em !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Keep star links inline and natural */
.makahannya-page .popup-star-3,
.makahannya-page .popup-star-4 {
  display: inline !important;
  line-height: inherit !important;
}

/* If any star was wrapped as text in v53, keep it small too */
.makahannya-page .small-inline-stars {
  font-size: 0.8em !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
}


/* ------------------------------------------------------------------
   Shin Jin v55
   Uji / Bytie-čas page:
   fix large star emoji SVG images.
   These stars are <img class="emoji">, not text.
------------------------------------------------------------------ */

.uji-page img.emoji,
.uji-page img.wp-smiley,
.uji-page .popup-star-3 img,
.uji-page .popup-star-4 img {
  display: inline-block !important;
  width: 0.9em !important;
  height: 0.9em !important;
  max-width: 0.9em !important;
  max-height: 0.9em !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 0.04em !important;
  padding: 0 !important;

  vertical-align: -0.08em !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Keep star links inline and natural */
.uji-page .popup-star-3,
.uji-page .popup-star-4 {
  display: inline !important;
  line-height: inherit !important;
}

/* Broader safety for story/text pages where emoji stars appear */
.content-page img.emoji,
.content-page img.wp-smiley {
  width: 0.9em !important;
  height: 0.9em !important;
  max-width: 0.9em !important;
  max-height: 0.9em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-block !important;
  vertical-align: -0.08em !important;
  margin: 0 0.04em !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}


/* ------------------------------------------------------------------
   Shin Jin v57
   Unified call-to-action visual style only.
   IMPORTANT:
   - No CTA text is changed.
   - Existing page wording remains exactly as in v55.
------------------------------------------------------------------ */

/* Known CTA sections from the exported pages */
.content-page .elementor-section.elementor-element-26a7b3a,
.content-page .elementor-section.elementor-element-9f335ff,
.content-page .elementor-element-26a7b3a,
.content-page .elementor-element-9f335ff {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;

  padding: clamp(58px, 7vw, 92px) 24px !important;
  background:
    radial-gradient(circle at center, rgba(255, 176, 0, .10), transparent 38rem),
    rgba(246, 241, 233, .88) !important;

  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* Center CTA content */
.content-page .elementor-element-26a7b3a .elementor-container,
.content-page .elementor-element-9f335ff .elementor-container {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  text-align: center !important;
}

.content-page .elementor-element-26a7b3a .elementor-column,
.content-page .elementor-element-9f335ff .elementor-column,
.content-page .elementor-element-26a7b3a .elementor-widget-wrap,
.content-page .elementor-element-9f335ff .elementor-widget-wrap {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: center !important;
}

/* Main CTA title */
.content-page .elementor-element-26a7b3a h1,
.content-page .elementor-element-26a7b3a h2,
.content-page .elementor-element-26a7b3a h3,
.content-page .elementor-element-26a7b3a h4,
.content-page .elementor-element-9f335ff h1,
.content-page .elementor-element-9f335ff h2,
.content-page .elementor-element-9f335ff h3,
.content-page .elementor-element-9f335ff h4,
.content-page .elementor-element-26a7b3a .elementor-heading-title,
.content-page .elementor-element-9f335ff .elementor-heading-title {
  margin: 0 auto !important;
  color: #050505 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(34px, 4.2vw, 52px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  text-transform: none !important;
  text-align: center !important;
}

/* Subtitle / secondary heading: visual style only, text remains unchanged */
.content-page .elementor-element-26a7b3a .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title,
.content-page .elementor-element-9f335ff .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title,
.content-page .elementor-element-26a7b3a p.elementor-heading-title,
.content-page .elementor-element-9f335ff p.elementor-heading-title {
  margin-top: clamp(22px, 3vw, 34px) !important;
  margin-bottom: clamp(26px, 3.2vw, 40px) !important;
  color: #050505 !important;
  font-size: clamp(28px, 3.5vw, 46px) !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
}

/* Neat vertical stack */
.content-page .elementor-element-26a7b3a .elementor-widget-heading,
.content-page .elementor-element-9f335ff .elementor-widget-heading {
  margin: 0 !important;
}

.content-page .elementor-element-26a7b3a .elementor-widget-button,
.content-page .elementor-element-9f335ff .elementor-widget-button {
  margin-top: 0 !important;
  text-align: center !important;
}

/* Gold rounded button */
.content-page .elementor-element-26a7b3a .elementor-button,
.content-page .elementor-element-9f335ff .elementor-button,
.content-page .elementor-element-26a7b3a a.elementor-button,
.content-page .elementor-element-9f335ff a.elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 54px !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 999px !important;

  background: #ffb000 !important;
  color: #050505 !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
  text-decoration: none !important;

  box-shadow: 0 16px 36px rgba(255, 176, 0, .18) !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease !important;
}

.content-page .elementor-element-26a7b3a .elementor-button:hover,
.content-page .elementor-element-9f335ff .elementor-button:hover,
.content-page .elementor-element-26a7b3a .elementor-button:focus-visible,
.content-page .elementor-element-9f335ff .elementor-button:focus-visible {
  transform: translateY(-1px) !important;
  background: #ffc13a !important;
  box-shadow: 0 20px 44px rgba(255, 176, 0, .26) !important;
  outline: none !important;
}

.content-page .elementor-element-26a7b3a .elementor-button-text,
.content-page .elementor-element-9f335ff .elementor-button-text {
  color: #050505 !important;
  font: inherit !important;
  text-transform: none !important;
}

/* Mobile */
@media (max-width: 760px) {
  .content-page .elementor-section.elementor-element-26a7b3a,
  .content-page .elementor-section.elementor-element-9f335ff,
  .content-page .elementor-element-26a7b3a,
  .content-page .elementor-element-9f335ff {
    padding: 46px 18px !important;
  }

  .content-page .elementor-element-26a7b3a h1,
  .content-page .elementor-element-26a7b3a h2,
  .content-page .elementor-element-26a7b3a h3,
  .content-page .elementor-element-26a7b3a h4,
  .content-page .elementor-element-9f335ff h1,
  .content-page .elementor-element-9f335ff h2,
  .content-page .elementor-element-9f335ff h3,
  .content-page .elementor-element-9f335ff h4,
  .content-page .elementor-element-26a7b3a .elementor-heading-title,
  .content-page .elementor-element-9f335ff .elementor-heading-title {
    font-size: clamp(30px, 8vw, 42px) !important;
  }

  .content-page .elementor-element-26a7b3a .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title,
  .content-page .elementor-element-9f335ff .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title,
  .content-page .elementor-element-26a7b3a p.elementor-heading-title,
  .content-page .elementor-element-9f335ff p.elementor-heading-title {
    font-size: clamp(25px, 7vw, 36px) !important;
  }

  .content-page .elementor-element-26a7b3a .elementor-button,
  .content-page .elementor-element-9f335ff .elementor-button {
    min-height: 50px !important;
    padding: 0 26px !important;
    font-size: 13px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v58
   Uji / Bytie-čas:
   local accordion behavior and styling for "A chcem pokračovať....".
   Text stays unchanged, content is collapsed by default.
------------------------------------------------------------------ */

.uji-page .elementor-widget-accordion {
  max-width: 1120px !important;
  margin: clamp(42px, 6vw, 78px) auto !important;
}

.uji-page .elementor-accordion {
  border: 1px solid rgba(35, 28, 18, .20) !important;
  background: rgba(255, 250, 240, .62) !important;
}

.uji-page .elementor-accordion-item {
  border: 0 !important;
}

.uji-page .elementor-tab-title {
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;

  min-height: 66px !important;
  padding: 0 24px !important;
  margin: 0 !important;

  color: #050505 !important;
  background: rgba(255, 250, 240, .76) !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(22px, 2.25vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;

  border: 0 !important;
  user-select: none !important;
}

.uji-page .elementor-tab-title.is-active {
  border-bottom: 1px solid rgba(35, 28, 18, .16) !important;
}

.uji-page .elementor-accordion-title {
  color: #050505 !important;
  text-decoration: none !important;
}

.uji-page .elementor-accordion-icon {
  width: 24px !important;
  min-width: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #050505 !important;
  font-size: 20px !important;
}

.uji-page .elementor-tab-title .elementor-accordion-icon-opened {
  display: none !important;
}

.uji-page .elementor-tab-title .elementor-accordion-icon-closed {
  display: inline-flex !important;
}

.uji-page .elementor-tab-title.is-active .elementor-accordion-icon-opened {
  display: inline-flex !important;
}

.uji-page .elementor-tab-title.is-active .elementor-accordion-icon-closed {
  display: none !important;
}

/* Default hidden. JS also adds hidden attribute for accessibility. */
.uji-page .elementor-widget-accordion .elementor-tab-content {
  display: none !important;
  padding: 24px 24px 30px !important;
  background: rgba(255, 250, 240, .48) !important;
  color: #3d4650 !important;
  border: 0 !important;
}

.uji-page .elementor-widget-accordion .elementor-tab-content.is-active {
  display: block !important;
}

.uji-page .elementor-widget-accordion .elementor-tab-content p,
.uji-page .elementor-widget-accordion .elementor-tab-content div,
.uji-page .elementor-widget-accordion .elementor-tab-content span {
  font-size: clamp(16px, 1.25vw, 18px) !important;
  line-height: 1.82 !important;
}

.uji-page .elementor-widget-accordion .elementor-tab-content em,
.uji-page .elementor-widget-accordion .elementor-tab-content em span {
  color: #007798 !important;
  font-style: italic !important;
}

/* Mobile */
@media (max-width: 760px) {
  .uji-page .elementor-widget-accordion {
    margin: 36px 16px !important;
  }

  .uji-page .elementor-tab-title {
    min-height: 58px !important;
    padding: 0 18px !important;
    gap: 12px !important;
    font-size: clamp(21px, 6vw, 28px) !important;
  }

  .uji-page .elementor-widget-accordion .elementor-tab-content {
    padding: 20px 18px 26px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v59
   Uji accordion:
   show a clear arrow indicator for collapsed/expanded state.
------------------------------------------------------------------ */

/* Hide previous icon implementation so only the clear arrow is visible */
.uji-page .elementor-tab-title .elementor-accordion-icon {
  display: none !important;
}

/* Add explicit visible arrow before the heading text */
.uji-page .elementor-tab-title::before {
  content: "▾";
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  margin-right: 12px !important;

  color: #8b5200 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 900 !important;

  transform: translateY(-1px) !important;
}

/* When expanded, switch arrow up */
.uji-page .elementor-tab-title.is-active::before {
  content: "▴";
}

@media (max-width: 760px) {
  .uji-page .elementor-tab-title::before {
    width: 24px !important;
    min-width: 24px !important;
    margin-right: 10px !important;
    font-size: 28px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v60
   Homepage:
   move copyright badge lower so it does not distract from
   the intro navigation circles.
------------------------------------------------------------------ */

.home-page .sj-bottom-copyright {
  bottom: 4px !important;
  transform: translateX(-50%) translateY(20px);
}

.home-page .sj-bottom-copyright.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* On very small screens keep it visible but still low */
@media (max-width: 640px) {
  .home-page .sj-bottom-copyright {
    bottom: 3px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v62
   Fix after v61:
   - homepage copyright is visible again
   - larger gap from intro navigation circles is created by moving
     the dots slightly upward, not by pushing copyright outside viewport
------------------------------------------------------------------ */

/* Keep footer visible inside viewport */
.home-page .sj-bottom-copyright {
  bottom: 8px !important;
  transform: translateX(-50%) translateY(18px);
}

.home-page .sj-bottom-copyright.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Move the intro/bottom story navigation dots a little higher
   to create more space above the footer */
.home-page .bottom-story-dots,
.home-page .story-dot-nav,
.home-page .story-dots,
.home-page .bottom-story-dot-nav,
.home-page .bottom-story-nav,
.home-page .fullscreen-story-dots {
  margin-bottom: 34px !important;
}

/* If the dots are positioned absolutely/fixed, lift them slightly */
.home-page .bottom-story-dots,
.home-page .story-dots,
.home-page .fullscreen-story-dots {
  bottom: 54px !important;
}

@media (max-width: 640px) {
  .home-page .sj-bottom-copyright {
    bottom: 7px !important;
  }

  .home-page .bottom-story-dots,
  .home-page .story-dot-nav,
  .home-page .story-dots,
  .home-page .bottom-story-dot-nav,
  .home-page .bottom-story-nav,
  .home-page .fullscreen-story-dots {
    margin-bottom: 30px !important;
  }

  .home-page .bottom-story-dots,
  .home-page .story-dots,
  .home-page .fullscreen-story-dots {
    bottom: 48px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v63
   Mobile intro scrolling fix
   - intro text remains scrollable on smaller screens / mobile
   - scrollbars are visually hidden
   - touch scrolling is explicitly enabled
------------------------------------------------------------------ */

/* Use dynamic viewport height where supported so mobile browser
   chrome does not cut the intro awkwardly. */
.home-page .fullscreen-story {
  height: 100vh;
  min-height: 100vh;
}

@supports (height: 100dvh) {
  .home-page .fullscreen-story {
    height: 100dvh;
    min-height: 100dvh;
  }

  .home-page .fullscreen-story-shell {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@supports (height: 100svh) {
  .home-page .fullscreen-story {
    min-height: 100svh;
  }

  .home-page .fullscreen-story-shell {
    min-height: 100svh;
  }
}

/* Keep the shell as a real viewport-bound layout. */
.home-page .fullscreen-story-shell {
  height: 100vh;
  min-height: 100vh;
}

.home-page .fullscreen-story-stage {
  min-height: 0 !important;
  height: 100%;
  overflow: hidden;
}

/* The active story panel itself must be the scroll container. */
.home-page .fullscreen-story-step {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* old Edge/IE */
  padding-right: clamp(6px, 1.2vw, 14px);
}

.home-page .fullscreen-story-step::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Bottom story area: same hidden-scrollbar behavior for consistency. */
.bottom-story-step {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bottom-story-step::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* On smaller screens, keep enough room for dots/arrows while still
   letting the text area scroll freely. */
@media (max-width: 900px) {
  .home-page .fullscreen-story-shell {
    padding-top: 20px;
    padding-bottom: 92px;
  }

  .home-page .fullscreen-story-stage {
    height: calc(100% - 4px);
  }
}

@media (max-width: 620px) {
  .home-page .fullscreen-story-shell {
    padding-top: 14px;
    padding-bottom: 88px;
  }

  .home-page .fullscreen-story-stage {
    padding-bottom: 6px;
  }

  .home-page .fullscreen-story-step {
    padding-right: 2px;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v64
   Mobile intro start-position fix:
   - long intro slides start at the first line
   - content remains scrollable
   - scrollbars stay hidden
------------------------------------------------------------------ */

/* The stage must not vertically center overflowing mobile slides. */
@media (max-width: 900px) {
  .home-page .fullscreen-story-stage {
    align-items: stretch !important;
    justify-items: stretch !important;
    overflow: hidden !important;
  }

  .home-page .fullscreen-story-step {
    align-self: stretch !important;
    justify-self: stretch !important;

    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;

    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;

    /* top padding ensures the first line is visible;
       bottom padding keeps last line above arrows/dots */
    padding-top: 18px !important;
    padding-bottom: 82px !important;

    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .home-page .fullscreen-story-step::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .home-page .fullscreen-story-text {
    display: block !important;
    max-height: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Extra small phone screens */
@media (max-width: 620px) {
  .home-page .fullscreen-story-step {
    padding-top: 14px !important;
    padding-bottom: 88px !important;
  }

  .home-page .fullscreen-story-text p:not(.fullscreen-story-number):not(.fullscreen-story-subtitle) {
    margin-top: 0 !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v65
   Mobile header/menu refinement:
   - move Menu button to the top-right beside the logo
   - keep navigation dropdown panel below the header
   - remove the three dash marks and keep only text "Menu"
------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .site-header {
    overflow: visible;
  }

  .nav-shell {
    flex-wrap: nowrap !important;
    min-height: 76px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .brand {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
    order: 2 !important;
    position: relative !important;
    z-index: 3 !important;
    gap: 0 !important;
    padding: 10px 18px !important;
  }

  .menu-toggle span {
    display: none !important;
  }

  .menu-toggle b {
    margin-left: 0 !important;
  }

  .site-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 2 !important;
    display: none;
  }

  .site-menu.open {
    display: flex !important;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .menu-toggle {
    padding: 10px 16px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v66
   Mobile menu scrolling fix:
   - opened mobile menu is scrollable when content is taller than screen
   - scrollbars are hidden
   - touch scrolling remains active
------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .site-menu {
    max-height: calc(100vh - 96px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 22px !important;
  }

  .site-menu::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  @supports (height: 100dvh) {
    .site-menu {
      max-height: calc(100dvh - 96px) !important;
    }
  }

  @supports (height: 100svh) {
    .site-menu {
      max-height: calc(100svh - 96px) !important;
    }
  }
}

@media (max-width: 760px) {
  .site-menu {
    max-height: calc(100vh - 94px) !important;
    padding-bottom: 26px !important;
  }

  @supports (height: 100dvh) {
    .site-menu {
      max-height: calc(100dvh - 94px) !important;
    }
  }

  @supports (height: 100svh) {
    .site-menu {
      max-height: calc(100svh - 94px) !important;
    }
  }
}


/* ------------------------------------------------------------------
   Shin Jin v67
   Robust mobile menu:
   - Menu button opens/closes
   - menu panel scrolls
   - dropdowns expand/collapse on mobile
   - scrollbars remain hidden
------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .site-header {
    overflow: visible !important;
    z-index: 5000 !important;
  }

  .nav-shell {
    position: relative !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 76px !important;
  }

  .brand {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 5020 !important;
    gap: 0 !important;
    padding: 10px 18px !important;
  }

  .menu-toggle span {
    display: none !important;
  }

  .menu-toggle b {
    margin-left: 0 !important;
  }

  .site-menu {
    position: fixed !important;
    top: 76px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 88px) !important;

    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;

    margin: 0 !important;
    padding: 16px 14px 28px !important;

    z-index: 5010 !important;
    background: #050505 !important;
    border: 1px solid rgba(255,176,0,.38) !important;
    border-radius: 22px !important;
    box-shadow: 0 28px 70px rgba(0,0,0,.38) !important;
  }

  .site-menu::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .site-menu.open {
    display: flex !important;
  }

  @supports (height: 100dvh) {
    .site-menu {
      max-height: calc(100dvh - 88px) !important;
    }
  }

  @supports (height: 100svh) {
    .site-menu {
      max-height: calc(100svh - 88px) !important;
    }
  }

  /* Top-level links */
  .site-menu > .menu-link,
  .site-menu > .dropdown > .dropdown-label {
    min-height: 48px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    color: var(--gold) !important;
    background: transparent !important;
  }

  .site-menu > .menu-link:hover,
  .site-menu > .dropdown > .dropdown-label:hover,
  .site-menu > .menu-link.active,
  .site-menu > .dropdown > .dropdown-label.active {
    color: #fff !important;
    background: rgba(255,176,0,.10) !important;
  }

  /* Mobile dropdown panels are collapsed by default. */
  .dropdown-panel,
  .dropdown:hover .dropdown-panel,
  .dropdown:focus-within .dropdown-panel {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: 0 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.045) !important;
    margin: 4px 0 12px 0 !important;
    padding: 10px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .dropdown.mobile-open > .dropdown-panel {
    display: block !important;
  }

  .dropdown-panel a {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    color: var(--gold) !important;
  }

  .dropdown-panel a:hover {
    color: #fff !important;
    background: rgba(255,176,0,.12) !important;
  }

  .dropdown-label::after {
    content: "⌄" !important;
    margin-left: 8px !important;
    transition: transform .18s ease !important;
  }

  .dropdown.mobile-open > .dropdown-label::after {
    transform: rotate(180deg) !important;
  }
}

@media (max-width: 760px) {
  .site-menu {
    top: 82px !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100vh - 94px) !important;
  }

  @supports (height: 100dvh) {
    .site-menu {
      max-height: calc(100dvh - 94px) !important;
    }
  }

  @supports (height: 100svh) {
    .site-menu {
      max-height: calc(100svh - 94px) !important;
    }
  }
}


/* ------------------------------------------------------------------
   Shin Jin v68
   Dojo / Kontakt / Akcie:
   generated gold icons added to each contact card.
------------------------------------------------------------------ */

.dojo-page .original-content .elementor-icon-box-wrapper {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  gap: clamp(18px, 2.4vw, 32px) !important;
  align-items: center !important;
  min-height: 174px !important;
  padding: clamp(24px, 3vw, 34px) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,240,.72)) !important;
  border: 1px solid rgba(75, 58, 35, .16) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 38px rgba(42, 31, 17, .06) !important;
}

.dojo-page .original-content .elementor-icon-box-icon {
  margin: 0 !important;
  width: 96px !important;
  height: 96px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dojo-page .original-content .elementor-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 86px !important;
  height: 86px !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 176, 0, .12), transparent 70%),
    rgba(255, 250, 240, .82) !important;
  border: 1px solid rgba(255, 176, 0, .22) !important;
}

.dojo-page .sj-contact-icon-img {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 14px rgba(155, 95, 0, .10));
}

.dojo-page .original-content .elementor-icon-box-content {
  min-width: 0 !important;
}

.dojo-page .original-content .elementor-icon-box-title {
  margin: 0 0 12px !important;
}

.dojo-page .original-content .elementor-icon-box-title span {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
  color: #070707 !important;
}

.dojo-page .original-content .elementor-icon-box-description {
  margin: 0 !important;
  color: #211d17 !important;
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.75 !important;
}

.dojo-page .original-content .elementor-icon-box-description a {
  color: #9a6200 !important;
  font-weight: 800 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* Make the card feel interactive only where it contains a link. */
.dojo-page .elementor-icon-box-wrapper:has(a) {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.dojo-page .elementor-icon-box-wrapper:has(a):hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255,176,0,.28) !important;
  box-shadow: 0 22px 48px rgba(42, 31, 17, .10) !important;
}

/* Mobile: icons above text for a calm stacked layout. */
@media (max-width: 760px) {
  .dojo-page .original-content .elementor-icon-box-wrapper {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 24px !important;
  }

  .dojo-page .original-content .elementor-icon-box-icon {
    width: 76px !important;
    height: 76px !important;
  }

  .dojo-page .original-content .elementor-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 22px !important;
  }

  .dojo-page .sj-contact-icon-img {
    width: 48px !important;
    height: 48px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v69
   Akcie page generated from original exported content.
------------------------------------------------------------------ */

.akcie-page {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 0, .10), transparent 34rem),
    linear-gradient(180deg, #fff7ea 0%, #efe3cf 100%) !important;
}

.akcie-page .site-header {
  position: sticky;
}

.akcie-hero {
  position: relative;
  min-height: clamp(300px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;

  background:
    linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.38)),
    url("../img/akcie/jar-leto-06.jpg") center center / cover no-repeat;
}

.akcie-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,176,0,.10), transparent 30rem),
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.34));
}

.akcie-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  text-align: center;
}

.akcie-hero .page-kicker {
  margin: 0 0 12px;
  color: var(--gold);
}

.akcie-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05em;
  text-shadow: 0 3px 24px rgba(0,0,0,.26);
}

.akcie-content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 28px 92px;
}

.akcie-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,240,.76));
  border: 1px solid rgba(75, 58, 35, .16);
  border-radius: 26px;
  box-shadow: 0 18px 56px rgba(46, 35, 19, .10);
}

.akcie-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
  padding: clamp(36px, 5vw, 66px);
  margin-bottom: clamp(48px, 7vw, 84px);
}

.akcie-text-block {
  max-width: 540px;
}

.akcie-page h2 {
  margin: 0;
  color: #070707;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.045em;
}

.akcie-page h3 {
  margin: 34px 0 14px;
  color: #070707;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.035em;
}

.akcie-gold-line {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 22px 0 24px;
  border-radius: 999px;
}

.akcie-page p,
.akcie-page li {
  color: #211d17;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.85;
}

.akcie-page p {
  margin: 0 0 24px;
}

.akcie-page strong {
  font-weight: 850;
  color: #101010;
}

.akcie-photo {
  margin: 0;
}

.akcie-photo img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(46, 35, 19, .08);
}

.akcie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 72px);
}

.akcie-info-card {
  padding: clamp(34px, 4vw, 58px);
  box-shadow: none;
  background: transparent;
  border: 0;
}

.akcie-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.akcie-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.akcie-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .88em;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

/* Active state for Akcie page: keep Dojo/Kontakt/Akcie highlighted. */
.akcie-page .site-menu a[href="dojo-kontakt-akcie.html"] {
  color: #fff;
  background: rgba(255, 176, 0, .10);
}

/* Mobile */
@media (max-width: 900px) {
  .akcie-invitation,
  .akcie-grid {
    grid-template-columns: 1fr;
  }

  .akcie-text-block {
    max-width: none;
  }

  .akcie-info-card {
    padding: 0;
  }
}

@media (max-width: 620px) {
  .akcie-content-shell {
    padding: 36px 18px 70px;
  }

  .akcie-invitation {
    padding: 28px 22px;
  }

  .akcie-hero {
    min-height: 280px;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v71
   Akcie page heading typography:
   Option 3 – Georgia refined.
   Calmer, softer, less condensed than previous bold Inter style.
------------------------------------------------------------------ */

.akcie-page h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  font-size: clamp(32px, 3.4vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  color: #070707 !important;
}

.akcie-page h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  font-size: clamp(24px, 2.3vw, 32px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #070707 !important;
}

/* Keep the hero title strong and readable, but slightly less compressed. */
.akcie-hero h1 {
  letter-spacing: -0.035em !important;
}

/* Mobile tuning */
@media (max-width: 620px) {
  .akcie-page h2 {
    font-size: clamp(31px, 10vw, 40px) !important;
  }

  .akcie-page h3 {
    font-size: clamp(24px, 8vw, 30px) !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v73
   Akcie heading correction after v72:
   - no external font import
   - safe local Georgia serif
   - softer, less condensed, less heavy
   - only Akcie page headings are affected
------------------------------------------------------------------ */

.akcie-page h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-size: clamp(31px, 3.05vw, 43px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.005em !important;
  color: #070707 !important;
}

.akcie-page h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-size: clamp(23px, 2.05vw, 30px) !important;
  line-height: 1.24 !important;
  letter-spacing: 0.004em !important;
  color: #070707 !important;
}

/* Keep the Akcie hero title unchanged except slightly softer spacing */
.akcie-hero h1 {
  letter-spacing: -0.03em !important;
}

/* Mobile tuning */
@media (max-width: 620px) {
  .akcie-page h2 {
    font-size: clamp(29px, 8.7vw, 38px) !important;
    line-height: 1.18 !important;
  }

  .akcie-page h3 {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.22 !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v78
   Homepage bottom intro story mobile fix:
   - slides 2 and 3 must start from the first line on mobile
   - the text remains scrollable
   - scrollbars stay hidden
------------------------------------------------------------------ */

@media (max-width: 760px) {
  .home-page .bottom-story-stage {
    align-items: stretch !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .home-page .bottom-story-step {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100svh - 215px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    scroll-padding-top: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 104px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  @supports not (height: 100svh) {
    .home-page .bottom-story-step {
      max-height: calc(100vh - 215px) !important;
    }
  }

  .home-page .bottom-story-step.active {
    transform: translateY(0) !important;
  }

  .home-page .bottom-story-step p:first-of-type {
    margin-top: 0 !important;
  }

  .home-page .bottom-story-step::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}

@media (max-width: 420px) {
  .home-page .bottom-story-step {
    max-height: calc(100svh - 205px) !important;
    padding-top: 24px !important;
    padding-bottom: 108px !important;
  }

  @supports not (height: 100svh) {
    .home-page .bottom-story-step {
      max-height: calc(100vh - 205px) !important;
    }
  }
}


/* ------------------------------------------------------------------
   Shin Jin v79
   Mobile menu parent-page fix:
   - Učiteľ and Shobogenzo text are real page links
   - small separate caret button expands/collapses submenus
------------------------------------------------------------------ */

.mobile-submenu-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .site-menu > .dropdown {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 6px !important;
  }

  .site-menu > .dropdown > .dropdown-label {
    min-width: 0 !important;
    width: auto !important;
    justify-content: flex-start !important;
    grid-column: 1 / 2 !important;
  }

  /* Hide the old pseudo caret on the link itself.
     The new separate button handles submenu open/close. */
  .site-menu > .dropdown > .dropdown-label::after {
    content: none !important;
    display: none !important;
  }

  .mobile-submenu-toggle {
    display: inline-flex !important;
    grid-column: 2 / 3 !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    border: 1px solid rgba(255, 176, 0, .36) !important;
    border-radius: 999px !important;
    background: rgba(255, 176, 0, .06) !important;
    color: var(--gold) !important;
    cursor: pointer !important;

    font: inherit !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;

    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
  }

  .mobile-submenu-toggle span {
    display: block !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
    transition: transform .18s ease !important;
  }

  .dropdown.mobile-open > .mobile-submenu-toggle {
    color: #fff !important;
    border-color: rgba(255,255,255,.72) !important;
    background: rgba(255,176,0,.12) !important;
  }

  .dropdown.mobile-open > .mobile-submenu-toggle span {
    transform: translateY(1px) rotate(180deg) !important;
  }

  .dropdown.mobile-open > .dropdown-panel {
    grid-column: 1 / -1 !important;
  }

  .dropdown-panel,
  .dropdown:hover .dropdown-panel,
  .dropdown:focus-within .dropdown-panel {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .mobile-submenu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v84
   Language switch links for Slovak / English static versions.
------------------------------------------------------------------ */
.language-switch-menu {
  margin-left: clamp(10px, 2vw, 28px) !important;
  color: var(--gold) !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
}
.language-switch-menu:hover,
.language-switch-menu:focus-visible {
  color: #fff1bd !important;
}
.language-switch-floating {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 7000;
  color: #12100c;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
  opacity: .94;
}
body.intro-open .language-switch-floating {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.language-switch-floating:hover,
.language-switch-floating:focus-visible {
  color: var(--gold);
}
@media (max-width: 1100px) {
  .language-switch-menu {
    margin-left: 0 !important;
  }
  .language-switch-floating {
    top: 14px;
    right: 18px;
    font-size: 14px;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v85
   Homepage intro fixes:
   - story slides scroll again
   - long slides start from the top, not vertically centered
   - language switch is moved away from the close X
------------------------------------------------------------------ */

/* The story card itself is the scroll container.
   This fixes the cut-off beginning on long slides. */
.home-page .fullscreen-story-stage {
  align-items: stretch !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.home-page .fullscreen-story-step,
.home-page .fullscreen-story-step.active {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  scroll-padding-top: 0 !important;
}

.home-page .fullscreen-story-step::-webkit-scrollbar,
.home-page .fullscreen-story-step.active::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Text should no longer create an inner scroll area.
   One scroll container is enough and is more reliable on mobile. */
.home-page .fullscreen-story-text {
  overflow: visible !important;
  max-height: none !important;
  align-self: flex-start !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Bottom/reopened story gets the same treatment. */
.home-page .bottom-story-stage {
  align-items: stretch !important;
  min-height: 0 !important;
}

.home-page .bottom-story-step,
.home-page .bottom-story-step.active {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  scroll-padding-top: 0 !important;
}

.home-page .bottom-story-step::-webkit-scrollbar,
.home-page .bottom-story-step.active::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Stable viewport height on mobile browsers. */
@media (max-width: 900px) {
  .home-page .fullscreen-story-shell {
    height: 100dvh !important;
    min-height: 100dvh !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    padding-top: 68px !important;
    padding-bottom: 86px !important;
  }

  .home-page .fullscreen-story-step,
  .home-page .fullscreen-story-step.active {
    height: calc(100dvh - 164px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 164px) !important;
    padding-top: 24px !important;
  }

  .home-page .bottom-story-step,
  .home-page .bottom-story-step.active {
    height: min(72vh, 780px) !important;
    min-height: 0 !important;
    max-height: min(72vh, 780px) !important;
    padding-top: 22px !important;
  }
}

@media (max-width: 620px) {
  .home-page .fullscreen-story-shell {
    padding-top: 64px !important;
    padding-bottom: 84px !important;
  }

  .home-page .fullscreen-story-step,
  .home-page .fullscreen-story-step.active {
    height: calc(100dvh - 156px) !important;
    max-height: calc(100dvh - 156px) !important;
    padding-top: 22px !important;
  }
}

/* Language switch placement:
   normal page = top right;
   intro overlay = move it left so it does not sit near the close X. */
.language-switch-floating {
  right: 28px !important;
}

body.home-page.intro-open .language-switch-floating {
  top: 30px !important;
  right: 116px !important;
  color: #fff !important;
  z-index: 7010 !important;
}

@media (max-width: 900px) {
  body.home-page.intro-open .language-switch-floating {
    top: 24px !important;
    right: 86px !important;
  }
}

@media (max-width: 620px) {
  body.home-page.intro-open .language-switch-floating {
    top: 21px !important;
    right: 72px !important;
    font-size: 13px !important;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v88 English article pages
   Production-style English replacement pages.
------------------------------------------------------------------ */

.english-article-shell {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.english-article {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 78px);
  border-radius: 26px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 24px 70px rgba(74, 50, 12, .10);
}

.english-article-header {
  text-align: center;
  margin-bottom: clamp(42px, 7vw, 76px);
}

.english-article-header h1 {
  margin: 0 0 14px;
  color: #050505;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
}

.english-subtitle {
  margin: 0;
  color: #5e4a29;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.35;
  font-weight: 500;
}

.english-article p,
.english-article li {
  color: #4f5457;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.78;
}

.english-article h2 {
  margin: 0 0 18px;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 500;
}

.english-three-columns,
.english-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 56px);
  margin-bottom: clamp(46px, 7vw, 78px);
}

.english-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 64px);
  margin-bottom: clamp(46px, 7vw, 78px);
}

.english-card,
.english-note,
.english-highlight {
  border-radius: 22px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(120, 90, 30, .12);
  padding: clamp(28px, 4vw, 46px);
}

.english-note {
  background: #f7f4ef;
}

.english-highlight {
  margin: 0 0 clamp(46px, 7vw, 78px);
  background: #f6f3ee;
}

.english-cta-section {
  margin: clamp(54px, 8vw, 92px) calc(clamp(38px, 6vw, 78px) * -1) 0;
  padding: clamp(50px, 7vw, 78px) 24px;
  text-align: center;
  background: #f6f4f1;
}

.english-cta-section h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.english-cta-section p {
  margin: 0 0 18px;
  color: #050505;
}

.english-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: #f4b000;
  color: #050505 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(244, 176, 0, .22);
}

.english-article-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  margin-top: clamp(48px, 8vw, 84px);
}

.english-article-footer p {
  margin: 0;
  font-size: 15px;
  color: #666;
}

@media (max-width: 850px) {
  .english-article {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .english-three-columns,
  .english-grid-three,
  .english-grid-two,
  .english-article-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .english-card,
  .english-note,
  .english-highlight {
    padding: 26px 22px;
  }

  .english-cta-section {
    margin-left: -24px;
    margin-right: -24px;
    padding-bottom: 96px;
  }

  .english-article p,
  .english-article li {
    font-size: 16px;
    line-height: 1.72;
  }
}


/* ------------------------------------------------------------------
   Shin Jin v99 Mike profile
------------------------------------------------------------------ */
.mike-profile-content {
  max-width: 980px;
  margin: 0 auto;
}

.mike-profile-content::after {
  content: "";
  display: table;
  clear: both;
}

.mike-profile-figure {
  float: right;
  width: min(190px, 30%);
  margin: 0 0 24px 36px;
}

.mike-profile-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(55, 36, 8, .16);
}

.mike-profile-text h1 {
  margin-top: 0;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mike-profile-text p {
  margin: 0 0 1.15em;
}

@media (max-width: 760px) {
  .mike-profile-figure {
    float: none;
    width: min(170px, 58%);
    margin: 0 auto 24px;
  }

  .mike-profile-text h1 {
    text-align: center;
    font-size: clamp(34px, 10vw, 48px);
  }
}


/* ------------------------------------------------------------------
   Shin Jin v101 Gudo profile
   Scoped only to gudo-nishijima pages.
------------------------------------------------------------------ */
.gudo-profile-content {
  max-width: 980px;
  margin: 0 auto;
}

.gudo-profile-content::after {
  content: "";
  display: table;
  clear: both;
}

.gudo-profile-figure {
  float: right;
  width: min(150px, 24%);
  margin: 0 0 24px 34px;
}

.gudo-profile-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(55, 36, 8, .16);
}

.gudo-profile-text h1 {
  margin-top: 0;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.gudo-profile-text p {
  margin: 0 0 1.15em;
}

@media (max-width: 760px) {
  .gudo-profile-figure {
    float: none;
    width: min(140px, 45%);
    margin: 0 auto 24px;
  }

  .gudo-profile-text h1 {
    text-align: center;
    font-size: clamp(34px, 10vw, 48px);
  }
}
