body { background-color: #F6FAEB !important; }
.main-content { background-color: #F6FAEB !important; }
.slideout { background-color: #F6FAEB !important; }
.header-top-highlighted { background-color: #719759 !important; }
.header-top { background-color: transparent !important; }
header.header { background-color: #D4E1B6 !important; }
.banner { background-color: #90ad61 !important; }
.content-top { background-color: #edf4ed !important; }
.content-top-highlighted { background-color: #dceadc !important; }
.system-messages { background-color: #90ad61 !important; }
.main-content { background-color: transparent !important; }
.content-bottom-first { background-color: #000000 !important; }
.content-bottom-second { background-color: #000000 !important; }
.featured-top { background-color: #e8f2e8 !important; }
.featured { background-color: #3a5c3a !important; }
.featured-bottom { background-color: #e8f2e8 !important; }
.sub-featured { background-color: #000000 !important; }
.highlighted-top { background-color: #000000 !important; }
.highlighted { background-color: #dceadc !important; }
.footer-top-first { background-color: #d4e1b6 !important; }
.footer-top-second { background-color: #d4e1b6 !important; }
.footer-first { background-color: #d4e1b6 !important; }
.footer-second { background-color: #d4e1b6 !important; }
.footer-third { background-color: #d4e1b6 !important; }
.footer-fourth { background-color: #719759 !important; }
.footer-fifth { background-color: #d4e1b6 !important; }
.footer-bottom { background-color: #90ad61 !important; }
footer.footer { background-color: #d4e1b6 !important; }
.subfooter { background-color: #d4e1b6 !important; }
.subfooter-first { background-color: #d4e1b6 !important; }
.subfooter-second { background-color: #d4e1b6 !important; }
a { color: #4d754a !important; }
a:hover, a:focus { color: #000000 !important; }
body { color: #000000 !important; }
h1 { color: #000000 !important; }
h2 { color: #000000 !important; }
h3 { color: #000000 !important; }
h4, h5, h6 { color: #000000 !important; }
.btn, button, input[type="submit"] { background-color: #90ad61 !important; }
.btn, button, input[type="submit"] { color: #e8f1cc !important; }
.btn:hover, button:hover, input[type="submit"]:hover { background-color: #719759 !important; }

/* BeON Search Results List Styling */
.view-display-id-page_search .views-row {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  grid-template-rows: auto auto !important;
  grid-column-gap: 25px !important;
  align-content: center !important;
  padding: 15px !important;
  border: 1px solid #e9e9e9 !important;
  margin-bottom: 15px !important;
  background: #ffffff !important;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  width: 100% !important;
}

.view-display-id-page_search .views-row .views-field-field-fotografijos-byla {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 4px;
}

.view-display-id-page_search .views-row .views-field-field-fotografijos-byla img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-display-id-page_search .views-row .views-field-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end !important;
  justify-self: start !important;
  text-align: left !important;
  padding-bottom: 5px;
  margin: 0 !important;
}

.view-display-id-page_search .views-row .beon-search-result-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #5d754f; /* Greenish link tint */
  text-decoration: none;
  font-family: inherit;
  display: block;
  text-align: left !important;
  margin: 0 !important;
}

.view-display-id-page_search .views-row .beon-search-result-title:hover {
  text-decoration: underline;
}

.view-display-id-page_search .views-row .views-field-created {
  grid-column: 2;
  grid-row: 2;
  align-self: start !important;
  justify-self: start !important;
  text-align: left !important;
  font-size: 0.85rem;
  color: #777;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.view-display-id-page_search .views-row .views-field-created i {
  margin-right: 5px;
  opacity: 0.7;
}

/* Adjust the container width if it's too narrow */
.view-display-id-page_search {
  max-width: 1200px;
  margin: 0 auto;
}
.sidebar__section .block {
    margin: 20px 5px 5px 5px;
}

.l__column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 100% !important;
 word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.beonelement-style {
    display: flex;
    flex-direction: row;
    gap: 15px;
    background: transparent;
    padding: 0;
    margin: 25px 20px 20px 20px;
    max-width: 100% !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* --- BeON Share Horizont Responsive Fix --- */

/* Leidžiame elementams (tekstui ir ikonoms) peršokti į kitą eilutę, kai trūksta vietos */
.share-horizont {
    margin: 0 0 0 5px !important;
    flex-wrap: wrap !important; 
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Panaikiname 'nowrap' draudimą ir leidžiame tekstui gražiai lūžti */
.share-horizont .share-node-title {
    white-space: normal !important; 
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important; /* Kad eilutės per daug nesusiklijuotų lūžus tekstui */
}

/* --- Sutvarkome mobiliosios navigacijos bloko „vogtus“ paspaudimus --- */
@media (max-width: 991px) {
    /* Padarome patį išsiplėtusį bloką "kiaurą" paspaudimams */
    .region-header-third,
    .main-navigation-block {
        pointer-events: none !important;
    }
    
    /* Sugrąžiname paspaudimų fiksavimą TIK realiems, interaktyviems elementams */
    .main-navigation-block ul,
    .main-navigation-block li,
    .main-navigation-block a,
    .main-navigation-block button,
    .main-navigation-block span,
    .main-navigation-block .navbar-toggler,
    .main-navigation-block .menu-toggle {
        pointer-events: auto !important;
    }
}
/* --- Mobilaus meniu rėmų pralaidumas paspaudimams --- */
@media (max-width: 991px) {
    /* Paverčiame "kiaurais" visus didelius ir uždengiančius rėmus aplink meniu */
    .region-wrap-header-third,
    .header__section.header-third,
    .region-header-third,
    .main-navigation-block {
        pointer-events: none !important;
    }
    
    /* Sugrąžiname fiksavimą TIESIAI pačiam mėsainio mygtukui ir atidarytam nuorodų konteineriui */
    .mobile-menu-toggle,
    .menu-content-wrapper,
    .menu-content-wrapper * {
        pointer-events: auto !important;
    }
}
@media (max-width: 991px) {
    /* 1. VISUS galimai uždengiančius viršutinio bloko rėmus padarome "kiaurus" paspaudimams */
    .site-header,
    .header__container,
    .region-wrap-header-first,
    .region-wrap-header-third,
    .header__section {
        pointer-events: none !important;
    }
    
    /* Sugrąžiname paspaudimus tik TIKRIEMS meniu mygtukams, nuorodoms ir ikonoms */
    .site-header a,
    .site-header button,
    .site-header input,
    .site-header .mobile-menu-toggle {
        pointer-events: auto !important;
    }

    /* 2. Sutvarkome Breadcrumbs taip, kad juos būtų patogu spausti pirštu */
    .block-system-breadcrumb-block {
        margin-top: 30px !important; /* Švelniai atitraukiame */
        position: relative !important;
        z-index: 9999 !important; /* Garantuotai iškeliame į patį priekį */
        pointer-events: auto !important;
    }

    /* Išplečiame nuorodų paspaudimo plotą telefonuose */
    .block-system-breadcrumb-block a {
        padding: 5px 8px !important;
        display: inline-block !important;
    }
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Tai sukuria 16:9 proporciją */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

li.pager__item {
  padding: 0;
  margin: 0 0 20px 0;
  display: inline-grid;
}.logo img, .site-branding__logo img, header .logo img, .header-container .logo img { height: 140px !important; width: auto !important; max-height: none !important; }
.header-container ul.menu li a { background-color: #90ad61 !important; color: #000000 !important; }
.header-container ul.menu li a:hover { background-color: #719759 !important; color: #ffffff !important; }
.header-container ul.menu li a.is-active, .header-container ul.menu li a.active, .header-container ul.menu li.is-active > a, .header-container ul.menu li.active > a, .header-container ul.menu li.active-trail > a, .header-container ul.menu li.menu-item--active-trail > a { background-color: #719759 !important; color: #ffffff !important; }
.region-slideout, .slideout { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: right !important; }
.region-slideout, .slideout > * { width: 100% !important; }
.region-header-logo, .header-logo { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: left !important; }
.region-header-logo, .header-logo > * { width: 100% !important; }
.region-header-logo, .header-logo { height: 100 !important; color: #000000 !important;  }
.region-header-top-highlighted-first, .header-top-highlighted-first { color: #000000 !important;  }
.region-header-top-highlighted-second, .header-top-highlighted-second { color: #000000 !important;  }
.region-header-top-first, .header-top-first { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: center !important; }
.region-header-top-first, .header-top-first > * { width: 100% !important; }
.region-wrap-header-top-first { flex: 0 0 100 !important; max-width: 100 !important; width: 100 !important; }
.region-header-top-first, .header-top-first { width: 100 !important; height: 50 !important; color: #000000 !important;  }
.region-header-top-second, .header-top-second { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: right !important; }
.region-header-top-second, .header-top-second > * { width: 100% !important; }
.region-wrap-header-top-second { flex: 0 0 100 !important; max-width: 100 !important; width: 100 !important; }
.region-header-top-second, .header-top-second { width: 100 !important; height: 50 !important; color: #000000 !important;  }
.region-header-first, .header-first { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: right !important; }
.region-header-first, .header-first > * { width: 100% !important; }
.region-wrap-header-first { flex: 0 0 20 !important; max-width: 20 !important; width: 20 !important; }
.region-header-first, .header-first { width: 20 !important; height: 80 !important; color: #000000 !important;  }
.region-header, .header { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: center !important; }
.region-header, .header > * { width: 100% !important; }
.region-header, .header { height: 110px !important; padding-bottom: 10px !important;  }
.region-header-third, .header-third { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: left !important; }
.region-header-third, .header-third > * { width: 100% !important; }
.region-wrap-header-third { flex: 0 0 70 !important; max-width: 70 !important; width: 70 !important; }
.region-header-third, .header-third { width: 70 !important; height: 130 !important; color: #000000 !important;  }
.region-banner, .banner { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: center !important; justify-content: center !important; }
.region-banner, .banner > * { width: 100% !important; }
.region-wrap-banner { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
.region-banner, .banner { width: 100% !important; height: 100% !important; padding-top: 10px !important; color: #179311 !important;  }
.region-system-messages, .system-messages { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: center !important; justify-content: center !important; }
.region-system-messages, .system-messages > * { width: 100% !important; }
.region-wrap-system-messages { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
.region-system-messages, .system-messages { width: 100% !important; margin-top: 5px !important; padding-top: 10px !important; margin-bottom: 5px !important; padding-bottom: 10px !important; color: #000000 !important;  }
.region-content-top, .content-top { color: #000000 !important;  }
.region-content-top-highlighted, .content-top-highlighted { color: #000000 !important;  }
.region-media-background-first, .media-background-first { color: #000000 !important;  }
.region-media-background-second, .media-background-second { color: #000000 !important;  }
.region-content, .content { color: #000000 !important;  }
.region-sidebar-first, .sidebar-first { color: #000000 !important;  }
.region-sidebar-second, .sidebar-second { color: #000000 !important;  }
.region-content-bottom-first, .content-bottom-first { color: #000000 !important;  }
.region-content-bottom-second, .content-bottom-second { color: #000000 !important;  }
.region-featured-top, .featured-top { color: #000000 !important;  }
.region-featured, .featured { color: #000000 !important;  }
.region-featured-bottom, .featured-bottom { color: #000000 !important;  }
.region-sub-featured, .sub-featured { color: #000000 !important;  }
.region-highlighted-top, .highlighted-top { color: #000000 !important;  }
.region-highlighted, .highlighted { color: #000000 !important;  }
.region-footer-top-first, .footer-top-first { color: #000000 !important;  }
.region-footer-top-second, .footer-top-second { color: #000000 !important;  }
.region-footer-first, .footer-first { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: left !important; justify-content: center !important; }
.region-footer-first, .footer-first > * { width: 100% !important; }
.region-footer-first, .footer-first { color: #000000 !important;  }
.region-footer-second, .footer-second { color: #000000 !important;  }
.region-footer-third, .footer-third { color: #000000 !important;  }
.region-footer-fourth, .footer-fourth { color: #000000 !important;  }
.region-footer-fifth, .footer-fifth { display: flex !important; flex-direction: column !important; width: 100%; height: 100%; text-align: right !important; justify-content: center !important; }
.region-footer-fifth, .footer-fifth > * { width: 100% !important; }
.region-footer-fifth, .footer-fifth { color: #000000 !important;  }
.region-footer-bottom, .footer-bottom { color: #000000 !important;  }
.region-footer, .footer { padding-right: 20px !important;  }
