.events-page {
    background: #fff;
}

.events-page .main-nav a.active::after {
    transform: scaleX(1);
}

.events-page main {
    padding-bottom: 68px;
}

.events-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-top: 16px;
    padding-bottom: 13px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .76rem;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--blue-dark);
}

.events-intro h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.7rem, 4.1vw, 4rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: .98;
}

.events-intro > div > p {
    margin: 4px 0 0;
    color: var(--body);
    font-size: .94rem;
}

.submit-event {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    padding: 0 17px;
    border: 1px solid #71869b;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 670;
    text-decoration: none;
}

.submit-event:hover {
    border-color: var(--blue);
    color: var(--blue-dark);
}

.event-controls {
    display: grid;
    grid-template-columns: minmax(370px, 1.2fr) minmax(530px, 1.45fr) auto;
    align-items: center;
    gap: 34px;
    padding-top: 2px;
    padding-bottom: 15px;
}

.event-search {
    min-height: 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    overflow: hidden;
    border: 1px solid #cad8de;
    border-radius: 12px;
    background: #fff;
}

.event-search input {
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.event-search input::placeholder {
    color: #72838c;
}

.event-search button {
    border: 0;
    background: var(--blue-dark);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}

.event-search button:hover {
    background: var(--action);
}

.event-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-filter-chips a,
.view-switch a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .78rem;
    font-weight: 640;
    text-decoration: none;
    white-space: nowrap;
}

.event-filter-chips a {
    padding: 0 17px;
    border-radius: 999px;
}

.event-filter-chips a:hover,
.event-filter-chips a.active,
.view-switch a:hover,
.view-switch a.active {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
    color: #fff;
}

.view-switch {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.view-switch a {
    gap: 8px;
    padding: 0 16px;
    border: 0;
}

.view-switch svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.date-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 14px;
    padding-bottom: 14px;
}

.day-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.day-tabs a {
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    font-size: .78rem;
    font-weight: 690;
    text-decoration: none;
    text-transform: uppercase;
}

.day-tabs a:last-child {
    border-right: 0;
}

.day-tabs a:hover,
.day-tabs a.active {
    background: var(--blue-dark);
    color: #fff;
}

.day-tabs a.focus {
    background: #e1f1f7;
    color: #176d8d;
    box-shadow: inset 0 -3px 0 #51a8c8;
}

.week-control {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.week-control > svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.week-control span {
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.week-control a {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1;
    text-decoration: none;
}

.active-result-line {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
    margin-bottom: 10px;
    padding: 8px 13px;
    border-radius: 8px;
    background: var(--mist);
    color: var(--body);
    font-size: .8rem;
}

.active-result-line p {
    margin: 0;
}

.active-result-line a {
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration: none;
}

.events-lead {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(360px, 1fr);
    gap: 13px;
}

.event-hero,
.event-timeline-panel {
    min-height: 375px;
    overflow: hidden;
    border-radius: 13px;
}

.event-hero {
    position: relative;
    display: flex;
    align-items: end;
    isolation: isolate;
    background: linear-gradient(135deg, #345d55, #886233);
    color: #fff;
}

.event-hero > img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-scrim {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 18, .86), rgba(5, 13, 18, .38) 58%, rgba(5, 13, 18, .04)),
        linear-gradient(0deg, rgba(5, 13, 18, .46), transparent 56%);
}

.event-date-badge,
.small-date-badge {
    display: grid;
    place-items: center;
    background: #4e7c48;
    color: #fff;
}

.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 61px;
    border-radius: 8px;
}

.event-date-badge.music,
.small-date-badge.music,
.small-date-badge.culture {
    background: #e68a15;
}

.event-date-badge.sport,
.small-date-badge.sport {
    background: #397cc4;
}

.event-date-badge.church,
.small-date-badge.church {
    background: #5b4e9f;
}

.event-date-badge strong,
.small-date-badge strong {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1;
}

.event-date-badge strong {
    align-self: end;
    font-size: 1.35rem;
}

.event-date-badge span,
.small-date-badge span {
    align-self: start;
    font-size: .62rem;
    font-weight: 800;
}

.event-hero-copy {
    width: min(720px, 74%);
    padding: 31px 27px;
}

.event-topic {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    border-radius: 5px;
    background: #e7edf4;
    color: #345c88;
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.event-topic.nature {
    background: #728c64;
    color: #fff;
}

.event-topic.music,
.event-topic.culture {
    background: #ef9b2c;
    color: #fff;
}

.event-topic.sport {
    background: #dbe9fa;
    color: #1c5eaa;
}

.event-topic.church {
    background: #e1ddf4;
    color: #534591;
}

.event-topic.local {
    background: var(--mist);
    color: var(--blue-dark);
}

.event-topic.free {
    margin-left: 5px;
    background: #edf2dc;
    color: #4c6b42;
}

.event-hero-copy h2 {
    margin: 8px 0 4px;
    font-family: var(--serif);
    font-size: clamp(2.1rem, 3.4vw, 3.65rem);
    font-weight: 500;
    letter-spacing: -.034em;
    line-height: 1;
    text-wrap: balance;
}

.event-hero-copy > p {
    max-width: 670px;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, .9);
    font-size: .91rem;
}

.event-location-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 650;
}

.event-location-line svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.event-location-line i {
    color: rgba(255, 255, 255, .65);
}

.event-hero-copy > a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 11px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 760;
    text-decoration: none;
}

.event-hero-copy > a:hover {
    background: var(--mist);
}

.event-photo-credit {
    position: absolute;
    right: 18px;
    bottom: 13px;
    color: rgba(255, 255, 255, .8);
    font-size: .68rem;
    text-shadow: 0 1px 2px #000;
}

.event-hero.without-image {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .18), transparent 24%),
        linear-gradient(135deg, #385b58, #8a7049);
}

.event-timeline-panel {
    position: relative;
    padding: 21px 24px;
    background: linear-gradient(145deg, #fbf7f0, #f4eee5);
    border: 1px solid #eee6da;
}

.event-timeline-panel h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -.02em;
}

.event-timeline-panel ol {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    margin: 19px 0 17px;
    padding: 0;
    list-style: none;
}

.event-timeline-panel ol::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 5px;
    width: 1px;
    background: #91a2a7;
}

.event-timeline-panel li {
    position: relative;
    display: grid;
    grid-template-columns: 12px 45px minmax(0, 1fr) 22px;
    align-items: start;
    gap: 10px;
}

.event-timeline-panel li > i {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border: 1.4px solid var(--ink);
    border-radius: 50%;
    background: #f7f1e8;
}

.event-timeline-panel time {
    font-size: .76rem;
    font-weight: 720;
}

.event-timeline-panel li > div {
    min-width: 0;
}

.event-timeline-panel li > div > a {
    display: block;
    overflow: hidden;
    font-size: .75rem;
    font-weight: 620;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-timeline-panel li > div > span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--muted);
    font-size: .62rem;
}

.save-event,
.event-card-save {
    color: var(--ink);
}

.save-event svg,
.event-card-save svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.show-day {
    position: relative;
    z-index: 2;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 7px;
    background: var(--blue-dark);
    color: #fff;
    font-size: .73rem;
    font-weight: 730;
    text-decoration: none;
}

.show-day:hover {
    background: var(--action);
}

.event-timeline-empty {
    position: relative;
    z-index: 2;
    color: var(--muted);
}

.event-timeline-notes,
.event-timeline-grass {
    position: absolute;
    fill: none;
    stroke: #b2976b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.1;
    opacity: .62;
}

.event-timeline-notes {
    right: 62px;
    bottom: 35px;
    width: 95px;
}

.event-timeline-grass {
    right: -8px;
    bottom: -9px;
    width: 175px;
}

.event-previews {
    padding-top: 28px;
}

.event-previews-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 13px;
}

.event-previews-heading h2 {
    margin: 2px 0 0;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.7vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -.035em;
}

.event-previews-heading > p {
    max-width: 520px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: .84rem;
}

.event-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.event-preview-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 21, 36, .045);
}

.event-preview-card.deadline-near {
    border-color: #e2a14c;
    box-shadow: 0 8px 24px rgba(188, 91, 18, .12);
}

.event-preview-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: #e7edef;
}

.event-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-preview-body {
    padding: 14px 15px 16px;
}

.event-preview-labels {
    min-height: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.event-preview-labels span,
.event-preview-labels strong {
    padding: 4px 8px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: .65rem;
    font-weight: 780;
    line-height: 1;
}

.event-preview-labels span {
    background: #e8f1e3;
    color: #315a38;
}

.event-preview-labels strong {
    background: #f7ead9;
    color: #8a3f0b;
}

.deadline-near .event-preview-labels strong {
    background: #c34f16;
    color: #fff;
}

.event-preview-card h3 {
    margin: 10px 0 6px;
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.12;
}

.event-preview-card h3 a {
    color: inherit;
    text-decoration: none;
}

.event-preview-card p {
    margin: 0;
    color: var(--body);
    font-size: .78rem;
}

.event-preview-card small {
    display: block;
    margin-top: 11px;
    color: var(--muted);
    font-size: .7rem;
}

.recommended-events {
    padding-top: 13px;
}

.recommended-heading {
    display: flex;
    align-items: baseline;
    gap: 34px;
    margin-bottom: 10px;
}

.recommended-heading h2,
.weekend-planner h2,
.newsletter-panel h2,
.map-heading-row h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.025em;
}

.recommended-heading h2 {
    font-size: 2rem;
}

.recommended-heading p {
    margin: 0;
    color: var(--body);
    font-size: .75rem;
}

.event-card-grid {
    display: grid;
    grid-template-columns: 1.15fr .8fr .88fr 1.08fr;
    gap: 13px;
}

.event-card {
    position: relative;
    min-width: 0;
    min-height: 182px;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.event-card-2,
.event-card-3 {
    grid-template-columns: minmax(0, .9fr) minmax(115px, 1.1fr);
    grid-template-rows: 1fr;
}

.event-card-4 {
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, #fff2d7, #f9dca6);
}

.event-card-image {
    display: block;
    min-height: 112px;
    overflow: hidden;
}

.event-card-1 .event-card-image {
    min-height: 116px;
}

/* Det brede, første anbefalingskort får teksten først og et roligt billede
   nederst. Det giver plads til titlen uden at billedet gør rækken høj. */
.event-card-1 {
    display: flex;
    flex-direction: column;
}

.event-card-1 .event-card-body {
    order: 1;
}

.event-card-1 .event-card-image {
    order: 2;
    height: clamp(108px, 8vw, 136px);
    min-height: 0;
    margin-top: auto;
}

.event-card-2 .event-card-image,
.event-card-3 .event-card-image {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
}

.event-card-4 .event-card-image {
    margin: 74px 10px 10px;
    min-height: 95px;
    border-radius: 8px;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.small-date-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    width: 42px;
    height: 50px;
    border-radius: 6px;
}

.small-date-badge strong {
    align-self: end;
    font-size: 1.15rem;
}

.event-card-body {
    position: relative;
    min-width: 0;
    padding: 11px 48px 12px 13px;
}

.event-card-2 .event-card-body,
.event-card-3 .event-card-body {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-top: 60px;
}

.event-card-4 .event-card-body {
    position: absolute;
    inset: 0 0 auto;
    padding: 12px 44px 8px 68px;
}

.event-card h3 {
    margin: 5px 0 0;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.event-card h3 a {
    text-decoration: none;
}

.event-card h3 a:hover {
    color: var(--blue-dark);
}

.event-card p {
    display: none;
    margin: 5px 0 0;
    color: var(--body);
    font-size: .68rem;
}

.event-card-meta {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .62rem;
}

.event-card-save {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
}

/* Op til tre rækker anbefalinger: dato og tekst læses først, motivet afslutter kortet. */
.recommended-events .event-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
}

.recommended-events .event-card,
.recommended-events .event-card-1,
.recommended-events .event-card-2,
.recommended-events .event-card-3,
.recommended-events .event-card-4,
.recommended-events .event-card-5 {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    background: #fff;
}

.recommended-events .event-card-body,
.recommended-events .event-card-1 .event-card-body,
.recommended-events .event-card-2 .event-card-body,
.recommended-events .event-card-3 .event-card-body,
.recommended-events .event-card-4 .event-card-body,
.recommended-events .event-card-5 .event-card-body {
    position: relative;
    inset: auto;
    order: 1;
    align-self: auto;
    padding: 12px 40px 8px 64px;
}

.recommended-events .small-date-badge {
    top: 12px;
    left: 12px;
}

.recommended-events .event-card-image,
.recommended-events .event-card-1 .event-card-image,
.recommended-events .event-card-2 .event-card-image,
.recommended-events .event-card-3 .event-card-image,
.recommended-events .event-card-4 .event-card-image,
.recommended-events .event-card-5 .event-card-image {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    width: 100%;
    height: 160px;
    min-height: 0;
    margin: auto 0 0;
    border-radius: 0;
}

.recommended-events .event-card-image {
    position: relative;
}

.recommended-events .event-card-image img {
    min-height: 0;
}

.recommended-events .event-card-image-tags {
    position: absolute;
    z-index: 1;
    bottom: 9px;
    left: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 18px);
}

.recommended-events .event-card-image-tags .event-topic {
    box-shadow: 0 1px 5px rgba(11, 26, 35, .18);
}

.recommended-events .event-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.events-bottom-grid {
    display: grid;
    grid-template-columns: 1.07fr 1.04fr .92fr;
    gap: 13px;
    padding-top: 13px;
}

.events-bottom-grid.selected-date {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weekend-planner,
.event-map,
.newsletter-panel {
    min-height: 145px;
    overflow: hidden;
    border-radius: 11px;
}

.weekend-planner {
    padding: 14px 20px;
    background: linear-gradient(135deg, #faf6ef, #f6f0e6);
}

.weekend-planner h2,
.newsletter-panel h2 {
    font-size: 1.5rem;
    line-height: 1.06;
}

.weekend-planner > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 7px;
}

.weekend-planner section + section {
    padding-left: 18px;
    border-left: 1px solid #ddd8cf;
}

.weekend-planner h3 {
    margin: 0 0 5px;
    font-size: .72rem;
}

.weekend-planner section > a {
    display: grid;
    grid-template-columns: 7px 34px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    margin: 5px 0;
    font-size: .62rem;
    text-decoration: none;
}

.weekend-planner section > a > i {
    width: 7px;
    height: 7px;
    margin-top: 4px;
    border-radius: 50%;
    background: #e68a15;
}

.weekend-planner section:nth-child(2) > a > i {
    background: #4c7f48;
}

.weekend-planner time {
    font-weight: 700;
}

.weekend-planner small {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-size: .55rem;
}

.weekend-planner section > p {
    margin: 5px 0;
    color: var(--muted);
    font-size: .63rem;
}

.event-map {
    position: relative;
    min-height: 145px;
    background:
        radial-gradient(circle at 72% 29%, rgba(255, 255, 255, .8) 0 3px, transparent 4px),
        linear-gradient(120deg, #eaf0dd, #f2f2df 46%, #e2eee9);
}

.map-road {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 1px rgba(207, 211, 194, .35);
    transform-origin: left center;
}

.road-one {
    top: 58%;
    left: -4%;
    width: 112%;
    transform: rotate(-13deg);
}

.road-two {
    top: 18%;
    left: 27%;
    width: 76%;
    transform: rotate(43deg);
}

.map-water {
    position: absolute;
    bottom: -28px;
    left: -30px;
    width: 180px;
    height: 88px;
    border-radius: 50%;
    background: #cce5ed;
    transform: rotate(13deg);
}

.map-town {
    position: absolute;
    z-index: 2;
    font-size: .67rem;
    font-weight: 680;
}

.town-varde {
    top: 38%;
    left: 18%;
}

.town-ansager {
    top: 52%;
    left: 50%;
}

.town-oelgod {
    top: 70%;
    left: 66%;
}

.map-pin {
    position: absolute;
    z-index: 3;
    top: var(--pin-top);
    left: var(--pin-left);
    width: 20px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    background: #1472d0;
    box-shadow: 0 2px 5px rgba(7, 21, 36, .25);
    transform: translate(-50%, -100%) rotate(-45deg);
}

.map-pin span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.open-map {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 12px;
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 720;
    text-decoration: none;
}

.newsletter-panel {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 11px;
    padding: 17px 58px 15px 17px;
    background: linear-gradient(135deg, #eff5ff, #e7f0fb);
}

.mail-icon {
    width: 28px;
    fill: none;
    stroke: #12529a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.events-eyebrow {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.newsletter-panel p:not(.events-eyebrow) {
    margin: 7px 0;
    color: var(--body);
    font-size: .65rem;
}

.newsletter-panel a {
    color: #1262bb;
    font-size: .64rem;
    font-weight: 680;
    text-decoration: none;
}

.newsletter-leaves {
    position: absolute;
    right: -5px;
    bottom: -17px;
    width: 72px;
    fill: none;
    stroke: #83a4cf;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
}

.full-map-section {
    padding-top: 4px;
}

.map-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 10px;
}

.map-heading-row h2 {
    font-size: 2rem;
}

.map-heading-row > span {
    color: var(--muted);
    font-size: .75rem;
}

.event-map-large {
    min-height: 460px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.leaflet-event-map {
    z-index: 1;
    background: #e5ece7;
}

.event-map-popup {
    display: grid;
    gap: 5px;
    min-width: 190px;
    color: var(--ink);
}

.event-map-popup strong {
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.2;
}

.event-map-popup span {
    color: var(--muted);
    font-size: .76rem;
}

.event-map-popup a {
    color: var(--blue-dark);
    font-size: .78rem;
    font-weight: 750;
}

.event-map-empty {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .82rem;
}

.event-map-loading {
    min-height: 460px;
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.event-map-large .map-town {
    font-size: 1rem;
}

.event-map-large .map-pin {
    width: 27px;
    height: 35px;
}

.event-map-large .map-pin span {
    width: 8px;
    height: 8px;
}

.empty-event-hero {
    align-items: end;
}

@media (max-width: 1250px) {
    .event-controls {
        grid-template-columns: minmax(340px, 1fr) minmax(0, 1.3fr) auto;
        gap: 15px;
    }

    .event-filter-chips {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .event-filter-chips a {
        padding: 0 13px;
    }

    .event-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-card {
        min-height: 210px;
    }

    .event-card-4 .event-card-image {
        min-height: 120px;
    }

    .events-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter-panel {
        grid-column: 1 / -1;
        min-height: 125px;
    }
}

@media (max-width: 960px) {
    .event-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .events-intro h1 {
        font-size: 3rem;
    }

    .event-controls {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .event-filter-chips {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .date-navigation {
        grid-template-columns: 1fr;
    }

    .week-control {
        justify-self: end;
        width: 250px;
    }

    .events-lead {
        grid-template-columns: 1fr;
    }

    .event-hero {
        min-height: 430px;
    }

    .event-timeline-panel {
        min-height: 330px;
    }

    .event-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .event-previews-heading {
        display: block;
    }

    .event-previews-heading > p {
        margin-top: 6px;
    }

    .event-preview-grid {
        grid-template-columns: 1fr;
    }

    .events-intro {
        align-items: flex-start;
        padding-top: 20px;
    }

    .events-intro h1 {
        font-size: 2.55rem;
    }

    .events-intro > div > p {
        max-width: 280px;
        font-size: .82rem;
    }

    .submit-event {
        min-height: 38px;
        padding: 0 11px;
        font-size: .7rem;
        white-space: nowrap;
    }

    .event-controls {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .view-switch {
        width: fit-content;
    }

    .event-filter-chips {
        grid-row: auto;
        grid-column: auto;
        margin-right: -14px;
    }

    .event-filter-chips a {
        min-height: 37px;
    }

    .date-navigation {
        width: 100%;
        gap: 8px;
        overflow: hidden;
    }

    .day-tabs {
        display: flex;
        overflow-x: auto;
        border-radius: 0;
        border-right: 0;
        border-left: 0;
    }

    .day-tabs a {
        flex: 0 0 112px;
    }

    .week-control {
        width: calc(100% - 28px);
        justify-self: center;
    }

    .active-result-line {
        width: calc(100% - 28px);
    }

    .events-lead {
        width: 100%;
    }

    .event-hero,
    .event-timeline-panel {
        border-radius: 0;
    }

    .event-hero {
        min-height: 500px;
    }

    .event-hero-copy {
        width: 100%;
        padding: 30px 20px 34px;
    }

    .event-hero-copy h2 {
        font-size: 2.7rem;
    }

    .event-photo-credit {
        display: none;
    }

    .event-timeline-panel {
        padding: 27px 20px;
    }

    .recommended-events {
        padding-top: 25px;
    }

    .recommended-heading {
        display: block;
    }

    .recommended-heading p {
        margin-top: 2px;
    }

    .event-card-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        min-height: 180px;
    }

.event-card-2,
.event-card-3 {
    grid-template-columns: 1fr minmax(135px, .9fr);
}

    .events-bottom-grid {
        grid-template-columns: 1fr;
    }

    .weekend-planner,
    .event-map,
    .newsletter-panel {
        min-height: 190px;
    }

    .weekend-planner > div {
        gap: 12px;
    }

    .newsletter-panel {
        grid-column: auto;
    }

    .map-heading-row {
        align-items: flex-start;
    }

    .event-map-large {
        min-height: 520px;
        border-radius: 0;
    }

    .full-map-section {
        width: 100%;
    }
}

@media (max-width: 1250px) {
    .recommended-events .event-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .recommended-events .event-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .recommended-events .event-card-grid {
        grid-template-columns: 1fr;
    }
}
.event-hero-image,
.event-preview-image,
.event-card-image {
    position: relative;
}
