:root {
  --eb-bg: #f3f6f2;
  --eb-bg-deep: #e7efe6;
  --eb-surface: #ffffff;
  --eb-text: #243028;
  --eb-muted: #6b7a70;
  --eb-accent: #2f9b6a;
  --eb-accent-dark: #217a52;
  --eb-accent-soft: #dff3e8;
  --eb-heading: #14241c;
  --eb-border: #d5e0d6;
  --eb-banner: #163528;
  --eb-max: 1180px;
  --eb-serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --eb-sans: "Outfit", "Segoe UI", sans-serif;
  --eb-radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.custom-background {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, #dff5e8 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e8f0e4 0%, transparent 50%),
    linear-gradient(180deg, var(--eb-bg) 0%, var(--eb-bg-deep) 100%) !important;
  background-color: var(--eb-bg) !important;
  color: var(--eb-text);
  font-family: var(--eb-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--eb-accent-dark);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover { color: var(--eb-heading); }

h1, h2, h3, h4, h5, h6,
.entry-title, .widget-title, .site-title, .caption h2 {
  font-family: var(--eb-serif);
  color: var(--eb-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(100% - 2rem, var(--eb-max));
  margin-inline: auto;
}

#page.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--eb-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.site-branding {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-title,
.site-description {
  position: static !important;
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
}

.site-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  margin: 0 !important;
}

.site-title a {
  color: var(--eb-heading);
  background: linear-gradient(120deg, var(--eb-heading), var(--eb-accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.site-title a:focus,
.site-title a:focus-visible,
.site-branding a:focus,
.site-branding a:focus-visible,
.custom-logo-link,
.custom-logo-link:focus {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-description {
  font-family: var(--eb-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--eb-muted);
  letter-spacing: 0.02em;
}

.custom-logo-link:empty { display: none; }

.main-menu {
  background: var(--eb-heading);
  border-bottom: 3px solid var(--eb-accent);
}

.main-menu .container { padding: 0; }

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
}

.navbar-header { display: none; }

.navbar-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin: 0.35rem 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
}

.navbar-collapse.collapse { display: block !important; height: auto !important; }

#primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

#primary-menu > li > a {
  display: block;
  padding: 0.95rem 1.05rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a {
  color: #fff;
  background: rgba(47, 155, 106, 0.28);
}

.banner-slider {
  position: relative;
  background: var(--eb-banner);
  overflow: hidden;
}

.banner-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(20, 50, 35, 0.55), rgba(47, 155, 106, 0.25)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255,255,255,0.03) 18px,
      rgba(255,255,255,0.03) 19px
    );
  pointer-events: none;
}

.header-slider {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(100% - 2rem, var(--eb-max));
  margin: 0 auto;
  padding: 2.25rem 0 2rem;
}

.header-slider-thumbnail { display: none !important; }

.header-slider > .slider-items {
  display: none;
}

.header-slider > .slider-items:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.75rem;
  border-radius: calc(var(--eb-radius) + 4px);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), transparent 45%),
    linear-gradient(180deg, #1d4a36, #123024);
  border: 1px solid rgba(255,255,255,0.12);
}

.header-slider .caption {
  position: relative;
  z-index: 2;
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  max-width: 34rem;
}

.header-slider .caption span {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(47, 155, 106, 0.25);
  color: #d8f5e6;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-slider .caption h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.header-slider .caption > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--eb-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
}

.header-slider .caption > a:hover {
  background: #fff;
  color: var(--eb-heading) !important;
}

.header-slider .img-holder { display: none; }

.site-content {
  flex: 1;
  padding: 2.5rem 0 0;
}

.site-content > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

#primary.content-area,
.site-content #primary {
  min-width: 0;
}

#masonry-loop,
.masonry-start {
  display: grid;
  gap: 1.35rem;
}

article.hentry,
article.one-column,
article.post {
  background: var(--eb-surface);
  border: 1px solid var(--eb-border);
  border-radius: calc(var(--eb-radius) + 2px);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

article.hentry:hover,
article.one-column:hover {
  border-color: #b7d4c2;
  transform: translateY(-2px);
}

article .content-area {
  padding: 1.35rem 1.45rem 1.5rem;
}

article .post-thumbnail {
  display: block;
  min-height: 180px;
  background:
    linear-gradient(135deg, #d8efe3, #f4f8f3 55%, #e3f0e8);
  border-bottom: 1px solid var(--eb-border);
}

article .entry-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  margin-bottom: 0.4rem;
}

article .entry-title a { color: var(--eb-heading); }
article .entry-title a:hover { color: var(--eb-accent-dark); }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 0.9rem;
  color: var(--eb-muted);
  font-size: 0.86rem;
}

.entry-meta a { color: var(--eb-accent-dark); }

.entry-content {
  color: #334339;
  font-size: 1.02rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.4em;
}

.entry-content iframe,
.entry-content video,
.wp-video {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.read-more a,
.more-link {
  display: inline-flex;
  margin-top: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--eb-accent-soft);
  color: var(--eb-accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more a:hover,
.more-link:hover {
  background: var(--eb-accent);
  color: #fff;
}

.entry-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--eb-border);
  color: var(--eb-muted);
  font-size: 0.86rem;
}

.entry-footer a { color: var(--eb-accent-dark); }

#secondary {
  position: sticky;
  top: 6.5rem;
}

#secondary .widget {
  margin-bottom: 1.15rem;
  padding: 1.15rem 1.2rem;
  background: var(--eb-surface);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
}

#secondary .widget-title {
  position: relative;
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  font-size: 1.15rem;
}

#secondary .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--eb-accent);
}

#secondary .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#secondary .widget li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #edf2ed;
}

#secondary .widget li:last-child { border-bottom: 0; }

#secondary .widget a { color: var(--eb-text); }
#secondary .widget a:hover { color: var(--eb-accent-dark); }

.widget_search input[type="search"],
.widget_search input[type="text"],
.widget_search .search-field {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--eb-border);
  border-radius: 10px;
  background: #fbfdfb;
  font: inherit;
}

.widget_search input[type="submit"],
.widget_search .search-submit {
  margin-top: 0.55rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--eb-accent) !important;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.widget_search input[type="submit"]:hover {
  background: var(--eb-accent-dark) !important;
}

#wp-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

#wp-calendar th,
#wp-calendar td {
  padding: 0.35rem;
  text-align: center;
  border-bottom: 1px solid #edf2ed;
}

#wp-calendar #today {
  background: var(--eb-accent-soft);
  border-radius: 8px;
  font-weight: 700;
}

.footer-wrap {
  margin-top: auto;
  background: var(--eb-heading);
  color: rgba(255,255,255,0.82);
}

.footer-wrap .container { padding: 2.4rem 0 0; }

.footer-wrap .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-wrap .widget_media_video,
#media_video-3 {
  display: none !important;
}

.footer-col-3 .widget-title {
  color: #fff;
  font-size: 1.15rem;
}

.footer-wrap a { color: #b7e5cb; }
.footer-wrap a:hover { color: #fff; }

.footer-wrap .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-wrap .menu li { margin-bottom: 0.45rem; }

.wpforms-field-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #d7e8dc;
  font-size: 0.9rem;
}

.wpforms-field input {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
}

.wpforms-submit {
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--eb-accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wpforms-submit:hover { background: #fff; color: var(--eb-heading); }

.site-footer {
  margin-top: 1.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.go-to-top,
#toTop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--eb-accent) !important;
  color: #fff !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none !important;
}

.go-to-top .fa,
#toTop .fa { display: none !important; }

.go-to-top::before,
#toTop::before {
  content: "";
  width: 16px;
  height: 16px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E");
}

.go-to-top.eb-visible,
#toTop.eb-visible {
  opacity: 1;
  pointer-events: auto;
}

.go-to-top:hover,
#toTop:hover { transform: translateY(-2px); background: var(--eb-accent-dark) !important; }

.page-header,
.archive .page-header {
  margin-bottom: 1.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--eb-surface);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
}

.page-title,
.archive-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.simplesocialbuttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.simplesocialbuttons button {
  border: 1px solid var(--eb-border);
  border-radius: 999px;
  background: #f7faf7;
  color: var(--eb-text);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.simplesocialbuttons-float-left-center,
.simplesocialbuttons.simplesocialbuttons-float-left-center {
  display: none !important;
}

.comments-area {
  margin-top: 1.75rem;
  padding: 1.4rem;
  background: var(--eb-surface);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
}

.navigation.pagination,
.nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.navigation.pagination a,
.navigation.pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--eb-border);
  background: var(--eb-surface);
  color: var(--eb-text);
  font-weight: 600;
}

.navigation.pagination .current,
.nav-links .current {
  background: var(--eb-accent);
  border-color: var(--eb-accent);
  color: #fff;
}

@media (max-width: 991px) {
  .site-content > .container {
    grid-template-columns: 1fr;
  }

  #secondary { position: static; }

  .header-slider { padding-top: 1.5rem; }

  .header-slider > .slider-items:first-child { min-height: 220px; }

  .footer-wrap .row { grid-template-columns: 1fr; }

  .navbar-header { display: block; }

  .navbar-collapse.collapse {
    display: none !important;
    width: 100%;
    padding-bottom: 0.6rem;
  }

  body.eb-nav-open .navbar-collapse.collapse {
    display: block !important;
  }

  #primary-menu { flex-direction: column; }

  #primary-menu > li > a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 640px) {
  article .content-area { padding: 1.1rem; }
  .slick-slide img,
  .header-slider img { height: auto !important; }
}
