.ln-filters,
.ln-atlas,
.ln-record,
.ln-identity,
.ln-calendar,
.ln-edit-section {
  box-sizing: border-box;
}
.ln-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) auto auto;
  align-items: end;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  margin: 0 0 1.3rem;
  background: white;
  border: 1px solid #d5dedc;
  border-radius: 12px;
}
.ln-filters label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 650;
}
.ln-filters input,
.ln-filters select {
  box-sizing: border-box;
  min-height: 43px;
  min-width: 0;
  width: 100%;
  border: 1px solid #97aba9;
  border-radius: 6px;
  background: #fff;
  color: #213d40;
  padding: 0.55rem 0.65rem;
  font: inherit;
}
.ln-filters a {
  align-self: center;
  font-size: 0.9rem;
}
.ln-atlas {
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #c9d5d0;
  box-shadow: 0 6px 22px #1d353609;
}
.ln-atlas-head,
.ln-results-head,
.ln-cal-head,
.ln-event-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ln-atlas-head {
  padding: 0.85rem 1.25rem;
  background: linear-gradient(110deg, var(--wash), #fff);
}
.ln-atlas-head h2,
.ln-results-head h2,
.ln-cal-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}
.ln-atlas-head > span,
.ln-results-head > span {
  font-size: 0.85rem;
  color: #435952;
}
.ln-map {
  width: 100%;
  height: clamp(340px, 38vw, 470px);
  position: relative;
  isolation: isolate;
  background-color: #eaf0e4;
  background-image:
    linear-gradient(#cbd6c746 1px, transparent 1px),
    linear-gradient(90deg, #cbd6c746 1px, transparent 1px);
  background-size: 32px 32px;
}
.ln-map .leaflet-pane > svg {
  max-width: none;
}
.ln-map .leaflet-bar {
  box-shadow: 0 2px 8px #28423b25;
  border: 1px solid #abbdb1;
  border-radius: 8px !important;
  overflow: hidden;
}
.ln-map .leaflet-bar a {
  background: white;
  color: #285344;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
}
.ln-map .leaflet-control {
  font-family: system-ui, sans-serif;
}
.ln-map-reset {
  border: 1px solid #aebfb5;
  border-radius: 9px;
  background: white;
  color: #254a40;
  font: 650 13px/1.4 system-ui;
  min-height: 35px;
  padding: 0 0.75rem;
  cursor: pointer;
}
.ln-map-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.6rem 1rem;
  background: #fff;
  font: 0.77rem/1.5 system-ui;
  color: #4b605c;
}
.ln-map .ln-city {
  white-space: nowrap;
  width: auto !important;
  pointer-events: none;
  color: #53635a;
  text-shadow:
    -1px -1px 1px #fff,
    1px 1px 1px #fff,
    1px -1px 1px #fff,
    -1px 1px 1px #fff;
  font: 600 11px/1.1 system-ui;
}
.ln-dot {
  display: grid;
  position: absolute;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 7px;
  transform: rotate(-45deg);
  background: var(--dot);
  box-shadow: 0 2px 6px #23423e65;
  box-sizing: border-box;
}
.ln-dot i {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.ln-dot-group {
  transform: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font: 700 13px system-ui;
  color: white;
}
.ln-pin:focus-visible .ln-dot {
  outline: 3px solid #183b54;
  outline-offset: 3px;
}
.ln-popup .leaflet-popup-content-wrapper {
  border-radius: 10px;
}
.ln-popup .leaflet-popup-content {
  margin: 13px 20px 12px 13px;
  min-width: 175px;
  max-width: 250px;
}
.ln-pop-inner {
  color: #243b40;
  font:
    0.87rem/1.38 system-ui,
    sans-serif;
  overflow-wrap: anywhere;
}
.ln-pop-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ln-pop-head strong,
.ln-pop-head small {
  display: block;
}
.ln-pop-head small {
  color: #52645e;
  font-size: 0.72rem;
}
.ln-pop-head strong {
  font-family: Georgia, serif;
  font-size: 1.13rem;
}
.ln-pop-head img,
.ln-pop-initial {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.ln-pop-initial {
  display: grid;
  place-items: center;
  font: 600 1.2rem Georgia;
  background: #e0ebe4;
  color: #2a6146;
}
.ln-map .ln-pop-inner p,
.ln-pop-place {
  margin: 0.45rem 0 !important;
}
.ln-pop-place {
  font-weight: 650;
}
.ln-map .ln-pop-link {
  color: #165c56;
  font-weight: 650;
}
.ln-pop-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  border-top: 1px solid #d3deda;
  padding-top: 0.4rem;
}
.ln-pop-pages button {
  min-width: 32px;
  height: 28px;
  color: #24493f;
  background: #edf4ef;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.ln-results-head {
  margin: 2.3rem 0 1rem;
}
.ln-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
  gap: 1.15rem;
}
.ln-record,
.ln-identity {
  border: 1px solid #d4ddda;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 4px 18px #16332c07;
}
.ln-record {
  display: flex;
  flex-direction: column;
  position: relative;
}
.ln-record-body {
  padding: 1.15rem 1.2rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.ln-portal .ln-record h3 {
  margin: 0.45rem 0;
  font-size: 1.45rem;
}
.ln-record h3 a {
  text-decoration: none;
  color: var(--key);
}
.ln-record h3 a:hover {
  text-decoration: underline;
}
.ln-id-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(at 12% 10%, #ffffffaa, transparent 57%),
    linear-gradient(130deg, var(--wash, #e2ede6), #f7f4e9);
  color: var(--key, #215a46);
  overflow: hidden;
}
.ln-id-visual > span {
  font:
    500 1.7rem/1 Georgia,
    serif;
}
.ln-id-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ln-record .ln-id-portrait {
  margin: 1rem 0 -0.6rem 1.2rem;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  border: 1px solid #d1dcd4;
}
.ln-record .ln-id-cover {
  width: 100%;
  height: 136px;
}
.ln-record .ln-id-cover > span {
  font-size: 2.6rem;
}
.ln-portal .ln-category {
  display: inline-block;
  background: var(--wash, #e9f2ef);
  color: var(--key, #16615a);
  border: 1px solid color-mix(in srgb, var(--key, #176665) 22%, white);
  padding: 0.17rem 0.56rem;
  border-radius: 20px;
  font: 650 0.75rem/1.3 system-ui;
}
.ln-portal .ln-meta {
  font-size: 0.9rem;
  color: #52655f;
  margin: 0.2rem 0 0.7rem;
}
.ln-token-list {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  list-style: none !important;
  padding: 0 !important;
  margin: 0.3rem 0 0.75rem !important;
}
.ln-token-list li {
  list-style: none;
  background: #f1f4ef;
  color: #334f45;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font: 0.82rem/1.4 system-ui;
}
.ln-record-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 650;
}
.ln-back {
  display: inline-block;
  margin: 0 0 1.15rem;
}
.ln-identity {
  max-width: 880px;
}
.ln-id-head {
  border-top: 5px solid var(--key);
  padding: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.3rem;
  background: linear-gradient(110deg, var(--wash), #fff 84%);
}
.ln-id-head .ln-id-portrait {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 10px #244c361f;
  flex: none;
}
.ln-id-head .ln-id-cover {
  width: clamp(95px, 22%, 180px);
  height: 109px;
  border-radius: 9px;
  flex: none;
}
.ln-portal .ln-id-head h2 {
  margin: 0.3rem 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.ln-id-head .ln-meta {
  margin: 0;
}
.ln-id-body {
  padding: 0.25rem clamp(1rem, 3vw, 2rem) 1rem;
}
.ln-id-body section {
  padding: 1.2rem 0 0.65rem;
  border-bottom: 1px solid #dce3de;
}
.ln-id-body section:last-child {
  border: 0;
}
.ln-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  overflow-wrap: anywhere;
}
.ln-form:has(.ln-edit-section) {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 850px;
}
.ln-edit-section {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid #d3ded9;
  background: white;
  border-radius: 13px;
}
.ln-form .ln-edit-section h2 {
  font-size: 1.65rem;
  margin: 0;
}
.ln-edit-group {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid #e1e8e3;
  padding-top: 0.8rem;
}
.ln-check {
  font-size: 0.91rem;
}
.ln-photo-input .ln-field small {
  font-weight: 400;
}
.ln-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(255px, 0.82fr);
  border: 1px solid #dacfc7;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 23px #43251109;
}
.ln-cal-main {
  padding: clamp(0.8rem, 2vw, 1.5rem);
  min-width: 0;
}
.ln-cal-head {
  margin-bottom: 0.9rem;
}
.ln-cal-head nav {
  display: flex;
  align-items: center;
  gap: 0.32rem;
}
.ln-cal-head nav a {
  display: grid;
  place-items: center;
  border: 1px solid #d9c9c5;
  border-radius: 6px;
  min-width: 32px;
  min-height: 34px;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
  color: var(--key);
}
.ln-cal-head nav .ln-cal-now {
  font-size: 0.8rem;
  padding: 0 0.45rem;
}
.ln-cal-grid {
  border-collapse: separate;
  border-spacing: 3px;
  width: 100%;
  table-layout: fixed;
  margin: 0;
}
.ln-cal-grid th,
.ln-cal-grid td {
  padding: 0 !important;
  border: 0;
  vertical-align: top;
}
.ln-cal-grid th {
  text-align: center;
  color: #705b56;
  font: 650 0.77rem/1.8 system-ui;
}
.ln-cal-grid abbr {
  text-decoration: none;
}
.ln-portal .ln-cal-day {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: clamp(52px, 5.2vw, 74px);
  padding: 0.33rem 0.38rem;
  text-decoration: none;
  border: 1px solid #e9e0db;
  border-radius: 7px;
  color: #3d3a3a;
  background: #faf8f5;
  overflow: hidden;
}
.ln-cal-day span {
  font: 600 0.9rem/1.2 system-ui;
}
.ln-cal-day small {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font: 0.65rem/1.3 system-ui;
  margin-top: 0.28rem;
  color: #704038;
}
.ln-cal-day b {
  position: absolute;
  right: 3px;
  top: 3px;
  font: 600 0.62rem/1 system-ui;
}
.ln-cal-day i,
.ln-cal-key i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #b85a48;
  border-radius: 50%;
  margin-left: 0.2rem;
  vertical-align: 0.12em;
}
.ln-portal .ln-is-today {
  border: 2px solid #ad503e;
  background: #fbede3;
}
.ln-portal .ln-is-selected {
  background: #81382f;
  color: white;
  border-color: #81382f;
}
.ln-is-selected small {
  color: #fff;
}
.ln-is-selected i {
  background: #fbd4a7;
}
.ln-cal-key {
  font-size: 0.78rem;
  color: #6e5853;
  margin: 0.55rem 0 0 !important;
}
.ln-cal-aside {
  padding: clamp(0.9rem, 2vw, 1.4rem);
  background: linear-gradient(145deg, #f9e7df, #fbf8f1);
  border-left: 1px solid #e5d6cc;
  scroll-margin-top: 1rem;
}
.ln-calendar-kicker {
  text-transform: uppercase;
  font: 700 0.72rem/1.5 system-ui;
  letter-spacing: 0.1em;
  color: #8d493b;
  margin: 0 !important;
}
.ln-portal .ln-cal-aside h3 {
  margin: 0.3rem 0 0.85rem;
  font-size: 1.5rem;
}
.ln-feature {
  border: 1px solid #dfcfc4;
  border-radius: 9px;
  overflow: hidden;
  background: white;
  margin: 0.6rem 0;
}
.ln-feature-text {
  padding: 0.8rem 1rem;
}
.ln-event-photo {
  height: clamp(108px, 11vw, 156px);
  overflow: hidden;
  background: #e7ece7;
}
.ln-event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ln-event-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 15% 10%, #d1e8df, transparent 64%),
    linear-gradient(120deg, #dde5ef, #f5e3c4, #eddde5);
}
.ln-event-art img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.ln-event-byline {
  gap: 0.35rem;
  color: #754a41;
  font: 600 0.79rem/1.4 system-ui;
}
.ln-feature h4 {
  font:
    500 1.38rem/1.15 Georgia,
    serif;
  color: #65382e;
  margin: 0.55rem 0;
}
.ln-feature p,
.ln-feature details {
  font-size: 0.9rem;
}
.ln-feature details summary {
  cursor: pointer;
  font-weight: 650;
}
.ln-feature-limited .ln-event-photo {
  filter: saturate(0.4);
}
.ln-feature .ln-veil {
  padding: 0.35rem;
}
.ln-feature .ln-veil-note {
  padding: 0.6rem;
}
.ln-programme-heading {
  margin-top: 2rem !important;
}
.ln-entry > .ln-event-photo {
  height: 160px;
  margin-bottom: 0.65rem;
  border-radius: 7px;
}
@media (max-width: 850px) {
  .ln-calendar {
    grid-template-columns: 1fr;
  }
  .ln-cal-aside {
    border-top: 1px solid #e5d6cc;
    border-left: 0;
  }
  .ln-feature {
    display: grid;
    grid-template-columns: minmax(125px, 0.55fr) minmax(0, 1fr);
  }
  .ln-feature .ln-event-photo {
    height: 100%;
    min-height: 115px;
  }
  .ln-filters {
    grid-template-columns: 1fr 1fr;
  }
  .ln-filters button {
    justify-self: start;
  }
}
@media (max-width: 540px) {
  .ln-map {
    height: 320px;
  }
  .ln-atlas-head,
  .ln-map-foot {
    padding-inline: 0.8rem;
  }
  .ln-atlas-head {
    gap: 0.2rem 0.7rem;
  }
  .ln-filters {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    gap: 0.6rem;
  }
  .ln-id-head {
    align-items: flex-start;
    gap: 0.7rem;
  }
  .ln-id-head .ln-id-portrait {
    width: 58px;
    height: 58px;
  }
  .ln-id-head .ln-id-cover {
    width: 75px;
    height: 68px;
  }
  .ln-id-head h2 {
    overflow-wrap: anywhere;
  }
  .ln-cal-grid {
    border-spacing: 2px;
  }
  .ln-cal-main {
    padding: 0.55rem;
  }
  .ln-cal-head {
    gap: 0.4rem;
  }
  .ln-cal-grid .ln-cal-day {
    height: 43px;
    padding: 0.26rem 0.12rem;
    text-align: center;
  }
  .ln-cal-day small {
    display: none;
  }
  .ln-cal-day i {
    display: block;
    margin: 3px auto 0;
  }
  .ln-cal-day b {
    font-size: 0.5rem;
  }
  .ln-feature {
    display: block;
  }
  .ln-feature .ln-event-photo {
    height: 140px;
  }
  .ln-cal-aside {
    scroll-margin-top: 0.5rem;
  }
  .ln-portal .ln-cal-now {
    font-size: 0.71rem;
  }
  .ln-cal-head nav a {
    min-width: 28px;
  }
  .ln-pop-inner {
    font-size: 0.81rem;
  }
}

.ln-day-count {
  margin: -0.3rem 0 0.75rem;
  color: #654b42;
  font-size: 0.88rem;
}
@media (min-width: 851px) {
  .ln-cal-aside {
    box-sizing: border-box;
    max-height: clamp(31rem, 43vw, 36rem);
    overflow-y: auto;
    scrollbar-color: #ba9f93 #f7eae3;
  }
  .ln-cal-aside:focus-visible {
    outline: 2px solid #914636;
    outline-offset: -3px;
  }
}
