#horizontal-multilevel-menu li a{
	font-weight: normal;
}

.wpcf7-response-output{
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.article-header{
	margin-bottom: 15px;
	font-size: 25px;
	font-weight: 600;
}

img.wp-post-image {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px){
.news-block{
	 margin-bottom: 40px;
}
	.soc-set{
		margin-bottom: 40px;
	}
	footer{
		height: auto !important;
	}
	    .copyright {
        margin-top: 0 !important;
		margin-bottom: 20px;
    }
	    .quote-category {
        margin-bottom: 0px;
    }
	    .content-material.pd5 {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 996px){
	footer{
		height: auto !important;
	}
}


@media screen and (min-width: 996px){
.sda-slide__media{
	margin-right: 20px;
}
	.sda-slider__nav{
		margin-right: 20px;
	}
}

@media screen and (min-width: 1600px){
.presentation .preiew img {
    max-width: 700px;
	max-height: 500px;
}
	.card-img img{
		max-height: 450px;
		object-fit: cover;
	}
}

@media screen and (max-width: 567px){
.card-img img{
		max-height: 300px;
		object-fit: cover;
	}
}

.article-row .title{
	line-height: 2.8rem;
	font-size: 3rem;
}

.rank-math-breadcrumb .last {
    color: #003098 !important;
}

/* Ряд карточек: используем flex-wrap, чтобы колонки растягивались по высоте */
/* .row {
    display: flex;
    flex-wrap: wrap;
} */

.news-col {
    display: flex; /* чтобы карточка внутри колонки тянулась на всю высоту */
    margin-bottom: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.news-card__img img {
    width: 100%;
    height: 220px;       /* фиксированная высота картинки, чтобы все были одинаковые */
    object-fit: cover;
    display: block;
}

.news-card__body {
    padding: 15px 15px 0;
    flex: 1 0 auto;       /* тело растягивается, занимая всё свободное место */
}

.news-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.news-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.news-card__footer {
    margin-top: auto;     /* главное — прижимает footer к низу независимо от длины заголовка */
    display: flex;
    align-items: center;
    padding: 10px 15px 15px;
}

.news-card__date {
    color: #999;
    font-size: 13px;
    margin-right: 10px;
}

.news-card__views {
    color: #999;
    font-size: 13px;
    margin-right: auto;
}

.news-card__arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c00;
    text-decoration: none;
}

.news-card__arrow::after {
    content: "→";
}


@media screen and (min-width: 480px) and (max-width: 1000px){
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
}

@media screen and (min-width: 1000px) and (max-width: 1200px){
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
}

@media screen and (min-width: 1200px) and (max-width: 1600px){
.card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
}



@media only screen and (max-width: 1619px) {
    .presentation .preiew img {
        max-width: 650px;
    }
}

@media only screen and (min-width: 300px) and (max-width: 768px) {
    .presentation .preiew img {
        max-width: 300px;
    }
}


@media only screen and (min-width: 1200px) {
.bread-nav-events:before {
    position: absolute;
    width: 180px;
}
	.rank-math-breadcrumb p{
		width: 200px;;
	}
}


@media screen and (min-width: 1200px) and (max-width: 1600px){
.page-title .bread-nav-events {
        margin-top: 80px;
    }
	.right-colon-material{
		margin-top: 150px;
	}
}


@media screen and (min-width: 768px) and (max-width: 1200px){
.page-title .bread-nav-events {
        margin-top: -50px;
    }
/* 	.right-colon-material{
		margin-top: 300px;
	} */
	    .page-title {
        margin-top: 5rem;
    }
}
}

/* ПРОЕКТЫ  */
@media only screen and (max-width: 575px) {
    .presentation .preiew {
        width: 60% !important;
        left: 10% !important;
    }
}

@media only screen (min-width: 1200px) and (max-width: 1619px) {
    .presentation .preiew img {
        max-width: 90% !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .right-colon-material {
        margin-top: 0 !important;
    }
	.section.presentation.title-event{
		    padding-bottom: 0 !important;
	}
}

.d-none{
	display: none;
}

/* НА ГЛАВНОЙ ВЫВОД СТАТЕЙ */

/* ===== Слайдер статей «Сочинский диалог» ===== */
.sda-slider-wrap{ position:relative; padding:40px 0; }

/* стрелки */
.sda-slider__nav{
  display:flex; justify-content:flex-end; align-items:center;
  gap:28px; margin-bottom:24px;
}
.sda-arrow{
  background:none; border:none; cursor:pointer;
  width:44px; height:44px; padding:0;
  display:inline-flex; align-items:center; justify-content:center;
  color:#1a1a1a; transition:color .2s ease, transform .2s ease;
}
.sda-arrow svg{ width:34px; height:20px; }
.sda-arrow:hover{ color:#e30613; }
.sda-arrow--prev:hover{ transform:translateX(-3px); }
.sda-arrow--next:hover{ transform:translateX(3px); }
.sda-arrow.slick-disabled{ opacity:.3; cursor:default; transform:none; }

/* слайд */
.sda-slider .slick-slide{ height:auto; }
.sda-slide__inner{
  display:flex; align-items:center; gap:48px;
}
.sda-slide__text{ flex:1 1 50%; min-width:0; margin-left: 50px; }
.sda-slide__media{ flex:1 1 50%; min-width:0; }


@media screen and (min-width: 1200px) and (max-width: 1630px){
.about-container{
	margin-top: 50px;
}
}

@media screen and (max-width: 567px){
	.sda-slide__text{ margin-left: 10px; }
}

.sda-slide__media img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  display:block; border-radius:6px;
}

.sda-slide__title{
  font-size:clamp(26px, 3.4vw, 46px);
  line-height:1.15; font-weight:400; color:#1a1a1a;
  margin:0 0 22px;
}
.sda-slide__excerpt{
  font-size:16px; line-height:1.6; color:#555; margin:0 0 32px;
}
.sda-slide__footer{ display:flex; align-items:center; gap:22px; }
.sda-slide__date{ font-size:14px; color:#7a7a7a; }

/* круглая кнопка «читать далее» */
.sda-slide__more{
  width:52px; height:52px; flex-shrink:0;
  border:1px solid #e30613; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background-color .2s ease;
}
.sda-slide__more::after{
  content:""; width:20px; height:14px; background-color:#e30613;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:background-color .2s ease;
}
.sda-slide__more:hover{ background-color:#e30613; }
.sda-slide__more:hover::after{ background-color:#fff; }

/* планшет / мобилка */
@media (max-width:991.98px){
  .sda-slider-wrap{ padding:24px 0; }
  .sda-slide__inner{ flex-direction:column; align-items:stretch; gap:22px; }
  .sda-slide__media{ order:-1; }          /* картинка сверху */
  .sda-slide__title{ margin-bottom:16px; }
  .sda-slide__excerpt{ margin-bottom:24px; }
  .sda-slider__nav{ margin-bottom:16px; gap:20px; }
}
@media (max-width:575.98px){
  .sda-slide__media img{ aspect-ratio:1/1; }
  .sda-slide__more{ width:46px; height:46px; }
  .sda-arrow{ width:38px; height:38px; }
}

@media screen and (min-width: 767px) and (max-width: 992px) {
    .presentation .preiew img {
        max-width: 250px !important;
    }
}



@media screen and (min-width: 992px) and (max-width: 1440px) {
    .presentation .preiew img {
        max-width: 550px !important;
    }
}


@media screen and (min-width: 1440px) and (max-width: 1600px) {
    .presentation .preiew img {
        max-width: 450px !important;
    }
}

@media screen and (min-width: 1600px) {
    .presentation .preiew img {
        max-width: 950px !important;
    }
}

@media screen and (min-width: 1200px) {
    .presentation.news .preiew img {
        max-width: 950px;
    }
}

@media screen and (min-width: 996px){
	.sda-slide__media img{
		height: 100% !important;
		width: 1000px !important;
		object-fit: cover;
		aspect-ratio: 1 / 1;
	}
	.sda-slide__text{
		width: 70%;
	}
}


/* Блок "Прошедшие проекты / мероприятия" */
.sd-events-block {
    margin-bottom: 40px;
}

.sd-events-title h2 {
    margin-bottom: 20px;
}

/* Ряд карточек: flex гасит float у col-xs/sm/lg, но ширины колонок остаются от Bootstrap */
.sd-events-row {
    display: flex;
    flex-wrap: wrap;
}

.sd-events-col {
    display: flex;           /* сама колонка тоже flex, чтобы карточка внутри растянулась на 100% высоты */
    margin-bottom: 30px;
}

/* Карточка */
.sd-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sd-card-img {
    display: block;
}


.sd-card-body {
    flex: 1 1 auto;           /* забирает всё свободное место, отталкивая footer вниз */
    padding: 15px 15px 0;
}

.sd-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.sd-card-title a {
    color: inherit;
    text-decoration: none;
}

/* Footer всегда прижат к низу карточки, без position:absolute и без float */
.sd-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px;
}

.sd-card-date {
    color: #999;
    font-size: 13px;
}

.sd-card-counter {
    color: #999;
    font-size: 13px;
}

.sd-card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d32f2f;
    position: relative;
    flex-shrink: 0;
}

.sd-card-arrow::after {
    content: "→";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d32f2f;
}

@media (max-width: 767px) {
    .sd-events-col {
        margin-bottom: 40px;
    }
	.section.photos{
		padding-bottom: 100px;
	}
}

@media screen and (min-width: 1000px) {
	.sd-events-title h2 {
	margin-top: 30px;
}
}

.soc-set ul li a {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 991px) {
    .presentation .title {
        line-height: 1.6rem;
        font-size: 1.5rem;
    }
	.sd-card-img img {
    height: 400px;
}

}

@media only screen and (max-width: 1199px) {
    .presentation .title {
        line-height: 2rem;
        font-size: 1.7rem;
    }
}

@media only screen and (max-width: 1440px) {
    .presentation .title {
        line-height: 2.3rem;
        font-size: 2rem;
    }
}

@media only screen and (max-width: 1619px) {
    .presentation .title {
        line-height: 2.5rem;
        font-size: 2.2rem;
    }
}

.aspect{
	aspect-ratio: auto !important;
}

.card .card-img img {
	height: auto !important;
	aspect-ratio: 1 / 1;
}

.sd-card-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
	object-position: left center !important;
}

@media screen and (min-width: 1000px) and (max-width: 1619px) {
.sd-card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
}

.sd-news-card__img img{
	object-position: left center !important;
}


    .bread-nav-events:before {
display: none !important;
    }
