/* ============================================================
   Smokin' on the Rio — Pixel-faithful rebuild
   Extracted from the original SP Page Builder inline CSS
   ============================================================ */

:root {
  /* Brand palette — pulled from the SP Page Builder inline style */
  --red:          #FE0000;
  --red-hover:    #ff2525;
  --red-alt:      #FF0000;   /* hero section background */
  --white:        #ffffff;
  --black:        #000000;
  --text-dark:    #252525;   /* Helix default body text */
  --text-body:    #000000;   /* site override in original */
  --text-muted:   #9e9e9e;
  --section-alt:  #f0f2f5;   /* light gray band below hero */
  --footer-bg:    #171717;
  --footer-text:  #ffffff;
  --footer-link:  #a2a2a2;
  --topbar-bg:    #333333;
  --topbar-text:  #aaaaaa;
  --border-soft:  #ededed;

  /* Typography */
  --font-body:    'Rubik', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container-max: 1320px;
  --header-h:      180px;   /* large original logo height */
  --header-h-sm:   60px;

  /* Motion */
  --ease:         cubic-bezier(.4,0,.2,1);
  --t-fast:       180ms;
  --t-med:        320ms;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover, a:focus { color: var(--red-hover); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .75rem;
  color: var(--text-dark);
}
button { font-family: inherit; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================================
   Top bar
   ============================================================ */
#sp-top-bar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 14px;
  padding: 8px 0;
}
#sp-top-bar a { color: var(--topbar-text); }
#sp-top-bar a:hover { color: var(--white); }
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sp-contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 20px;
}
.sp-contact-info li i { margin-right: 6px; }

/* ============================================================
   Header
   ============================================================ */
#sp-header {
  background: var(--white);
  box-shadow: 0 2px 3px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
#sp-logo .logo-image {
  height: var(--header-h);
  padding: 10px 0;
  width: auto;
  transition: height var(--t-med) var(--ease);
}

/* ============================================================
   Mega menu (desktop)
   ============================================================ */
#sp-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-megamenu-parent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.sp-megamenu-parent > li {
  position: relative;
}
.sp-megamenu-parent > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0 15px;
  line-height: var(--header-h);
  transition: color var(--t-fast) var(--ease);
}
.sp-megamenu-parent > li > a i { font-size: 10px; opacity: .7; }
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li.active > a { color: var(--red); }

/* Dropdown */
.sp-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(0,0,0,.14);
  border-top: 3px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear var(--t-fast);
  z-index: 100;
  padding: 10px 0;
}
.sp-megamenu-parent > li:hover > .sp-dropdown,
.sp-megamenu-parent > li:focus-within > .sp-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.sp-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-dropdown ul li a {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 20px;
  transition: background var(--t-fast), color var(--t-fast);
}
.sp-dropdown ul li a:hover {
  background: var(--section-alt);
  color: var(--red);
}

/* Burger */
#offcanvas-toggler {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 28px; }
.burger span {
  display: block; height: 3px; background: var(--text-dark);
  border-radius: 2px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Offcanvas (mobile menu)
   ============================================================ */
.offcanvas-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med), visibility 0s linear var(--t-med);
  z-index: 1001;
}
.offcanvas-overlay.is-open {
  opacity: 1; visibility: visible;
  transition: opacity var(--t-med);
}
.offcanvas-menu {
  position: fixed; top: 0; right: -100%;
  width: 320px; max-width: 85%;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,.25);
  transition: right var(--t-med) var(--ease);
  z-index: 1002;
  overflow-y: auto;
}
.offcanvas-menu.is-open { right: 0; }
.offcanvas-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.offcanvas-logo { height: 50px; width: auto; }
.offcanvas-close { background: transparent; border: 0; cursor: pointer; padding: 8px; }
.offcanvas-nav ul {
  list-style: none; margin: 0; padding: 10px 0;
}
.offcanvas-nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-soft);
}
.offcanvas-nav > ul > li > a:hover { color: var(--red); }
.offcanvas-nav li.has-child > ul {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
  background: var(--section-alt);
}
.offcanvas-nav li.has-child.is-open > ul { max-height: 500px; }
.offcanvas-nav li.has-child > ul li a {
  display: block;
  padding: 10px 36px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.offcanvas-nav li.has-child.is-open > a i { transform: rotate(180deg); }
.offcanvas-nav a i { transition: transform var(--t-fast); }

/* ============================================================
   HERO — the signature section
   Pure red background + Texas flag photo overlay,
   giant Rubik 900 headline, skewed red date banner,
   skewed red/white CTAs
   ============================================================ */
.sotr-hero {
  position: relative;
  background-color: var(--red-alt);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  padding: 80px 0 100px;
  color: var(--white);
  overflow: hidden;
}
.sotr-hero::before {
  /* subtle darkening so the text stands off the image */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.sotr-hero .container { position: relative; z-index: 1; }

.hero-date-banner {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 34px;
  padding: 5px 30px;
  margin-bottom: 5px;
  transform: skew(-15deg);
  /* keep the text upright while the parent is skewed */
}
.hero-date-banner > span { display: inline-block; transform: skew(15deg); }

.hero-eyebrow {
  font-size: 54px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: .01em;
  color: var(--white);
  margin: 0 0 0;
}

.hero-title {
  font-size: 114px;
  font-weight: 900;
  line-height: 90px;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}

.hero-intro {
  max-width: 58%;
  font-size: 16px;
  line-height: 20px;
  color: var(--white);
  margin-bottom: 30px;
}
.hero-intro strong { font-weight: 700; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Skewed buttons — the signature SP Page Builder style */
.btn-skew {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 14px 30px;
  border: 0;
  cursor: pointer;
  transform: skew(-15deg);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.btn-skew > span { display: inline-block; transform: skew(15deg); }

.btn-skew-red {
  background: var(--red);
  color: var(--white);
}
.btn-skew-red:hover,
.btn-skew-red:focus {
  background: var(--white);
  color: var(--red-hover);
}

.btn-skew-white {
  background: var(--white);
  color: var(--red-hover);
}
.btn-skew-white:hover,
.btn-skew-white:focus {
  background: var(--section-alt);
  color: var(--red-hover);
}

/* ============================================================
   Sections
   ============================================================ */
.sotr-section {
  padding: 75px 0;
}
.sotr-section-alt {
  background: var(--section-alt);
  padding: 10px 0;
}
.sotr-section-tight { padding: 40px 0; }

/* Headings used inside page bodies */
.section-eyebrow {
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 30px;
  margin: 0;
}
.section-title {
  font-size: 44px;
  font-style: italic;
  font-weight: 700;
  line-height: 55px;
  color: var(--red);
  margin: 0 0 30px;
}

/* Page-title bar for inner pages */
.page-title-bar {
  background: var(--red-alt);
  color: var(--white);
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-title-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.35));
}
.page-title-bar .container { position: relative; z-index: 1; }
.page-title-bar h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.page-title-bar .breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-top: 10px;
}
.page-title-bar .breadcrumbs a { color: rgba(255,255,255,.85); }
.page-title-bar .breadcrumbs a:hover { color: var(--white); }

/* ============================================================
   Grid & columns
   ============================================================ */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.row-image-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: flex-start;
}

/* Sponsor table columns */
.sponsor-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sponsor-table li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 14px;
  color: var(--text-dark);
}
.sponsor-table li:last-child { border-bottom: 0; }
.sponsor-table h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}

/* Tier headers on the home page (red italic with Smokin'/Grillin') */
.tier-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 15px;
  font-style: italic;
}
.tier-list { list-style: none; margin: 0; padding: 0; }
.tier-list li {
  padding: 6px 0;
  font-weight: 600;
  color: var(--text-dark);
}
.tier-list li a { color: var(--text-dark); }
.tier-list li a:hover { color: var(--red); }

/* Home "Join Us" image block */
.joinus-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Concert teaser (replaces William Beckmann) */
.concert-teaser {
  background: var(--white);
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed var(--red);
  border-radius: 4px;
}
.concert-teaser .kicker {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 12px;
  padding: 6px 14px;
  transform: skew(-15deg);
  margin-bottom: 20px;
}
.concert-teaser .kicker > span { display: inline-block; transform: skew(15deg); }
.concert-teaser h2 {
  color: var(--red);
  font-size: 36px;
  margin-bottom: 12px;
}
.concert-teaser p { max-width: 640px; margin: 0 auto; color: var(--text-dark); }

/* ============================================================
   Content prose (for CMS pages)
   ============================================================ */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}
.prose h1 { font-size: 36px; color: var(--red); margin-bottom: 20px; }
.prose h2 { font-size: 28px; color: var(--text-dark); margin: 30px 0 14px; }
.prose h3 { font-size: 22px; color: var(--text-dark); margin: 24px 0 10px; }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; padding: 0; }
.prose li { margin-bottom: .4rem; }
.prose strong { font-weight: 700; }
.prose a { color: var(--red); text-decoration: underline; }
.prose a:hover { color: var(--red-hover); }
.prose blockquote {
  border-left: 4px solid var(--red);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-dark);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.prose table td, .prose table th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
}
.prose table th {
  background: var(--section-alt);
  text-align: left;
  font-weight: 700;
}

/* ============================================================
   Forms
   ============================================================ */
.form-row { margin-bottom: 15px; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 3px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(254,0,0,.14);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.btn-submit {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: 0;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transform: skew(-15deg);
  transition: background var(--t-fast);
}
.btn-submit > span { display: inline-block; transform: skew(15deg); }
.btn-submit:hover { background: var(--red-hover); color: var(--white); }

.alert {
  padding: 12px 16px;
  border-radius: 3px;
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-success { background: #e6f4ea; color: #1e4620; border-left: 4px solid #2ea44f; }
.alert-error   { background: #fde7e7; color: #6a1a1a; border-left: 4px solid #d63838; }
.alert-info    { background: #eef4ff; color: #1a3b6a; border-left: 4px solid #3b6ad6; }

/* ============================================================
   Contact bottom section
   ============================================================ */
.bottom-cta-section {
  background: var(--white);
  padding: 75px 0;
  border-top: 1px solid var(--border-soft);
}
.bottom-cta-section h2 {
  color: var(--red);
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
}

/* ============================================================
   Footer
   ============================================================ */
#sp-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 30px 0;
}
.footer-inner { text-align: center; }
.sp-copyright { font-size: 14px; line-height: 1.6; margin: 0; color: var(--footer-text); }
#sp-footer a { color: var(--footer-link); }
#sp-footer a:hover { color: var(--white); }

/* Scroll-up */
.sp-scroll-up {
  position: fixed; right: 30px; bottom: 40px;
  width: 42px; height: 42px; line-height: 42px;
  text-align: center; color: var(--white);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med), transform var(--t-med), background var(--t-fast);
  z-index: 999;
}
.sp-scroll-up.is-visible { opacity: 1; visibility: visible; }
.sp-scroll-up:hover { background: var(--red-hover); color: var(--white); transform: translateY(-3px); }

/* ============================================================
   Responsive breakpoints — match original
   ============================================================ */
@media (max-width: 1199.98px) {
  .hero-title  { font-size: 90px; line-height: 78px; }
  .hero-eyebrow { font-size: 44px; line-height: 44px; }
  .hero-intro  { max-width: 80%; }
}

@media (max-width: 991.98px) {
  .header-inner { min-height: var(--header-h-sm); }
  #sp-logo .logo-image { height: var(--header-h-sm); padding: 6px 0; }
  .sp-megamenu-parent { display: none; }
  #offcanvas-toggler  { display: inline-flex; }

  .row-4 { grid-template-columns: repeat(2, 1fr); }
  .row-3 { grid-template-columns: 1fr; }
  .row-image-text { grid-template-columns: 1fr; }
  .page-title-bar h1 { font-size: 36px; }
}

@media (max-width: 767.98px) {
  .sotr-hero { padding: 100px 0 100px; }
  .hero-eyebrow { font-size: 25px; line-height: 25px; }
  .hero-title   { font-size: 50px; line-height: 45px; }
  .hero-date-banner { font-size: 14px; line-height: 24px; }
  .hero-intro   { max-width: 100%; margin-bottom: 24px; }
  .hero-ctas    { flex-direction: column; align-items: flex-start; }

  .row-2 { grid-template-columns: 1fr; gap: 24px; }
  .row-4 { grid-template-columns: 1fr; gap: 20px; }

  .section-title  { font-size: 25px; line-height: 35px; }
  .section-eyebrow{ font-size: 16px; line-height: 20px; }

  .sotr-section { padding: 50px 0; }

  .sp-contact-info li span { display: none; }
}

@media (max-width: 575.98px) {
  .sotr-hero { padding: 80px 0; }
  .page-title-bar h1 { font-size: 28px; }
  .concert-teaser { padding: 40px 20px; }
  .concert-teaser h2 { font-size: 26px; }
}

/* ============================================================
   Admin-only utilities (reused by admin pages)
   ============================================================ */
.admin-only { display: none; }

/* ──── Dropdown anchor fix (appended) ──── */
.sp-megamenu-parent > li {
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.sp-megamenu-parent > li > a {
  line-height: 1;
  padding: 10px 15px;
  height: auto;
}
.sp-dropdown {
  top: calc(100% - 20px);
}
@media (max-width: 991.98px) {
  .sp-megamenu-parent > li,
  .sp-megamenu-parent > li > a {
    height: auto;
  }
}
