/* === Breadcrumbs STYLES === */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #6c757d;
}

#breadcrumbs a {
    color: #1E3A8A;
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

/* === POST BANNER STYLES === */
.post-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f1;
    color: #1E3A8A;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    padding: 40px 0;
}

.post-banner__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px;
    width: 100%;
}

.post-banner__content {
    flex: 1 1 50%;
    max-width: 600px;
    margin-left: 40px;
}

.post-banner__title {
    font-size: clamp(36px, 5vw, 55px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #1E3A8A;
}

.post-banner__subtitle {
    font-size: 24px;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.post-banner__description {
    font-size: 18px;
    line-height: 1.5;
    color: #1E3A8A;
    margin-bottom: 30px;
}

/* Кнопка */
.blue-button {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 40px;
    background-color: #1E3A8A;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.blue-button:hover {
    background-color: #2149BA;
}

.blue-button-icon {
    width: 24px;
    height: 24px;
}

/* Правая часть с изображением */
.post-banner__image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-banner__image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    max-height: 600px;
}

.post-banner__image img:hover {
    transform: scale(1.03);
}

/* === CONTENT POST STYLES === */
.content-post {
    padding: 60px 20px;
}

.content-post .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 40px;
}

.content-post .blue-title {
    color: #1E3A8A;
    font-family: 'Geologica', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.content-post__content {
    font-family: 'Geologica', sans-serif;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.content-post__content p {
    margin-bottom: 20px;
}

.content-post__content h2,
.content-post__content h3 {
    color: #1E3A8A;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-post__content h2 {
    font-size: 28px;
}

.content-post__content h3 {
    font-size: 22px;
}

/* Списки */
.content-post__content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-post__content ul li {
    list-style: disc;
    margin-bottom: 10px;
}

/* Изображения внутри контента */
.content-post__content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CTA блок */
.content-post__cta {
    background-color: #1E3A8A;
    color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    margin: 50px 0;
}

.content-post__cta p {
    font-size: 20px;
    margin-bottom: 20px;
}

.content-post__cta .blue-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background-color: #ffffff;
    color: #1E3A8A;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-post__cta .blue-button:hover {
    background-color: #f1f1f1;
}


/* Обёртка для скролла */
.responsive-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Общие стили таблицы */
.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* минимальная ширина — важно */
}

/* Границы и отступы */
.responsive-table th,
.responsive-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}




/* =========  Layout  ========= */
.content-post__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.content-post__main {
	flex: 1 1 60%;
	min-width: 280px;
	width: 100%;
}

.service-sidebar {
	flex: 0 0 320px;   /* фиксированная ширина на десктопе */
	max-width: 100%;
}

/* =========  CTA block  ========= */
.service-cta {
	position: sticky;
    top: 150px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 2px 6px 20px rgb(0 0 0 / 24%);
    margin-right: 40px;
}

.service-cta__title {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1e3a8a;
}

.service-cta__text {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.5;
}

.cta-button {
	display: inline-block;
	background: #ff7a00;
	color: #fff;
	padding: 12px 28px;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
	background: #d86600;
}



/* About info block */

.about-info-block__text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.about-info-block__text .description {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #1E3A8A;
    font-weight: 500;
}

.features-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #1E3A8A;
    font-size: 16px;
}


.about-info-block.about-info-block--odd
 {
    background: #c3c4c742;
}

.image-caption
 {
    display: none;
}
.image-description {
    display: none;
}

.about-info-block__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-info-block__text,
.about-info-block__image {
    flex: 1 1 48%;
}

.about-info-block__image {
    max-width: 48%;
}

.about-info-block__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.about-info-blocks {
    margin: 60px auto;
    max-width: 1450px;
}

.about-info-blocks__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-info-block {
    flex: 1 1 45%;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    margin: 50px 0;
}


.about-info-block__title {
    font-size: 24px;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.about-info-block__desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-info-block__features {
    list-style: none;
    padding: 0;
}

.about-info-block__feature-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.about-info-block__feature-item::before {
    content: "✔"; /* Можно вставить SVG или иконку */
    position: absolute;
    left: 0;
    color: #1E3A8A;
    font-size: 18px;
}
.info-boxes-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-box {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-box__title {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.info-box__description {
    padding: 20px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    min-height: 120px;
}

/*  Отзывы */
.reviews__item-rating {
    margin-top: 8px;
}

.reviews__item-rating .star {
    font-size: 30px;
    color: #FFD700; /* Цвет звезд (золото) */
    margin-right: 2px;
}

.reviews__item-rating .star.empty {
    color: #ccc; /* Цвет пустой звезды */
}


.service-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	margin-top: 60px;
}

.service-content {
	min-width: 0;
}

.service-sidebar {
	position: relative;
}

.service-cta {
	position: sticky;
    top: 150px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 2px 6px 20px rgb(0 0 0 / 24%);
    margin-right: 40px;
}

.cta-button {
	display: inline-block;
	margin-top: 16px;
	padding: 12px 20px;
	background-color: rgb(255 151 0);
	color: #fff;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.cta-button:hover {
	background-color: rgb(245 158 11 / 78%);
}

.bl-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 21px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgb(30, 58, 138);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    margin: 45px;
    height: 60px;
    width: 280px;
    color: rgb(255, 255, 255);
}
    
.bl-button-icon {
    width: 45px;
    height: 45px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    gap: 45px;
    margin: 15px;
}    
.bl-button-text {
    display: inline-block;
}

.services-button-wrapper
 {
    text-align: right;
}

.or_button-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 21px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgb(255 151 0);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    margin: auto;
    height: 60px;
    width: 280px;
    color: rgb(255, 255, 255);
}


.about-info-block.about-info-block--even
 {
    background: #fdcb1f;
    border-radius: 30px;
    padding: 50px;
}



.info-blocks-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.info-blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-block {
    text-align: center;
    padding: 30px 20px;
    }

.info-block__icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.info-block__title {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-block__description {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}



.about-info-block__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.about-info-block__text {
    flex: 1 1 50%;
}

.about-info-block__text h2 {
    color: #1E3A8A;
    font-size: clamp(28px, 4vw, 34px);
    margin-bottom: 20px;
}

.about-info-block__text .description {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.features-list {
    list-style: disc;
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.about-info-block__image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    max-width: 40%;
}

.about-info-block__image img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    max-height: 650px;
    object-fit: cover;
   /* box-shadow: 0 10px 20px rgb(0 0 0 / 55%);*/
}

 .contacts-form__form {
    margin-bottom: 100px;
    }
    
/* === Адаптивность === */
@media screen and (max-width: 1300px) {
    .post-banner__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .post-banner__content,
    .post-banner__image {
        flex: 1 1 100%;
        width: 100%;
        margin: auto;
    }

    .post-banner__image {
        margin: 20px 0;
    }

    .post-banner__image img {
        width: auto;
        max-height: 550px;
        display: block;
        border-radius: 20px;
    }

    .post-banner__content {
        order: 1;
    }

    .blue-button {
        margin: 20px auto;
    }
}

@media (max-width: 1024px) {
    .info-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
     .about-info-block__content {
        text-align: center;
    }

    .about-info-block__image img {
        max-height: 350px;
    }
    .service-sidebar { flex: 0 0 280px; }
    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
	.service-layout {
		grid-template-columns: 1fr;
	}
	.service-sidebar {
		display: none;
	}
}

@media screen and (max-width: 768px) {
    .about-info-block__text,
    .about-info-block__image {
        flex: 1 1 100%;
        max-width: 100% !important;
    }

    .about-info-block__content {
        flex-direction: column;
        align-items: stretch;
    }

    .about-info-block__image img {
        max-height: 400px;
        object-fit: cover;
    }
     .about-info-block__content {
    flex-direction: column;
    }

    .about-info-block__image,
    .about-info-block__text {
    width: 100%;
    max-width: 100%;
    }
    .content-post__wrapper { flex-direction: column; }
	.service-sidebar { order: -1; }     /* ставит CTA выше основного контента, если нужно */
	.about-info-block__text,
    .about-info-block__image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-info-block__content {
        flex-direction: column;
        align-items: stretch;
    }

    /* Только для нечётных блоков — переворачиваем порядок */
    .about-info-block--odd .about-info-block__content {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 600px) {
    .about-info-block__content {
        padding: 20px;
    }

    .about-info-block__text h2 {
        font-size: 20px;
    }

    .features-list li {
        font-size: 14px;
    }
       .info-blocks-grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        padding: 20px;
    }
       .responsive-table table {
        font-size: 14px;
    }
        .post-banner {
        padding: 0;
        border-radius: 15px;
    }

    .post-banner__title {
        font-size: 28px;
    }

    .post-banner__subtitle {
        font-size: 18px;
    }

    .blue-button {
        padding: 12px 30px;
        font-size: 16px;
        margin: auto;
    }

    .blue-button-icon {
        width: 20px;
        height: 20px;
    }
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
	.service-cta { padding: 18px; }
	.cta-button { width: 100%; padding: 14px 0; }
	.content-post__content {
    font-family: 'Geologica', sans-serif;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
    }
    .or__button {
    display: block;
    width: fit-content;
    margin: 36px auto;
    }
    .about-info-block.about-info-block--even {
    padding: 5px;
    }
   

}

@media (max-width: 380px) {
    .content-post__content
 {
        font-family: 'Geologica', sans-serif;
        font-size: 18px;
        color: #333333;
        line-height: 1.6;
        max-width: 320px;
        margin: 0 auto;
        padding: 10px;
    }
        section.content-post {
        padding: 5px;
    }   
    .content-post .container {
    padding: 0px;
    }
    .or_button-link {
    min-width: 190px;
    width: 200px;
    }
}
