:root {
  --header-height: 0px;
  --nav-height: 64px;
  --cream: #faf0e1;
  --paper: #eae2d4;
  --green: #6f5f5c;
  --forest: #4a3525;
  --sage: #e3d9c8;
  --copper: #e53637;
}

html {
  scroll-behavior: auto;
}

body {
  padding-top: var(--header-height);
  min-height: 100dvh;
  background-color: rgba(126, 84, 35, .2);
  background-image:
    linear-gradient(rgba(126, 84, 35, .18), rgba(126, 84, 35, .18)),
    url('../images/dudaspanzio_bg.jpg');
  background-attachment: fixed, fixed;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.site-header {
  background: rgba(126, 84, 35, .92);
  box-shadow: 0 1px 3px rgba(100, 80, 60, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}

.is-scrolled .site-header,
.mobile-open .site-header {
  background: rgba(126, 84, 35, .96);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 1px 3px rgba(100, 80, 60, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.site-header a,
.site-header button {
  color: var(--cream);
}

.is-scrolled .site-header a,
.is-scrolled .site-header button,
.mobile-open .site-header a,
.mobile-open .site-header button {
  color: var(--cream);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: .52rem .7rem;
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.dropdown[data-open="true"] > .nav-link {
  border-color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  color: var(--cream) !important;
}

.nav-link.has-dropdown::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .12s ease;
}

.dropdown[data-open="true"] > .nav-link.has-dropdown::after,
.dropdown:focus-within > .nav-link.has-dropdown::after {
  transform: rotate(225deg);
}

.dropdown-menu {
  top: var(--dropdown-top, 100%) !important;
  margin-top: 0 !important;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}

.dropdown[data-open="true"] .dropdown-menu {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-header .dropdown-menu a {
  color: var(--green) !important;
}

.site-header .dropdown-menu a:hover,
.site-header .dropdown-menu a:focus-visible {
  color: var(--forest) !important;
}

.carousel-shell {
  overflow: hidden;
  background: var(--forest);
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition:
    opacity 1200ms ease,
    transform 1800ms ease,
    visibility 0s linear 1200ms;
  will-change: opacity;
  z-index: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible;
  transform: scale(1) !important;
  transition:
    opacity 1200ms ease,
    transform 6500ms ease,
    visibility 0s;
  z-index: 1 !important;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: 0 18px 50px rgba(74, 53, 37, .18);
}

@media (min-width: 1024px) {
  .hero-slide,
  .hero-slide img {
    border-radius: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.content-card p {
  margin: .75rem 0;
}

.wp-content {
  color: var(--green);
  font-size: 1.02rem;
  line-height: 1.78;
}

.wp-content > :first-child {
  margin-top: 0 !important;
}

.wp-content > :last-child {
  margin-bottom: 0 !important;
}

.wp-content :where(p, ul, ol, blockquote, table, figure, pre) {
  margin: 1rem 0;
}

.wp-content :where(h1, h2, h3, h4, h5, h6) {
  margin: 1.5em 0 .55em;
  color: var(--forest);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
}

.wp-content h1 {
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 4rem);
}

.wp-content h2 {
  font-size: clamp(2rem, 1.55rem + 1.45vw, 3rem);
}

.wp-content h3 {
  font-size: clamp(1.65rem, 1.35rem + .9vw, 2.25rem);
}

.wp-content h4 {
  font-size: clamp(1.35rem, 1.18rem + .55vw, 1.75rem);
}

.wp-content h5 {
  font-size: 1.15rem;
}

.wp-content h6 {
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wp-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration-color: rgba(166, 109, 79, .45);
  transition: color .18s ease, text-decoration-color .18s ease;
}

.wp-content a:hover,
.wp-content a:focus-visible {
  color: var(--copper);
  text-decoration-color: currentColor;
}

.wp-content :where(ul, ol) {
  padding-left: 1.45rem;
}

.wp-content ul {
  list-style: disc;
}

.wp-content ol {
  list-style: decimal;
}

.wp-content li {
  margin: .38rem 0;
  padding-left: .18rem;
}

.wp-content li::marker {
  color: var(--copper);
  font-weight: 800;
}

.wp-content blockquote {
  position: relative;
  border-left: 4px solid var(--copper);
  border-radius: 0 18px 18px 0;
  background: rgba(250, 240, 225, .58);
  padding: 1rem 1.25rem;
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(126, 84, 35, .08);
}

.wp-content blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
}

.wp-content cite {
  display: block;
  margin-top: .6rem;
  color: rgba(36, 56, 45, .72);
  font-size: .9rem;
  font-style: normal;
  font-weight: 700;
}

.wp-content hr {
  height: 1px;
  margin: 2rem 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(126, 84, 35, .25), transparent);
}

.wp-content :where(img, video, iframe) {
  max-width: 100%;
  border-radius: 18px;
}

.wp-content figure:not(.wp-block-gallery *) {
  overflow: hidden;
  border-radius: 18px;
}

.wp-content figcaption {
  margin-top: .5rem;
  color: rgba(36, 56, 45, .72);
  font-size: .88rem;
  line-height: 1.45;
  text-align: center;
}

.wp-content table:not(.menu-table) {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 16px;
  background: rgba(250, 240, 225, .72);
  box-shadow: 0 0 0 1px rgba(126, 84, 35, .14);
}

.wp-content table:not(.menu-table) :where(th, td) {
  border-bottom: 1px solid rgba(126, 84, 35, .12);
  padding: .8rem .9rem;
  text-align: left;
}

.wp-content table:not(.menu-table) th {
  background: rgba(126, 84, 35, .08);
  color: var(--forest);
  font-weight: 800;
}

.wp-content :where(code, pre) {
  border-radius: 12px;
  background: rgba(74, 53, 37, .08);
  color: var(--forest);
}

.wp-content code {
  padding: .15rem .35rem;
}

.wp-content pre {
  overflow-x: auto;
  padding: 1rem;
}

.wp-content .aligncenter {
  display: block;
  margin-inline: auto;
}

.wp-content .alignleft {
  float: left;
  margin: .35rem 1.25rem .75rem 0;
}

.wp-content .alignright {
  float: right;
  margin: .35rem 0 .75rem 1.25rem;
}

.green-panel-top {
  display: block !important;
}

.green-panel-sidebar {
  display: none !important;
}

.wp-content .wp-block-gallery,
.wp-content .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .85rem !important;
  margin: 1.5rem 0;
}

.wp-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.wp-content .wp-block-gallery .wp-block-image,
.wp-content .gallery .gallery-item {
  position: relative;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(126, 84, 35, .16);
  border-radius: 18px;
  background: var(--forest);
  aspect-ratio: 1 / 1;
  box-shadow: 0 14px 30px rgba(74, 53, 37, .12);
}

.wp-content .gallery br {
  display: none;
}

.wp-content .gallery .gallery-icon {
  height: 100%;
}

.wp-content .wp-block-gallery img,
.wp-content .gallery img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 18px !important;
  cursor: zoom-in;
  transition: opacity .22s ease, transform .32s ease;
}

.wp-content .wp-block-gallery a,
.wp-content .gallery a {
  display: block;
  height: 100%;
}

.wp-content .wp-block-gallery figure:hover img,
.wp-content .gallery .gallery-item:hover img {
  opacity: .86;
  transform: scale(1.045);
}

.wp-content .wp-block-gallery figure.wp-block-image figcaption,
.wp-content .gallery .gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.5rem .75rem .7rem;
  background: linear-gradient(transparent, rgba(74, 53, 37, .82));
  color: var(--cream);
  font-size: .78rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.wp-content .wp-block-gallery figure.wp-block-image:hover figcaption,
.wp-content .gallery .gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox-open {
  overflow: hidden;
}

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

.sebesviz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: var(--cream);
}

.sebesviz-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 13, .88);
  backdrop-filter: blur(14px);
}

.sebesviz-lightbox__figure {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(1120px, 88vw);
  max-height: 86vh;
  margin: 0;
  place-items: center;
}

.sebesviz-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border: 1px solid rgba(250, 240, 225, .18);
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.sebesviz-lightbox__caption {
  max-width: 820px;
  margin-top: .85rem;
  color: rgba(250, 240, 225, .82);
  text-align: center;
}

.sebesviz-lightbox__close,
.sebesviz-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 240, 225, .22);
  border-radius: 999px;
  background: rgba(250, 240, 225, .12);
  color: var(--cream);
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sebesviz-lightbox__close:hover,
.sebesviz-lightbox__nav:hover {
  background: rgba(166, 109, 79, .72);
  transform: translateY(-1px);
}

.sebesviz-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
}

.sebesviz-lightbox__nav {
  top: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

.sebesviz-lightbox__nav:hover {
  transform: translateY(calc(-50% - 1px));
}

.sebesviz-lightbox__nav--prev {
  left: 1rem;
}

.sebesviz-lightbox__nav--next {
  right: 1rem;
}

.sebesviz-lightbox__counter {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  border: 1px solid rgba(250, 240, 225, .16);
  border-radius: 999px;
  background: rgba(250, 240, 225, .1);
  padding: .35rem .75rem;
  color: rgba(250, 240, 225, .8);
  font-size: .8rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .green-panel-top {
    display: none !important;
  }

  .green-panel-sidebar {
    display: block !important;
  }
}

.scroll-top-button {
  position: fixed;
  right: max(1rem, calc((100vw - 1140px) / 2 - 4.75rem));
  bottom: 2rem;
  z-index: 55;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(250, 240, 225, .2);
  border-radius: 999px;
  background: rgba(74, 53, 37, .72);
  color: var(--cream);
  box-shadow: 0 12px 28px rgba(74, 53, 37, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, background-color .22s ease;
}

.scroll-top-button svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: rgba(74, 53, 37, .9);
}

.can-scroll-top .scroll-top-button {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(126,84,35,.1);
}

.menu-table th,
.menu-table td {
  border-top: 1px solid rgba(126,84,35,.15);
  padding: .5rem .75rem;
  vertical-align: top;
}

.menu-table th {
  color: var(--forest);
  text-align: left;
}

.menu-table tbody tr:nth-child(odd) {
  background: rgba(227,217,200,.5);
}

.menu-table tbody tr:nth-child(even) {
  background: rgba(250,240,225,.78);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
}

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

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(74, 53, 37, .6);
  backdrop-filter: blur(8px);
}

.mobile-menu-panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  width: min(88vw, 25rem);
  height: 100svh;
  flex-direction: column;
  gap: 1.1rem;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(250,240,225,.98), rgba(234,226,212,.98));
  color: var(--green);
  padding: 1.25rem;
  box-shadow: -24px 0 60px rgba(74, 53, 37, .28);
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(126, 84, 35, .14);
  padding-bottom: 1rem;
}

.mobile-menu-head img {
  width: 112px;
  height: auto;
}

.mobile-menu-close,
.mobile-menu-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mobile-menu-close {
  color: var(--forest) !important;
}

.site-header .mobile-menu-toggle {
  color: var(--cream) !important;
}

.mobile-menu-close {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
  line-height: 1;
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: '';
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-toggle {
  align-items: center;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.mobile-menu-group {
  border: 1px solid rgba(126, 84, 35, .12);
  background: rgba(250, 240, 225, .62);
  padding: .8rem 0;
}

.mobile-menu-group p {
  margin: 0 0 .35rem;
  padding: 0 1rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
}

.mobile-menu-group a {
  display: block;
  padding: .62rem 1rem;
  color: var(--green) !important;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.mobile-menu-group a + a {
  border-top: 1px solid rgba(126, 84, 35, .08);
}

.mobile-menu-cta {
  display: block;
  margin-top: auto;
  border: 1px solid rgba(250, 240, 225, .22);
  background: linear-gradient(135deg, #7e5423, #674504);
  color: var(--cream) !important;
  padding: .9rem 1rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .site-header {
    background: rgba(126, 84, 35, .96);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 1px 3px rgba(100, 80, 60, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
  }

  .site-header a,
  .site-header button {
    color: var(--cream);
  }

  .scroll-top-button {
    right: 1rem;
    bottom: 1rem;
  }
}

/* WordPress integration */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.custom-logo,
.site-logo-img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(74,53,37,.18));
}

.primary-menu .sub-menu a {
  display: block;
  border-left: 3px solid transparent;
  padding: .5rem 1.25rem;
  color: var(--green) !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .1s ease;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible {
  border-left-color: var(--copper);
  background: rgba(234, 226, 212, .7);
  color: var(--forest) !important;
}

.mobile-menu-list,
.mobile-menu-list .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu-list > li {
  border: 1px solid rgba(126, 84, 35, .12);
  background: rgba(250, 240, 225, .62);
}

.mobile-menu-list > li + li {
  margin-top: .75rem;
}

.mobile-menu-list a {
  display: block;
  padding: .62rem 1rem;
  color: var(--green) !important;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.mobile-menu-list .sub-menu a {
  border-top: 1px solid rgba(126, 84, 35, .08);
  padding-left: 1.35rem;
}

.wp-content > * + *,
.entry-summary > * + * {
  margin-top: 1rem;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4 {
  color: var(--forest);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

.wp-content h2 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); }
.wp-content h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.9rem); }

.wp-content a,
.entry-summary a,
.widget a {
  color: var(--green);
  font-weight: 600;
}

.wp-content a:hover,
.entry-summary a:hover,
.widget a:hover {
  color: var(--copper);
}

.wp-content ul,
.wp-content ol,
.widget ul,
.widget ol {
  padding-left: 1.25rem;
}

.wp-content img,
.entry-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: .5rem;
  color: rgba(38, 49, 38, .76);
  font-size: .9rem;
}

.search-form {
  display: flex;
  gap: .5rem;
}

.search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(126, 84, 35, .2);
  border-radius: 999px;
  background: rgba(250, 240, 225, .9);
  padding: .75rem 1rem;
  color: var(--green);
}

.search-submit,
.post-link-button,
.page-numbers {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: linear-gradient(135deg, #7e5423, #674504);
  color: var(--cream) !important;
  padding: .65rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.page-numbers {
  margin: .15rem;
}

.page-numbers.current {
  background: var(--forest);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.primary-menu,
.primary-menu .sub-menu {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.dropdown-menu > a {
  display: block;
  border-left: 3px solid transparent;
  padding: .5rem 1.25rem;
  color: var(--green) !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .1s ease;
}

.dropdown-menu > a:hover,
.dropdown-menu > a:focus-visible {
  border-left-color: var(--copper);
  background: rgba(234, 226, 212, .7);
}

.widget > * + * {
  margin-top: .75rem;
}

.mobile-menu-list + .mobile-menu-list {
  margin-top: .75rem;
}

.green-panel-sidebar h1,
.green-panel-sidebar h2,
.green-panel-sidebar h3 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  text-align: center;
}

.green-panel-sidebar p {
  margin-top: 1rem;
}

.green-panel-sidebar a {
  color: var(--cream) !important;
  font-weight: 700;
}

.green-panel-sidebar .wp-block-button__link {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #7e5423, #674504);
  color: var(--cream) !important;
  box-shadow: 0 12px 26px rgba(92,55,35,.25);
}

section.green-panel-sidebar:has(> .wp-block-paragraph:empty:only-child) {
  display: none !important;
}

.green-panel-sidebar h1 {
  margin: 0 !important;
  color: var(--cream) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.45rem, 1.2rem + .85vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: .015em !important;
  text-align: center !important;
}

.green-panel-sidebar h2 {
  margin: .5rem 0 0 !important;
  color: rgba(227, 217, 200, .9) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.green-panel-sidebar p {
  margin: 1.25rem 0 0 !important;
  text-align: justify;
}

.wp-content p {
  margin: 1rem 0;
}

.wp-content h1 { font-size: clamp(2.4rem, 1.8rem + 2vw, 4rem); }
.wp-content h4 { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); }
.wp-content h5,
.wp-content h6 {
  color: var(--forest);
  font-weight: 800;
}

.wp-content table,
.wp-block-table table {
  display: table;
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border: 1px solid rgba(126, 84, 35, .16);
  border-radius: 16px;
  background: rgba(250, 240, 225, .76);
  box-shadow: 0 10px 28px rgba(74, 53, 37, .08);
  overflow: hidden;
}

.wp-content th,
.wp-content td,
.wp-block-table th,
.wp-block-table td {
  border-top: 1px solid rgba(126, 84, 35, .14);
  padding: .65rem .8rem;
  vertical-align: top;
}

.wp-content thead th,
.wp-block-table thead th {
  border-top: 0;
  background: rgba(227, 217, 200, .65);
  color: var(--forest);
  font-weight: 800;
  text-align: left;
}

.wp-content thead th[colspan],
.wp-block-table thead th[colspan] {
  text-align: center;
}

.wp-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
  background: rgba(227, 217, 200, .28);
}

.wp-content td:not(:first-child),
.wp-block-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.wp-content small {
  display: block;
  margin-top: .2rem;
  color: rgba(38, 49, 38, .76);
  font-size: .82em;
  line-height: 1.45;
}

.wp-content blockquote {
  margin: 1.5rem 0;
  border-left: 4px solid var(--copper);
  background: rgba(250, 240, 225, .6);
  padding: 1rem 1.25rem;
  color: rgba(38, 49, 38, .86);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.wp-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(126, 84, 35, .2);
}

.wp-content pre,
.wp-content code {
  border-radius: 10px;
  background: rgba(74, 53, 37, .08);
}

.wp-content code {
  padding: .1rem .35rem;
}

.wp-content pre {
  overflow-x: auto;
  padding: 1rem;
}

.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

@media (max-width: 640px) {
  .wp-content table,
  .wp-block-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
