/* ── TAPUA BRAND TOKENS ───────────────────────────────────────────────────── */
:root {
  /* Teal family */
  --teal-deep:  #1E5252;
  --teal-mid:   #2D6B6B;
  --teal-light: #3D8080;
  --teal-pale:  #EAF3F3;

  /* Orange/accent */
  --orange:   #E8652A;
  --orange-s: #F28050;

  /* Olive/green */
  --olive:   #6B8C3A;
  --olive-l: #8AAD52;

  /* Gold */
  --gold:   #C8860A;
  --gold-l: #E8A820;

  /* Lotus/pink */
  --lotus:   #E8829A;
  --lotus-d: #C46080;

  /* Neutrals */
  --cream:      #FAF5EE;
  --warm-white: #FDFAF6;
  --ink:        #0F2B2B;
  --ink-mid:    #2C4A4A;
  --ink-light:  #5A7575;
  --border:     rgba(45, 107, 107, 0.13);

  /* Spacing */
  --section-pad: 88px 7vw;
  --section-pad-sm: 60px 5vw;
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Clip horizontal overflow at the site wrapper, not body.
   overflow-x: hidden on body breaks position:sticky nav and viewport-bleed calc() tricks on some hosts. */
.site {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ── MAIN LAYOUT WRAPPER ───────────────────────────────────────────────────── */
.site {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── SVG DEFS HIDDEN ───────────────────────────────────────────────────────── */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── TOP / BOTTOM MADHUBANI STRIP ─────────────────────────────────────────── */
.page-strip-top,
.page-strip-bot { display: block; width: 100%; height: 18px; }

/* ── TYPOGRAPHY UTILITIES ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block; width: 22px; height: 1.5px;
  background: var(--orange); border-radius: 2px;
}
.eyebrow.light { color: var(--gold-l); }
.eyebrow.light::before { background: var(--gold-l); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before,
.eyebrow.center::after {
  content: ''; display: block; width: 22px; height: 1.5px;
  background: var(--orange); border-radius: 2px;
}

.h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 50px);
  line-height: 1.12; font-weight: 700; color: var(--ink);
}
.h2 em { font-style: italic; color: var(--teal-mid); }
.h2 .o  { color: var(--orange); }
.h2.light { color: var(--cream); }
.h2.light em { color: var(--gold-l); }

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 30px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 3px; font-weight: 700; border: none; cursor: pointer;
  transition: background .25s, transform .25s;
  font-family: 'Nunito', sans-serif;
}
.btn-p:hover { background: var(--teal-deep); transform: translateY(-2px); }

.btn-o {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(253, 250, 246, .32); color: rgba(253, 250, 246, .82);
  padding: 13px 26px; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 3px; font-weight: 600;
  transition: border-color .2s, color .2s;
  font-family: 'Nunito', sans-serif;
}
.btn-o:hover { border-color: var(--gold-l); color: var(--gold-l); }

/* ── FADE-IN ANIMATION ─────────────────────────────────────────────────────── */
.fi {
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.fi.in { opacity: 1; transform: none; }

/* ── MADHUBANI SECTION DIVIDER ─────────────────────────────────────────────── */
.mbd-div {
  display: flex; align-items: center; gap: 12px;
  padding: 0 7vw; height: 52px; background: var(--warm-white);
}
.mbd-div-line { flex: 1; height: 1px; background: var(--border); }
.mbd-div-motif { display: flex; align-items: center; gap: 6px; }
.mdot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--teal-mid); }
.mdot.f { background: var(--teal-mid); }
.mbd-div.cream { background: var(--cream); }

/* ── MARQUEE ───────────────────────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--teal-mid); padding: 13px 0; overflow: hidden; display: flex;
}
.mq-track {
  display: flex; gap: 0;
  animation: tapua-mq 24s linear infinite; white-space: nowrap;
}
.mq-item {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.8); padding: 0 26px;
  display: flex; align-items: center; gap: 14px; font-weight: 600;
}
.mqdot { display: inline-block; width: 5px; height: 5px; background: var(--gold-l); border-radius: 50%; flex-shrink: 0; }
@keyframes tapua-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── MARKETPLACE BUTTONS ───────────────────────────────────────────────────── */
.tapua-marketplace-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.tapua-mp-label {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-light); font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; gap: 7px;
}
.tapua-mp-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.tapua-mp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 4px;
  background: var(--mp-bg, #fff); border: 1.5px solid var(--mp-color, #1E5252);
  color: var(--mp-color, #1E5252); font-size: 12px; font-weight: 700;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  font-family: 'Nunito', sans-serif;
}
.tapua-mp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.tapua-mp-logo { font-size: 16px; }

/* ── GENERIC CARD ─────────────────────────────────────────────────────────── */
.tapua-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.tapua-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,82,82,.1); }

/* ── WORDPRESS ALIGNMENT HELPERS ──────────────────────────────────────────── */
.alignleft  { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--ink-light); text-align: center; margin-top: 6px; }

/* ── TEMPLATE EXTRACTED STYLES ────────────────────────────────────────────── */
.tapua-archive-wrapper { padding: 60px 7vw; min-height: 60vh; }
.tapua-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tapua-post-card-inner { padding: 20px; }
.tapua-post-card-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--teal-deep); margin-bottom: 8px; }
.tapua-post-card-title a { text-decoration: none; color: inherit; }
.tapua-post-card-excerpt { font-size: 13px; color: var(--ink-light); line-height: 1.7; }
.tapua-post-nav { margin-top: 40px; text-align: center; }
.tapua-no-content { text-align: center; color: var(--ink-light); padding: 80px 0; }

.tapua-woo-archive-wrapper { padding: 48px 7vw 80px; }
.tapua-woo-archive-header { margin-bottom: 40px; }
.tapua-woo-archive-desc { color: var(--ink-light); font-size: 14px; margin-top: 10px; max-width: 600px; }
