/* ── Blog ── */

.blog-page {
  min-height: 100vh;
  background: #fff;
  color: var(--navy, #0d2b6e);
}

.blog-page__inner {
  max-width: 1280px;
  margin: 0 auto; 
  padding: 0 clamp(16px, 2.4vw, 40px) 96px;
}

.blog-page__meta {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.blog-page__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(260px, 320px);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.blog-layout--news {
  grid-template-columns: minmax(0, 1fr);
}

.blog-layout--news .blog-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 36px;
}

.blog-layout--news .blog-article {
  min-width: 0;
  margin-bottom: 0;
}

.blog-layout--news .blog-article__visual {
  margin-bottom: 26px;
}

.blog-layout--news .blog-pagination {
  margin-top: 64px;
}

.blog-feed {
  min-width: 0;
}

.blog-related-products {
  border-top: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-related-articles {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-related-articles__title {
  margin: 0 0 28px;
  color: #2e6eb4;
  font-size: 28px;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.blog-related-articles .blog-article {
  min-width: 0;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.blog-related-articles .blog-article__visual {
  margin-bottom: 20px;
}

.blog-related-articles .blog-article__visual--empty {
  padding: 20px;
  font-size: 22px;
  letter-spacing: 0;
  text-align: center;
}

.blog-related-articles .blog-article__excerpt {
  margin-top: 16px;
  font-size: 15px;
}

.blog-topic {
  margin-bottom: 52px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-topic__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}

.blog-topic__description {
  max-width: 720px;
  color: rgba(13, 43, 110, 0.76);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.blog-article {
  display: block;
  margin-bottom: clamp(68px, 7vw, 96px);
}

.blog-article__visual {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: clamp(26px, 2vw, 44px);
  overflow: hidden;
  background: #f2f5f9;
  text-decoration: none;
}

.blog-article__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-article__visual--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 43, 110, 0.12);
  color: rgba(13, 43, 110, 0.46);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article__content {
  max-width: 100%;
}

.blog-article__meta,
.blog-article__submeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(13, 43, 110, 0.46);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-article__meta span:not(:last-child)::after,
.blog-article__submeta span:not(:last-child)::after {
  content: "•";
  margin-left: 9px;
  color: rgba(13, 43, 110, 0.26);
}

.blog-article__title {
    margin: 12px 0 8px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    font-size: var(--fs-fluid-featured-card-title);
    text-transform: uppercase;
    color: #2e6eb4;
}

.blog-article__title a {
  color: inherit;
  text-decoration: none;
}

.blog-article__title a:hover {
  color: #2e6eb4;
}

.blog-article__excerpt {
  margin: 22px 0 0;
  color: #061a3f;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
}

.blog-article__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 43, 110, 0.16);
}

.blog-article__author,
.blog-article__read {
  color: rgba(13, 43, 110, 0.68);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-article__read {
  color: #061a3f;
}

.blog-article__read::before {
  content: "►";
  margin-right: 7px;
  color: #2e6eb4;
  font-size: 10px;
}

.blog-article__author:hover,
.blog-article__read:hover {
  color: #2e6eb4;
}

.blog-sidebar {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.blog-sidebar__block {
  display: block;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(13, 43, 110, 0.1);
}

.blog-sidebar__label {
  display: block;
  margin-bottom: 18px;
  color: rgba(13, 43, 110, 0.44);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-sidebar__accordion {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.blog-sidebar__accordion-toggle {
  display: none;
}

.blog-sidebar__accordion-panel {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.blog-search__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  height: 48px;
  border: 1px solid rgba(13, 43, 110, 0.16);
  background: #fff;
}

.blog-search__control input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 15px;
  color: #061a3f;
  font-size: 15px;
  background: transparent;
}

.blog-search__control input:focus {
  outline: none;
}

.blog-search__control button {
  width: 30px;
  height: 30px;
  margin-right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #061a3f;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}

.blog-search__control button:hover {
  background: #2e6eb4;
}

.blog-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-topics__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #061a3f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.blog-topics__item span {
  min-width: 0;
}

.blog-topics__item strong {
  min-width: 34px;
  padding: 4px 7px;
  background: #061a3f;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.blog-topics__item:hover,
.blog-topics__item.is-active {
  color: #2e6eb4;
}

.blog-topics__item:hover strong,
.blog-topics__item.is-active strong {
  background: #2e6eb4;
}

.blog-sort {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 14px;
  border: 1px solid rgba(13, 43, 110, 0.16);
  border-radius: 0;
  background: #fff;
  color: #061a3f;
  font-size: 14px;
}

.blog-empty {
  margin: 0;
  padding: 44px 0;
  color: rgba(13, 43, 110, 0.58);
  font-size: 18px;
}

.blog-pagination {
  margin-top: -28px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-pagination .pagination {
  margin: 0;
}

.blog-pagination__results {
  margin: 14px 0 0;
  color: rgba(13, 43, 110, 0.52);
  font-size: 13px;
}

.blog-post__content {
  max-width: 780px;
}

.blog-post__visual {
  margin-bottom: clamp(30px, 4vw, 56px);
}

.blog-post__title {
  margin: 12px 0 12px;
  font-weight: 400;
  font-size: var(--fs-product-title);
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: #2d6cb2;
}

.blog-post__body {
  margin-top: clamp(28px, 3vw, 42px);
  color: #061a3f;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.72;
}

.blog-post__body > :first-child {
  margin-top: 0;
}

.blog-post__body > :last-child {
  margin-bottom: 0;
}

.blog-post__body p {
  margin: 0 0 1.25em;
}

.blog-post__body h2,
.blog-post__body h3,
.blog-post__body h4 {
  margin: 1.6em 0 0.65em;
  color: #061a3f;
  font-weight: 700;
  line-height: 1.12;
}

.blog-post__body h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.blog-post__body h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.blog-post__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 34px 0;
}

.blog-post__body a {
  color: #2e6eb4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.blog-post__body blockquote {
  margin: 34px 0;
  padding: 2px 0 2px 24px;
  border-left: 3px solid #2e6eb4;
  color: rgba(6, 26, 63, 0.78);
  font-size: 1.08em;
}

.blog-post__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-post__tags span {
  color: rgba(13, 43, 110, 0.46);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post__tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(13, 43, 110, 0.14);
  color: #061a3f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-post__tags a:hover {
  border-color: #2e6eb4;
  color: #2e6eb4;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(42px, 5vw, 72px);
}

.blog-post-nav__link {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(13, 43, 110, 0.16);
  color: #061a3f;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.blog-post-nav__link--next {
  text-align: right;
}

.blog-post-nav__link span {
  color: rgba(13, 43, 110, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post-nav__link strong {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.25;
}

.blog-post-nav__link:hover {
  border-color: #2e6eb4;
  background: rgba(46, 110, 180, 0.035);
  color: #2e6eb4;
}

.blog-post__comments {
  max-width: 780px;
  margin: 56px 0 0 clamp(0px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid rgba(13, 43, 110, 0.14);
}

.blog-post__body table p {
  text-align: left!important;
}

.blog-post__body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
}

.blog-post__body th,
.blog-post__body td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(13, 43, 110, 0.16);
}

.blog-post__body th {
  background: #f2f5f9;
  font-weight: 600;
}

.blog-post__body tbody tr {
  transition: background-color 0.15s ease;
}

.blog-post__body tbody tr:hover {
  background: rgba(242, 245, 249, 0.6);
}

@media (max-width: 1100px) {
  .blog-post__body {
    font-weight: 400;
  }
  .blog-related-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-post__body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
  }

  .blog-post__body th,
  .blog-post__body td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .blog-sidebar {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .blog-sidebar__block {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .blog-sidebar__accordion,
  .blog-sidebar__accordion-panel {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .blog-related-articles {
    margin-top: 40px;
    padding-top: 24px;
  }

  .blog-related-articles__title {
    font-size: 24px;
  }

  .blog-related-articles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

	.blog-layout--news .blog-feed__grid {
		grid-template-columns: 1fr;
		gap: 58px;
	}

  .blog-page__inner {
    padding-inline: 16px;
    padding-bottom: 64px;
  }

  .blog-page__meta {
    margin-bottom: 20px;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .blog-sidebar__block {
    padding-bottom: 0;
    border-bottom: none;
  }

  .blog-sidebar__accordion {
    gap: 0;
  }

  .blog-page--article .blog-sidebar__accordion {
    display: none;
  }

  .blog-sidebar__accordion-toggle {
    width: 100%;
    min-height: 45px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(71, 112, 183, 0.34);
    border-radius: 0;
    background: rgba(238, 245, 255, 0.95);
    color: #4a6fba;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .blog-sidebar__accordion-toggle span {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }

  .blog-sidebar__accordion-toggle svg {
    grid-column: 3;
    justify-self: end;
    transition: transform .2s ease;
  }

  .blog-sidebar__accordion.is-open .blog-sidebar__accordion-toggle svg {
    transform: rotate(180deg);
  }

  .blog-sidebar__accordion-panel {
    display: none;
    gap: 22px;
    padding-top: 18px;
  }

  .blog-sidebar__accordion.is-open .blog-sidebar__accordion-panel {
    display: flex;
  }

  .blog-article {
    margin-bottom: 58px;
  }

  .blog-article__visual {
    aspect-ratio: 3 / 2;
    margin-bottom: 24px;
  }

  .blog-article__content {
    margin-left: 0;
  }

  .blog-article__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .blog-post__comments {
    margin-left: 0;
  }

  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-post-nav__link--next {
    text-align: left;
  }
}

