@charset "UTF-8";

.header .navbar-expand-lg .navbar-nav .nav-link {
  padding-left: 18px;
  padding-right: 18px;
}

.blog-page {
  background: #fbfcf4;
  color: #4e5d68;
  min-height: 60vh;
}

.blog-page h1,
.blog-page h2,
.blog-page h3,
.blog-page p,
.blog-page a,
.blog-page span,
.blog-page time {
  letter-spacing: 0;
}

.blog-hero,
.blog-detail-hero {
  background: #e3edf8;
  border-bottom: 1px solid #b8cbe8;
  padding: 92px 0 58px;
}

.blog-detail-hero {
  padding-bottom: 48px;
  overflow: hidden;
  position: relative;
}

.blog-hero {
  overflow: hidden;
  position: relative;
}

.blog-hero::before,
.blog-hero::after,
.blog-detail-hero::before,
.blog-detail-hero::after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.blog-hero::before,
.blog-detail-hero::before {
  background-image: url("../images/bg_left.png");
  height: 330px;
  left: 0;
  top: 56px;
  width: 220px;
}

.blog-hero::after,
.blog-detail-hero::after {
  background-image: url("../images/bg_right.png");
  height: 360px;
  right: -28px;
  top: 24px;
  width: 210px;
}

.blog-hero .container,
.blog-detail-hero .container {
  position: relative;
  z-index: 1;
}

.blog-eyebrow {
  color: #1d2087;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-hero h1,
.blog-detail-heading h1 {
  color: #1d2087;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

.blog-hero h1 {
  /*border-left: 8px solid #1d2087;*/
  font-size: 46px;
  line-height: 1.18;
  /*padding-left: 24px;*/
}

.blog-hero p {
  color: #5f78a2;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  max-width: 680px;
}

.blog-list-section,
.blog-detail-section {
  padding: 54px 0 76px;
}

.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.blog-tabs a {
  align-items: center;
  background: #fff;
  border: 1px solid #b8cbe8;
  border-radius: 999px;
  color: #4b65a5;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 18px;
  position: relative;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.blog-tabs a:hover,
.blog-tabs a.active {
  background: #1d2087;
  border-color: #1d2087;
  color: #fff;
}

.blog-tabs a:hover {
  box-shadow: 0 10px 22px rgba(45, 74, 123, 0.12);
  transform: translateY(-2px);
}

.blog-tabs a.active {
  box-shadow: 0 12px 24px rgba(29, 32, 135, 0.18);
}

.blog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  background: #fff;
  border: 1px solid #d8e3f1;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 74, 123, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.blog-card::after {
  background: #1d2087;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease;
  width: 100%;
}

.blog-card:hover {
  border-color: #b8cbe8;
  box-shadow: 0 22px 42px rgba(45, 74, 123, 0.13);
  transform: translateY(-4px);
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  background: #dfe9f6;
  display: block;
  overflow: hidden;
  position: relative;
}

.blog-card-image::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 54%,
    rgba(29, 32, 135, 0.08) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.blog-card-image img,
.blog-detail-cover img,
.blog-related-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.blog-card-meta {
  align-items: center;
  color: #7d93b7;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.blog-card-meta a,
.blog-card-meta span {
  background: #edf3fb;
  border: 1px solid #c6d8ee;
  border-radius: 999px;
  color: #1d2087;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
}

.blog-card-meta time {
  color: #6d84ad;
  font-size: 13px;
}

.blog-card h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.42;
  margin: 0 0 14px;
}

.blog-card h2 a {
  color: #27346e;
}

.blog-card h2 a:hover {
  color: #1d2087;
}

.blog-card p {
  color: #5f6f7c;
  flex: 1;
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 22px;
}

.blog-readmore,
.blog-back-link {
  color: #1d2087;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
}

.blog-readmore:hover,
.blog-back-link:hover {
  color: #4b65a5;
}

.blog-empty {
  background: #fff;
  border: 1px solid #d8e3f1;
  border-radius: 8px;
  color: #6b7b88;
  padding: 42px 24px;
  text-align: center;
}

.blog-empty p,
.blog-side-empty {
  margin: 0;
}

.blog-pagination {
  margin-top: 38px;
  text-align: center;
}

.blog-pagination .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.blog-pagination .pagination li a,
.blog-pagination .pagination li span,
.blog-pagination a {
  background: #fff;
  border: 1px solid #b8cbe8;
  border-radius: 8px;
  color: #4b65a5;
  display: inline-flex;
  font-size: 14px;
  min-height: 38px;
  min-width: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
}

.blog-pagination .pagination .active a,
.blog-pagination .pagination .active span,
.blog-pagination a.active,
.blog-pagination a:hover {
  background: #1d2087;
  border-color: #1d2087;
  color: #fff;
}

.blog-detail-heading {
  border-left: 8px solid #1d2087;
  max-width: 860px;
  padding-left: 24px;
}

.blog-readmore {
  align-items: center;
  align-self: flex-start;
  background: #fff;
  border: 1px solid #b8cbe8;
  border-radius: 999px;
  gap: 8px;
  min-height: 38px;
  padding: 7px 15px;
}

.blog-readmore::after {
  border-bottom: 5px solid transparent;
  border-left: 7px solid #1d2087;
  border-top: 5px solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  width: 0;
}

.blog-readmore:hover {
  background: #1d2087;
  border-color: #1d2087;
  color: #fff;
}

.blog-readmore:hover::after {
  border-left-color: #fff;
}

.blog-detail-heading .blog-card-meta {
  margin-bottom: 16px;
}

.blog-detail-heading .blog-card-meta a,
.blog-detail-heading .blog-card-meta span {
  background: #fff;
  border: 1px solid #b8cbe8;
  border-radius: 999px;
  color: #1d2087;
  padding: 5px 13px;
}

.blog-detail-heading h1 {
  font-size: 46px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.blog-author {
  color: #5f78a2;
  font-size: 17px;
  margin: 0;
}

.blog-back-link {
  align-items: center;
  background: #fff;
  border: 1px solid #b8cbe8;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(45, 74, 123, 0.08);
  gap: 8px;
  margin-bottom: 22px;
  min-height: 38px;
  padding: 7px 15px;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.blog-back-link::before {
  border-bottom: 5px solid transparent;
  border-right: 7px solid #1d2087;
  border-top: 5px solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  transition: border-right-color 0.25s ease, transform 0.25s ease;
  width: 0;
}

.blog-back-link:hover {
  background: #1d2087;
  border-color: #1d2087;
  box-shadow: 0 12px 24px rgba(29, 32, 135, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

.blog-back-link:hover::before {
  border-right-color: #fff;
  transform: translateX(-2px);
}

.blog-detail-cover {
  aspect-ratio: 16 / 7;
  background: #dfe9f6;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(45, 74, 123, 0.1);
  margin: 34px 0 0;
  overflow: hidden;
}

.blog-detail-layout {
  align-items: flex-start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.blog-main-column {
  min-width: 0;
}

.blog-bottom-actions {
  margin-top: 28px;
  text-align: center;
}

.blog-bottom-actions .blog-back-link {
  margin-bottom: 0;
}

.blog-article {
  background: #fff;
  border: 1px solid #d8e3f1;
  border-radius: 8px;
  color: #4f5d68;
  font-size: 17px;
  line-height: 2;
  min-width: 0;
  padding: 42px;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
  color: #1d2087;
  font-weight: 700;
  line-height: 1.45;
  margin: 1.6em 0 0.8em;
}

.blog-article p,
.blog-article li {
  font-size: 17px;
  line-height: 2;
}

.blog-article p {
  margin: 0 0 1.25em;
}

.blog-article img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.blog-article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.blog-side-panel {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 104px;
}

.blog-side-block {
  background: #fff;
  border: 1px solid #d8e3f1;
  border-radius: 8px;
  padding: 22px;
}

.blog-side-block h2 {
  color: #1d2087;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 18px;
}

.blog-share-links {
  display: grid;
  gap: 10px;
}

.blog-share-links a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  gap: 10px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  transition: box-shadow 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.blog-share-links a i,
.blog-line-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 24px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.blog-share-links a i {
  font-size: 16px;
}

.blog-line-logo {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.blog-share-facebook {
  background: #1877f2;
  box-shadow: 0 10px 22px rgba(24, 119, 242, 0.18);
}

.blog-share-line {
  background: #06c755;
  box-shadow: 0 10px 22px rgba(6, 199, 85, 0.18);
}

.blog-share-links a:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.blog-related-list {
  display: grid;
  gap: 16px;
}

.blog-related-item {
  color: #41546a;
  display: grid;
  gap: 12px;
  grid-template-columns: 82px minmax(0, 1fr);
}

.blog-related-image {
  aspect-ratio: 1 / 1;
  background: #dfe9f6;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.blog-related-text {
  display: block;
  min-width: 0;
}

.blog-related-text strong {
  color: #27346e;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-related-text time {
  color: #8495a4;
  display: block;
  font-size: 13px;
  margin-top: 6px;
}

.blog-related-item:hover strong {
  color: #1d2087;
}

@media (max-width: 1199px) {
  .header .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 12px;
    padding-right: 12px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .blog-hero,
  .blog-detail-hero {
    padding: 64px 0 42px;
  }

  .blog-hero::before,
  .blog-detail-hero::before {
    height: 220px;
    left: -80px;
    top: 36px;
    width: 150px;
  }

  .blog-hero::after,
  .blog-detail-hero::after {
    height: 230px;
    right: -96px;
    top: 18px;
    width: 150px;
  }

  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-side-panel {
    position: static;
  }
}

@media (max-width: 767px) {
  .blog-hero h1,
  .blog-detail-heading h1 {
    font-size: 32px;
  }

  .blog-hero h1,
  .blog-detail-heading {
    border-left-width: 6px;
    padding-left: 16px;
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-list-section,
  .blog-detail-section {
    padding: 36px 0 54px;
  }

  .blog-tabs {
    flex-wrap: nowrap;
    margin-left: -15px;
    margin-right: -15px;
    overflow-x: auto;
    padding: 0 15px 4px;
  }

  .blog-tabs a {
    flex: 0 0 auto;
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card-body,
  .blog-side-block {
    padding: 18px;
  }

  .blog-detail-cover {
    aspect-ratio: 4 / 3;
    border-width: 6px;
  }

  .blog-article {
    font-size: 16px;
    line-height: 1.9;
    padding: 24px 18px;
  }

  .blog-article p,
  .blog-article li {
    font-size: 16px;
    line-height: 1.9;
  }
}
