/* Buddhism in Daily Life — golden, serene temple atmosphere. Do not reuse on other pages. */

.tl-main.tl-main--buddhism {
  padding: 0;
  background: #f4f0e6;
}

.tl-bd {
  --bd-gold: #c9a24a;
  --bd-gold-deep: #8b6914;
  --bd-gold-soft: #e8d5a3;
  --bd-saffron: #c4782a;
  --bd-leaf: #3d5a3a;
  --bd-leaf-soft: #6a8a62;
  --bd-ink: #16120c;
  --bd-muted: #5a5044;
  --bd-paper: #f4f0e6;
  --bd-silk: #faf7f0;
  --bd-white: #fffcf7;
  --bd-teak: #1c1610;
  --bd-line: rgba(139, 105, 20, 0.22);
  --bd-serif: "Cormorant Garamond", "Times New Roman", serif;
  --bd-script: Caveat, "Segoe Script", cursive;
  color: var(--bd-ink);
  background: var(--bd-paper);
}

/* ——— Page intro (no cover) ——— */
.tl-bd-intro {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 36px 40px 28px;
}

.tl-bd-intro h1 {
  margin: 0 0 10px;
  max-width: 18ch;
  color: var(--bd-ink);
  font-family: var(--bd-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.tl-bd-intro__lead {
  max-width: 38em;
  margin: 0;
  color: var(--bd-muted);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 300;
  line-height: 1.55;
}

.tl-bd-kicker--ink {
  color: var(--bd-gold-deep);
  text-shadow: none;
}

.tl-bd-thai--ink {
  color: var(--bd-saffron);
}

.tl-bd-crumb--ink li + li::before {
  color: rgba(90, 80, 68, 0.45);
}

.tl-bd-crumb--ink a {
  color: var(--bd-muted) !important;
}

.tl-bd-crumb--ink a:hover,
.tl-bd-crumb--ink a:focus-visible {
  color: var(--bd-leaf) !important;
}

.tl-bd-crumb--ink [aria-current="page"] {
  color: var(--bd-ink);
}

.tl-bd-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.tl-bd-crumb li + li::before {
  content: "·";
  margin-right: 10px;
  color: rgba(248, 236, 216, 0.45);
}

.tl-bd-crumb a {
  color: rgba(248, 236, 216, 0.78) !important;
  text-decoration: none !important;
}

.tl-bd-crumb a:hover,
.tl-bd-crumb a:focus-visible {
  color: var(--bd-gold-soft) !important;
}

.tl-bd-crumb [aria-current="page"] {
  color: rgba(248, 236, 216, 0.95);
}

.tl-bd-kicker {
  margin: 0 0 12px;
  color: var(--bd-gold-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.tl-bd-thai {
  margin: 0 0 16px;
  font-family: var(--bd-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  font-weight: 500;
}

/* ——— Section nav ——— */
.tl-bd-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--bd-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(22, 18, 12, 0.04);
}

.tl-bd-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 12px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tl-bd-nav a {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--bd-ink) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}

.tl-bd-nav a:hover,
.tl-bd-nav a:focus-visible {
  color: var(--bd-leaf) !important;
  background: rgba(201, 162, 74, 0.14);
}

/* ——— Shared section shell ——— */
.tl-bd-section {
  padding: 64px 40px 72px;
  scroll-margin-top: 64px;
}

.tl-bd-section--gold {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(201, 162, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 20%, rgba(61, 90, 58, 0.08), transparent 50%),
    linear-gradient(180deg, #faf7f0 0%, #efe6d4 100%);
}

.tl-bd-section--paper {
  background: var(--bd-white);
  border-top: 1px solid var(--bd-line);
  border-bottom: 1px solid var(--bd-line);
}

.tl-bd-section--leaf {
  background:
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(61, 90, 58, 0.1), transparent 55%),
    var(--bd-silk);
}

.tl-bd-section--deep {
  background:
    linear-gradient(180deg, #1c1610 0%, #241c14 55%, #1a1610 100%);
  color: #f8ecd8;
}

.tl-bd-section--deep .tl-bd-ornament {
  color: var(--bd-gold-soft);
}

.tl-bd-section--deep .tl-bd-ornament::before,
.tl-bd-section--deep .tl-bd-ornament::after {
  background: linear-gradient(90deg, transparent, var(--bd-gold-soft));
}

.tl-bd-section--deep .tl-bd-ornament::after {
  background: linear-gradient(90deg, var(--bd-gold-soft), transparent);
}

.tl-bd-section--deep h2 {
  color: #faf3e6;
}

.tl-bd-section--deep .tl-bd-section__th {
  color: var(--bd-gold-soft);
}

.tl-bd-section--deep .tl-bd-section__head > p {
  color: rgba(248, 236, 216, 0.78);
}

.tl-bd-section__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tl-bd-section__head {
  max-width: 42em;
  margin-bottom: 36px;
}

.tl-bd-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--bd-gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tl-bd-ornament::before,
.tl-bd-ornament::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bd-gold));
}

.tl-bd-ornament::after {
  background: linear-gradient(90deg, var(--bd-gold), transparent);
}

.tl-bd-section h2 {
  margin: 0 0 10px;
  font-family: var(--bd-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tl-bd-section__th {
  display: block;
  margin-bottom: 12px;
  color: var(--bd-leaf);
  font-family: var(--bd-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
}

.tl-bd-section__head > p {
  margin: 0;
  color: var(--bd-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

/* ——— Feature split ——— */
.tl-bd-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.tl-bd-split--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.tl-bd-split--flip .tl-bd-split__media {
  order: 2;
}

.tl-bd-split--flip .tl-bd-split__copy {
  order: 1;
}

.tl-bd-split__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #eadbc6;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(22, 18, 12, 0.12);
}

.tl-bd-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.12), transparent 45%);
}

.tl-bd-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.tl-bd-banner {
  position: relative;
  margin: 36px 0 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 320px;
  background: #eadbc6;
  box-shadow: 0 18px 40px rgba(22, 18, 12, 0.12);
}

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

.tl-bd-split:hover .tl-bd-split__media img {
  transform: scale(1.03);
}

.tl-bd-split__copy p {
  margin: 0 0 14px;
  color: var(--bd-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.tl-bd-split__copy p:last-child {
  margin-bottom: 0;
}

.tl-bd-quote-line {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--bd-gold);
  color: var(--bd-ink);
  font-family: var(--bd-script);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

/* ——— Idea cards ——— */
.tl-bd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tl-bd-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tl-bd-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tl-bd-grid--spaced {
  margin-top: 36px;
}

.tl-bd-idea {
  padding: 26px 24px 28px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid transparent;
  border-bottom: 2px solid var(--bd-gold);
  box-shadow: 0 10px 28px rgba(22, 18, 12, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tl-bd-idea:hover {
  border-color: rgba(201, 162, 74, 0.35);
  box-shadow: 0 16px 36px rgba(22, 18, 12, 0.08);
}

.tl-bd-idea__num {
  display: block;
  margin-bottom: 10px;
  color: var(--bd-gold);
  font-family: var(--bd-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.tl-bd-idea h3 {
  margin: 0 0 4px;
  font-family: var(--bd-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-bd-idea__th {
  display: block;
  margin-bottom: 12px;
  color: var(--bd-leaf);
  font-size: 13px;
  font-weight: 500;
}

.tl-bd-idea p {
  margin: 0;
  color: var(--bd-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

/* ——— Words ——— */
.tl-bd-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tl-bd-word {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 7.5rem;
  padding: 12px 16px;
  background: rgba(255, 252, 247, 0.85);
  border: 1px solid var(--bd-line);
}

.tl-bd-word strong {
  color: var(--bd-ink);
  font-family: var(--bd-serif);
  font-size: 18px;
  font-weight: 600;
}

.tl-bd-word span {
  color: var(--bd-muted);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ——— Etiquette checklist ——— */
.tl-bd-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-bd-checks li {
  position: relative;
  padding: 18px 18px 18px 48px;
  background: var(--bd-white);
  border: 1px solid var(--bd-line);
  color: var(--bd-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-bd-checks li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--bd-gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(201, 162, 74, 0.15);
}

.tl-bd-checks strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bd-ink);
  font-family: var(--bd-serif);
  font-size: 17px;
  font-weight: 600;
}

.tl-bd-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--bd-line);
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.95), rgba(232, 213, 163, 0.28));
}

.tl-bd-callout p {
  margin: 0;
  color: var(--bd-ink);
  font-family: var(--bd-script);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.tl-bd-callout span {
  display: block;
  margin-top: 10px;
  color: var(--bd-muted);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  font-style: normal;
}

.tl-bd-note {
  margin: 28px auto 0;
  max-width: 48em;
  color: var(--bd-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.tl-bd-section--deep .tl-bd-note {
  color: rgba(248, 236, 216, 0.7);
}

/* ——— Learn panels ——— */
.tl-bd-panel {
  padding: 26px 24px 28px;
  background: var(--bd-white);
  border: 1px solid var(--bd-line);
  border-top: 3px solid var(--bd-gold);
  box-shadow: 0 8px 24px rgba(22, 18, 12, 0.03);
}

.tl-bd-panel h3 {
  margin: 0 0 4px;
  font-family: var(--bd-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-bd-panel__th {
  display: block;
  margin-bottom: 12px;
  color: var(--bd-leaf);
  font-size: 13px;
  font-weight: 500;
}

.tl-bd-panel p {
  margin: 0;
  color: var(--bd-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-bd-panel a {
  color: var(--bd-gold-deep) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ——— Holy days timeline ——— */
.tl-bd-year {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(201, 162, 74, 0.35);
}

.tl-bd-year__item {
  position: relative;
  padding: 0 0 28px 28px;
}

.tl-bd-year__item:last-child {
  padding-bottom: 0;
}

.tl-bd-year__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bd-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.tl-bd-year__when {
  display: block;
  margin-bottom: 6px;
  color: var(--bd-gold-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-bd-year__item h3 {
  margin: 0 0 4px;
  color: #faf3e6;
  font-family: var(--bd-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.tl-bd-year__th {
  display: block;
  margin-bottom: 8px;
  color: rgba(232, 213, 163, 0.9);
  font-size: 14px;
  font-style: italic;
  font-family: var(--bd-serif);
}

.tl-bd-year__item p {
  margin: 0;
  max-width: 42em;
  color: rgba(248, 236, 216, 0.78);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-bd-year__tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 162, 74, 0.4);
  color: var(--bd-gold-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-bd-year-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 40px;
  align-items: start;
}

.tl-bd-year-layout__media {
  position: sticky;
  top: 88px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #2a2218;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.tl-bd-year-layout__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-bd-year-layout__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(22, 18, 12, 0.85), transparent);
  color: rgba(248, 236, 216, 0.85);
  font-family: var(--bd-script);
  font-size: 18px;
}

/* ——— Close ——— */
.tl-bd-close {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 64px 40px;
  color: #f8ecd8;
  background-color: var(--bd-teak);
  background-image:
    linear-gradient(
      105deg,
      rgba(22, 18, 12, 0.9) 0%,
      rgba(22, 18, 12, 0.55) 50%,
      rgba(61, 90, 58, 0.28) 100%
    ),
    var(--tl-bd-close);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tl-bd-close__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tl-bd-close h2 {
  margin: 0 0 12px;
  font-family: var(--bd-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
}

.tl-bd-close p:not(.tl-bd-kicker) {
  max-width: 32em;
  margin: 0 0 24px;
  color: rgba(248, 236, 216, 0.82);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-bd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tl-bd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  background: rgba(22, 18, 12, 0.5);
  color: #faf3e6 !important;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.65);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.25s ease;
}

.tl-bd-btn:hover,
.tl-bd-btn:focus-visible {
  background: var(--bd-gold-deep);
  color: #fff8ea !important;
}

.tl-bd-btn--ghost {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .tl-bd-split:hover .tl-bd-split__media img {
    transform: none;
  }
}

@media (max-width: 960px) {
  .tl-bd-split,
  .tl-bd-split--flip,
  .tl-bd-year-layout {
    grid-template-columns: 1fr;
  }

  .tl-bd-split--flip .tl-bd-split__media,
  .tl-bd-split--flip .tl-bd-split__copy {
    order: unset;
  }

  .tl-bd-year-layout__media {
    position: relative;
    top: auto;
    max-height: 420px;
  }

  .tl-bd-grid--4,
  .tl-bd-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .tl-bd-intro,
  .tl-bd-section,
  .tl-bd-close {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tl-bd-intro h1 {
    max-width: none;
  }

  .tl-bd-checks,
  .tl-bd-grid,
  .tl-bd-grid--4,
  .tl-bd-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tl-bd-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
