.container .content p img{
    max-width: 60%; /* Ограничивает ширину изображения */
    height: auto;    /* Сохраняет пропорции изображения */
    display: block;  /* Убирает отступы снизу */
    margin: 0 auto; /* Центрирует изображение */
}
.container .content .avPlayerWrapper{
    max-width: 60%; /* Ограничивает ширину изображения */
    height: auto;    /* Сохраняет пропорции изображения */
    display: block;  /* Убирает отступы снизу */
    margin: 0 auto; /* Центрирует изображение */
}
/*
*
about
*
*/
.about.container {
    padding: 20px 20px;
    max-width: 1100px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c2c2c;
    border-radius: 12px;
}

.about.container .content h2 {
    font-size: 28px;
    color: #2b4e18;
    padding-left: 14px;
    margin-bottom: 30px;
}

.about.container .about-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.about.container .about-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.about.container .about-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
}

.about.container .about-body ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A3CE10;
    font-size: 18px;
    line-height: 1;
}

/* Стили для видео */
.about.container .avPlayerWrapper {
    text-align: center;
    margin: 30px 0;
}

.about.container .avPlayerWrapper iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about.container {
        padding: 25px 15px;
    }

    .about.container .content h2 {
        font-size: 22px;
    }

    .about.container .about-body p {
        font-size: 15px;
    }

    .about.container .about-body ul li {
        font-size: 15px;
    }
}
/*
*
history
*
*/
.history.container {
    padding: 20px 20px;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #f9fdf6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c2c2c;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

.history.container .content h2 {
    font-size: 28px;
    color: #2b4e18;
    margin-bottom: 30px;
    border-left: 6px solid #A3CE10;
    padding-left: 14px;
}

.history.container .history-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
    color: #333;
}

.history.container .history-body p:last-child {
    margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .history.container {
        padding: 25px 15px;
    }

    .history.container .content h2 {
        font-size: 24px;
    }

    .history.container .history-body p {
        font-size: 15px;
    }
}

/*
*
department
*
*/
.department.container {
    padding: 20px 20px;
    max-width: 1100px;
    margin: 20px auto;
    background-color: #f9fdf6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c2c2c;
    border-radius: 12px;
}

.department.container .content h2 {
    font-size: 28px;
    color: #2b4e18;
    margin-bottom: 30px;
    border-left: 6px solid #A3CE10;
    padding-left: 14px;
}

.department.container .department-body h3 {
    font-size: 22px;
    color: #4a8014;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #d8eabf;
    padding-bottom: 6px;
}

.department.container .department-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.department.container .department-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.department.container .department-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
}

.department.container .department-body ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A3CE10;
    font-size: 18px;
    line-height: 1;
}

.department.container .department-body hr {
    border: none;
    border-top: 2px dashed #ccc;
    margin: 40px 0;
}

/* Изображения */
.department.container .department-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 25px 0;
}

/* Видео */
.department.container .avPlayerWrapper {
    text-align: center;
    margin: 30px 0;
}

.department.container .avPlayerWrapper iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .department.container {
        padding: 25px 15px;
    }

    .department.container .content h2 {
        font-size: 24px;
    }

    .department.container .department-body h3 {
        font-size: 20px;
    }

    .department.container .department-body p,
    .department.container .department-body ul li {
        font-size: 15px;
    }
}

/*
*
conversion
*
*/
.conversion {
    padding: 70px 0;
    border-bottom: 1px solid #E6E6E6;
}
@media (max-width: 1250px) {
    .conversion {
        padding: 50px 0;
    }
}
.conversion .content {
    display: flex;
    flex-direction: column;
    gap: 70px;
}
@media (max-width: 1024px) {
    .conversion .content {
        gap: 50px;
    }
}
.conversion .content h1 {
    color: #333;
    font-size: 70px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 70px */
}
@media (max-width: 1024px) {
    .conversion .content h1 {
        font-size: 40px;
    }
}
.conversion .content .conversion-inner {
    display: flex;
    gap: 30px;
}
@media (max-width: 1250px) {
    .conversion .content .conversion-inner {
        flex-direction: column;
    }
}
.conversion .content .conversion-inner .conversion-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.conversion .content .conversion-inner .conversion-body span {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.conversion .content .conversion-inner .conversion-body span.date {
    color: var(--Color-A3CE10, #A3CE10);
    font-family: var(--Geometria, Geometria);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 15px */
}
.conversion .content .conversion-inner .conversion-body p {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.conversion .content .conversion-inner .conversion-body ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 30px;
}
@media (max-width: 1024px) {
    .conversion .content .conversion-inner .conversion-body ul {
        padding-left: 0;
    }
}
.conversion .content .conversion-inner .conversion-body ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.conversion .content .conversion-inner .conversion-body ul li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50px;
    background: #A3CE10;
    flex-shrink: 0;
}
.conversion .content .conversion-inner .conversion-body ol {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 30px;
}
@media (max-width: 1024px) {
    .conversion .content .conversion-inner .conversion-body ol {
        padding-left: 0;
    }
}
.conversion .content .conversion-inner .conversion-body ol li {
    display: flex;
    gap: 10px;
    align-items: center;
}
.conversion .content .conversion-inner .conversion-body ol li span {
    border-radius: 5px;
    background: var(--Color-A3CE10, #A3CE10);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--Color-FFFFFF, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 22.5px */
}
.conversion .content .conversion-inner .conversion-body ol li p {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.conversion .content .conversion-inner .conversion-body .source {
    color: #B3B3B3;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 15px */
}
.conversion .content .conversion-inner .conversion-body .source span {
    color: var(--Color-A3CE10, #A3CE10);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 15px */
    text-decoration-line: underline;
}
.conversion .content .conversion-inner .news-images {
    max-width: 705px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: fit-content;
}
@media (max-width: 1250px) {
    .conversion .content .conversion-inner .news-images {
        max-width: 100%;
        gap: 15px;
    }
}
.conversion .content .conversion-inner .news-images a {
    width: calc((100% - 60px) / 3);
    height: 137px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}
@media (max-width: 1000px) {
    .conversion .content .conversion-inner .news-images a {
        width: calc((100% - 30px) / 2);
        height: 237px;
    }
}
@media (max-width: 600px) {
    .conversion .content .conversion-inner .news-images a {
        height: 150px;
    }
}
.conversion .content .conversion-inner .news-images a:first-child {
    width: 100%;
    height: 450px;
}
@media (max-width: 600px) {
    .conversion .content .conversion-inner .news-images a:first-child {
        width: 100%;
        height: 300px;
    }
}
.conversion .content .conversion-inner .news-images a:hover img {
    transform: scale(1.1);
}
.conversion .content .conversion-inner .news-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.8s ease;
}
/*
*
administrative procedure
*
 */
.procedure {
    padding: 70px 0;
    border-bottom: 1px solid #E6E6E6;
}
@media (max-width: 1250px) {
    .procedure {
        padding: 50px 0;
    }
}
.procedure .content {
    display: flex;
    flex-direction: column;
    gap: 70px;
}
@media (max-width: 1024px) {
    .procedure .content {
        gap: 50px;
    }
}
.procedure .content h1 {
    color: #333;
    font-size: 70px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 70px */
}
@media (max-width: 1024px) {
    .procedure .content h1 {
        font-size: 40px;
    }
}
.procedure .content .procedure-inner {
    display: flex;
    gap: 30px;
}
@media (max-width: 1250px) {
    .procedure .content .procedure-inner {
        flex-direction: column;
    }
}
.procedure .content .procedure-inner .procedure-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.procedure .content .procedure-inner .procedure-body span {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.procedure .content .procedure-inner .procedure-body span.date {
    color: var(--Color-A3CE10, #A3CE10);
    font-family: var(--Geometria, Geometria);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 15px */
}
.procedure .content .procedure-inner .procedure-body p {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.procedure .content .procedure-inner .procedure-body ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 30px;
}
@media (max-width: 1024px) {
    .procedure .content .procedure-inner .procedure-body ul {
        padding-left: 0;
    }
}
.procedure .content .procedure-inner .procedure-body ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.procedure .content .procedure-inner .procedure-body ul li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50px;
    background: #A3CE10;
    flex-shrink: 0;
}
.procedure .content .procedure-inner .procedure-body ol {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 30px;
}
@media (max-width: 1024px) {
    .procedure .content .procedure-inner .procedure-body ol {
        padding-left: 0;
    }
}
.procedure .content .procedure-inner .procedure-body ol li {
    display: flex;
    gap: 10px;
    align-items: center;
}
.procedure .content .procedure-inner .procedure-body ol li span {
    border-radius: 5px;
    background: var(--Color-A3CE10, #A3CE10);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--Color-FFFFFF, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 22.5px */
}
.procedure .content .procedure-inner .procedure-body ol li p {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}
.procedure .content .procedure-inner .procedure-body .source {
    color: #B3B3B3;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 15px */
}
.procedure .content .procedure-inner .procedure-body .source span {
    color: var(--Color-A3CE10, #A3CE10);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 15px */
    text-decoration-line: underline;
}
.procedure .content .procedure-inner .news-images {
    max-width: 705px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: fit-content;
}
@media (max-width: 1250px) {
    .procedure .content .procedure-inner .news-images {
        max-width: 100%;
        gap: 15px;
    }
}
.procedure .content .procedure-inner .news-images a {
    width: calc((100% - 60px) / 3);
    height: 137px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}
@media (max-width: 1000px) {
    .procedure .content .procedure-inner .news-images a {
        width: calc((100% - 30px) / 2);
        height: 237px;
    }
}
@media (max-width: 600px) {
    .procedure .content .procedure-inner .news-images a {
        height: 150px;
    }
}
.procedure .content .procedure-inner .news-images a:first-child {
    width: 100%;
    height: 450px;
}
@media (max-width: 600px) {
    .procedure .content .procedure-inner .news-images a:first-child {
        width: 100%;
        height: 300px;
    }
}
.procedure .content .procedure-inner .news-images a:hover img {
    transform: scale(1.1);
}
.procedure .content .procedure-inner .news-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.8s ease;
}
/*
*
service
*
 */
.service.container {
    padding: 20px 20px;
    max-width: 1000px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f6fdf5;
    color: #2c2c2c;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.service.container .content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2b4e18;
    border-left: 6px solid #A3CE10;
    padding-left: 14px;
}

.service.container .service-inner {
    padding-left: 10px;
}

.service.container .service-body h3 {
    font-size: 20px;
    margin: 25px 0 10px;
    color: #4a8014;
}

.service.container .service-body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.service.container .service-body h3 + p {
    margin-top: 0;
}

.service.container .service-body p:last-child {
    font-weight: bold;
    background-color: #eafbe2;
    padding: 10px 15px;
    border-left: 4px solid #A3CE10;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .service.container {
        padding: 25px 15px;
    }

    .service.container .content h2 {
        font-size: 22px;
    }

    .service.container .service-body h3 {
        font-size: 18px;
    }

    .service.container .service-body p {
        font-size: 15px;
    }
}

.service.container .service-body table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.service.container .service-body table td,
.service.container .service-body table th {
    border: 1px solid #e0e0e0;
    padding: 12px 14px;
    font-size: 15px;
    vertical-align: middle;
    text-align: left;
}

.service.container .service-body table tr:first-child td {
    background-color: #dff0d2;
    font-weight: bold;
    color: #2e5417;
    text-align: center;
}

.service.container .service-body table tr:nth-child(even):not(:first-child) {
    background-color: #f7fbf4;
}

.service.container .service-body table tr:hover {
    background-color: #eef9e5;
}

@media (max-width: 768px) {
    .service.container .service-body table,
    .service.container .service-body table thead,
    .service.container .service-body table tbody,
    .service.container .service-body table tr,
    .service.container .service-body table td {
        display: block;
        width: 100%;
    }

    .service.container .service-body table tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #fff;
        padding: 10px;
    }

    .service.container .service-body table td {
        border: none;
        padding: 8px 0;
        position: relative;
    }

    .service.container .service-body table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #2b4e18;
    }
}



/*
*
photo-video
*
*/
.photo-video {
    padding: 20px 20px;
    width: 100%;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c2c2c;
    border-radius: 12px;
    height: fit-content;
}

/* Заголовок и кнопка */
.photo-video .photo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.photo-video .photo-header h2 {
    font-size: 20px;
    padding-left: 14px;
    margin: 0;
}

/* Слайдер */
.photo-video-swip {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    height: fit-content;
}

.photo-video-swip .swiper-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: fit-content;
}

/* Слайды */
.photo-video-swip .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.photo-video-swip .slide-container {
    width: 100%;
    height: fit-content;
    max-height: 600px;
    overflow: hidden;
    border-radius: 10px;
    padding: 10px;
}

.photo-video-swip .slide-container img {
    width: 100%;
    min-height: 350px;
    object-fit: cover;   /* сохраняет пропорции, заполняя контейнер */
    border-radius: 10px;
    height: fit-content;
    /*object-position: center;*/
    /*transition: transform 0.6s ease;*/
}

/* Адаптивность */
@media (max-width: 768px) {
    .photo-video {
        padding: 25px 15px;
    }

    .photo-video .photo-header h2 {
        font-size: 22px;
    }

    .photo-video .photo-header a button {
        padding: 8px 14px;
        font-size: 14px;
    }

    .photo-video-swip .slide-container {
        height: 370px;
        border-radius: 10px;
    }

    .photo-video-swip .slide-container img {
        height: 98%;
        width: 98%;
    }

}

@media (max-width: 500px) {
    .photo-video-swip .slide-container img {
        width: 100%;
        object-fit: cover;   /* сохраняет пропорции, заполняя контейнер */
        border-radius: 10px;
        height: fit-content;
        /*object-position: center;*/
        /*transition: transform 0.6s ease;*/
    }
}

/*
*
photo-video-index
*
*/
.photo-video-index {
    padding: 20px 0;
    border-bottom: 1px solid #E6E6E6;
}
@media (max-width: 1250px) {
    .photo-video-index {
        padding: 20px 0;
    }
}

.photo-video-index .content {
    display: flex;
    flex-direction: column;
    gap: 70px;
}
@media (max-width: 1024px) {
    .photo-video-index .content {
        gap: 50px;
    }
}

.photo-video-index .content h2 {
    color: #333;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 30px;
    border-left: 6px solid #A3CE10;
    padding-left: 14px;
}
@media (max-width: 1024px) {
    .photo-video-index .content h2 {
        font-size: 28px;
    }
}
@media (max-width: 600px) {
    .photo-video-index .content h2 {
        font-size: 22px;
    }
}

/* --- Фото --- */
.photo-video-index .photo-wrapper .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    .photo-video-index .photo-wrapper .grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
.photo-video-index .photo-wrapper .grid .item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.photo-video-index .photo-wrapper .grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}
.photo-video-index .photo-wrapper .grid .item:hover img {
    transform: scale(1.1);
}

/* --- Видео --- */
.photo-video-index .video-wrapper .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .photo-video-index .video-wrapper .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.photo-video-index .video-wrapper .grid .item {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.photo-video-index .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
