:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --white: #fffef9;
  --ink: #192c23;
  --muted: #4e6155;
  --green: #193a2c;
  --moss: #284c3a;
  --lime: #e3edb4;
  --line: #dbdfd1;
  --gold: #f1d084;
  --soft-gold: #fbf2da;
  --menu-gold: #f8e3a5;
  --menu-gold-active: #f4d47b;
  --menu-gold-line: #c58b26;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #9b5608; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.wrap { width: min(1136px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip-link:focus { position: absolute; top: 12px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--white); }
.masthead { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: var(--white); }
.mast-photo { position: absolute; z-index: -2; inset: 0 0 0 30%; background: url('hegge.jpg') center 53% / cover no-repeat; }
.masthead::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #193a2c 0%, #193a2c 28%, #193a2ce8 43%, #193a2c30 72%, #193a2c0a 100%); }
.mast-inner { padding-block: 34px 36px; }
.location { display: flex; align-items: center; gap: 10px; color: var(--lime); font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 11px; }
.location span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.site-name { display: inline-block; font: 400 clamp(2.35rem, 5.2vw, 4.65rem)/.99 var(--serif); letter-spacing: -.06em; text-decoration: none; }
.site-name strong { color: var(--lime); font-weight: 400; font-style: italic; }
.tagline { margin-top: 12px; color: #ecf2e7; font-size: 1rem; }
.masthead a:focus-visible, .feature a:focus-visible { outline-color: var(--gold); }

.nav-shell { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.primary-menu li { position: relative; min-width: 0; }
.primary-menu .nav-item { display: flex; align-items: center; min-width: 0; }
.primary-menu a { display: block; padding: 15px 12px; font-size: .875rem; font-weight: 680; text-decoration: none; overflow-wrap: anywhere; }
.primary-menu a:hover, .primary-menu a[aria-current="page"] { color: #216145; }
.submenu-toggle { min-width: 34px; min-height: 42px; background: transparent; border: 0; color: var(--moss); font-size: 1rem; }
.submenu-toggle::before { content: ''; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
.primary-menu > li > ul { position: absolute; top: 100%; left: 0; width: min(335px, calc(100vw - 45px)); max-height: min(60vh, 510px); overflow: auto; border: 1px solid var(--line); border-top: 3px solid var(--moss); border-radius: 0 0 14px 14px; background: var(--white); box-shadow: 0 12px 32px #193a2c22; padding: 7px; }
.primary-menu > li > ul a { flex: 1; padding: 9px 12px; }
.primary-menu li li ul { margin: 0 0 6px 16px; border-inline-start: 1px solid var(--line); }
.menu-toggle { display: none; }

.layout { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(275px, 1fr); gap: clamp(26px, 4.1vw, 54px); align-items: start; padding-block: 35px 64px; }
.layout > * { min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 44px; }
.section-head h1, .section-head h2 { font: 400 clamp(1.8rem, 3.35vw, 2.5rem)/1.08 var(--serif); letter-spacing: -.05em; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid #bfcbbc; color: var(--green); font-size: 1.26rem; line-height: 1; }
.carousel-controls button:hover { background: var(--lime); }
.feature { display: grid; grid-template-columns: 1.24fr 1fr; min-height: 270px; color: var(--white); background: var(--green); border-radius: 19px; overflow: hidden; }
.feature + .feature { margin-top: 12px; }
.feature[hidden] + .feature { margin-top: 0; }
.feature-copy { min-width: 0; align-self: center; padding: clamp(22px, 3vw, 38px); }
.feature-copy .category { display: inline-block; background: var(--lime); color: var(--green); padding: 3px 10px; border-radius: 100px; text-decoration: none; font-size: .69rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.feature-copy .category:hover { text-decoration: underline; }
.feature h2 { font: 400 clamp(1.75rem, 3.35vw, 3.05rem)/1.02 var(--serif); letter-spacing: -.035em; margin: 13px 0 9px; overflow-wrap: anywhere; }
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { text-decoration: underline; }
.feature time { display: block; font-size: .82rem; color: #dce8dc; }
.feature-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--white); text-decoration: none; font-size: .85rem; font-weight: 720; }
.feature-link:hover { text-decoration: underline; }
.feature-art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 190px; overflow: hidden; }
.anniversary { align-content: center; color: #294335; background: #e5d29d; background-image: repeating-radial-gradient(ellipse at 58% 108%, transparent 0 19px, #7f803f39 20px 21px, transparent 22px 36px), linear-gradient(145deg,#f1dfaa,#d2bf83); }
.anniversary-label, .anniversary-date { font-weight: 800; font-size: .69rem; letter-spacing: .21em; z-index: 1; }
.anniversary-number { font: italic 400 clamp(6.2rem, 11.8vw, 10rem)/.82 var(--serif); letter-spacing: -.09em; margin: -1px .1em 11px 0; }
.routes { color: var(--green); background: radial-gradient(ellipse at center, var(--lime), #95aa76); }
.routes span { font-size: clamp(5rem, 11vw, 9rem); }
.market { background: #fff; }
.market img { width: 100%; height: 100%; max-height: 252px; object-fit: contain; padding: 16px; }
.slide-status { text-align: right; font-size: .73rem; color: var(--muted); margin-top: 8px; }
.welcome, .about, .inner-page { margin-top: 25px; }
.welcome h2, .about h2, .inner-page h1, .wp-content .entry-title, .wp-content .page-title { font: 400 clamp(1.8rem, 3.5vw, 3rem)/1.06 var(--serif); letter-spacing: -.045em; }
.welcome p, .about p, .inner-page p { margin-top: 12px; }
.about p, .inner-page p { max-width: 68ch; }
.about { border-top: 1px solid var(--line); padding-top: 27px; }
.about h2 { font-size: clamp(1.65rem, 3vw, 2.32rem); }
.about .text-link { margin-top: 12px; }

:is(.sidebar, .layout > #secondary) { display: grid; gap: 12px; padding-top: 4px; }
.search-form { display: flex; min-width: 0; min-height: 48px; border: 1px solid #bfcbbc; border-radius: 12px; background: var(--white); }
.search-form label:not(.sr-only):not(.screen-reader-text) { display: flex; flex: 1; min-width: 0; }
.search-form input[type="search"], .search-form input[type="text"] { flex: 1; min-width: 0; width: 100%; padding: 9px 13px; background: transparent; border: 0; color: var(--ink); font-size: .9rem; border-radius: 12px 0 0 12px; }
.search-form button, .search-form input[type="submit"] { flex: none; min-width: 46px; min-height: 44px; border: 0; border-radius: 0 11px 11px 0; background: var(--moss); color: white; }
.search-icon { position: relative; display: inline-block; width: 14px; height: 14px; border: 1.8px solid currentColor; border-radius: 50%; vertical-align: middle; }
.search-icon::after { content: ''; position: absolute; width: 7px; border-top: 1.8px solid; transform: rotate(46deg); right: -6px; bottom: -3px; }
.widget { padding: 18px 20px; border: 1px solid var(--line); background: var(--white); border-radius: 13px; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.widget h2, .widget-title { font: 400 1.53rem/1.15 var(--serif); letter-spacing: -.025em; margin: 0 0 12px; }
.widget a:not(.text-link) { text-decoration: none; }
.widget a:hover { text-decoration: underline; }
.hegge-event { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: start; }
.hegge-event > time { width: 49px; min-height: 56px; background: var(--lime); color: var(--green); text-align: center; border-radius: 9px; line-height: 1.05; padding: 6px 2px; }
.hegge-event > time b { display: block; font: 400 1.55rem/1 var(--serif); }
.hegge-event > time span { font-size: .67rem; font-weight: 720; text-transform: uppercase; }
.hegge-event a { font-size: .94rem; font-weight: 730; }
.hegge-event p { color: var(--muted); font-size: .77rem; line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 740; color: var(--moss); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.agenda .text-link { margin-top: 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.recent li, .widget_recent_entries li { border-top: 1px solid var(--line); padding: 8px 0; line-height: 1.36; }
.recent li:last-child, .widget_recent_entries li:last-child { padding-bottom: 0; }
.recent a, .widget_recent_entries a { display: block; font-size: .86rem; font-weight: 660; }
.recent time, .widget_recent_entries .post-date { display: block; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.community { display: flex; align-items: center; gap: 12px; }
.community h2 { margin: 0; font-size: 1.25rem; }
.community h2 span { font: 400 .9rem var(--sans); margin-left: 5px; }
.site-footer { padding-block: 26px; background: var(--green); color: var(--white); }
.footer-inner { text-align: center; font-size: .81rem; }
.inner-page { margin-top: 0; }
.breadcrumb { font-size: .83rem; color: var(--muted); margin-bottom: 18px; }
.archive-list { display: grid; gap: 12px; padding: 0; list-style: none; margin-top: 22px; }
.archive-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.archive-list a { font-weight: 690; }
.archive-list time { display: block; font-size: .8rem; color: var(--muted); }
.inner-page > .text-link { margin-top: 20px; }
.wp-content { overflow-wrap: anywhere; }
.wp-content .entry-content { margin-top: 16px; }
.wp-content .entry-content p, .wp-content .entry-summary p { margin-block: 0 1em; }
.wp-content .entry-content :is(h2,h3,h4) { margin-block: 1em .4em; }
.wp-content .entry-meta { color: var(--muted); font-size: .87rem; margin-top: 7px; }
.wp-content article + article { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.wp-content table { display: block; overflow-x: auto; }
.wp-content iframe { max-width: 100%; }
body #cookie-law-info-bar { width: min(460px, calc(100% - 24px)) !important; left: auto !important; right: 12px !important; bottom: 12px !important; padding: 13px !important; background: var(--green) !important; color: white !important; border-radius: 12px; box-shadow: 0 4px 28px #193a2c44; font-size: .85rem !important; }
body #cookie-law-info-bar a { color: white !important; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 48px); }
  .primary-menu { gap: 0; }
  .primary-menu a { padding-inline: 8px; }
  .submenu-toggle { min-width: 28px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { padding-block: 27px 29px; }
  .mast-photo { left: 24%; }
  .masthead::after { background: linear-gradient(90deg,#193a2c 0%,#193a2cf0 39%,#193a2c58 100%); }
  .site-nav .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 0 10px; min-height: 48px; margin-left: -10px; background: transparent; border: 0; color: var(--green); font-weight: 700; }
  .site-nav[data-enhanced] .primary-menu { display: none; }
  .site-nav[data-enhanced] .primary-menu.is-open { display: block; padding-block: 0 7px; }
  .primary-menu { display: block; }
  .primary-menu > li { border-top: 1px solid var(--line); }
  .primary-menu a { padding: 11px 0; flex: 1; }
  .submenu-toggle { min-width: 44px; min-height: 44px; }
  .primary-menu > li > ul { position: static; width: auto; box-shadow: none; border: 0; border-inline-start: 1px solid var(--line); margin: 0 0 8px 8px; padding: 0 3px; max-height: none; }
  .layout { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 23px 38px; }
  :is(.sidebar, .layout > #secondary) { padding-top: 0; }
}
@media (max-width: 480px) {
  .feature { grid-template-columns: minmax(0,1fr); }
  .feature-copy { padding: 23px; }
  .feature-art { min-height: 148px; }
  .anniversary-number { font-size: 6.5rem; }
  .market img { max-height: 150px; }
  .mast-photo { left: 0; }
}

/* Widget markup supplied by Fashify and Event Organiser. */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.widget_search { padding: 0; border: 0; background: transparent; }
.widget_media_image img { max-width: min(100%, 88px); }
.widget_facebook_likebox iframe { max-width: 100%; }
.EO_Event_List_Widget a { font-weight: 680; }
.wp-content .page-title { margin-bottom: 20px; }
.wp-content :is(.navigation, .comments-area) { margin-top: 26px; }
.wp-content .entry-summary { margin-top: 10px; }
.comment-form :is(input,textarea) { max-width: 100%; }

/* Keep WordPress block and plugin markup in the same visual system as the preview. */
.home .featured + .wp-content .wppsac-wrap.wppsac-slick-slider-wrp { display: none; }
.welcome .entry-content p:empty { display: none; }
.wp-content .entry-content .welcome-subheading {
  border-top: 1px solid var(--line);
  padding-top: 27px;
  margin-top: 26px;
  font: 400 clamp(1.65rem, 3vw, 2.32rem)/1.06 var(--serif);
  letter-spacing: -.045em;
}
.inner-page .archive-description p { margin: 0; }
.archive-list h2 { font: inherit; line-height: 1.35; }
.archive-list h2 a { text-decoration: none; }
.archive-list .event-period { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.hegge-event:has(> .event-badge) { grid-template-columns: auto minmax(0, 1fr); }
.hegge-event:not(:has(> .event-badge)) { grid-template-columns: minmax(0, 1fr); }
.event-list .hegge-event { align-items: center; }
.site-footer .footer-inner { color: var(--white); }
.EO_Event_List_Widget .hegge-event + .hegge-event { margin-top: 12px; }
.EO_Event_List_Widget .agenda-link { margin-top: 12px; }
body #cookie-law-info-again {
  background: var(--green) !important;
  border-radius: 9px 9px 0 0;
  color: var(--white) !important;
  font-family: var(--sans) !important;
}
body #cookie-law-info-bar #cookie_action_close_header {
  background: var(--lime) !important;
  color: var(--green) !important;
}
body #cookie-law-info-bar #cookie_action_close_header_reject {
  background: var(--moss) !important;
  color: var(--white) !important;
}

/* Category cards, search results and sidebar accents. */
.archive-list .archive-post {
  display: grid;
  align-items: center;
  gap: 16px;
}
.archive-list .archive-post.has-thumbnail {
  grid-template-columns: clamp(74px, 13vw, 144px) minmax(0, 1fr);
}
.archive-image {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}
.archive-image .archive-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-post-copy { min-width: 0; }
.archive-post-copy time { margin-top: 5px; }
.category-archive .pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-archive .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}
.category-archive a.page-numbers { background: var(--white); }
.category-archive :is(a.page-numbers:hover, a.page-numbers:focus-visible, .page-numbers.current) {
  background: var(--soft-gold);
}
.category-archive .page-numbers.dots { border-color: transparent; }

/* Jetpack's sharing controls beneath an article. */
.wp-content .sharedaddy.sd-sharing-enabled {
  margin-block: 28px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--lime) 20%, var(--white));
}
.wp-content .sharedaddy .sd-sharing { margin: 0; }
.wp-content .sharedaddy .sd-sharing h3.sd-title {
  display: block;
  margin: 0 0 12px;
  padding-inline-start: 10px;
  border-inline-start: 3px solid var(--gold);
  color: var(--green);
  font: 400 1.28rem/1.2 var(--serif);
}
.wp-content .sharedaddy .sd-sharing h3.sd-title::before { content: none; }
.wp-content .sd-sharing .sd-content > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wp-content .sd-sharing .sd-content > ul > li { margin: 0; }
.wp-content .sd-sharing .sd-content > ul > .share-end { display: none; }
.wp-content .sd-social-icon-text .sd-content > ul > li > .sd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green) !important;
  box-shadow: none;
  font: 650 .85rem/1.2 var(--sans);
}
.wp-content .sd-social-icon-text .sd-content > ul > li > .sd-button::before { top: 0; }
.wp-content .sd-social-icon-text .sd-content > ul > li > .sd-button > span {
  margin-inline: 0;
  line-height: inherit;
}
.wp-content .sd-social-icon-text .sd-content > ul > li > .sd-button:is(:hover, :focus-visible) {
  border-color: var(--menu-gold-line);
  background: var(--soft-gold);
  box-shadow: none;
}
.wp-content .sd-sharing .sd-content .share-customize-link {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.4;
}
.wp-content .sd-sharing .sd-content .share-customize-link a {
  font: .78rem/1.4 var(--sans);
}

/* Jetpack's related posts beneath an article. */
#jp-relatedposts.jp-relatedposts {
  margin-block: 32px 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-headline {
  display: block;
  float: none;
  margin: 0 0 14px;
  padding-inline-start: 12px;
  border-inline-start: 3px solid var(--gold);
  color: var(--green);
  font: 400 1.55rem/1.2 var(--serif);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-headline em {
  font-weight: inherit;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-headline em::before {
  content: none;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin: 0;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-list {
  grid-template-columns: minmax(0, 1fr);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
  opacity: 1;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-nothumbs {
  background: color-mix(in srgb, var(--lime) 24%, var(--white));
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-post > a:has(> .jp-relatedposts-post-img) {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post > a:has(> .jp-relatedposts-post-img) {
  max-width: 260px;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img {
  float: none;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  object-fit: cover;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-title {
  max-width: none;
  margin: 0;
  color: var(--green);
  font: 400 1.17rem/1.24 var(--serif);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a,
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
  text-decoration: none;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-post-title a::after {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  content: '';
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post a.jp-relatedposts-post-aoverlay {
  display: none;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-post-excerpt {
  margin: 0;
  color: var(--muted);
  font: .85rem/1.5 var(--sans);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post :is(.jp-relatedposts-post-date, .jp-relatedposts-post-context) {
  color: var(--muted);
  font: .78rem/1.35 var(--sans);
  opacity: 1;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-post-date {
  margin-top: auto;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:is(:hover, :focus-within) {
  border-color: var(--menu-gold-line);
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-post a:focus-visible::after {
  outline: 2px solid var(--menu-gold-line);
  outline-offset: 2px;
}

.widget_recent_entries li {
  position: relative;
  padding-inline-start: 17px;
}
.widget_recent_entries li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b88932;
}
:is(.sidebar, .layout > #secondary) :is(.EO_Event_List_Widget, .widget_recent_entries) {
  border-top-color: var(--gold);
}
body.search .wp-content article .entry-title {
  font-size: clamp(1.2rem, 2.35vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}
body.search .wp-content article .entry-title a { text-decoration: none; }
body.search .wp-content article .entry-title a:hover { text-decoration: underline; }

.carousel-controls [data-rotation] { display: grid; place-items: center; background: #f5e9c8; }
.carousel-controls [data-rotation]:hover { background: var(--gold); }
.carousel-controls [data-rotation] span {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-inline-start: 9px solid currentColor;
  margin-inline-start: 2px;
}
.carousel-controls [data-rotation][data-playing] span {
  width: 10px;
  height: 12px;
  border: 0;
  border-inline: 3px solid currentColor;
  margin-inline-start: 0;
}
@media (max-width: 480px) {
  .archive-list .archive-post { gap: 12px; padding: 12px; }
  .carousel-controls { gap: 5px; }
}

/* Center the content on pages without the homepage widgets. */
.layout-reading {
  grid-template-columns: minmax(0, 1fr);
  max-width: 800px;
}
.site-nav--reading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
}
.site-nav--reading > .primary-menu { flex: 1; min-width: 0; }
.nav-search { position: relative; margin-inline-start: auto; }
.nav-search summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--green);
  font-size: .875rem;
  font-weight: 680;
  cursor: pointer;
}
.nav-search summary::-webkit-details-marker { display: none; }
.nav-search summary:hover, .nav-search summary:focus-visible, .nav-search[open] summary { border-radius: 6px; background: var(--menu-gold); }
.nav-search-panel {
  position: absolute;
  z-index: 1;
  inset-inline-end: 0;
  top: 100%;
  width: min(310px, calc(100vw - 36px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 32px #193a2c22;
}
@media (max-width: 800px) {
  .site-nav--reading > .primary-menu { flex-basis: 100%; order: 1; }
}

/* A short reading page fills the viewport while the footer stays in normal flow. */
body:has(> .layout-reading) {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--hegge-admin-offset, 0px));
  min-height: calc(100dvh - var(--hegge-admin-offset, 0px));
}
body.admin-bar { --hegge-admin-offset: var(--wp-admin--admin-bar--height, 32px); }
body:has(> .layout-reading) > .site-footer { margin-block-start: auto; }
@media (max-width: 782px) {
  body.admin-bar { --hegge-admin-offset: var(--wp-admin--admin-bar--height, 46px); }
}

/* Keep the interaction accents visible for pointer and keyboard navigation. */
.primary-menu .nav-item,
.EO_Event_List_Widget .hegge-event,
.widget_recent_entries li { border-radius: 6px; }
.archive-list > li:focus-within {
  border-color: var(--gold);
  background: var(--soft-gold);
}
.primary-menu .nav-item:focus-within { background-color: var(--menu-gold); }

.EO_Event_List_Widget .hegge-event:focus-within,
.widget_recent_entries li:focus-within { background: var(--soft-gold); }

@media (hover: hover) {
  .archive-list > li:hover {
    border-color: var(--gold);
    background: var(--soft-gold);
    box-shadow: 0 5px 14px #193a2c12;
  }
  .primary-menu .nav-item:hover { background-color: var(--menu-gold); }

  .EO_Event_List_Widget .hegge-event:hover,
  .widget_recent_entries li:hover { background: var(--soft-gold); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .archive-list > li {
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }
  .archive-list > li:hover { transform: translateY(-2px); }
  .primary-menu .nav-item,
  .EO_Event_List_Widget .hegge-event,
  .widget_recent_entries li { transition: background-color 160ms ease; }
}

/* Extend the existing link over each highlighted row without adding a tab stop. */
:is(.archive-list > li, .EO_Event_List_Widget .hegge-event, .widget_recent_entries li, .primary-menu .nav-item) {
  position: relative;
}
:is(.archive-list > li h2, .EO_Event_List_Widget .hegge-event > div, .widget_recent_entries li, .primary-menu .nav-item) > a[href]::after {
  content: '';
  position: absolute;
  inset: 0;
}
:is(.EO_Event_List_Widget .hegge-event, .widget_recent_entries li) a:hover {
  text-decoration: none;
}
.primary-menu .nav-item > .submenu-toggle { position: relative; z-index: 1; }

/* Keep the active branch identifiable when its submenu is closed. */
.primary-menu :is(.current-menu-ancestor, .current-menu-parent, .current_page_ancestor, .current_page_parent) > .nav-item,
.primary-menu li:has(> ul a[aria-current="page"]) > .nav-item {
  background-color: var(--menu-gold);
}
.primary-menu :is(.current-menu-item, .current_page_item) > .nav-item,
.primary-menu .nav-item:has(> a[aria-current="page"]) {
  background-color: var(--menu-gold-active);
  box-shadow: inset 0 -2px var(--menu-gold-line);
}

/* Equal space on either side centers the menu even when search is present. */
@media (min-width: 801px) {
  .site-nav--reading {
    display: grid;
    grid-template-columns: minmax(76px, 1fr) minmax(0, max-content) minmax(76px, 1fr);
  }
  .site-nav--reading > .primary-menu { grid-column: 2; }
  .site-nav--reading > .nav-search { grid-column: 3; justify-self: end; }
  .primary-menu > li:nth-last-child(-n+4) > ul { left: auto; right: 0; }
}
