:root {
  --enf-shell-ink: #20302b;
  --enf-shell-muted: #607069;
  --enf-shell-line: #d8e2db;
  --enf-shell-surface: #ffffff;
  --enf-shell-surface-alt: #f5f8f5;
  --enf-shell-accent: #1e6a54;
  --enf-shell-accent-strong: #0f4e3d;
  --enf-shell-warm: #c5652a;
  --enf-shell-shadow: 0 16px 40px rgba(20, 41, 34, 0.10);
}

.enfurgo-shell-active {
  background: var(--enf-shell-surface-alt);
}

.enf-shell-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.enf-shell-header {
  position: sticky;
  top: 0;
  z-index: 2147483000;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--enf-shell-line);
}

.enf-shell-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.enf-shell-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: var(--enf-shell-ink);
  text-decoration: none;
}

.enf-shell-brand__name {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
}

.enf-shell-brand__tagline {
  color: var(--enf-shell-muted);
  font-size: 0.92rem;
  line-height: 1.25;
}

.enf-shell-desktop-nav {
  justify-self: end;
}

.enf-shell-mobile-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.enf-shell-desktop-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enf-shell-desktop-nav__link,
.enf-shell-meta-link,
.enf-shell-link {
  text-decoration: none;
  color: var(--enf-shell-ink);
}

.enf-shell-desktop-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
}

.enf-shell-desktop-nav__item.is-current .enf-shell-desktop-nav__link,
.enf-shell-desktop-nav__link:hover,
.enf-shell-desktop-nav__link:focus-visible {
  background: #eaf4ef;
  color: var(--enf-shell-accent-strong);
  outline: none;
}

.enf-shell-mobile-toggle {
  display: none;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 999px;
  background: var(--enf-shell-surface);
  color: var(--enf-shell-ink);
  font-weight: 700;
}

.enf-shell-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 14px;
}

.enf-shell-meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf5f1;
  color: var(--enf-shell-accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.enf-shell-mobile-panel {
  display: none;
  position: relative;
  z-index: 2147483001;
}

.enf-shell-mobile-panel__inner {
  padding: 0 0 16px;
}

.enf-shell-quickgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.enf-shell-quickcard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  color: var(--enf-shell-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(18, 42, 34, 0.04);
}

.enf-shell-quickcard strong {
  font-size: 0.98rem;
}

.enf-shell-quickcard span {
  color: var(--enf-shell-muted);
  font-size: 0.84rem;
}

.enf-shell-mobile-groups {
  display: grid;
  gap: 10px;
}

.enf-shell-group {
  border: 1px solid var(--enf-shell-line);
  border-radius: 18px;
  background: var(--enf-shell-surface);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 42, 34, 0.04);
}

.enf-shell-group__summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.enf-shell-group__summary::-webkit-details-marker {
  display: none;
}

.enf-shell-group__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--enf-shell-ink);
}

.enf-shell-group__intent {
  color: var(--enf-shell-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.enf-shell-group__description {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--enf-shell-muted);
  font-size: 0.92rem;
}

.enf-shell-group__links {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--enf-shell-line);
}

.enf-shell-link--child {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  background: var(--enf-shell-surface);
  color: var(--enf-shell-ink);
  font-weight: 600;
}

.enf-shell-link--child.is-current {
  color: var(--enf-shell-accent-strong);
  background: #edf5f1;
}

.enf-shell-footer {
  margin-top: 48px;
  padding: 42px 0 24px;
  background: #123328;
  color: #f5fbf8;
}

.enf-shell-footer__wrap {
  display: grid;
  gap: 28px;
}

.enf-shell-footer__intro {
  max-width: 720px;
}

.enf-shell-footer__brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.enf-shell-footer__copy,
.enf-shell-footer__note,
.enf-shell-footer__bottom p {
  margin: 0;
  color: rgba(245, 251, 248, 0.82);
}

.enf-shell-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.enf-shell-footer__section {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.enf-shell-footer__section h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
}

.enf-shell-footer__links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enf-shell-footer__links .enf-shell-link--child {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: rgba(245, 251, 248, 0.88);
}

.enf-shell-footer__links .enf-shell-link--child:hover,
.enf-shell-footer__links .enf-shell-link--child:focus-visible {
  color: #ffffff;
}

.enf-shell-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.enf-shell-menu-open {
  overflow: hidden;
}

.enf-single {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 10px;
  color: var(--enf-shell-ink);
}

.enf-single a {
  color: var(--enf-shell-accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.enf-single-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--enf-shell-muted);
  font-size: 0.92rem;
}

.enf-single-breadcrumbs a {
  color: var(--enf-shell-muted);
  text-decoration: none;
}

.enf-single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
}

.enf-single-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  box-shadow: var(--enf-shell-shadow);
}

.enf-single-kicker {
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--enf-shell-accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.enf-single-title {
  max-width: 860px;
  margin: 0;
  color: var(--enf-shell-ink);
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.enf-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--enf-shell-muted);
  font-size: 0.94rem;
}

.enf-single-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5f1;
}

.enf-single-hero__media {
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe7e2;
}

.enf-single-hero__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.enf-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 300px);
  gap: 34px;
  align-items: start;
}

.enf-single-content {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
}

.enf-single-content > *:first-child {
  margin-top: 0;
}

.enf-single-content p,
.enf-single-content li {
  color: #46534e;
  font-size: 1.08rem;
  line-height: 1.78;
}

.enf-single-content h2,
.enf-single-content h3,
.enf-single-content h4 {
  color: var(--enf-shell-ink);
  letter-spacing: 0;
}

.enf-single-content h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.18;
}

.enf-single-content h3 {
  margin: 1.7em 0 0.6em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.22;
}

.enf-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.enf-single-content figure {
  margin: 28px 0;
}

.enf-single-content figcaption,
.enf-single-content .wp-caption-text {
  margin-top: 7px;
  color: #7a8781;
  font-size: 0.78rem;
  line-height: 1.45;
}

.enf-single-content figcaption a,
.enf-single-content .wp-caption-text a {
  color: #607069;
  font-weight: 600;
}

.enf-single-content iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 8px;
}

.enf-single-content .enfurgo-map-frame,
.enf-single-content .wp-block-embed,
.enf-single-content .wp-block-embed__wrapper {
  max-width: 100%;
  overflow: hidden;
}

.enf-single-content .enfurgo-map-frame iframe,
.enf-single-content .wp-block-embed iframe,
.enf-single-content .wp-block-embed__wrapper iframe {
  width: 100% !important;
}

.enf-single-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.enf-single-content th,
.enf-single-content td {
  padding: 10px;
  border: 1px solid var(--enf-shell-line);
}

.enf-single-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.enf-single-panel {
  padding: 18px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
}

.enf-single-panel h2 {
  margin: 0 0 12px;
  color: var(--enf-shell-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.enf-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.enf-single-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf5f1;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.enf-single-resource-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enf-single-resource-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--enf-shell-line);
  text-decoration: none;
  font-weight: 700;
}

.enf-single-related,
.enf-single-post-nav,
.enf-single-comments {
  margin-top: 34px;
}

.enf-single-related__head h2 {
  margin: 0 0 16px;
  color: var(--enf-shell-ink);
  font-size: 1.45rem;
}

.enf-single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.enf-single-related-card {
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  color: var(--enf-shell-ink);
  text-decoration: none;
}

.enf-single-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.enf-single-related-card span {
  display: block;
  padding: 14px;
  color: var(--enf-shell-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.enf-single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enf-single-post-nav a {
  display: block;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  text-decoration: none;
}

.enf-single-post-nav span {
  display: block;
  margin-bottom: 6px;
  color: var(--enf-shell-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.enf-single-post-nav strong {
  color: var(--enf-shell-ink);
  line-height: 1.25;
}

.enf-single-post-nav__item--next {
  text-align: right;
}

.enf-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 10px;
  color: var(--enf-shell-ink);
}

.enf-page,
.enf-page * {
  box-sizing: border-box;
}

.enf-page-hero {
  margin-bottom: 24px;
  padding: 34px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  box-shadow: var(--enf-shell-shadow);
}

.enf-page-title {
  max-width: 820px;
  margin: 0;
  color: var(--enf-shell-ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.enf-page-intro {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--enf-shell-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.enf-page-content {
  max-width: 100%;
  padding: 30px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  overflow-wrap: anywhere;
}

.enf-page-content > * {
  max-width: 100%;
}

.enf-blog-hero {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto 28px;
  padding: 34px;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: var(--enf-shell-surface);
  box-shadow: var(--enf-shell-shadow);
}

.enf-blog-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--enf-shell-ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.enf-blog-hero p:last-child {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--enf-shell-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.enf-blog-loop {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.enf-page-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid #bdd9cd;
  border-radius: 8px;
  background: #eaf4ef;
}

.enf-page-cta h2 {
  margin: 0;
  color: var(--enf-shell-ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.enf-page-cta p {
  margin: 8px 0 0;
  color: var(--enf-shell-muted);
}

.enf-page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.enf-page-cta__primary,
.enf-page-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--enf-shell-accent-strong);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.enf-page-cta__primary {
  background: var(--enf-shell-accent-strong);
  color: #fff;
}

.enf-page-cta__secondary {
  background: #fff;
  color: var(--enf-shell-accent-strong);
}

.enf-page-content > *:first-child {
  margin-top: 0;
}

.enf-page-content h2 {
  margin: 0 0 22px;
  color: var(--enf-shell-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.18;
}

.enf-page-content h3,
.enf-page-content h4 {
  margin: 28px 0 10px;
  color: var(--enf-shell-ink);
  letter-spacing: 0;
}

.enf-page-content h4 {
  padding-top: 18px;
  border-top: 1px solid var(--enf-shell-line);
  font-size: 1.15rem;
  line-height: 1.28;
}

.enf-page-content h4 a {
  color: var(--enf-shell-ink);
  text-decoration: none;
}

.enf-page-content p,
.enf-page-content li {
  color: #46534e;
  font-size: 1.04rem;
  line-height: 1.75;
}

.enf-page-content a {
  color: var(--enf-shell-accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.enf-page-content img,
.enf-page-content svg {
  max-width: 100%;
  height: auto;
}

.enf-page-content img {
  border-radius: 8px;
}

.enf-page-content ul,
.enf-page-content ol {
  padding-left: 1.2rem;
}

.enf-page-content [role="button"],
.enf-page-content a[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 8px 8px 0;
  padding: 9px 13px;
  border: 1px solid var(--enf-shell-accent-strong);
  border-radius: 8px;
  background: var(--enf-shell-accent-strong);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.enf-page-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.enf-page-latest-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--enf-shell-line);
  border-radius: 8px;
  background: #f8fbf9;
  color: var(--enf-shell-ink);
  text-decoration: none;
}

.enf-page-latest-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  object-fit: cover;
}

.enf-page-latest-card__title,
.enf-page-latest-card__excerpt {
  display: block;
  padding: 0 14px;
}

.enf-page-latest-card__title {
  color: var(--enf-shell-ink);
  font-weight: 800;
  line-height: 1.28;
}

.enf-page-latest-card__excerpt {
  padding-bottom: 14px;
  color: var(--enf-shell-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .enf-shell-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .enf-shell-desktop-nav {
    display: none;
  }

  .enf-shell-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .enf-shell-header__meta {
    display: none;
  }

  .enf-shell-mobile-panel.is-open {
    display: block;
  }

  .enf-shell-mobile-state:checked ~ .enf-shell-mobile-panel {
    display: block;
  }

  .enf-shell-quickgrid {
    grid-template-columns: 1fr;
  }

  .enf-shell-footer__grid {
    grid-template-columns: 1fr;
  }

  .enf-single {
    padding-top: 24px;
  }

  .enf-single-hero,
  .enf-single-layout {
    grid-template-columns: 1fr;
  }

  .enf-single-hero__text,
  .enf-single-hero__media,
  .enf-single-hero__image {
    min-height: 0;
  }

  .enf-single-aside {
    position: static;
  }

  .enf-single-related__grid,
  .enf-page-latest-posts,
  .enf-single-post-nav {
    grid-template-columns: 1fr;
  }

  .enf-single-post-nav__item--next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .enf-shell-wrap {
    width: min(100% - 24px, 100%);
  }

  .enf-shell-header__bar {
    min-height: 70px;
    gap: 12px;
  }

  .enf-shell-brand__tagline {
    font-size: 0.84rem;
  }

  .enf-shell-group__summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .enf-shell-footer {
    margin-top: 36px;
    padding-top: 34px;
  }

  .enf-single {
    width: min(100% - 24px, 100%);
    padding-top: 18px;
  }

  .enf-single-hero {
    gap: 14px;
    margin-bottom: 18px;
  }

  .enf-single-hero__text,
  .enf-single-content {
    padding: 20px 16px;
  }

  .enf-single-title {
    font-size: 2rem;
  }

  .enf-single-content p,
  .enf-single-content li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .enf-page {
    width: min(100% - 24px, 100%);
    padding-top: 18px;
  }

  .enf-page-hero,
  .enf-page-cta,
  .enf-page-content {
    padding: 20px 16px;
  }

  .enf-page-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .enf-page-title {
    font-size: 2rem;
  }

  .enf-page-content p,
  .enf-page-content li {
    font-size: 1rem;
    line-height: 1.7;
  }
}
