/* Homepage hero shortcuts and the guidance strip directly below. */
.home-page .hero-shell .hero-destination-rail {
  display: grid;
  grid-template-columns: minmax(148px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  background: linear-gradient(115deg, #191D88, #191D88 48%, #191D88);
  border: 1px solid #191D8866;
  border-radius: 18px;
  box-shadow: 0 12px 30px #10153840, inset 0 1px #ffffff17;
}

.home-page .hero-shell .rail-heading {
  padding: 3px 4px 3px 12px;
  border-inline-start: 3px solid #FFE01A;
}

.home-page .hero-shell .rail-heading span { color: #d6e1ff; }
.home-page .hero-shell .rail-heading strong { color: #fff; font-size: 1rem; }

.home-page .hero-shell .hero-destination-links {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.home-page .hero-shell .hero-destination-links a {
  min-height: 46px;
  padding: 8px;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  background: #ffffff12;
  border: 1px solid #b3c5ff44;
  border-radius: 10px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.home-page .hero-shell .hero-destination-links a img {
  width: 23px;
  height: 15px;
  object-fit: contain;
  flex: none;
}

.home-page .hero-shell .hero-destination-links a span:last-child {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-inline-start: auto;
  font-size: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M5 3h4v4' fill='none' stroke='%23d6e1ff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.home-page .hero-shell .hero-destination-links a:is(:hover, :focus-visible) {
  background: #191D88;
  border-color: #b1c4ff;
  transform: translateY(-2px);
}
.home-page .hero-shell .hero-destination-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.home-page .promise-strip {
  padding-block: 19px;
  background: linear-gradient(180deg, #edf2ff, #f8faff);
  border-bottom: 1px solid #e2e9fb;
}

.home-page .promise-strip > .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-block: 0;
}

.home-page .promise-strip > .container > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce6ff;
  border-radius: 14px;
  box-shadow: 0 4px 12px #191D8808;
}

.home-page .promise-strip > .container > div > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  color: #191D88;
  background: linear-gradient(145deg, #eef3ff, #e1eaff);
  border: 1px solid #d9e4ff;
  border-radius: 12px;
}

.home-page .promise-strip p { margin: 0; color: #191D88; font-size: .86rem; line-height: 1.35; }
.home-page .promise-strip p strong { display: block; color: #191D88; font-size: .95rem; line-height: 1.25; }

@media (max-width: 1140px) {
  .home-page .hero-shell .hero-destination-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .home-page .promise-strip > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .hero-shell .hero-destination-rail { grid-template-columns: minmax(0, 1fr); gap: 11px; }
}

@media (max-width: 520px) {
  .home-page .hero-shell .hero-destination-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .promise-strip > .container { gap: 8px; }
  .home-page .promise-strip > .container > div { gap: 7px; padding: 8px; }
  .home-page .promise-strip > .container > div > span { width: 31px; height: 31px; flex-basis: 31px; border-radius: 9px; }
  .home-page .promise-strip svg { width: 18px; height: 18px; }
  .home-page .promise-strip p { font-size: .73rem; }
  .home-page .promise-strip p strong { font-size: .79rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-shell .hero-destination-links a { transition: none; transform: none; }
}

/* Keep each destination card's main action easy to see and tap. */
#study-destinations .home-country-card .dest-body > a.text-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #191D88;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
#study-destinations .home-country-card .dest-body > a.text-link:is(:hover, :focus-visible) {
  background: #191D88;
  color: #fff;
}
#study-destinations .home-country-card .dest-body > a.text-link:focus-visible {
  outline: 2px solid #191D88;
  outline-offset: 2px;
}

/* Give the campus photo more room after removing the destination bar. */
.home-page .hero-shell { padding-bottom: clamp(28px, 4vw, 56px); }
