:root {
  --cat-blue: #243278;
  --cat-blue-dark: #1b255f;
  --cat-blue-light: #3344a0;
  --cat-blue-glow: rgba(36, 50, 120, 0.25);
}

.category-search-heading .launch-sneak {
  max-width: none;
}

.welcome-layout {
  display: block;
}

body.welcome-page {
  padding-top: 0 !important;
}

.welcome-page .wrap {
  padding-top: 1rem;
}

.welcome-page {
  --welcome-card-gap: 18px;
}

@media (min-width: 901px) {
  .welcome-page .wrap {
    padding-top: calc(1rem + 30px);
  }
}

.welcome-page .welcome-primary > section:first-of-type {
  margin-top: 0;
}

@media (max-width: 900px) {
  .welcome-page .wrap {
    padding-top: 0.9rem;
  }

  .welcome-page {
    padding-top: 0 !important;
  }

  .welcome-page .wrap {
    padding-bottom: 6.25rem;
  }
}

.welcome-secondary .category-heading {
  margin-top: 0;
}

.welcome-secondary .category-buttons-section {
  margin-top: 1rem;
}

.welcome-primary .hero {
  grid-template-columns: 1fr;
}

.welcome-primary .subhead {
  max-width: 400px;
  width: 100%;
}

.welcome-page .quick-question .card {
  width: 400px !important;
  max-width: 400px !important;
}

@media (max-width: 900px) {
  .welcome-page .quick-question .card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .welcome-page .quick-question .grid {
    max-width: 100% !important;
  }
}

.welcome-page .quick-question .grid {
  width: 100% !important;
  max-width: 400px !important;
}

@media (max-width: 900px) {
.welcome-page .quick-question .card .card-body {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
}

.welcome-page .quick-question .card p {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.05rem;
}

.welcome-page .quick-question img.whatsapp {
  margin-left: 0;
}


.category-search {
  max-width: calc(4 * 320px + 3 * 16px);
  width: 100%;
  margin: 0.45rem auto 1.25rem;
  padding: 0;
}

.category-search-label {
  display: block;
  font-family: AbelCustom, "Abel", sans-serif;
  font-weight: 600;
  color: #243278;
  margin-bottom: 0.5rem;
}

.category-search-field {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.category-search-desktop .category-search-field {
  max-width: 500px;
}

.category-search-desktop .category-search {
  max-width: 500px;
  margin-left: 0;
}

.category-search-input {
  width: 100%;
  padding: 0.75rem 2.4rem 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(36, 50, 120, 0.25);
  background: #ffffff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-search-desktop .category-search-input {
  font-size: 0.95rem;
}

.category-search-icon {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: rgba(36, 50, 120, 0.7);
  pointer-events: none;
}

.category-search-input:focus {
  border-color: rgba(36, 50, 120, 0.6);
  box-shadow: 0 0 0 3px rgba(36, 50, 120, 0.12);
}

.category-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(36, 50, 120, 0.15);
  box-shadow: 0 12px 24px rgba(20, 24, 60, 0.12);
  z-index: 40;
  padding: 0.4rem 0;
}

.category-search-result {
  display: block;
  padding: 0.6rem 1rem;
  color: #243278;
  text-decoration: none;
  font-weight: 600;
}

.category-search-result:hover,
.category-search-result:focus-visible {
  background: rgba(36, 50, 120, 0.08);
}

@media (max-width: 900px) {
  .category-search {
    max-width: 100%;
    margin: 1.25rem auto 1rem;
  }

  .category-search-input {
    padding: 0.65rem 2.2rem 0.65rem 0.9rem;
  }

  .category-search-desktop .category-search-input {
    font-size: 0.92rem;
  }
}

@media (max-width: 900px) {
  .category-search-heading,
  .category-search-desktop {
    display: none;
  }
}

.category-buttons-section {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}


.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  max-width: calc(4 * 320px + 3 * 16px);
  margin: 0 auto;
  padding: 0 12px;
}

.category-button {
  width: 320px;
  height: 120px;
  background: linear-gradient(140deg, var(--cat-blue) 0%, var(--cat-blue-dark) 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-family: AbelCustom, "Abel", sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px var(--cat-blue-glow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  flex: 0 0 320px;
}

.category-button span {
  padding: 0 18px;
  line-height: 1.25;
}

.category-button:hover,
.category-button:focus-visible {
  background: linear-gradient(140deg, var(--cat-blue-light) 0%, var(--cat-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(36, 50, 120, 0.35);
}

.category-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(36, 50, 120, 0.25);
}

@media (max-width: 900px) {
  .category-button {
    width: 260px;
    height: 100px;
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  .category-buttons {
    gap: 12px;
    max-width: 100%;
    justify-content: space-between;
  }

  .category-button {
    width: calc(50% - 6px);
    height: 80px;
    font-size: 1rem;
    border-radius: 12px;
    flex: 0 0 calc(50% - 6px);
  }
}

@media (max-width: 900px) {
  .category-buttons-section {
    margin-top: 1.875rem;
  }
}

@media (min-width: 901px) {
  .welcome-page .brandbar-inner {
    justify-content: flex-start;
  }

  .welcome-page .brandbar-right {
    margin-left: clamp(2rem, 30vw, 420px);
    margin-right: 0;
  }

  .welcome-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
  }

  .welcome-primary {
    padding-right: 0.5rem;
  }

  .welcome-secondary {
    position: relative;
  }

  .welcome-secondary .category-buttons {
    max-width: calc(3 * 170px + 2 * 12px);
    gap: 12px;
    justify-content: flex-start;
  }

  .welcome-secondary .category-button {
    width: 170px;
    height: 150px;
    flex: 0 0 170px;
    font-size: 1.05rem;
  }
}

@media (min-width: 1300px) {
  .welcome-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  }

  .welcome-secondary {
    max-width: 620px;
  }

  .welcome-secondary .category-buttons {
    max-width: 620px;
  }
}

.home-articles {
  margin-top: 2.5rem;
}

.home-articles .category-heading {
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .home-articles .launch-sneak-text strong {
    white-space: nowrap;
  }
}

.home-article-cards {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.home-article-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  width: 900px;
  max-width: 100%;
  min-height: 100px;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #243278;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(12, 18, 40, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 32px rgba(12, 18, 40, 0.35);
}

.home-article-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.home-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-article-body {
  display: flex;
  align-items: center;
  min-width: 0;
}

.home-article-title {
  font-family: AbelCustom, "Abel", sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .home-article-card {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .home-article-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 0.6rem 0.75rem;
  }
}

/* ---- Front page refresh ---- */
.welcome-page {
  position: relative;
  isolation: isolate;
  background-color: #eef3ff;
}

.welcome-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 520px at 82% -8%, rgba(74, 95, 208, 0.16) 0%, rgba(74, 95, 208, 0) 64%),
    radial-gradient(900px 420px at -10% 24%, rgba(36, 50, 120, 0.18) 0%, rgba(36, 50, 120, 0) 70%),
    linear-gradient(180deg, #f8faff 0%, #f3f6ff 42%, #eef3ff 100%);
}

.welcome-page #welcome-wrap {
  max-width: 1380px;
  margin-inline: auto;
}

.welcome-page .welcome-layout {
  align-items: start;
}

.welcome-page .hero {
  margin-bottom: 0.45rem;
}

.welcome-page .subhead {
  max-width: 620px;
  margin: 0;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 50, 120, 0.12);
  box-shadow: 0 10px 26px rgba(15, 27, 74, 0.08);
  color: #152048;
  line-height: 1.42;
}

.welcome-page .quick-question {
  margin-top: var(--welcome-card-gap) !important;
}

.welcome-page .quick-question .grid,
.welcome-page .quick-question .card {
  max-width: 620px !important;
  width: 100% !important;
}

.welcome-page .quick-question .grid {
  margin-top: 0 !important;
}

.welcome-page .quick-question .card {
  border-radius: 14px;
  border: 1px solid rgba(36, 50, 120, 0.14);
  box-shadow: 0 12px 26px rgba(17, 28, 80, 0.12);
  background: linear-gradient(160deg, #fefefe 0%, #f6f8ff 100%);
}

.welcome-page .quick-question .card:hover {
  transform: none !important;
}

.welcome-page .quick-question .card p,
.welcome-page .quick-question .card a {
  color: #16224f !important;
}

.welcome-page .launch-row {
  display: block !important;
  margin-top: var(--welcome-card-gap) !important;
}

.welcome-page .launch-row .launch-strip {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0 !important;
  padding: 0.55rem 0.85rem 0.7rem;
}

.welcome-page .launch-strip {
  border: 1px solid rgba(36, 50, 120, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(18, 29, 74, 0.08);
}

.welcome-page .launch-sneak {
  margin-top: 0;
}

.welcome-page .launch-sneak-flags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.34rem;
  flex-wrap: nowrap;
  padding: 0.2rem 0 0.08rem;
}

.welcome-page .launch-sneak-flags > * {
  width: 24px !important;
  height: auto !important;
  flex: 0 0 24px;
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .welcome-page .launch-row .launch-strip {
    display: block;
    grid-template-columns: none;
    grid-template-areas: none;
    gap: 0;
    max-width: 620px;
    width: 100%;
  }

  .welcome-page .launch-row .launch-side {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .welcome-page .launch-row .launch-strip {
    padding-top: 0.18rem;
    padding-bottom: 0.5rem;
    padding-left: 0.7rem;
  }

  .welcome-page .launch-sneak {
    margin-top: 0;
    font-size: 1.1rem;
    max-width: 150px;
  }

  .welcome-page .category-heading .launch-sneak {
    max-width: none;
    font-size: 1.1rem;
  }

  .welcome-page .category-heading .launch-sneak-text strong {
    font-size: 1.1rem;
  }
}

.welcome-page .category-heading .launch-strip,
.welcome-page .category-heading.launch-strip {
  box-shadow: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.welcome-page .category-heading .launch-sneak-text strong {
  color: #1f2a63;
  letter-spacing: 0.35px;
}

.welcome-secondary .category-buttons-section {
  margin-top: 0.4rem;
}

.welcome-secondary .category-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.6rem;
  max-width: 760px;
  width: 100%;
  padding: 0;
}

.welcome-secondary .category-button {
  width: 100%;
  min-height: 90px;
  height: 90px;
  flex: initial;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(17, 28, 84, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(135deg, #243278 0%, #1d2761 100%);
}

.welcome-secondary .category-button span {
  padding-inline: 0.7rem;
  font-size: 0.97rem;
  line-height: 1.2;
}

.home-articles {
  margin-top: 1.6rem;
}

.home-article-card {
  border-color: rgba(36, 50, 120, 0.14);
  background: linear-gradient(165deg, #243278 0%, #1b255e 100%);
}

@media (min-width: 901px) {
  .welcome-page .welcome-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.15rem;
  }

  .welcome-primary {
    padding-right: 0.2rem;
  }

  .welcome-primary .subhead {
    font-size: 0.95rem;
    padding: 0.78rem 0.92rem;
  }

  .welcome-page .quick-question .card .card-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 900px) {
  .welcome-page {
    --brandbar-h: 145px;
    --logo-w: 100px;
    --section-space: 2.25rem;
    --section-space-top: 1rem;
    --wrap-y: 0.25rem;
  }

  .welcome-page .brandbar-search-desktop {
    display: none !important;
  }

  .welcome-page .brandbar-search {
    display: block !important;
    max-width: calc(90% + 15px);
  }

  .welcome-page .brandbar-socials {
    display: none;
  }

  .welcome-page .brandbar-main {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .welcome-page .brandbar-text {
    display: inline-flex;
    align-items: flex-start;
    text-align: left;
    width: auto;
  }

  .welcome-page .brandbar-inner {
    padding: .5rem 1rem;
    gap: .5rem;
    align-items: flex-start;
  }

  .welcome-page .brandbar-icon {
    width: 32px;
    height: 32px;
  }

  .welcome-page .brandbar-lang-btn {
    padding: .2rem .55rem;
    font-size: .75rem;
  }

  .welcome-page .brandbar-icon img {
    width: 18px;
  }

  .welcome-page .brandbar-menu-bar {
    width: 16px;
    height: 2px;
  }

  .welcome-page .brandbar-top-row {
    gap: .35rem;
  }

  .welcome-page .welcome-layout {
    gap: 0.85rem;
  }

  .welcome-page .welcome-secondary {
    margin-top: 0;
  }

  .welcome-page .hero + section {
    margin-top: 1rem;
  }

  .welcome-page .quick-question + .launch-row {
    margin-top: 0.5rem;
  }

  .welcome-page .launch-row {
    gap: 0.55rem;
  }

  .welcome-page .launch-row section {
    margin-top: 0;
  }

  .welcome-secondary .category-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .welcome-secondary .category-button {
    min-height: 82px;
    height: 82px;
  }
}

@media (max-width: 900px) and (min-width: 721px) {
  .welcome-page .welcome-secondary {
    margin-top: var(--welcome-card-gap);
  }
}



