:root {
  --ink: #172025;
  --muted: #657078;
  --paper: #fff7df;
  --card: #fffdf4;
  --line: #dfd4b7;
  --navy: #071526;
  --forest: #17563d;
  --forest-deep: #0d3027;
  --brass: #b9852f;
  --brass-light: #d6ad60;
  --river: #2c6977;
  --green: var(--forest);
  --gold: var(--brass);
  --blue: var(--river);
  --shadow: 0 20px 55px rgba(7, 21, 38, .14);
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #d7d6d1; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--navy); }
.skip-link:focus { top: 1rem; }

.festival-shell { width: min(1120px, 100%); margin: 0 auto; min-height: 100vh; background: var(--paper); box-shadow: var(--shadow); }
.festival-topbar { position: relative; z-index: 5; min-height: 46px; display: flex; align-items: stretch; justify-content: space-between; color: #f4f1e9; background: linear-gradient(115deg, rgba(7,20,28,.96), rgba(17,48,42,.94) 55%, rgba(9,29,32,.96)); border-bottom: 1px solid rgba(214,173,96,.72); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 24px rgba(2,10,14,.26); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); }
.festival-topbar::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(240,213,151,.86) 28%, rgba(160,205,194,.62) 72%, transparent); }
.festival-topbar > a { display: flex; align-items: center; gap: .55rem; padding: .6rem 1.2rem; color: #f4f1e9; font-size: .75rem; letter-spacing: .01em; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.festival-topbar > a:hover { color: white; background: rgba(255,255,255,.07); }
.facebook-icon { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(214,173,96,.78); border-radius: 50%; color: #f3e1b8; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.16), 0 4px 12px rgba(0,0,0,.2); font-family: Georgia, serif; font-size: 1rem; font-weight: 700; line-height: 1; }
.topbar-arrow { color: var(--brass-light); font-size: .95rem; }
.topbar-contact { position: relative; font-weight: 650; background: rgba(255,255,255,.035); }
.topbar-contact::before { content: ""; position: absolute; inset: 10px auto 10px 0; width: 1px; background: rgba(255,255,255,.16); }
.festival-hero { position: relative; min-height: 300px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; padding: 2rem 3rem 2.35rem; color: white; overflow: hidden; background-image: linear-gradient(90deg, rgba(5,15,21,.88) 0%, rgba(7,21,31,.72) 52%, rgba(5,16,23,.58) 100%), linear-gradient(0deg, rgba(5,15,22,.62), transparent 65%), url("assets/festival-hero-duo-20260911.png"); background-position: center; background-size: cover; }
.festival-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.18) 50%, transparent 50.2%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 100% 100%, 100% 6px; }
.venue-lockup { position: absolute; z-index: 2; top: .4rem; right: 2rem; width: 185px; height: 155px; }
.venue-lockup img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.hero-title { position: relative; z-index: 2; align-self: end; min-width: 0; }
.hero-title > p { margin: 0 0 .45rem; color: #c8d1d7; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-title h1 { max-width: 840px; margin: 0; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: clamp(2rem, 4.1vw, 3.65rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; text-shadow: 0 3px 18px rgba(0,0,0,.48); text-transform: uppercase; }
.hero-meta { display: flex; gap: .65rem; align-items: center; margin-top: .9rem; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: .79rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-meta span + span::before { content: "•"; margin-right: .65rem; color: #90a9b9; }
.festival-mark { position: relative; z-index: 2; width: 108px; height: 108px; border: 4px solid rgba(255,255,255,.7); border-radius: 50%; object-fit: cover; background: white; box-shadow: 0 10px 32px rgba(0,0,0,.3); }

.activity-section { padding: 2.15rem 3rem 2.6rem; background-image: linear-gradient(180deg, #fff9e9 0%, #fff4cf 100%); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-heading h2 { margin: .1rem 0 .2rem; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading .eyebrow { color: #8e704f; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.quick-contact { flex: 0 0 auto; padding: .72rem 1rem; border: 1px solid #bdb8ad; border-radius: 999px; color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; }

.activity-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.activity-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; min-height: 276px; padding: 1.15rem .8rem .8rem; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: rgba(255,253,248,.92); text-align: center; box-shadow: 0 8px 20px rgba(52,64,42,.075); }
.activity-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, color-mix(in srgb, currentColor 72%, white), currentColor); }
.icon-ring { width: 65px; height: 65px; display: grid; place-items: center; margin-bottom: .8rem; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-ring svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.activity-card h3 { margin: 0; color: var(--ink); font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: 1rem; line-height: 1.12; letter-spacing: -.025em; }
.activity-card p { flex: 1; margin: .65rem 0 .8rem; color: var(--muted); font-size: .77rem; line-height: 1.35; }
.activity-card button { width: 100%; min-height: 38px; border: 0; border-radius: 999px; color: white; font-size: .82rem; font-weight: 650; cursor: pointer; }
.card-fishing { color: var(--forest); background: linear-gradient(180deg, #eff8f2, #fffdf4 42%); } .card-fishing button { background: var(--forest); }
.card-talent { color: var(--brass); background: linear-gradient(180deg, #fff7e6, #fffdf4 42%); } .card-talent button { background: #9b6c25; }
.card-beer { color: var(--river); background: linear-gradient(180deg, #edf6f7, #fffdf4 42%); } .card-beer button { background: var(--river); }
.card-ladies { color: var(--brass); background: linear-gradient(180deg, #fff7e6, #fffdf4 42%); } .card-ladies button { background: #9b6c25; }
.card-info { color: var(--forest); background: linear-gradient(180deg, #eff8f2, #fffdf4 42%); } .card-info button { background: var(--forest); }
.activity-card button:hover { filter: brightness(.92); }
.activity-card button:focus-visible, .quick-contact:focus-visible, .studio-link:focus-visible { outline: 3px solid #f4c45f; outline-offset: 3px; }

.programme-section { padding: 1.8rem 3rem 2.3rem; background: linear-gradient(180deg, #f5eedb 0%, #fbf5e5 28%); }
.programme-title { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.programme-title h2 { margin: .08rem 0 0; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: 1.25rem; letter-spacing: -.025em; }
.programme-title .eyebrow { margin: 0; color: #8e704f; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.programme-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 750; }
.programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.programme-item { display: grid; grid-template-columns: 72px 1fr; align-items: center; min-height: 58px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,253,248,.7); }
.programme-item time { font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: .92rem; font-weight: 700; }
.programme-item span { padding-left: .8rem; border-left: 1px solid var(--line); font-size: .88rem; font-weight: 650; }
.programme-item small { display: block; margin-top: .12rem; color: var(--muted); font-size: .7rem; font-weight: 500; }
.programme-feature { border-color: #c6ae77; background: #fff9ec; }
.programme-feature time { color: #8d6324; }
.programme-rugby { border-color: #9eb7bc; background: #f1f8f8; }
.programme-rugby time { color: var(--river); }

.sponsor-section { padding: 1.4rem 3rem 1.6rem; border-top: 1px solid rgba(23,86,61,.22); background: linear-gradient(180deg, #eef5ef, #f7f2e4); }
.sponsor-section > p { margin: 0 0 .9rem; text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.sponsor-name, .sponsor-placeholder { min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .6rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,253,248,.74); text-align: center; }
.sponsor-crown { color: #1c4d83; font-family: Georgia, serif; font-size: 1rem; line-height: .9; text-transform: uppercase; }
.sponsor-crown strong { font-size: 1.08rem; }
.sponsor-jimmys { color: #a34039; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.25rem; }
.sponsor-jimmys small { font-family: "Segoe UI", sans-serif; font-size: .55rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.sponsor-placeholder strong { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-placeholder span { margin-top: .25rem; color: var(--muted); font-size: .64rem; }

.festival-footer { display: grid; grid-template-columns: auto 1px 1fr auto; align-items: center; gap: 1.4rem; min-height: 112px; padding: 1.35rem 3rem; color: #d8dee4; background: #101a20; }
.festival-footer img { width: 126px; display: block; }
.festival-footer > span { width: 1px; height: 44px; background: rgba(255,255,255,.3); }
.festival-footer p { margin: 0; font-size: .76rem; line-height: 1.5; }
.festival-footer a { color: white; text-decoration: none; }
.venue-address { text-align: right; }

.dialog-open { overflow: hidden; }
.activity-dialog { width: min(860px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 15px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 90px rgba(0,0,0,.42); }
.activity-dialog::backdrop { background: rgba(3,10,16,.72); backdrop-filter: blur(4px); }
.dialog-bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: .65rem .8rem .65rem 1rem; color: white; background: var(--navy); }
.dialog-bar > div { display: flex; align-items: center; gap: .7rem; }
.dialog-bar span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .7rem; }
.dialog-bar p { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dialog-close { min-height: 38px; padding: 0 .95rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: white; background: transparent; cursor: pointer; }
.dialog-content { padding: 2rem; }
.dialog-heading { margin-bottom: 1.25rem; }
.dialog-heading .eyebrow { margin: 0 0 .4rem; color: #8e704f; font-size: .71rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.dialog-heading h2 { margin: 0; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.045em; }
.dialog-lead { max-width: 680px; margin: .7rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.detail-panel, .rules-panel, .profile-panel, .ticket-section, .general-programme, .admission-panel, .notice-box { padding: 1.1rem; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.detail-panel h3, .rules-panel h3, .ticket-section h3, .general-programme h3, .admission-panel h3 { margin: 0 0 .85rem; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: 1rem; }
.detail-list, .banking-list { margin: 0; }
.detail-list div, .banking-list div { display: grid; grid-template-columns: 100px 1fr; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid #ebe7dd; font-size: .78rem; }
.detail-list div:last-child, .banking-list div:last-child { border-bottom: 0; }
.detail-list dt, .banking-list dt { color: var(--muted); }
.detail-list dd, .banking-list dd { margin: 0; font-weight: 650; }
.banking-panel > p { margin: .75rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.banking-panel a { color: var(--blue); }
.rules-panel { margin-top: .75rem; }
.rules-panel ul { columns: 2; margin: 0; padding-left: 1.1rem; }
.rules-panel li { margin: 0 0 .45rem; break-inside: avoid; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.booking-form { margin-top: 1rem; padding: 1.25rem; border-radius: 11px; color: white; background: #13292f; }
.form-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.form-title h3 { margin: 0; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: 1.12rem; }
.form-title p { margin: 0; color: #b9c7c9; font-size: .72rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-grid label { display: grid; gap: .35rem; color: #dfe8e9; font-size: .72rem; font-weight: 650; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; min-height: 44px; padding: .68rem .75rem; border: 1px solid #4a6266; border-radius: 7px; color: white; background: #0d2025; }
.form-grid textarea { resize: vertical; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #8fa1a4; }
.form-grid .form-wide { grid-column: 1 / -1; }
.price-note { margin: .75rem 0 0; color: #b9c7c9; font-size: .72rem; line-height: 1.45; }
.whatsapp-button { width: 100%; min-height: 48px; margin-top: 1rem; border: 0; border-radius: 999px; color: #071711; background: #72d493; font-weight: 750; cursor: pointer; }
.whatsapp-button:hover { background: #84dfa2; }
.direct-contact { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.direct-contact a { color: var(--blue); font-weight: 700; }
.info-timeline { display: grid; gap: .6rem; }
.info-timeline > div { display: grid; grid-template-columns: 84px 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.info-timeline time { display: grid; place-items: center; padding: 1rem; color: white; background: var(--gold); font-family: "Century Gothic", sans-serif; font-weight: 750; }
.info-timeline p { display: grid; gap: .2rem; margin: 0; padding: .9rem 1rem; }
.info-timeline span { color: var(--muted); font-size: .8rem; }
.notice-box { margin-top: .75rem; }
.notice-box p { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; }
.profile-panel { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 1rem; }
.profile-initials { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--brass); font-family: Georgia, serif; font-size: 1.3rem; }
.profile-panel h3 { margin: 0 0 .3rem; font-family: "Century Gothic", sans-serif; }
.profile-panel p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.ticket-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.ticket-grid > div { display: grid; gap: .2rem; padding: .85rem; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf6; text-align: center; }
.ticket-grid span { color: var(--muted); font-size: .72rem; }
.ticket-grid strong { font-family: "Century Gothic", sans-serif; font-size: 1.25rem; }
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: .65rem; }
.package-grid article { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: 1rem; border: 1px solid #a7b9a9; border-radius: 9px; background: #f4faf4; }
.package-grid article p { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.package-grid article strong { grid-row: 1 / 3; grid-column: 2; font-family: "Century Gothic", sans-serif; font-size: 1.45rem; }
.package-grid article span { font-size: .82rem; }
.package-grid article em { grid-column: 1 / -1; margin-top: .55rem; color: var(--green); font-size: .72rem; font-style: normal; font-weight: 700; }
.package-grid .prebook-only { border-color: #d0aa70; background: #fff8ed; }
.package-grid .prebook-only em { color: #8b5f27; }
.general-programme, .admission-panel { margin-top: .75rem; }
.programme-list { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; }
.programme-list p { display: grid; grid-template-columns: 60px 1fr; margin: 0; padding: .45rem 0; border-bottom: 1px solid #ebe7dd; font-size: .78rem; }
.programme-list time { font-weight: 750; }
.admission-panel { border-color: #d5bd9b; background: #fffaf2; }
.admission-panel p { margin: 0; color: #5d5144; font-size: .82rem; line-height: 1.55; }

@media (max-width: 760px) {
  body { background: var(--paper); }
  .festival-shell { box-shadow: none; }
  .festival-topbar > a { padding: .5rem .8rem; }
  .festival-topbar > a span:nth-child(2) { max-width: 205px; line-height: 1.2; }
  .topbar-contact { display: none !important; }
  .festival-hero { min-height: 330px; padding: 1.3rem 1rem 1.45rem; }
  .venue-lockup { top: -.35rem; right: auto; left: 50%; width: 155px; height: 130px; transform: translateX(-50%); }
  .hero-title { width: calc(100% - 60px); max-width: none; }
  .hero-title h1 { font-size: clamp(1.72rem, 7.6vw, 2.2rem); line-height: 1.02; }
  .hero-title > p { font-size: .65rem; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: .25rem; font-size: .68rem; }
  .hero-meta span + span::before { content: none; }
  .festival-mark { width: 52px; height: 52px; border-width: 2px; }
  .activity-section { padding: 1.35rem 1rem 1.8rem; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 1.65rem; }
  .quick-contact { display: inline-flex; margin-top: .85rem; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .activity-card { min-height: 242px; padding: .95rem .65rem .65rem; }
  .activity-card:last-child { grid-column: 1 / -1; min-height: 205px; }
  .icon-ring { width: 57px; height: 57px; }
  .icon-ring svg { width: 35px; height: 35px; }
  .activity-card p { font-size: .75rem; }
  .programme-section { padding: 1.35rem 1rem 1.5rem; }
  .programme-grid { grid-template-columns: 1fr; }
  .sponsor-section { padding: 1.2rem 1rem 1.35rem; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .festival-footer { grid-template-columns: 1fr 1px 1fr; gap: .8rem; padding: 1.25rem 1rem; }
  .festival-footer img { width: 104px; }
  .festival-footer .venue-address { grid-column: 1 / -1; text-align: left; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.16); }
  .dialog-content { padding: 1.25rem; }
  .detail-columns, .form-grid, .package-grid { grid-template-columns: 1fr; }
  .form-grid .form-wide { grid-column: auto; }
  .rules-panel ul { columns: 1; }
  .form-title { display: block; }
  .form-title p { margin-top: .35rem; }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
  .programme-list { grid-template-columns: 1fr; }
  .activity-dialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 15px 15px 0 0; }
}

@media (max-width: 360px) {
  .festival-hero { min-height: 336px; }
  .activity-card h3 { font-size: .92rem; }
}


/* --- Brand and festival refinements (Sept 2026 update) --- */
.activity-grid { align-items: stretch; }
.activity-card { justify-content: flex-start; }
.activity-card p { margin-bottom: .45rem; }
.card-subbrand { display: inline-block; margin-top: .2rem; font-weight: 700; }
.activity-badge, .activity-brand { display: flex; align-items: center; justify-content: center; min-height: 34px; margin: 0 0 .6rem; }
.activity-brand img { max-width: 118px; max-height: 30px; object-fit: contain; display: block; }
.activity-brand-deere img { max-width: 34px; max-height: 34px; }
.activity-badge-venue { padding: .35rem .7rem; border: 1px solid #bdb7a4; border-radius: 999px; background: rgba(255,255,255,.85); color: #3d433f; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-fishing { color: #3f4a43; background: linear-gradient(180deg, #f2f1eb, #fffdf4 42%); }
.card-fishing button { background: #3f4a43; }
.card-talent { color: #222; background: linear-gradient(180deg, #fff8fb, #fffdf4 42%); }
.card-talent button { background: #1d1b1f; }
.card-beer { color: #256a28; background: linear-gradient(180deg, #f0f8dc, #fffdf4 42%); }
.card-beer button { background: #2a6f2d; }
.card-ladies { color: #af5f81; background: linear-gradient(180deg, #fff0f5, #fffdf4 42%); }
.card-ladies button { background: #c86b93; }

.sponsor-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sponsor-logo, .sponsor-name { min-height: 86px; display: flex; align-items: center; justify-content: center; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,253,248,.84); text-align: center; }
.sponsor-logo img { max-width: 100%; max-height: 46px; object-fit: contain; display: block; }
.sponsor-toyota { gap: .6rem; }
.mmg-mark { display: inline-grid; place-items: center; min-width: 52px; min-height: 52px; padding: .5rem; border-radius: 50%; color: #fff; background: #c01422; font-size: .9rem; font-weight: 800; letter-spacing: .06em; }
.toyota-lockup strong { display: block; color: #d21f2b; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: 1.05rem; }
.toyota-lockup small { display: block; color: #5f5b56; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-ace img { max-height: 56px; }
.sponsor-deere { gap: .6rem; background: linear-gradient(180deg, #f4f8ea, #fffdf4); }
.sponsor-deere img { max-height: 40px; }
.sponsor-deere span { color: #1d641f; font-weight: 800; letter-spacing: .04em; }

.theme-venue .dialog-bar { background: linear-gradient(90deg, #2f3833, #444942); }
.theme-ace .dialog-bar { background: linear-gradient(90deg, #161316, #323036); }
.theme-deere .dialog-bar { background: linear-gradient(90deg, #256925, #43842a); }
.theme-ladies .dialog-bar { background: linear-gradient(90deg, #c66d92, #d98bad); }
.theme-general .dialog-bar { background: linear-gradient(90deg, #9c7332, #bd9551); }
.theme-ace .dialog-heading h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.theme-deere .dialog-heading h2 { font-weight: 700; }

.dialog-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: .95rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.84); }
.dialog-brand img { max-width: 120px; max-height: 62px; object-fit: contain; display: block; }
.dialog-brand span { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.dialog-brand strong { display: block; margin-top: .2rem; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: .95rem; }
.dialog-brand-venue { background: #f1efe8; }
.dialog-brand-venue img { max-width: 90px; max-height: 54px; }
.dialog-brand-ace { background: #fff8fb; }
.dialog-brand-ace img { max-width: 140px; max-height: 72px; }
.dialog-brand-deere { background: linear-gradient(180deg, #f1f7e4, #fffdf4); }
.dialog-brand-deere img { max-width: 54px; max-height: 54px; }
.dialog-brand-deere strong { color: #1f6a26; }

.booking-form { margin-top: 1rem; padding: 1.25rem; border: 1px solid #d5cebc; border-radius: 12px; color: var(--ink); background: #fffaf0; }
.form-venue { background: #f2f1eb; border-color: #c7c1b2; }
.form-ace { background: #fff7fb; border-color: #e7cfdb; }
.form-ladies { background: #ffe7f0; border-color: #e4bac8; }
.form-general { background: #fff5e6; border-color: #e0c898; }
.form-title p { color: #706b64; }
.form-grid label { color: #4d5053; }
.form-grid input, .form-grid textarea, .form-grid select { color: var(--ink); background: #fff; border: 1px solid #cbc4b2; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #8f8982; }
.whatsapp-button { color: white; background: #3b4741; }
.form-ace .whatsapp-button { background: #1e1b1f; }
.form-ladies .whatsapp-button { background: #c96f97; }
.form-general .whatsapp-button { background: #ab813e; }
.form-venue .whatsapp-button:hover, .form-ace .whatsapp-button:hover, .form-ladies .whatsapp-button:hover, .form-general .whatsapp-button:hover { filter: brightness(.95); }
.price-note { color: #5a5751; }
.alert-red { color: #b51624 !important; font-weight: 800 !important; }
.package-alert { color: #b51624 !important; font-weight: 800 !important; }
.package-grid article em + em { margin-top: .25rem; }
.judges-panel { background: #fffafb; }
.judge-list { margin: 0; padding-left: 1rem; }
.judge-list li { margin: 0 0 .55rem; color: var(--ink); font-weight: 700; }
.judge-list li span { display: block; margin-top: .1rem; color: var(--muted); font-size: .8rem; font-weight: 500; }
.info-timeline > div { background: rgba(255,253,248,.92); }
.theme-deere .info-timeline time { background: #2f7b2f; color: #f0d500; }
.theme-ladies .profile-panel { background: #fff6fa; border-color: #e7c3cf; }
.profile-avatar-shell { width: 74px; height: 74px; display: grid; place-items: center; overflow: hidden; border: 2px solid #d59ab1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #fffdfd 0%, #f5e5eb 100%); }
.profile-avatar { width: 94px; height: 94px; object-fit: cover; object-position: center top; }
.profile-initials { display: none; }
.banking-panel a, .direct-contact a { color: #156f63; }

@media (max-width: 760px) {
  .activity-brand img { max-width: 96px; max-height: 26px; }
  .dialog-brand { align-items: flex-start; }
  .dialog-brand img { max-width: 110px; }
  .sponsor-logo img { max-height: 42px; }
  .mmg-mark { min-width: 46px; min-height: 46px; font-size: .78rem; }
}

/* Final brand-theming pass */
.theme-venue { background: linear-gradient(180deg, #f4f5f3 0%, #ececea 100%); }
.theme-venue .dialog-content { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(233,234,231,.86)); }
.theme-venue .dialog-heading h2,
.theme-venue .detail-panel h3,
.theme-venue .rules-panel h3,
.theme-venue .form-title h3 { font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.theme-venue .detail-panel,
.theme-venue .rules-panel { border-color: #c8ccc8; background: rgba(255,255,255,.78); }
.theme-venue .dialog-heading .eyebrow { color: #59615d; }

.theme-ace { background: #faf9f6; }
.theme-ace .dialog-content { background: linear-gradient(180deg, #fff 0%, #f7f6f2 100%); }
.theme-ace .dialog-brand-ace,
.theme-ace .judges-panel,
.theme-ace .detail-panel,
.theme-ace .form-ace { background: #fff; border-color: #d8d5cf; }
.theme-ace .dialog-heading .eyebrow { color: #222; }
.theme-ace .dialog-heading h2,
.theme-ace .detail-panel h3,
.theme-ace .form-title h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: .01em; }
.theme-ace .form-ace .whatsapp-button { background: #171717; }
.card-talent { color: #1d1d1d; background: linear-gradient(180deg, #f3f2ee, #fffdf4 48%); }
.dialog-brand-ace { background: #fff; }
.form-ace { background: #fbfaf7; border-color: #d8d5cf; }
.judges-panel { background: #fff; }

.theme-deere { background: linear-gradient(180deg, #f4f8e7 0%, #edf5d8 100%); }
.theme-deere .dialog-content { background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(240,247,221,.92)); }
.theme-deere .dialog-brand-deere,
.theme-deere .detail-panel,
.theme-deere .notice-box { border-color: #b9c889; background: #f8fbeF; }
.theme-deere .dialog-heading h2,
.theme-deere .dialog-brand strong,
.theme-deere .notice-box strong { font-family: "Arial Black", "Arial Narrow", Arial, sans-serif; letter-spacing: -.025em; }
.theme-deere .dialog-heading .eyebrow { color: #2f6f2a; }

.sponsor-toyota { gap: .65rem; }
.mmg-wordmark { display: inline-block; color: #23354b; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.25rem; font-style: italic; font-weight: 800; transform: rotate(-5deg); }
.toyota-lockup { padding-left: .65rem; border-left: 1px solid #d8d0c5; text-align: left; }
.toyota-lockup strong { color: #d71920; font-family: Arial, Helvetica, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: .08em; }
.toyota-lockup small { margin-top: .15rem; color: #4b4b4b; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Verified sponsor lockups */
.sponsor-crown img { max-height: 58px; }
.sponsor-jimmys img { max-height: 54px; border-radius: 4px; }
.sponsor-toyota img { max-height: 68px; }

/* --- Final supplied-asset + responsive hero pass --- */
.festival-hero {
  min-height: 420px;
  grid-template-columns: minmax(0, 48%) 1fr;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(9,10,10,.79) 0%, rgba(11,12,11,.62) 30%, rgba(11,12,11,.24) 52%, rgba(11,12,11,.05) 72%, rgba(11,12,11,.08) 100%),
    linear-gradient(0deg, rgba(8,9,9,.42) 0%, transparent 48%),
    url("assets/festival-hero-duo-20260911.png");
  background-position: center 46%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-title { max-width: 100%; }
.hero-title h1 { max-width: 520px; }
.venue-lockup,
.festival-mark,
.activity-brand,
.dialog-brand,
.sponsor-logo,
.profile-avatar-shell { justify-self: center; }
.activity-brand img,
.dialog-brand img,
.sponsor-logo img { margin-inline: auto; }
.dialog-brand { justify-content: center; text-align: center; }
.dialog-brand > div { text-align: center; }
.activity-brand-ace img { max-width: 132px; max-height: 46px; }
.activity-brand-deere img { max-width: 102px; max-height: 54px; }
.dialog-brand-ace img { max-width: 165px; max-height: 96px; }
.dialog-brand-deere img { max-width: 145px; max-height: 82px; }
.sponsor-ace img { max-height: 70px; }
.sponsor-deere img { max-width: 125px; max-height: 62px; }
.profile-avatar-shell { width: 82px; height: 82px; }
.profile-avatar { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

@media (max-width: 760px) {
  .festival-hero {
    display: block;
    min-height: 0;
    padding: calc(56.25vw + .9rem) 1rem 1.5rem;
    text-align: center;
    background-color: #17110d;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.03) 40%, rgba(23,17,13,.9) 55%, #17110d 64%, #17110d 100%),
      url("assets/festival-hero-duo-20260911.png");
    background-position: center top, center -22px;
    background-size: 100% 100%, 100% auto;
    background-repeat: no-repeat, no-repeat;
  }
  .festival-hero::after { opacity: .08; }
  .venue-lockup {
    position: relative;
    inset: auto;
    width: 128px;
    height: 82px;
    margin: 0 auto .7rem;
    transform: none;
  }
  .hero-title { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; }
  .hero-title h1 { max-width: 100%; margin-inline: auto; font-size: clamp(1.62rem, 7.2vw, 2.15rem); line-height: 1.02; }
  .hero-title > p { margin-bottom: .45rem; color: #e8ddd2; }
  .hero-meta { align-items: center; justify-content: center; }
  .festival-mark { display: block; width: 56px; height: 56px; margin: .9rem auto 0; }
  .dialog-brand { flex-direction: column; align-items: center; gap: .5rem; }
  .activity-brand-ace img { max-width: 120px; max-height: 42px; }
  .activity-brand-deere img { max-width: 94px; max-height: 50px; }
  .sponsor-ace img { max-height: 60px; }
  .sponsor-deere img { max-width: 112px; max-height: 56px; }
}

@media (max-width: 420px) {
  .festival-hero { padding-top: calc(56.25vw + .75rem); }
  .venue-lockup { width: 116px; height: 74px; }
  .hero-title h1 { font-size: clamp(1.5rem, 7vw, 1.95rem); }
}

/* Small alignment correction for the supplied Jenna profile crop */
.profile-panel { grid-template-columns: 82px minmax(0, 1fr); }
@media (max-width: 520px) {
  .profile-panel { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar-shell { margin: 0 auto; }
}


/* --- Sept 2026 spacing + hero polish pass --- */
.festival-shell { position: relative; }
.festival-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 8;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  color: #f9f5ef;
  background: linear-gradient(115deg, rgba(14,24,29,.38), rgba(15,42,37,.24) 55%, rgba(14,24,29,.32));
  box-shadow: 0 14px 36px rgba(6, 11, 14, .22), inset 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.festival-topbar::after { display: none; }
.festival-topbar > a {
  min-height: 54px;
  padding: .75rem 1.15rem;
  font-size: .8rem;
}
.festival-topbar > a:hover { background: rgba(255,255,255,.08); }
.topbar-contact {
  background: rgba(255,255,255,.05);
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}
.topbar-contact::before {
  inset: 12px auto 12px 0;
  background: rgba(255,255,255,.18);
}

.festival-hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 7.6rem 3rem 2.35rem;
  align-items: end;
  background-position: center 18%;
}
.hero-title { position: relative; z-index: 2; max-width: 560px; }
.hero-title h1 { max-width: 520px; }
.venue-lockup {
  top: 5.8rem;
  right: 2rem;
  width: 180px;
  height: 150px;
}
.festival-mark {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 1.1rem;
  width: 102px;
  height: 102px;
  margin: 0;
}

.activity-grid { gap: .8rem; }
.activity-card { min-height: 286px; padding: 1.1rem .85rem .85rem; }
.activity-card p { margin-bottom: .55rem; }
.activity-badge, .activity-brand { min-height: 42px; }
.activity-badge-venue {
  min-height: 50px;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
}
.activity-badge-venue img {
  max-width: 112px;
  max-height: 34px;
  object-fit: contain;
  display: block;
}
.icon-ring-avatar {
  overflow: hidden;
  border-width: 2px;
  border-color: #cb7193;
  background: radial-gradient(circle at 50% 35%, #fff 0%, #f6e8ee 100%);
}
.icon-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  display: block;
}

.sponsor-grid-expanded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.sponsor-logo {
  min-height: 114px;
  padding: 1rem 1.15rem;
  border-radius: 14px;
}
.sponsor-logo img { max-width: 100%; max-height: 58px; object-fit: contain; }
.sponsor-crown {
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(252,248,238,.9));
}
.sponsor-crown img { max-height: 84px; }
.sponsor-text-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: .94;
}
.sponsor-text-lockup strong {
  color: #234b6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
}
.sponsor-text-lockup span {
  margin-top: .22rem;
  color: #63758a;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.sponsor-jimmys img { max-height: 60px; }
.sponsor-toyota img { max-height: 72px; }
.sponsor-ace img { max-height: 68px; }
.sponsor-deere {
  gap: .75rem;
  background: linear-gradient(180deg, #f4f8ea, #fffdf4);
}
.sponsor-deere img { max-width: 128px; max-height: 56px; }
.sponsor-deere span {
  display: inline-block;
  margin-top: .1rem;
  color: #1d641f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 960px) {
  .sponsor-grid-expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .festival-topbar {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 50px;
    border-radius: 14px;
  }
  .festival-topbar > a {
    min-height: 50px;
    padding: .6rem .82rem;
    font-size: .74rem;
  }
  .topbar-contact { display: none !important; }
  .festival-hero {
    min-height: 0;
    display: block;
    padding: calc(56.25vw + 5.3rem) 1rem 1.5rem;
    text-align: center;
    background-position: center top, center -22px;
    background-size: 100% 100%, 100% auto;
  }
  .venue-lockup {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 128px;
    height: 86px;
    margin: 0 auto .75rem;
    transform: none;
  }
  .hero-title {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .hero-title h1 { max-width: 100%; }
  .hero-meta { align-items: center; justify-content: center; }
  .festival-mark {
    width: 60px;
    height: 60px;
    right: 1rem;
    bottom: 1rem;
  }
  .activity-card { min-height: 250px; }
  .icon-ring-avatar { width: 60px; height: 60px; }
  .activity-badge-venue img { max-width: 96px; max-height: 30px; }
  .sponsor-grid-expanded { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .sponsor-logo { min-height: 104px; padding: .9rem; }
  .sponsor-text-lockup strong { font-size: 1.2rem; }
  .sponsor-text-lockup span { font-size: .75rem; letter-spacing: .18em; }
}

@media (max-width: 420px) {
  .festival-hero { padding-top: calc(56.25vw + 4.8rem); }
  .festival-mark { width: 56px; height: 56px; }
  .sponsor-logo { min-height: 96px; }
}


/* crown + hero overlap fix */
.festival-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; }


/* --- Programme image-strip treatment --- */
.programme-grid {
  gap: .8rem;
}
.programme-item.programme-photo {
  position: relative;
  isolation: isolate;
  min-height: 92px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: .9rem 1rem;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,253,248,.97);
}
.programme-item.programme-photo::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49%;
  background-image: var(--programme-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.programme-item.programme-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,253,248,.99) 0%,
    rgba(255,253,248,.99) 47%,
    rgba(255,253,248,.93) 54%,
    rgba(255,253,248,.64) 63%,
    rgba(255,253,248,.17) 76%,
    rgba(255,253,248,0) 90%);
}
.programme-item.programme-photo time {
  position: relative;
  z-index: 2;
  font-size: 1.02rem;
}
.programme-item.programme-photo > span {
  position: relative;
  z-index: 2;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 39%;
  font-size: .98rem;
  line-height: 1.18;
}
.programme-item.programme-photo small {
  margin-top: .24rem;
  font-size: .74rem;
  line-height: 1.25;
}
.programme-registration { --programme-image: url("assets/programme/fishing-registration.jpg"); }
.programme-fishing-start { --programme-image: url("assets/programme/fishing-start.jpg"); }
.programme-opens { --programme-image: url("assets/programme/festival-opens.jpg"); }
.programme-ladies { --programme-image: url("assets/programme/ladies-morning.jpg"); }
.programme-deere { --programme-image: url("assets/programme/john-deere.jpg"); }
.programme-ace { --programme-image: url("assets/programme/ace-models.jpg"); }
.programme-openmic { --programme-image: url("assets/programme/open-mic.jpg"); }
.programme-fran { --programme-image: url("assets/programme/fran-prins.jpg"); }
.programme-rugby { --programme-image: url("assets/programme/rugby.jpg"); }
.programme-franja { --programme-image: url("assets/programme/franja.jpg"); }

@media (max-width: 760px) {
  .programme-item.programme-photo {
    min-height: 88px;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: .8rem .8rem;
  }
  .programme-item.programme-photo::after { width: 46%; }
  .programme-item.programme-photo::before {
    background: linear-gradient(90deg,
      rgba(255,253,248,.99) 0%,
      rgba(255,253,248,.99) 48%,
      rgba(255,253,248,.9) 58%,
      rgba(255,253,248,.5) 72%,
      rgba(255,253,248,0) 92%);
  }
  .programme-item.programme-photo > span {
    padding-left: .75rem;
    padding-right: 34%;
    font-size: .91rem;
  }
  .programme-item.programme-photo time { font-size: .92rem; }
}

@media (max-width: 420px) {
  .programme-item.programme-photo {
    min-height: 92px;
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .programme-item.programme-photo::after { width: 43%; }
  .programme-item.programme-photo > span {
    padding-right: 29%;
    font-size: .86rem;
  }
  .programme-item.programme-photo small { font-size: .69rem; }
}


/* --- Exact programme-strip placement pass --- */
.programme-item.programme-photo::after {
  width: 52%;
  background-position: center right;
}
.programme-item.programme-photo::before {
  background: linear-gradient(90deg,
    rgba(255,253,248,.995) 0%,
    rgba(255,253,248,.995) 43%,
    rgba(255,253,248,.95) 50%,
    rgba(255,253,248,.73) 58%,
    rgba(255,253,248,.28) 69%,
    rgba(255,253,248,0) 82%);
}
.programme-item.programme-photo > span { padding-right: 40%; }
.programme-registration::after { background-position: 62% center !important; }
.programme-fishing-start::after { background-position: 64% center !important; }
.programme-opens::after { background-position: 62% center !important; }
.programme-ladies::after { background-position: 58% center !important; }
.programme-deere::after { background-position: 58% center !important; }
.programme-ace::after { background-position: 62% center !important; }
.programme-openmic::after { background-position: 68% center !important; }
.programme-fran::after { background-position: 70% center !important; }
.programme-rugby::after { background-position: 66% center !important; }
.programme-franja::after { background-position: 68% center !important; }

@media (max-width: 760px) {
  .programme-item.programme-photo::after { width: 50%; }
  .programme-item.programme-photo > span { padding-right: 35%; }
  .programme-item.programme-photo::before {
    background: linear-gradient(90deg,
      rgba(255,253,248,.995) 0%,
      rgba(255,253,248,.995) 46%,
      rgba(255,253,248,.9) 56%,
      rgba(255,253,248,.52) 68%,
      rgba(255,253,248,0) 88%);
  }
}

/* --- Final programme + hero/header corrections: 11 Sep 2026 --- */
/* Glass navigation is fitted flush to the page top instead of floating over faces. */
.festival-topbar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  min-height: 58px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: linear-gradient(115deg, rgba(20,24,24,.72), rgba(54,47,37,.60) 54%, rgba(49,38,30,.68));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(15,12,10,.16);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}
.festival-topbar > a { min-height: 58px; }
.topbar-contact { border-radius: 0; }

/* Show a slightly higher part of the source image so the duo sits lower in the hero. */
.festival-hero {
  min-height: 520px;
  padding-top: 3.2rem;
  background-position: center 8%;
}
.venue-lockup { top: 1.15rem; }

/* Give supplied programme strips substantially more visual space. */
.programme-item.programme-photo {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 94px;
  padding: .72rem .72rem;
}
.programme-item.programme-photo time {
  padding-left: .05rem;
  font-size: 1rem;
}
.programme-item.programme-photo > span {
  min-height: 54px;
  padding-left: .72rem;
  padding-right: 47%;
  font-size: .96rem;
}
.programme-item.programme-photo::after {
  right: 0;
  width: 64%;
  background-size: 100% 100%;
  background-position: right center !important;
  background-repeat: no-repeat;
}
/* The supplied artwork already contains its own white fade; this only protects the copy edge. */
.programme-item.programme-photo::before {
  background: linear-gradient(90deg,
    rgba(255,253,248,.995) 0%,
    rgba(255,253,248,.995) 31%,
    rgba(255,253,248,.92) 38%,
    rgba(255,253,248,.58) 45%,
    rgba(255,253,248,.15) 52%,
    rgba(255,253,248,0) 59%);
}
.programme-ladies::after,
.programme-ace::after {
  width: 66%;
  right: -1.5%;
}
.programme-rugby { --programme-image: url("assets/programme/rugby.png"); }

@media (max-width: 760px) {
  .festival-topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    min-height: 52px;
    border-radius: 0;
  }
  .festival-topbar > a { min-height: 52px; }
  .festival-hero {
    padding-top: calc(56.25vw + 1.35rem);
    background-position: center top, center 0;
  }
  .programme-item.programme-photo {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 92px;
    padding: .68rem .65rem;
  }
  .programme-item.programme-photo > span {
    padding-left: .62rem;
    padding-right: 42%;
    font-size: .88rem;
  }
  .programme-item.programme-photo::after { width: 60%; }
  .programme-ladies::after,
  .programme-ace::after { width: 62%; right: -1%; }
  .programme-item.programme-photo::before {
    background: linear-gradient(90deg,
      rgba(255,253,248,.995) 0%,
      rgba(255,253,248,.995) 34%,
      rgba(255,253,248,.88) 42%,
      rgba(255,253,248,.48) 51%,
      rgba(255,253,248,0) 62%);
  }
}

@media (max-width: 420px) {
  .festival-hero { padding-top: calc(56.25vw + 1rem); }
  .programme-item.programme-photo {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .programme-item.programme-photo > span {
    padding-right: 38%;
    font-size: .84rem;
  }
  .programme-item.programme-photo::after { width: 57%; }
}


/* === Final design correction pass: glass header + clean programme strips === */
.festival-shell { position: relative; overflow: hidden; }
.festival-topbar {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(28,31,31,.20), rgba(28,31,31,.10));
  box-shadow: inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.festival-topbar::after { display: none !important; }
.festival-topbar > a {
  min-height: 64px;
  padding: .85rem 1.8rem;
  color: rgba(255,255,255,.96);
  background: transparent;
}
.festival-topbar > a:hover { background: rgba(255,255,255,.06); }
.topbar-contact {
  border-left: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
}
.topbar-contact::before { display: none; }

.festival-hero {
  min-height: 500px;
  padding: 7rem 3rem 2.35rem;
  background-position: center 64% !important;
}
.venue-lockup { top: 5.6rem; }
.festival-mark { right: 2rem; bottom: 1.35rem; }

.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}
.programme-item.programme-photo {
  display: grid;
  grid-template-columns: 110px minmax(250px, 320px) 1fr;
  align-items: stretch;
  min-height: 118px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #d8c7a5;
  background: rgba(255,252,247,.95);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.programme-item.programme-photo::before,
.programme-item.programme-photo::after { display: none !important; content: none !important; }
.programme-item.programme-photo time {
  display: flex;
  align-items: center;
  padding: 0 1.15rem 0 1.2rem;
  font-family: "Century Gothic", "Avenir Next", Futura, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d2328;
}
.programme-item.programme-photo > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 1.35rem 0 1.25rem;
  border-left: 1px solid #d9c8aa;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #1b232c;
  background: rgba(255,251,245,.94);
}
.programme-item.programme-photo > span small {
  display: block;
  margin-top: .32rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #65717b;
}
.programme-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f6f1e5;
}
.programme-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
}
.programme-rugby { border-color: #b8c9cd; background: #f4f8f8; }
.programme-rugby time { color: #1c6778; }
.programme-feature time { color: #8e6324; }

/* Focal adjustments so key subjects stay visible. */
.programme-registration .programme-art img { object-position: 62% center; }
.programme-fishing-start .programme-art img { object-position: 72% center; }
.programme-opens .programme-art img { object-position: 62% center; }
.programme-ladies .programme-art img { object-position: 72% center; }
.programme-deere .programme-art img { object-position: 66% center; }
.programme-ace .programme-art img { object-position: 76% center; }
.programme-openmic .programme-art img { object-position: 74% center; }
.programme-fran .programme-art img { object-position: 78% center; }
.programme-rugby .programme-art img { object-position: 68% center; }
.programme-franja .programme-art img { object-position: 76% center; }

@media (max-width: 1080px) {
  .programme-item.programme-photo { grid-template-columns: 92px minmax(220px, 280px) 1fr; min-height: 106px; }
  .programme-item.programme-photo > span { padding-right: 1rem; }
}

@media (max-width: 760px) {
  .festival-topbar {
    min-height: 54px;
  }
  .festival-topbar > a {
    min-height: 54px;
    padding: .75rem 1rem;
  }
  .topbar-contact { display: none !important; }
  .festival-hero {
    min-height: 360px;
    padding: calc(56.25vw + 3.25rem) 1rem 1.5rem;
    background-position: center 62% !important;
    background-size: 100% 100%, 100% auto, cover;
  }
  .venue-lockup {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 128px;
    height: 96px;
    margin: 0 auto .7rem;
    transform: none;
  }
  .hero-title { width: 100%; }
  .programme-grid { grid-template-columns: 1fr; gap: .85rem; }
  .programme-item.programme-photo {
    grid-template-columns: 78px minmax(160px, 44%) 1fr;
    min-height: 98px;
    border-radius: 16px;
  }
  .programme-item.programme-photo time { padding: 0 .85rem; font-size: 1rem; }
  .programme-item.programme-photo > span { padding: 0 .85rem; font-size: .94rem; }
  .programme-item.programme-photo > span small { font-size: .74rem; }
}

@media (max-width: 420px) {
  .programme-item.programme-photo {
    grid-template-columns: 68px minmax(132px, 42%) 1fr;
    min-height: 94px;
  }
  .programme-item.programme-photo time { padding: 0 .7rem; font-size: .96rem; }
  .programme-item.programme-photo > span { padding: 0 .75rem; font-size: .88rem; }
  .programme-item.programme-photo > span small { font-size: .7rem; }
}


/* === CACHE-BUSTED HERO + TRUE GLASS FINAL === */
.festival-shell { position: relative; }
.festival-topbar {
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  z-index: 50 !important;
  width: 100% !important;
  height: 64px;
  min-height: 64px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 0 !important;
  background: rgba(18,20,22,.16) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.13) !important;
  backdrop-filter: blur(18px) saturate(155%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(155%) !important;
}
.festival-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.09) 55%, rgba(255,255,255,.035));
}
.festival-topbar::after { display: none !important; }
.festival-topbar > a { position: relative; z-index: 1; min-height: 64px !important; }
.topbar-contact { background: rgba(255,255,255,.025) !important; border-left: 1px solid rgba(255,255,255,.15); }

.festival-hero {
  min-height: 520px !important;
  padding-top: 7.8rem !important;
  background-image:
    linear-gradient(90deg, rgba(7,9,11,.76) 0%, rgba(7,9,11,.52) 28%, rgba(7,9,11,.16) 58%, rgba(7,9,11,.04) 78%, rgba(7,9,11,.08) 100%),
    linear-gradient(0deg, rgba(7,9,11,.46) 0%, transparent 55%),
    url("assets/festival-hero-duo-20260911.png") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 74% !important;
}
.venue-lockup { top: 5.4rem !important; }

@media (max-width: 760px) {
  .festival-topbar { height: 54px; min-height: 54px !important; }
  .festival-topbar > a { min-height: 54px !important; }
  .festival-hero {
    min-height: 0 !important;
    padding: calc(56.25vw + 3.6rem) 1rem 1.5rem !important;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.02) 42%, rgba(23,17,13,.88) 58%, #17110d 66%, #17110d 100%),
      url("assets/festival-hero-duo-20260911.png") !important;
    background-size: 100% 100%, 100% auto !important;
    background-position: center top, center 24px !important;
    background-repeat: no-repeat !important;
  }
}


/* === Final programme visual treatment: inspo-matched integrated strips === */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}
.programme-item.programme-photo {
  display: grid;
  grid-template-columns: 105px minmax(220px, 285px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8c39a;
  border-radius: 18px;
  background: #fffaf1;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.programme-item.programme-photo::before,
.programme-item.programme-photo::after { display: none !important; content: none !important; }
.programme-item.programme-photo time {
  display: flex;
  align-items: center;
  padding: 0 1.05rem 0 1.15rem;
  font-family: "Century Gothic", "Avenir Next", Futura, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1c252c;
  background: rgba(255,250,241,.98);
}
.programme-item.programme-photo > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 1.1rem 0 1.25rem;
  border-left: 1px solid #d8c7a8;
  color: #1b232a;
  background: linear-gradient(90deg, rgba(255,250,241,.99), rgba(255,250,241,.97));
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.16;
}
.programme-item.programme-photo > span small {
  display: block;
  margin-top: .28rem;
  color: #65717a;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.28;
}
.programme-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f5efe3;
}
.programme-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, #fffaf1 0%, rgba(255,250,241,.86) 30%, rgba(255,250,241,.34) 65%, rgba(255,250,241,0) 100%);
}
.programme-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center;
}
.programme-registration .programme-art img { object-position: 68% center; }
.programme-fishing-start .programme-art img { object-position: 78% center; }
.programme-opens .programme-art img { object-position: 72% center; }
.programme-ladies .programme-art img { object-position: 82% center; }
.programme-deere .programme-art img { object-position: 78% center; }
.programme-ace .programme-art img { object-position: 82% center; }
.programme-openmic .programme-art img { object-position: 80% center; }
.programme-fran .programme-art img { object-position: 82% center; }
.programme-rugby .programme-art img { object-position: 76% center; }
.programme-franja .programme-art img { object-position: 82% center; }
.programme-rugby { border-color: #b7cdd1; background: #f5fbfb; }
.programme-rugby time { color: #1d6878; }
.programme-feature time { color: #8e6324; }

@media (max-width: 1080px) {
  .programme-item.programme-photo { grid-template-columns: 90px minmax(190px, 250px) minmax(0,1fr); min-height: 104px; }
  .programme-item.programme-photo > span { padding-left: 1rem; padding-right: .8rem; font-size: .93rem; }
  .programme-art::before { width: 20%; }
}

@media (max-width: 760px) {
  .programme-grid { grid-template-columns: 1fr; gap: .85rem; }
  .programme-item.programme-photo { grid-template-columns: 76px minmax(150px, 42%) minmax(0,1fr); min-height: 96px; border-radius: 15px; }
  .programme-item.programme-photo time { padding: 0 .75rem; font-size: .97rem; }
  .programme-item.programme-photo > span { padding: 0 .75rem; font-size: .87rem; }
  .programme-item.programme-photo > span small { font-size: .68rem; }
  .programme-art::before { width: 16%; }
}

@media (max-width: 420px) {
  .programme-item.programme-photo { grid-template-columns: 66px minmax(132px, 42%) minmax(0,1fr); min-height: 92px; }
  .programme-item.programme-photo time { padding: 0 .62rem; font-size: .91rem; }
  .programme-item.programme-photo > span { padding: 0 .62rem; font-size: .82rem; }
}


/* === FINAL RESPONSIVE POLISH: hero crop, true glass, tablet + programme === */
/* Header: genuinely transparent glass sitting directly over the hero. */
.festival-topbar {
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  z-index: 60 !important;
  width: 100% !important;
  height: 66px !important;
  min-height: 66px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 24px rgba(0,0,0,.08) !important;
  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}
.festival-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.075) 54%, rgba(255,255,255,.03));
}
.festival-topbar > a {
  position: relative;
  z-index: 1;
  min-height: 66px !important;
  color: #fff !important;
}
.topbar-contact { background: rgba(255,255,255,.025) !important; border-left: 1px solid rgba(255,255,255,.16) !important; }

/* Desktop hero: move the IMAGE CONTENT down, not the section. */
.festival-hero {
  min-height: 520px !important;
  padding: 7.7rem 3rem 2.35rem !important;
  background-position: center 24% !important;
}
.venue-lockup { top: 5.45rem !important; }
.festival-mark { right: 2rem !important; bottom: 1.35rem !important; }

/* Programme cards: much closer to the supplied reference proportions. */
.programme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem 1.15rem !important;
}
.programme-item.programme-photo {
  grid-template-columns: 96px minmax(190px, 34%) minmax(0, 1fr) !important;
  min-height: 108px !important;
  border-radius: 17px !important;
}
.programme-item.programme-photo time {
  padding: 0 .9rem 0 1rem !important;
  font-size: 1.05rem !important;
}
.programme-item.programme-photo > span {
  padding: 0 1rem !important;
  font-size: .94rem !important;
  background: #fffaf1 !important;
}
.programme-art::before {
  width: 18% !important;
  background: linear-gradient(90deg, #fffaf1 0%, rgba(255,250,241,.72) 35%, rgba(255,250,241,.18) 75%, rgba(255,250,241,0) 100%) !important;
}
.programme-art img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Tablet: stay image-led, but switch to one wide card per row before it gets cramped. */
@media (min-width: 761px) and (max-width: 1040px) {
  .festival-topbar { height: 62px !important; min-height: 62px !important; }
  .festival-topbar > a { min-height: 62px !important; padding: .78rem 1.15rem !important; }
  .festival-hero {
    min-height: 470px !important;
    padding: 6.9rem 2rem 2rem !important;
    background-size: cover !important;
    background-position: center 18% !important;
  }
  .venue-lockup {
    top: 4.7rem !important;
    right: 1.35rem !important;
    width: 150px !important;
    height: 126px !important;
  }
  .festival-mark { width: 82px !important; height: 82px !important; right: 1.35rem !important; bottom: 1.1rem !important; }
  .hero-title { max-width: 510px !important; }
  .hero-title h1 { font-size: clamp(2.25rem, 5.2vw, 3.25rem) !important; }

  .programme-grid { grid-template-columns: 1fr !important; gap: .9rem !important; }
  .programme-item.programme-photo {
    grid-template-columns: 94px minmax(220px, 32%) minmax(0, 1fr) !important;
    min-height: 104px !important;
  }
  .programme-item.programme-photo > span { font-size: .95rem !important; }
  .programme-art::before { width: 16% !important; }
}

/* Phone / narrow Android: keep the full duo visible above the copy instead of a giant dark block. */
@media (max-width: 760px) {
  .festival-topbar { height: 54px !important; min-height: 54px !important; }
  .festival-topbar > a { min-height: 54px !important; padding: .68rem .9rem !important; }
  .festival-hero {
    min-height: 0 !important;
    padding: calc(56.25vw + 2.7rem) 1rem 1.4rem !important;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.02) 46%, rgba(23,17,13,.84) 60%, #17110d 70%, #17110d 100%),
      url("assets/festival-hero-duo-20260911.png") !important;
    background-size: 100% 100%, 100% auto !important;
    background-position: center top, center 54px !important;
    background-repeat: no-repeat !important;
  }
  .venue-lockup {
    position: relative !important;
    inset: auto !important;
    width: 116px !important;
    height: 76px !important;
    margin: 0 auto .55rem !important;
    transform: none !important;
  }
  .hero-title { width: 100% !important; max-width: none !important; text-align: center !important; }
  .hero-meta { align-items: center !important; justify-content: center !important; }
  .festival-mark {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 58px !important;
    height: 58px !important;
    margin: .8rem auto 0 !important;
  }

  .programme-grid { grid-template-columns: 1fr !important; }
  .programme-item.programme-photo {
    grid-template-columns: 72px minmax(142px, 39%) minmax(0, 1fr) !important;
    min-height: 94px !important;
    border-radius: 14px !important;
  }
  .programme-item.programme-photo time { padding: 0 .65rem !important; font-size: .93rem !important; }
  .programme-item.programme-photo > span { padding: 0 .7rem !important; font-size: .84rem !important; }
  .programme-item.programme-photo > span small { font-size: .68rem !important; }
  .programme-art::before { width: 13% !important; }
}

@media (max-width: 420px) {
  .programme-item.programme-photo {
    grid-template-columns: 64px minmax(124px, 38%) minmax(0, 1fr) !important;
    min-height: 90px !important;
  }
  .programme-item.programme-photo time { padding: 0 .55rem !important; font-size: .88rem !important; }
  .programme-item.programme-photo > span { padding: 0 .58rem !important; font-size: .79rem !important; }
}


/* === A WALD STUDIO VISUAL LAYOUT EDITOR === */
/* Hero is an actual image layer so its focal point can be adjusted precisely. */
.festival-hero {
  background-image: none !important;
  background-color: #17110d !important;
  min-height: var(--layout-hero-height, 520px) !important;
}
.hero-bg-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--layout-hero-image-x, 50%) var(--layout-hero-image-y, 24%);
  transform: scale(var(--layout-hero-image-scale, 1));
  transform-origin: center;
  pointer-events: none;
}
.festival-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(5,15,21,.82) 0%, rgba(7,21,31,.58) 42%, rgba(5,16,23,.16) 72%, rgba(5,16,23,.10) 100%),
    linear-gradient(0deg, rgba(5,15,22,.58), transparent 62%) !important;
}
.festival-hero::after { z-index: 1 !important; }
.festival-topbar, .venue-lockup, .hero-title, .festival-mark { z-index: 3 !important; }
.hero-title {
  transform: translate(var(--layout-hero-title-x, 0px), var(--layout-hero-title-y, 0px)) scale(var(--layout-hero-title-scale, 1)) !important;
  transform-origin: left bottom;
}
.venue-lockup {
  transform: translate(var(--layout-venue-x, 0px), var(--layout-venue-y, 0px)) scale(var(--layout-venue-scale, 1)) !important;
  transform-origin: center;
}
.festival-mark {
  transform: translate(var(--layout-festival-mark-x, 0px), var(--layout-festival-mark-y, 0px)) scale(var(--layout-festival-mark-scale, 1)) !important;
  transform-origin: center;
}

.programme-grid {
  column-gap: var(--layout-programme-gap-x, 1.15rem) !important;
  row-gap: var(--layout-programme-gap-y, 1rem) !important;
}
.programme-item.programme-photo {
  --layout-card-x: 0px;
  --layout-card-y: 0px;
  --layout-card-height: 108px;
  --layout-time-width: 96px;
  --layout-text-width: 34%;
  --layout-time-x: 0px;
  --layout-time-y: 0px;
  --layout-time-font: 1.05rem;
  --layout-text-x: 0px;
  --layout-text-y: 0px;
  --layout-text-font: .94rem;
  --layout-image-x: 76%;
  --layout-image-y: 50%;
  --layout-image-scale: 1;
  transform: translate(var(--layout-card-x), var(--layout-card-y)) !important;
  grid-template-columns: var(--layout-time-width) var(--layout-text-width) minmax(0,1fr) !important;
  min-height: var(--layout-card-height) !important;
}
.programme-item.programme-photo time {
  transform: translate(var(--layout-time-x), var(--layout-time-y)) !important;
  font-size: var(--layout-time-font) !important;
}
.programme-item.programme-photo > span {
  transform: translate(var(--layout-text-x), var(--layout-text-y)) !important;
  font-size: var(--layout-text-font) !important;
}
.programme-item.programme-photo .programme-art img {
  object-position: var(--layout-image-x) var(--layout-image-y) !important;
  transform: scale(var(--layout-image-scale)) !important;
  transform-origin: var(--layout-image-x) var(--layout-image-y);
}

/* editor UI */
.layout-editor-open { padding-right: 0 !important; }
.layout-editor-panel {
  position: fixed;
  z-index: 10000;
  top: 14px;
  right: 14px;
  width: 300px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: #f8f5ee;
  background: rgba(18,22,24,.88);
  box-shadow: 0 20px 60px rgba(0,0,0,.38);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  font-family: "Segoe UI", Arial, sans-serif;
}
.layout-editor-panel * { box-sizing: border-box; }
.layout-editor-panel h2 { margin: 0 0 4px; font-size: 16px; }
.layout-editor-panel .editor-sub { margin: 0 0 12px; color: #bfc7c9; font-size: 11px; line-height: 1.4; }
.layout-editor-panel label { display: grid; gap: 5px; margin: 10px 0; font-size: 11px; font-weight: 700; }
.layout-editor-panel select,
.layout-editor-panel input[type="number"] {
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.layout-editor-row { display: grid; grid-template-columns: 1fr 74px; gap: 8px; align-items: center; margin: 8px 0; }
.layout-editor-row input[type="range"] { width: 100%; }
.layout-editor-row input[type="number"] { min-height: 30px; font-size: 11px; }
.layout-editor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.layout-editor-actions button,
.layout-editor-panel .editor-wide-button {
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  color: white;
  background: rgba(255,255,255,.09);
  font-weight: 700;
  cursor: pointer;
}
.layout-editor-panel .editor-primary { background: #1b725d; }
.layout-editor-panel .editor-danger { background: #6b3036; }
.layout-editor-panel .editor-wide-button { width: 100%; margin-top: 7px; }
.layout-editor-section-title { margin: 14px 0 4px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); color: #d7b66b; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.layout-editor-highlight { outline: 3px solid #ffcc4d !important; outline-offset: 3px !important; }
.layout-editor-draggable { cursor: move !important; }
.layout-editor-badge {
  position: fixed;
  z-index: 9999;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(18,22,24,.86);
  backdrop-filter: blur(12px);
  font: 700 11px/1 "Segoe UI", Arial, sans-serif;
}
.layout-editor-value-label { display: block; color: #c8d0d2; font-size: 10px; font-weight: 600; }
@media (max-width: 760px) {
  .layout-editor-open { padding-right: 0; }
  .layout-editor-panel { inset: auto 8px 8px 8px; width: auto; max-height: 48vh; border-radius: 16px; }
}

/* === VISUAL LAYOUT EDITOR v2: editable image boxes, fades, sponsors + device previews === */
.programme-item.programme-photo {
  grid-template-columns: var(--layout-time-width, 96px) minmax(0, 1fr) var(--layout-image-box-width, 48%) !important;
  height: var(--layout-card-height, 108px) !important;
  min-height: var(--layout-card-height, 108px) !important;
}
.programme-item.programme-photo .programme-art {
  width: 100% !important;
  height: var(--layout-image-box-height, 100%) !important;
  align-self: center !important;
  justify-self: end !important;
  transform: translate(var(--layout-image-box-x, 0px), var(--layout-image-box-y, 0px)) !important;
  overflow: hidden !important;
}
.programme-item.programme-photo .programme-art::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 3 !important;
  left: var(--layout-fade-x, 0px) !important;
  top: var(--layout-fade-y, 0px) !important;
  width: var(--layout-fade-width, 24%) !important;
  height: var(--layout-fade-height, 100%) !important;
  opacity: var(--layout-fade-opacity, 1) !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    #fffaf1 0%,
    rgba(255,250,241,.86) 30%,
    rgba(255,250,241,.34) 65%,
    rgba(255,250,241,0) 100%) !important;
}
.programme-item.programme-photo .programme-art img {
  object-position: var(--layout-image-x, 76%) var(--layout-image-y, 50%) !important;
  transform: scale(var(--layout-image-scale, 1)) !important;
  transform-origin: var(--layout-image-x, 76%) var(--layout-image-y, 50%) !important;
}

.sponsor-section {
  padding-top: var(--layout-sponsor-pad-top, 22px) !important;
  padding-bottom: var(--layout-sponsor-pad-bottom, 26px) !important;
}
.sponsor-grid-expanded {
  grid-template-columns: repeat(var(--layout-sponsor-columns, 5), minmax(0, 1fr)) !important;
  column-gap: var(--layout-sponsor-gap-x, 16px) !important;
  row-gap: var(--layout-sponsor-gap-y, 16px) !important;
}
.sponsor-grid-expanded > .sponsor-logo {
  order: var(--layout-sponsor-order, 1) !important;
  width: var(--layout-sponsor-width, 100%) !important;
  min-height: var(--layout-sponsor-height, 114px) !important;
  height: var(--layout-sponsor-height, 114px) !important;
  justify-self: center !important;
  transform: translate(var(--layout-sponsor-card-x, 0px), var(--layout-sponsor-card-y, 0px)) !important;
}
.sponsor-grid-expanded > .sponsor-logo img {
  transform: translate(var(--layout-sponsor-logo-x, 0px), var(--layout-sponsor-logo-y, 0px)) scale(var(--layout-sponsor-logo-scale, 1)) !important;
  transform-origin: center !important;
}

/* Device preview inside the editor. This deliberately emulates each breakpoint on desktop. */
.layout-editor-open .festival-shell {
  transition: width .2s ease, max-width .2s ease, margin .2s ease;
}
.layout-editor-open.layout-preview-desktop .festival-shell {
  width: min(1120px, calc(100vw - 350px)) !important;
  max-width: calc(100vw - 350px) !important;
  margin-left: 12px !important;
  margin-right: auto !important;
}
.layout-editor-open.layout-preview-tablet .festival-shell {
  width: min(900px, calc(100vw - 350px)) !important;
  max-width: calc(100vw - 350px) !important;
  margin-left: 12px !important;
  margin-right: auto !important;
}
.layout-editor-open.layout-preview-mobile .festival-shell {
  width: min(390px, calc(100vw - 350px)) !important;
  max-width: calc(100vw - 350px) !important;
  margin-left: 12px !important;
  margin-right: auto !important;
}

.layout-editor-open.layout-preview-tablet .programme-grid,
.layout-editor-open.layout-preview-mobile .programme-grid { grid-template-columns: 1fr !important; }
.layout-editor-open.layout-preview-tablet .activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
.layout-editor-open.layout-preview-mobile .activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
.layout-editor-open.layout-preview-mobile .activity-card:last-child { grid-column: 1 / -1 !important; }
.layout-editor-open.layout-preview-mobile .topbar-contact { display: none !important; }
.layout-editor-open.layout-preview-tablet .festival-topbar { min-height: 62px !important; height: 62px !important; }
.layout-editor-open.layout-preview-mobile .festival-topbar { min-height: 54px !important; height: 54px !important; }
.layout-editor-open.layout-preview-tablet .festival-topbar > a { min-height: 62px !important; }
.layout-editor-open.layout-preview-mobile .festival-topbar > a { min-height: 54px !important; padding: .68rem .9rem !important; }
.layout-editor-open.layout-preview-tablet .festival-hero { padding: 6.9rem 2rem 2rem !important; }
.layout-editor-open.layout-preview-mobile .festival-hero { padding: 5.2rem 1rem 1.4rem !important; }
.layout-editor-open.layout-preview-mobile .venue-lockup {
  position: relative !important;
  inset: auto !important;
  width: 116px !important;
  height: 76px !important;
  margin: 0 auto .55rem !important;
}
.layout-editor-open.layout-preview-mobile .hero-title { width: 100% !important; text-align: center !important; }
.layout-editor-open.layout-preview-mobile .hero-meta { align-items:center !important; justify-content:center !important; }
.layout-editor-open.layout-preview-mobile .festival-mark {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 58px !important;
  height: 58px !important;
  margin: .8rem auto 0 !important;
}

.layout-editor-devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0 8px;
}
.layout-editor-devices button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.layout-editor-devices button.is-active {
  color: #172025;
  background: #e7c36f;
  border-color: #e7c36f;
}
.layout-editor-panel { width: 320px; }

@media (max-width: 900px) {
  .layout-editor-open.layout-preview-desktop .festival-shell,
  .layout-editor-open.layout-preview-tablet .festival-shell,
  .layout-editor-open.layout-preview-mobile .festival-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* === SEPT 12 EXPERIENCE + GATE PASS PASS === */
.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr);
  gap: 2.25rem;
  align-items: center;
  padding: 2.55rem 3rem;
  border-bottom: 1px solid rgba(95, 73, 40, .16);
  background:
    radial-gradient(circle at 90% 12%, rgba(207, 164, 82, .13), transparent 34%),
    linear-gradient(180deg, #fffaf0, #f6eedc);
}
.experience-copy .eyebrow {
  margin: 0 0 .55rem;
  color: #8b6a3c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.experience-copy h2 {
  max-width: 600px;
  margin: 0;
  font-family: "Century Gothic", "Avenir Next", Futura, sans-serif;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.experience-copy > p:last-child {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #545b5d;
  font-size: .96rem;
  line-height: 1.68;
}
.experience-side { display: grid; gap: .8rem; }
.experience-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.experience-tags span {
  padding: .42rem .68rem;
  border: 1px solid rgba(44, 70, 56, .2);
  border-radius: 999px;
  color: #2b4f3b;
  background: rgba(255,255,255,.58);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .035em;
}
.gate-pass-summary {
  padding: 1.05rem 1.15rem 1.1rem;
  border: 1px solid rgba(228, 200, 131, .34);
  border-radius: 15px;
  color: #f8f3e7;
  background: linear-gradient(135deg, rgba(10,34,28,.96), rgba(20,72,55,.94));
  box-shadow: 0 14px 34px rgba(14, 44, 36, .16), inset 0 1px rgba(255,255,255,.1);
}
.gate-pass-summary p { margin: 0 0 .4rem; color: #e8c879; font-size: .67rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.gate-pass-summary strong { display: block; font-family: "Century Gothic", "Avenir Next", Futura, sans-serif; font-size: .92rem; line-height: 1.38; }
.gate-pass-summary span { display: block; margin-top: .5rem; color: #c7d5ce; font-size: .72rem; line-height: 1.45; }

.activity-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 2.4rem;
  padding-bottom: 2.85rem;
  background: #294636 url("assets/festival-market-background-v1.png") center 48% / cover no-repeat !important;
}
.activity-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,25,20,.48), rgba(11,30,23,.28) 42%, rgba(9,24,19,.58)),
    linear-gradient(90deg, rgba(6,18,14,.22), transparent 30%, transparent 70%, rgba(6,18,14,.22));
}
.activity-section > * { position: relative; z-index: 1; }
.activity-section .section-heading h2 { color: #fffdf7; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.activity-section .section-heading p { color: rgba(255,255,255,.78); }
.activity-section .quick-contact {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(10,27,22,.46);
  box-shadow: inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}
.activity-card {
  min-height: 322px !important;
  padding: .72rem .72rem .75rem !important;
  border-width: 1px !important;
  border-color: color-mix(in srgb, currentColor 34%, transparent) !important;
  border-radius: 15px !important;
  box-shadow: 0 18px 42px rgba(4,18,12,.22), inset 0 1px rgba(255,255,255,.7) !important;
  backdrop-filter: blur(17px) saturate(114%);
  -webkit-backdrop-filter: blur(17px) saturate(114%);
}
.activity-card::before { height: 4px; z-index: 3; }
.activity-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.24), transparent 34%, rgba(255,255,255,.08));
}
.activity-card > * { position: relative; z-index: 1; }
.card-fishing { color: #3f4a43; background: linear-gradient(180deg, rgba(239,239,233,.9), rgba(255,253,244,.84) 54%) !important; }
.card-talent { color: #1d1d1d; background: linear-gradient(180deg, rgba(240,237,232,.91), rgba(255,251,246,.86) 54%) !important; }
.card-beer { color: #256a28; background: linear-gradient(180deg, rgba(232,245,205,.9), rgba(252,253,238,.84) 54%) !important; }
.card-ladies { color: #a94e78; background: linear-gradient(180deg, rgba(255,229,241,.92), rgba(255,249,250,.86) 54%) !important; }
.card-info { color: #205d47; background: linear-gradient(180deg, rgba(226,242,233,.91), rgba(249,253,248,.85) 54%) !important; }
.activity-visual {
  position: relative;
  width: 100%;
  height: 86px;
  margin-bottom: .8rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 25%, rgba(255,255,255,.4));
  border-radius: 10px;
  background: rgba(255,255,255,.45);
  box-shadow: inset 0 1px rgba(255,255,255,.55);
}
.activity-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(5,15,12,.14));
}
.activity-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-fishing .activity-visual img { object-position: 50% 50%; }
.card-talent .activity-visual img { object-position: 67% 50%; }
.card-beer .activity-visual img { object-position: 70% 50%; }
.card-ladies .activity-visual img { object-position: 60% 50%; }
.card-info .activity-visual img { object-position: 50% 50%; }
.activity-card h3 { font-size: 1.02rem !important; }
.activity-card p { margin-top: .6rem !important; font-size: .74rem !important; }
.activity-card .activity-brand { min-height: 32px; margin-bottom: .45rem; }
.activity-card .activity-brand-ace img { max-height: 27px; }
.activity-card .activity-brand-deere img { max-height: 31px; }
.activity-card button { margin-top: auto; }
.card-alert { color: #8f2e59; font-weight: 850; }
.entry-access { display: inline-block; margin-top: .22rem; color: #4f5350; font-size: .68rem; font-weight: 760; }

.sponsor-grid-expanded { grid-template-columns: repeat(var(--layout-sponsor-columns, 6), minmax(0, 1fr)) !important; }
.sponsor-newera { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(239,245,242,.92)); }
.sponsor-newera img { max-height: 66px !important; }

.price-note.alert-red {
  padding: .8rem .9rem;
  border-left: 4px solid #b94245;
  border-radius: 8px;
  color: #6d262a;
  background: #fff0ef;
  font-size: .79rem;
}
.ladies-gate-notice {
  margin: 0 0 1rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(145,43,86,.3);
  border-radius: 11px;
  color: #762448;
  background: #ffe3ee;
}
.ladies-gate-notice p { color: #762448; }
.gate-pass-panel {
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 13px;
  color: #f5f3ea;
  background: linear-gradient(135deg, #123f31, #1f674f);
}
.gate-pass-panel > p { margin: 0 0 .25rem; color: #ebca78; font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.gate-pass-panel h3 { margin: 0 0 .7rem; color: #fff; font-size: 1.15rem; }
.gate-pass-panel > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.gate-pass-panel span { padding: .36rem .58rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .72rem; font-weight: 700; }
.gate-pass-panel small { display: block; margin-top: .7rem; color: #caddd5; line-height: 1.45; }

@media (min-width: 761px) and (max-width: 1040px) {
  .experience-intro { grid-template-columns: 1.25fr .75fr; gap: 1.5rem; padding: 2.15rem 2rem; }
  .activity-section { padding-inline: 2rem; }
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-card:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .experience-intro { grid-template-columns: 1fr; gap: 1.3rem; padding: 1.75rem 1rem; }
  .experience-copy h2 { font-size: clamp(1.8rem, 8.5vw, 2.5rem); }
  .experience-copy > p:last-child { font-size: .9rem; line-height: 1.58; }
  .activity-section { padding: 1.55rem 1rem 1.9rem !important; background-position: 54% center !important; }
  .activity-section::before { background: linear-gradient(180deg, rgba(8,24,18,.58), rgba(9,27,20,.38) 42%, rgba(8,23,18,.64)); }
  .activity-card {
    min-height: 300px !important;
    padding: .58rem .58rem .65rem !important;
    background-color: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(13px) saturate(108%);
    -webkit-backdrop-filter: blur(13px) saturate(108%);
  }
  .activity-card:last-child { min-height: 230px !important; }
  .card-fishing { background: linear-gradient(180deg, rgba(239,239,233,.97), rgba(255,253,244,.95) 54%) !important; }
  .card-talent { background: linear-gradient(180deg, rgba(240,237,232,.97), rgba(255,251,246,.95) 54%) !important; }
  .card-beer { background: linear-gradient(180deg, rgba(232,245,205,.97), rgba(252,253,238,.95) 54%) !important; }
  .card-ladies { background: linear-gradient(180deg, rgba(255,229,241,.97), rgba(255,249,250,.95) 54%) !important; }
  .card-info { background: linear-gradient(180deg, rgba(226,242,233,.97), rgba(249,253,248,.95) 54%) !important; }
  .activity-visual { height: 72px; margin-bottom: .62rem; border-radius: 8px; }
  .activity-card h3 { font-size: .94rem !important; }
  .activity-card p { font-size: .69rem !important; line-height: 1.38; }
  .activity-card button { min-height: 36px; font-size: .76rem; }
  .activity-card .activity-brand { min-height: 27px; }
  .activity-card .activity-brand-ace img { max-width: 95px; max-height: 24px; }
  .activity-card .activity-brand-deere img { max-height: 27px; }
}

/* Match the same responsive layouts while using the editor's device preview buttons. */
.layout-editor-open.layout-preview-tablet .experience-intro { grid-template-columns: 1.25fr .75fr; gap: 1.5rem; padding: 2.15rem 2rem; }
.layout-editor-open.layout-preview-tablet .activity-section { padding-inline: 2rem; }
.layout-editor-open.layout-preview-tablet .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.layout-editor-open.layout-preview-mobile .experience-intro { grid-template-columns: 1fr; gap: 1.3rem; padding: 1.75rem 1rem; }
.layout-editor-open.layout-preview-mobile .activity-section { padding: 1.55rem 1rem 1.9rem !important; background-position: 54% center !important; }
.layout-editor-open.layout-preview-mobile .activity-card { min-height: 300px !important; padding: .58rem .58rem .65rem !important; }
.layout-editor-open.layout-preview-mobile .activity-card:last-child { min-height: 230px !important; }
.layout-editor-open.layout-preview-mobile .activity-visual { height: 72px; }

/* === REVIEW FIXES: protected hero, round activity portraits, image-led programme === */
.festival-hero {
  --hero-safe-top: 66px;
}
.hero-bg-image {
  inset: var(--hero-safe-top) 0 auto 0 !important;
  height: calc(100% - var(--hero-safe-top)) !important;
  transform-origin: center top !important;
}

.activity-card .icon-ring {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  margin: .15rem 0 .78rem;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 20px rgba(10,25,18,.16), inset 0 0 0 3px rgba(255,255,255,.55);
}
.activity-card .icon-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.activity-card .icon-ring-photo img { object-position: center; }
.activity-card .icon-ring-avatar {
  border-color: #b24f7b;
  background: linear-gradient(180deg, #f9dfea, #fff8fb);
}
.activity-card .icon-avatar { object-position: 50% 24%; }

.programme-item.programme-photo {
  grid-template-columns: var(--layout-time-width, 82px) minmax(0, 1fr) var(--layout-image-box-width, 58%) !important;
  height: var(--layout-card-height, 116px) !important;
  min-height: var(--layout-card-height, 116px) !important;
}
.programme-item.programme-photo time {
  padding: 0 .62rem 0 .78rem !important;
}
.programme-item.programme-photo > span {
  min-width: 0 !important;
  padding: 0 .2rem 0 .68rem !important;
  overflow-wrap: anywhere;
}
.programme-item.programme-photo .programme-art {
  width: calc(100% - 12px) !important;
  height: var(--layout-image-box-height, 100%) !important;
  margin-left: 12px !important;
  border-left: 1px solid rgba(216,195,154,.45);
}
.programme-item.programme-photo .programme-art::before {
  width: var(--layout-fade-width, 12%) !important;
  background: linear-gradient(90deg, rgba(255,250,241,.9) 0%, rgba(255,250,241,.4) 48%, rgba(255,250,241,0) 100%) !important;
}
.programme-ace .programme-art img {
  object-position: var(--layout-image-x, 50%) var(--layout-image-y, 50%) !important;
}

@media (min-width: 761px) and (max-width: 1040px) {
  .festival-hero { --hero-safe-top: 62px; }
  .programme-item.programme-photo {
    grid-template-columns: var(--layout-time-width, 82px) minmax(0, 1fr) var(--layout-image-box-width, 60%) !important;
    height: var(--layout-card-height, 114px) !important;
    min-height: var(--layout-card-height, 114px) !important;
  }
}

@media (max-width: 760px) {
  .festival-hero { --hero-safe-top: 54px; }
  .activity-card .icon-ring {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
    margin-bottom: .62rem;
  }
  .programme-item.programme-photo {
    grid-template-columns: var(--layout-time-width, 60px) minmax(0, 1fr) var(--layout-image-box-width, 48%) !important;
    height: var(--layout-card-height, 106px) !important;
    min-height: var(--layout-card-height, 106px) !important;
  }
  .programme-item.programme-photo time { padding: 0 .42rem 0 .5rem !important; }
  .programme-item.programme-photo > span { padding: 0 .1rem 0 .48rem !important; }
  .programme-item.programme-photo .programme-art {
    width: calc(100% - 8px) !important;
    margin-left: 8px !important;
  }
}

.layout-editor-open.layout-preview-tablet .festival-hero { --hero-safe-top: 62px; }
.layout-editor-open.layout-preview-mobile .festival-hero { --hero-safe-top: 54px; }
.layout-editor-open.layout-preview-mobile .activity-card .icon-ring {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
  margin-bottom: .62rem;
}
.layout-editor-open.layout-preview-mobile .programme-item.programme-photo time { padding: 0 .42rem 0 .5rem !important; }
.layout-editor-open.layout-preview-mobile .programme-item.programme-photo > span { padding: 0 .1rem 0 .48rem !important; }
.layout-editor-open.layout-preview-mobile .programme-item.programme-photo .programme-art {
  width: calc(100% - 8px) !important;
  margin-left: 8px !important;
}
