.menu-item-search-trigger {
  display: flex;
  align-items: center;
}

.soe-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.25rem 0;
}

.soe-search-trigger__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.soe-search-trigger__label {
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
}

.ast-builder-button-wrap > .menu-link {
  display: none;
}

.soe-search-modal[hidden] {
  display: none;
}

.soe-search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.soe-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 37, 0.48);
  backdrop-filter: blur(4px);
}

.soe-search-modal__panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(14, 24, 44, 0.18);
}

.soe-search-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #566892;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
}

.soe-search-modal__form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.soe-search-modal__input {
  flex: 1 1 auto;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid #d8dfef;
  padding: 0 18px;
  font-size: 16px;
}

.soe-search-modal__submit {
  min-height: 56px;
  border-radius: 14px;
  padding: 0 22px;
}

.soe-social-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.soe-social-bar--footer {
  justify-content: center;
  margin: 0 0 12px;
}

.soe-social-bar--home-updates {
  justify-content: flex-start;
  margin-top: 8px;
}

.soe-social-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.soe-social-bar__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.soe-social-bar__link:hover,
.soe-social-bar__link:focus {
  color: #00a5a7;
  background: rgba(0, 165, 167, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 165, 167, 0.45), 0 0 18px rgba(0, 165, 167, 0.35);
  transform: translateY(-1px);
}

.home .soe-social-bar__link,
.soe-section .soe-social-bar__link {
  background: rgba(0, 165, 167, 0.08);
  color: #00a5a7;
  box-shadow: inset 0 0 0 1px rgba(0, 165, 167, 0.16);
}

.soe-section {
  padding: 10px 0 0;
}

.site-logo-img .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.site-logo-img img,
.site-logo-img .transparent-custom-logo img,
.ast-theme-transparent-header .site-logo-img img {
  filter: none !important;
}

.soe-section__intro {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.soe-section__intro--left {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.soe-section__intro p {
  margin: 10px auto 0;
  color: #566892;
}

.soe-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.soe-card-grid--jump {
  margin-bottom: 26px;
}

.soe-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 208px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(86, 104, 146, 0.12);
  border: 1px solid rgba(104, 120, 214, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(86, 104, 146, 0.18);
}

.soe-card--active {
  outline: 2px solid #22d3a4;
  box-shadow: 0 20px 48px rgba(34, 211, 164, 0.28);
}

.soe-card__eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6878d6;
}

.soe-card__title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #242a56;
}

.soe-card__text {
  color: #566892;
  line-height: 1.6;
}

.soe-grid-heading {
  margin: 18px 0 16px;
}

.soe-section__anchor {
  scroll-margin-top: 100px;
}

.soe-section__toolbar {
  margin: 0 auto 20px;
  max-width: 360px;
}

.soe-section--scholarship-browser #scholarships-by-country,
.soe-section--scholarship-browser #scholarships-by-discipline {
  display: block;
  margin-top: 38px;
}

.soe-jump-control label {
  display: block;
  margin-bottom: 8px;
  color: #566892;
  font-size: 14px;
}

.soe-jump-control select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d8dfef;
  padding: 0 14px;
  background: #fff;
}

.soe-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 12px;
  color: #242a56;
  font-weight: 600;
  text-decoration: none;
}

.soe-inline-link:hover {
  color: #0f766e;
}

.soe-converter {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(86, 104, 146, 0.12);
}

.soe-gpa-card {
  margin-top: 22px;
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(86, 104, 146, 0.12);
}

.soe-section__intro--gpa {
  text-align: center;
  margin-bottom: 20px;
}

.soe-section__intro--gpa h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 10px;
}

.soe-section__intro--gpa p {
  margin-left: auto;
  margin-right: auto;
}

.soe-converter__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.soe-converter__row--three {
  grid-template-columns: 1fr 1fr 1fr auto;
}

.soe-converter__field label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #566892;
}

.soe-converter__field input,
.soe-converter__field select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d8dfef;
  padding: 0 14px;
}

.soe-converter__field select {
  max-width: 100%;
}

.soe-converter__action button {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 18px;
}

.soe-converter__result {
  margin-top: 16px;
  font-weight: 600;
  color: #242a56;
}

.elementor-widget-image.soe-tile a,
.elementor-widget-image.soe-tile span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

.elementor-widget-image.soe-tile a::after {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(36, 42, 86, 0) 0%, rgba(36, 42, 86, 0.84) 100%);
  color: #fff;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  padding: 44px 18px 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.elementor-widget-image.soe-tile:hover a::after,
.elementor-widget-image.soe-tile a:focus::after {
  opacity: 1;
}

.elementor-widget-image.soe-tile.soe-tile--scholarships a::after { content: 'Scholarships'; }
.elementor-widget-image.soe-tile.soe-tile--internships a::after { content: 'Internships'; }
.elementor-widget-image.soe-tile.soe-tile--resources a::after { content: 'Guides'; }
.elementor-widget-image.soe-tile.soe-tile--calculator a::after { content: 'Calculator'; }

.page-id-19 .elementor-element-8e8e58c,
.page-id-19 .elementor-element-cf1219a,
.page-id-19 .elementor-element-0282bd1,
.page-id-19 .elementor-element-b30a678,
.page-id-19 .elementor-element-c5c37c3 {
  display: none;
}

.page-id-19 .elementor-element-72c9882 .tpg-widget-heading span {
  color: #242a56;
}

.page-id-19 .elementor-element-72c9882 .rt-holder.tpg-post-holder {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(36, 42, 86, 0.12);
  border: 1px solid rgba(104, 120, 214, 0.08);
}

.page-id-19 .elementor-element-72c9882 .rt-detail.rt-el-content-wrapper {
  padding: 28px 24px;
}

.page-id-19 .elementor-element-72c9882 .entry-title a {
  color: #242a56;
}

.page-id-19 .elementor-element-72c9882 .rt-el-post-meta,
.page-id-19 .elementor-element-72c9882 .tpg-excerpt-inner {
  color: #566892;
}

.page-id-19 .elementor-element-72c9882 .read-more a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #242a56;
  color: #fff;
}

.page-id-19 .elementor-element-72c9882 .read-more a:hover {
  background: #0f766e;
}

.soe-section--scholarship-browser {
  padding: 12px clamp(18px, 2.8vw, 34px) 64px;
}

.soe-card-grid--scholarship .soe-card {
  min-height: 190px;
}

.soe-section--resource-steps {
  padding: 24px clamp(18px, 2.8vw, 34px) 60px;
}

.soe-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.soe-step-card {
  position: relative;
  min-height: 210px;
  padding: 34px 30px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(36, 42, 86, 0.12);
  border: 1px solid rgba(104, 120, 214, 0.08);
}

.soe-step-card__number {
  margin-bottom: -18px;
  font-family: 'Lexend', sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: rgba(36, 42, 86, 0.08);
}

.soe-step-card__title {
  position: relative;
  margin: 0 0 10px;
  font-family: 'Lexend', sans-serif;
  font-size: 1.3rem;
  color: #242a56;
}

.soe-step-card__text {
  position: relative;
  margin: 0;
  color: #566892;
  line-height: 1.65;
}

body.page:not(.home) .site-content {
  background: linear-gradient(180deg, #edf8f2 0%, #edf8f2 80%, #ffffff 80%, #ffffff 100%);
}

.ast-page-builder-template .entry-content > .elementor {
  padding-left: 0;
  padding-right: 0;
}

.ast-page-builder-template .entry-content .e-con-boxed > .e-con-inner,
.ast-page-builder-template .entry-content .elementor-section.elementor-top-section > .elementor-container,
.ast-page-builder-template .entry-content .elementor-top-section > .elementor-column-gap-default {
  padding-left: clamp(16px, 2.2vw, 28px);
  padding-right: clamp(16px, 2.2vw, 28px);
  box-sizing: border-box;
}

.ast-page-builder-template .entry-content .elementor-widget-wrap,
.ast-page-builder-template .entry-content .elementor-column > .elementor-element-populated,
.ast-page-builder-template .entry-content .tpg-widget-heading-wrapper,
.ast-page-builder-template .entry-content .rt-container-fluid {
  box-sizing: border-box;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.search .ast-article-post {
  margin-left: clamp(16px, 2.2vw, 28px);
  margin-right: clamp(16px, 2.2vw, 28px);
}

.main-header-bar .ast-builder-grid-row,
.site-primary-header-wrap .ast-builder-grid-row {
  column-gap: 10px;
}

.main-header-bar .site-branding,
.site-primary-header-wrap .site-branding {
  margin-right: 0;
}

.site-logo-img img,
.site-logo-img .transparent-custom-logo img,
.ast-theme-transparent-header .site-logo-img img {
  width: clamp(66px, 5vw, 84px);
  height: auto;
}

.site-header-primary-section-left {
  gap: 0;
}

.header-widget-area[data-section="sidebar-widgets-header-widget-1"] .widget {
  margin-bottom: 0;
}

.header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
  margin-left: -34px;
}

.header-widget-area[data-section="sidebar-widgets-header-widget-1"] img {
  width: clamp(132px, 13vw, 190px);
  height: auto;
}

.ast-custom-button,
.soe-search-modal__submit,
.soe-converter__action button,
.soe-section--converter button,
.elementor .elementor-button,
.elementor a.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-widget-button .elementor-button-link {
  background: #00a5a7 !important;
  border-color: #00a5a7 !important;
  color: #ffffff !important;
}

.ast-custom-button:hover,
.ast-custom-button:focus,
.soe-search-modal__submit:hover,
.soe-search-modal__submit:focus,
.soe-converter__action button:hover,
.soe-converter__action button:focus,
.soe-section--converter button:hover,
.soe-section--converter button:focus,
.elementor .elementor-button:hover,
.elementor .elementor-button:focus,
.elementor a.elementor-button:hover,
.elementor a.elementor-button:focus,
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus,
.elementor-widget-button .elementor-button-link:hover,
.elementor-widget-button .elementor-button-link:focus {
  background: #00888a !important;
  border-color: #00888a !important;
}

.soe-home-updates-copy {
  min-height: 52px;
}

.soe-home-updates-copy > p,
.soe-home-updates-copy .elementor-heading-title,
.soe-home-updates-copy .elementor-widget-container > p {
  display: none !important;
}

.soe-home-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin-top: 26px;
}

.soe-home-guides-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 30px rgba(36, 42, 86, 0.08);
  border: 1px solid rgba(104, 120, 214, 0.08);
}

.soe-home-guides-card__eyebrow,
.soe-home-featured-post__eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00a5a7;
}

.soe-home-guides-card__title,
.soe-home-featured-post__title {
  margin: 0;
  font-family: 'Lexend', sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #19213f;
}

.soe-home-guides-card__text,
.soe-home-featured-post__text {
  margin: 0;
  color: #566892;
  line-height: 1.6;
}

.soe-home-guides-card__meta,
.soe-home-featured-post__meta {
  margin-top: auto;
  font-size: 0.92rem;
  color: #6878a3;
}

.soe-home-featured-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 12px auto 0;
  padding: 24px 30px;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  background: rgba(255,255,255,0.72);
  color: inherit;
  box-shadow: 0 14px 30px rgba(36, 42, 86, 0.08);
}

.soe-home-footer {
  background: #021c14;
  color: #ffffff;
  padding: 34px 16px 28px;
  text-align: center;
}

.soe-home-footer__copy {
  margin: 0;
  color: rgba(255,255,255,0.92);
}

.main-header-menu > .menu-item > .menu-link {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.single-post .ast-primary-header-bar,
.archive .ast-primary-header-bar,
.search .ast-primary-header-bar,
.tax-scholarship_level .ast-primary-header-bar,
.tax-scholarship_country .ast-primary-header-bar,
.tax-scholarship_discipline .ast-primary-header-bar,
.tax-internship_host .ast-primary-header-bar,
.tax-internship_discipline .ast-primary-header-bar,
.tax-internship_experience .ast-primary-header-bar {
  background: rgba(237, 246, 238, 0.97) !important;
  backdrop-filter: saturate(140%) blur(10px);
}

.single-post .main-header-menu > .menu-item > .menu-link,
.archive .main-header-menu > .menu-item > .menu-link,
.search .main-header-menu > .menu-item > .menu-link,
.single-post .ast-builder-menu-1 .menu-link,
.archive .ast-builder-menu-1 .menu-link,
.search .ast-builder-menu-1 .menu-link,
.single-post .site-header .ast-custom-button,
.archive .site-header .ast-custom-button,
.search .site-header .ast-custom-button {
  color: #111827 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #111827;
}

.single-post .site-header a,
.archive .site-header a,
.search .site-header a {
  color: #111827 !important;
  opacity: 1 !important;
}

.single-post .main-header-menu > .menu-item:hover > .menu-link,
.single-post .main-header-menu > .menu-item.current-menu-item > .menu-link,
.single-post .ast-builder-menu-1 .menu-item:hover > .menu-link,
.single-post .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.single-post .site-header .main-header-menu .sub-menu .menu-link,
.single-post .site-header .ast-builder-menu-1 .sub-menu .menu-link {
  color: #111827 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #111827;
}

.single-post .site-content,
.archive .site-content,
.search .site-content {
  padding-top: 0;
}

.single-post .site-primary-header-wrap,
.single-post .ast-primary-header-bar,
.archive .site-primary-header-wrap,
.archive .ast-primary-header-bar,
.search .site-primary-header-wrap,
.search .ast-primary-header-bar {
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.single-post .ast-article-single,
.archive .ast-article-post,
.search .ast-article-post {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(25, 38, 62, 0.08);
  padding: clamp(24px, 4vw, 48px) !important;
}

.single-post #primary,
.archive #primary,
.search #primary {
  width: 100%;
  padding-top: 84px;
}

.single-post .entry-header,
.archive .entry-header {
  margin-top: 0;
  padding-top: 24px;
}

.single-post .entry-content,
.archive .entry-content,
.search .entry-content {
  max-width: 72ch;
}

.single-post .entry-title,
.archive .entry-title,
.search .entry-title {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 16px;
}

.site-footer .footer-widget-area,
.site-footer .footer-adv-area,
.site-footer .footer-adv-overlay {
  display: none !important;
}

.site-footer .widget {
  margin-bottom: 0;
}

.site-footer .widget-title {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  line-height: 1.7;
}

.site-footer .site-below-footer-wrap {
  display: none !important;
}

.site-footer .site-below-footer-wrap .ast-builder-grid-row,
.site-footer .site-below-footer-wrap .ast-builder-footer-grid-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0;
}

.site-footer .site-below-footer-wrap .site-footer-section {
  width: auto;
  margin: 0;
  text-align: center;
}

.site-footer .site-below-footer-wrap p {
  margin: 0;
}

.page-id-2541 .elementor-element-b9c34f4,
.page-id-2541 .elementor-element-08f5bad {
  display: none !important;
}

.home .elementor-element-27486fe {
  padding-bottom: 46px;
}

.page-id-2607 .elementor-element-about-founder-wrap {
  padding-top: 24px;
}

.page-id-2607 .elementor-element-about-founder-heading {
  margin-bottom: 18px;
}

.page-id-2607 .elementor-element-about-founder-text p {
  margin-bottom: 1.15em;
}

.page-id-21 .elementor-element-int-browse-wrap {
  margin-top: -86px;
  position: relative;
  z-index: 4;
}

.page-id-21 .soe-card-grid--internship-top {
  margin-bottom: 34px;
}

.page-id-21 .soe-card-grid--internship-top .soe-card {
  min-height: 220px;
}

.page-id-25 .elementor-element-fe2c4e7 {
  display: none;
}

.page-id-25 .tpg-widget-heading-wrapper,
.page-id-25 .section-title {
  margin-top: 22px;
}

@media (max-width: 921px) {
  .soe-card-grid,
  .soe-converter__row,
  .soe-steps-grid,
  .soe-home-guides-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-id-21 .elementor-element-int-browse-wrap {
    margin-top: -50px;
  }

  .header-widget-area[data-section="sidebar-widgets-header-widget-1"] img {
    width: clamp(126px, 24vw, 170px);
  }
}

@media (max-width: 640px) {
  .soe-card-grid,
  .soe-converter__row,
  .soe-steps-grid,
  .soe-home-guides-grid,
  .soe-search-modal__form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .soe-section__toolbar {
    max-width: none;
  }

  .soe-card {
    min-height: auto;
  }

  .soe-search-modal__panel {
    margin-top: 10vh;
    padding: 22px;
  }

  .ast-page-builder-template .entry-content .e-con-boxed > .e-con-inner,
  .ast-page-builder-template .entry-content .elementor-section.elementor-top-section > .elementor-container,
  .ast-page-builder-template .entry-content .elementor-top-section > .elementor-column-gap-default {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ast-separate-container .ast-article-single,
  .ast-separate-container .ast-article-post,
  .search .ast-article-post {
    margin-left: 14px;
    margin-right: 14px;
  }

  .main-header-bar .ast-builder-grid-row,
  .site-primary-header-wrap .ast-builder-grid-row {
    column-gap: 8px;
  }

  .site-logo-img img,
  .site-logo-img .transparent-custom-logo img,
  .ast-theme-transparent-header .site-logo-img img {
    width: 60px;
  }

  .soe-section--scholarship-browser,
  .soe-section--resource-steps {
    padding-left: 14px;
    padding-right: 14px;
  }

  .single-post #primary,
  .archive #primary,
  .search #primary {
    padding-top: 96px;
  }
}
