/* Puerto Aventuras: brand adjustments over the retained TourEx template. */
:root {
  --pa-ocean: #0a486b;
  --pa-deep: #0a3048;
  --pa-sand: #fcf8f1;
}

/* The reference logo is white; a blue tile keeps it visible on light headers. */
.logo img[src*="puerto-aventuras-logo"],
.tg-footer-logo img[src*="puerto-aventuras-logo"],
.offCanvas__logo img[src*="puerto-aventuras-logo"],
.nav-logo img[src*="puerto-aventuras-logo"],
.tg-mobile-logo img[src*="puerto-aventuras-logo"] {
  width: 160px;
  height: 72px;
  object-fit: contain;
  padding: 8px 12px;
  background: var(--pa-ocean);
  border-radius: 4px;
}
.tg-footer-logo img[src*="puerto-aventuras-logo"] { padding-left: 0; background: transparent; }
.tg-hero-tu-wrapper,
.tg-cta-wrap,
.tg-footer-area { background-color: var(--pa-deep); }
.tg-hero-tu-wrapper {
  background-image: linear-gradient(180deg, rgba(10,48,72,.4), rgba(10,48,72,.5)), url("https://puertoaventuras.com/wp-content/uploads/2023/02/Marina-Puerto-Aventuras-Brandgger-05.jpg") !important;
}
.tg-hero-tu-wrapper .tg-hero-title,
.tg-hero-tu-wrapper .tg-hero-tu-title { text-shadow: 0 2px 20px rgba(0,0,0,.22); }
.tg-hero-tu-avatar img { width: 104px; height: 48px; object-fit: cover; border-radius: 30px; }
.tg-cta-wrap,
.tg-footer-area {
  background-image: linear-gradient(rgba(10,48,72,.93), rgba(10,48,72,.93)), url("https://puertoaventuras.com/wp-content/uploads/2023/02/Marina-Puerto-Aventuras-Brandgger-05.jpg") !important;
}
.tg-cta-thumb img { width: 160px; height: 130px; object-fit: contain; }
.pa-discovery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s, color .2s;
}
a:hover > .pa-discovery-link,
a:focus-visible > .pa-discovery-link { background: var(--pa-sand); color: var(--pa-ocean); }
.tg-destination-thumb img,
.tg-listing-card-thumb img,
.tg-listing-card-thumb > a > img,
.tg-blog-thumb > a > img,
.tg-shop-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tg-destination-tu-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tg-about-su-thumb img[src^="https://puertoaventuras.com"] { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 10px; }
.tg-testimonial-4-slider-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pa-editorial-rating { visibility: hidden; }
/* Retain template ornaments while neutralizing their original purple artwork. */
img[src*="/assets/img/"][src*="shape"] { filter: grayscale(1); }
.tg-section-su-para, .tg-section-su-title, .tg-section-title,
.tg-blog-title, .tg-listing-card-title, .tg-hero-title, .tg-hero-tu-title,
.tg-cta-title { text-transform: none; }
.tg-footer-su-wrapper .tg-footer-copyright span,
.tg-footer-copyright span, .tg-footer-copyright a { color: #d3e2e7; }
.pa-catalog-note {
  padding: 14px max(20px, calc((100vw - 1200px) / 2));
  background: var(--pa-sand);
  color: var(--pa-deep);
  border-top: 1px solid #ded9ce;
  font-size: 13px;
  line-height: 1.7;
}
.pa-catalog-note a { text-decoration: underline; }
.tg-custom-accordion .pa-faq-answer { padding: 0 24px 24px; }
@media (max-width: 575px) {
  .logo img[src*="puerto-aventuras-logo"] { width: 130px; height: 58px; }
  .pa-discovery-link { padding: 11px 14px; font-size: 13px; }
  .tg-hero-tu-title { overflow-wrap: break-word; }
}

/* Preserve each home template's media geometry independently of remote files. */
.pa-home img.pa-template-photo {
  display: block;
  width: var(--pa-photo-width, 100%);
  max-width: 100%;
  height: auto !important;
  aspect-ratio: var(--pa-photo-ratio);
  object-fit: cover;
}
.pa-home .tg-brand-items img {
  display: block;
  width: 184px;
  height: 60px;
  object-fit: contain;
  padding: 8px 16px;
  background: var(--pa-ocean);
  border-radius: 6px;
}

/* Spanish sentence case must also override Bootstrap's important utility. */
.text-capitalize, .text-capitalize *,
h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
  text-transform: none !important;
}

/* Size the main banner by its content, with full-width slides behind it. */
.pa-home-three .tg-hero-area { min-height: 740px; isolation: isolate; }
.pa-home-three .shop-slider-wrapper { position: absolute; inset: 0; z-index: 0; }
.pa-home-three .tg-hero-slider-active { height: 100%; }
.pa-home-three .tg-hero-content-area { position: relative; }
.pa-home .tg-hero-slider-active > .swiper-wrapper,
.pa-home .tg-hero-slider-active > .swiper-wrapper > .swiper-slide,
.pa-home .tg-hero-bg { height: 100%; }
.pa-home .tg-hero-bg { position: relative; overflow: hidden; }
.pa-home .tg-hero-bg::before {
  background: linear-gradient(180deg, rgba(10,48,72,.25), rgba(10,48,72,.55));
}
.pa-home .tg-hero-thumb { background-position: center; }
.pa-home .tg-testimonial-4-slider-thumb img { margin-inline: auto; }
.pa-home-three .tg-about-logo .pa-about-logo {
  display: block;
  width: 235px;
  height: 104px;
  max-width: 100%;
  margin-inline: auto;
  padding: 12px 18px;
  object-fit: contain;
  background: var(--pa-ocean);
  border-radius: 6px;
}
.pa-home-three .tg-about-thumb-wrap { display: flow-root; }
/* Activate the template's dark controls on the compact white scrolling header. */
.pa-home-three #header-sticky.header-sticky {
  position: fixed;
  background: #fff;
  padding-block: 6px;
  animation: none;
}
.pa-home-three #header-sticky.header-sticky .logo img {
  width: 132px;
  height: 58px;
  padding: 6px 10px;
}
.pa-home-three #header-sticky.header-sticky .tgmenu__main-menu > ul > li > a {
  padding: 18px 12px;
  color: var(--pa-deep);
}
.pa-home-three #header-sticky.header-sticky .tgmenu__main-menu > ul > li > a:hover {
  color: var(--pa-ocean);
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .pa-home-three #header-sticky .tgmenu-1-space { margin-left: 32px; }
}
@media (max-width: 991px) {
  .pa-home-three .tg-about-thumb-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pa-home-three .tg-about-thumb-wrap img.pa-template-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    float: none;
  }
}
.pa-home .tg-hero-title, .pa-home .tg-hero-3-title {
  max-width: 100%;
  overflow-wrap: break-word;
}
.pa-home .tg-hero-para { text-transform: none; }
.pa-home-two .tg-hero-tu-2-wrapper {
  background-image: linear-gradient(rgba(10,48,72,.45), rgba(10,48,72,.45)), url("https://puertoaventuras.com/wp-content/uploads/2023/02/Marina-Puerto-Aventuras-Brandgger-05.jpg") !important;
}
.pa-home .tourex-native-date > span { display: none; }
.pa-home .tg-booking-form-parent-inner { min-width: 0; }
.pa-home .tg-booking-title-value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 20px;
}
@media (max-width: 575px) {
  .pa-home-three .tg-hero-area { min-height: 650px; }
  .pa-home .tg-booking-form-input-group > .tg-booking-form-parent-inner,
  .pa-home .tg-booking-form-search-btn { width: 100%; margin-right: 0; }
  .pa-home .tg-booking-add-input-field,
  .pa-home .tg-booking-add-input-date .input,
  .pa-home .tg-booking-form-search-btn .bk-search-button { width: 100%; }
}
