/* ATP Sova: restrained visual refresh. Layout lives in sova-layout.css. */
body {
  --sova-navy: #2a456e;
  --sova-ink: #24374f;
  --sova-muted: #526278;
  --sova-border: #d8e1ec;
  --sova-focus: #4e7bb6;
}
/* A keyboard ring, without changing WooCommerce input geometry. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
.select2-selection:focus-visible {
  outline: 3px solid var(--sova-focus);
  outline-offset: 3px;
}
.home .wbtm-search-form-fields-sec {
  background: #fff;
  border: 1px solid var(--sova-border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 12px 32px rgb(23 45 78 / 16%);
}
.home .wbtm-search-form-fields-sec .fields-li label {
  color: var(--sova-muted);
  font-size: 13px;
  line-height: 1.5;
}
.home .wbtm-search-form-fields-sec .fields-li > label {
  font-weight: 600;
}
.home .wbtm-search-form-fields-sec .fields-li > label > .fa {
  margin-right: 5px;
  color: var(--sova-navy);
}
.home .wbtm-search-form-fields-sec .select2-selection--single,
.home .wbtm-search-form-fields-sec input#j_date,
.home .wbtm-search-form-fields-sec input#r_date {
  min-height: 46px;
  border: 1px solid #bcc8d7;
  border-radius: 10px;
  background: #fff;
  color: var(--sova-ink);
  font-size: 16px;
  font-weight: 400;
}
.home .wbtm-search-form-fields-sec .select2-selection__rendered {
  line-height: 44px;
  color: var(--sova-ink);
}
.home .wbtm-search-form-fields-sec .select2-selection__arrow { height: 44px; }
.home .wbtm-search-form-fields-sec .search-radio-sec input { accent-color: var(--sova-navy); }
.home .wbtm-search-form-fields-sec .fields-li button {
  width: 100%;
  min-height: 46px;
  height: auto;
  line-height: 1.4;
  padding: 12px 20px;
  margin-top: 14px;
  border-radius: 10px;
  background-color: var(--sova-navy);
  font-weight: 600;
  transition: background-color .15s ease;
}
.home .wbtm-search-form-fields-sec .fields-li button:hover {
  opacity: 1;
  background-color: #1e3557;
}
.home .vc__message_box {
  border-color: #ccd6e3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(23 45 78 / 7%);
}
.home .vc__message_box-text { line-height: 1.65; }
.home .home-block-popular { padding-top: 48px; padding-bottom: 48px; }
.home .home-about-us { padding-top: 64px; padding-bottom: 64px; }
.home .home-about-us .wpb_text_column { line-height: 1.8; }
.home .home-about-us .vc_single_image-wrapper img { border-radius: 16px; }
body.wp-theme-atpsova .vc__service-item {
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
body.wp-theme-atpsova .vc__service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(23 45 78 / 16%);
}
body.wp-theme-atpsova .sova-gallery a { border-radius: 12px; overflow: hidden; display: block; }
body.wp-theme-atpsova .sova-gallery img { transition: transform .2s ease; }
body.wp-theme-atpsova .sova-gallery a:hover img { transform: scale(1.025); }
@media (max-width: 767px) {
  .home .wbtm-search-form-fields-sec { padding: 24px 20px; border-radius: 16px; }
  .home .home-block-popular { padding-top: 32px; padding-bottom: 32px; }
  .home .home-about-us { padding-top: 40px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  body.wp-theme-atpsova .vc__service-item, body.wp-theme-atpsova .sova-gallery img,
  .home .wbtm-search-form-fields-sec .fields-li button { transition: none; }
  body.wp-theme-atpsova .vc__service-item:hover { transform: none; }
  body.wp-theme-atpsova .sova-gallery a:hover img { transform: none; }
}
/* Make contact/subscription controls comfortable to tap on phones. */
@media (max-width: 767px) {
  body.wp-theme-atpsova .wpcf7 input[type="text"],
  body.wp-theme-atpsova .wpcf7 input[type="email"],
  body.wp-theme-atpsova .wpcf7 input[type="tel"],
  body.wp-theme-atpsova .wpcf7 input[type="submit"],
  body.wp-theme-atpsova .wpcf7 button[type="submit"] {
    min-height: 44px;
  }
}

/* One mobile column for booking, notices and popular routes. */
.home .wbtm-search-form-fields-sec .sova-search-title {
  display: block;
  margin: 0 0 16px;
  color: var(--sova-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.home .wbtm-search-form-fields-sec { border-radius: 12px; box-shadow: 0 4px 16px rgb(23 45 78 / 8%); }
.home .vc__message_box { border-radius: 12px; box-shadow: 0 4px 16px rgb(23 45 78 / 5%); }
.home .vc__message_box-text .sova-notice-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef3f9;
  color: var(--sova-navy);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 767px) {
  .home .main-block > .vc_column_container > .vc_column-inner { padding-left: 16px; padding-right: 16px; }
  .home .main-block-form { width: 100%; padding: 0; }
  .home .main-block-form .wbtm-search-form-fields-sec { width: 100%; max-width: none; padding: 20px; }
  .home .main-block-form .fields-li { margin-bottom: 16px; }
  .home .main-block-form .fields-li:last-child { margin-bottom: 0; }
  .home .home-block-popular { padding: 24px 16px; }
  .home .home-block-popular > .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; }
  .home .vc__message_box { margin-bottom: 24px; }
  .home .vc__message_box-icon { padding: 10px 16px 10px 44px; font-size: 16px; }
  .home .vc__message_box-icon:before { top: 50%; transform: translateY(-50%); }
  .home .vc__message_box-text { padding: 16px; font-size: 15px; line-height: 1.5; }
  .home .vc__message_box-text .sova-notice-call { display: flex; justify-content: center; width: 100%; }
}
/* The booking plugin keeps a 320px width through the tablet breakpoint. */
@media (max-width: 991px) {
  .home .main-block-form { width: calc(100vw - 32px); max-width: none; padding: 0; left: 50%; transform: translateX(-50%); }
  .home .main-block-form .wbtm-search-form-fields-sec { width: 100%; max-width: none; }
  .home .home-block-popular { padding-left: 16px; padding-right: 16px; }
  .home .home-block-popular > .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .home .main-block-form .fields-li { width: calc(50% - 8px); flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
  .home .main-block-form .fields-li:last-child { width: 100%; flex: 0 0 100%; max-width: 100%; }
}

/* Departure information: typography and a clear secondary action. */
.home .sova-travel-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid #d8e1ec;
  border-left: 4px solid var(--sova-navy);
  border-radius: 12px;
  background: #f7f9fc;
}
.home .sova-travel-notice-copy { flex: 1; min-width: 0; }
.home .sova-travel-notice h2 {
  margin: 0 0 8px;
  color: var(--sova-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.home .sova-travel-notice p {
  max-width: 58ch;
  margin: 0;
  color: var(--sova-muted);
  font-size: 16px;
  line-height: 1.6;
}
.home .sova-travel-notice-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 0 0 242px;
  min-height: 66px;
  padding: 12px 20px;
  border: 1px solid var(--sova-navy);
  border-radius: 8px;
  background: #fff;
  color: var(--sova-navy);
  text-decoration: none;
  line-height: 1.4;
}
.home .sova-travel-notice-call span { font-size: 13px; font-weight: 500; }
.home .sova-travel-notice-call strong { font-size: 17px; font-weight: 600; }
.home .sova-travel-notice-call:hover { background: var(--sova-navy); color: #fff; }
@media (max-width: 767px) {
  .home .sova-travel-notice { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 24px; padding: 20px; }
  .home .sova-travel-notice h2 { font-size: 20px; }
  .home .sova-travel-notice p { font-size: 15px; line-height: 1.6; }
  .home .sova-travel-notice-call { flex-basis: auto; width: 100%; }
}
