/* 2026 homepage polish: preserve UX Builder content and lighten only its visual shell. */
body.home .section:has(.tim-truong-shortcode) {
  background: linear-gradient(135deg, #fff7d8 0%, #ffefaa 52%, #fff8dc 100%) !important;
}

body.home .section:has(.tim-truong-shortcode) .section-title-main {
  color: var(--edu-ink) !important;
  font-size: 20px !important;
  letter-spacing: 0.01em;
}

body.home section.cacbuoc {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
}

body.home section.cacbuoc .col > .col-inner {
  height: 100%;
  padding: 18px 12px 16px !important;
  border: 1px solid #e5eaf0;
  border-radius: 13px;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(30, 48, 70, 0.06) !important;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease !important;
}

body.home section.cacbuoc .col > .col-inner::before {
  content: counter(edu-process, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: #b7c0cc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.home section.cacbuoc .row {
  counter-reset: edu-process;
}

body.home section.cacbuoc .col {
  counter-increment: edu-process;
}

body.home section.cacbuoc .col-inner .img-inner {
  border-radius: 10px !important;
  background: #fff7d6;
}

body.home section.cacbuoc .col-inner :is(h3, h4, h5, strong) {
  color: var(--edu-ink) !important;
}

body.home section.cacbuoc .col-inner p {
  margin-bottom: 0;
  color: var(--edu-muted);
  font-weight: 400;
}

@media (hover: hover) and (pointer: fine) {
  body.home section.cacbuoc .col > .col-inner:hover {
    transform: translateY(-3px);
    border-color: #d6dee8;
    box-shadow: 0 12px 28px rgba(30, 48, 70, 0.1) !important;
  }
}

body.home .edu-country-section {
  padding-top: 28px !important;
  padding-bottom: 32px !important;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%) !important;
}

body.home .edu-country-section .section-title-container {
  margin-bottom: 0;
}

body.home .edu-country-section .section-title {
  margin-bottom: 0;
}

body.home .edu-country-section .section-title b {
  height: 1px;
  background: #e5eaf0;
  opacity: 1;
}

body.home .edu-country-section .section-title-main {
  position: relative;
  padding: 0 18px 13px;
  color: var(--edu-ink) !important;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

body.home .edu-country-section .section-title-main::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 86px;
  height: 3px;
  border-radius: 999px;
  background: var(--edu-primary);
  content: "";
  transform: translateX(-50%);
}

body.home .edu-country-subtitle {
  margin: 10px auto 22px;
  padding: 0 16px;
  color: #6b7789;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

body.home .home-danhmuc-slider {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 58px 6px;
}

body.home .edu-country-carousel {
  position: relative;
  width: 100%;
}

body.home .edu-country-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

body.home .edu-country-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

body.home .edu-country-page {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 0 0 100%;
  gap: 16px 18px;
  width: 100%;
  padding: 3px;
}

body.home .home-danhmuc-slider .edu-country-card {
  width: auto !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 13px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(30, 48, 70, 0.07) !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

body.home .home-danhmuc-slider .edu-country-card > .section-bg {
  display: none;
}

body.home .home-danhmuc-slider .edu-country-card > .section-content {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  height: 100%;
  padding: 0 !important;
}

body.home .home-danhmuc-slider .edu-country-card .img {
  width: 70px !important;
  margin: 0 !important;
}

body.home .home-danhmuc-slider .edu-country-card .img-inner {
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 50% !important;
  background: #fff;
  box-shadow: none;
  transition: transform 180ms ease;
}

body.home .home-danhmuc-slider .edu-country-card img {
  display: block;
  width: 100% !important;
  aspect-ratio: 1;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  object-fit: cover;
}

body.home .home-danhmuc-slider .edu-country-card h2 {
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--edu-ink) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-align: left;
}

body.home .home-danhmuc-slider .edu-country-card h2::after {
  display: none !important;
}

body.home .home-danhmuc-slider .edu-country-card h2 a {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  color: inherit !important;
  text-decoration: none !important;
}

body.home .edu-country-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home .edu-country-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--edu-primary);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

body.home .edu-country-link::after {
  width: 14px;
  height: 14px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13 5-1.4 1.4 4.6 4.6H4v2h12.2l-4.6 4.6L13 19l7-7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13 5-1.4 1.4 4.6 4.6H4v2h12.2l-4.6 4.6L13 19l7-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.home .edu-country-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid #e1e7ee;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.98);
  color: #33455d;
  box-shadow: 0 7px 20px rgba(30, 48, 70, 0.12);
  opacity: 1;
  transform: translateY(-50%);
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.home .edu-country-control.is-prev {
  left: -52px;
}

body.home .edu-country-control.is-next {
  right: -52px;
}

body.home .edu-country-chevron {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

body.home .is-prev .edu-country-chevron {
  transform: rotate(-135deg);
}

body.home .is-next .edu-country-chevron {
  transform: rotate(45deg);
}

body.home .edu-country-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

body.home .edu-country-dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  min-height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dce2e9;
  box-shadow: none;
  opacity: 1;
  transition: width 160ms ease, border-radius 160ms ease, background 160ms ease;
}

body.home .edu-country-dot.is-active {
  width: 22px;
  background: var(--edu-primary);
}

body.home .edu-country-cta {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 1040px);
  margin: 22px auto 0;
  padding: 13px 16px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  box-shadow: 0 5px 18px rgba(30, 48, 70, 0.04);
  text-align: left;
}

body.home .edu-country-cta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  color: var(--edu-primary);
  box-shadow: 0 5px 14px rgba(30, 48, 70, 0.08);
}

body.home .edu-country-cta-icon::before {
  width: 22px;
  height: 22px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.92 6h-3.04a15.7 15.7 0 0 0-1.38-3.56A8.05 8.05 0 0 1 18.92 8ZM12 4c.83 1.2 1.47 2.54 1.84 4h-3.68A13.8 13.8 0 0 1 12 4ZM4.26 14a7.8 7.8 0 0 1 0-4h3.39a16.7 16.7 0 0 0 0 4H4.26Zm.82 2h3.04c.32 1.27.8 2.46 1.38 3.56A8.05 8.05 0 0 1 5.08 16Zm3.04-8H5.08A8.05 8.05 0 0 1 9.5 4.44 15.7 15.7 0 0 0 8.12 8ZM12 20a13.8 13.8 0 0 1-1.84-4h3.68A13.8 13.8 0 0 1 12 20Zm2.24-6H9.76a14.5 14.5 0 0 1 0-4h4.48a14.5 14.5 0 0 1 0 4Zm.26 5.56A15.7 15.7 0 0 0 15.88 16h3.04a8.05 8.05 0 0 1-4.42 3.56ZM16.35 14a16.7 16.7 0 0 0 0-4h3.39a7.8 7.8 0 0 1 0 4h-3.39Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.92 6h-3.04a15.7 15.7 0 0 0-1.38-3.56A8.05 8.05 0 0 1 18.92 8ZM12 4c.83 1.2 1.47 2.54 1.84 4h-3.68A13.8 13.8 0 0 1 12 4ZM4.26 14a7.8 7.8 0 0 1 0-4h3.39a16.7 16.7 0 0 0 0 4H4.26Zm.82 2h3.04c.32 1.27.8 2.46 1.38 3.56A8.05 8.05 0 0 1 5.08 16Zm3.04-8H5.08A8.05 8.05 0 0 1 9.5 4.44 15.7 15.7 0 0 0 8.12 8ZM12 20a13.8 13.8 0 0 1-1.84-4h3.68A13.8 13.8 0 0 1 12 20Zm2.24-6H9.76a14.5 14.5 0 0 1 0-4h4.48a14.5 14.5 0 0 1 0 4Zm.26 5.56A15.7 15.7 0 0 0 15.88 16h3.04a8.05 8.05 0 0 1-4.42 3.56ZM16.35 14a16.7 16.7 0 0 0 0-4h3.39a7.8 7.8 0 0 1 0 4h-3.39Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.home .edu-country-cta-copy strong,
body.home .edu-country-cta-copy span {
  display: block;
}

body.home .edu-country-cta-copy strong {
  margin-bottom: 3px;
  color: var(--edu-ink) !important;
  font-size: 13px;
  font-weight: 700;
}

body.home .edu-country-cta-copy span {
  color: #748196;
  font-size: 12px;
  font-weight: 400;
}

body.home .edu-country-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c90805 0%, #e20b07 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 7px 16px rgba(201, 8, 5, 0.2);
}

body.home .edu-country-cta-button::before {
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a8 8 0 0 0-8 8v5a3 3 0 0 0 3 3h2v-7H6v-1a6 6 0 0 1 12 0v1h-3v7h3v1h-5v2h5a2 2 0 0 0 2-2v-1a3 3 0 0 0 1-2v-5h-1v-1a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a8 8 0 0 0-8 8v5a3 3 0 0 0 3 3h2v-7H6v-1a6 6 0 0 1 12 0v1h-3v7h3v1h-5v2h5a2 2 0 0 0 2-2v-1a3 3 0 0 0 1-2v-5h-1v-1a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (hover: hover) and (pointer: fine) {
  body.home .home-danhmuc-slider .edu-country-card:hover {
    border-color: rgba(201, 8, 5, 0.32) !important;
    box-shadow: 0 13px 27px rgba(30, 48, 70, 0.12) !important;
    transform: translateY(-3px);
  }

  body.home .home-danhmuc-slider .edu-country-card:hover .img-inner {
    transform: scale(1.045);
  }

  body.home .edu-country-control:hover {
    border-color: rgba(201, 8, 5, 0.35);
    color: var(--edu-primary);
    box-shadow: 0 9px 24px rgba(30, 48, 70, 0.16);
  }
}

@media (max-width: 700px) {
  body.home section.cacbuoc .col > .col-inner {
    padding: 14px 10px !important;
  }

  body.home .edu-country-section {
    padding-top: 22px !important;
    padding-bottom: 24px !important;
  }

  body.home .edu-country-section .section-title-main {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 20px !important;
  }

  body.home .edu-country-subtitle {
    margin: 8px auto 16px;
    font-size: 11px;
  }

  body.home .home-danhmuc-slider {
    padding: 0 34px 4px;
  }

  body.home .edu-country-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 2px;
  }

  body.home .home-danhmuc-slider .edu-country-card {
    min-height: 92px !important;
    padding: 10px !important;
  }

  body.home .home-danhmuc-slider .edu-country-card > .section-content {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
  }

  body.home .home-danhmuc-slider .edu-country-card .img {
    width: 52px !important;
  }

  body.home .home-danhmuc-slider .edu-country-card h2 {
    font-size: 12px !important;
  }

  body.home .edu-country-link {
    gap: 6px;
    font-size: 10px;
  }

  body.home .edu-country-control {
    width: 32px;
    height: 38px;
    border-radius: 8px;
  }

  body.home .edu-country-control.is-prev {
    left: -33px;
  }

  body.home .edu-country-control.is-next {
    right: -33px;
  }

  body.home .edu-country-dots {
    gap: 6px;
    margin-top: 14px;
  }

  body.home .edu-country-cta {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 12px;
  }

  body.home .edu-country-cta-icon {
    width: 42px;
    height: 42px;
  }

  body.home .edu-country-cta-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .edu-country-track,
  body.home .home-danhmuc-slider .edu-country-card,
  body.home .home-danhmuc-slider .edu-country-card .img-inner {
    transition: none !important;
  }
}

/* Homepage visa showcase: equal gallery and success panels without changing source content. */
body.home .edu-visa-showcase {
  align-items: stretch;
}

body.home .edu-visa-showcase > .col {
  display: flex;
  padding-bottom: 0;
}

body.home .edu-visa-showcase > .col > .col-inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 12px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30, 48, 70, 0.07);
}

body.home .edu-visa-panel-title {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 10px !important;
  padding: 8px 12px !important;
  border: 1px solid #f0d8d6;
  border-left: 4px solid var(--edu-primary);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff6f5 0%, #fff 72%);
  color: var(--edu-ink) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-align: left;
  text-shadow: none !important;
}

body.home .edu-visa-panel-title::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--edu-primary);
  box-shadow: 0 0 0 4px rgba(201, 8, 5, 0.1);
  content: "";
}

body.home .edu-visa-gallery .slider-wrapper[data-edu-visa-gallery-ready="true"] {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

body.home .edu-visa-gallery .slider-wrapper[data-edu-visa-gallery-ready="true"] > :is(.slider, .loading-spin) {
  display: none !important;
}

/* The original shortcode prints a second full-size slider for thumbnails. */
body.home .slider-wrapper > .slider-custom {
  display: none !important;
}

body.home .edu-visa-gallery-ui {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 72px;
  gap: 10px;
  width: 100%;
  height: 100%;
}

body.home .edu-visa-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f5f8;
  box-shadow: inset 0 0 0 1px rgba(30, 48, 70, 0.06);
  touch-action: pan-y;
}

body.home .edu-visa-main-image {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center !important;
}

body.home .edu-visa-gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(17, 34, 58, 0.68);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 34, 58, 0.2);
  opacity: 1;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease;
  backdrop-filter: blur(6px);
}

body.home .edu-visa-gallery-control.is-prev {
  left: 12px;
}

body.home .edu-visa-gallery-control.is-next {
  right: 12px;
}

body.home .edu-visa-gallery-control span {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

body.home .edu-visa-gallery-control.is-prev span {
  transform: rotate(-135deg);
}

body.home .edu-visa-gallery-control.is-next span {
  transform: rotate(45deg);
}

body.home .edu-visa-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(17, 34, 58, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}

body.home .edu-visa-thumbs {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 72px;
  padding: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d2d9e2 transparent;
}

body.home .edu-visa-thumb {
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  height: 70px;
  min-height: 70px;
  margin: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  opacity: 0.7;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

body.home .edu-visa-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 6px;
  object-fit: cover;
  object-position: center !important;
}

body.home .edu-visa-thumb.is-active {
  border-color: var(--edu-primary);
  box-shadow: 0 0 0 2px rgba(201, 8, 5, 0.12);
  opacity: 1;
}

body.home .edu-visa-success .boder-hhh {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  flex: 1 1 auto;
  gap: 10px;
  width: 100%;
  min-height: 0;
  margin: 0 !important;
  border-radius: 0;
}

body.home .edu-visa-success .post-item {
  display: block;
  width: auto !important;
  max-width: none !important;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .edu-visa-success .post-item > .col-inner {
  height: 100%;
  min-height: 0 !important;
  overflow: hidden;
  border: 1px solid #e1e7ee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 5px 15px rgba(30, 48, 70, 0.06) !important;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

body.home .edu-visa-success .box-blog-post {
  display: grid;
  grid-template-rows: 57% minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  background: #fff;
}

body.home .edu-visa-success .box-image {
  width: 100% !important;
  height: 100%;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
}

body.home .edu-visa-success .box-image .image-cover {
  height: 100%;
  min-height: 0;
  padding-top: 0 !important;
}

body.home .edu-visa-success .box-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center !important;
  transition: transform 220ms ease;
}

body.home .edu-visa-success .box-text {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0 !important;
  padding: 9px 11px !important;
  background: #fff !important;
  text-align: left;
}

body.home .edu-visa-success .blog-post-inner {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.home .edu-visa-success .post-title {
  display: -webkit-box;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--edu-ink) !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .edu-visa-success .post-title a {
  color: inherit !important;
  text-decoration: none !important;
}

body.home .edu-visa-success :is(.from_the_blog_excerpt, .post-date, .is-divider) {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home .edu-visa-gallery-control:hover {
    background: rgba(201, 8, 5, 0.9);
    transform: translateY(-50%) scale(1.04);
  }

  body.home .edu-visa-thumb:hover {
    border-color: rgba(201, 8, 5, 0.58);
    opacity: 1;
    transform: translateY(-1px);
  }

  body.home .edu-visa-success .post-item > .col-inner:hover {
    border-color: rgba(201, 8, 5, 0.3) !important;
    box-shadow: 0 10px 22px rgba(30, 48, 70, 0.11) !important;
    transform: translateY(-2px);
  }

  body.home .edu-visa-success .post-item > .col-inner:hover .box-image img {
    transform: scale(1.035);
  }
}

@media (max-width: 849px) {
  body.home .edu-visa-showcase > .edu-visa-gallery {
    width: 100%;
    max-width: none;
  }

  body.home .edu-visa-showcase > .col > .col-inner {
    padding: 10px !important;
    border-radius: 13px;
  }

  body.home .edu-visa-panel-title {
    min-height: 38px;
    padding: 7px 10px !important;
    font-size: 12px;
  }

  body.home .edu-visa-gallery-ui {
    grid-template-rows: minmax(0, 1fr) 62px;
    gap: 8px;
  }

  body.home .edu-visa-thumbs {
    height: 62px;
  }

  body.home .edu-visa-thumb {
    flex-basis: 62px;
    width: 62px;
    min-width: 62px;
    height: 60px;
    min-height: 60px;
  }

  body.home .edu-visa-gallery-control {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .edu-visa-gallery-control,
  body.home .edu-visa-thumb,
  body.home .edu-visa-success .post-item > .col-inner,
  body.home .edu-visa-success .box-image img {
    transition: none !important;
  }
}
