
.whitemenu.menu-container { background: #fff; border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; padding: 0 !important; margin: 0 0 24px; }
.whitemenu .accordion, .whitemenu .accordion li { margin: 0 !important; padding: 0 !important; list-style: none; background: none !important; }
.whitemenu .accordion > li + li { border-top: 1px solid #eeeeee !important; }
.whitemenu .accordion a {
  display: block; padding: 14px 18px 14px 16px !important; margin: 0 !important;
  font-size: 16px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important;
  color: #1c1c1c !important; background: none !important; border: 0 !important; border-left: 4px solid transparent !important;
  border-radius: 0 !important; text-decoration: none !important; transition: background-color .15s, border-color .15s;
}
.whitemenu .accordion a:hover { background: #f6f8ec !important; color: #4f5725 !important; }
.whitemenu .accordion a:focus-visible { outline: 3px solid #e1e6bf; outline-offset: -3px; }
.whitemenu .accordion li.active { background: none !important; }
.whitemenu .accordion li.active > a, .whitemenu .accordion a.active-sub {
  border-left-color: #636d2f !important; color: #4f5725 !important; font-weight: 700 !important; background: #fbfcf7 !important;
}
/* subcategoriile si articolele fixate: indentate, text mai mic */
.whitemenu .accordion li ul { border-top: 1px solid #eeeeee; }
.whitemenu .accordion li ul a, .whitemenu .accordion a.p-l-30 { padding-left: 32px !important; font-size: 15px !important; font-weight: 400 !important; }

/* butonul de pe mobil care deschide submeniul: ca un rand de navigare, nu ca buton verde mare */
#page-content .btn.btn-showhidecateg, .btn.btn-showhidecateg {
  background: #fff !important; color: #1c1c1c !important; border: 1px solid #e3e3e3 !important; border-radius: 12px !important;
  font-size: 16px !important; font-weight: 600 !important; text-transform: none !important; text-align: left !important;
  padding: 14px 44px 14px 16px !important; margin: 0 0 12px !important; box-shadow: none !important; position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23636d2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important;
}

/* ---------- pagina de sectiune (lista subpaginilor) ---------- */
#page-content.background-grey { background: #fff !important; }
#page-content .title-page { color: #1c1c1c !important; font-size: 34px !important; line-height: 1.2 !important; font-weight: 700 !important; margin: 8px 0 20px !important; }
.map-box-style { row-gap: 16px; }
.map-box-style > [class*="col-"] { display: flex; }
.map-box-style .card {
  position: relative; width: 100%; margin: 0 !important; background: #fff; border: 1px solid #e3e3e3 !important; border-radius: 12px !important;
  box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.map-box-style .card:hover { border-color: #636d2f !important; box-shadow: 0 4px 16px rgba(99, 109, 47, .12) !important; }
.map-box-style .card-body { padding: 18px 20px !important; }
.map-box-style .list-icon { padding: 0 !important; margin: 0 !important; }
.map-box-style .list-icon > li { padding-left: 0 !important; }
.map-box-style .list-icon > li::before, .map-box-style .list-icon > li > i { display: none !important; }
.map-box-style .card-title { margin: 0 !important; font-size: 18px !important; line-height: 1.35 !important; font-weight: 600 !important; }
#page-content .map-box-style .card-title a, .map-box-style .card-title a {
  display: block; padding-right: 28px; color: #1c1c1c !important; text-decoration: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23636d2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 5 5 5-5 5'/%3E%3C/svg%3E") no-repeat right center;
}
#page-content .map-box-style .card:hover .card-title a { color: #4f5725 !important; }
/* tot cardul se poate apasa, cand nu are sublinkuri proprii */
.map-box-style .card:not(:has(.marginlinks)) .card-title a::after { content: ""; position: absolute; inset: 0; }
.map-box-style .card-text, .map-box-style .color-cccccc { display: block; margin-top: 6px; color: #545454 !important; font-size: 15px; }
.map-box-style .marginlinks { margin: 10px 0 0 !important; padding: 0 !important; }
.map-box-style .marginlinks li { padding: 4px 0 !important; }
#page-content .map-box-style .marginlinks .card-link { color: #4f5725 !important; }

/* ---------- pagina simpla: titlu, text, meta ---------- */
.single-post .post-item-description > h2 { font-size: 32px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #1c1c1c !important; margin: 0 0 12px !important; }
.single-post .base-content, .single-post .page-content {
   font-size: 17px; line-height: 1.65; color: #1c1c1c; text-align: left !important;
}
.single-post .base-content p, .single-post .base-content li { text-align: left !important; }
.single-post .base-content h2 { font-size: 26px !important; line-height: 1.25 !important; margin: 32px 0 12px !important; font-weight: 700 !important; }
.single-post .base-content h3 { font-size: 21px !important; line-height: 1.3 !important; margin: 24px 0 8px !important; font-weight: 600 !important; }
.single-post .base-content p { margin: 0 0 14px; }

.single-post .base-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.single-post .base-content table th, .single-post .base-content table td { border: 1px solid #e3e3e3; padding: 8px 10px; vertical-align: top; }
.single-post .base-content table th { background: #f6f8ec; font-weight: 600; }

/* ---------- acordeonul (pages/accordion_simple: .header-block + .content-block, clasa .opened din custom.js) ---------- */
.header-block {
  position: relative; margin: 8px 0 0; padding: 16px 48px 16px 18px; background: #fff; border: 1px solid #e3e3e3; border-radius: 12px;
  font-size: 18px; font-weight: 600; line-height: 1.35; color: #1c1c1c; cursor: pointer; transition: border-color .15s;
}
.header-block::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23636d2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat center;
}
.header-block:hover { border-color: #636d2f; }
.header-block.opened { border-color: #636d2f; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.header-block.opened::after { transform: rotate(180deg); }
.header-block + .content-block { padding: 16px 18px; border: 1px solid #636d2f; border-top: 0; border-radius: 0 0 12px 12px; font-size: 17px; line-height: 1.65; }

/* ---------- taburile (pages/simple_tabset: .nav-tabs bootstrap), ca taburile din profilul GAL ---------- */
#page-content .nav-tabs { border-bottom: 1px solid #e3e3e3 !important; gap: 4px; flex-wrap: nowrap; overflow-x: auto; }
#page-content .nav-tabs .nav-link {
  border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; background: none !important;
  padding: 14px 18px 11px !important; font-size: 16px; font-weight: 500; color: #3c3c3c !important; white-space: nowrap;
}
#page-content .nav-tabs .nav-link:hover { color: #4f5725 !important; }
#page-content .nav-tabs .nav-link.active { color: #4f5725 !important; border-bottom-color: #636d2f !important; font-weight: 600; }
#page-content .tab-content { padding-top: 20px; }

/* ---------- firul de navigare ---------- */
.breadcrumb { background: none !important; padding: 20px 0 0 0 !important; }

@media (max-width: 767px) {
  #page-content .title-page { font-size: 26px !important; }
  .single-post .post-item-description > h2 { font-size: 26px !important; }
  .single-post .base-content, .single-post .page-content { font-size: 16px; }
}

/* date deschise: descarcarea hartilor in GeoJSON / KML (Harta GAL, Proiecte, profilul GAL) */
.dd-export { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.dd-export__t { flex-basis: 100%; font-size: 15px; color: #545454; }
.dd-export a, .dd-export button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #c9cfa6; border-radius: 999px;
  background: #fff; color: #4f5725 !important; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none !important; cursor: pointer; }
.dd-export a:hover, .dd-export button:hover { background: #f6f8ec; border-color: #7f8d36; }
.dd-export button:disabled { opacity: .45; cursor: default; background: #fff; }
.dd-export svg { width: 14px; height: 14px; }
