@font-face {
  font-family: "Merienda";
  src: url("../fonts/merienda.regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Merienda";
  src: url("../fonts/merienda.bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --cream: #fbf6ef;
  --taupe: #b4937a;
  --brown: #4a2814;
  --paper: #fffdf9;
  --line: #dfd1c5;
  --header-height: 114px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  background: var(--cream);
  color: var(--brown);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

body.admin-modal-open {
  overflow: hidden;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(255, 253, 249, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
h1,
h2,
h3 {
  margin: 0;
  font-family: "Merienda", cursive;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  color: var(--brown);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(58px, 6.2vw, 88px);
  height: clamp(52px, 5.8vw, 78px);
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo-transparent {
  border-radius: 0;
}

.brand-logo-badge {
  width: clamp(54px, 5.8vw, 82px);
  height: clamp(54px, 5.8vw, 82px);
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 16px;
  font-weight: 800;
}

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

.site-nav a {
  text-decoration: none;
}

.site-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav-link {
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease;
}

.site-nav-item:hover > .site-nav-link,
.site-nav-item:focus-within > .site-nav-link {
  border-bottom-color: currentColor;
}

.site-subnav {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(74, 40, 20, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav-item:hover > .site-subnav,
.site-nav-item:focus-within > .site-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-subnav a {
  display: block;
  padding: 9px 0;
  border-radius: 6px;
  color: var(--taupe);
  white-space: nowrap;
  transition: color .18s ease;
}

.site-subnav a:hover,
.site-subnav a:focus {
  color: var(--brown);
}

.mobile-menu-return {
  display: none;
}

.admin-site-header {
  grid-template-columns: 1fr auto 1fr;
}

.admin-site-header .brand {
  grid-column: 2;
}

.admin-header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
}

.admin-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--taupe);
  color: white;
  line-height: 1.2;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 86px);
}

.hero-panel {
  position: relative;
  display: flex;
  min-height: 620px;
  padding: clamp(32px, 5vw, 64px);
  color: white;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 23, 16, .08), rgba(35, 23, 16, .78));
}

.hero-panel > div {
  position: relative;
  align-self: flex-end;
  max-width: 520px;
}

.hero-panel h1 {
  font-size: clamp(58px, 8vw, 108px);
  color: white;
}

.hero-panel p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
}

.hero-shop {
  background-image: url("../images/static/sirup-konfi-honig.jpeg");
}

.hero-flowers {
  background-image: url("../images/static/floristik.jpeg");
}

.section {
  padding: clamp(58px, 8vw, 106px) clamp(20px, 5vw, 70px);
}

.page-intro {
  display: block;
  min-height: auto;
  padding-top: clamp(84px, 10vw, 128px);
  padding-bottom: clamp(62px, 8vw, 100px);
  text-align: center;
}

.page-intro > h1 {
  max-width: 1210px;
  margin-inline: auto;
  font-size: clamp(58px, 7vw, 92px);
}

.page-intro > h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(28px, 4vw, 48px);
}

.page-intro > p {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 18px;
}

.placeholder-page {
  min-height: 0;
}

.product-category {
  padding-top: clamp(84px, 10vw, 128px);
}

.product-category + .product-category {
  padding-top: clamp(30px, 5vw, 62px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: clamp(54px, 7vw, 72px) auto 0;
  max-width: 1254px;
  text-align: left;
}

.card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card img {
  display: block;
  width: 100%;
  /* Previous layout used height: 260px for landscape card images. */
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.card-text {
  padding: 24px;
}

.card-text h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.card-text h4 {
  margin: 0 0 10px;
  font-family: "Merienda", cursive;
  font-size: 28px;
  line-height: 1.15;
}

.home-feature-kicker {
  margin-bottom: 6px !important;
  font-size: 22px !important;
}

.card-text p {
  margin: 0;
  font-size: 17px;
}

.owner-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.owner-card img {
  height: 300px;
  object-fit: contain;
  background: white;
}

.owner-card h3 {
  margin-bottom: 10px;
  font-size: 32px;
}

.post-placeholder {
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
}

.home-feature-card {
  color: inherit;
  text-decoration: none;
  transition: opacity .25s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible,
.home-current-card:hover,
.home-current-card:focus-visible {
  border-color: var(--taupe);
}

.home-feature-cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-feature-image {
  position: relative;
}

.home-feature-image img {
  display: block;
}

.slide-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: rgba(74, 40, 20, .4);
  transform-origin: left center;
  animation: slideProgress 7s linear infinite;
}

.home-feature-image img {
  transition: opacity .25s ease;
}

.home-feature-image img.is-changing {
  opacity: .55;
}

.manual-posts {
  margin-top: 18px;
}

.event-posts {
  display: grid;
  gap: 18px;
  max-width: 1254px;
  margin: clamp(54px, 7vw, 72px) auto 0;
  text-align: left;
}

.home-current-posts + .home-feature-cards {
  margin-top: 18px;
}

.event-posts + .home-current-posts {
  margin-top: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

.event-card-text {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.event-card-text h3 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.event-card-text h4 {
  margin: 0 0 18px;
  font-family: "Merienda", cursive;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
}

.event-card-text p {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
}

.home-current-card .event-card-text {
  align-content: center;
}

.home-current-card {
  color: inherit;
  text-decoration: none;
}

.home-current-kicker {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.4vw, 28px) !important;
}

.home-current-title {
  margin: 0 0 18px;
  font-family: "Merienda", cursive;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.2;
}

@keyframes slideProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.contact {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  width: 100%;
  max-width: min(1254px, calc(100% - clamp(40px, 10vw, 140px)));
  margin: auto auto 0;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  background: var(--taupe);
  color: white;
}

.contact h2 {
  max-width: 420px;
  color: white;
  font-size: clamp(34px, 4vw, 52px);
}

.contact-info {
  display: grid;
  align-content: center;
  gap: 10px;
  font-weight: 800;
}

.contact-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-decoration: none;
}

.contact-info img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  justify-self: center;
}

.contact-form-panel {
  width: min(1254px, calc(100vw - clamp(40px, 10vw, 140px)));
  max-width: calc(100vw - 28px);
  margin: clamp(34px, 5vw, 50px) 0 0 50%;
  padding: clamp(24px, 4.5vw, 42px);
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, .96), rgba(251, 246, 239, .72)),
    var(--paper);
  box-shadow: 0 18px 46px rgba(74, 40, 20, .11);
  text-align: left;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  width: 100%;
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  min-width: 0;
}

.contact-method {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-method legend {
  grid-column: 1 / -1;
  margin: 0 0 7px;
  padding: 0;
  font-weight: 800;
}

.contact-method > label:not(.contact-choice) {
  display: block;
  min-width: 0;
}

.contact-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-method span {
  display: block;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-right-width: 0;
  background: white;
  text-align: center;
  font-weight: 800;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.contact-method > label:not(.contact-choice):first-of-type span {
  border-radius: 6px 0 0 6px;
}

.contact-method > label:not(.contact-choice):nth-of-type(3) span {
  border-right-width: 1px;
  border-radius: 0 6px 6px 0;
}

.contact-method input[type="radio"]:checked + span {
  border-color: var(--taupe);
  background: var(--taupe);
  color: white;
}

.contact-choice.is-hidden {
  display: none;
}

.contact-method .contact-choice {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.contact-form > label:first-child,
.contact-choice,
.contact-form label:has(textarea),
.contact-form .admin-action {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  color: var(--brown);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--taupe);
  background: white;
  box-shadow: 0 0 0 4px rgba(180, 147, 122, .18);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(74, 40, 20, .46);
}

.contact-form textarea {
  min-height: 188px;
  resize: none !important;
  overflow: hidden;
}

.contact-form .admin-action {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  box-shadow: 0 10px 22px rgba(74, 40, 20, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form .admin-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(74, 40, 20, .2);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.form-success,
.form-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-success {
  border: 1px solid #a9c9a4;
  background: #f1fbef;
}

.form-error {
  border: 1px solid #d9a2a2;
  background: #fff4f4;
  color: #8c1f1f;
}

.form-error p {
  margin: 0;
}

.form-error p + p {
  margin-top: 6px;
}

.admin-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) 0;
  gap: 24px;
}

.admin-panel {
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-post-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  width: auto;
  max-height: 100vh;
  margin: 0;
  padding: clamp(18px, 4vw, 42px);
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: rgba(74, 40, 20, .24);
  backdrop-filter: blur(5px);
}

.admin-post-modal.is-open {
  display: grid;
  align-items: start;
  justify-items: center;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(74, 40, 20, .16);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: clamp(18px, 4vw, 42px) 0 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-modal-card > .admin-topline {
  margin-bottom: 18px;
}

.admin-modal-card > .admin-form {
  margin-top: 0;
}

.admin-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--taupe);
  color: white;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-panel h1,
.admin-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.admin-panel > p {
  margin: 12px 0 0;
}

.admin-error {
  color: #8c1f1f;
  font-weight: 800;
  padding: 12px 14px;
  border: 1px solid #d9a2a2;
  border-radius: 8px;
  background: #fff4f4;
}

.admin-success {
  color: #2f6534;
  font-weight: 800;
  padding: 12px 14px;
  border: 1px solid #9ccc98;
  border-radius: 8px;
  background: #eff9ed;
}

.admin-help {
  margin: -8px 0 0;
  font-size: 14px;
  font-weight: 700;
  opacity: .75;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.admin-form label[hidden] {
  display: none !important;
}

.admin-form label.is-hidden {
  display: none;
}

.admin-password-field {
  position: relative;
  display: block;
}

.admin-password-field input {
  width: 100%;
  padding-right: 46px;
}

.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 3px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  line-height: 1;
  cursor: pointer;
}

.admin-password-toggle:hover,
.admin-password-toggle:focus-visible {
  background: rgba(89, 45, 24, .08);
}

.admin-password-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--brown);
  font: inherit;
}

.admin-password-field input {
  padding-right: 46px;
}

.admin-file-control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-file-button {
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--taupe);
  color: white;
  font-weight: 800;
}

.admin-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.admin-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-choice {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-choice legend {
  padding: 0;
  font-weight: 800;
}

.admin-choice > div {
  display: inline-flex;
  width: max-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-choice label {
  display: block;
}

.admin-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-choice span {
  display: block;
  min-width: 74px;
  padding: 10px 16px;
  text-align: center;
  font-weight: 800;
  cursor: pointer;
}

.admin-choice input:checked + span {
  background: var(--taupe);
  color: white;
}

.admin-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-form .admin-hide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  margin-left: auto;
  color: var(--brown);
  font-weight: 800;
  cursor: pointer;
}

.admin-form .admin-hide-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-form .admin-hide-toggle span {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--taupe);
  border-radius: 6px;
  background: white;
}

.admin-form .admin-hide-toggle input:checked + span {
  border-color: var(--taupe);
  background: var(--taupe);
  box-shadow: inset 0 0 0 4px white;
}

.admin-form .admin-hide-toggle input:focus-visible + span {
  outline: 3px solid rgba(180, 147, 122, .35);
  outline-offset: 2px;
}

.admin-current-image {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-current-image img {
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-current-image p {
  margin: 0;
  font-weight: 800;
}

.admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  color: white;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.admin-action-primary,
.admin-action-danger {
  background: var(--brown);
}

.admin-action-secondary {
  background: var(--taupe);
}

.admin-action:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.admin-icon-action {
  width: 42px;
  height: 38px;
  padding: 8px;
  vertical-align: middle;
  flex: 0 0 42px;
}

.admin-create-action {
  width: 84px;
  height: 76px;
  padding: 16px;
  flex: 0 0 84px;
  border-radius: 8px;
}

.admin-post .admin-icon-action img,
.admin-icon-action img,
.admin-create-action img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.admin-form .admin-action {
  justify-self: start;
}

.admin-search {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  font-weight: 800;
}

.admin-sort-save {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 2px solid #d89a2b;
  border-radius: 8px;
  background: #fff1c8;
  box-shadow: 0 8px 22px rgba(145, 91, 18, .18);
}

.admin-sort-save.has-draft,
.admin-sort-save.is-visible {
  display: flex;
}

.admin-sort-status {
  flex: 1 1 240px;
  margin: 0;
  color: #6f3c00;
  font-size: 1.04rem;
  font-weight: 800;
}

.admin-sort-save .admin-action {
  min-height: 44px;
  padding-inline: 22px;
}

.admin-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -6px;
}

.admin-suggestions button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--brown);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-suggestions button.is-hidden {
  display: none;
}

.admin-posts {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-filters button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--brown);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-filters button.is-active {
  border-color: var(--taupe);
  background: var(--taupe);
  color: white;
}

.admin-post {
  display: grid;
  grid-template-columns: 42px 126px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 14px 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: grab;
}

.admin-post.is-dragging {
  opacity: .55;
  cursor: grabbing;
}

.admin-post.is-drop-target {
  border-color: #d89a2b;
  box-shadow: 0 0 0 2px rgba(216, 154, 43, .2);
}

.admin-post.is-hidden-post {
  border-style: dashed;
  background: #f7f1eb;
}

.admin-post.is-hidden-post > img {
  opacity: .62;
  filter: saturate(.55);
}

.admin-drag-handle {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 100%;
  margin: -14px 0;
  padding: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 7px 0 0 7px;
  background: var(--taupe);
  cursor: grab;
}

.admin-card-actions,
.admin-card-actions *,
.admin-post a,
.admin-post button:not(.admin-drag-handle) {
  cursor: pointer;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-drag-handle img {
  display: block;
  width: 100%;
  height: 38px;
  object-fit: contain;
}

.admin-post.is-filtered-out,
.admin-empty-filter.is-filtered-out {
  display: none !important;
}

.admin-post > img {
  width: 126px;
  height: 126px;
  margin: 0;
  object-fit: cover;
  border-radius: 6px;
}

.admin-post > div {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

.admin-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  vertical-align: top;
}

.admin-card-actions .admin-inline-form {
  margin-left: 0;
}

.admin-post h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 24px;
}

.admin-hidden-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--taupe);
  color: white;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.admin-post p {
  margin: 4px 0;
}

.admin-inline-form {
  display: inline-block;
  margin-left: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: transform .7s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 178px;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    align-items: center;
  }

  .brand {
    order: -1;
    display: inline-flex;
    justify-content: center;
    white-space: normal;
  }

  .site-nav-left {
    order: 1;
  }

  .site-nav-right {
    order: 2;
  }

  .site-nav,
  .site-nav-right {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 40px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
  }

  .site-nav-item {
    position: static;
  }

  .site-subnav {
    display: none;
  }

  .site-header.is-scrolled .site-nav {
    max-height: 0;
    margin: 0;
    opacity: 0;
  }

  .mobile-menu-return {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 253, 249, .96);
    box-shadow: 0 10px 26px rgba(74, 40, 20, .18);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .mobile-menu-return.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-return img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero,
  .cards,
  .event-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .admin-post {
    grid-template-columns: 42px 1fr;
  }

  .event-card img {
    height: auto;
  }

  .admin-post > img {
    grid-column: 2;
    width: 100%;
    height: 220px;
    margin-bottom: 0;
  }

  .admin-post > div {
    grid-column: 2;
    padding-top: 0;
  }

  .admin-drag-handle {
    grid-row: 1 / span 2;
  }

  .hero-panel {
    min-height: 470px;
  }

  .cards {
    margin-top: 42px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 154px;
  }

  .site-header {
    padding: 8px 18px;
    gap: 8px;
  }

  .site-header.is-scrolled {
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 0;
  }

  .brand {
    font-size: clamp(30px, 8.5vw, 38px);
  }

  .brand-logo {
    width: clamp(54px, 14vw, 68px);
    height: clamp(48px, 12vw, 60px);
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .page-intro > h1 {
    font-size: clamp(64px, 18vw, 86px);
  }

  .page-intro > h2 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .hero-panel {
    min-height: 420px;
  }

  .contact-form-panel {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: 20px;
  }

  .contact-method {
    grid-template-columns: 1fr;
  }

}
