
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
}

.show-lg {
  display: none;
}
@media (min-width: 1024px) {
  .show-lg {
    display: block;
  }
}

.hide-lg {
  display: block;
}
@media (min-width: 1024px) {
  .hide-lg {
    display: none;
  }
}

.site-header {
  background: #ffffff;
  z-index: 99;
  position: relative;
  box-shadow: 0 2px 4px 0 rgba(82, 82, 82, 0.05), 0 2px 4px 0 rgba(82, 82, 82, 0.05);
}

.header-inner {
  position: relative;
  padding: 0 16px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .header-inner {
    padding: 0;
    margin: 0 12px;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 1;
}
.site-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 1280px) {
  .site-logo {
    flex: none;
  }
}

/* Hamburger button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle img {
  display: block;
  width: 32px;
  height: 32px;
}
@media (min-width: 1280px) {
  .nav-toggle {
    display: none;
  }
}

/* Phone link (mobile only, right of logo) */
.header-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 42px;
  color: inherit;
  text-decoration: none;
}
.header-phone-link .header-phone-link__icon {
  width: 39px;
  height: 42px;
}
@media (min-width: 1280px) {
  .header-phone-link {
    display: none;
  }
}

/* =========================
   NAV WRAPPER
   ========================= */
.site-nav {
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .site-nav {
    gap: 24px;
  }
}
.site-nav {
  /* Mobile overlay */
}
@media (max-width: 1279.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: #ffffff;
    padding: 0;
    /* Keep it renderable so it can animate */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }
}
@media (max-width: 1279.98px) {
  .site-nav[data-open=true] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s;
  }
}
.site-nav {
  /* Desktop inline nav */
}
@media (min-width: 1280px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

/* =========================
   MOBILE HEADER
   ========================= */
@media (max-width: 1279.98px) {
  .site-nav__mobile-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
    min-height: 80px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
  }
}
@media (min-width: 1280px) {
  .site-nav__mobile-header {
    display: none;
  }
}

@media (max-width: 1279.98px) {
  .site-nav__mobile-logo img {
    display: block;
    height: 32px;
    width: auto;
  }
}

@media (max-width: 1279.98px) {
  .site-nav__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .site-nav__close img {
    width: 32px;
    height: 32px;
    display: block;
  }
}
@media (min-width: 1280px) {
  .site-nav__close {
    display: none;
  }
}

/* =========================
   BODY
   ========================= */
@media (max-width: 1279.98px) {
  .site-nav__mobile-body {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 220ms ease;
    transition-delay: 60ms;
  }
}
.site-nav__mobile-body {
  /* Desktop: wrapper disappears */
}
@media (min-width: 1280px) {
  .site-nav__mobile-body {
    display: contents;
  }
}

@media (max-width: 1279.98px) {
  .site-nav__mobile-main {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: var(--Navigation-mobile-popup-item-padding, 24px);
    box-sizing: border-box;
  }
}
@media (min-width: 1280px) {
  .site-nav__mobile-main {
    display: contents;
  }
}

/* Animate mobile body when nav opens */
@media (max-width: 1279.98px) {
  .site-nav[data-open=true] .site-nav__mobile-body {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   LIST + LINKS
   ========================= */
.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
@media (max-width: 1279.98px) {
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    /* Orden en mobile: Services, How It Works, Help Center, Travel Tips, About Us */
  }
}

.site-nav__item--has-submenu {
  position: relative;
}

@media (max-width: 1279.98px) {
  .site-nav__item--has-submenu {
    position: static;
  }
}
.site-nav__link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: #363636;
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: #363636;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-default-size, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-body-default-line-height, 28px);
  letter-spacing: -0.32px;
  /* Desktop padding (restore) */
}
@media (min-width: 1280px) {
  .site-nav__link {
    padding: 8px 16px;
    color: #363636;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
}
.site-nav__link {
  /* Mobile layout */
}
@media (max-width: 1279.98px) {
  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #eaf5fc;
  }
}

/* =========================
   ARROWS
   ========================= */
@media (min-width: 1280px) {
  .site-nav__item--has-submenu > .site-nav__link::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("//dev.rushmypassport.com/newlp/assets/img/keyboard_arrow_down.webp") no-repeat center/contain;
    transition: transform 0.2s ease;
  }
  .site-nav__item--has-submenu:hover > .site-nav__link::after,
  .site-nav__item--has-submenu:focus-within > .site-nav__link::after {
    transform: rotate(180deg);
  }
}
@media (max-width: 1279.98px) {
  .site-nav__list > .site-nav__item > .site-nav__link::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 0;
    background: url("../img/chevron_mobile_right.webp") no-repeat center/contain;
  }
}
/* =========================
   ACTIONS
   ========================= */
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav__mobile-call {
  display: none;
}

.site-nav__mobile-divider {
  display: none;
}

.site-nav__mobile-footer {
  display: none;
}

.site-nav__submenu-mobile-panel {
  display: none;
}

/* Desktop shows desktop actions only */
@media (min-width: 1280px) {
  .site-nav__actions--desktop {
    display: flex;
  }
  .site-nav__actions--desktop .btn {
    font-size: 16px !important;
    padding: var(--Buttons-padding-y, 8px) var(--Buttons-padding-x, 32px) !important;
  }
  .site-nav__actions--mobile {
    display: none;
  }
}

/* =========================
   NEED HELP DROPDOWN (desktop)
   ========================= */
.site-nav__need-help {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  vertical-align: middle;
}

.site-nav__need-help-trigger {
  width: auto;
  max-width: none;
}

@media (min-width: 1280px) {
  .site-nav__need-help::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 70px;
  }
}

@media (min-width: 1280px) {
  .site-nav__need-help-panel {
    position: absolute;
    top: calc(100% + 21px);
    right: 0;
    left: auto;
    width: 258px;
    z-index: 100;
    box-sizing: border-box;
    padding: var(--Navigation-desktop-popup-item-padding, 24px);
    border-radius: var(--Navigation-desktop-popup-item-radius, 16px);
    background: var(--color-background-Neutral-white, #ffffff);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateX(0) translateY(8px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }

  .site-nav__need-help:hover .site-nav__need-help-panel,
  .site-nav__need-help:focus-within .site-nav__need-help-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
    pointer-events: auto;
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
  }

  .site-nav__need-help-panel::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: -10px;
    right: 60px;
    left: auto;
    transform: translateX(50%) rotate(45deg);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    z-index: 0;
    pointer-events: none;
  }

  .site-nav__need-help-panel::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: -9px;
    right: 60px;
    left: auto;
    transform: translateX(50%) rotate(45deg);
    background: var(--color-background-Neutral-white, #ffffff);
    z-index: 1;
    pointer-events: none;
  }
}

.site-nav__need-help-menu {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--Navigation-desktop-popup-item-menu-gap, 16px);
  width: 210px;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--Navigation-desktop-popup-item-menu-padding, 16px);
  box-sizing: border-box;
  border-radius: var(--Navigation-desktop-popup-item-menu-radius, 8px);
  background: rgba(152, 206, 239, 0.2);
}

.site-nav__need-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav__need-help-action {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: 39px;
  max-height: 39px;
  padding: 7px 24px;
  width: 100%;
  color: #363636;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 14px);
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav__need-help-action:hover,
.site-nav__need-help-action:focus-visible {
  color: #2f58bb;
  outline: none;
}

.site-nav__need-help-action__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.site-nav__need-help-action__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-nav__need-help-action__label {
  color: inherit;
}
/* Mobile: desktop actions hidden; shared footer blocks */
@media (max-width: 1279.98px) {
  .site-nav__actions--desktop {
    display: none;
  }
  .site-nav__mobile-footer {
    display: block;
  }
  .site-nav__mobile-footer .site-nav__actions--mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
  }
  .site-nav__mobile-footer .site-nav__actions--mobile a {
    height: 44px;
  }
  .site-nav__mobile-footer .site-nav__actions--mobile a {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  .site-nav__mobile-account {
    margin: 0;
    padding: 0 0 24px;
    text-align: center;
    color: #363636;
    font-family: var(--typography-font-family-body, "Open Sans");
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: var(--typography-body-medium-line-height, 20px);
    letter-spacing: -0.28px;
  }
  .site-nav__mobile-account-link {
    color: var(--Buttons-default-primary-reverse-default-text-color, #2f58bb);
    text-decoration: none;
  }
  .site-nav__mobile-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 16px 16px;
  }
  .site-nav__mobile-chat-link {
    display: inline-flex;
    width: 63.947px;
    height: 64.144px;
    flex-shrink: 0;
  }
  .site-nav__mobile-chat-link img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .site-nav__mobile-divider {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid #E8EAEC;
  }
  .site-nav__mobile-main > .site-nav__mobile-footer .site-nav__mobile-divider {
    margin-top: 24px;
  }
  .site-nav__mobile-call-text {
    margin: 0;
    display: flex;
    align-items: center;
    color: #363636;
    font-family: var(--typography-font-family-body, "Open Sans");
    font-size: var(--typography-body-default-size, 16px);
    font-weight: 400;
    line-height: 1.5;
  }
  .site-nav__mobile-call-text .site-nav__mobile-call-icon {
    display: block;
    width: 39px;
    height: 42px;
    flex-shrink: 0;
  }
  .site-nav__mobile-call-text a {
    color: #2348ce;
    text-decoration: none;
    font-weight: 700;
  }
}
/* =========================
   SUBMENU CONTAINER
   ========================= */
.site-nav__submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  background: #ffffff;
  border-radius: 12px;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
@media (min-width: 1280px) {
  .site-nav__submenu {
    position: absolute;
    top: calc(100% + 21px);
    left: 0;
    z-index: 100;
    padding: var(--Navigation-desktop-popup-item-padding, 24px);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.05);
    border-radius: var(--Navigation-desktop-popup-item-radius, 16px);
  }
}
@media (max-width: 1279.98px) {
  .site-nav__submenu {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }
}

/* Desktop open on hover/focus */
@media (min-width: 1280px) {
  .site-nav__item--has-submenu:hover .site-nav__submenu,
  .site-nav__item--has-submenu:focus-within .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
  }
  /* hover bridge */
  .site-nav__item--has-submenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 70px;
  }
}
@media (max-width: 1279.98px) {
  .site-nav__submenu--mobile-active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    background: #ffffff;
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s;
  }
}
/* =========================
   DESKTOP SUBMENU LIST
   ========================= */
.site-nav__submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__sublink {
  display: block;
  color: #363636;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  padding: var(--Navigation-desktop-popup-item-menu-item-padding-y, 8px) var(--Navigation-desktop-popup-item-menu-item-padding-x, 16px);
}
.site-nav__sublink:hover {
  color: #2f58bb;
  font-weight: 600;
}

/* =========================
   MOBILE SUBMENU LINKS
   ========================= */
/* Never show mobile blocks in desktop dropdown */
.site-nav__submenu-mobile-links {
  display: none;
}

@media (min-width: 1280px) {
  .site-nav__submenu-list {
    display: block;
  }
  .site-nav__submenu-mobile-links {
    display: none;
  }
}
/* Mobile: hide desktop list, show mobile links */
@media (max-width: 1279.98px) {
  .site-nav__submenu-list {
    display: none;
  }
  .site-nav__submenu-mobile-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: var(--Navigation-mobile-popup-item-padding, 24px);
    box-sizing: border-box;
    background: #ffffff;
  }
  .site-nav__submenu-mobile-back {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    background: #eaf5fc;
    color: #363636;
    font-family: var(--typography-font-family-body, "Open Sans");
    font-size: var(--typography-body-default-size, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--typography-body-default-line-height, 28px);
    letter-spacing: -0.32px;
    text-align: left;
    cursor: pointer;
  }
  .site-nav__submenu-mobile-back-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("../img/chevron_mobile_left.webp") no-repeat center/contain;
  }
  .site-nav__submenu-mobile-back-label {
    display: inline-block;
  }
  .site-nav__submenu-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .site-nav__submenu-mobile-panel .site-nav__mobile-footer {
    margin-top: auto;
  }
}
/* =========================
   SERVICES DESKTOP MEGA MENU
   ========================= */
@media (min-width: 1280px) {
  .site-nav__submenu--services {
    min-width: 617px;
  }
  .services-menu {
    align-items: center;
    display: flex;
    gap: var(--Navigation-desktop-popup-item-gap-x, 40px);
  }
  .services-menu__aside {
    min-width: 199px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .services-menu__aside .btn {
    width: 100%;
    height: 48px;
    border-radius: 16px;
    color: var(--Buttons-default-primary-reverse-default-text-color, #2F58BB);
    padding: 8px 16px;
    font-family: var(--typography-font-family-body, "Open Sans");
    font-size: var(--typography-body-medium-size, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--typography-body-medium-line-height, 20px);
    letter-spacing: -0.36px;
  }
  .services-menu__icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 1px solid rgba(13, 86, 255, 0.25);
    background: url("../img/pictograms/passport.svg") no-repeat center/64px 64px;
  }
  .services-menu__title {
    color: var(--Black, #363636);
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
  }
  .services-menu__list {
    min-width: 369px;
    display: grid;
    grid-template-columns: repeat(2, minmax(163px, 1fr));
    column-gap: 24px;
    row-gap: 16px;
    padding: var(--Navigation-desktop-popup-item-menu-padding, 16px);
    border-radius: var(--Navigation-desktop-popup-item-menu-radius, 8px);
    background: rgba(152, 206, 239, 0.2);
    margin: 0;
    list-style: none;
  }
}
@media (max-width: 1279.98px) {
  .services-menu {
    display: none;
  }
}
@media (min-width: 1280px) {
  .site-nav__submenu--services {
    position: absolute;
  }
  .site-nav__submenu--services::before,
  .site-nav__submenu--services::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 56px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    border-radius: 2px;
  }
  .site-nav__submenu--services::before {
    background: rgba(0, 0, 0, 0.08);
  }
  .site-nav__submenu--services::after {
    top: -9px;
    background: #ffffff;
  }
}
@media (min-width: 1280px) {
  .site-nav__submenu--help {
    top: calc(100% + 21px);
    left: -135%;
    min-width: 479px;
    padding: var(--Navigation-desktop-popup-item-padding, 24px);
    border-radius: var(--Navigation-desktop-popup-item-radius, 16px);
    background: #ffffff;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.05);
  }
  .site-nav__submenu--help::before,
  .site-nav__submenu--help::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
  }
  .site-nav__submenu--help::before {
    background: rgba(0, 0, 0, 0.08);
  }
  .site-nav__submenu--help::after {
    top: -9px;
    background: #ffffff;
  }
  .help-menu {
    display: flex;
    gap: var(--Navigation-desktop-popup-item-gap-x, 40px);
    align-items: center;
  }
  .help-menu__aside {
    min-width: 143px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .help-menu__aside .btn {
    padding: 0 16px;
    height: 48px;
    color: var(--Primary---Blue, #284b9f);
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  .help-center-menu__icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 1px solid rgba(13, 86, 255, 0.25);
    background: url("../img/pictograms/info-2.svg") no-repeat center/64px 64px;
  }
  .help-menu__title {
    color: var(--Black, #363636);
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
  }
  .help-menu__card {
    min-width: 255px;
    border-radius: var(--Navigation-desktop-popup-item-menu-radius, 8px);
    background: rgba(152, 206, 239, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--Navigation-desktop-popup-item-menu-padding, 16px);
    gap: var(--Navigation-desktop-popup-item-menu-gap, 24px);
  }
  .help-menu__card-link {
    display: block;
    color: var(--Black, #363636);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    padding: var(--Navigation-desktop-popup-item-menu-item-padding-y, 8px) var(--Navigation-desktop-popup-item-menu-item-padding-x, 16px);
  }
  .help-menu__card-link:hover {
    color: #2f58bb;
    font-weight: 600;
  }
  .site-nav__submenu--help .site-nav__submenu-list {
    display: none;
  }
  .site-nav__submenu--help .site-nav__submenu-mobile-links {
    display: none;
  }
  .site-nav__submenu--about .site-nav__submenu-mobile-links {
    display: none;
  }
  /* About us submenu (same structure as Services, no CTA button) */
  .site-nav__submenu--about {
    min-width: 516px;
    left: -168%;
  }
  .site-nav__submenu--about::before,
  .site-nav__submenu--about::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
  }
  .site-nav__submenu--about::before {
    background: rgba(0, 0, 0, 0.08);
  }
  .site-nav__submenu--about::after {
    top: -9px;
    background: #ffffff;
  }
  .about-us-menu {
    align-items: center;
    display: flex;
    gap: var(--Navigation-desktop-popup-item-gap-x, 40px);
  }
  .about-us-menu__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .about-us-menu__icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 1px solid rgba(13, 86, 255, 0.25);
    background: url("../img/pictograms/passport.svg") no-repeat center/64px 64px;
  }
  .about-us-menu__title {
    color: #363636;
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
  }
  .about-us-menu__list {
    min-width: 361px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
    padding: var(--Navigation-desktop-popup-item-menu-padding, 16px);
    border-radius: var(--Navigation-desktop-popup-item-menu-radius, 8px);
    background: rgba(152, 206, 239, 0.2);
    margin: 0;
    list-style: none;
  }
}
@media (max-width: 1279.98px) {
  .about-us-menu {
    display: none;
  }
}
@media (max-width: 1279.98px) {
  .help-menu {
    display: none;
  }
}
@media (max-width: 1279.98px) {
  .site-nav {
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: none; /* clave */
  }
  .site-nav[data-open=true] {
    visibility: visible;
    pointer-events: auto;
  }
}
/* Buttons (required by nav) */
.btn {
  padding: 16px 32px;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: var(--btn-color, #2F58BB);
  background: var(--btn-bg, transparent);
  border: var(--btn-border, 1px solid transparent);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  --btn-border: 1px solid #2F58BB;
  --btn-color: #ffffff;
  --btn-bg: #2F58BB;
}
.btn--primary:hover {
  --btn-bg: #062F6E;
}

.btn--primary-reversed {
  --btn-border: 1px solid var(--Buttons-default-primary-reverse-default-border-color, #2F58BB);
  --btn-bg: #ffffff;
}
.btn--primary-reversed:hover {
  --btn-border: 1px solid var(--Buttons-hover-primary-reverse-default-border-color, #2F58BB);
  --btn-bg: var(--Buttons-hover-primary-reverse-default-bg-color, #E3E9F8);
}

/* Reset/context for standalone */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

/* Site footer (rmp-web footer.css; fonts + .icon + .show-lg/.hide-lg at top of this file) */
.footer.gray-bg {
  background: #F4F5F6;
}

.footer__inner {
  padding: 40px 16px;
}
@media (min-width: 1024px) {
  .footer__inner {
    padding: 80px 12px;
  }
}
.footer__first-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1024px) {
  .footer__first-section {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 102px;
    border-bottom: 1px solid #B3B3B3;
    align-items: center;
  }
}
.footer__first-section-left {
  max-width: 278px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 1023.98px) {
  .footer__first-section-left {
    max-width: 100%;
    padding-bottom: 24px;
  }
}
.footer__first-section-left-logo-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__first-section-left-logo-container-text {
  font-size: 14px;
  line-height: 26px;
  color: #363636;
}
.footer__first-section-left-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__first-section-left-contact-title {
  font-size: 20px;
  line-height: 24px;
  color: #363636;
}
.footer__first-section-left-contact-phone {
  font-size: 16px;
  color: #363636;
}
.footer__first-section-left-contact-phone-icon {
  width: 24px;
  height: 24px;
  color: #363636;
}
.footer__first-section-left-contact-phone a {
  color: #363636;
  text-decoration: none;
}
.footer__first-section-left-contact-social-media {
  display: flex;
  gap: 16px;
}
.footer__first-section-left-contact-social-media-icon {
  width: 32px;
  height: 32px;
  color: #2F58BB;
}
.footer__first-section-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 576px;
  padding: 80px 48px;
}
@media (max-width: 1023.98px) {
  .footer__first-section-right {
    max-width: 100%;
    padding: 24px 0 48px 0;
    border-top: 1px solid #B3B3B3;
    border-bottom: 1px solid #B3B3B3;
  }
}
.footer__first-section-right .btn {
  width: 100%;
}
@media (min-width: 1024px) {
  .footer__first-section-right .btn {
    width: auto;
  }
}
.footer__first-section-right-title {
  font-size: 28px;
  line-height: 32px;
  color: #0D1935;
}
@media (min-width: 1024px) {
  .footer__first-section-right-title {
    font-size: 32px;
    line-height: 36px;
  }
}
.footer__first-section-right-form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
@media (min-width: 1024px) {
  .footer__first-section-right-form {
    flex-direction: row;
    gap: 0;
  }
}
.footer__first-section-right-form-input {
  padding: 10px 10px 10px 20px;
  border: none;
  background-color: #ffffff;
  color: #6B6B6B;
  font-size: 14px;
  border-radius: 12px;
  line-height: 28px;
  outline: none;
  font-weight: 600;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.05);
}
@media (max-width: 1023.98px) {
  .footer__first-section-right-form-input::placeholder {
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .footer__first-section-right-form-input {
    box-shadow: 0px 8px 24px 0px rgba(54, 54, 54, 0.16);
    padding: 20px 160px 20px 24px;
    font-size: 16px;
    border-radius: 16px;
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .footer__first-section-right-form-button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }
}
.footer__second-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 80px 12px 0;
}
@media (min-width: 1024px) {
  .footer__second-section {
    grid-template-columns: repeat(5, 1fr);
  }
}
.footer__second-section-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1023.98px) {
  .footer__second-section-col:nth-child(3), .footer__second-section-col:nth-child(4) {
    grid-column: span 2;
  }
}
.footer__second-section-col h4 {
  color: #0D1935;
  font-family: "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.footer__second-section-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__second-section-col ul li {
  font-size: 14px;
  line-height: 24px;
}
.footer__second-section-col ul li a {
  color: #363636;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.28px;
  text-decoration: none;
}
.footer__third-section {
  background-color: #284B9F;
}
.footer__third-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
@media (min-width: 1024px) {
  .footer__third-section-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding: 25.5px 12px;
    align-items: unset;
  }
}
@media (min-width: 1024px) {
  .footer__third-section-inner-copyright {
    display: flex;
    align-items: center;
    grid-column: span 2;
  }
}
@media (max-width: 1023.98px) {
  .footer__third-section-inner-terms-and-conditions, .footer__third-section-inner-privacy-policy, .footer__third-section-inner-refund-policy {
    display: none;
  }
}
@media (min-width: 1024px) {
  .footer__third-section-inner-privacy-policy {
    text-align: center;
  }
}
.footer__third-section-inner span,
.footer__third-section-inner a {
  color: #ffffff;
  line-height: 26px;
}
.footer__third-section-inner span {
  font-size: 14px;
}
.footer__third-section-inner a {
  font-size: 14px;
}
.footer__third-section-inner a {
  text-decoration: none;
  width: fit-content;
}
@media (min-width: 1024px) {
  .footer__third-section-inner a {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 1023.98px) {
  .footer__third-section-inner-truste {
    order: -1;
    margin-top: 0;
  }
}

.footer a:not(.btn):hover {
  color: #2f58bb;
  font-weight: bold;
}

.footer .footer__third-section a:hover {
  color: #ffffff;
  font-weight: 400;
}

/*
 * RMP Blog — Blog-specific styles
 * Add your blog card, single post, archive, and search result styles here.
 * This file is loaded after main.css so all webpack design tokens are available.
 */

/* ─── Blog Listing ───────────────────────────────────────────────────────────── */

.rmp-blog-listing {
  background: transparent;
}

/* Blue page banner — home, archive, search, single */
.blog-page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 187px;
  padding: 16px 20px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--color-background-fill-primary, #2F58BB);
}

.blog-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/blog-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.blog-page-banner__back {
  position: absolute;
  left: 82px;
  top: 50%;
  z-index: 20;
  pointer-events: auto;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 1;
}

.blog-page-banner__back:hover {
  opacity: 0.85;
}

.blog-page-banner__back:focus-visible {
  outline: 2px solid var(--color-Neutral-white, #fff);
  outline-offset: 3px;
}

.blog-page-banner__back img {
  display: block;
  width: 24px;
  height: 36px;
  object-fit: contain;
}

.blog-page-banner--has-back .blog-page-banner__inner {
  padding-left: calc(82px + 24px + 24px);
  padding-right: calc(82px + 24px + 24px);
}

.blog-page-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  text-align: center;
}

.blog-page-banner__title {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--color-Neutral-white, #fff);
  text-align: center;
  font-family: var(--typography-font-family-headings, "Open Sans"), "Open Sans", sans-serif;
  font-size: var(--typography-headings-desktop-h2-size, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h2-line-height, 44px);
  letter-spacing: -0.8px;
}

.blog-page-banner__title span {
  color: inherit;
}

@media (max-width: 767px) {
  .blog-page-banner {
    min-height: 187px;
    padding: 16px;
  }

  .blog-page-banner__back {
    left: 20px;
  }

  .blog-page-banner--has-back .blog-page-banner__inner {
    padding-left: calc(20px + 24px + 12px);
    padding-right: 16px;
  }

  .blog-page-banner__title {
    font-size: var(--typography-headings-Mobile-h2-size, 28px);
    line-height: var(--typography-headings-Mobile-h2-line-height, 32px);
    letter-spacing: -0.56px;
  }
}

/* Full page canvas — all templates (viewport + scroll) */
html,
body {
  background-color: var(--color-background-surface-primary, #F4F5F6);
}

.blog-hero-section {
  background: var(--color-Neutral-white, #FFF);
  padding-top: 64px;
  padding-bottom: 67px;
}

@media (max-width: 767px) {
  .blog-hero-section {
    padding: 40px 0;
  }
}

.blog-recent-section {
  padding: var(--padding-desktop-y, 80px) 0;
}

@media (max-width: 767px) {
  .blog-recent-section {
    padding: 32px 0;
  }
}

/* Expedite CTA Section — bg image, title, text, Get Started button */
.blog-cta-expedite {
  padding: var(--padding-desktop-y, 80px) 0;
}

@media (max-width: 767px) {
  .blog-cta-expedite {
    padding: 48px 0;
  }
}

/* CTA in sidebar (below search) */
.blog-cta-expedite--sidebar {
  padding: 0;
  margin-bottom: 24px;
}

.blog-cta-expedite--sidebar .blog-cta-expedite__inner {
  max-width: none;
}

.blog-cta-expedite .blog-container {
  max-width: 1216px;
}

.blog-cta-expedite__inner {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  padding: 30px;
  border-radius: var(--Cards-sizing-radius, 16px);
  border: var(--Cards-sizing-border, 1px) solid var(--CTA-card-blue-text, #FFF);
  background-image: var(--rmp-cta-card-bg);
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 20px 0 rgba(40, 75, 159, 0.05);
}

@media (min-width: 768px) {
  .blog-cta-expedite__inner {
    background-image: var(--rmp-cta-card-bg-desktop);
  }
}

.blog-cta-expedite__title {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h4-size, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h4-line-height, 28px);
  letter-spacing: -0.56px;
  margin: 0 0 8px 0;
}

@media (max-width: 767px) {
  .blog-cta-expedite__title {
    font-size: 24px;
  }
  .blog-cta-expedite__inner {
    padding: 30px;
  }
}

.blog-cta-expedite__text {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  margin: 0 0 16px 0;
}

.blog-cta-expedite__btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  box-sizing: border-box;
  border-radius: var(--Buttons-radius, 16px);
  border: var(--Buttons-border, 1px) solid var(--Buttons-default-primary-default-border-color, #2F58BB);
  background: var(--color-background-fill-primary, #2F58BB);
  color: var(--Buttons-default-primary-default-text-color, #FFF);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-medium-size, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-body-medium-line-height, 20px);
  letter-spacing: -0.36px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-cta-expedite__btn:hover {
  background: #1e3a7a;
  color: #fff;
}

.blog-container {
  display: flex;
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 20px;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 767px) {
  .blog-container {
    gap: 16px;
    padding: 0 16px;
  }
}

.blog-title {
  color: #0D1935;
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h6-size, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h6-line-height, 24px);
  letter-spacing: -0.4px;
  margin: 0;
}

.blog-hero-section .archive-header__description,
.blog-recent-section .archive-header__description {
  margin-top: 8px;
  color: #525252;
  font-size: 16px;
  line-height: 1.5;
}

.blog-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 276px;
  gap: 24px;
}

@media (max-width: 1023px) {
  .blog-content-with-sidebar {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
}

.blog-posts-column {
  width: 100%;
}

.blog-sidebar--inline {
  position: static;
  width: 100%;
  margin: 0;
}

.blog-main-content {
  width: 100%;
}

/* Hero Post (First Post) */
.blog-card--hero {
  display: flex;
  flex-direction: row;
  gap: 48px;
  width: 100%;
  align-items: center;
  position: relative;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .blog-card--hero {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
  }
}

.blog-card--hero .blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}

@media (max-width: 767px) {
  .blog-card--hero .blog-card__content {
    gap: 16px;
    order: 2;
  }
}

.blog-card--hero .blog-card__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card--hero .blog-card__meta time {
  color: var(--Cards-button-arrow-hover-icon, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-tiny-line-height, 20px);
  letter-spacing: -0.24px;
}

/* Headings/Desktop/H1 */
.blog-card--hero .blog-card__title {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--Service-step-cards-heading, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h1-size, 48px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h1-line-height, 56px); /* 116.667% */
  letter-spacing: -0.96px;
}

@media (max-width: 767px) {
  .blog-card--hero .blog-card__title {
    font-size: var(--typography-headings-Mobile-h1-size, 32px);
    line-height: var(--typography-headings-Mobile-h1-line-height, 40px);
    letter-spacing: -0.64px;
  }
}

.blog-card--hero a:hover .blog-card__title {
  color: var(--Primary---Blue, #284b9f);
}

.blog-card--hero .blog-card__excerpt {
  overflow: hidden;
  color: #0D1935;
  text-overflow: ellipsis;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-default-size, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-default-line-height, 28px);
  letter-spacing: -0.32px;
}

.blog-card__title-link {
  text-decoration: none;
}

.blog-card--hero .blog-card__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: var(--Buttons-padding-y, 12px) var(--Buttons-padding-x, 32px);
  border-radius: 16px;
  background: var(--Primary---Blue, #284b9f);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 20;
}

.blog-card--hero .blog-card__cta:hover {
  background: #1e3a7a;
}

@media (max-width: 767px) {
  .blog-card--hero .blog-card__cta {
    width: 100%;
    align-self: stretch;
  }
}

.blog-card--hero .blog-card__thumbnail {
  flex-shrink: 0;
  width: 476px;
  height: 326px;
  overflow: hidden;
  border-radius: 12px;
  order: 2;
  position: relative;
  z-index: 20;
  background: #f0f0f0;
}

@media (max-width: 767px) {
  .blog-card--hero .blog-card__thumbnail {
    width: 100%;
    height: 217.739px;
    order: 1;
  }
}

.blog-card--hero .blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Recent Articles Title */
.recent-articles-title {
  color: #0D1935;
  font-family: "Open Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.64px;
  margin: 0;
}

@media (max-width: 767px) {
  .recent-articles-title {
    color: #0D1935;
    font-family: var(--typography-font-family-headings, "Open Sans");
    font-size: var(--typography-headings-Mobile-h4-size, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--typography-headings-Mobile-h4-line-height, 32px);
    letter-spacing: -0.4px;
  }
}

/* Trustpilot / Customer reviews section — same as rmp-web (_trustpilot-reviews.scss) */
#trustpilot-reviews.blog-trustpilot-section {
  padding: 32px 16px;
  background: #fff;
}

@media (min-width: 1024px) {
  #trustpilot-reviews.blog-trustpilot-section {
    padding: 80px 0;
  }
}

#trustpilot-reviews .trustpilot-reviews-wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 36px;
}

#trustpilot-reviews .trustpilot-reviews-title {
  color: var(--color-bluer-bluer-950, #0d1935);
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: capitalize;
  margin: 0;
}

@media (min-width: 1024px) {
  #trustpilot-reviews .trustpilot-reviews-title {
    color: var(--color-text-headings, #0d1935);
    font-size: 36px;
    line-height: 120%;
  }
}

#trustpilot-reviews .blog-trustpilot-section__widget {
  min-height: 240px;
}

#trustpilot-reviews .blog-trustpilot-section__widget iframe {
  width: 100% !important;
}

#trustpilot-reviews .blog-trustpilot-section__disclaimer {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.6px;
  margin: 0;
}

#trustpilot-reviews .blog-trustpilot-section__disclaimer-link {
  color: #3874b8;
  text-decoration: none;
  display: contents;
}

#trustpilot-reviews .blog-trustpilot-section__disclaimer-link:hover {
  text-decoration: underline;
}

/* Newsletter signup (below pagination in listing) */

.blog-newsletter-signup__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 31px;
  padding: 24px;
  border-radius: 16px;
  background: #2f58bb;
}

/* Headings/Desktop/H6 */
.blog-newsletter-signup__title {
  flex: 1 1 0;
  min-width: 0;
  max-width: 472px;
  margin: 0;
  color: #fff;
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h6-size, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h6-line-height, 24px); /* 120% */
  letter-spacing: -0.4px;
}

.blog-newsletter-signup__form {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 11px
}

/* Body-Regular/Small */
.blog-newsletter-signup__input {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: var(--Textfields-sizing-padding-y, 8px) var(--Textfields-sizing-padding-x, 16px);
  border-radius: var(--Textfields-sizing-radius, 8px);
  border: var(--Textfields-sizing-border, 1px) solid var(--Textfields-color-border, #E8EAEC);
  background: var(--Textfields-color-bg, #FFF);
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px); /* ~173.3% of 15px */
  letter-spacing: -0.28px;
}

.blog-newsletter-signup__input::placeholder {
  color: #999;
}

.blog-newsletter-signup__btn {
  box-sizing: border-box;
  width: 154px;
  height: 56px;
  padding: var(--Buttons-padding-y, 8px) var(--Buttons-padding-x, 32px);
  border-radius: 12px;
  border: 1px solid #cc1f35;
  background: #cc1f35;
  color: #fff;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.blog-newsletter-signup__btn:hover {
  background: #a8182b;
  border-color: #a8182b;
}

@media (max-width: 767px) {
  .blog-newsletter-signup__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  /* Headings/Desktop/H6 — mobile title */
  .blog-newsletter-signup__title {
    max-width: none;
    color: #fff;
    font-family: var(--typography-font-family-headings, "Open Sans");
    font-size: var(--typography-headings-desktop-h6-size, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--typography-headings-desktop-h6-line-height, 24px); /* 120% */
    letter-spacing: -0.4px;
  }
  .blog-newsletter-signup__form {
    flex-direction: column;
    width: 100%;
  }
  .blog-newsletter-signup__input {
    width: 100%;
    box-sizing: border-box;
  }
  .blog-newsletter-signup__btn {
    width: 100%;
  }
}

/* ─── 404 Page (same as rmp-web) ─────────────────────────────────────────────── */
.page-404-hero {
  background: var(--Gradient---White, linear-gradient(180deg, var(--color-background-surface-primary, #F4F5F6) 0%, var(--color-background-surface-secondary, #FAFAFA) 100%));
  padding: 32px 16px;
}

@media (min-width: 1024px) {
  .page-404-hero {
    padding: 80px 0;
  }
}

.page-404-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-404-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
  }
}

.page-404-hero__content {
  flex: 1 1 auto;
  max-width: 520px;
}

@media (min-width: 1024px) {
  .page-404-hero__content {
    order: 1;
  }
}

.page-404-hero__title {
  margin: 0 0 16px;
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.64px;
}

@media (min-width: 1024px) {
  .page-404-hero__title {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.96px;
  }
}

.page-404-hero__text {
  margin: 0 0 16px;
  color: #000;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: -0.28px;
}

.page-404-hero__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: stretch;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .page-404-hero__actions {
    flex-direction: row;
  }
}

.page-404-hero__select-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 1024px) {
  .page-404-hero__select-wrap {
    width: auto;
  }
}

.page-404-hero__select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 8px 16px;
  border-radius: 16px;
  border: 1px solid var(--Textfields-color-border, #E8EAEC);
  background: var(--Textfields-color-bg, #FFF);
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.page-404-hero__select-trigger:focus {
  outline: none;
  border-color: var(--color-blue-rush-bluer-700, #2f58bb);
}

.page-404-hero__select-label {
  flex: 1;
  min-width: 0;
}

.page-404-hero__select-arrow {
  flex-shrink: 0;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.page-404-hero__select-wrap.is-open .page-404-hero__select-arrow {
  transform: rotate(180deg);
}

.page-404-hero__select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-radius: 16px;
  border: 1px solid var(--Textfields-color-border, #E8EAEC);
  background: var(--Textfields-color-bg, #FFF);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-height: 280px;
  overflow-y: auto;
}

.page-404-hero__select-dropdown[hidden] {
  display: none;
}

.page-404-hero__select-option {
  padding: 8px 16px;
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.page-404-hero__select-option:hover,
.page-404-hero__select-option:focus {
  background: var(--color-background-fill-light-blue, #e3e9f8);
}

.page-404-hero__btn {
  width: 100%;
  flex-shrink: 0;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .page-404-hero__btn {
    width: 176px;
  }
}

.page-404-hero__illustration {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .page-404-hero__illustration {
    order: 2;
    max-width: 557px;
  }
}

.page-404-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .page-404-hero__img {
    width: 557px;
    height: 408px;
    object-fit: contain;
  }
}

/* Grid Posts */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

@media (max-width: 767px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.blog-card--grid {
  display: flex;
  flex-direction: column;
  border-radius: var(--Blog-Article-card-article-sizing-radius, 8px);
  border: var(--Blog-Article-card-article-sizing-border, 1px) solid var(--color-border-primary, #E8EAEC);
  background: var(--color-background-surface-tertiary, #FFF);
  box-shadow: var(--shadow-blue-md-shadow-1-x, 0) var(--shadow-blue-md-shadow-1-y, 12px) var(--shadow-blue-md-shadow-1-blur, 16px) var(--shadow-blue-md-shadow-1-spread, -4px) rgba(82, 82, 82, 0.08), var(--shadow-blue-md-shadow-2-x, 0) var(--shadow-blue-md-shadow-2-y, 4px) var(--shadow-blue-md-shadow-2-blur, 8px) var(--shadow-blue-md-shadow-2-spread, -2px) rgba(82, 82, 82, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: var(--Blog-Article-card-article-sizing-padding, 24px);
}

.blog-card--grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.blog-card--grid .blog-card__thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.blog-card--grid .blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card--grid .blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* H4-desktop */
.blog-card--grid .blog-card__title {
  margin: 0;
  padding: 0;
  color: var(--color-text-headings, #0D1935);
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: -0.32px;
  text-decoration: none;
}

.blog-card--grid a:hover .blog-card__title {
  color: var(--Primary---Blue, #284b9f);
}

.blog-card--grid .blog-card__author {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
}

.blog-card--grid .blog-card__excerpt--grid {
  margin: 0;
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  line-clamp: 4;
  word-break: break-word;
}

.blog-card--grid .blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.blog-card--grid .blog-card__date {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-tiny-line-height, 20px);
  letter-spacing: -0.24px;
}

.blog-card--grid .blog-card__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: var(--Buttons-default-tertiary-default-text-color, #2F58BB);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-medium-size, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-body-medium-line-height, 20px);
  letter-spacing: -0.36px;
  text-decoration: none;
  border-radius: 8px;
  background: #fff;
}

/* Sidebar — normal flow with content (no sticky) */
.blog-sidebar {
  position: static;
}

.sidebar-widget {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget__title {
  color: #0D1935;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 0 0 16px 0;
}

/* Search Form — single bar with icon inside on the right (no extra container) */
.sidebar-widget--search {
  background: transparent;
  padding: 0;
  margin-bottom: 32px;
}

.sidebar-widget--search .search-form {
  margin-bottom: 0;
}

/* Search Topics — white box, header with light bg, list with arrow and alternating rows */
.sidebar-widget--search-topics {
  margin-top: 24px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  border: 1px solid var(--color-border-primary, #E8EAEC);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.sidebar-widget--search-topics .sidebar-widget__title {
  margin: 0;
  padding: 16px 24px;
  height: 72px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--color-border-primary, #E8EAEC);
  color: var(--color-blue-rush-bluer-950, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h5-size, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h5-line-height, 32px);
  letter-spacing: -0.48px;
}

.sidebar-search-topics__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-search-topics__list li {
  margin: 0;
  border-bottom: 1px solid var(--color-border-primary, #E8EAEC);
}

.sidebar-search-topics__list li:last-child {
  border-bottom: none;
}

.sidebar-search-topics__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-default-size, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-default-line-height, 28px);
  letter-spacing: -0.32px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-search-topics__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: inherit;
}

.sidebar-search-topics__list a:hover {
  color: var(--Primary---Blue, #284b9f);
  background: #F0F4FF;
}

/* Travel Essentials — 48px below Search Topics, white card, icon + label per row */
.sidebar-widget--travel-essentials {
  margin-top: 48px;
  margin-bottom: 24px;
  border: 1px solid var(--color-Neutral-grey-light-default, #E8EAEC);
  background: var(--color-Neutral-white, #FFF);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.sidebar-widget--travel-essentials .sidebar-widget__title {
  margin: 0;
  padding: 16px 24px;
  height: 72px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--color-border-primary, #E8EAEC);
  background: var(--color-Neutral-white, #FFF);
  color: #0D1935;
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-Mobile-h4-size, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-Mobile-h4-line-height, 32px);
  letter-spacing: -0.4px;
}

.travel-essentials__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.travel-essentials__list li {
  margin: 0;
  border-bottom: 1px solid var(--color-border-primary, #E8EAEC);
}

.travel-essentials__list li:last-child {
  border-bottom: none;
}

.travel-essentials__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 72px;
  padding: var(--List-horizontal-padding-y, 16px) var(--List-horizontal-padding-x, 16px);
  box-sizing: border-box;
  background: var(--color-Neutral-white, #FFF);
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 600;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.travel-essentials__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.travel-essentials__icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.travel-essentials__list a:hover {
  background: #F0F4FF;
  color: var(--Primary---Blue, #284b9f);
}

/* Sidebar — passport CTA card */
.sidebar-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-sizing: border-box;
  border-radius: var(--Cards-sizing-radius, 16px);
  border: var(--Cards-sizing-border, 1px) solid var(--CTA-card-blue-text, #fff);
  background:
    linear-gradient(rgba(227, 233, 248, 0.5), rgba(227, 233, 248, 0.5)),
    url("../img/CTA-Card-desktop.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 8px 20px 0 rgba(40, 75, 159, 0.05);
}

.sidebar-cta__title {
  margin: 0;
  color: var(--color-text-headings, #0d1935);
  font-family: var(--typography-font-family-headings, "Open Sans"), "Open Sans", sans-serif;
  font-size: var(--typography-headings-desktop-h4-size, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h4-line-height, 28px);
  letter-spacing: -0.56px;
}

.sidebar-cta__text {
  margin: 0;
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans"), "Open Sans", sans-serif;
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
}

.sidebar-cta__button-wrap {
  position: relative;
  align-self: stretch;
}

.sidebar-cta__button {
  display: flex;
  height: 44px;
  padding: var(--Buttons-padding-y, 8px) var(--Buttons-padding-x, 32px);
  justify-content: center;
  align-items: center;
  gap: var(--Buttons-gap, 8px);
  box-sizing: border-box;
  width: 100%;
  border-radius: var(--Buttons-radius, 16px);
  border: var(--Buttons-border, 1px) solid var(--Buttons-default-primary-default-border-color, #2f58bb);
  background: var(--color-background-fill-primary, #2f58bb);
  color: var(--Buttons-default-primary-default-text-color, #fff);
  font-family: var(--typography-font-family-body, "Open Sans"), "Open Sans", sans-serif;
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.28px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sidebar-cta__button:hover,
.sidebar-cta__button:focus-visible {
  background: var(--Primary---Blue, #284b9f);
  border-color: var(--Primary---Blue, #284b9f);
  color: #fff;
}

.sidebar-cta__badge {
  position: absolute;
  top: -12px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f58bb 0%, #7b4fbd 100%);
  color: #fff;
  font-family: var(--typography-font-family-headings, "Open Sans"), "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(47, 88, 187, 0.3);
}

.search-form {
  display: block;
  margin-bottom: 32px;
}

/* One visual “input”: bar = border/background, input + icon inside same row */
.search-form__bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  height: 48px;
  padding: var(--Textfields-sizing-padding-y, 8px) var(--Textfields-sizing-padding-x, 16px);
  padding-right: 12px;
  border-radius: var(--Textfields-sizing-radius, 8px);
  border: var(--Textfields-sizing-border, 1px) solid var(--Textfields-color-border, #E8EAEC);
  background: var(--Textfields-color-bg, #FFF);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
}

.search-form__field {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--Textfields-color-placeholder, #B3B3B3);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  outline: none;
}

.search-form__field::placeholder {
  color: var(--Textfields-color-placeholder, #B3B3B3);
}

.search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  margin-left: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.search-form__submit:hover {
  color: #000;
}

.search-form__icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .search-form,
  .search-form__bar {
    width: 100%;
  }
}

/* ─── Pagination ────────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* No selected: Body-Regular/Small, color headings */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #E8EAEC;
  background: #fff;
  color: var(--color-text-headings, #0D1935);
  text-align: center;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: #ccc;
  color: var(--color-border-blue-primary, #2F58BB);
}

/* Current page: same look as selected "1" (Body-Bold/Small, blue, border) */
/* Multiple selectors in case the_posts_pagination() markup varies (.current, aria-current, or our class) */
.pagination .page-numbers.current,
.pagination .page-numbers[aria-current="page"],
.pagination .pagination__current,
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers[aria-current="page"],
.navigation.pagination .pagination__current {
  color: var(--color-border-blue-primary, #2F58BB) !important;
  text-align: center;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 700 !important;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  border-color: var(--color-border-blue-primary, #2F58BB) !important;
}

.pagination .page-numbers.dots {
  border-color: #E8EAEC;
  color: var(--color-text-headings, #0D1935);
  cursor: default;
}

/* Prev/Next: rounded rectangle like number buttons; chevron via ::before */
.pagination .page-numbers.prev,
.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  border: 1px solid #E8EAEC;
  background-color: #fff;
  color: var(--color-text-headings, #0D1935);
  box-sizing: border-box;
}

/* Chevron inside the box (pseudo-element keeps the link border visible) */
.pagination .page-numbers.prev::before,
.pagination .page-numbers.next::before,
.navigation.pagination .page-numbers.prev::before,
.navigation.pagination .page-numbers.next::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  margin: auto;
  width: 16px;
  height: 24px;
  background-color: currentColor;
  mask-size: 16px 24px;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 16px 24px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  pointer-events: none;
}

.pagination .page-numbers.prev::before,
.navigation.pagination .page-numbers.prev::before {
  mask-image: url("../img/icons/chevron-left.svg");
  -webkit-mask-image: url("../img/icons/chevron-left.svg");
}

.pagination .page-numbers.next::before,
.navigation.pagination .page-numbers.next::before {
  mask-image: url("../img/icons/chevron-right.svg");
  -webkit-mask-image: url("../img/icons/chevron-right.svg");
}

.pagination .page-numbers.prev.disabled,
.pagination .page-numbers.next.disabled,
.pagination .page-numbers.prev:not([href]),
.pagination .page-numbers.next:not([href]) {
  color: #ddd;
  border-color: #eee;
  cursor: default;
  pointer-events: none;
}

/* ─── Single Post ────────────────────────────────────────────────────────────── */

.single-post-section {
  padding: var(--padding-desktop-y, 80px) 0;
}

@media (max-width: 767px) {
  .single-post-section {
    padding: 40px 0;
  }
}

/* Article header */
.single-post__header {
  margin-bottom: 24px;
}

.single-post__title {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h1-size, 48px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h1-line-height, 56px);
  letter-spacing: -0.96px;
  margin: 0 0 16px 0;
}

@media (max-width: 767px) {
  .single-post__title {
    font-size: var(--typography-headings-Mobile-h1-size, 32px);
    line-height: var(--typography-headings-Mobile-h1-line-height, 40px);
    letter-spacing: -0.64px;
  }
}

/* Featured image */
.single-post__featured-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #f0f0f0;
}

.single-post__featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 767px) {
  .single-post__featured-image {
    border-radius: 8px;
    margin-bottom: 24px;
  }
}
.single-post__metadata-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}
/* Publisher card: date + author avatar — between featured image and content */
.single-post__publisher {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 16px;
  margin-bottom: 32px;
  background: var(--color-background-surface-primary, #F4F5F6);
  border-radius: 8px;
}

.single-post__publisher-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.single-post__comment-count,
.single-post__comment-count--static {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--color-border-blue-primary, #2F58BB);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-medium-size, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.36px;
}

.single-post__comment-count {
  text-decoration: none;
}

.single-post__comment-count:hover {
  text-decoration: underline;
  color: var(--color-background-fill-primary, #2F58BB);
}

.single-post__comment-count img,
.single-post__comment-count--static img {
  display: block;
  width: 24px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .single-post__metadata-wrapper {
    flex-direction: column;
  }

  .single-post__publisher {
    margin-bottom: 0;
  }

  .single-post__comment-count,
  .single-post__comment-count--static {
    margin-bottom: 32px;
    padding-left: 20px;
  }
}

.single-post__publisher-date {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-default-size, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-default-line-height, 28px);
  letter-spacing: -0.32px;
}

.single-post__publisher-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single-post__publisher-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.single-post__publisher-avatar .single-post__avatar-img,
.single-post__publisher-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.single-post__publisher-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.single-post__publisher-label {
  display: flex;
  height: 16px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--typography-body-tiny-line-height, 20px);
  letter-spacing: -0.24px;
}

.single-post__publisher-name {
  display: flex;
  height: 20px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-medium-size, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.36px;
}

.single-post__publisher-title {
  display: flex;
  height: 16px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  color: var(--color-text-body-disable, #999);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-style: normal;
  font-weight: 300;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
}

/* ── Content typography ───────────────────────────────────────────────────── */

.single-post__content {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
}

.single-post__content h1 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h1-size, 48px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h1-line-height, 56px);
  letter-spacing: -0.96px;
  margin: 40px 0 16px;
}

.single-post__content h2 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h2-size, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h2-line-height, 44px);
  letter-spacing: -0.8px;
  margin: 40px 0 16px;
}

.single-post__content h3 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h4-size, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.56px;
  margin: 32px 0 12px;
}

.single-post__content h4 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h5-size, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h5-line-height, 32px);
  letter-spacing: -0.48px;
  margin: 28px 0 12px;
}

.single-post__content h5 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h6-size, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h6-line-height, 24px);
  letter-spacing: -0.4px;
  margin: 24px 0 8px;
}

.single-post__content h6 {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.36px;
  margin: 20px 0 8px;
}

.single-post__content p {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  margin: 0 0 16px;
}

.single-post__content ul,
.single-post__content ol {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  margin: 0 0 16px;
  padding-left: 24px;
}

.single-post__content li {
  margin-bottom: 8px;
}

.single-post__content li:last-child {
  margin-bottom: 0;
}

.single-post__content a {
  color: var(--color-border-blue-primary, #2F58BB);
  text-decoration: underline;
}

.single-post__content a:hover {
  color: var(--Primary---Blue, #284b9f);
}

.single-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 24px 0;
}

.single-post__content blockquote {
  border-left: 4px solid var(--color-border-blue-primary, #2F58BB);
  margin: 24px 0;
  padding: 12px 24px;
  background: var(--color-background-surface-primary, #F4F5F6);
  border-radius: 0 8px 8px 0;
}

.single-post__content blockquote p {
  margin: 0;
  font-style: italic;
}

.single-post__content hr {
  border: none;
  border-top: 1px solid var(--color-border-primary, #E8EAEC);
  margin: 32px 0;
}

/* Tables in post content (single) */
.single-post__content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid #e9e9e9;
  margin: 24px 0;
  background: #fff;
  box-shadow:
    0 2px 5px 0 rgba(0, 0, 0, 0.08),
    0 2px 10px 0 rgba(0, 0, 0, 0.04);
}

.single-post__content .wp-block-table {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow:
    0 2px 5px 0 rgba(0, 0, 0, 0.08),
    0 2px 10px 0 rgba(0, 0, 0, 0.04);
}

.single-post__content .wp-block-table table {
  margin: 0;
  box-shadow: none;
}

.single-post__content table th,
.single-post__content table td {
  border: 1px solid #e9e9e9;
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}

.single-post__content table thead th {
  background: #fbfbfb;
  color: #000;
  font-weight: 700;
}

.single-post__content table tbody td {
  background: #fff;
  font-weight: 400;
}

.single-post__content table tbody th {
  background: #fff;
  font-weight: 400;
  color: var(--color-text-body-primary, #363636);
}

/* Scroll wrapper (PHP on single); on desktop only caps width at 100%. */
.single-post__table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Mobile / tablet: horizontal scroll without breaking page width */
@media (max-width: 1023px) {
  .single-post,
  .single-post__content {
    min-width: 0;
    max-width: 100%;
  }

  .single-post__table-scroll {
    margin: 24px 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    background: #fff;
    box-shadow:
      0 2px 5px 0 rgba(0, 0, 0, 0.08),
      0 2px 10px 0 rgba(0, 0, 0, 0.04);
  }

  .single-post__table-scroll table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
  }

  .single-post__content .wp-block-table {
    margin: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .single-post__content .wp-block-table .single-post__table-scroll {
    margin: 24px 0;
  }
}

/* Post footer: tags */
.single-post__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-primary, #E8EAEC);
}

.single-post__tags {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
}

.single-post__tags a {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 4px 4px 0;
  border-radius: 100px;
  background: var(--color-background-surface-primary, #F4F5F6);
  border: 1px solid var(--color-border-primary, #E8EAEC);
  color: var(--color-text-headings, #0D1935);
  font-size: var(--typography-body-tiny-size, 12px);
  line-height: 20px;
  letter-spacing: -0.24px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.single-post__tags a:hover {
  background: #F0F4FF;
  color: var(--color-border-blue-primary, #2F58BB);
}

/* ── Comments ─────────────────────────────────────────────────────────────── */

/* Top border only when a comment list exists (avoids double line when only the form shows) */
.single-post__comments {
  margin-top: 48px;
  padding-top: 0;
  border-top: none;
  scroll-margin-top: 96px;
}

.single-post__comments--with-thread {
  padding-top: 40px;
  border-top: 1px solid var(--color-border-primary, #E8EAEC);
}

/* Section title */
.single-post__comments .comments-title,
.single-post__comments #comments {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h5-size, 24px);
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h5-line-height, 32px);
  letter-spacing: -0.48px;
  margin: 0 0 24px;
}

/* ── List & threading ─────────────────────────────────────────────────────── */

.single-post__comments .comment-list,
.single-post__comments .children {
  list-style: none !important;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

/* Extra safety: kill any inherited counter/numbering */
.single-post__comments .comment::before,
.single-post__comments .comment::marker {
  display: none;
  content: none;
}

/* Top-level comments: spaced out, each in its own gray bubble */
.single-post__comments .comment-list > li.comment {
  position: relative;
}

.single-post__comments li.main-comment {
  margin-bottom: 18px;
}

/* Each comment: relative so the thread line can anchor to it */
.single-post__comments .comment {
  position: relative;
}

/* Thread line: vertical bar connecting a comment to its nested children.
   Sits on the left, aligned with the center of the 32px avatar.            */
.single-post__comments .children {
  margin-left: 16px;         /* avatar-center: 32px / 2 */
  padding-left: 26px;        /* gap after the line */
  border-left: 2px solid var(--color-border-primary, #E8EAEC);
  margin-top: 4px;
  transition: border-color 0.15s ease;
}

.single-post__comments .children:hover {
  border-left-color: var(--color-border-blue-primary, #2F58BB);
}

/* Hidden items (JS-toggled) */
.single-post__comments .comment--hidden {
  display: none;
}

/* ── Individual comment ───────────────────────────────────────────────────── */

/* All comments: base flat style (used for replies inside threads) */
.single-post__comments .comment-body {
  padding: 10px 0 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
}

/* Top-level comments only: gray bubble card */
.single-post__comments .main-comment > .comment-body {
  background: var(--color-background-surface-primary, #F4F5F6);
  border: 1px solid var(--color-border-primary, #E8EAEC);
  border-radius: 12px;
  padding: 10px 20px;
}

/* Thread container inside the card: shift left to compensate card padding,
   so the thread line visually starts from the avatar inside the card.       */
.single-post__comments .main-comment > .children {
  margin-left: 36px;  /* card padding-left (20) + avatar-center (16) */
}

/* Header row: avatar · username · separator · timestamp */
.single-post__comments .comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.single-post__comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
}

.single-post__comments .comment-author .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.single-post__comments .comment-author .fn,
.single-post__comments .comment-author .fn a {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 700;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  text-decoration: none;
}

/* Dot separator between username and date */
.single-post__comments .comment-author::after {
  content: "·";
  color: var(--color-text-body-disable, #999);
  font-size: 14px;
  line-height: 1;
  margin-left: -4px;
}

.single-post__comments .comment-metadata {
  flex-shrink: 0;
}

.single-post__comments .comment-metadata a,
.single-post__comments .comment-metadata time {
  color: var(--color-text-body-disable, #999);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 400;
  line-height: var(--typography-body-tiny-line-height, 20px);
  letter-spacing: -0.24px;
  text-decoration: none;
}

/* Comment text: indented to align with username (avatar 32 + gap 10) */
.single-post__comments .comment-content {
  padding-left: 42px;
}

.single-post__comments .comment-content p {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  margin: 0 0 4px;
}

/* Actions row: Reply (+ any other links) */
.single-post__comments .reply {
  padding-left: 42px;
  margin-top: 4px;
}

.single-post__comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.24px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.single-post__comments .comment-reply-link::before {
  content: "↩";
  font-size: 12px;
}

.single-post__comments .comment-reply-link:hover {
  background: var(--color-background-surface-primary, #F4F5F6);
  color: var(--color-border-blue-primary, #2F58BB);
}

/* Awaiting moderation */
.single-post__comments .comment-awaiting-moderation {
  padding-left: 42px;
  display: block;
  margin-top: 4px;
  color: #856404;
  font-size: 11px;
  font-weight: 400;
}

/* ── "See more" button — top-level & nested ───────────────────────────────── */

.comments-see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 0;
  margin: 6px 0 16px;
  border: none;
  background: transparent;
  color: var(--color-border-blue-primary, #2F58BB);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.24px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.comments-see-more:hover {
  color: var(--Primary---Blue, #284b9f);
}

/* Circle "+" icon — matches Reddit's "X more replies" style */
.comments-see-more__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

/* When nested inside .children, shift left so it aligns with comments */
.single-post__comments .children .comments-see-more {
  margin-left: 0;
}

/* ── Leave a Reply form ───────────────────────────────────────────────────── */

.single-post__comments:not(.single-post__comments--with-thread) #respond {
  margin-top: 0;
}

.single-post__comments--with-thread #respond {
  margin-top: 40px;
}

.single-post__comments #respond {
  padding: 32px;
  background: var(--color-background-surface-primary, #F4F5F6);
  border-radius: 16px;
  border: 1px solid var(--color-border-primary, #E8EAEC);
}

.single-post__comments .comment-reply-title {
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-headings, "Open Sans");
  font-size: var(--typography-headings-desktop-h5-size, 24px);
  font-weight: 700;
  line-height: var(--typography-headings-desktop-h5-line-height, 32px);
  letter-spacing: -0.48px;
  margin: 0 0 24px;
}

.single-post__comments .comment-reply-title small {
  display: block;
  margin-top: 4px;
}

.single-post__comments .comment-reply-title small a {
  color: var(--color-border-blue-primary, #2F58BB);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 400;
  text-decoration: none;
}

.single-post__comments .comment-notes,
.single-post__comments .logged-in-as {
  color: var(--color-text-body-primary, #363636);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.24px;
  margin: 0 0 20px;
}

.single-post__comments .logged-in-as a {
  color: var(--color-border-blue-primary, #2F58BB);
  text-decoration: none;
}

/* Form fields grid: name + email side by side */
.single-post__comments #commentform .comment-form-author,
.single-post__comments #commentform .comment-form-email {
  display: contents;
}

.single-post__comments #commentform p {
  margin: 0 0 16px;
}

.single-post__comments #commentform .comment-form-author,
.single-post__comments #commentform .comment-form-email,
.single-post__comments #commentform .comment-form-url {
  flex: 1;
  min-width: 0;
}

/* Two-column row for name + email */
.single-post__comments #commentform {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.single-post__comments #commentform p.comment-form-author,
.single-post__comments #commentform p.comment-form-email {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
  margin: 0;
}

.single-post__comments #commentform p.comment-form-url,
.single-post__comments #commentform p.comment-form-comment,
.single-post__comments #commentform p.comment-notes,
.single-post__comments #commentform p.logged-in-as,
.single-post__comments #commentform p.form-submit {
  flex: 1 1 100%;
  margin: 0;
}

/* Labels */
.single-post__comments #commentform label {
  display: block;
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-tiny-size, 12px);
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.24px;
  margin-bottom: 6px;
}

.single-post__comments #commentform label .required {
  color: #E53E3E;
  margin-left: 2px;
}

/* Inputs + textarea */
.single-post__comments #commentform input[type="text"],
.single-post__comments #commentform input[type="email"],
.single-post__comments #commentform input[type="url"],
.single-post__comments #commentform textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border-primary, #E8EAEC);
  background: #fff;
  color: var(--color-text-headings, #0D1935);
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-small-size, 15px);
  font-weight: 400;
  line-height: var(--typography-body-small-line-height, 26px);
  letter-spacing: -0.28px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-post__comments #commentform input[type="text"]::placeholder,
.single-post__comments #commentform input[type="email"]::placeholder,
.single-post__comments #commentform input[type="url"]::placeholder,
.single-post__comments #commentform textarea::placeholder {
  color: var(--Textfields-color-placeholder, #B3B3B3);
}

.single-post__comments #commentform input[type="text"]:focus,
.single-post__comments #commentform input[type="email"]:focus,
.single-post__comments #commentform input[type="url"]:focus,
.single-post__comments #commentform textarea:focus {
  border-color: var(--color-border-blue-primary, #2F58BB);
  box-shadow: 0 0 0 3px rgba(47, 88, 187, 0.12);
}

.single-post__comments #commentform textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
.single-post__comments #commentform .form-submit {
  margin-top: 4px;
}

.single-post__comments #commentform #submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 16px;
  border: 1px solid var(--color-background-fill-primary, #2F58BB);
  background: var(--color-background-fill-primary, #2F58BB);
  color: #fff;
  font-family: var(--typography-font-family-body, "Open Sans");
  font-size: var(--typography-body-default-size, 16px);
  font-weight: 700;
  line-height: var(--typography-body-default-line-height, 28px);
  letter-spacing: -0.32px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.single-post__comments #commentform #submit:hover {
  background: #1e3a7a;
  border-color: #1e3a7a;
}

@media (max-width: 767px) {
  .single-post__comments #respond {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .single-post__comments #commentform p.comment-form-author,
  .single-post__comments #commentform p.comment-form-email {
    flex: 1 1 100%;
  }

  .single-post__comments #commentform #submit {
    width: 100%;
  }
}

/* ─── Archive ────────────────────────────────────────────────────────────────── */

/* ─── Search Results ─────────────────────────────────────────────────────────── */

/* ─── 404 Page ───────────────────────────────────────────────────────────────── */
