
  .rre-shows {
    --gold:    #d4af37;
    --gold-lt: #e8cc6a;
    --navy:    #0a1628;
    --navy-md: #0f1e35;
    --teal:    #1a9aaa;
    --warm:    #f5f0e8;
    --warm-dim:#b8b2a5;
    --c-fav:   #d4af37;
    --c-med:   #1a9aaa;
    --c-mar:   #9b68d1;
    --c-bro:   #d96060;
    --c-dbr:   #8b1a1a;
    --c-dbr-lt:#c0392b;
    --c-bir:   #2e8b4a;
    --c-ram:   #c0392b;
  }
  .rre-shows, .rre-shows *, .rre-shows *::before, .rre-shows *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }
  .rre-shows {
    position: relative;
    background: var(--navy);
    color: var(--warm);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }
  .rre-shows::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 60px),
      repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.015) 60px);
    z-index: 0;
  }
  .rre-shows [hidden] { display: none !important; }
  .rre-shows .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .rre-shows a:focus-visible,
  .rre-shows button:focus-visible {
    outline: 2px solid var(--gold-lt);
    outline-offset: 3px;
    border-radius: 2px;
  }
  /* HERO */
  .rre-shows .hero {
    position: relative; z-index: 1;
    text-align: center; padding: 68px 24px 50px;
    background: linear-gradient(180deg, rgba(26,154,170,0.09) 0%, transparent 70%);
    border-bottom: 1px solid rgba(212,175,55,0.08);
  }
  .rre-shows .hero-eye {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 14px;
  }
  .rre-shows h1 { font-family: 'Playfair Display', serif; font-weight: 900;
       font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.06; color: var(--warm); }
  .rre-shows h1 em { display: block; font-style: italic; color: var(--gold); font-size: 0.78em; }
  .rre-shows h1 .h1-yr { display: block; font-family: 'Barlow Condensed', sans-serif; font-style: normal; font-weight: 700; font-size: 0.42em; letter-spacing: 0.28em; color: var(--teal); margin-top: 10px; }
  .rre-shows .hero-rule { width: 72px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 22px auto; }
  .rre-shows .hero-sub { font-size: 1rem; color: var(--warm-dim); max-width: 540px; margin: 0 auto 22px; }
  .rre-shows .venues {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
    font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
  }
  .rre-shows .vd { display: flex; align-items: center; gap: 6px; }
  .rre-shows .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
  .rre-shows .df { background: var(--c-fav); } .rre-shows .dm { background: var(--c-med); }
  .rre-shows .dmar { background: var(--c-mar); } .rre-shows .db { background: var(--c-bro); }
  .rre-shows .ddbr { background: var(--c-dbr-lt); } .rre-shows .dbir { background: var(--c-bir); } .rre-shows .dram { background: var(--c-ram); }
  /* FILTER */
  .rre-shows .filter-bar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(9,18,34,0.95); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212,175,55,0.12); padding: 11px 20px; margin-top: 26px;
  }
  .rre-shows .fi {
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px; justify-content: center;
  }
  .rre-shows .fl { font-family: 'Barlow Condensed', sans-serif; font-size: 0.66rem;
        letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-right: 2px; }
  .rre-shows .fb {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.12); background: transparent; color: var(--warm-dim);
    padding: 6px 15px; border-radius: 2px; cursor: pointer;
    transition: all 0.16s ease; white-space: nowrap;
  }
  .rre-shows .fb:hover { border-color: rgba(255,255,255,0.32); color: var(--warm); }
  .rre-shows .fb.active { color: var(--navy); border-color: transparent; }
  .rre-shows .fb[data-f="all"].active       { background: var(--warm); }
  .rre-shows .fb[data-f="fav"].active       { background: var(--c-fav); }
  .rre-shows .fb[data-f="medway"].active    { background: var(--c-med); }
  .rre-shows .fb[data-f="margate"].active   { background: var(--c-mar); color: #fff; }
  .rre-shows .fb[data-f="bromley"].active   { background: var(--c-bro); }
  .rre-shows .fb[data-f="birchington"].active { background: var(--c-bir); color: #fff; }
  .rre-shows .fb[data-f="ramsgate"].active { background: var(--c-ram); color: #fff; }
  .rre-shows .fb[data-f="dbr"].active { background: var(--c-dbr); color: #fff; }
  .rre-shows .cbar {
    position: relative; z-index: 1; text-align: center; padding: 16px 0 4px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.62);
  }
  .rre-shows .cbar span { color: var(--gold); }
  /* LISTING HEADING */
  .rre-shows .listing-head { position: relative; z-index: 1; text-align: center; padding: 30px 24px 0; }
  .rre-shows .listing-head h2 { font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--warm); letter-spacing: 0.02em; }
  .rre-shows .listing-head h2 span { color: var(--gold); }
  /* GRID */
  .rre-shows .ew { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 18px 20px 80px; }
  .rre-shows .eg-month {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 6px;
  }
  /* PROMO FILLER CARD */
  .rre-shows .promo-filler {
    display: flex; flex-direction: column;
    background: rgba(212,175,55,0.045);
    border: 1px dashed rgba(212,175,55,0.35);
    border-radius: 4px; overflow: hidden;
  }
  .rre-shows .pf-body {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; gap: 12px;
    padding: 26px 20px 20px;
  }
  .rre-shows .pf-eye {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--teal);
  }
  .rre-shows .pf-title {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: 1.55rem; color: var(--warm); line-height: 1.15;
  }
  .rre-shows .pf-blurb { font-size: 0.92rem; font-weight: 400; color: var(--warm-dim); line-height: 1.6; }
  .rre-shows .pf-foot {
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
  }
  /* MONTH DIVIDER — v12 (14 Sep 2026): thicker lines, larger bolder
     text, subtle pill behind the month name for extra legibility. */
  .rre-shows .month-divider {
    display: flex; align-items: center; gap: 16px;
    margin: 38px 0 20px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
    font-size: 0.92rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold);
  }
  .rre-shows .month-divider span {
    padding: 3px 14px;
    background: rgba(212,175,55,0.07);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 2px;
    flex-shrink: 0;
  }
  .rre-shows .month-divider::before,
  .rre-shows .month-divider::after {
    content: ''; flex: 1; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
  }
  .rre-shows #grid .month-group:first-child .month-divider { margin-top: 0; }
  .rre-shows .month-group.gone-month { display: none !important; }
  /* BEYOND KENT */
  .rre-shows .beyond {
    margin-top: 56px; padding-top: 40px;
    border-top: 1px solid rgba(192,57,43,0.25);
  }
  .rre-shows .beyond.gone { display: none; }
  .rre-shows .beyond-head { text-align: center; margin-bottom: 8px; }
  .rre-shows .beyond-head h2 { font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--warm); letter-spacing: 0.02em; }
  .rre-shows .beyond-head h2 span { color: var(--c-dbr-lt); }
  .rre-shows .beyond-sub {
    text-align: center; font-size: 0.86rem; color: var(--warm-dim);
    max-width: 520px; margin: 8px auto 22px;
  }
  .rre-shows .eg-beyond {
    display: grid; grid-template-columns: minmax(300px, 420px); justify-content: center; gap: 20px;
  }
  /* CARD */
  .rre-shows .card {
    background: var(--navy-md); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: rre-rise 0.4s ease both;
  }
  .rre-shows .card:hover {
    transform: translateY(-5px); box-shadow: 0 22px 55px rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.14);
  }
  .rre-shows .card.hidden { display: none; }
  .rre-shows .card.gone { display: none !important; }
  @keyframes rre-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
  .rre-shows .card:nth-of-type(1){animation-delay:.04s}.rre-shows .card:nth-of-type(2){animation-delay:.07s}
  .rre-shows .card:nth-of-type(3){animation-delay:.10s}.rre-shows .card:nth-of-type(4){animation-delay:.13s}
  .rre-shows .card:nth-of-type(5){animation-delay:.16s}.rre-shows .card:nth-of-type(6){animation-delay:.19s}
  .rre-shows .card:nth-of-type(7){animation-delay:.22s}.rre-shows .card:nth-of-type(8){animation-delay:.25s}
  .rre-shows .card:nth-of-type(9){animation-delay:.28s}.rre-shows .card:nth-of-type(10){animation-delay:.31s}
  .rre-shows .card:nth-of-type(11){animation-delay:.34s}.rre-shows .card:nth-of-type(12){animation-delay:.37s}
  .rre-shows .card:nth-of-type(13){animation-delay:.40s}.rre-shows .card:nth-of-type(14){animation-delay:.43s}
  .rre-shows .card:nth-of-type(15){animation-delay:.46s}.rre-shows .card:nth-of-type(16){animation-delay:.49s}
  .rre-shows .card:nth-of-type(17){animation-delay:.52s}.rre-shows .card:nth-of-type(18){animation-delay:.55s}
  .rre-shows .card:nth-of-type(19){animation-delay:.58s}.rre-shows .card:nth-of-type(20){animation-delay:.61s}
  .rre-shows .card:nth-of-type(n+21){animation-delay:.61s}
  /* IMAGE */
  .rre-shows .card-img {
    position: relative; display: block; width: 100%; aspect-ratio: 1/1; overflow: hidden;
    background: var(--navy); flex-shrink: 0;
  }
  /* Force square on every card, including Beyond Kent (data-f="dbr").
     !important overrides the legacy 16/9 rule that may still be live
     in the separate WPCode CSS snippet. */
  .rre-shows .card[data-f="dbr"] .card-img,
  .rre-shows .card .card-img {
    aspect-ratio: 1/1 !important;
  }
  .rre-shows .card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease;
  }
  .rre-shows .card:hover .card-img img { transform: scale(1.04); }
  .rre-shows .card-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  }
  .rre-shows .card[data-f="fav"] .card-img::after       { background: linear-gradient(90deg, #b8932a, var(--c-fav), #e8cc6a); }
  .rre-shows .card[data-f="medway"] .card-img::after    { background: linear-gradient(90deg, #0f7080, var(--c-med), #2cc0d0); }
  .rre-shows .card[data-f="margate"] .card-img::after   { background: linear-gradient(90deg, #7048aa, var(--c-mar), #bd90f0); }
  .rre-shows .card[data-f="bromley"] .card-img::after   { background: linear-gradient(90deg, #b03030, var(--c-bro), #f08080); }
  .rre-shows .card[data-f="birchington"] .card-img::after { background: linear-gradient(90deg, #1a6b30, var(--c-bir), #50c878); }
  .rre-shows .card[data-f="ramsgate"] .card-img::after { background: linear-gradient(90deg, #8e2a1f, var(--c-ram), #e8786a); }
  .rre-shows .card[data-f="dbr"] .card-img::after       { background: linear-gradient(90deg, var(--c-dbr), var(--c-dbr-lt), #e07070); }
  /* DBR */
  .rre-shows .card[data-f="dbr"] { position: relative; }
  .rre-shows .bdbr {
    background: rgba(139,26,26,0.2); color: #e07070;
    border: 1px solid rgba(139,26,26,0.4);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.59rem; letter-spacing: 0.17em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 2px; align-self: flex-start; margin-top: 1px;
    display: inline-flex;
  }
  .rre-shows .dbr-label {
    position: absolute; top: 10px; right: 10px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: #fff; background: var(--c-dbr-lt); padding: 3px 9px; border-radius: 2px; z-index: 2;
  }
  .rre-shows .img-date {
    display: block;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
    font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 2px;
  }
  /* BODY */
  .rre-shows .cb { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
  .rre-shows .cloc {
    display: flex; align-items: center; gap: 6px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--warm-dim);
  }
  .rre-shows .cloc .dot { width: 6px; height: 6px; }
  .rre-shows .badge {
    display: inline-flex; align-items: center;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 0.59rem; letter-spacing: 0.17em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 2px; align-self: flex-start; margin-top: 1px;
  }
  .rre-shows .bm { background: rgba(212,175,55,0.12); color: var(--gold); border: 1px solid rgba(212,175,55,0.22); }
  .rre-shows .bd { background: rgba(26,154,170,0.12); color: var(--teal); border: 1px solid rgba(26,154,170,0.25); }
  .rre-shows .bi { background: rgba(155,104,209,0.12); color: #c090f0; border: 1px solid rgba(155,104,209,0.25); }
  .rre-shows .ca {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
    font-size: 1.38rem; line-height: 1.08; color: var(--warm);
    text-transform: uppercase; letter-spacing: 0.02em; margin-top: 2px;
  }
  .rre-shows .cs2 { font-size: 0.74rem; color: var(--warm-dim); font-style: italic; line-height: 1.4; }
  .rre-shows .cacts { font-size: 0.73rem; color: var(--warm-dim); line-height: 1.65; }
  .rre-shows .cacts strong { color: var(--warm); font-weight: 700; }
  .rre-shows .cmeta {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto;
    padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06);
  }
  .rre-shows .mb { display: flex; flex-direction: column; gap: 1px; }
  .rre-shows .ml { font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
        font-size: 0.57rem; letter-spacing: 0.2em; text-transform: uppercase;
        color: rgba(212,175,55,0.78); }
  .rre-shows .mv { font-size: 0.78rem; color: var(--warm); }
  /* CARD FOOTER */
  .rre-shows .cf {
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .rre-shows .cdoors { font-family: 'Barlow Condensed', sans-serif; font-weight: 500;
            font-size: 0.69rem; letter-spacing: 0.06em; color: var(--warm-dim); }
  .rre-shows .btn {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
    font-size: 0.71rem; letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--gold); color: var(--navy); border: none;
    padding: 8px 16px; border-radius: 2px; cursor: pointer;
    text-decoration: none; display: inline-block;
    transition: background 0.16s ease, transform 0.12s ease;
    white-space: nowrap; flex-shrink: 0;
  }
  .rre-shows .btn:hover { background: var(--gold-lt); transform: translateY(-1px); }
  .rre-shows .empty { display: none; text-align: center; padding: 60px 24px;
    color: var(--warm-dim); font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .rre-shows .empty.show { display: block; }
  /* SEO CONTENT */
  .rre-shows .seo-content { position: relative; z-index: 1; max-width: 840px; margin: 56px auto 0; padding: 0 24px; }
  .rre-shows .seo-content h2 { font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--warm); margin-bottom: 16px; }
  .rre-shows .seo-content p { font-size: 0.95rem; line-height: 1.78; color: var(--warm-dim); margin-bottom: 14px; }
  .rre-shows .seo-content p a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.32); transition: border-color 0.15s; }
  .rre-shows .seo-content p a:hover { border-color: var(--gold); }
  /* PAGE FOOTER */
  .rre-shows .ft {
    position: relative; z-index: 1; text-align: center;
    padding: 44px 24px 36px; border-top: 1px solid rgba(212,175,55,0.1);
  }
  .rre-shows .ft-brand { font-family: 'Playfair Display', serif; font-weight: 700;
              font-size: 1.15rem; color: var(--gold); margin-bottom: 6px; }
  .rre-shows .ft-tag { font-size: 0.8rem; color: var(--warm-dim); margin-bottom: 18px; }
  .rre-shows .ft-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 18px; }
  .rre-shows .ft-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
    font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--warm-dim); text-decoration: none; transition: color 0.14s; }
  .rre-shows .ft-links a:hover { color: var(--gold); }
  .rre-shows .ft-note { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
  @media (max-width: 560px) {
    .rre-shows .eg-month { grid-template-columns: 1fr; }
    .rre-shows .promo-filler { display: none; }
    .rre-shows .eg-beyond { grid-template-columns: 1fr; }
    .rre-shows .hero { padding: 50px 16px 38px; }
    .rre-shows .filter-bar { position: static; margin-top: 26px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .rre-shows *, .rre-shows *::before, .rre-shows *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .rre-shows .card:hover { transform: none; }
    .rre-shows .card:hover .card-img img { transform: none; }
    .rre-shows .btn:hover { transform: none; }
  }
