:root {
  --stcw-maroon: #7b0000;
  --stcw-maroon-dark: #5c0000;
  --stcw-red: #9e1b1b;
  --stcw-orange: #ee5b12;
  --stcw-orange-light: rgba(238, 91, 18, 0.12);
  --stcw-orange-border: rgba(238, 91, 18, 0.28);
  --stcw-ink: #171717;
  --stcw-muted: #5b5b5b;
  --stcw-border: #eadfdb;
  --stcw-bg: #fff7f4;
  --stcw-card: #ffffff;
  --stcw-shadow: 0 18px 45px rgba(79, 0, 0, .14);
}

* {
  box-sizing: border-box;
}

body.stcw-home-new {
  margin: 0;
  border-top: 3px solid var(--stcw-maroon);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--stcw-ink);
  background: #fff;
}

.stcw-home-new a {
  color: inherit;
  text-decoration: none;
}

.stcw-top-strip {
  background: var(--stcw-maroon);
  color: #fff;
}

.stcw-bottom-strip {
  background: linear-gradient(90deg, var(--stcw-maroon-dark), var(--stcw-maroon));
  color: #fff;
}

.stcw-top-strip__inner,
.stcw-nav {
  width: min(1340px, calc(100% - 28px));
  margin: 0 auto;
}

.stcw-home-shell {
  width: min(1340px, calc(100% - 28px));
  margin: 0 auto;
}

.stcw-home-shell .stcw-search-panel,
.stcw-home-shell .stcw-home-banner,
.stcw-home-shell .stcw-quick-grid,
.stcw-home-shell .stcw-stats,
.stcw-home-shell .stcw-categories,
.stcw-home-shell .stcw-trust {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.stcw-top-strip__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

.stcw-top-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  text-align: center;
}

.stcw-nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--stcw-border);
}

.stcw-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stcw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stcw-brand img {
  width: 76px;
  height: 60px;
  object-fit: contain;
}

.stcw-brand__name {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.9px;
  color: #111;
}

.stcw-brand__name span {
  color: var(--stcw-red);
}

.stcw-brand__tag {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.stcw-nav__links,
.stcw-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stcw-nav__logins {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stcw-nav__links {
  font-size: 13px;
  font-weight: 800;
}

.stcw-nav__actions a,
.stcw-nav__logins a {
  border: 1px solid var(--stcw-orange-border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
  background: var(--stcw-orange-light);
  color: var(--stcw-ink);
}

.stcw-nav__actions a:hover,
.stcw-nav__logins a:hover {
  background: rgba(238, 91, 18, 0.2);
}

/* PWA install icons inside header — do not inherit login button chrome */
.stcw-nav__actions .stcw-pwa-install__btn,
.stcw-nav__actions .stcw-pwa-install a.stcw-pwa-install__btn {
  border: 0;
  background: transparent;
  padding: 2px 4px;
  font-weight: inherit;
}

.stcw-home-banner {
  width: 100%;
  margin: 24px 0 0;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1774 / 790.4;
}

.stcw-home-banner picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.stcw-home-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Legacy/mobile markup: never stack Booker logo on the seafarer hero image. */
.stcw-home-banner .stcw-mobile-banner-top,
.stcw-home-banner .stcw-brand--overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.stcw-search-panel {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--stcw-shadow);
  overflow: visible;
  border: 1px solid var(--stcw-border);
}

.stcw-search-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #faf7f5;
  border-bottom: 1px solid var(--stcw-border);
}

.stcw-search-tab {
  border: 0;
  border-right: 1px solid var(--stcw-border);
  padding: 21px 12px;
  background: transparent;
  color: #2d2222;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.stcw-search-tab:last-child {
  border-right: 0;
}

.stcw-search-tab.is-active {
  background: linear-gradient(135deg, var(--stcw-red), var(--stcw-maroon));
  color: #fff;
}

.stcw-tab-panel {
  display: none;
  padding: 28px 32px;
  overflow: visible;
}

.stcw-tab-panel.is-active {
  display: block;
}

.stcw-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.stcw-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--stcw-border);
  border-radius: 6px;
  background: #fff;
  color: #2d2222;
  font-weight: 900;
  cursor: pointer;
}

.stcw-mode-btn.is-active,
.stcw-mode-btn:hover {
  background: var(--stcw-red);
  color: #fff;
  border-color: var(--stcw-red);
}

.stcw-course-mode-panel {
  display: none;
}

.stcw-course-mode-panel.is-active {
  display: block;
}

.stcw-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 210px;
  gap: 18px;
  align-items: end;
  overflow: visible;
}

.stcw-form-grid > .stcw-field {
  position: relative;
  z-index: 1;
}

.stcw-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 900;
}

.stcw-field input,
.stcw-field select {
  width: 100%;
  height: 58px;
  border: 1px solid #e0d4d0;
  border-radius: 7px;
  padding: 0 15px;
  font-size: 15px;
  background: #fff;
}

.stcw-autocomplete-field {
  position: relative;
  z-index: 1;
}

.stcw-autocomplete-field:focus-within,
.stcw-autocomplete-field.is-open {
  z-index: 200;
}

.stcw-autocomplete-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #d8c4bf;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.stcw-autocomplete-list div {
  padding: 10px 12px;
  cursor: pointer;
  color: #111;
  font-size: 14px;
}

.stcw-autocomplete-list div:hover {
  background: #fff2ef;
}

.stcw-search-button {
  height: 58px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff731d, #e24908);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.stcw-search-notes {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 22px;
  padding: 17px;
  background: #fff2ef;
  color: #3a2222;
  font-weight: 900;
}

.stcw-course-by-institute {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.stcw-form-grid--institute {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) 180px;
}

.stcw-inline-msg {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 11px 13px;
  border: 1px solid #f3c1b8;
  border-radius: 8px;
  background: #fff3ef;
  color: #8a1b12;
  font-weight: 800;
}

.stcw-inline-msg.is-visible {
  display: flex;
}

.stcw-inline-msg button {
  border: 0;
  background: transparent;
  color: #8a1b12;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.stcw-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 30px;
  border: 1px solid var(--stcw-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.stcw-quick-grid.stcw-desktop-only {
  display: grid;
}

.stcw-quick-card {
  min-height: 205px;
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--stcw-border);
}

.stcw-quick-card:last-child {
  border-right: 0;
}

.stcw-quick-icon {
  display: block;
  margin-bottom: 16px;
  font-size: 42px;
  color: var(--stcw-red);
}

.stcw-quick-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}

.stcw-quick-card p {
  margin: 0;
  color: var(--stcw-muted);
  font-size: 13px;
  line-height: 1.45;
}

.stcw-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 28px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--stcw-maroon-dark), var(--stcw-maroon));
  color: #fff;
  overflow: hidden;
}

.stcw-stat {
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
}

.stcw-stat:last-child {
  border-right: 0;
}

.stcw-stat strong {
  display: block;
  font-size: 22px;
}

.stcw-stat span {
  font-size: 11px;
  font-weight: 800;
}

.stcw-section-title {
  text-align: center;
  margin: 30px 0 20px;
  font-size: 22px;
  font-weight: 900;
}

.stcw-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.stcw-category-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  text-align: center;
}

.stcw-category-thumb {
  height: 105px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(123,0,0,.18)),
    linear-gradient(135deg, #dcecf5, #b9d3e3);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stcw-red);
  font-size: 44px;
}

.stcw-category-card--ship .stcw-category-thumb {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(123,0,0,.26)),
    url("../images new/dp_vessel.jpg");
}

.stcw-category-card--bridge .stcw-category-thumb {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(123,0,0,.26)),
    url("../images new/bridge.jpg");
}

.stcw-category-card--ship .stcw-category-thumb i,
.stcw-category-card--bridge .stcw-category-thumb i {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.stcw-category-card strong {
  display: block;
  padding: 14px 10px 3px;
  font-size: 13px;
}

.stcw-category-card span {
  display: block;
  padding: 0 10px 14px;
  color: var(--stcw-muted);
  font-size: 12px;
}

.stcw-trust {
  margin-top: 34px;
  padding: 22px 0;
  text-align: center;
}

.stcw-trust h3 {
  margin: 0 0 18px;
  font-size: 16px;
}

.stcw-trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #506070;
  font-weight: 900;
}

.stcw-bottom-strip__inner {
  min-height: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .stcw-nav {
    flex-wrap: wrap;
  }

  .stcw-nav__links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stcw-form-grid,
  .stcw-stats,
  .stcw-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stcw-quick-grid.stcw-desktop-only {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .stcw-top-strip__inner,
  .stcw-nav,
  .stcw-home-shell {
    width: min(100% - 20px, 1340px);
  }

  .stcw-top-strip__inner,
  .stcw-top-pill-row,
  .stcw-nav__actions {
    justify-content: center;
  }

  .stcw-nav {
    justify-content: center;
  }

  .stcw-nav__links {
    display: none;
  }

  .stcw-brand__name {
    font-size: 23px;
  }

  .stcw-home-banner {
    margin-top: 18px;
    border-radius: 12px;
  }

  .stcw-search-tabs,
  .stcw-form-grid,
  .stcw-stats,
  .stcw-category-grid {
    grid-template-columns: 1fr;
  }

  .stcw-search-panel {
    margin-top: 0;
  }

  .stcw-tab-panel {
    padding: 18px;
  }

  .stcw-search-notes {
    flex-direction: column;
    gap: 12px;
  }

  .stcw-quick-card,
  .stcw-stat {
    border-right: 0;
    border-bottom: 1px solid var(--stcw-border);
  }
}

.stcw-mobile-only {
  display: none !important;
}

.stcw-mobile-hero-block {
  display: flex;
  flex-direction: column;
}

.stcw-mobile-hero-block .stcw-search-panel {
  order: 1;
}

.stcw-mobile-hero-block .stcw-home-banner {
  order: 2;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .stcw-desktop-only {
    display: none !important;
  }

  .stcw-mobile-only {
    display: block !important;
  }

  body.stcw-student-booking-mobile .stcw-mobile-login-row,
  body.stcw-student-booking-mobile .stcw-nav-wrap,
  .stcw-mobile-login-row--hidden,
  body.stcw-student-booking-mobile .stcw-mobile-trust,
  .stcw-mobile-trust--hidden {
    display: none !important;
  }

  .stcw-student-mobile-chrome {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #7b0000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  }

  .stcw-student-mobile-chrome__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 8px 4px;
  }

  .stcw-student-mobile-chrome__back,
  .stcw-student-mobile-chrome__back-spacer {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .stcw-student-mobile-chrome__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
  }

  .stcw-student-mobile-chrome__center {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    line-height: 1.15;
  }

  .stcw-student-mobile-chrome__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -.3px;
    color: #fff;
  }

  .stcw-student-mobile-chrome__eyebrow span {
    color: #ffb4b4;
  }

  .stcw-student-mobile-chrome__title {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
  }

  .stcw-student-mobile-chrome__user {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    max-width: 72px;
  }

  .stcw-student-mobile-chrome__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    object-fit: cover;
  }

  .stcw-student-mobile-chrome__name {
    font-size: 8px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stcw-student-mobile-chrome__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 8px 5px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
  }

  .stcw-student-mobile-chrome__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
    white-space: nowrap;
  }

  .stcw-student-mobile-chrome__link--logout {
    color: #ffd4a8;
  }

  .stcw-student-mobile-chrome__link .fa {
    font-size: 11px;
    opacity: .9;
  }

  .stcw-mobile-header-tools.stcw-mobile-only {
    display: flex !important;
  }

  .stcw-mobile-search-modes.stcw-mobile-only {
    display: flex !important;
  }

  .stcw-top-strip {
    display: none;
  }

  .stcw-top-strip__inner,
  .stcw-nav {
    width: min(100% - 24px, 1340px);
  }

  .stcw-home-shell {
    width: 100%;
    max-width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
  }

  .stcw-nav {
    min-height: 64px;
    justify-content: space-between;
  }

  .stcw-brand img {
    width: 52px;
    height: 42px;
  }

  .stcw-brand__name {
    font-size: 20px;
  }

  .stcw-brand__tag {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .stcw-mobile-header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .stcw-mobile-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 17px;
    cursor: pointer;
  }

  .stcw-mobile-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    font-weight: 900;
  }

  .stcw-mobile-only[hidden] {
    display: none !important;
  }

  .stcw-mobile-login-row {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 0 10px 10px;
    border-bottom: 1px solid var(--stcw-border);
    background: #fff;
  }

  .stcw-mobile-login-row a {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 4px;
    border: 1px solid var(--stcw-orange-border);
    border-radius: 6px;
    background: var(--stcw-orange-light);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
  }

  .stcw-mobile-login-row a i {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
  }

  .stcw-nav-wrap {
    border-bottom: 0;
  }

  .stcw-nav {
    display: none !important;
  }

  .stcw-home-banner {
    position: relative;
  }

  .stcw-mobile-banner-top {
    display: none !important;
  }

  .stcw-brand--overlay .stcw-brand__name {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  }

  .stcw-brand--overlay .stcw-brand__name span {
    color: #ffb4a0;
  }

  .stcw-brand--overlay .stcw-brand__tag {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  }

  .stcw-mobile-icon-btn--overlay {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(4px);
  }

  .stcw-mobile-hero-block {
    width: 100%;
    margin: 0;
    padding-bottom: 28px;
  }

  .stcw-mobile-hero-block .stcw-home-banner {
    order: 1;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    overflow: hidden;
    max-height: none;
  }

  .stcw-mobile-hero-block .stcw-home-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .stcw-mobile-hero-block .stcw-search-panel {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: -68px auto 0;
    z-index: 8;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(79,0,0,.2);
    border: 1px solid #f0e4e0;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
  }

  .stcw-mobile-search-modes {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding: 18px 14px 0;
    border-bottom: 0;
  }

  .stcw-mobile-radio {
    flex: 1 1 0;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    color: #333;
    cursor: pointer;
    text-align: center;
    line-height: 1.25;
  }

  .stcw-mobile-radio input {
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--stcw-maroon);
  }

  .stcw-tab-panel {
    padding: 14px 14px 18px;
  }

  .stcw-form-grid,
  .stcw-form-grid--institute {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: end;
  }

  body.stcw-mobile-mode-city .stcw-mobile-primary,
  body.stcw-mobile-mode-institute .stcw-mobile-primary,
  body.stcw-mobile-mode-job .stcw-mobile-primary,
  body.stcw-mobile-mode-city .stcw-search-button,
  body.stcw-mobile-mode-institute .stcw-search-button,
  body.stcw-mobile-mode-job .stcw-search-button {
    grid-column: 1 / -1;
  }

  body.stcw-mobile-mode-institute .stcw-mobile-f-secondary,
  body.stcw-mobile-mode-job .stcw-mobile-f-secondary {
    grid-column: 1 / -1;
  }

  body.stcw-mobile-mode-job .stcw-field:has(#jobtitle),
  body.stcw-mobile-mode-job .stcw-field:has(#shiptype) {
    grid-column: span 1;
  }

  body.stcw-mobile-mode-city .stcw-mobile-f-institute,
  body.stcw-mobile-mode-city .stcw-mobile-f-job,
  body.stcw-mobile-mode-institute .stcw-mobile-f-city,
  body.stcw-mobile-mode-institute .stcw-mobile-f-job,
  body.stcw-mobile-mode-job .stcw-mobile-f-city,
  body.stcw-mobile-mode-job .stcw-mobile-f-institute {
    display: none !important;
  }

  body.stcw-mobile-mode-city .stcw-field-country,
  body.stcw-mobile-mode-institute .stcw-field-agency,
  body.stcw-mobile-mode-job .stcw-field-country {
    display: none !important;
  }

  body.stcw-mobile-mode-city .stcw-mobile-primary,
  body.stcw-mobile-mode-institute .stcw-mobile-primary,
  body.stcw-mobile-mode-job .stcw-mobile-primary {
    order: 1;
  }

  body.stcw-mobile-mode-city .stcw-field-agency,
  body.stcw-mobile-mode-city .stcw-field-course,
  body.stcw-mobile-mode-institute .stcw-mobile-f-secondary,
  body.stcw-mobile-mode-job .stcw-mobile-f-secondary {
    order: 2;
  }

  body.stcw-mobile-mode-city .stcw-search-button,
  body.stcw-mobile-mode-institute .stcw-search-button,
  body.stcw-mobile-mode-job .stcw-search-button {
    order: 10;
    width: 100%;
    height: 44px;
    margin-top: 6px;
    border-radius: 10px;
    font-size: 15px;
  }

  .stcw-field label {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .stcw-mobile-primary input,
  .stcw-mobile-primary select {
    height: 58px;
    padding-left: 42px;
    font-size: 15px;
    border-radius: 8px;
  }

  .stcw-mobile-f-secondary input,
  .stcw-mobile-f-secondary select {
    height: 50px;
    font-size: 14px;
    border-radius: 8px;
  }

  body.stcw-mobile-mode-city .stcw-mobile-primary {
    position: relative;
  }

  body.stcw-mobile-mode-city .stcw-mobile-primary::before {
    content: '\f041';
    font-family: FontAwesome;
    position: absolute;
    left: 14px;
    bottom: 20px;
    color: #888;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
  }

  body.stcw-mobile-mode-institute .stcw-mobile-primary::before {
    content: '\f19c';
    font-family: FontAwesome;
    position: absolute;
    left: 14px;
    bottom: 20px;
    color: #888;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
  }

  body.stcw-mobile-mode-job .stcw-mobile-primary::before {
    content: '\f0b1';
    font-family: FontAwesome;
    position: absolute;
    left: 14px;
    bottom: 16px;
    color: #888;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
  }

  body.stcw-mobile-mode-job .stcw-mobile-primary {
    position: relative;
  }

  body.stcw-mobile-mode-job .stcw-field:has(#stcw-flag) {
    display: none !important;
  }

  .stcw-mobile-trust {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    margin: 20px 0 10px;
    text-align: center;
  }

  .stcw-mobile-trust div {
    font-size: 11px;
    font-weight: 800;
    color: #4a4a4a;
    line-height: 1.3;
  }

  .stcw-mobile-trust i {
    display: block;
    margin-bottom: 6px;
    color: var(--stcw-maroon);
    font-size: 22px;
  }

  .stcw-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #fff3f0;
    color: var(--stcw-maroon);
    box-shadow: none;
    border: 1px solid #f0ded8;
  }

  .stcw-stat:nth-child(5) {
    grid-column: 1 / -1;
  }

  .stcw-stat {
    padding: 16px 10px;
    border-right: 0;
    border-bottom: 1px solid #f0ded8;
    background: transparent;
  }

  .stcw-stat strong {
    font-size: 18px;
    color: var(--stcw-maroon);
  }

  .stcw-stat span {
    color: #444;
  }

  .stcw-bottom-strip__inner {
    gap: 14px;
    font-size: 11px;
    padding: 10px 8px;
  }

  .stcw-bottom-strip__inner span {
    flex: 1 1 40%;
    text-align: center;
  }
}
