.event-page {
  --rural-pattern: url("/motifs/neutral.svg");
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(ellipse at top right, #e9eedf, transparent 50%), #f8f8f2;
}
.event-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #173e33;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  color: #fff8e8;
}
.event-nav a {
  color: inherit;
}
.event-nav .brand {
  margin: 0;
  font-size: 27px;
}
.event-main {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto;
  padding: 0;
}
.event-main section,
.event-evidence {
  margin-bottom: 28px;
  padding: 28px;
  background: #fffefb;
  border: 1px solid #e4e6db;
  border-radius: 14px;
}
.event-main h1 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin: 12px 0;
}
.event-main h2 {
  font-size: 24px;
  margin: 0 0 12px;
}
/* Regional interpretations stay in the outer gutters and selected hero seams. */
.event-page[data-motif="maramures"] {
  --rural-pattern: url("/motifs/maramures.svg");
}
.event-page[data-motif="ciocanesti"] {
  --rural-pattern: url("/motifs/ciocanesti.svg");
}
.event-page[data-motif="horezu"] {
  --rural-pattern: url("/motifs/horezu.svg");
}
.event-page[data-motif="saschiz"] {
  --rural-pattern: url("/motifs/saschiz.svg");
}
.event-page[data-motif="moldova"] {
  --rural-pattern: url("/motifs/moldova.svg");
}
.event-page[data-motif="muntenia"] {
  --rural-pattern: url("/motifs/muntenia.svg");
}
.event-page[data-motif="dobrogea"] {
  --rural-pattern: url("/motifs/dobrogea.svg");
}
.event-page[data-motif="banat"] {
  --rural-pattern: url("/motifs/banat.svg");
}
.event-page[data-motif="corund"] {
  --rural-pattern: url("/motifs/corund.svg");
}
.event-page[data-motif="agnita"] {
  --rural-pattern: url("/motifs/agnita.svg");
}
.event-page:is(
    [data-motif="agnita"],
    [data-motif="ciocanesti"],
    [data-motif="horezu"]
  )
  :is(.event-hero, .guide-hero) {
  position: relative;
  padding-bottom: 16px;
}
.event-page:is(
    [data-motif="agnita"],
    [data-motif="ciocanesti"],
    [data-motif="horezu"]
  )
  :is(.event-hero, .guide-hero)::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: 1px;
  width: 168px;
  height: 12px;
  background: var(--rural-pattern) center / 28px 28px repeat-x;
  opacity: 0.4;
  pointer-events: none;
}
@media screen and (min-width: 1440px) {
  .event-page::before,
  .event-page::after {
    content: "";
    position: fixed;
    top: 140px;
    bottom: 24px;
    width: 56px;
    background: var(--rural-pattern) top center / 56px 56px repeat-y;
    opacity: 0.12;
    pointer-events: none;
  }
  .event-page::before {
    left: calc((100vw - 1180px) / 4 - 28px);
  }
  .event-page::after {
    right: calc((100vw - 1180px) / 4 - 28px);
  }
}
@media (max-width: 600px) {
  .event-page:is(
      [data-motif="agnita"],
      [data-motif="ciocanesti"],
      [data-motif="horezu"]
    )
    :is(.event-hero, .guide-hero) {
    padding-bottom: 0;
  }
  .event-page :is(.event-hero, .guide-hero)::after {
    display: none;
  }
}
@media print {
  .event-page::before,
  .event-page::after,
  .event-page :is(.event-hero, .guide-hero)::after {
    display: none;
  }
}
.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.activity-list li {
  padding: 9px 14px;
  border-radius: 8px;
  background: #edf2e7;
  color: #274d3c;
}
.event-main .trip-preview {
  background: linear-gradient(130deg, #e8efdf, #fcf4df);
  border-color: #d7dfc8;
}
.trip-preview-icon {
  font-size: 56px;
  line-height: 1;
  color: #6c8760;
}
.trip-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.trip-preview-grid article {
  min-width: 0;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #dce3d0;
  background: #fffefbd9;
}
.trip-preview-grid h3 {
  margin: 4px 0 12px;
  line-height: 1.4;
  font-size: 23px;
}
.trip-preview-grid h3 a {
  color: #173e33;
}
.trip-duration-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trip-duration-links a {
  padding: 8px 12px;
  border: 1px solid #cbd7be;
  border-radius: 7px;
  text-decoration: none;
  background: #edf2e5;
  color: #173e33;
}
.trip-duration-links a:hover {
  background: #dfe9d5;
}
.event-main .event-intro {
  padding: 0;
}
.event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border-radius: 13px 13px 0 0;
  overflow: hidden;
}
.event-hero-copy {
  padding: 36px;
  align-self: center;
}
.event-hero-copy > p:last-of-type {
  color: #52624e;
}
.event-hero-media {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #edf1e5;
}
.event-hero-art {
  position: relative;
  display: grid;
  flex: 1;
  align-items: center;
  min-height: 320px;
}
.event-hero-art > svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}
.event-hero-media figcaption {
  padding: 12px 18px;
  font-size: 11px;
  line-height: 1.6;
  color: #52624e;
}
.event-crest {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: 115px;
  padding: 10px 14px;
  background: #fffefbf2;
  border: 1px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 18px #183e3214;
  text-decoration: none;
  font-size: 11px;
  font-weight: 650;
}
.event-hero-media .event-crest img {
  width: 48px;
  height: 58px;
  object-fit: contain;
}
.event-intro .event-section-nav {
  padding: 18px 30px;
}
.event-intro > .event-actions {
  margin: 0;
  padding: 0 30px 14px;
}
.hero-actions a:first-child {
  color: #fff8e8;
  background: #173e33;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
.section-heading > a {
  font-size: 13px;
}
.nearby-section .eyebrow,
.stay-section .eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
}
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.nearby-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #edf2e8;
  border-radius: 12px;
  border-top: 4px solid #6c8b65;
}
.nearby-card:nth-child(2) {
  background: #f8f0df;
  border-color: #b68d4b;
}
.nearby-card:nth-child(3) {
  background: #edf1f2;
  border-color: #6b8b98;
}
.nearby-number {
  position: absolute;
  right: 16px;
  top: 10px;
  font:
    38px Georgia,
    serif;
  opacity: 0.14;
}
.nearby-card .eyebrow {
  padding-right: 28px;
}
.nearby-card h3,
.stay-options h3 {
  font:
    24px/1.25 Georgia,
    serif;
  margin: 6px 0 12px;
}
.nearby-card p {
  font-size: 14px;
  margin: 8px 0;
}
.nearby-card > a {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
}
.area-search {
  padding: 20px 24px;
  background: #edf2e8;
  border-radius: 10px;
}
.event-main .stay-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px 30px;
  background: #183e32;
  color: #fff8e8;
  border: 0;
}
.stay-section h2 {
  font:
    32px/1.2 Georgia,
    serif;
}
.stay-intro > p:last-child {
  color: #dae2d1;
  font-size: 14px;
}
.stay-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.stay-options article {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 12px;
  color: #263d33;
  background: #fffefb;
}
.stay-options article > span {
  font-size: 30px;
  color: #a9723e;
}
.stay-options p {
  font-size: 14px;
}
.stay-options a {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
}
.stay-section > .verification {
  grid-column: 1 / -1;
  color: #d1ddcb;
  margin: 0;
  font-size: 12px;
}
.stay-search-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.event-main .stay-search-links a {
  color: #fff8e8;
  font-size: 14px;
}
.visit-pending summary {
  cursor: pointer;
  color: #52624e;
  font-size: 14px;
  padding: 12px 0;
}
.event-main p,
.event-main li,
.event-main dd {
  overflow-wrap: anywhere;
}
.event-main a {
  color: #215c43;
  text-underline-offset: 3px;
}
.event-place {
  color: #52624e;
}
.event-breadcrumb,
.event-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
}
.event-breadcrumb {
  margin-bottom: 22px;
  color: #52624e;
}
.event-section-nav {
  padding-top: 18px;
  border-top: 1px solid #e4e6db;
}
.event-photo {
  margin: 24px 0;
}
.event-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 10px;
  background: #f3f4eb;
}
.event-photo figcaption {
  font-size: 13px;
  color: #52624e;
  padding-top: 10px;
}
.archive-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.archive-photo-grid figure {
  min-width: 0;
  margin: 0;
}
.archive-photo-grid figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.archive-year {
  font-weight: 600;
}
.archive-lightbox {
  max-width: min(960px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 1px solid #dce2d6;
  border-radius: 12px;
  background: #fffefb;
  color: #173e33;
}
.archive-lightbox::backdrop {
  background: #17251fe0;
}
.archive-lightbox figure {
  margin: 0;
}
.archive-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  margin: auto;
  border-radius: 6px;
}
.archive-lightbox figcaption {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  font-size: 12px;
}
.archive-lightbox .archive-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #dce2d6;
  border-radius: 50%;
  background: #fffefb;
  color: #173e33;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
.event-main [id] {
  scroll-margin-top: 24px;
}
.event-main :focus-visible {
  outline: 3px solid #a9682f;
  outline-offset: 4px;
}
.event-dates {
  font-weight: 600;
  font-size: 20px;
}
.event-dates p {
  margin-bottom: 8px;
}
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.event-actions a,
.event-actions button {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid #c7d4c3;
  border-radius: 8px;
  background: #edf2e8;
  color: #173e33;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.event-actions button:first-child {
  background: #173e33;
  color: #fff;
}
.visit-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.visit-facts div {
  padding: 18px;
  border-radius: 10px;
  background: #f3f4eb;
}
.visit-facts dt {
  font-weight: 650;
  margin-bottom: 8px;
}
.visit-facts dd {
  margin: 0;
}
.verification {
  color: #52624e;
  font-size: 14px;
}
.event-evidence summary {
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
}
.event-evidence h2 {
  margin-top: 24px;
}
.event-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto;
  padding: 20px 0;
}
.event-footer a {
  color: #215c43;
}
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.commercial-grid article {
  padding: 20px;
  border: 1px solid #d5ddcd;
  border-radius: 10px;
  background: #f8f7ef;
}
.commercial-grid h3 {
  margin: 8px 0 12px;
}
.event-main .experience-section {
  background: linear-gradient(125deg, #f0f4e6, #fcf2df);
  border-color: #d6dfc8;
}
.commercial-grid .experience-card {
  position: relative;
  background: #fffefa;
  border-top: 4px solid #b98555;
  padding-right: 54px;
}
.experience-symbol {
  position: absolute;
  top: 15px;
  right: 18px;
  color: #bb8c4d;
  font-size: 30px;
  line-height: 1;
}
.experience-card > a {
  display: inline-block;
  padding: 8px 0;
  color: #204e39;
  font-weight: 600;
}
@media (max-width: 850px) {
  .event-hero,
  .event-main .stay-section {
    grid-template-columns: 1fr;
  }
  .event-hero-media {
    order: -1;
  }
  .event-hero-art {
    min-height: 0;
  }
  .event-hero-art > svg {
    min-height: 0;
    height: 270px;
  }
  .nearby-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .event-nav {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .event-nav .brand {
    width: 100%;
  }
  .event-main {
    margin-top: 20px;
  }
  .event-main section,
  .event-evidence {
    padding: 20px;
  }
  .event-hero-copy {
    padding: 24px 20px;
  }
  .event-crest {
    top: 12px;
    right: 12px;
    padding: 8px 10px;
  }
  .event-hero-media .event-crest img {
    width: 36px;
    height: 44px;
  }
  .event-intro .event-section-nav {
    padding: 16px 20px;
  }
  .event-intro > .event-actions {
    padding: 0 20px 14px;
  }
  .stay-options {
    grid-template-columns: 1fr;
  }
  .visit-facts {
    grid-template-columns: 1fr;
  }
  .event-actions a,
  .event-actions button {
    flex: 1 1 130px;
    text-align: center;
  }
}
#event-alert form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}
#event-alert label {
  display: block;
  line-height: 1.6;
}
#event-alert input[type="email"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid #b9c9b1;
  border-radius: 8px;
  font: inherit;
}
#event-alert button {
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #173e33;
  font: inherit;
  cursor: pointer;
}
#event-alert[hidden] {
  display: none;
}
.practical-status {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: normal;
  color: #5c4619;
  background: #fbf1d5;
}
.practical-status.documented {
  color: #173e33;
  background: #e6efdf;
}
.visit-pending li {
  margin-block: 12px;
  overflow-wrap: anywhere;
}
.social-share {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  color: #36574a;
}
.share-label {
  font-size: 12px;
  margin-right: 4px;
}
.social-share .share-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  list-style: none;
}
.social-share .share-icon:hover,
.share-more[open] > .share-icon {
  background: #e9eee3;
}
.share-icon::-webkit-details-marker {
  display: none;
}
.share-more {
  position: relative;
  margin: 0;
}
.share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 3;
  display: grid;
  width: max-content;
  min-width: 148px;
  padding: 7px;
  border: 1px solid #dce2d6;
  border-radius: 8px;
  background: #fffefb;
  box-shadow: 0 4px 14px #203e2d1f;
  font-size: 12px;
}
.share-menu span {
  padding: 3px 7px;
  color: #5a6c5f;
}
.social-share .share-menu a,
.social-share .share-menu button {
  padding: 5px 7px;
  min-height: 0;
  border: 0;
  background: transparent;
  color: #173e33;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.share-menu a:hover,
.share-menu button:hover {
  background: #edf1e8;
}
.social-share [data-share-status] {
  font-size: 12px;
}
.social-share [data-share-status]:empty {
  display: none;
}
.social-share input {
  max-width: 100%;
}
.guide-share {
  margin-top: 8px;
}
