:root {
  --cream: #f5f4e8;
  --cream-dark: #eeecda;
  --purple: #7b78c8;
  --purple-dark: #5552a0;
  --teal: #3db89e;
  --coral: #e8765a;
  --text: #2a2a3a;
  --text-muted: #6b6b8a;
  --border: rgba(123,120,200,0.14);
}

/* ── Hide ALL WordPress default theme header & footer ── */
header.wp-block-template-part,
footer.wp-block-template-part,
.wp-site-blocks > header,
.wp-site-blocks > footer,
.wp-block-template-part[class*="header"],
.wp-block-template-part[class*="footer"],
.site-header,
.site-footer,
#site-header,
#site-footer,
#masthead,
#colophon,
.wp-block-site-logo,
.wp-block-site-title,
.wp-block-navigation,
.designed-with-wordpress,
p.has-text-align-center a[href*="wordpress.org"] {
  display: none !important;
}

/* ── WordPress layout overrides ── */
body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f4e8;
  color: #2a2a3a;
  margin: 0;
}

.wp-block-post-content, .entry-content,
.is-layout-constrained > *, .is-layout-flow > *,
.has-global-padding {
  max-width: 100% !important;
  padding: 0 !important;
}

.wp-site-blocks, main.wp-block-group, .wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
}

.wp-block-post-title, .entry-title,
.wp-block-site-title, .site-title {
  display: none !important;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f5f4e8;
  border-bottom: 1px solid rgba(123,120,200,0.14);
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: block;
  width: 180px;
  height: 50px;
  background-image: url('https://worldlineevents.com/wp-content/uploads/2026/03/summerfest_transparent.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  text-decoration: none;
}

.nav-logo-bars,
.nav-logo-text { display: none; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-link {
  font-size: 13px;
  color: #6b6b8a;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 24px;
  border: 1.5px solid rgba(123,120,200,0.15);
  background: rgba(123,120,200,0.05);
}

.nav-link:hover { color: #7b78c8; }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #3db89e;
  border: none;
  padding: 9px 22px;
  border-radius: 24px;
  cursor: pointer;
  margin-left: 6px;
}

.nav-cta:hover { background: #34a48d; }

/* ── Hero ── */
.hero { background: #f5f4e8; padding: 0; }

.hero-img-wrap {
  width: 100%;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img { width: 100%; height: auto; display: block; }
.home .hero-img-wrap { height: 450px !important; }
.page-template-page-no-title:not(.home) .hero-img-wrap { height: 300px; }

.hero-meta-bar {
  width: 100%;
  background: #7b78c8;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.meta-item:last-of-type { border-right: none; }
.meta-label { font-size: 9px; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.meta-value { font-size: 13px; font-weight: 500; color: #fff; text-align: center; line-height: 1.3; }

.meta-cta {
  flex-shrink: 0;
  background: #e8765a;
  border: none;
  cursor: pointer;
  padding: 18px 28px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.meta-cta:hover { background: #d4613e; }

/* ── Sections ── */
.section { padding: 60px 48px; background: #f5f4e8; }
.section-white { padding: 60px 48px; background: #fff; }
.inner { max-width: 960px; margin: 0 auto; }

.eyebrow { font-size: 10px; font-weight: 500; color: #3db89e; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 32px; color: #2a2a3a; margin-bottom: 20px; line-height: 1.15; }
.section-body { font-size: 15px; line-height: 1.8; color: #6b6b8a; }
.section-body strong { color: #2a2a3a; font-weight: 500; }
.divider { height: 1px; background: rgba(123,120,200,0.14); margin: 0; }

/* ── Invited grid ── */
.invited-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.info-cards { display: flex; flex-direction: column; gap: 10px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  background: #f5f4e8;
  border-radius: 11px;
  border: 1px solid rgba(123,120,200,0.14);
  transition: transform 0.2s;
}

.info-card:hover { transform: translateX(3px); }

.info-icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ic-purple { background: rgba(123,120,200,0.1); }
.ic-teal   { background: rgba(61,184,158,0.1); }
.ic-coral  { background: rgba(232,118,90,0.1); }

.info-card-title { font-size: 13px; font-weight: 500; color: #2a2a3a; margin-bottom: 2px; }
.info-card-sub { font-size: 12px; color: #6b6b8a; line-height: 1.45; }

/* ── Events grid ── */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }

.event-card {
  padding: 20px;
  border-radius: 12px;
  background: #f5f4e8;
  border: 1px solid rgba(123,120,200,0.14);
  transition: transform 0.2s;
}

.event-card:hover { transform: translateY(-3px); }

.event-tag { display: inline-block; font-size: 9px; font-weight: 500; padding: 3px 10px; border-radius: 10px; margin-bottom: 10px; text-transform: uppercase; }
.t-teal   { background: rgba(61,184,158,0.12);  color: #1e7a68; }
.t-coral  { background: rgba(232,118,90,0.12);  color: #b85540; }
.t-purple { background: rgba(123,120,200,0.12); color: #5552a0; }

.event-name { font-size: 13px; font-weight: 500; color: #2a2a3a; margin-bottom: 4px; }
.event-desc { font-size: 12px; color: #6b6b8a; line-height: 1.55; }

/* ── Pages grid ── */
.pages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }

.page-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(123,120,200,0.14);
  background: #fff;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(123,120,200,0.12); }

.page-footer { padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; }
.page-footer-name { font-size: 13px; font-weight: 500; color: #2a2a3a; }
.page-footer-arrow { font-size: 15px; color: #7b78c8; transition: transform 0.2s; }
.page-card:hover .page-footer-arrow { transform: translateX(3px); }

/* ── Register ── */
.register-section { background: #7b78c8; padding: 64px 48px; text-align: center; }
.reg-title { font-family: 'DM Serif Display', serif; font-size: 34px; color: #fff; margin-bottom: 12px; }
.reg-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 30px; line-height: 1.75; }

.reg-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #e8765a;
  border: none;
  padding: 14px 38px;
  border-radius: 28px;
  cursor: pointer;
}

.reg-btn:hover { background: #d4613e; }
.reg-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 14px; }

/* ── Footer ── */
.footer {
  background: #eeecda;
  border-top: 1px solid rgba(123,120,200,0.14);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-text {
  display: block;
  width: 150px;
  height: 44px;
  font-size: 0;
  color: transparent;
  background-image: url('https://worldlineevents.com/wp-content/uploads/2026/03/summerfest_transparent.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.footer-logo-text span { display: none; }
.footer-copy { font-size: 12px; color: #6b6b8a; }
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 12px; color: #6b6b8a; text-decoration: none; }
.footer-link:hover { color: #7b78c8; }

/* ── FAQ ── */
.faq-category-label { font-size: 10px; font-weight: 500; color: #3db89e; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.faq-item { border-bottom: 1px solid rgba(123,120,200,0.14); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2a2a3a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q:hover { color: #7b78c8; }
.faq-arrow { font-size: 18px; color: #7b78c8; flex-shrink: 0; transition: transform 0.2s; }
.faq-a { font-size: 14px; color: #6b6b8a; line-height: 1.75; padding-bottom: 16px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

/* ── Hotel card ── */
.hotel-card { background: #fff; border-radius: 16px; border: 1px solid rgba(123,120,200,0.14); overflow: hidden; margin-top: 20px; max-width: 720px; margin-left: auto; margin-right: auto; }

.hotel-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(123,120,200,0.1); background: #f5f4e8; }
.hotel-name { font-size: 17px; font-weight: 500; color: #2a2a3a; }

.hotel-link { font-size: 12px; font-weight: 500; color: #fff; background: #3db89e; padding: 8px 18px; border-radius: 20px; text-decoration: none; white-space: nowrap; }
.hotel-link:hover { background: #34a48d; }

.hotel-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.hotel-rates { display: flex; flex-direction: column; gap: 6px; }
.rates-label { font-size: 11px; font-weight: 500; color: #2a2a3a; letter-spacing: 0.04em; margin-bottom: 4px; }

.rate-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #6b6b8a; padding: 8px 12px; background: #f5f4e8; border-radius: 8px; }
.rate-row.supplement { background: rgba(123,120,200,0.05); }
.rate-price { font-weight: 500; color: #2a2a3a; }

.hotel-meta { display: flex; flex-direction: column; gap: 8px; }
.hotel-meta-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6b6b8a; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(123,120,200,0.14); }
.hotel-meta-item strong { color: #2a2a3a; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-link { display: none; }
  .hero-img-wrap { height: 200px !important; }
  .hero-meta-bar { flex-wrap: wrap; }
  .meta-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .meta-cta { width: 100%; padding: 16px; }
  .section, .section-white { padding: 44px 20px; }
  .invited-grid { grid-template-columns: 1fr; gap: 28px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .pages-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-logo-text { margin: 0 auto; }
  .hotel-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .event-grid { grid-template-columns: 1fr; }
}
.nav-logo-bars,
.nav-logo-text {
  display: none !important;
}
.nav-logo img,
.nav-logo-bars,
.nav-logo-text,
.footer-logo-text img,
.footer-logo-text .nav-logo-text {
  display: none !important;
}
/* Make header Summerfest logo bigger */
.nav-logo {
  width: 220px !important;
  height: 70px !important;
}

/* Hide footer WORLDLINE logo - targeting all possibilities */
.footer-logo-text,
.footer .wp-block-site-logo,
.footer .wp-block-site-title,
.footer img,
.footer-logo-text img,
.footer [class*="logo"] {
  display: none !important;
}
/* Kill space left by hidden WP header */
header.wp-block-template-part,
.wp-site-blocks > header,
.site-header,
#masthead {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
/* Hide page title + surrounding spacers on subpages */
.wp-block-group:has(> .wp-block-post-title) {
  display: none !important;
}

/* Fallback for older browsers */
.wp-block-post-title {
  display: none !important;
}

.wp-block-spacer[aria-hidden="true"] {
  display: none !important;
}
/* Replace Worldline with MeTS in footer */
.footer-copy {
  font-size: 0;
  color: transparent;
}

.footer-copy::after {
  content: "© 2026 MeTS · Managed by ConnectIn Events";
  font-size: 12px;
  color: #6b6b8a;
}
