:root {
  --dmm-green: #14382c;
  --dmm-green-deep: #0c241d;
  --dmm-green-soft: #1f5342;
  --dmm-gold: #c4a15a;
  --dmm-gold-deep: #8d6b2f;
  --dmm-cream: #f4fbf7;
  --dmm-paper: #fffdf8;
  --dmm-ink: #1c2420;
  --dmm-muted: #5e6a64;
  --dmm-line: rgba(196, 161, 90, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  color: var(--dmm-ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(126, 214, 164, 0.35), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(186, 230, 196, 0.55), transparent 30%),
    linear-gradient(180deg, #f7fdf9 0%, #eef8f3 48%, #f8fdf9 100%) !important;
}

h1, h2, h3, h4,
.ed-header-title,
.widget-title,
.dmm-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.dmm-topbar {
  background: #e7f8ee;
  color: #1a6b48;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #b7e4c7;
}

.dmm-topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
}

.dmm-topbar .container > span:last-child {
  display: flex;
  align-items: center;
  gap: 0;
}

.dmm-topbar a,
.dmm-topbar a:visited {
  color: #1a6b48 !important;
  text-decoration: none;
  margin-left: 0;
  padding-left: 14px;
  margin-right: 14px;
  border-left: 1px solid #b7e4c7;
}

.dmm-topbar .container > span:last-child a:first-child {
  border-left: 0;
  padding-left: 0;
}

.dmm-topbar a:hover {
  color: #0e8f58 !important;
}

.dmm-brand-note {
  display: none;
}

.general-header .bottom-header {
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(12, 36, 29, 0.08);
}

.custom-logo {
  width: auto !important;
  max-width: 420px;
  height: 72px !important;
  object-fit: contain;
}

.sticky-wrapper,
.sticky-wrapper.is-sticky,
.sticky-wrapper.is-sticky .bottom-header {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

@media (min-width: 901px) {
  .dmm-topbar .container {
    max-width: 1170px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .general-header .bottom-header > .container {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  .header-middle-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    width: 100%;
  }

  .header-middle-inner > * {
    display: block !important;
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
  }

  .site-branding {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 16px 24px 14px !important;
    box-sizing: border-box;
    background: #fff;
  }

  .dmm-brand-note {
    display: block;
    margin-left: auto;
    text-align: right;
  }

  .dmm-brand-note em {
    display: block;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dmm-gold-deep);
    font-weight: 700;
  }

  .dmm-brand-note strong {
    display: block;
    margin-top: 3px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--dmm-green);
    letter-spacing: 0.01em;
  }

  .box-header-nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    background: #f3fbf6;
    border-top: 2px solid #7dcea0;
    overflow: visible;
    z-index: 30;
  }

  .box-header-nav .main-menu {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex !important;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    float: none !important;
    gap: 0;
  }

  .box-header-nav .main-menu > .menu-item {
    float: none !important;
    display: flex !important;
    align-items: center;
    position: relative;
  }

  .general-header .box-header-nav .main-menu > .menu-item > a {
    color: #1a6b48 !important;
    background: transparent !important;
    font-size: 12.5px !important;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    padding: 16px 13px !important;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.22s ease, border-color 0.22s ease;
  }

  .general-header .box-header-nav .main-menu > .menu-item > a:hover,
  .general-header .box-header-nav .main-menu > .menu-item.current-menu-item > a,
  .general-header .box-header-nav .main-menu > .menu-item:hover > a {
    color: #0e8f58 !important;
    background: transparent !important;
    border-bottom-color: #3caf78;
  }

  .box-header-nav .main-menu .sub-menu {
    background: #fffdf8 !important;
    border-top: 2px solid var(--dmm-gold);
    box-shadow: 0 16px 36px rgba(12, 36, 29, 0.16);
    min-width: 240px;
    max-height: 70vh;
    overflow: auto;
    padding: 6px 0;
    z-index: 40;
  }

  .box-header-nav .main-menu .sub-menu > .menu-item > a {
    color: var(--dmm-ink) !important;
    background: transparent !important;
    padding: 9px 18px !important;
    font-size: 14.5px;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.4 !important;
    border-bottom: 0;
    white-space: normal;
  }

  .box-header-nav .main-menu .sub-menu > .menu-item > a:hover,
  .box-header-nav .main-menu .sub-menu > .menu-item:hover > a {
    background: #f3eee3 !important;
    color: var(--dmm-green) !important;
  }

  .box-header-nav .main-menu > .menu-item.is-open > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

.header-nav-toggle div {
  background: var(--dmm-green) !important;
}

.ed-breadcrumb {
  min-height: 128px;
  background:
    radial-gradient(circle at 12% 20%, rgba(126, 214, 164, 0.45), transparent 36%),
    linear-gradient(120deg, #e7f8ee, #f7fdf9);
  margin-bottom: 28px;
}

.ed-breadcrumb .ed-overlay {
  background: transparent !important;
}

.ed-header-title {
  color: #1a6b48 !important;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.ed-breadcrumb .breadcrumb-list li,
.ed-breadcrumb .breadcrumb-list li a,
.trail-item a,
.trail-item span {
  color: #3d6b58 !important;
  font-size: 14px;
}

.site-content {
  min-height: 0 !important;
}

#content .container {
  padding-bottom: 20px;
}

.entry-content,
.page-content {
  background: linear-gradient(180deg, #e7f8ee 0%, #f7fdf9 55%);
  border: 0;
  border-radius: 18px;
  padding: 28px 28px 18px;
  box-shadow: 0 18px 42px rgba(26, 107, 72, 0.08);
}

.entry-content h1,
.entry-content h2,
.wp-block-heading {
  color: var(--dmm-green) !important;
  font-weight: 600;
  position: relative;
}

.entry-content h2::after,
.ed-header-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 10px;
  background: var(--dmm-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s ease 0.12s;
}

.entry-content h2.has-text-align-center::after,
.dmm-doc h2::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

html.dmm-anim .entry-content h2.is-in::after,
html.dmm-anim .ed-header-title.is-in::after {
  transform: scaleX(1);
}

.entry-content p,
.entry-content li,
.entry-content td {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--dmm-ink);
}

.entry-content a {
  color: var(--dmm-green-soft);
  font-weight: 600;
}

.entry-content img,
.wp-block-image img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.entry-content table,
.tablepress,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  border-radius: 12px;
}

.entry-content td,
.tablepress td,
.tablepress th {
  border: 1px solid #eadfcd !important;
  padding: 12px 14px !important;
}

.tablepress .row-1 td,
.entry-content tr:nth-child(odd) td {
  background: #fbf7f0;
}

.wp-block-file__button,
.entry-content .wp-block-file a + a,
a.wp-block-file__button {
  background: var(--dmm-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  letter-spacing: 0.03em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

a.wp-block-file__button:hover,
.dmm-doc-row:hover a.wp-block-file__button {
  background: #1d5340 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(20, 56, 44, 0.16);
}

.wp-block-file,
.entry-content > p {
  padding: 10px 0;
  border-bottom: 1px solid #efe6d6;
}

.dmm-doc h2.wp-block-heading {
  text-align: center;
  margin: 22px 0 10px;
}

.dmm-doc .dmm-doc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
  margin: 6px 0;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-bottom: 1px solid #efe6d6;
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease;
}

.dmm-doc .dmm-doc-row:hover,
.entry-content > p:has(.wp-block-file__button):hover {
  background: #fbf6ea;
  border-color: rgba(196, 161, 90, 0.4);
  padding-left: 14px;
}

.dmm-doc .dmm-doc-row > a:first-child {
  color: #c0392b !important;
  font-weight: 600;
}

.secondary-section {
  padding-left: 22px;
}

.secondary-section .widget,
.widget_custom_html {
  background: linear-gradient(180deg, #d9f5e6 0%, #f3fbf7 100%);
  border-radius: 18px;
  border: 0;
  box-shadow: 0 16px 36px rgba(26, 107, 72, 0.1);
  padding: 10px 10px 18px;
}

.widget-ed-title {
  margin: 2px 8px 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--dmm-gold);
}

.widget-title,
.widget-ed-title h2 {
  color: var(--dmm-green) !important;
  font-size: 28px !important;
  padding: 8px 12px 0;
  margin-bottom: 8px;
}

.widget-ed-title h2:before,
.widget-title:before {
  background: var(--dmm-gold) !important;
}

.secondary-section ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.secondary-section li {
  border-bottom: 1px solid #efe6d6;
}

.secondary-section li a {
  display: block;
  padding: 9px 8px;
  color: var(--dmm-ink);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.45;
  border-radius: 8px;
  transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease;
}

.secondary-section li a:hover {
  color: var(--dmm-gold-deep);
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.secondary-section li.is-new {
  background: linear-gradient(90deg, #fff1c9, #fffaf0);
  border: 1px solid rgba(196, 161, 90, 0.9);
  border-radius: 10px;
  margin: 6px 0;
  box-shadow: 0 4px 12px rgba(141, 107, 47, 0.14);
}

.secondary-section li.is-new a {
  color: #14382c !important;
  font-weight: 700;
}

.secondary-section li.is-new a .dmm-new {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #c4a15a;
  color: #14382c !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.footer {
  background: #e7f8ee !important;
  height: auto !important;
  color: #1a6b48;
  padding: 18px 16px !important;
  margin-top: 10px;
  border-top: 1px solid #b7e4c7;
}

.footer p,
.footer a {
  color: #1a6b48 !important;
  margin: 0;
}

.footer a:hover {
  color: #0e8f58 !important;
}

.dmm-hero {
  position: relative;
  overflow: hidden;
  color: #f7f3ea;
  background:
    radial-gradient(circle at 85% 10%, rgba(196, 161, 90, 0.28), transparent 28%),
    linear-gradient(135deg, #071712 0%, #14382c 55%, #1f5342 100%);
  padding: 72px 0 64px;
}

.dmm-hero:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(196, 161, 90, 0.35);
  pointer-events: none;
}

.dmm-kicker {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dmm-gold);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.dmm-hero h1 {
  color: #fff;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 600;
  max-width: 760px;
  margin: 0 0 14px;
}

.dmm-hero p {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: #efe6d4;
  margin-bottom: 26px;
}

.dmm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dmm-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.dmm-btn-gold {
  background: var(--dmm-gold);
  color: #1c2420;
}

.dmm-btn-ghost {
  border: 1px solid rgba(243, 234, 214, 0.7);
  color: #f7f3ea;
}

.dmm-btn:hover {
  transform: translateY(-1px);
}

.dmm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.dmm-stat {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 16px 30px rgba(12, 36, 29, 0.08);
  border-top: 3px solid var(--dmm-gold);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dmm-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(12, 36, 29, 0.12);
}

.dmm-stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  color: var(--dmm-green);
  line-height: 1;
}

.dmm-stat span {
  display: block;
  margin-top: 6px;
  color: var(--dmm-muted);
  font-size: 14px;
}

.dmm-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 10px 0 28px;
}

.dmm-slider {
  position: relative;
  height: 560px;
  background: #efe8dc;
  overflow: hidden;
  animation: dmm-fade-in 0.8s ease;
}

.dmm-slider:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(12, 36, 29, 0.42), transparent);
}

.dmm-slider-viewport {
  position: relative;
  height: 100%;
}

.dmm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.dmm-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.dmm-slide img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition: transform 7s ease;
}

.dmm-slide.is-active img {
  transform: scale(1.05);
}

.dmm-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(196, 161, 90, 0.85);
  border-radius: 50%;
  background: rgba(12, 36, 29, 0.48);
  color: #f7f3ea;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(12, 36, 29, 0.28);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dmm-slider-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dmm-slider-btn.prev { left: 28px; transform: translateY(-50%); }
.dmm-slider-btn.next { right: 28px; transform: translateY(-50%); }

.dmm-slider-btn:hover {
  background: #c4a15a;
  border-color: #c4a15a;
  color: #14382c;
  box-shadow: 0 14px 30px rgba(196, 161, 90, 0.38);
}

.dmm-slider-btn.prev:hover { transform: translateY(-50%) translateX(-4px); }
.dmm-slider-btn.next:hover { transform: translateY(-50%) translateX(4px); }

.dmm-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dmm-slider-dots button {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.dmm-slider-dots button.is-active {
  background: #c4a15a;
  width: 46px;
}

.dmm-hero-compact {
  padding: 36px 0 28px;
}

.dmm-hero-compact h1 {
  font-size: 42px;
}

.dmm-news {
  margin: 18px 0 36px;
  padding-top: 8px;
}

.dmm-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(196, 161, 90, 0.45);
}

.dmm-news-head em {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dmm-gold-deep);
  font-weight: 700;
}

.dmm-news-head h2,
.dmm-news h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #14382c;
}

.dmm-news-head h2 {
  margin: 2px 0 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
}

.dmm-news-all {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(141, 107, 47, 0.5);
  border-radius: 999px;
  padding: 9px 18px;
  color: #8d6b2f !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dmm-news-all:hover {
  background: var(--dmm-green);
  color: #f7f3ea !important;
  transform: translateY(-2px);
}

.dmm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dmm-news article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 56, 44, 0.08);
  box-shadow: 0 16px 36px rgba(20, 56, 44, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dmm-news article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(20, 56, 44, 0.12);
}

.dmm-news-photo {
  height: 210px;
  overflow: hidden;
  background: #efe8dc;
}

.dmm-news article img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.6s ease;
}

.dmm-news article:hover img {
  transform: scale(1.06);
}

.dmm-news article div {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--dmm-gold);
}

.dmm-news article time {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dmm-gold-deep);
  font-weight: 700;
}

.dmm-news article h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; }

.dmm-news article p {
  margin: 0;
  color: #5e6a64;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dmm-news-page article p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.dmm-panel {
  background: var(--dmm-paper);
  border-radius: 16px;
  padding: 26px 26px 26px 28px;
  border: 1px solid rgba(20, 56, 44, 0.08);
  border-left: 4px solid var(--dmm-gold);
  box-shadow: 0 12px 32px rgba(20, 56, 44, 0.05);
}

.dmm-panel h2 {
  margin-top: 0;
  color: var(--dmm-green);
  font-size: 34px;
}

.dmm-panel p {
  color: var(--dmm-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.dmm-links {
  display: grid;
  gap: 10px;
}

.dmm-links a {
  display: block;
  text-decoration: none;
  background: #f6f1e7;
  color: var(--dmm-green);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}

.dmm-links a:hover {
  background: var(--dmm-green);
  color: #fff;
}

.dmm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 10px;
}

.dmm-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20, 56, 44, 0.08);
  min-height: 150px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.dmm-card:hover {
  transform: translateY(-5px);
  border-color: var(--dmm-gold);
  box-shadow: 0 16px 32px rgba(20, 56, 44, 0.1);
}

.dmm-card em {
  display: block;
  font-style: normal;
  color: var(--dmm-gold-deep);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.dmm-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  color: var(--dmm-green);
  font-weight: 600;
}

.dmm-card span {
  display: block;
  margin-top: 6px;
  color: var(--dmm-muted);
}

.dmm-home-wrap #secondary,
.dmm-home-wrap .secondary-section {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding-left: 0;
  margin-top: 8px;
}

.dmm-home-wrap .secondary-section ul {
  columns: 2;
  column-gap: 28px;
}

.dmm-home-wrap .secondary-section li {
  break-inside: avoid;
}

body:has(.dmm-home-wrap) {
  background: #f4f6f5 !important;
}

.dmm-home-wrap {
  background: transparent;
}

.dmm-home-wrap .dmm-stat {
  background: #c8f0da;
  border-top: 0;
  box-shadow: 0 14px 28px rgba(26, 107, 72, 0.08);
}

.dmm-home-wrap .dmm-stat:nth-child(2) { background: #c9efe8; }
.dmm-home-wrap .dmm-stat:nth-child(3) { background: #dff6c8; }
.dmm-home-wrap .dmm-stat:nth-child(4) { background: #d4eef8; }

.dmm-home-wrap .dmm-stats,
.dmm-home-wrap .dmm-cards {
  gap: 18px;
  margin-bottom: 28px;
}

.dmm-home-wrap .dmm-stat strong,
.dmm-home-wrap .dmm-card strong,
.dmm-home-wrap .dmm-news-head h2,
.dmm-home-wrap .dmm-gallery h2,
.dmm-home-wrap .dmm-panel h2,
.dmm-home-wrap .dmm-news h3 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  color: #10281f !important;
  letter-spacing: 0;
}

.dmm-home-wrap .dmm-stat strong {
  font-size: 40px;
}

.dmm-home-wrap .dmm-stat span,
.dmm-home-wrap .dmm-card span,
.dmm-home-wrap .dmm-card em,
.dmm-home-wrap .dmm-news-head em,
.dmm-home-wrap .dmm-gallery em,
.dmm-home-wrap .dmm-news article p,
.dmm-home-wrap .dmm-panel p {
  color: #1c332b !important;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.45;
}

.dmm-home-wrap .dmm-card {
  background: #d7f6e6;
  border: 0;
  box-shadow: 0 16px 32px rgba(26, 107, 72, 0.08);
}

.dmm-home-wrap .dmm-card:nth-child(2) { background: #e5f7cc; }
.dmm-home-wrap .dmm-card:nth-child(3) { background: #d7f0f6; }

.dmm-home-wrap .dmm-card em {
  color: #146b45 !important;
  letter-spacing: 0.08em;
}

.dmm-home-wrap .dmm-card strong {
  font-size: 26px;
}

.dmm-home-wrap .dmm-cards,
.dmm-home-wrap .dmm-news,
.dmm-home-wrap .dmm-gallery,
.dmm-home-wrap .dmm-home-grid,
.dmm-home-wrap #secondary {
  position: relative;
  margin-top: 46px;
  margin-bottom: 28px;
}

.dmm-home-wrap .dmm-cards::before,
.dmm-home-wrap .dmm-news::before,
.dmm-home-wrap .dmm-gallery::before,
.dmm-home-wrap .dmm-home-grid::before,
.dmm-home-wrap #secondary::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 240px;
  height: 16px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(#3caf78, #3caf78),
    linear-gradient(#3caf78, #3caf78),
    radial-gradient(circle, #f4c56a 0 3px, #146b45 4px 6.5px, transparent 7px);
  background-size: 86px 2px, 86px 2px, 16px 16px;
  background-position: left center, right center, center;
  background-repeat: no-repeat;
}

.dmm-home-wrap .dmm-news {
  background: #e3f6ea;
  border-radius: 22px;
  padding: 26px 20px 22px;
  box-shadow: 0 12px 28px rgba(16, 40, 31, 0.06);
}

.dmm-home-wrap .dmm-news-head {
  border-bottom: 0;
}

.dmm-home-wrap .dmm-news-head h2,
.dmm-home-wrap .dmm-gallery h2 {
  font-size: 34px;
}

.dmm-home-wrap .dmm-news-all {
  background: #e7f8ee;
  border-color: #7dcea0;
  color: #1a6b48 !important;
}

.dmm-home-wrap .dmm-news-all:hover {
  background: #e4c56d;
  border-color: #e4c56d;
  color: #12382c !important;
}

.dmm-home-wrap .dmm-news article {
  background: #f7fdf9;
  border: 0;
  box-shadow: 0 18px 36px rgba(26, 107, 72, 0.08);
}

.dmm-home-wrap .dmm-news article div {
  background: #f7fdf9;
  border-top: 0;
}

.dmm-home-wrap .dmm-panel {
  background: linear-gradient(135deg, #c8eedb, #e7f8ee);
  border: 0;
  box-shadow: 0 14px 28px rgba(26, 107, 72, 0.08);
  padding: 28px;
}

.dmm-gallery {
  margin: 8px 0 28px;
  background: #d7f3ee;
  border-radius: 22px;
  padding: 26px 20px 18px;
  box-shadow: 0 12px 28px rgba(16, 40, 31, 0.06);
}

.dmm-gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scrollbar-color: #e4c56d #12382c;
}

.dmm-gallery a {
  display: block;
  flex: 0 0 280px;
  width: 280px;
  height: 210px;
  overflow: hidden;
  border-radius: 16px;
  border: 0;
  box-shadow: 0 14px 28px rgba(26, 107, 72, 0.12);
  background: #bfe8dc;
}

.dmm-gallery img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.55s ease;
}

.dmm-gallery a:hover img {
  transform: scale(1.06);
}

.dmm-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 24px;
  background: rgba(8, 24, 19, 0.88);
}

.dmm-lightbox.is-open {
  display: flex;
}

.dmm-lightbox-photo {
  position: relative;
  z-index: 1;
  max-width: min(1000px, calc(100vw - 160px)) !important;
  max-height: calc(100vh - 180px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.dmm-lightbox-close,
.dmm-lightbox-nav {
  position: absolute;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 52px !important;
  height: 52px !important;
  min-width: 0;
  padding: 0 !important;
  border: 1px solid #e4c56d !important;
  border-radius: 50% !important;
  background: #12382c !important;
  color: #f6efe2 !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.dmm-lightbox-close svg,
.dmm-lightbox-nav svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dmm-lightbox-close {
  top: 18px;
  right: 18px;
}

.dmm-lightbox-close:hover,
.dmm-lightbox-nav:hover {
  background: #e4c56d !important;
  color: #12382c !important;
}

.dmm-lightbox-nav.prev { left: 18px; top: 46%; }
.dmm-lightbox-nav.next { right: 18px; top: 46%; }

.dmm-lightbox-strip {
  position: absolute;
  left: 84px;
  right: 84px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-color: #e4c56d transparent;
}

.dmm-lightbox-strip button {
  flex: 0 0 auto;
  width: 78px !important;
  height: 58px !important;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: transparent !important;
  cursor: pointer;
  opacity: 0.72;
}

.dmm-lightbox-strip button.is-active {
  border-color: #e4c56d !important;
  opacity: 1;
}

.dmm-lightbox-strip img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .site-header {
    display: flex;
    flex-direction: column;
  }

  .site-header > .sticky-wrapper,
  .site-header > .bottom-header {
    order: -1;
  }

  .sticky-wrapper,
  .sticky-wrapper.is-sticky {
    position: static !important;
    top: auto !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .general-header .bottom-header,
  .sticky-wrapper.is-sticky .bottom-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2000;
    background: #fff;
    box-shadow: 0 8px 18px rgba(12, 36, 29, 0.12);
  }

  .dmm-topbar {
    margin-top: 78px;
  }

  .dmm-topbar {
    background: #e7f8ee;
    border-bottom: 1px solid #b7e4c7;
    font-size: 12px;
    line-height: 1.5;
  }

  .dmm-topbar .container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    min-height: 0;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  .dmm-topbar .container > span:first-child {
    display: block;
    color: #1a6b48;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .dmm-topbar .container > span:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
  }

  .dmm-topbar a,
  .dmm-topbar a:visited {
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #1a6b48 !important;
    font-weight: 600;
  }

  .dmm-brand-note {
    display: none !important;
  }

  .site-branding .dmm-brand-note {
    display: none !important;
  }

  .general-header .header-middle-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    width: 100% !important;
  }

  .general-header .header-middle-inner > .site-branding {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    float: none !important;
    padding: 10px 0 !important;
    box-sizing: border-box;
  }

  .general-header .bottom-header .header-middle-inner > .box-header-nav {
    display: none;
  }

  .custom-logo-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 0;
  }

  .custom-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .header-nav-toggle {
    display: flex !important;
    flex: 0 0 46px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    float: none !important;
    margin: 0 0 0 auto !important;
    padding: 12px 11px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    background: #e7f8ee;
  }

  .header-nav-toggle div {
    width: 100% !important;
    height: 2px !important;
    margin: 0 !important;
    background: #1a6b48 !important;
    border-radius: 2px;
  }

  .box-header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    max-height: 72vh;
    overflow: auto;
    background: #f3fbf6 !important;
    border-top: 2px solid var(--dmm-gold);
    box-shadow: 0 18px 32px rgba(8, 24, 19, 0.28);
    z-index: 1000;
  }

  .box-header-nav .main-menu {
    display: block !important;
    float: none !important;
    margin: 0;
    padding: 6px 0 10px;
  }

  .box-header-nav .main-menu > .menu-item {
    float: none !important;
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #d7f0e2;
    position: relative;
  }

  .general-header .box-header-nav .main-menu > .menu-item > a,
  .general-header .box-header-nav .main-menu > .menu-item > a:hover,
  .general-header .box-header-nav .main-menu > .menu-item:hover > a {
    display: block;
    width: auto;
    color: #1a6b48 !important;
    background: transparent !important;
    font-size: 13px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3 !important;
    padding: 14px 48px 14px 18px !important;
    border-bottom: 0;
  }

  .box-header-nav .main-menu .sub-menu {
    display: none !important;
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: #e7f8ee !important;
    padding: 0 0 6px !important;
  }

  .box-header-nav .main-menu > .menu-item.is-open > .sub-menu {
    display: block !important;
  }

  .box-header-nav .main-menu .sub-menu > .menu-item > a,
  .box-header-nav .main-menu .sub-menu > .menu-item:hover > a {
    color: #1a6b48 !important;
    background: transparent !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    padding: 10px 18px 10px 28px !important;
  }

  span.sub-toggle {
    color: var(--dmm-gold) !important;
    top: 6px;
    height: 36px;
    line-height: 36px;
  }

  .dmm-hero {
    padding: 34px 0 28px;
  }

  .dmm-hero:before {
    inset: 8px;
  }

  .dmm-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .dmm-hero p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .dmm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .dmm-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .dmm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .dmm-stat {
    margin: 0;
    padding: 14px 12px;
  }

  .dmm-stat strong {
    font-size: 28px;
  }

  .dmm-cards,
  .dmm-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dmm-card,
  .dmm-panel {
    min-height: 0;
    margin: 0;
    padding: 18px 16px;
  }

  .dmm-card strong,
  .dmm-panel h2 {
    font-size: 26px;
  }

  .entry-content,
  .page-content {
    padding: 16px 14px;
    border-radius: 14px;
    overflow-x: auto;
  }

  .entry-content img,
  .wp-block-image img,
  .entry-content table,
  .tablepress {
    max-width: 100%;
  }

  .entry-content p,
  .wp-block-file {
    overflow-wrap: anywhere;
  }

  .primary-section,
  .secondary-section {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    margin-left: 0;
    margin-right: 0;
  }

  .ed-breadcrumb {
    min-height: 92px;
  }

  .ed-header-title {
    font-size: 28px !important;
    line-height: 1.15;
    padding: 0 8px;
  }

  .secondary-section .widget,
  .widget_custom_html {
    margin-top: 8px;
  }

  .widget-title,
  .widget-ed-title h2 {
    font-size: 24px !important;
  }

  .footer {
    padding: 16px 14px !important;
  }

  .footer p {
    font-size: 13px;
    line-height: 1.55;
  }

  .dmm-home-wrap .secondary-section ul {
    columns: 1;
  }

  .dmm-slider { height: 240px; }
  .dmm-slider-btn { width: 44px; height: 44px; }
  .dmm-slider-btn.prev { left: 12px; }
  .dmm-slider-btn.next { right: 12px; }
  .dmm-slider-btn svg { width: 18px; height: 18px; }
  .dmm-news-head { align-items: flex-start; flex-direction: column; }
  .dmm-news-head h2 { font-size: 34px; }
  .dmm-news-photo { height: 190px; }
  .dmm-hero-compact { padding: 28px 0 22px; }
  .dmm-hero-compact h1 { font-size: 30px; }
  .dmm-news-grid { grid-template-columns: 1fr; }
  .dmm-gallery a { flex-basis: 220px; width: 220px; height: 165px; }
  .dmm-lightbox-photo { max-width: calc(100vw - 28px) !important; }
  .dmm-lightbox-nav.prev { left: 8px; }
  .dmm-lightbox-nav.next { right: 8px; }
  .dmm-lightbox-strip { left: 12px; right: 12px; }
}

@keyframes dmm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dmm-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

html.dmm-anim .entry-content,
html.dmm-anim .page-content {
  animation: dmm-card-in 0.55s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}

html.dmm-anim .dmm-stat,
html.dmm-anim .dmm-card,
html.dmm-anim .dmm-news-head,
html.dmm-anim .dmm-news article,
html.dmm-anim .dmm-panel,
html.dmm-anim .dmm-gallery-head,
html.dmm-anim .dmm-gallery a,
html.dmm-anim .secondary-section .widget,
html.dmm-anim .ed-header-title,
html.dmm-anim .dmm-piece {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.8, 0.28, 1);
}

html.dmm-anim .dmm-stat.is-in,
html.dmm-anim .dmm-card.is-in,
html.dmm-anim .dmm-news-head.is-in,
html.dmm-anim .dmm-news article.is-in,
html.dmm-anim .dmm-panel.is-in,
html.dmm-anim .dmm-gallery-head.is-in,
html.dmm-anim .dmm-gallery a.is-in,
html.dmm-anim .secondary-section .widget.is-in,
html.dmm-anim .ed-header-title.is-in,
html.dmm-anim .dmm-piece.is-in {
  opacity: 1;
  transform: none;
}

html.dmm-anim .dmm-stat.is-in:hover,
html.dmm-anim .dmm-card.is-in:hover {
  transform: translateY(-5px);
}

html.dmm-anim .dmm-news article.is-in:hover {
  transform: translateY(-6px);
}

.box-header-nav .main-menu .sub-menu {
  animation: dmm-fade-in 0.22s ease;
}

.entry-content a,
.dmm-links a {
  transition: color 0.2s ease, background 0.2s ease;
}

@media (max-width: 360px) {
  .entry-content img,
  .page-content img,
  .secondary-section img,
  .dmm-panel img {
    height: auto !important;
    max-width: 100% !important;
  }

  .dmm-slide img,
  .dmm-news-photo img,
  .dmm-gallery img {
    height: 100% !important;
    width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  .custom-logo {
    height: 48px !important;
  }

  .footer {
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.dmm-anim .dmm-stat,
  html.dmm-anim .dmm-card,
  html.dmm-anim .dmm-news-head,
  html.dmm-anim .dmm-news article,
  html.dmm-anim .dmm-panel,
  html.dmm-anim .dmm-gallery-head,
  html.dmm-anim .dmm-gallery a,
  html.dmm-anim .entry-content,
  html.dmm-anim .page-content,
  html.dmm-anim .secondary-section .widget,
  html.dmm-anim .ed-header-title,
  html.dmm-anim .dmm-piece,
  html.dmm-anim .is-in {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .entry-content h2::after,
  .ed-header-title::after {
    transform: none;
  }

  .dmm-slider,
  .dmm-slide img,
  .box-header-nav .main-menu .sub-menu {
    animation: none;
  }

  .dmm-slide img,
  .dmm-slide.is-active img {
    transform: none;
    transition: none;
  }
}
