/* Page-local design blocks from the static site + Divi glue.
   Source of truth: site/*.html <style> blocks in the git repo. */

  /* Page-local styles — visitor-guide cards.
     Reuses the festival page's design tokens; nothing here should override site rules,
     only layer on top for the four guide sections. */
  .guide-section { padding: 60px 80px; }
  .guide-section.light {
    background: var(--cream);
    color: var(--navy-deep);
  }
  .guide-section.light .section-head h2 { color: var(--navy-deep); }
  .guide-section.light .section-head h2 em { color: var(--coral); }
  .guide-section.light .section-head p { color: rgba(15, 19, 64, 0.7); }
  .guide-section.light .section-eyebrow { color: var(--coral); }

  .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .guide-card {
    background: rgba(244, 237, 228, 0.04);
    border: 1px solid rgba(244, 237, 228, 0.1);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    display: flex; flex-direction: column;
  }
  .guide-card:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
    background: rgba(255, 112, 104, 0.04);
  }
  .guide-section.light .guide-card {
    background: #fff;
    border-color: rgba(15, 19, 64, 0.08);
  }
  .guide-section.light .guide-card:hover {
    border-color: var(--coral);
    background: #fff;
  }
  .guide-card .kind {
    font-family: var(--font-display-hard);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .guide-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }
  .guide-section.light .guide-card h3 { color: var(--navy-deep); }
  .guide-card .meta {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--pink-soft);
    margin-bottom: 16px;
  }
  .guide-section.light .guide-card .meta { color: var(--coral); }
  .guide-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(244, 237, 228, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
  }
  .guide-section.light .guide-card p { color: rgba(15, 19, 64, 0.7); }
  .guide-card .address {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(244, 237, 228, 0.5);
    border-top: 1px dashed rgba(244, 237, 228, 0.12);
    padding-top: 14px;
  }
  .guide-section.light .guide-card .address {
    color: rgba(15, 19, 64, 0.55);
    border-top-color: rgba(15, 19, 64, 0.12);
  }

  /* Make-a-weekend feature block — mirrors the .mc-block layout */
  .weekend-feature {
    background: var(--purple-deep);
    padding: 60px 80px;
    color: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
  }
  .weekend-feature .feature-eyebrow {
    font-family: var(--font-display-hard);
    color: var(--coral);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .weekend-feature h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1;
    color: var(--cream);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  .weekend-feature h2 em { font-style: italic; color: var(--mauve-soft); }
  .weekend-feature p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(245, 237, 224, 0.8);
    margin-bottom: 18px;
  }
  .weekend-feature .feature-photo {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.4) contrast(1.05);
  }

  /* Section anchor jumps */
  .guide-nav {
    background: var(--purple);
    padding: 24px 80px;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .guide-nav a {
    font-family: var(--font-display-hard);
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
    padding: 6px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
  }
  .guide-nav a:hover { border-color: var(--mauve-soft); color: var(--mauve-soft); }

  @media (max-width: 1024px) {
    .guide-section { padding: 30px 24px; }
    .guide-grid { grid-template-columns: 1fr; }
    .weekend-feature { grid-template-columns: 1fr; padding: 30px 24px; gap: 40px; }
    .guide-nav { padding: 18px 24px; gap: 24px; }
    .guide-nav a { font-size: 12px; letter-spacing: 0.18em; }
  }


  /* Page-local styles — vendor application layout */
  .vendor-section { padding: 100px 80px; }
  .vendor-section.light {
    background: var(--cream) !important;
    color: var(--navy-deep);
  }
  .vendor-body {
    max-width: 820px;
    margin: 0 auto;
  }
  .vendor-body h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.1;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .vendor-body h2 em { font-style: italic; color: var(--coral); }
  .vendor-body .subhead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 19px;
    color: var(--coral);
    margin-bottom: 36px;
  }
  .vendor-body p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(15, 19, 64, 0.8);
    margin-bottom: 18px;
  }
  .vendor-info {
    background: #fff;
    border: 1px solid rgba(15, 19, 64, 0.08);
    padding: 36px 40px;
    margin: 36px 0;
  }
  .vendor-info .info-label {
    font-family: var(--font-display-hard);
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .vendor-info ul {
    list-style: none;
    margin: 0; padding: 0;
  }
  .vendor-info li {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(15, 19, 64, 0.8);
    padding: 10px 0 10px 26px;
    position: relative;
    border-bottom: 1px dashed rgba(15, 19, 64, 0.1);
  }
  .vendor-info li:last-child { border-bottom: none; }
  .vendor-info li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--mauve);
    font-size: 12px;
    top: 14px;
  }
  .vendor-apply {
    text-align: center;
    margin-top: 48px;
  }
  .vendor-apply .deadline-note {
    font-family: var(--font-display-hard);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(15, 19, 64, 0.55);
    margin-top: 20px;
  }
  .vendor-crosslink {
    text-align: center;
    padding: 56px 80px;
    background: var(--purple-deep) !important;
  }
  .vendor-crosslink p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 20px;
  }
  @media (max-width: 1024px) {
    .vendor-section { padding: 60px 24px; }
    .vendor-info { padding: 28px 22px; }
    .vendor-crosslink { padding: 48px 24px; }
  }


/* ====== DIVI GLUE ======
   Lets Divi Builder sections/rows/modules carry the static design classes
   (guide-section, guide-card, vendor-section, festival-hero) without Divi's
   own spacing fighting them. */
.et_pb_section.jitb-flush { padding: 0 !important; }
.jitb-flush > .et_pb_row, .et_pb_section.guide-section > .et_pb_row,
.et_pb_section.vendor-section > .et_pb_row, .et_pb_section.vendor-crosslink > .et_pb_row {
  max-width: none; width: 100%; padding: 0;
}
.et_pb_section.guide-section, .et_pb_section.vendor-section,
.et_pb_section.vendor-crosslink { background: transparent; }
.et_pb_section.guide-section { padding: 60px 80px !important; }
.et_pb_section.vendor-section { padding: 100px 80px !important; }
.et_pb_section.vendor-crosslink { padding: 56px 80px !important; }
.et_pb_text.guide-card { margin-bottom: 24px !important; }
.et_pb_text.guide-card .et_pb_text_inner { display: flex; flex-direction: column; height: 100%; }
.et_pb_text .et_pb_text_inner > :last-child { margin-bottom: 0; }
/* text modules inherit the page palette, not Divi's default dark-on-light */
.et_pb_text { color: inherit; }
@media (max-width: 1024px) {
  .et_pb_section.guide-section { padding: 30px 24px !important; }
  .et_pb_section.vendor-section { padding: 60px 24px !important; }
  .et_pb_section.vendor-crosslink { padding: 48px 24px !important; }
}
