/*
Theme Name:   Terry Blas GG
Theme URI:    https://terryblas.com
Description:  GeneratePress child theme for Terry Blas - Golden Girls variant
Author:       Danny - builtbydanny.com
Author URI:   https://builtbydanny.com
Template:     generatepress
Version:      1.0.0
Text Domain:  terryblas-gg
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  --cream:        #faf6ef;
  --cream-dark:   #f0e9dc;
  --cream-mid:    #e8dfd0;
  --ink:          #2a1f1a;
  --ink-soft:     #3d2e27;
  --ink-mid:      #5a4a42;

  --teal:         #2a8c8c;
  --teal-dark:    #1d6666;
  --teal-light:   #d4ecec;
  --teal-ghost:   rgba(42,140,140,0.08);

  --pink:         #d4457a;
  --pink-dark:    #a8305f;
  --pink-light:   #fce8f1;
  --pink-ghost:   rgba(212,69,122,0.08);

  --gold:         #c9963a;
  --gold-light:   #f5e8cf;

  --rule:         rgba(42,31,26,0.10);
  --rule-strong:  rgba(42,31,26,0.20);
  --panel-gap:    4px;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--cream); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── GENERATEPRESS OVERRIDES ─── */
body.generate-sidebar-layout-no-sidebar .inside-page-header { display: none; }
.site-content { padding-top: 0 !important; }
.inside-article { padding: 0 !important; }
.entry-content { margin: 0 !important; }
.page .entry-header { display: none; }
.main-navigation,
.site-header,
.site-footer { display: none !important; }

/* ─── NAVIGATION ─── */
#tb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(250,246,239,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s, box-shadow 0.3s;
}

#tb-nav.scrolled {
  background: rgba(250,246,239,0.98);
  box-shadow: 0 1px 24px rgba(42,31,26,0.08);
}

.tb-nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}
.tb-nav-logo span { color: var(--pink); }

.tb-nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.tb-nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
  transition: color 0.2s;
}

.tb-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.tb-nav-links a:hover,
.tb-nav-links .current-menu-item a { color: var(--teal); }
.tb-nav-links a:hover::after,
.tb-nav-links .current-menu-item a::after { transform: scaleX(1); }

.tb-nav-social {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-shrink: 0;
}

.tb-nav-social a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
  transition: color 0.2s;
}
.tb-nav-social a:hover { color: var(--pink); }

.tb-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.tb-nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.tb-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tb-nav-toggle.open span:nth-child(2) { opacity: 0; }
.tb-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── PAGE OFFSET ─── */
.page-wrap { padding-top: 72px; }

/* ─── PRESS MARQUEE BAR ─── */
.tb-press-bar {
  background: var(--teal);
  padding: 18px 0;
  overflow: hidden;
}

.tb-press-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tb-marquee 28s linear infinite;
  will-change: transform;
}
.tb-press-track:hover { animation-play-state: paused; }

.tb-press-item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: rgba(250,246,239,0.9);
  flex-shrink: 0;
}

.tb-press-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(250,246,239,0.4);
  flex-shrink: 0;
}

@keyframes tb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION UTILITIES ─── */
.tb-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.tb-section-label-line {
  width: 36px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}
.tb-section-label span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
}

.tb-section-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.88;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.tb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.tb-view-all {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.tb-view-all:hover { color: var(--teal); }

.tb-panel-bg-num {
  position: absolute;
  top: 32px; right: 48px;
  font-family: var(--font-display);
  font-size: 220px;
  line-height: 1;
  color: rgba(42,31,26,0.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* ─── BUTTONS ─── */
.tb-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 16px 36px;
  transition: background 0.22s, color 0.22s;
  border: none;
  cursor: pointer;
}
.tb-btn-dark:hover { background: var(--teal); color: var(--cream); }

.tb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  padding: 14px 28px;
  transition: border-color 0.22s, color 0.22s;
  background: transparent;
  cursor: pointer;
}
.tb-btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.tb-btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--teal);
  padding: 16px 36px;
  transition: background 0.22s;
  border: none;
  cursor: pointer;
}
.tb-btn-teal:hover { background: var(--teal-dark); }

.tb-btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--pink);
  padding: 16px 36px;
  transition: background 0.22s;
  border: none;
  cursor: pointer;
}
.tb-btn-pink:hover { background: var(--pink-dark); }

/* ─── TAGS & BADGES ─── */
.tb-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 5px 12px;
  width: fit-content;
}

.tb-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--pink);
  padding: 7px 14px;
}

/* ─── SCROLL REVEAL ─── */
.tb-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.tb-fade-up.tb-visible { opacity: 1; transform: translateY(0); }
.tb-delay-1 { transition-delay: 0.1s; }
.tb-delay-2 { transition-delay: 0.2s; }
.tb-delay-3 { transition-delay: 0.3s; }
.tb-delay-4 { transition-delay: 0.4s; }

/* ─── FOOTER ─── */
#tb-footer {
  background: var(--ink);
  border-top: 1px solid rgba(250,246,239,0.08);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.tb-footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.tb-footer-logo span { color: var(--pink); }

.tb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}
.tb-footer-links a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.35);
  transition: color 0.2s;
}
.tb-footer-links a:hover { color: var(--cream); }

.tb-footer-credit {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(250,246,239,0.22);
}
.tb-footer-credit a { color: var(--pink); }

/* ─── HERO ─── */
.tb-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.tb-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  position: relative;
  z-index: 2;
  background: var(--cream);
  border-right: var(--panel-gap) solid var(--cream-mid);
}

.tb-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.tb-hero-eyebrow-line { width: 48px; height: 2px; background: var(--teal); }
.tb-hero-eyebrow span {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

.tb-hero-name {
  font-family: var(--font-display);
  font-size: clamp(88px, 11vw, 160px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}
.tb-hero-name em { font-style: normal; color: var(--pink); display: block; }

.tb-hero-roles {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tb-hero-role {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.tb-hero-role::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.tb-hero-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 420px;
  margin-bottom: 40px;
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}

.tb-hero-cred-bar {
  display: flex;
  border: 1px solid var(--rule);
  margin-bottom: 48px;
  background: var(--cream-dark);
}
.tb-hero-cred {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.tb-hero-cred:last-child { border-right: none; }
.tb-hero-cred-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.tb-hero-cred-label {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
}

/* Hero right - image contained not cropped */
.tb-hero-right {
  position: relative;
  overflow: hidden;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-hero-slash {
  position: absolute;
  top: 0; bottom: 0; left: -56px;
  width: 56px;
  background: var(--teal);
  clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}

/* Slideshow - contained/letterboxed */
#tb-hero-slideshow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.tb-slide {
  position: absolute;
  inset: 40px;
  opacity: 0;
  transition: opacity 1.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-slide.tb-active { opacity: 1; }
.tb-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 48px rgba(42,31,26,0.18);
}

.tb-hero-img-label {
  position: absolute;
  bottom: 20px; right: 20px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.3);
  writing-mode: vertical-rl;
  z-index: 4;
}

/* ─── BOOKS SECTION ─── */
.tb-fp-books {
  padding: 120px 64px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.tb-books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--panel-gap);
}

.tb-book-card {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  display: block;
}
.tb-book-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.tb-book-card:hover img {
  transform: scale(1.06);
}
.tb-book-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,31,26,0.92) 0%, rgba(42,31,26,0.2) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.tb-book-card:hover .tb-book-card-overlay { opacity: 1; }
.tb-book-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1.2;
}

/* Books archive page */
.tb-books-page {
  padding: 100px 64px 120px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* ─── ART SECTION ─── */
.tb-fp-art {
  padding: 120px 64px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.tb-art-masonry {
  columns: 4;
  column-gap: var(--panel-gap);
}

.tb-art-item {
  break-inside: avoid;
  margin-bottom: var(--panel-gap);
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--cream-mid);
  cursor: pointer;
  padding: 10px;
  background: #f0ebe1;
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.10), 0 4px 20px rgba(42,31,26,0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tb-art-item:hover {
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.15), 0 8px 32px rgba(42,31,26,0.2);
  transform: translateY(-2px);
}
.tb-art-item img {
  width: 100%;
  display: block;
  transition: filter 0.4s ease;
}
.tb-art-item:hover img { filter: saturate(1.08); }

.tb-art-item-tint {
  position: absolute;
  inset: 10px;
  background: transparent;
  transition: background 0.3s ease;
  pointer-events: none;
}
.tb-art-item:hover .tb-art-item-tint { background: rgba(42,140,140,0.04); }

/* Full art page */
.tb-art-page {
  padding: 100px 64px 120px;
  background: var(--cream-dark);
  position: relative;
}
.tb-art-full-masonry {
  columns: 4;
  column-gap: var(--panel-gap);
}

/* ─── STANDEES ─── */
.tb-standees-strip {
  padding: 80px 64px;
  background: var(--cream);
  border-top: var(--panel-gap) solid var(--cream-mid);
}

.tb-standees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tb-standee-item {
  overflow: hidden;
  cursor: pointer;
  padding: 10px;
  background: #f0ebe1;
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.10), 0 4px 20px rgba(42,31,26,0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tb-standee-item:hover {
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.15), 0 8px 32px rgba(42,31,26,0.2);
  transform: translateY(-2px);
}
.tb-standee-item img {
  width: 100%;
  display: block;
  transition: filter 0.4s ease;
}
.tb-standee-item:hover img { filter: saturate(1.1); }

/* ─── ABOUT SNIPPET (homepage) ─── */
.tb-fp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}
.tb-fp-about-img {
  position: relative;
  overflow: hidden;
  background: var(--teal-light);
}
.tb-fp-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.tb-fp-about-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--cream) 100%);
  pointer-events: none;
}
.tb-fp-about-content {
  padding: 96px 80px 96px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.tb-about-body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 520px;
  margin-top: 24px;
}
.tb-about-body strong { font-weight: 700; color: var(--ink); }

/* ─── ABOUT PAGE ─── */
.tb-about-page { background: var(--cream); color: var(--ink); }
.tb-about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}
.tb-about-hero-img {
  position: relative;
  overflow: hidden;
  background: var(--teal-light);
}
.tb-about-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.tb-about-hero-content {
  padding: 100px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.tb-about-bio {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-top: 28px;
  max-width: 540px;
}
.tb-about-bio + .tb-about-bio { margin-top: 20px; }
.tb-about-bio strong { font-weight: 700; color: var(--ink); }
.tb-about-bio em { font-style: italic; }

/* CV */
.tb-cv-section {
  padding: 80px 64px 120px;
  background: var(--cream-dark);
  color: var(--ink);
}
.tb-cv-section .tb-section-header { border-bottom-color: var(--rule); }
.tb-cv-year-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.tb-cv-year-group:last-child { border-bottom: none; }
.tb-cv-year {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--teal);
  line-height: 1;
}
.tb-cv-entries { display: flex; flex-direction: column; gap: 10px; }
.tb-cv-entry { font-size: 14px; line-height: 1.55; color: var(--ink-mid); }
.tb-cv-entry em { font-style: italic; color: var(--ink); }
.tb-cv-entry strong { font-weight: 600; color: var(--ink); font-size: 13px; }

/* ─── SPEAKING ─── */
.tb-speaking-page { background: var(--cream); }
.tb-speaking-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 100px 64px;
  align-items: center;
  background: var(--cream);
}
.tb-speaking-img-wrap {
  position: relative;
  overflow: hidden;
}
.tb-speaking-img-wrap::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: 24px; bottom: 24px;
  border: 2px solid var(--teal);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.3s;
}
.tb-speaking-img-wrap:hover::before { transform: translate(6px, 6px); }
.tb-speaking-img-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}
.tb-speaking-body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-mid);
  margin-bottom: 36px;
}
.tb-speaking-list {
  list-style: none;
  border: 1px solid var(--rule);
  margin-bottom: 44px;
}
.tb-speaking-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  transition: background 0.2s, color 0.2s;
}
.tb-speaking-list li:last-child { border-bottom: none; }
.tb-speaking-list li:hover { background: var(--teal-ghost); color: var(--ink); }
.tb-speaking-list li::before { content: '—'; color: var(--teal); flex-shrink: 0; }

.tb-speaking-venues {
  padding: 80px 64px;
  background: var(--cream-dark);
  border-top: var(--panel-gap) solid var(--cream-mid);
}
.tb-venues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 48px;
}
.tb-venue-item {
  background: var(--cream-dark);
  padding: 32px 28px;
  font-size: 13px;
  color: var(--ink-mid);
  transition: background 0.2s;
}
.tb-venue-item:hover { background: var(--teal-light); }
.tb-venue-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ─── CONTACT ─── */
.tb-contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.tb-contact-left {
  background: var(--pink);
  padding: 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tb-contact-left .tb-section-label span { color: rgba(250,246,239,0.85); }
.tb-contact-left .tb-section-label-line { background: rgba(250,246,239,0.45); }
.tb-contact-left .tb-section-title { color: var(--cream); margin-bottom: 24px; }
.tb-contact-subtext {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(250,246,239,0.85);
  max-width: 440px;
}
.tb-contact-right {
  background: var(--cream-dark);
  padding: 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  width: 100%;
}
.tb-contact-form input,
.tb-contact-form textarea {
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}
.tb-contact-form input::placeholder,
.tb-contact-form textarea::placeholder {
  color: rgba(42,31,26,0.3);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tb-contact-form input:focus,
.tb-contact-form textarea:focus { border-color: var(--teal); }
.tb-contact-form textarea { min-height: 130px; }

/* ─── SINGLE BOOK ─── */
.tb-single-book { background: var(--cream); min-height: 100vh; }
.tb-single-book-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  min-height: 85vh;
  align-items: stretch;
}
.tb-single-book-cover-col {
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
}
.tb-single-cover-img {
  width: 100%;
  max-width: 280px;
  position: relative;
  z-index: 2;
  box-shadow: 20px 20px 0 var(--teal);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.tb-single-cover-img:hover {
  transform: translate(-5px, -5px);
  box-shadow: 25px 25px 0 var(--teal);
}
.tb-single-book-info {
  padding: 100px 80px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: var(--panel-gap) solid var(--cream-mid);
}
.tb-single-publisher {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
  margin: 16px 0 8px;
}
.tb-single-book-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.88;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 32px;
}
.tb-single-book-desc {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.82;
  color: var(--ink-mid);
  max-width: 560px;
  margin-bottom: 48px;
}
.tb-single-order-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.tb-single-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 14px 24px;
  transition: all 0.22s;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  background: transparent;
}
.tb-single-order-btn:hover { border-color: var(--teal); color: var(--teal); }
.tb-single-order-btn.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}
.tb-single-order-btn.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.tb-single-book-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.tb-single-meta-item { display: flex; flex-direction: column; gap: 4px; }
.tb-single-meta-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
}
.tb-single-meta-value {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.tb-single-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42,31,26,0.4);
  padding: 20px 64px;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
  background: var(--cream);
  position: sticky;
  top: 72px;
  z-index: 10;
}
.tb-single-back:hover { color: var(--teal); }
.tb-single-back::before { content: '←'; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .tb-hero { grid-template-columns: 1fr; }
  .tb-hero-right { min-height: 55vw; }
  .tb-hero-slash { display: none; }
  .tb-fp-about { grid-template-columns: 1fr; }
  .tb-fp-about-img { min-height: 50vw; }
  .tb-about-hero { grid-template-columns: 1fr; }
  .tb-about-hero-img { min-height: 50vw; }
  .tb-speaking-hero { grid-template-columns: 1fr; gap: 48px; }
  .tb-contact-page { grid-template-columns: 1fr; }
  .tb-single-book-hero { grid-template-columns: 1fr; }
  .tb-single-book-cover-col { min-height: 50vw; }
  .tb-books-grid { grid-template-columns: repeat(3, 1fr); }
  .tb-art-masonry, .tb-art-full-masonry { columns: 3; }
}

@media (max-width: 768px) {
  #tb-nav { padding: 0 24px; }
  .tb-nav-links, .tb-nav-social { display: none; }
  .tb-nav-toggle { display: flex; }
  .tb-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(250,246,239,0.98);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--rule);
  }
  .tb-nav-links.open a { font-size: 14px; }
  .tb-hero { display: flex; flex-direction: column-reverse; }
  .tb-hero-right { min-height: 60vw; }
  .tb-hero-left { padding: 48px 24px 64px; }
  .tb-fp-books, .tb-fp-art, .tb-books-page, .tb-art-page { padding: 80px 24px; }
  .tb-standees-strip { padding: 56px 24px; }
  .tb-fp-about-content { padding: 56px 24px; }
  .tb-about-hero-content { padding: 56px 24px; }
  .tb-cv-section { padding: 56px 24px 80px; }
  .tb-speaking-hero, .tb-speaking-venues { padding: 72px 24px; }
  .tb-contact-left, .tb-contact-right { padding: 72px 24px; }
  .tb-single-book-info { padding: 56px 24px; }
  .tb-single-back { padding: 16px 24px; }
  .tb-books-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-art-masonry, .tb-art-full-masonry { columns: 2; }
  .tb-standees-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-venues-grid { grid-template-columns: 1fr; }
  .tb-cv-year-group { grid-template-columns: 1fr; gap: 12px; }
  #tb-footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .tb-panel-bg-num { display: none; }
}

/* ─── LIGHTBOX ─── */
#tb-lb {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
  background: rgba(14,12,10,0.96) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}
#tb-lb.tb-lb-open {
  opacity: 1 !important;
  pointer-events: all !important;
}
#tb-lb-img {
  max-width: 80vw !important;
  max-height: 80vh !important;
  object-fit: contain !important;
  display: block !important;
  padding: 16px !important;
  background: #f0ebe1 !important;
  box-shadow: inset 0 0 0 1px rgba(14,12,10,0.15), 0 8px 48px rgba(14,12,10,0.8) !important;
}
#tb-lb-close {
  position: absolute !important;
  top: 24px !important;
  right: 32px !important;
  background: none !important;
  border: none !important;
  color: rgba(245,240,232,0.65) !important;
  font-size: 40px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
}
#tb-lb-prev {
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: rgba(245,240,232,0.65) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  padding: 16px !important;
}
#tb-lb-next {
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: rgba(245,240,232,0.65) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  padding: 16px !important;
}
#tb-lb-counter {
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 10px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: rgba(245,240,232,0.35) !important;
}
#tb-lb-close:hover,
#tb-lb-prev:hover,
#tb-lb-next:hover { color: #2a8c8c !important; }

/* ─── ART GALLERY V2: WP GALLERY BLOCK STYLES ─── */

.tb-art-v2-page .wp-block-heading {
  font-family: var(--font-display) !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 0.88 !important;
  letter-spacing: 0.03em !important;
  color: var(--ink) !important;
  margin: 80px 0 40px 0 !important;
  padding-top: 64px !important;
  border-top: 1px solid var(--rule) !important;
}

/* Kill WP gallery's flex/float layout entirely */
.tb-art-v2-page .wp-block-gallery,
.tb-art-v2-page .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 4px !important;
  margin: 0 0 80px 0 !important;
  padding: 0 !important;
  flex-wrap: unset !important;
  align-items: unset !important;
}

/* Each li/figure cell fills its grid slot */
.tb-art-v2-page .wp-block-gallery li,
.tb-art-v2-page .wp-block-gallery.has-nested-images .wp-block-image {
  display: block !important;
  width: 100% !important;
  flex-grow: unset !important;
  flex-basis: unset !important;
  margin: 0 !important;
  padding: 10px !important;
  background: #f0ebe1 !important;
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.10), 0 4px 20px rgba(42,31,26,0.12) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
  cursor: pointer !important;
  list-style: none !important;
}

.tb-art-v2-page .wp-block-gallery li:hover,
.tb-art-v2-page .wp-block-gallery.has-nested-images .wp-block-image:hover {
  box-shadow: inset 0 0 0 1px rgba(42,31,26,0.15), 0 8px 32px rgba(42,31,26,0.2) !important;
  transform: translateY(-2px) !important;
}

/* Images fill their frame */
.tb-art-v2-page .wp-block-gallery li figure,
.tb-art-v2-page .wp-block-gallery li img,
.tb-art-v2-page .wp-block-gallery .wp-block-image figure,
.tb-art-v2-page .wp-block-gallery .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: filter 0.4s ease !important;
}

.tb-art-v2-page .wp-block-gallery li:hover img,
.tb-art-v2-page .wp-block-gallery .wp-block-image:hover img {
  filter: saturate(1.1) !important;
}

/* Hide captions and overlay gradients WP adds */
.tb-art-v2-page .wp-block-gallery figcaption,
.tb-art-v2-page .wp-block-gallery .wp-element-caption,
.tb-art-v2-page .wp-block-gallery .blocks-gallery-item__caption {
  display: none !important;
}

.tb-art-v2-page .wp-block-gallery .wp-block-image a {
  display: block !important;
  pointer-events: none !important;
}

@media (max-width: 1100px) {
  .tb-art-v2-page .wp-block-gallery,
  .tb-art-v2-page .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .tb-art-v2-page .wp-block-gallery,
  .tb-art-v2-page .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}