/*
Theme Name:  CSYP Child
Theme URI:   https://csyp.org
Description: Center Stage Youth Performers — custom child theme built on GeneratePress.
Author:      CSYP
Template:    generatepress
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csyp-child
*/

/* ══════════════════════════════════════════════════════════════════════
   ROOT & RESET
══════════════════════════════════════════════════════════════════════ */
:root {
  --bg:          #0e0b16;
  --bg-card:     #16121f;
  --bg-nav:      rgba(14,11,22,0.96);
  --gold:        #c9a84c;
  --gold-light:  #e2c47a;
  --cream:       #f0ebe0;
  --muted:       #9e9488;
  --border:      rgba(201,168,76,0.18);
  --border-soft: rgba(255,255,255,0.08);
  --r:           10px;
  --max:         1080px;
}

body.csyp-home {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Kill GeneratePress structural elements on front page */
body.csyp-home #page,
body.csyp-home .site-header,
body.csyp-home .main-navigation,
body.csyp-home .site-footer { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════
   SHARED UTILITIES
══════════════════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--gold);
  color: #0e0b16;
  padding: 12px 26px;
  border-radius: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); color: #0e0b16; }

.btn-outline {
  background: transparent;
  color: var(--cream);
  padding: 12px 26px;
  border-radius: 7px;
  border: 1px solid rgba(240,235,224,0.4);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline-block;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--cream); }

.csyp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════════════ */
.csyp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.csyp-nav.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.csyp-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.csyp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.csyp-logo img,
.csyp-logo .custom-logo-link img,
.csyp-logo a img {
  height: 75px !important;
  width: auto !important;
  max-width: 75px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}
.csyp-logo a { display: flex; align-items: center; }
.csyp-logo .custom-logo-link { display: flex; align-items: center; }
.csyp-logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  line-height: 1.25;
  color: var(--cream);
  max-width: 160px;
}
.csyp-logo-text em { color: var(--gold); font-style: italic; }

/* Desktop menu */
.csyp-menu-wrap { display: flex; align-items: center; }
.csyp-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.csyp-menu > li { position: relative; margin: 0; }
.csyp-menu > li > a {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.csyp-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}
.csyp-menu > li > a:hover { color: var(--gold); }
.csyp-menu > li > a:hover::after { transform: scaleX(1); }

/* Sub-menus */
.csyp-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  z-index: 100;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.csyp-menu > li:hover > .sub-menu { display: block; }
.csyp-menu .sub-menu li { margin: 0; }
.csyp-menu .sub-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}
.csyp-menu .sub-menu a:hover { color: var(--cream); background: rgba(255,255,255,0.04); }

/* Register as CTA button */
.csyp-menu .menu-register > a,
.csyp-menu li.menu-item-register > a {
  background: var(--gold);
  color: #0e0b16 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}
.csyp-menu .menu-register > a:hover,
.csyp-menu li.menu-item-register > a:hover {
  background: var(--gold-light);
}
.csyp-menu .menu-register > a::after,
.csyp-menu li.menu-item-register > a::after { display: none; }

/* Hamburger */
.csyp-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 8px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.csyp-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.csyp-mobile-menu {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 24px 24px;
}
.csyp-mobile-menu.open { display: block; }
.csyp-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.csyp-mobile-menu > ul > li {
  border-bottom: 1px solid var(--border-soft);
  margin: 0;
}
.csyp-mobile-menu > ul > li > a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}
.csyp-mobile-menu .sub-menu {
  padding: 0 0 10px 12px;
  list-style: none;
}
.csyp-mobile-menu .sub-menu a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 780px) {
  .csyp-menu-wrap { display: none; }
  .csyp-hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════ */
.csyp-hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--bg);
}

.csyp-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}
.csyp-slide.active {
  opacity: 1;
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

.csyp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14,11,22,0.3) 0%,
    rgba(14,11,22,0.15) 35%,
    rgba(14,11,22,0.65) 70%,
    rgba(14,11,22,0.97) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 96px;
  text-align: center;
  z-index: 2;
}

.csyp-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.csyp-hero-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(38px, 7.5vw, 74px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.csyp-hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.csyp-hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(240,235,224,0.72);
  max-width: 500px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.csyp-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Slide dots */
.csyp-hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.csyp-dot {
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: rgba(240,235,224,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.3s;
}
.csyp-dot.active {
  background: var(--gold);
  width: 24px;
}

/* ══════════════════════════════════════════════════════════════════════
   SHOW ANNOUNCEMENT
══════════════════════════════════════════════════════════════════════ */
.csyp-show {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.csyp-show::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% 50%, rgba(201,168,76,0.055), transparent);
  pointer-events: none;
}

.csyp-show-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

.csyp-show-badge {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 16px;
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}

.csyp-show-content { flex: 1; min-width: 220px; }

.csyp-show-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 4px;
}

.csyp-show-dates {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════
   PROGRAMS
══════════════════════════════════════════════════════════════════════ */
.csyp-programs {
  padding: 80px 24px;
}

.csyp-section-head {
  max-width: var(--max);
  margin: 0 auto 44px;
}

.csyp-section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.08;
}
.csyp-section-title em { font-style: italic; color: var(--gold-light); }

.csyp-programs-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.csyp-prog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.25s, transform 0.25s;
}
.csyp-prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--gold));
}
.csyp-prog-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.csyp-prog-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, var(--gold));
  margin-bottom: 9px;
  font-weight: 500;
}
.csyp-prog-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.2;
}
.csyp-prog-ages {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.csyp-prog-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 22px;
}
.csyp-prog-link {
  font-size: 13px;
  color: var(--accent, var(--gold));
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.csyp-prog-link::after {
  content: '›';
  font-size: 17px;
  line-height: 1;
  transition: transform 0.2s;
}
.csyp-prog-card:hover .csyp-prog-link::after { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════════════
   INSTAGRAM / SOCIAL
══════════════════════════════════════════════════════════════════════ */
.csyp-social {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  padding: 80px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Smash Balloon adds excess bottom margin — pull it back */
.csyp-insta-feed-wrap #sbi_mod,
.csyp-insta-feed-wrap .sbi-feed-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.csyp-insta-feed-wrap {
  margin-bottom: 0 !important;
}
/* Nuclear option — clip any overflow Smash Balloon injects */
.csyp-insta-feed-wrap > div,
.csyp-insta-feed-wrap > div > div {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#sbi_images { margin-bottom: 0 !important; }
#sbi_load   { margin-top: 16px !important; margin-bottom: 0 !important; }

/* Control bottom spacing explicitly */
.csyp-social-inner {
  padding-bottom: 80px;
}
.csyp-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201,168,76,0.045), transparent);
  pointer-events: none;
}

.csyp-social-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  padding-bottom: 40px;
}

/* Clip Smash Balloon's injected whitespace at the section level */
.csyp-social {
  padding-bottom: 0;
}
.csyp-social-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
}
/* Add our own controlled bottom padding after the feed */
.csyp-social-links {
  padding-bottom: 80px;
}
.csyp-insta-feed-wrap {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}
.csyp-insta-feed-wrap .sb_instagram,
.csyp-insta-feed-wrap #sbi_mod {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* Force feed to stay within container width */
.csyp-insta-feed-wrap #sbi_mod,
.csyp-insta-feed-wrap .sbi-feed-container,
.csyp-insta-feed-wrap .sb_instagram {
  max-width: 100% !important;
  width: 100% !important;
}
.csyp-social-inner .csyp-section-head { margin-bottom: 28px; }

.csyp-insta-feed-wrap { margin: 36px 0 0; }

/* Override Smash Balloon to match our theme */
.csyp-insta-feed-wrap #sbi_load .sbi_load_btn {
  background: var(--gold) !important;
  color: #0e0b16 !important;
  border: none !important;
  border-radius: 7px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 600 !important;
}
.csyp-insta-feed-wrap .sbi_header { display: none !important; }

.csyp-social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.csyp-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  padding: 9px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  transition: all 0.2s;
  font-weight: 500;
}
.csyp-social-link:hover {
  color: var(--gold);
  border-color: var(--border);
  background: rgba(201,168,76,0.05);
}
.csyp-social-link svg { flex-shrink: 0; }

.csyp-insta-placeholder {
  font-size: 14px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════ */
.csyp-footer {
  background: #070510;
  border-top: 1px solid var(--border-soft);
  padding: 56px 24px 28px;
}

.csyp-footer-grid {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.csyp-footer-logo-mark {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 12px;
}
.csyp-footer-logo-mark em { color: var(--gold); font-style: italic; }
.csyp-footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.7; }

.csyp-footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.csyp-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.csyp-footer-col a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.csyp-footer-col a:hover { color: var(--gold); }

.csyp-footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.csyp-footer-copy { font-size: 12px; color: var(--muted); }
.csyp-footer-social-links { display: flex; gap: 18px; }
.csyp-footer-social-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.csyp-footer-social-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .csyp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .csyp-show-inner { flex-direction: column; text-align: center; gap: 16px; }
  .csyp-hero-ctas { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .csyp-programs-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════════════
   INTERIOR PAGES — shared body styles
══════════════════════════════════════════════════════════════════════ */
body.csyp-interior {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Kill GeneratePress structural elements on interior pages */
body.csyp-interior #page,
body.csyp-interior .site-header,
body.csyp-interior .main-navigation,
body.csyp-interior .site-footer { display: none !important; }

/* ── PAGE HERO BAR ─────────────────────────────────────────────────── */
.csyp-page-hero {
  padding: 148px 24px 52px;
  background: linear-gradient(180deg, rgba(14,11,22,0) 0%, var(--bg) 100%),
              radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.csyp-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -1;
}

.csyp-page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.csyp-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.csyp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.csyp-breadcrumb a:hover { color: var(--gold); }
.csyp-breadcrumb span[aria-hidden] { color: var(--border); }
.csyp-breadcrumb [aria-current] { color: var(--cream); }

.csyp-page-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin: 0;
}

/* ── OUTER WRAPPER ─────────────────────────────────────────────────── */
.csyp-page-outer {
  background: var(--bg);
  padding: 52px 24px 80px;
}

/* ── TWO-COLUMN: content + sidebar ────────────────────────────────── */
.csyp-page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 52px;
  align-items: start;
}

/* Full-width override (template-full-width.php) */
.csyp-page-wrap--full {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.csyp-page-content--full { max-width: 100%; }

@media (max-width: 860px) {
  .csyp-page-wrap { grid-template-columns: 1fr; }
  .csyp-sidebar   { order: -1; } /* sidebar above content on mobile */
}

/* ── CONTENT TYPOGRAPHY ────────────────────────────────────────────── */
.csyp-page-content {
  min-width: 0; /* prevent grid blowout */
}

.csyp-entry h1,
.csyp-entry h2,
.csyp-entry h3,
.csyp-entry h4,
.csyp-entry h5,
.csyp-entry h6 {
  font-family: 'Libre Baskerville', serif;
  color: var(--cream);
  line-height: 1.2;
  margin: 1.6em 0 0.55em;
}
.csyp-entry h1 { font-size: clamp(26px, 4vw, 36px); }
.csyp-entry h2 { font-size: clamp(22px, 3vw, 28px); color: var(--gold-light); }
.csyp-entry h3 { font-size: clamp(18px, 2.5vw, 22px); }
.csyp-entry h4 { font-size: 17px; }
.csyp-entry h5, .csyp-entry h6 { font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.csyp-entry p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 1.2em;
}

.csyp-entry a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.csyp-entry a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* Lists */
.csyp-entry ul,
.csyp-entry ol {
  margin: 0 0 1.2em 1.4em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.csyp-entry li { margin-bottom: 0.35em; }
.csyp-entry ul li::marker { color: var(--gold); }
.csyp-entry ol li::marker { color: var(--gold); font-family: 'Libre Baskerville', serif; }

/* Blockquote */
.csyp-entry blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.8em 0;
  padding: 14px 24px;
  background: rgba(201,168,76,0.04);
  border-radius: 0 var(--r) var(--r) 0;
}
.csyp-entry blockquote p {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  margin: 0;
}

/* Tables */
.csyp-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}
.csyp-entry thead th {
  background: var(--bg-card);
  color: var(--gold);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.csyp-entry tbody td {
  padding: 11px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  line-height: 1.6;
}
.csyp-entry tbody tr:last-child td { border-bottom: none; }
.csyp-entry tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* Images */
.csyp-entry img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  display: block;
  margin: 1.6em 0;
}

/* HR */
.csyp-entry hr {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 2em 0;
}

/* Strong / Em */
.csyp-entry strong { color: var(--cream); font-weight: 600; }
.csyp-entry em { color: var(--gold-light); font-style: italic; }

/* Code */
.csyp-entry code {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 13px;
  color: var(--gold-light);
}

/* Page pagination (<!--nextpage-->) */
.csyp-page-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 2em 0;
  font-size: 13px;
  color: var(--muted);
}
.csyp-page-links span a,
.csyp-page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}
.csyp-page-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ── SIDEBAR ────────────────────────────────────────────────────────── */
.csyp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 106px; /* clears taller nav */
}

.csyp-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.csyp-sidebar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

/* Registration CTA card gets a subtle glow */
.csyp-sidebar-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06), transparent);
  pointer-events: none;
}

.csyp-sidebar-badge {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 500;
}

.csyp-sidebar-card-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.3;
}

.csyp-sidebar-card-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

/* Contact links inside sidebar card */
.csyp-sidebar-contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.csyp-sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.csyp-sidebar-contact-item svg { flex-shrink: 0; color: var(--gold); }
.csyp-sidebar-contact-item:hover { color: var(--gold); }

/* Widget area inside sidebar */
.csyp-sidebar-widgets .widget {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.csyp-sidebar-widgets .widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.csyp-sidebar-widgets .widget-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  color: var(--cream);
  margin: 0 0 14px;
}
.csyp-sidebar-widgets .widget ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.csyp-sidebar-widgets .widget ul a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.csyp-sidebar-widgets .widget ul a:hover { color: var(--gold); }
.csyp-sidebar-widgets .widget p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════
   PAGE BANNER PHOTO
══════════════════════════════════════════════════════════════════════ */
.csyp-page-banner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.csyp-page-banner img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r);
  margin: 0 0 0;
}

@media (max-width: 640px) {
  .csyp-page-banner img {
    height: 220px;
    border-radius: 7px;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   SMASH BALLOON — FOLLOW BUTTON OVERRIDE
══════════════════════════════════════════════════════════════════════ */
.csyp-insta-feed-wrap .sbi_follow_btn a,
.csyp-insta-feed-wrap .sbi_follow_btn a:visited {
  background: var(--gold) !important;
  color: #0e0b16 !important;
  border: none !important;
  border-radius: 7px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 600 !important;
}
.csyp-insta-feed-wrap .sbi_follow_btn a:hover {
  background: #c9a84c !important;
  color: #0e0b16 !important;
}
.csyp-insta-feed-wrap .sbi_follow_btn a svg,
.csyp-insta-feed-wrap .sbi_follow_btn a i {
  color: #0e0b16 !important;
  fill: #0e0b16 !important;
}


/* ══════════════════════════════════════════════════════════════════════
   GUTENBERG BUTTON BLOCK — btn-primary override
══════════════════════════════════════════════════════════════════════ */
.wp-block-button.btn-primary {
  display: inline-block !important;
  width: auto !important;
  background: none !important;
}
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary a {
  background: #c9a84c !important;
  color: #0e0b16 !important;
  border: none !important;
  border-radius: 7px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 26px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  display: inline-block !important;
  width: auto !important;
}
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary a:hover {
  background: #e2c47a !important;
  color: #0e0b16 !important;
  opacity: 1;
}
