.blog-page {
  padding: 50px 0;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-item {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-title {
  color: #1E3A8A;
  font-size: 22px;
  margin-bottom: 10px;
}

.blog-title a {
  text-decoration: none;
}

.blog-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.blog-excerpt {
  flex: 1;
  margin-bottom: 20px;
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  background-color: #1E3A8A;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.pagination a:hover {
  background-color: #2a4cb4;
}

@media screen and (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Категория / Архив */
.blog-category-page {
  padding: 50px 0;
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-description {
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media screen and (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Одна статья */
.single-post-page {
  padding: 50px 0;
}

.single-post-header {
  text-align: center;
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #777;
}

.single-post-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.single-post-content {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.post-tags {
  margin-top: 30px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

/* ========================= */
/* Single Post Styling */
/* ========================= */

.single-post-page {
  padding: 80px 0;
}

.breadcrumbs {
  margin-bottom: 30px;
}

.single-post-header {
  text-align: center;
  margin-bottom: 40px;
}

.single-post-header h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: #1E3A8A;
  font-weight: 700;
  margin-bottom: 15px;
}

.post-meta {
  color: #888;
  font-size: 14px;
}

.single-post-thumb {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.single-post-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.single-post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 50px;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 10px;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1E3A8A;
}

.single-post-content ul,
.single-post-content ol {
  margin: 20px 0;
  padding-left: 20px;
}

.single-post-content blockquote {
  background: #f9f9f9;
  padding: 20px;
  margin: 40px 0;
  border-left: 5px solid #1E3A8A;
  color: #555;
}

.post-tags {
  margin-bottom: 40px;
  text-align: center;
}

.post-tags span {
  font-weight: 500;
  color: #333;
}

.post-tags a {
  display: inline-block;
  margin: 0 5px;
  background-color: #1E3A8A;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.post-tags a:hover {
  background-color: #2D50C6;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
}

.post-navigation a {
  display: inline-block;
  padding: 12px 20px;
  background-color: #1E3A8A;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.post-navigation a:hover {
  background-color: #2D50C6;
}

@media screen and (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
    align-items: center;
  }

  .post-navigation a {
    width: 100%;
    text-align: center;
  }
}


/* 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;
}

/* Для мобильных: делаем блоки 100% ширины */
@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;
    }
}





/* ✅ Адаптивность */


@media (max-width: 768px) {
  .about-info-block__content {
    flex-direction: column;
  }

  .about-info-block__image,
  .about-info-block__text {
    width: 100%;
    max-width: 100%;
  }
}

@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;
    }
}




.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;
}

/* Адаптив */
@media (max-width: 1024px) {
    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}

.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;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .info-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .info-blocks-grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        padding: 20px;
    }
}

.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%);*/
}

/* Базовая адаптивность: обе колонки по 100% */
@media screen and (max-width: 768px) {
    .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: 1024px) {
    .about-info-block__content {
        text-align: center;
    }

    .about-info-block__image img {
        max-height: 350px;
    }
}

/*  Отзывы */
.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%);
}

@media (max-width: 991px) {
	.service-layout {
		grid-template-columns: 1fr;
	}
	.service-sidebar {
		display: none;
	}
}



.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: 45px;
    height: 60px;
    width: 280px;
    color: rgb(255, 255, 255);
}


/*.about-info-block.about-info-block--even
 {
    background: #fdcb1f;
    border-radius: 10px;
    padding: 50px;
}
*/
