.case-blog-section {
  padding: 20px 0 110px;
  /* background:
    radial-gradient(circle at top left, rgba(39, 202, 201, 0.09), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #ffffff 100%); */
}

.case-blog-section .container {
  /* max-width: 1240px; */
}

.case-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 360px);
  gap: 34px;
  align-items: start;
}

.case-blog-feed {
  display: grid;
  gap: 30px;
}

.case-blog-card {
  background: #ffffff;
  border: 1px solid rgba(11, 28, 57, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 42, 84, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 202, 201, 0.55);
  box-shadow: 0 24px 50px rgba(16, 42, 84, 0.12);
}

.case-blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9f2f8;
}

.case-blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 47, 0) 38%, rgba(8, 22, 47, 0.22) 100%);
}

.case-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-blog-card:hover .case-blog-card-media img {
  transform: scale(1.03);
}

.case-blog-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #27cac9;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-blog-card-content {
  padding: 26px 28px 30px;
}

.case-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: #66758f;
  font-size: 14px;
  font-weight: 600;
}

.case-blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-blog-card-meta i {
  color: #27cac9;
}

.case-blog-card-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.case-blog-card-title a {
  color: #10254d;
  text-decoration: none;
  transition: color 0.25s ease;
}

.case-blog-card-title a:hover {
  color: #27cac9;
}

.case-blog-card-text {
  margin: 0;
  color: #65748f;
  font-size: 16px;
  line-height: 1.75;
}

.case-blog-sidebar {
  align-self: start;
}

.case-blog-sidebar-sticky {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 22px;
}

.case-blog-widget {
  padding: 28px 24px;
  border: 1px solid rgba(11, 28, 57, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 42, 84, 0.07);
}

.case-blog-widget-title {
  margin: 0 0 18px;
  color: #10254d;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.case-blog-search {
  position: relative;
}

.case-blog-search input {
  width: 100%;
  height: 56px;
  padding: 0 62px 0 18px;
  border: 1px solid rgba(16, 37, 77, 0.11);
  border-radius: 16px;
  background: #f6f9fd;
  color: #10254d;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.case-blog-search input:focus {
  border-color: rgba(39, 202, 201, 0.65);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(39, 202, 201, 0.12);
}

.case-blog-search button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #10254d;
  color: #ffffff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.case-blog-search button:hover {
  background: #27cac9;
  transform: translateY(-1px);
}

.case-blog-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-blog-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #4f5f79;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.case-blog-list a::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #27cac9;
  font-size: 12px;
}

.case-blog-list a:hover {
  color: #10254d;
  transform: translateX(3px);
}

.case-blog-recent-list {
  display: grid;
  gap: 16px;
}

.case-blog-recent-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.case-blog-recent-item img {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(16, 42, 84, 0.12);
}

.case-blog-recent-item span {
  display: block;
  margin-bottom: 4px;
  color: #7c8aa3;
  font-size: 13px;
  font-weight: 600;
}

.case-blog-recent-item strong {
  display: block;
  color: #10254d;
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.case-blog-recent-item:hover strong {
  color: #27cac9;
}

.case-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-blog-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 37, 77, 0.1);
  border-radius: 999px;
  background: #f7fafe;
  color: #4d5e78;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.case-blog-tags a:hover {
  border-color: #27cac9;
  background: #27cac9;
  color: #ffffff;
}

@media (max-width: 1199.98px) {
  .case-blog-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 320px);
    gap: 28px;
  }

  .case-blog-card-title {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .case-blog-section {
    padding: 10px 0 90px;
  }

  .case-blog-layout {
    grid-template-columns: 1fr;
  }

  .case-blog-sidebar-sticky {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .case-blog-section {
    padding-bottom: 72px;
  }

  .case-blog-feed {
    gap: 22px;
  }

  .case-blog-card-content,
  .case-blog-widget {
    padding: 22px 18px;
  }

  .case-blog-card-title {
    font-size: 22px;
  }
}

@media (max-width: 575.98px) {
  .case-blog-section .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-blog-card-meta {
    font-size: 13px;
  }

  .case-blog-card-title {
    font-size: 20px;
  }

  .case-blog-card-text {
    font-size: 15px;
  }

  .case-blog-recent-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .case-blog-recent-item img {
    width: 68px;
    height: 68px;
  }
}
