/* HartaMediu 2.19-r16 - navigare, cautare si cataloage de biodiversitate */
.hm1540-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Header public: navigare mai scurta si cautare locala. */
.site-header.hm1540-header{
    display:grid!important;
    grid-template-columns:auto minmax(520px,1fr) minmax(250px,340px) auto!important;
    gap:12px 18px!important;
    align-items:center!important;
    min-height:66px!important;
    padding:8px 18px!important;
    overflow:visible!important;
}
.hm1540-header .hm-v155-nav{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    overflow:visible!important;
}
.hm1540-header .hm-v155-nav a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:0 10px!important;
    border-radius:12px!important;
    color:#53665f!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:1.15!important;
    text-decoration:none!important;
    white-space:nowrap!important;
}
.hm1540-header .hm-v155-nav a:hover,
.hm1540-header .hm-v155-nav a:focus-visible{color:#0e5b49!important;background:#f1f7f5!important;outline:none!important}
.hm1540-header .hm-v155-nav a.is-active,
.hm1540-header .hm-v155-nav a[aria-current="page"]{
    color:#064f3f!important;
    background:#fff!important;
    box-shadow:0 4px 15px rgba(10,62,50,.10)!important;
}
.hm1540-header .hm-v155-nav a.is-active::after,
.hm1540-header .hm-v155-nav a[aria-current="page"]::after{
    content:"";position:absolute;left:50%;bottom:5px;width:22px;height:2px;border-radius:2px;background:#15806a;transform:translateX(-50%)
}

.hm1540-header-search{position:relative;min-width:0;width:100%;z-index:1600}
.hm1540-header-search>label{
    display:grid!important;
    grid-template-columns:18px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    height:44px!important;
    margin:0!important;
    padding:0 5px 0 12px!important;
    border:1px solid #c9dbd5!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 2px 10px rgba(12,59,49,.04)!important;
}
.hm1540-header-search svg{width:18px;height:18px;fill:none;stroke:#1c6b57;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hm1540-header-search input{
    width:100%!important;min-width:0!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:#16362e!important;font-family:inherit!important;font-size:12.5px!important;font-weight:500!important;line-height:1.2!important;box-shadow:none!important
}
.hm1540-header-search input::placeholder{color:#7b8a85;opacity:1}
.hm1540-header-search button{
    height:34px!important;margin:0!important;padding:0 11px!important;border:0!important;border-radius:9px!important;background:#0a5747!important;color:#fff!important;font-family:inherit!important;font-size:11.5px!important;font-weight:600!important;line-height:1!important;cursor:pointer!important
}
.hm1540-header-search:focus-within>label{border-color:#56a48f!important;box-shadow:0 0 0 3px rgba(39,132,105,.12)!important}
.hm1540-search-results{
    position:absolute;top:calc(100% + 7px);left:0;right:0;max-height:min(58vh,430px);overflow:auto;padding:7px;border:1px solid #d2e1dc;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(11,58,47,.18)
}
.hm1540-search-results[hidden]{display:none!important}
.hm1540-search-result{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;padding:10px 11px;border-radius:10px;color:#183d34;text-decoration:none}
.hm1540-search-result:hover,.hm1540-search-result:focus-visible,.hm1540-search-result.is-active{background:#edf6f3;outline:none}
.hm1540-search-type{grid-row:1/3;align-self:start;display:inline-flex;margin-top:1px;padding:3px 6px;border-radius:7px;background:#e2f1ec;color:#17624f;font-size:8.5px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.hm1540-search-result strong{font-size:12.5px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.hm1540-search-result small{color:#6a7c75;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}
.hm1540-search-empty{padding:15px;color:#687b74;font-size:12px;line-height:1.5}

/* Corectii catalog: hero lizibil si carduri cu spatiu real. */
.seo-guide-page .seo-article>.seo-hero,
.seo-guide-page .guide-article>.guide-hero{
    display:block!important;
    min-height:0!important;
    margin:0 0 22px!important;
    padding:34px 36px!important;
    border:0!important;
    border-radius:22px!important;
    background:linear-gradient(135deg,#103f35 0%,#176b57 100%)!important;
    color:#fff!important;
    box-shadow:0 13px 34px rgba(13,61,50,.14)!important;
}
.seo-guide-page .seo-hero .guide-kicker,
.seo-guide-page .seo-hero>span{display:block!important;color:#bfe7db!important;font-size:10px!important;font-weight:750!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.seo-guide-page .seo-hero h1{display:block!important;margin:8px 0 10px!important;color:#fff!important;font-size:clamp(30px,4.5vw,48px)!important;line-height:1.06!important;letter-spacing:-.035em!important}
.seo-guide-page .seo-hero p{display:block!important;margin:0!important;max-width:760px!important;color:rgba(255,255,255,.84)!important;font-size:15px!important;line-height:1.62!important}
.seo-guide-page .guide-article>section{margin-top:20px!important}
.hm1539-overview{display:grid!important;gap:19px!important}
.hm1539-stat-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:15px!important;
    margin:0!important;
}
.hm1539-stat-grid>.guide-card{
    display:flex!important;flex-direction:column!important;gap:9px!important;min-height:126px!important;margin:0!important;padding:20px!important;border:1px solid #dce8e4!important;border-radius:15px!important;background:#fbfdfc!important;box-shadow:none!important
}
.hm1539-stat-grid>.guide-card strong{margin:0!important;color:#09654f!important;font-size:21px!important;line-height:1.2!important;font-weight:700!important;overflow-wrap:anywhere}
.hm1539-stat-grid>.guide-card p{margin:0!important;color:#64766f!important;font-size:12.5px!important;line-height:1.55!important}
.hm1539-access-links{gap:15px!important;margin-top:0!important}
.hm1539-directory,.hm1539-uat-section{gap:22px!important}
.hm1539-letter-groups,.hm1539-county-groups{gap:18px!important}
.hm1539-letter-group{margin:0!important}
.hm1539-site-grid{gap:11px!important}
.hm1540-catalog-switch{display:flex;flex-wrap:wrap;gap:9px;margin-top:3px}
.hm1540-catalog-switch a{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #cfe0da;border-radius:10px;background:#fff;color:#175e4c;text-decoration:none;font-size:11.5px;font-weight:620}
.hm1540-catalog-switch a:hover,.hm1540-catalog-switch a:focus-visible{border-color:#75aa9a;background:#f2f8f6;outline:none}
.hm1540-protected-link{color:#165f4d!important;text-decoration:underline!important;text-decoration-color:#99bfb3!important;text-underline-offset:3px!important}

/* Pagina completa de cautare. */
.hm1540-search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.hm1540-search-page-form input{height:50px;padding:0 15px;border:1px solid #bcd3cb;border-radius:12px;background:#fff;color:#142f28;font-family:inherit;font-size:15px;font-weight:500;line-height:1.2;outline:none}
.hm1540-search-page-form input:focus{border-color:#318b72;box-shadow:0 0 0 3px rgba(49,139,114,.12)}
.hm1540-search-page-form button{min-width:110px;border:0;border-radius:12px;background:#0b5a49;color:#fff;font-family:inherit;font-size:13px;font-weight:650;line-height:1;cursor:pointer}
.hm1540-search-page-results{display:grid;gap:10px;margin-top:20px}
.hm1540-search-page-results a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 13px;padding:15px 16px;border:1px solid #dce8e4;border-radius:13px;background:#fff;color:#173d33;text-decoration:none}
.hm1540-search-page-results a:hover,.hm1540-search-page-results a:focus-visible{border-color:#78ab9b;background:#f7fbf9;outline:none}
.hm1540-search-page-results .hm1540-search-type{grid-row:1/3}
.hm1540-search-page-results strong{font-size:14px;line-height:1.35}
.hm1540-search-page-results small{color:#6a7b75;font-size:12px;line-height:1.45}

/* Footer: ghidurile si functionarea sunt mutate aici. */
.hm1540-footer-related{margin-top:14px!important;padding-top:13px!important;border-top:1px solid rgba(255,255,255,.12)!important}

@media(max-width:1480px){
    .site-header.hm1540-header{grid-template-columns:auto minmax(470px,1fr) auto!important;grid-template-areas:"brand nav tools" "search search search"!important;padding-bottom:11px!important}
    .hm1540-header>.hm-v155-brand{grid-area:brand!important;min-width:0!important}
    .hm1540-header>.hm-v155-nav{grid-area:nav!important}
    .hm1540-header>.hm1540-header-search{grid-area:search!important;justify-self:center;width:min(680px,100%)}
    .hm1540-header>.hm-v155-tools{grid-area:tools!important}
}
@media(max-width:1000px){
    .site-header.hm1540-header{grid-template-columns:auto 1fr auto!important;grid-template-areas:"brand tools tools" "nav nav nav" "search search search"!important;gap:8px 12px!important}
    .hm1540-header .hm-v155-nav{justify-content:flex-start!important;overflow-x:auto!important;padding:2px 0 4px!important;scrollbar-width:thin}
    .hm1540-header .hm-v155-nav a{flex:0 0 auto!important}
    .hm1539-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
    .site-header.hm1540-header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand tools" "search search" "nav nav"!important;padding:8px 11px 10px!important}
    .hm1540-header-search>label{height:42px!important}
    .hm1540-header-search button{display:none!important}
    .hm1540-header .hm-v155-nav a{min-height:38px!important;padding:0 9px!important;font-size:11.5px!important}
    .seo-guide-page .seo-article>.seo-hero,.seo-guide-page .guide-article>.guide-hero{padding:27px 23px!important;border-radius:18px!important}
    .hm1539-stat-grid{grid-template-columns:1fr!important;gap:12px!important}
    .hm1539-stat-grid>.guide-card{min-height:0!important;padding:17px!important}
    .hm1540-search-page-form{grid-template-columns:1fr}
    .hm1540-search-page-form button{height:46px}
}

/* Meniul vechi mobil nu dubleaza navigarea orizontala din noul header. */
.hm1540-header .hm158-menu-toggle{display:none!important}

/* Instrumente: navigarea ramane in container la latimi intermediare. */
.hm1540-header .hm-v155-nav{flex-wrap:wrap!important}

.site-header.hm1540-header.hm-v155-header{height:auto!important}
