/* myblueboard.com — site styles */
:root {
  --navy: #000046;
  --ink: #151452;
  --text: #1f1f3a;
  --muted: #5b5b78;
  --purple: #8c52ff;
  --magenta: #c71ee0;
  --light: #f4f4f8;
  --line: #e2e2ec;
  --radius: 14px;
  --wrap: 1180px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem auto; max-width: 80px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo img { display: block; width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-size: .95rem; opacity: .85; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; gap: .25rem; }
  .site-nav a:not(.btn) { padding: .6rem 0; font-size: 1.05rem; }
  .site-nav .btn { margin-top: .75rem; text-align: center; }
  .site-header.open .site-nav { display: flex; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; background-repeat: no-repeat; position: relative; }
.section:has(> .bg-video) { overflow: hidden; }
.bg-video, .bg-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bg-video { object-fit: cover; }
.bg-video ~ .wrap { position: relative; }
.subsection { padding: 24px 0; border-radius: inherit; }
.subsection > .wrap { padding: 0; }
.section.on-dark, .col.on-dark, .subsection.on-dark { color: #fff; }
.col.on-light { color: var(--text); }
.cols { display: grid; grid-template-columns: var(--tpl); gap: 32px; align-items: center; }
.col { min-width: 0; }
.col.card { border-radius: var(--radius); padding: 28px; }
.col-empty:empty { min-height: 1px; }
@media (max-width: 800px) {
  .section { padding: 48px 0; padding-left: 0 !important; padding-right: 0 !important; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .col-empty { display: none; }
  .col.card { padding: 22px !important; }
}

/* ---------- typography ---------- */
.text { overflow-wrap: anywhere; }
.text > :first-child { margin-top: 0; }
.text > :last-child { margin-bottom: 0; }
.text + .text, .text + .btn-wrap, .icon + .text, .image + .text, .text + .image { margin-top: 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.section:not(.on-dark) h1, .section:not(.on-dark) h2, .section:not(.on-dark) h3 { color: var(--ink); }
.col.on-light h1, .col.on-light h2, .col.on-light h3 { color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
p { margin: 0 0 1em; }
.text p, .text li { margin: 0; }
.text ul, .text ol { margin: 0; }
.text p.gap { height: 1em; }
.text [style*="font-size:clamp"] { line-height: 1.15; }
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 { margin: 0 0 .15em; }
ul, ol { padding-left: 1.3em; }
.text a { text-underline-offset: 3px; }
.text table { border-collapse: collapse; width: 100%; }
.text td, .text th { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; }

/* ---------- buttons ---------- */
.btn-wrap { margin: 1.5rem 0 0; }
.btn-wrap + .btn-wrap { margin-top: .75rem; }
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: .8rem 1.6rem; border-radius: 6px; font-weight: 500; border: 2px solid var(--navy); transition: transform .15s, box-shadow .15s; cursor: pointer; font: inherit; font-weight: 500; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 70, .25); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-link { color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.btn-link:hover { opacity: .75; }
.on-dark .btn:not(.btn-light) { border-color: rgba(255,255,255,.35); }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }

/* ---------- media ---------- */
.image { margin: 0; }
.image img { display: block; margin: 0 auto; border-radius: 12px; width: 100%; }
.icon { width: 34px; height: 34px; margin-bottom: .75rem; color: var(--ink); }
.on-dark .icon { color: #fff; }
.icon svg, .icon img { width: 100%; height: 100%; fill: currentColor; }
.gallery, .slider { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; }
.gallery img, .slider img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: opacity .15s; }
.slider { --cols: 1; }
.slider img { aspect-ratio: auto; }
.gallery a:hover img { opacity: .85; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.video video, .video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; background: #000; }
.spacer { max-height: 60px; }

/* ---------- widgets ---------- */
.accordion { margin: 1rem 0; text-align: left; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-size: 1.1rem; list-style: none; position: relative; color: var(--ink); }
.on-dark .accordion summary { color: #fff; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; position: absolute; right: .25rem; top: .9rem; font-size: 1.4rem; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > .text { padding: 0 0 1.2rem; }
.breadcrumbs { font-size: .95rem; text-align: left; }
.breadcrumbs a { opacity: .8; }
.stat-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.stat-list li { background: rgba(255,255,255,.08); border-left: 3px solid var(--purple); padding: 1rem 1.25rem; border-radius: 8px; }
.embed { min-height: 400px; }

/* ---------- forms ---------- */
.contact-form { display: grid; gap: 1rem; text-align: left; max-width: 560px; }
.contact-form label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; padding: .7rem .8rem; border: 1px solid #cfcfe0; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: #0a7a3b; }
.form-status.err { color: #b3261e; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; text-align: center; padding: 56px 0 64px; font-size: .9rem; }
.social { display: flex; justify-content: center; gap: 10px; margin-bottom: 1.25rem; }
.social a { width: 38px; height: 38px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.social a:hover { background: rgba(255,255,255,.12); }
.copyright { opacity: .85; }
.legal { display: flex; flex-direction: column; gap: .3rem; }
.footer-logo img { width: 210px; margin-top: 2rem; }

/* ---------- migrated custom HTML (myTickets guide etc.) ---------- */
.custom-html { text-align: left; }
