

body {
    border-top: 20px #398860 solid;
}

.header-navigation{
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}

#mega-menu-wrap-top .mega-menu-toggle.mega-menu-open + #mega-menu-top {
    position: absolute;
    top: 38px;
    right: 0;
    background: #398860;
    z-index: 100;

}

.header-navigation .logo {
    max-width: 222px;
    width: 100%;
    height: 100%;
    padding-top: 3.24px;
}

.header-navigation .logo img{
    width: 100%;
    height: 100%;
    max-width: 222px;
}

footer {
    border-top: 20px #398860 solid;
}

.footer-navigation{
    display: flex;
    position: relative;
    max-width: 1200px;
    align-items: center;
    margin: auto;
    height: 98px;
}

.footer-navigation .logo {
    width: 222px;
    height: 38px;
    margin-right: 30px;
}

.footer-navigation .logo img{
    width: 100%;
    height: 100%;
}

.copyrate {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 11px;
    color: #333333;
    margin-bottom: 0;
    margin-top: 50px;
}

.mobil-menu {
    display: none!important;
}

.desktop-menu {

}

.dws-menu {
    display: flex;
}

.dws-menu .menu {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
}

.dws-menu #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item {
    margin: 0 20px;
}

.dws-menu .menu .menu-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 30px;
}

.dws-menu .menu .menu-item a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;
    color: #333333;
    text-decoration: none;
    transition: 0.4s;
}

.dws-menu .menu .menu-item a:hover {
    color: #398860;
    transition: 0.4s;
}

.cstmsrch-search {
    display: flex;
    margin-left: auto;
}

.search-form {
    position: relative;
    margin-left: auto;
}

.search-form__input {
    background: rgba(57, 136, 96, 0.1);
    border-radius: 5px;
    border: none;
    height: 36px;
    padding: 10px;
    width: 100%;
}

#searchsubmit {
    position: absolute;
    border: none;
    background-color: unset;
    right: 20px;
    display: flex;
    top: 0px;
    height: 36px;
    align-items: center;
}

.search-form-2 {
    background: rgba(57, 136, 96, 0.1);
    border-radius: 5px;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 13px;
    color: #808080;
    border: none;
    padding: 10px;
    width: 345px;
}

.pagination-nav {
    margin-top: 31px;
    margin-bottom: 110px;
}

.pagination-nav .page-numbers{
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 13px;
    padding: 8px 14px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 5px;
    transition: 0.4s;
}

.pagination-nav .page-numbers:hover {
    border: 1px solid #398860;
    transition: 0.4s;
}

.pagination-nav .current{
    background: #398860;
    border-radius: 5px;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 13px;
    color: #FFFFFF;
    border: 1px solid #398860;
}

.pagination-nav .next,
.pagination-nav .prev {
    display: none;
}

/* fron page */

.home-news-slider {
    height: 420px;
    position: relative;
}


.home-top-news-background {
    height: 100%;
    transition: transform 325ms linear;
    overflow: hidden;
    display: flex;
}

.home-top-news-background:hover img{
    transform: scale(1.0);
    animation-direction: alternate;
    transition: transform 325ms linear;
}

.home-top-news-background:hover .home-top-news-info{
    background-color: #228955;
    transition: 0.4s;
}

.home-top-announcement-background {
    max-height: 230px;
}

.home-top-news-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 325ms linear;
}

.home-top-news-info {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 12px;
    background: #398860;
    backdrop-filter: blur(20px);
    border-radius: 0px 3px;
    padding: 30px;
}

.home-top-news-info h2{
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 20px;
    width: 70%;
}

.home-top-news-info p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 0;
}

.home-top-announcement-background img  {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.home-top-announcement-background:hover img {
	transform: scale(1.15);
    animation-direction: alternate;
    transition: transform 500ms linear;
    border-radius: 4px;
}


.home-announcement-block {

}

.home-announcement-block h2 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 10px
}

.home-announcement-block p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 24px;
}

.home-announcement-block span {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333; 
}

.home-announcement-block a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    text-decoration: none;
    transition: 0.4s;
    overflow: hidden;
    display: flex;
}

.home-announcement-block a:hover {
    color: #398860;
    transition: 0.4s;
}

.home-announcement-block .home-announcement-date {
    display: flex;
    justify-content: space-between;
}

.home-news-row {
    padding: 40px 0;
    margin-top: 80px;
    background: #F5F9F7;
}


@media (max-width: 768px) { 
    .home-news-row {
        padding: 40px 0;
        margin-top: 20px;
        background: #F5F9F7;
    }

}

.home-news-des {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.home-news-des h2{
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    margin-right: 40px;
    margin-bottom: 0;
}

.home-news-des a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    text-decoration: none;
    transition: 0.4s;
}

.home-news-des a:hover {
    color: #398860;
    transition: 0.4s;
}

.home-news-block {
    margin-bottom: 40px;
}

.home-news-block h3 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 10px
}

.home-news-block p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 24px;
}

.home-news-block span {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333; 
}

.home-news-block a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    transition: 0.4s;
}

.home-news-block a:hover {
    color: #398860;
    transition: 0.4s;
}

.home-news-background img  {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.home-news-background:hover img {
    transform: scale(1.15);
    animation-direction: alternate;
    transition: transform 500ms linear;
    border-radius: 4px;
}

.home-news-date {
    display: flex;
    justify-content: space-between;
}

.home-doc-row {
    margin-top: 80px;
    padding-bottom: 95px;
    border-bottom: 1px solid #398860;
}

.home-doc-des {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.home-doc-des h2{
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    margin-right: 40px;
    margin-bottom: 0;
}

.home-doc-des a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    text-decoration: none;
}

.home-doc-block {
    display: flex;
    align-items: center;
    padding: 15px;
    transition: 0.4s;
}

.home-doc-block:hover {
    background: #F5F9F7;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.4s;
}


.home-doc-block-row {
    width: 70%;
}

.home-doc-link {

}

.home-doc-link a {

}

.home-doc-link img {
    transition: 0.4s;
}

.home-doc-link:hover img {
    filter: contrast(3.5);
    transition: 0.4s;
}

.home-doc-description {
    margin-left: 22px;
    text-decoration: none;
}

.home-doc-description span {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
}

.home-doc-description p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 0;
    margin-top: 10px;
}

.report-block h2 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 0;
    margin-top: 10px;
}

.report-block p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 0;
    margin-top: 0;
}

.nav-tabs {
	border: none
}

.nav-tabs .nav-link {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;
    color: #333333;
    transition: 0.1s;
    border-width: 0 0 0 0;
    margin-right: 20px
}

.nav-tabs .nav-link:hover {
    color: #398860;
    transition: 0.1s;
}

.nav-tabs .nav-link.active {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;
    color: #398860;
    border-bottom: 2px solid #398860;
}


.home-about-us-row {
    margin-top: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #398860;
}

.home-about-us-row h2 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 40px;
}

.home-about-us-text {

}

.home-about-us-text h3 {
    margin-bottom: 40px;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #333333;
}

.home-about-us-text p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #333333;
}

.home-about-us-img {
    margin: auto;
}

.home-about-us-img img{
    width: 100%;
}

.advantages-row {
    margin-top: 80px;
}

.home-advantages-block {
    display: flex;
    padding: 0 10px;
}

.home-advantages-img {

}

.home-advantages-img img{
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.home-advantages-des h4 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;  
    color: #333333;
    margin-bottom: 21px;
}

.home-advantages-des p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #777777;
    margin-bottom: 0;
}

.home-map {
    position: relative;
}

/* .home-map-des-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 100px 30px 30px;
    gap: 30px;
    
    position: absolute;
    max-width: 537px;
    width: 100%;
    
    background: #398860;
    border-radius: 5px 5px 0px 0px;
    top: 20%;
    left: 10%;
}

.home-map-des-block h2 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 31px;
    color: #FFFFFF;
}

.home-map-des {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-map-des p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #FFFFFF;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.home-map-des p:first-child {
    width: 156px;
}

.home-map-des-text {
    display: flex;
}

.home-map-des a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    align-self: center;
    transition: 0.4s;
}

.home-map-des a:hover {
    color: #000000;
    transition: 0.4s;
} */

#container-map {
    width: 100%;
    height: 540px;
    margin-top: 80px;
}

/* NEWS PAGE */

.news-wrapper {

}

.gallery-blocks-news {
    margin-top: 40px;
}

.news-block {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-block h3 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 10px
}

.news-block p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    margin-bottom: 24px;
}

.news-block span {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333; 
}

.news-block a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
    text-decoration: none;
    overflow: hidden;
    transition: 0.4s;
}

.news-block a:hover {
    color: #398860;
    transition: 0.4s;
}

.news-background img  {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.news-background:hover img {
    transform: scale(1.15);
    animation-direction: alternate;
    transition: transform 500ms linear;
    border-radius: 4px;
}

.news-date {
    display: flex;
    justify-content: space-between;
}

.news-wrapper-title {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 40px;
}

/* Singel news */

.single-news-row {

}

.single-news-block {

}

.single-news-block span {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 0;
}

.single-news-block h1 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 40px;
}

.single-news-anons-block {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #333333;
    margin-top: 0;
    margin-bottom: 40px;
}

.single-news-content-block {

}

.single-news-content-block p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #333333;
}

.singel-news-img {
    
}

.singel-news-img img {
    width: 100%;
    height: auto;
    float: right;
    object-fit: contain;
    margin: 41px 0px 20px 30px;
}


/* ajax search */

.search-form {
    position: relative;
}

.ajax-search {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 5px;
    max-height: 230px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 100;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #424348;
    scrollbar-color: dark;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.ajax-search::-webkit-scrollbar {
    width: 6px;
    background-color: #eff2f3;
}

.ajax-search::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    border-radius: 4em;
}

.ajax-search__item {
    position: relative;
    border-top: 1px solid rgba(224, 229, 231, 0.5);
    padding: 10px 15px;
    cursor: pointer;
    list-style-type: none;
}

.ajax-search__link {
    color: var(--accent);
    line-height: 130%;
    margin-bottom: 10px;
    font-size: 13px;
    display: block;
}

.ajax-search__excerpt {
    cursor: default;
    font-size: 11px;
    line-height: 140%;
}

.ajax-search__not-found {
    font-size: 12px;
}

.search-wrapper {

}

.search-container {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 2px solid #398860;
}

.search-container h3 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #333333;
    width: 100%;
}

/* Organisation */


.organisation-block {
    margin-bottom: 40px;
    background: #F5F9F7;
    border-radius: 5px;
    position: relative;
}

.organisation-block-des-block {
    padding: 20px;
} 

.organisation-block-des {
    overflow: hidden;
}

.organisation-block-des h3 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 30px;
}

.organisation-block h3 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 30px;
}

.organisation-block-des p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #333333;
}

.organisation-block-des a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #398860;
}

.organisation-block-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background: #398860;
    border-radius: 0px 5px 5px 0px;   
    height: fit-content; 
}

.organisation-block-info span{
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 33px;
}

.organisation-block-info-text {
    width: 100%;
}

.organisation-block-info-text p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #FFFFFF;
    margin-bottom: 15px;
    display: flex;
}

.organisation-block-info-text p:first-child {

}

.organisation-block-info-text a {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 17px;
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    align-self: center;
    transition: 0.4s;
}

.organisation-block-info-text a:hover {
    color: #000000;
    transition: 0.4s;
}

.collapseDiv-container {
    position: absolute;
    bottom: 40px;
    left: 20px;
    width: 200px;
}

.collapseDiv {

}

.collapseButton {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #398860;
    margin-bottom: 0;
    cursor: pointer;
    transition: 0.4s;
}

.collapseButton:hover {
    color: #185a39;
    transition: 0.4s;
}

.container-map-org {
    width: 100%;
    height: 380px;

}

.container-map-org-container {
    margin-top: 60px;
    margin-bottom: 100px;
    display: none;
}

.error-404 {
    background-image: url(img/404Page.png);
    height: 420px;
}

.error-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.error-404-content h1 {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 23px;
    color: #FFFFFF;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
}

.error-404-content p {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 15px;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
    padding: 0 20px;
}

.error-404-content a {
    padding: 13px 42px;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 13px;
    color: #FFFFFF!important;
    border: 1px solid white;
}

@media (max-width: 1024px) { 
    .collapseDiv-container {
        position: relative;
        width: 100%;
        margin: 20px 0;
        bottom: 0;
        left: 0;
        padding-left: 20px;
    }

    .organisation-block-info {
        border-radius: 0;
    }
    
    .container-map-org-container {
        margin-bottom: 10px;
        margin-top: 24px;
    }

    .organisation-block {
        margin-bottom: 20px;
    }

    .dws-menu #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item {
        margin: 0 6px;
    }

  /*   .home-doc-row,
    .home-news-row {
        margin-top: 0;
    } */

    .home-doc-row {
        padding-bottom: 60px;
    }

    .advantages-row {
        margin-top: 60px;
    }

    .home-advantages-block {
        margin-bottom: 30px
    }
}

@media (max-width: 767px) {
    .single-news-block h1 {
        font-size: 24px;
    }

    .dws-menu {
        justify-content: flex-end;
        margin-left: auto;
    }

    #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link {
        color: white!important;
    }

    footer .dws-menu {
        justify-content: flex-start;
    }

    footer .dws-menu .menu .menu-item {
        padding: 20px 0;
    }

    footer .dws-menu .menu {
        flex-direction: column;
    }

    footer .dws-menu .menu .menu-item a {

    }

    footer .header-navigation {
        padding: 30px 20px;
    }
    
    .search-form {
        display: none!important;
    }

    .home-announcement-block {
        display: none;
    }

   /*  .home-map-des-block {
        padding: 30px;
        top: 20px;
        left: 0;
        right: 0;
        margin: auto;
        max-width: 320px;
    }

    .home-map-des p {
        font-size: 14px;
    }

    .home-map-des a {
        font-size: 14px;
    }

    .home-map-des p:first-child {
        width: 120px;
    }

    .home-top-news-info h2 {
        width: auto;
    }

    .home-top-news-info {
        width: -webkit-fill-available;
        bottom: -50px;
        padding: 20px;
    } */

    /* .home-news-slider {
        margin-bottom: 50px;
    } */

    /* .home-news-des h2,
    .home-doc-des h2 {
        font-size: 24px;
    }

    .home-doc-description p {
        font-size: 16px;
    }

    .home-doc-des {
        margin-bottom: 16px;
    } */

    .organisation-block h3 {
        font-size: 18px;
    }

    .organisation-block-des p {
        font-size: 14px;
    }

    .organisation-block-info span {
        margin-bottom: 17px;
    }

    .organisation-block-info-text p {
        font-size: 14px;
    }

    .organisation-block-info-text a {
        font-size: 14px;
    }

    .organisation-block-info {
        padding: 20px;
        width: 96%;
        margin: 0 2%;
    }
}

/* @media (max-width: 425px) {
    .home-map-des-block {
        max-width: 290px;
    }

    .home-about-us-row {
        display: none;
    }

    .nav-tabs {
        flex-direction: column;
        padding: 0;
    }

    .nav-tabs .nav-link {
        padding: 16px;
        width: 100%;
    	border-radius: 0;
    }
} */

@media (min-width: 768px) {

}
@media (min-width: 576px) {

    .header-navigation {
        padding: 30px 20px;
    }
}


/* slike */
/* Стили для главного баннера новости */
.main-top-banner {
    position: relative;
    width: 100%;
    height: 450px; /* Фиксированная красивая высота */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.main-top-banner:hover {
    transform: translateY(-2px);
}

.main-top-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.main-top-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #ffffff;
}

.banner-badge {
    display: inline-block;
    background-color: #2e7d32; /* Красивый зеленый агро-цвет */
    color: #ffffff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.main-top-banner-content h2 {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-anons {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Заглушка, если новостей нет */
.empty-banner {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}
.empty-banner .main-top-banner-content {
    position: static;
    text-align: center;
    color: #666;
}
.empty-banner h2 {
    color: #333 !important;
    text-shadow: none !important;
}

/* Адаптивность под мобилки */
@media (max-width: 768px) {
    .main-top-banner {
        height: 350px;
    }
    .main-top-banner-content {
        padding: 20px;
    }
    .main-top-banner-content h2 {
        font-size: 22px;
    }
}



/* Светлый градиентный плейсхолдер */
.main-top-banner.no-thumb {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    border: 1px solid #dcdcdc;
}

/* Название компании по центру (светлое и ненавязчивое) */
.main-top-banner.no-thumb::before {
    content: "АГРОСОЮЗ";
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 54px;
    font-weight: 900;
    letter-spacing: 6px;
    color: rgba(0, 0, 0, 0.03); /* Минимальная видимость, чтобы не бросалось в глаза */
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

/* Затемнение только самого низа баннера для читаемости белого текста */
.main-top-banner.no-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.main-top-banner.no-thumb .main-top-banner-content {
    z-index: 2;
}

/* Светлый плейсхолдер с жестким центрированием */
.news-card-img-link.no-thumb-small {
    background: linear-gradient(135deg, #f9f9f9 0%, #eeeeee 100%);
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    width: 100%;
    height: 100%;
    position: relative;
    border-right: 1px solid #eef0f2;
    margin: 0;
}

/* Текст внутри плейсхолдера — позиционируем строго по центру */
.news-card-img-link.no-thumb-small::before {
    content: "АГРО";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Идеальный математический центр */
    font-size: 24px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
}

/* Контейнер списка */
.home-news-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступы между строками новостей */
    margin-top: 15px;
}

/* Горизонтальная карточка новости */
.news-horizontal-card {
    display: flex !important;
    align-items: stretch !important; /* Принудительно растягиваем контент по высоте */
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
    margin-bottom: 20px;
    height: 160px; /* Жестко фиксируем общую высоту карточки для идеального выравнивания */
}

.news-horizontal-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}

/* Блок контейнера для картинки слева */
.news-card-img-block {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    height: 100% !important; /* Растягиваем блок на всю высоту родительской карточки */
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-top-left-radius: 8px; /* Скругляем верхний левый угол */
    border-bottom-left-radius: 8px; /* Скругляем нижний левый угол */
}

/* Базовый класс ссылки-картинки */
.news-card-img-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important; /* Картинка гарантированно заполняет 100% области */
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
}

.news-card-img-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Картинка ровно обрезается по границам без искажений */
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
}

/* Текстовый блок справа */
.news-card-content-block {
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
    flex-grow: 1;
    justify-content: center;
}

/* Мета-информация (Дата и тип) */
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.news-card-date {
    font-size: 13px;
    color: #888888;
}

.news-card-type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.news-card-type-badge.news {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.news-card-type-badge.announcement {
    background-color: #fff3e0;
    color: #ef6c00;
}

/* Заголовок новости */
.news-card-content-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.news-card-content-block h3 a {
    color: #2c3e50 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.news-card-content-block h3 a:hover {
    color: #2e7d32 !important;
}

/* Текст анонса новости */
.news-card-text {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* Ссылка Читать далее */
.news-card-more-link {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32 !important;
    text-decoration: none !important;
    align-self: flex-start;
}

.news-card-more-link:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (КАРТА, КОНТАКТЫ И СПИСОК НОВОСТЕЙ)
   ========================================================================== */
@media (max-width: 768px) {
    /* Перестраиваем главный контейнер карты */
    .home-map {
        height: auto !important; 
        display: flex !important;
        flex-direction: column-reverse !important; 
        overflow: visible !important; 
    }

    /* На смартфонах задаем карте БОЛЬШУЮ высоту */
    #container-map {
      /*   position: relative !important;
        width: 100% !important;
        height: 480px !important; 
        top: auto !important;
        left: auto !important; */
        display: none;
    }

    /* Заставляем iframe виджета занять выделенные 480px */
    #container-map iframe,
    .dg-widget-container,
    .dg-widget-container iframe {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Отменяем абсолютное позиционирование для зеленого блока, опускаем ПОД карту */
    .home-map-des-block {
        position: relative !important; 
        top: auto !important;
        left: auto !important;
        transform: none !important; 
        width: 100% !important; 
        box-sizing: border-box !important;
        border-radius: 0 !important; 
        padding: 25px 20px !important; 
        border-left: none !important;
        border-right: none !important;
    }

    /* БЛОКИРУЕМ АНИМАЦИЮ КАРТЫ */
    .home-map-des-block:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* ФИКС ИСЧЕЗНОВЕНИЯ ТЕКСТА: Возвращаем название и анонс новостей на мобилках */
    .news-horizontal-card {
        flex-direction: column !important; /* Картинка сверху, текст снизу */
        height: auto !important; /* Сбрасываем фиксированную высоту строки */
    }

    .news-card-img-block {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 180px !important; /* Удобная высота картинки на телефоне */
    }

    .news-card-content-block {
        display: flex !important; 
        visibility: visible !important;
        opacity: 1 !important;
        padding: 15px 20px !important; 
        width: 100% !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }

    .news-card-content-block h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .news-card-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
}

/* Современный полупрозрачный блок контактов поверх карты */
.home-map-des-block {
    position: absolute !important;
    top: 50% !important;
    left: 8% !important;
    transform: translateY(-50%) !important;
    z-index: 99 !important;
    width: 380px !important;
    padding: 35px 30px !important;
    border-radius: 12px !important;
    
    /* ПРИНУДИТЕЛЬНАЯ ПРОЗРАЧНОСТЬ И РАЗМЫТИЕ */
    background: #34845b !important; /* Уменьшили плотность до 75% для видимого эффекта */
    backdrop-filter: blur(12px) !important; /* Размытие карты под блоком */
    -webkit-backdrop-filter: blur(12px) !important; /* Поддержка для Safari/iOS */
    
    /* Нежная светлая рамка и объемная тень */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}
/* Интерактивный эффект при наведении мыши */
.home-map-des-block:hover {
    background: #226442 !important; /* Чуть плотнее при наведении */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-52%) !important;
}

/* Заголовок АГРОСОЮЗ */
.home-map-des-block h2 {
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 0 25px 0 !important;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

/* Сетка для пунктов контактов */
.home-map-des {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Расстояние между строками */
}

.home-map-des-item {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Расстояние от иконки до текста */
}

/* Круглый контейнер для иконки */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    flex-shrink: 0; /* Защита от сжатия */
}

/* Текстовая колонка */
.contact-text-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Мелкие подписи над текстом (например: "Часы работы") */
.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
}

/* Основные данные */
.contact-text-block strong {
    font-size: 15px;
    color: #ffffff !important;
    font-weight: 600;
    line-height: 1.4;
}

/* Ссылки телефона и почты */
.contact-text-block strong a {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.contact-text-block strong a:hover {
    color: #e8f5e9 !important;
    border-bottom-color: #ffffff;
}

/* ==========================================================================
   АДАПТИВНОСТЬ КАРТЫ И КОНТАКТОВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ========================================================================== */
@media (max-width: 768px) {
    /* Перестраиваем главный контейнер: делаем его гибким и высоким */
    .home-map {
        height: auto !important; /* Убираем фиксированную высоту */
        display: flex !important;
        flex-direction: column-reverse !important; /* Выстраиваем блоки друг под другом (сначала карта, потом контакты) */
        overflow: visible !important; /* Разрешаем блоку контактов выходить за пределы */
    }

    

    /* Превращаем контейнер виджета 2ГИС в обычный блок на мобилках */
   #container-map {
        position: relative !important;
        width: 100% !important;
        height: 480px !important; /* Увеличили высоту с 300px до 480px */
        top: auto !important;
        left: auto !important;
    }

    /* Заставляем iframe виджета занять выделенные 300px */
    #container-map iframe,
    .dg-widget-container,
    .dg-widget-container iframe {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Отменяем абсолютное позиционирование для зеленого блока */
    .home-map-des-block {
        position: relative !important; /* Блок становится обычным элементом и встает строго ПОД картой */
        top: auto !important;
        left: auto !important;
        transform: none !important; /* Сбрасываем центрирование */
        width: 100% !important; /* Растягиваем на всю ширину экрана смартфона */
        box-sizing: border-box !important;
        border-radius: 0 !important; /* Убираем скругления по бокам, чтобы блок смотрелся монолитно */
        padding: 25px 20px !important; /* Делаем отступы чуть компактнее для мобильных */
        border-left: none !important;
        border-right: none !important;
    }
      .home-map-des-block:hover {
        transform: none !important; /* Запрещаем блоку улетать вверх */
        background: #226442 !important; /* Сохраняем исходный цвет */
        box-shadow: none !important; /* Убираем лишние тени */
    }

        /* ==========================================
       СТИЛИ ДЛЯ БЛОКОВ ДОКУМЕНТОВ И "О КОМПАНИИ"
       ========================================== */

    /* 1. Отступы для главных разделов страницы */
    .home-doc-row, 
    .home-about-us-row {
        margin-top: 40px !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important; /* Защита от прижимания к краям экрана */
    }

    /* Увеличиваем отступы под заголовками */
    .home-doc-des, 
    .home-about-us-row h2 {
        margin-bottom: 20px !important;
    }

    /* 2. Прокачка списка документов */
    .home-doc-block {
        display: flex !important;
        align-items: center !important;
        background: #ffffff !important;
        border: 1px solid #eef0f2 !important;
        border-radius: 6px !important;
        padding: 12px 15px !important;
        margin-bottom: 12px !important; /* Расстояние между документами */
        box-shadow: 0 2px 4px rgba(0,0,0,0.01) !important;
    }

    /* Кнопка-иконка скачивания слева */
    .home-doc-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        background: #e8f5e9 !important; /* Легкий зеленый фон для иконки */
        border-radius: 50% !important;
        margin-right: 15px !important;
        flex-shrink: 0 !important;
    }

    .home-doc-link img {
        width: 18px !important;
        height: auto !important;
    }

    /* Текстовая часть документа */
    .home-doc-description {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        text-decoration: none !important;
    }

    .home-doc-description span {
        font-size: 11px !important;
        color: #888888 !important;
    }

    .home-doc-description p {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }

    /* 3. Оформление блока "О Агросоюзе" */
    .home-about-us-text h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        color: #2c3e50 !important;
    }

    .home-about-us-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #555555 !important;
        margin-bottom: 20px !important; /* Отступ текста от картинки трактора */
    }

    /* Адаптивная картинка трактора */
    .home-about-us-img img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    }

}


/* Резервный блок Hero-заглушки */
.main-top-banner.hero-fallback {
    display: flex !important;
    align-items: center !important;     /* Центрируем логотип по вертикали */
    justify-content: center !important;  /* Центрируем логотип по горизонтали */
    
    /* Растягиваем картинку на всю ширину родительского блока */
    width: 100% !important;
    background-size: cover !important;     /* Картинка полностью заполняет всю область без искажений */
    background-position: center !important; /* Центрируем комбайн по центру экрана */
    background-repeat: no-repeat !important;
    
    height: 420px !important; /* Фиксированная высота как у оригинального слайдера */
    border-radius: 8px !important; /* Делаем аккуратные скругления углов, как на макете */
    overflow: hidden !important;
    position: relative;
}

/* Контейнер логотипа по центру */
.hero-fallback-logo {
    max-width: 320px; /* Ограничиваем максимальную ширину логотипа, чтобы он не был гигантским */
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Легкий фильтр, чтобы сделать логотип более контрастным на темном фоне, если это необходимо */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); 
}

.hero-fallback-logo img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Адаптивность под мобильные телефоны */
@media (max-width: 768px) {
    .main-top-banner.hero-fallback {
        height: 250px !important; /* На смартфонах делаем блок чуть компактнее */
    }
    .hero-fallback-logo {
        max-width: 220px;
    }
}


/* ==========================================================================
   ПОЛНЫЙ НАБОР СТИЛЕЙ ДЛЯ БЛОКА "СОСТАВ ОБЪЕДИНЕНИЯ"
   ========================================================================== */

/* 1. Главный контейнер сетки */
.home-sostav-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* На компьютерах строго 3 карточки в ряд */
    gap: 25px !important; /* Отступы между карточками */
    width: 100% !important;
    margin-top: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Карточка отдельной организации */
.sostav-card-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Контент занимает всю ширину карточки */
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 10px !important; /* Мягкие скругленные углы */
    padding: 25px 20px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important; /* Легкая современная тень */
    transition: all 0.25s ease-in-out !important;
    box-sizing: border-box !important;
}

/* Эффект при наведении курсора мыши */
.sostav-card-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important; /* Глубокая тень */
    border-color: #2e7d32 !important; /* Подсветка фирменным зеленым цветом */
    transform: translateY(-3px) !important; /* Карточка плавно приподнимается */
}

/* 3. Блок логотипа компании внутри карточки */
.sostav-logo-img {
    width: 100% !important;
    height: 90px !important; /* Фиксированная высота для идеального выравнивания рядов */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

/* Сама картинка логотипа */
.sostav-logo-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Логотип впишется ровно и без искажения пропорций */
}

/* Серая круглая заглушка, если у компании нет логотипа */
.sostav-logo-placeholder {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px dashed #e2e8f0 !important;
}
.sostav-logo-placeholder span {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #b0bec5 !important; /* Спокойный серый цвет для первой буквы */
    user-select: none;
}

/* 4. Заголовок (Название организации) */
.sostav-card-item h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important; /* Глубокий темный цвет текста */
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
    text-align: center !important; /* Название всегда по центру */
    border-bottom: 1px dashed #eef0f2 !important; /* Разделительный пунктир под названием */
    padding-bottom: 15px !important;
}

/* 5. Контейнер списка кастомных мета-полей информации */
.sostav-meta-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important; /* Расстояние между строками */
    margin-top: 5px !important;
}

/* Отдельная строка информации (параметр + значение) */
.sostav-meta-line {
    display: flex !important;
    flex-direction: column !important; /* Выстраиваем подписи над значениями */
    gap: 2px !important;
}

/* Системная подпись (например: "РУКОВОДИТЕЛЬ:", "АДРЕС:") */
.sostav-label {
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    color: #90a4ae !important; /* Приглушенный серый оттенок */
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Текстовые данные из админки */
.sostav-value {
    font-size: 14px !important;
    color: #455a64 !important; /* Комфортный для чтения цвет */
    line-height: 1.45 !important;
    font-weight: 500 !important;
    word-break: break-word !important; /* Защита от вылезания длинных ссылок/почты за края */
}

/* Интерактивные ссылки телефона и почты внутри карточки */
.sostav-value a {
    color: #2e7d32 !important; /* Фирменный зеленый цвет агросоюза */
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(46, 125, 50, 0.3) !important; /* Тонкий подчеркивающий пунктир */
    transition: all 0.2s ease !important;
}

.sostav-value a:hover {
    color: #1b5e20 !important; /* Более темный зеленый при наведении */
    border-bottom-color: #1b5e20 !important;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВA И ПЛАНШЕТЫ
   ========================================================================== */

/* Планшетная версия */
@media (max-width: 991px) {
    .home-sostav-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* По 2 карточки на планшетах */
        gap: 15px !important;
    }
}

/* Мобильная версия (Смартфоны) */
@media (max-width: 768px) {
    .home-sostav-grid {
        grid-template-columns: 1fr !important; /* На телефонах строго в одну колонку списком */
        gap: 15px !important;
    }
    
    .sostav-card-item {
        padding: 20px 15px !important;
        align-items: stretch !important;
    }

    .sostav-logo-img {
        height: 70px !important; /* Чуть компактнее логотип на мобильном */
        margin-bottom: 12px !important;
    }
    
    .sostav-card-item h3 {
        font-size: 16px !important;
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .sostav-value {
        font-size: 13px !important; /* Немного уменьшаем шрифт для экономии места */
    }
}