:root {
  --lots-marsh: #60725d;
  --lots-sand: #e7dcc8;
  --lots-sky: #bcc9d6;
  --lots-ink: #1f2a30;
  --lots-accent: #8a5a44;
  --lots-water: #36586b;
  --lots-paper: #f8f6f1;
  --lots-border: #d9d1c2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--lots-ink);
  background:
    linear-gradient(rgba(248, 246, 241, 0.58), rgba(248, 246, 241, 0.66)),
    url('../images/golden-wheat-hero.jpg') center bottom / cover no-repeat fixed;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
}

body.path-node .layout-container,
body.path-user .layout-container,
body.path-admin .layout-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

a {
  color: var(--lots-water);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--lots-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
  background: rgba(248, 246, 241, 0.10);
  backdrop-filter: none;
}

.site-header {
  background: linear-gradient(180deg, #22353d 0%, #314850 100%);
  color: #fff;
  border-bottom: 4px solid var(--lots-accent);
}

.site-header__inner,
.site-footer__inner,
.home-hero__inner,
.site-content-wrap,
.site-breadcrumbs,
.site-highlighted,
.site-help {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 1.25rem;
}

.site-header__navs {
  display: grid;
  gap: 0.75rem;
}

.site-utility-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-utility-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: rgba(255,255,255,0.96);
  text-decoration: none;
  font-size: 0.92rem;
  background: rgba(255,255,255,0.08);
}

.site-utility-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.site-brand__link {
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-brand__tag {
  margin: 0.4rem 0 0;
  max-width: 42rem;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.site-nav {
  margin-top: 1rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(25, 40, 33, 0.38) 0%, rgba(24, 33, 29, 0.58) 100%),
    radial-gradient(circle at top left, rgba(197, 176, 104, 0.20), transparent 34%),
    url('../images/home-hero-grain.png') center center / cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.home-hero__inner {
  padding: 2.5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--lots-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
}

.home-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.02;
}

.home-hero__text {
  max-width: 44rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
}

.site-main {
  padding-bottom: 3rem;
}

.site-breadcrumbs,
.site-highlighted,
.site-help {
  padding-top: 1rem;
}

.site-content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 1.5rem;
}

.site-content {
  min-width: 0;
}

.story-list {
  display: grid;
  gap: 1.5rem;
}

.story-list__item {
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--lots-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.05);
  padding: 1.5rem;
}

.story {
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--lots-border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.05);
}

.story--full {
  padding: 2rem;
}

.story__title {
  margin: 0 0 0.5rem;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #55656d;
  font-size: 0.95rem;
}

.story__type {
  color: var(--lots-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story__content > div {
  margin-bottom: 1rem;
}

.field--name-field-summary {
  font-size: 1.08rem;
  color: #37454c;
}

.site-footer {
  border-top: 1px solid var(--lots-border);
  background: rgba(240, 236, 228, 0.76);
  color: #4b575d;
}

.site-footer__inner {
  padding: 1.25rem 0 2rem;
}

.node-form,
.content-form,
.user-form,
.system-modules,
.views-ui-dialog,
.block-system-main-block {
  background: rgba(248, 246, 241, 0.94);
  border: 1px solid rgba(194, 182, 161, 0.9);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(27, 37, 33, 0.08);
}

.node-form,
.content-form,
.user-form {
  padding: 1.25rem;
}

.node-form .form-item,
.content-form .form-item,
.user-form .form-item {
  margin-bottom: 1rem;
}

.node-form .form-text,
.node-form .form-email,
.node-form .form-url,
.node-form .form-search,
.node-form .form-tel,
.node-form .form-number,
.node-form .form-textarea,
.node-form select,
.content-form .form-text,
.content-form .form-email,
.content-form .form-url,
.content-form .form-search,
.content-form .form-tel,
.content-form .form-number,
.content-form .form-textarea,
.content-form select,
.user-form .form-text,
.user-form .form-email,
.user-form .form-url,
.user-form .form-search,
.user-form .form-tel,
.user-form .form-number,
.user-form .form-textarea,
.user-form select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #c7bbab;
  border-radius: 10px;
  background: #fffdfa;
  padding: 0.7rem 0.85rem;
  color: var(--lots-ink);
  box-shadow: inset 0 1px 2px rgba(28, 35, 33, 0.03);
}

.node-form details,
.content-form details,
.user-form details {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(201, 190, 171, 0.9);
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.88);
}

.node-form details > summary,
.content-form details > summary,
.user-form details > summary {
  cursor: pointer;
  font-weight: 700;
}

.node-form .description,
.content-form .description,
.user-form .description,
.node-form .form-item__description,
.content-form .form-item__description,
.user-form .form-item__description {
  color: #5c695f;
  font-size: 0.94rem;
}

.node-form .form-actions,
.content-form .form-actions,
.user-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 190, 171, 0.9);
}

.node-form .button,
.content-form .button,
.user-form .button {
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  border: 1px solid #bcae98;
  background: #fff;
}

.node-form .button--primary,
.content-form .button--primary,
.user-form .button--primary {
  background: #2f4a42;
  border-color: #2f4a42;
  color: #fff;
}

@media (min-width: 900px) {
  .node-form,
  .content-form,
  .user-form {
    padding: 1.5rem;
  }
}

@media (min-width: 900px) {
  .site-header__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-header__navs {
    justify-items: end;
    min-width: 0;
  }

  .site-utility-nav ul {
    justify-content: flex-end;
  }

  .site-content-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .site-sidebar {
    position: sticky;
    top: 1rem;
  }
}


.section-landing__header {
  margin-bottom: 1.5rem;
}

.section-landing__intro {
  max-width: 44rem;
  color: #44535a;
  font-size: 1.05rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.section-card {
  background: rgba(255,255,255,0.81);
  border: 1px solid var(--lots-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.05);
}

.section-card__type,
.section-card__date {
  margin: 0;
  font-size: 0.92rem;
  color: #5a686f;
}

.section-card__type {
  color: var(--lots-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.section-card__title {
  margin: 0.4rem 0 0.6rem;
  line-height: 1.15;
}

.section-card__summary {
  margin: 0;
}

@media (min-width: 700px) {
  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.homepage-shell {
  display: grid;
  gap: 2rem;
}

.homepage-section {
  display: grid;
  gap: 1rem;
  position: relative;
}

.homepage-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.homepage-section__header h2 {
  margin: 0;
}

.homepage-section__intro {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  color: #44535a;
}

.homepage-section__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--lots-border);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (min-width: 700px) {
  .homepage-section__header {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}


.site-content-wrap--front {
  padding-top: 2rem;
}

.homepage-section--split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .homepage-section--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.story__header {
  margin-bottom: 1.5rem;
}

.story__lede {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--lots-accent);
  background: rgba(244, 239, 230, 0.82);
  font-size: 1.05rem;
}

.story__lede p:first-child,
.story-panel p:first-child {
  margin-top: 0;
}

.story-layout {
  display: grid;
  gap: 1.25rem;
}

.story-layout__main,
.story-layout__aside {
  min-width: 0;
}

.story-panel {
  background: rgba(245, 241, 232, 0.82);
  border: 1px solid var(--lots-border);
  border-radius: 12px;
  padding: 1rem;
}

.story-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.story-layout__aside {
  display: grid;
  gap: 1rem;
}

.story-layout__main--article {
  font-size: 1.04rem;
}

@media (min-width: 900px) {
  .story-layout--detail {
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.85fr);
    align-items: start;
  }

  .story-layout__aside {
    position: sticky;
    top: 1rem;
  }
}


.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 16, 0.06) 0%, rgba(11, 19, 16, 0.24) 100%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 4.2rem 0 4rem;
}

.home-hero .eyebrow {
  color: #f0d889;
}

.homepage-shell {
  display: grid;
  gap: 2rem;
}

.homepage-feature {
  display: grid;
  gap: 1.25rem;
  padding: 1.15rem;
  border: 1px solid var(--lots-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(26, 38, 34, 0.08);
}

.homepage-feature__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.homepage-feature__title a {
  color: inherit;
  text-decoration: none;
}

.homepage-feature__summary {
  margin: 0;
  font-size: 1.05rem;
  color: #314138;
}

.homepage-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #5f6f66;
  font-size: 0.95rem;
}

.homepage-feature__media {
  min-width: 0;
}

.homepage-feature__media a,
.section-card__media {
  display: block;
}

.homepage-feature__media img,
.section-card__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.homepage-section:first-child .section-grid,
.homepage-section:nth-child(2) .section-grid {
  position: relative;
}

.homepage-section:first-child::before {
  content: "";
  position: absolute;
  inset: -0.75rem -0.5rem auto auto;
  width: min(42vw, 280px);
  height: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(255,255,255,0.25)), url('../images/soft-gold-texture.jpg') center center / cover no-repeat;
  border-radius: 18px;
  opacity: 0.28;
  pointer-events: none;
}

.section-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(191, 179, 159, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(24, 37, 33, 0.06);
  backdrop-filter: saturate(1.05);
}

.section-card__body {
  display: grid;
  gap: 0.55rem;
}

.section-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #6f6250;
}

.section-card__title {
  margin: 0;
}

.section-card__title a {
  color: inherit;
  text-decoration: none;
}

.section-card__date {
  margin: 0;
  color: #5f6f66;
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .homepage-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    padding: 1.35rem;
  }
}

@media (min-width: 700px) {
  .homepage-section--places .section-grid,
  .homepage-section--people .section-grid,
  .homepage-section--events .section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-header {
  background: linear-gradient(180deg, #1f3129 0%, #2d473f 100%);
}

.site-footer {
  background: linear-gradient(180deg, rgba(240, 236, 228, 0.76) 0%, rgba(235, 229, 218, 0.76) 100%);
}

@media (max-width: 699px) {
  .home-hero__inner {
    padding: 3.4rem 0 3rem;
  }

  .home-hero h1 {
    max-width: 11ch;
  }

  .homepage-section:first-child::before {
    width: 160px;
    height: 100px;
    opacity: 0.22;
  }
}


.story__media {
  margin-bottom: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31, 42, 48, 0.12);
}

.story__media img {
  display: block;
  width: 100%;
  height: auto;
}


@media (max-width: 899px) {
  body {
    background-attachment: fixed;
    background-position: center bottom;
  }
}

.story-image-lightbox {
  margin-bottom: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31, 42, 48, 0.12);
}

.story-image-lightbox__trigger {
  display: block;
  cursor: zoom-in;
}

.story-image-lightbox__trigger > div {
  display: block;
}

.story-image-lightbox__trigger img {
  display: block;
  width: 100%;
  height: auto;
}

.story-lightbox-modal[hidden] {
  display: none;
}

.story-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.85);
}

.story-lightbox-modal__dialog {
  position: relative;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
}

.story-lightbox-modal__image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.story-lightbox-modal__close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.story__admin-actions {
  margin-bottom: 1rem;
}

.story__admin-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--lots-border);
  border-radius: 999px;
  background: #fff;
  color: var(--lots-water);
  text-decoration: none;
  font-weight: 700;
}

.story__admin-link:hover {
  color: var(--lots-accent);
}

.node-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--lots-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.node-form .form-actions .button,
.node-form .form-actions input[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--lots-border);
  border-radius: 999px;
  background: #fff;
  color: var(--lots-ink);
  font-weight: 700;
  cursor: pointer;
}

.node-form .form-actions .button--primary,
.node-form .form-actions input.button--primary {
  background: var(--lots-water);
  border-color: var(--lots-water);
  color: #fff;
}

.js-filter-wrapper [data-drupal-selector$="-format-help"],
.js-filter-wrapper [data-drupal-selector$="-format-help-about"] {
  display: none;
}
