/*!
Theme Name: Tripenger Theme
Theme URI: https://help.tripenger.com
Author: Tripenger Development Team
Author URI: https://help.tripenger.com
Description: Tripenger is a WordPress child theme for travel and tour agencies, designed to showcase travel packages, tours, and related content in a visually appealing manner.
Version: 0.0.8
Template: bosa
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bosa-child
Tags: travel, tour, child-theme
*/

/* Optionally import parent theme styles if not using functions.php (not recommended for performance) */
/* @import url("../bosa/style.css"); */


body,
html {
  font-family: Urbanist, Arial, sans-serif !important;
  height: 100%;
  margin: 0;
  padding: 0;
}

.site-title,
.site-description,
section.section-feature-posts-area.feature-posts-layout-one,
.section-highlight-post.highlight-layout-one,
.entry-meta .comments-link,
body.blog #secondary,
body.category #secondary {
  display: none !important;
}

body.blog #primary,
body.category #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;

  header.entry-header h3 {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 15px !important;
  }
}

body.blog .section-banner {
  margin-bottom: 50px !important;
}

.feature-image.single-feature-image {
  width: 100% !important;

  img {
    width: 100% !important;
    max-height: 400px !important;
    height: 400px !important;
    object-fit: cover !important;
    object-position: top !important;
    aspect-ratio: auto !important;
    display: block;
  }
}

body.blog .site-content {
  border: none !important;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1 0 auto;
  padding-top: 0;
}

.container {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.site-footer {
  flex-shrink: 0;
  background: rgb(5, 29, 63) !important;
  color: #fff !important;

  .bottom-footer {
    color: #fff !important;
  }

  .site-info {
    font-family: Urbanist, Arial, sans-serif !important;
  }
}

body {
  .header-one .top-header {
    display: none !important;
  }

  .main-navigation ul.menu>li>a {
    text-transform: capitalize;
  }
}

/* Style last menu item as a blue button with plane icon */
.menu>li:last-child>a,
.nav-menu>li:last-child>a {
  display: inline-flex;
  align-items: center;
  background: rgb(0, 175, 237);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 40px;
  font-weight: normal !important;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08);
  margin-left: 12px;
  border: none;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.menu>li:last-child>a:before,
.nav-menu>li:last-child>a:before {
  font-family: "Font Awesome 6 Free";
  content: "\f072";
  font-weight: 900;
  margin-right: 10px;
  font-size: 1.1em;
  display: inline-block;
  vertical-align: middle;
}

.menu>li:last-child>a:hover,
.nav-menu>li:last-child>a:hover,
.menu>li:last-child>a:focus,
.nav-menu>li:last-child>a:focus {
  background: #0077b5;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 115, 230, 0.12);
}

/** Homepage Support Section Styles **/

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 16px;
}

.support-item {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  padding: 32px 20px 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.support-grid a.support-item {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.support-grid a.support-item:active {
  transform: scale(0.98);
}

.support-item:hover {
  border-color: rgb(0, 175, 237);
  box-shadow: 0 4px 16px rgba(0, 115, 230, 0.08);
}

.support-item i {
  font-size: 3rem;
  color: rgb(0, 175, 237);
  margin-bottom: 18px;
}

.support-item h3 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: #222;
}

.support-item p {
  color: #555;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 8px;
  }

  .support-item {
    padding: 24px 10px 16px 10px;
  }
}

/* Full-width blue banner for .home-banner */
.home-banner {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -45px;
  width: 100vw;
  background: rgba(5, 29, 64, 0.98);
  /* Solid blue */
  color: #fff;
  padding: 60px 0 70px 0;
  text-align: center;
  box-sizing: border-box;
  z-index: 1;
}

.home-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  margin-top: 0;
  color: #fff;
  letter-spacing: -1px;
}

.home-banner form.wp-block-search {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-banner .wp-block-search__inside-wrapper {
  display: flex;
  width: 100%;

}

.home-banner .wp-block-search__input {
  flex: 1 1 auto;
  padding: 16px 18px;
  font-size: 1.15rem;
  border: none;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #222;
}

.home-banner .wp-block-search__button {
  padding: 0 24px !important;
  background-color: rgb(0, 175, 237) !important;
  color: #fff;
  border: none;
  border-radius: 0 40px 40px 0 !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  height: 85% !important;
}

.home-banner .wp-block-search__button:before {
  font-family: "Font Awesome 6 Free";
  content: "\f002";
  font-weight: 900;
  margin-right: 8px;
  display: inline-block;
  font-size: 1.1em;
  vertical-align: middle;
}

.home-banner .wp-block-search__button:hover,
.home-banner .wp-block-search__button:focus {
  background: #0077b5;
  color: #fff;
}

.home-banner .wp-block-search__label {
  display: none;
}

@media (max-width: 600px) {
  .home-banner {
    /* Remove negative margins and centering tricks on small screens */
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 32px 0 40px 0;
    z-index: 0;
    margin-top: 10px;
    border-radius: 15px;
  }

  .home-banner h2 {
    font-size: 1.1rem;
  }

  .home-banner form.wp-block-search {
    max-width: 100%;
    padding: 0 10px;
  }

  .home-banner .wp-block-search__inside-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .home-banner .wp-block-search__input,
  .home-banner .wp-block-search__button {
    border-radius: 6px !important;
  }

  .home-banner .wp-block-search__input {
    border-radius: 6px 0 0 6px !important;
  }

  .home-banner .wp-block-search__button {
    border-radius: 0 40px 40px 0 !important;
    font-size: .8rem;
  }
}

.page-title,
.entry-title {
  padding-top: 45px;
  padding-bottom: 20px;
  font-size: 2rem;
}

.breadcrumb-wrap .breadcrumbs {
  border-radius: 10px;
}

#content {

  /* --- Modern rounded input and button styles --- */
  /* Universal input and textarea style */
  input[type="text"],
  input[type="email"],
  input[type="search"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  textarea,
  select {
    border: 1px solid #e0e0e0 !important;
    border-radius: 24px !important;
    background: #fff;
    padding: 25px 22px;
    color: #222;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    margin-bottom: 10px;
    min-height: 20px;
  }

  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="search"]:focus,
  input[type="password"]:focus,
  input[type="number"]:focus,
  input[type="tel"]:focus,
  input[type="url"]:focus,
  textarea:focus,
  select:focus {
    border-color: rgb(0, 175, 237);
    box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08);
  }

  /* Remove resize for textarea for cleaner look */
  textarea {
    resize: none;
  }

  /* Button style */
  button,
  input[type="submit"],
  input[type="button"],
  .wp-block-search__button,
  button[type="submit"] {
    background: rgb(0, 175, 237);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 36px;
    font-weight: normal !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08);
    font-family: inherit;
    outline: none;
    display: inline-block;
  }

  button:hover,
  input[type="submit"]:hover,
  input[type="button"]:hover,
  .wp-block-search__button:hover,
  button[type="submit"]:hover,
  button:focus,
  input[type="submit"]:focus,
  input[type="button"]:focus,
  .wp-block-search__button:focus,
  button[type="submit"]:focus {
    background: #0077b5;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 115, 230, 0.12);
  }

  /* For grouped fields (like name + surname, code + mobile) */
  .input-group,
  .wp-block-search__inside-wrapper {
    display: flex;
    gap: 16px;
  }

  .input-group>* {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {

    .input-group,
    .wp-block-search__inside-wrapper {
      flex-direction: column;
      gap: 10px;
    }
  }

  /* Remove default button outline in some browsers */
  button:active,
  input[type="submit"]:active,
  input[type="button"]:active,
  .wp-block-search__button:active {
    outline: none;
  }

  /* Optional: Make checkbox and radio inputs larger and rounder for consistency */
  input[type="checkbox"],
  input[type="radio"] {
    accent-color: rgb(0, 175, 237);
    width: 1.2em;
    height: 1.2em;
    border-radius: 6px;
  }

  /* --- End modern input/button styles --- */
}

/* Style select2 single select to match text fields */
.select2-selection.select2-selection--single {
  border: 1px solid #e0e0e0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  padding: 12px 22px !important;
  color: #222 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit !important;
  min-height: 48px;
  display: flex !important;
  align-items: center;
}

.select2-selection.select2-selection--single:focus,
.select2-selection.select2-selection--single.select2-selection--focus {
  border-color: rgb(0, 175, 237) !important;
  box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08) !important;
}

.select2-selection__rendered {
  color: #222 !important;
  font-size: 1rem;
  line-height: 1.2;
  padding-left: 0 !important;
}

.select2-selection__arrow {
  height: 100% !important;
  right: 12px !important;
}

/* Ensure select2 dropdown appears below the input field */
.select2-container--open .select2-dropdown {
  top: 100% !important;
  margin-top: 4px !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 4px 16px rgba(0, 175, 237, 0.10) !important;
  z-index: 9999 !important;
}

.select2-container--open .select2-dropdown--below {
  top: 100% !important;
}

.select2-container--open .select2-dropdown--above {
  top: auto !important;
  bottom: 100% !important;
}

/*Ask for help page*/
/* SupportCandy Guest Tiles Layout */
.wpsc-guest-tiles {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  margin-top: 10px;
}

.wpsc-guest-tiles a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0, 175, 237) !important;
  color: #fff !important;
  text-transform: capitalize;
  border: 2px solid #00afed;
  border-radius: 16px;
  padding: 10px 36px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  position: relative;
}

.wpsc-guest-tiles a:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 14px;
  font-size: 1.3em;
  display: inline-block;
}

.wpsc-guest-tiles .wpsc-guest-create-ticket:before {
  content: "\f059";
}

.wpsc-guest-tiles .wpsc-otp-open-ticket:before {
  content: "\f07c";
}

.wpsc-guest-tiles a:hover {
  background: #0077b5 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 115, 230, 0.12);
  text-decoration: none !important;
}

/* Responsive: stack tiles on mobile */
@media (max-width: 700px) {
  .wpsc-guest-tiles {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
  }

  .wpsc-guest-tiles a {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 10px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
}

/* Make .wpsc-auth-container full width if needed */
#wpsc-container .wpsc-auth-container {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Center the sign-in form and heading */
#wpsc-container .auth-inner-container {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

/* Change heading text */
#wpsc-container .auth-inner-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

body {
  .wpsc-shortcode-container {
    border: none !important;
  }

  /* Force SupportCandy primary button to use child theme button style */
  .wpsc-button.secondary,
  .wpsc-button.secondary[type="submit"],
  .wpsc-button.secondary[type="button"],
  .wpsc-button.primary,
  .wpsc-button.primary[type="submit"],
  .wpsc-button.primary[type="button"] {
    border: none !important;
    border-radius: 24px !important;
    padding: 10px 36px !important;
    font-weight: normal !important;
    text-transform: capitalize !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08) !important;
    font-family: inherit !important;
    outline: none !important;
    display: inline-block !important;
  }

  .wpsc-button.primary,
  .wpsc-button.primary[type="submit"],
  .wpsc-button.primary[type="button"] {
    background: rgb(0, 175, 237) !important;
    background-color: rgb(0, 175, 237) !important;
    border-color: rgb(0, 175, 237) !important;
    color: #fff !important;
  }

  .wpsc-button.primary:hover,
  .wpsc-button.primary:focus {
    background: #0077b5 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 115, 230, 0.12) !important;
  }

  .wpsc-button.secondary,
  .wpsc-button.secondary[type="submit"],
  .wpsc-button.secondary[type="button"] {
    background: #f0f0f0 !important;
    color: #222 !important;
    border-color: #e0e0e0 !important;
  }

  .wpsc-button.secondary:hover,
  .wpsc-button.secondary:focus {
    background: #e0e0e0 !important;
    color: rgb(0, 175, 237) !important;
    box-shadow: 0 2px 8px rgb(0, 175, 237) !important;
  }

  .wpsc-login.wpsc-authenticate-open-ticket {
    .wpsc-button.secondary {
      display: none !important;
    }

    .wpsc-button.primary {
      width: 100% !important;
      ;
    }
  }

  .wpsc-header {
    background-color: rgb(5, 29, 63) !important;
  }
}

/* Hide About the Author, Related Posts, and Sidebar Widgets on single post pages */
.wp-singular.faq-template-default .author-box,
.wp-singular.faq-template-default .author-info,
.wp-singular.faq-template-default .related-posts,
.wp-singular.faq-template-default .yarpp-related,
.wp-singular.faq-template-default .widget-area,
.wp-singular.faq-template-default #secondary,
.wp-singular.faq-template-default .sidebar,
.wp-singular.faq-template-default .site-sidebar {
  display: none !important;
}

.wp-singular.faq-template-default #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

.arconix-faq-accordion-title.ui-state-default {
  background: #f7fafc !important;
  /* light background for inactive */
  color: #222 !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Urbanist, Arial, sans-serif !important;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}

.arconix-faq-accordion-title.ui-state-active {
  background: rgb(0, 175, 237) !important;
  /* theme blue for active */
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 175, 237, 0.08) !important;
}

.arconix-faq-accordion-wrap.ui-accordion {
  margin-bottom: 2.5rem !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

div.legal h5 {
  margin-top: 35px;
}

@media (max-width: 600px) {

  .site-header,
  .main-navigation {
    position: relative;
    z-index: 10;
  }
}