/* Blog page — 1920×1080 design → vw / % */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #F8F9FC;
  color: #0B1D36;
  min-height: 100vh;
  overflow-x: hidden;
}

.header-placeholder {
  width: 100%;
  height: 5.625vw;
  min-height: 60px;
  background: #0B1D36;
}

/* ========== PAGE HERO ========== */
.page-hero {
  width: 100%;
  height: 9.844vw; /* 189px */
  min-height: 120px;
  background: #0B1D36;
  display: flex;
  align-items: center;
}

.page-hero__inner {
  width: 100%;
  padding-left: 5.677vw; /* 109px */
  padding-right: 5vw;
  display: flex;
  align-items: flex-start;
  gap: 2.45vw;
}

.page-hero__back {
  width: 2.604vw; /* 50px */
  height: 2.604vw;
  min-width: 40px;
  min-height: 40px;
  background: rgba(29, 78, 144, 0.5);
  border-radius: 0.417vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2vw;
  transition: background 0.2s;
  text-decoration: none;
}

.page-hero__back:hover {
  background: rgba(29, 78, 144, 0.8);
}

.page-hero__back svg {
  width: 2.083vw;
  height: 2.083vw;
  min-width: 28px;
  min-height: 28px;
}

.page-hero__breadcrumb {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.729vw; /* 14px */
  line-height: 0.885vw;
  color: rgba(232, 240, 254, 0.7);
  margin-bottom: 0.8vw;
}

.page-hero__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.5vw; /* 48px */
  line-height: 3.021vw;
  color: #E8F0FE;
  margin-bottom: 0.2vw;
}

.page-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.25vw; /* 24px */
  line-height: 1.51vw;
  color: #E8F0FE;
}

/* ========== BLOG MAIN ========== */
.blog-main {
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
  padding: 5.625vw 8.958vw 4vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
}
@media (max-width: 1100px) {
  .blog-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-main { grid-template-columns: 1fr; }
}

/* Card: 500×467 */
.blog-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  background: #FFFFFF;
  border: 1px solid #E5E9F1;
  border-radius: 0.417vw; /* 8px */
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card__image {
  width: 100%;
  height: 12.292vw; /* 236px */
  min-height: 140px;
  background: #EBF6FF;
  border-radius: 0.417vw 0.417vw 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__placeholder svg {
  width: 7.813vw; /* ~150px */
  height: 6.458vw;
  max-width: 120px;
  max-height: 100px;
}

.blog-card__body {
  padding: 1.77vw 1.77vw 2vw; /* ~34px */
}

.blog-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.25vw; /* 24px */
  line-height: 1.51vw;
  color: #000000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .page-hero {
    height: auto;
    min-height: 100px;
    padding: 16px 0;
  }
  .page-hero__inner {
    padding-left: 4vw;
  }
  .page-hero__title {
    font-size: 32px;
  }
  .page-hero__subtitle {
    font-size: 18px;
  }
  .page-hero__breadcrumb {
    font-size: 13px;
  }
  .blog-main {
    padding: 32px 4vw;
    justify-content: center;
  }
  .blog-card {
    width: 100%;
    max-width: 400px;
  }
  .blog-card__image {
    height: 180px;
  }
  .blog-card__title {
    font-size: 18px;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .header-placeholder {
    height: 56px;
  }
  .page-hero__back {
    width: 40px;
    height: 40px;
  }
  .page-hero__title {
    font-size: 26px;
  }
  .page-hero__subtitle {
    font-size: 15px;
  }
  .blog-card__image {
    height: 150px;
  }
  .blog-card__title {
    font-size: 16px;
  }
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
}
.blog-card__placeholder img,
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ========== FOOTER (shared) ========== */
.footer {
  width: 100%;
  min-height: 7.344vw;
  background: #0B1D36;
  padding: 3vw 7.81vw 2.5vw;
  color: #E8F0FE;
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 2.5vw 3vw;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
}
.footer__logo {
  width: 3.2vw;
  height: 3.2vw;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer__logo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px rgba(232, 240, 254, 0.35);
}
.footer__logo:active { transform: scale(0.96); }
.footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95vw;
  line-height: 1.4;
  color: rgba(232, 240, 254, 0.75);
  max-width: 18vw;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6vw 1.6vw;
  align-content: flex-start;
}
.footer__link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1vw;
  line-height: 1.5;
  color: #E8F0FE;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__link:hover { opacity: 0.75; }
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}
.footer__contact {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1vw;
  line-height: 1.5;
  color: #E8F0FE;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__contact:hover { opacity: 0.75; }
.footer__copyright {
  grid-column: 1 / -1;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9vw;
  line-height: 1.4;
  color: rgba(232, 240, 254, 0.55);
  margin-top: 1vw;
  padding-top: 1.2vw;
  border-top: 1px solid rgba(232, 240, 254, 0.12);
}
@media (max-width: 1024px) {
  .footer { padding: 32px 24px 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__tagline { font-size: 14px; max-width: none; }
  .footer__nav { gap: 12px 20px; }
  .footer__link, .footer__contact { font-size: 15px; }
  .footer__copyright { font-size: 13px; margin-top: 8px; padding-top: 16px; }
}
