/* =========================================================
   PURE ADVENTURE — RESPONSIVE CSS
   Load after the theme component and page styles.
   ========================================================= */

/* =========================================================
   SMALL LAPTOP / LARGE TABLET
   ========================================================= */

@media (max-width: 1199px) {
  .header-menu-links .menu > li > a,
  .header-menu-links .menu > li > .fl-has-submenu-container > a {
    padding: 12px 10px;
    font-size: 13px;
  }

  .header-menu-links .menu > li.menu-highlight-button > a {
    min-width: 100px;
    padding: 0 16px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
  .header-menu-links .menu > li > a,
  .header-menu-links .menu > li > .fl-has-submenu-container > a {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .header-menu-links .fl-menu-toggle {
    min-height: 44px;
    padding: 10px 8px 10px 0;
  }

  .header-menu-links .menu > li.menu-highlight-button > a {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .pa-footer-main {
    padding: 40px 20px;
  }

  .pa-footer-main .fl-col-group {
    gap: 32px;
    flex-wrap: wrap;
  }

  .pa-footer-main .fl-col-small {
    width: 50%;
  }

  .pa-footer-main .fl-heading-text {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .pa-footer-main .uabb-cl-heading a,
  .pa-footer-main p,
  .pa-footer-main .fl-rich-text,
  .pa-footer-main .fl-rich-text p,
  .pa-footer-main .fl-rich-text a {
    font-size: 16px;
  }

  .pa-footer-main .pp-photo-img {
    max-width: 150px;
  }

  .home-about-section .fl-col-group {
    min-height: 30vh;
  }

  .hero-row-service-infobox .uabb-infobox-title-prefix {
    font-size: 28px;
  }

  .hero-row-service-infobox .uabb-infobox-title {
    margin-top: 24px;
    font-size: 19px;
  }

  .hero-row-service-infobox .uabb-infobox-text {
    margin-top: 24px !important;
    font-size: 17px;
  }

  .dark-info-box .uabb-module-content.uabb-infobox {
    max-width: 760px;
    padding: 18px 18px 22px;
  }

  .dark-info-box .uabb-infobox-title {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .dark-info-box .uabb-infobox-text {
    max-width: 660px;
    margin-bottom: 22px;
  }

  .dark-info-box .uabb-infobox-text p {
    font-size: 15px;
  }

  .light-button {
    min-width: 170px;
    min-height: 48px;
    font-size: 14px;
  }

  .centered-info-box .uabb-infobox-title {
    font-size: 22px;
  }

  .limonade-row-80 .fl-row-content-wrap {
    padding: 60px 20px;
  }

  .limonade-row-60 .fl-row-content-wrap {
    padding: 50px 20px;
  }

  .limonade-row-60-top .fl-row-content-wrap {
    padding: 50px 20px 0;
  }

  .rounded-tour-boxes .uabb-photo-img {
    height: 190px;
  }

  .rounded-tour-boxes .uabb-infobox-title-wrap {
    padding: 16px 16px 0 !important;
  }

  .rounded-tour-boxes .uabb-infobox-text-wrap {
    padding: 12px 16px 18px !important;
  }

  .rounded-tour-boxes .uabb-infobox-title {
    font-size: 16px;
  }

  .rounded-tour-boxes .uabb-infobox-text {
    font-size: 14px;
  }

  .rounded-tour-boxes .uabb-infobox {
    min-height: 385px;
  }

  .review-card-box .uabb-infobox-content {
    min-height: 280px;
  }

  .review-card-box .uabb-infobox-title-prefix {
    padding: 16px 16px 12px !important;
  }

  .review-card-box .uabb-infobox-title {
    padding: 12px 16px 10px !important;
    font-size: 13px;
  }

  .review-card-box .uabb-infobox-text p {
    font-size: 13px;
  }

  .tour-details-table-wrapper th,
  .tour-details-table-wrapper td {
    padding: 18px 22px !important;
  }

  .tour-details-table-wrapper .th-style,
  .tour-details-table-wrapper .content-text {
    font-size: 18px;
  }

  .tour-details-table-wrapper th:first-child,
  .tour-details-table-wrapper td:first-child {
    width: 30%;
  }

  .tour-details-table-wrapper th:nth-child(2),
  .tour-details-table-wrapper td:nth-child(2) {
    width: 70%;
  }

  .pa-faq-accordion .uabb-faq-item {
    margin-bottom: 28px !important;
  }

  .pa-faq-accordion .uabb-faq-questions-button {
    padding: 20px 24px !important;
  }

  .pa-faq-accordion .uabb-faq-question-label {
    font-size: 22px;
  }

  .main-blog-hero-row .fl-row-content-wrap {
    padding: 70px 20px 60px !important;
  }

  .main-blog-hero-row .uabb-infobox-title,
  .main-blog-hero-row h1 {
    font-size: 40px;
  }

  .main-blog-highlighted-blog-post .uabb-blog-post-inner-wrap {
    grid-template-columns: 380px 1fr !important;
    gap: 40px !important;
  }

  .main-blog-highlighted-blog-post .uabb-post-thumbnail {
    width: 380px !important;
    max-width: 380px !important;
    padding: 16px !important;
  }

  .main-blog-highlighted-blog-post .uabb-post-heading a {
    font-size: 30px !important;
  }

  .main-blog-posts-area .uabb-blog-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px 30px !important;
  }

  .main-blog-posts-area .uabb-post-thumbnail {
    height: 230px !important;
    min-height: 230px !important;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .dark-info-box .uabb-module-content.uabb-infobox {
    max-width: 100%;
    padding: 14px 16px 20px;
  }

  .dark-info-box .uabb-infobox-title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.2;
  }

  .dark-info-box .uabb-infobox-text {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .dark-info-box .uabb-infobox-text p {
    font-size: 14px;
    line-height: 1.45;
  }

  .light-button {
    min-width: 160px;
    min-height: 44px;
    padding: 0 22px;
    font-size: 13px;
    line-height: 1.2;
  }

  .centered-info-box .uabb-infobox-title {
    font-size: 20px;
  }

  .icon-with-text-box .uabb-infobox-title,
  .icon-with-text-box .uabb-infobox-title-prefix {
    font-size: 15px;
  }

  .limonade-row-80 .fl-row-content-wrap,
  .limonade-row-60 .fl-row-content-wrap {
    padding: 40px 20px;
  }

  .limonade-row-60-top .fl-row-content-wrap {
    padding: 40px 20px 0;
  }

  .rounded-tour-boxes .uabb-photo-img {
    height: 180px;
  }

  .rounded-tour-boxes .uabb-infobox-title-wrap {
    padding: 16px 14px 0 !important;
  }

  .rounded-tour-boxes .uabb-infobox-text-wrap {
    padding: 12px 14px 18px !important;
  }

  .rounded-tour-boxes .uabb-infobox-title {
    font-size: 16px;
  }

  .rounded-tour-boxes .uabb-infobox-text {
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.4;
  }

  .rounded-tour-boxes .uabb-button,
  .rounded-tour-boxes a.uabb-button,
  .orange-button .uabb-button,
  .orange-button a.uabb-button {
    min-width: 124px;
    min-height: 40px;
    font-size: 12px;
  }

  .rounded-tour-boxes .uabb-infobox {
    min-height: 370px;
  }

  .home-about-section .fl-col-group {
    min-height: auto;
  }

  .pa-equal-height-box-row .fl-col-group,
  .pa-equal-height-box-row .fl-col,
  .pa-equal-height-box-row .fl-col-content {
    display: block;
  }

  .review-card-box .uabb-infobox-title-prefix {
    padding: 14px 16px 10px !important;
  }

  .review-card-box .uabb-infobox-title {
    padding: 12px 16px 10px !important;
    font-size: 13px;
  }

  .review-card-box .uabb-infobox-text-wrap {
    padding: 12px 16px 16px;
  }

  .review-card-box .uabb-infobox-text p {
    font-size: 13px;
  }

  .review-card-box .uabb-infobox-text p:last-child {
    font-size: 11px;
  }

  .hero-row-service-infobox .uabb-infobox-title-prefix {
    font-size: 24px;
    line-height: 1.1;
  }

  .hero-row-service-infobox .uabb-infobox-title {
    margin-top: 18px;
    font-size: 18px;
  }

  .hero-row-service-infobox .uabb-infobox-text {
    margin-top: 18px !important;
    font-size: 16px;
    line-height: 1.4;
  }

  .crop-square-image img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .header-menu-links .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--pa-blue-medium) !important;
  }

  .header-menu-links .menu > li,
  .header-menu-links .menu > li > .fl-has-submenu-container {
    display: block;
    width: 100%;
  }

  .header-menu-links .menu > li > a,
  .header-menu-links .menu > li > .fl-has-submenu-container > a {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
  }

  .header-menu-links .sub-menu,
  .header-menu-links .fl-menu-submenu {
    background-color: var(--pa-blue-deep);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .header-menu-links .sub-menu a,
  .header-menu-links .fl-menu-submenu a {
    color: var(--pa-white) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    text-align: left;
  }

  .header-menu-links .sub-menu a:hover,
  .header-menu-links .sub-menu a:focus,
  .header-menu-links .fl-menu-submenu a:hover,
  .header-menu-links .fl-menu-submenu a:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--pa-white) !important;
  }

  .header-menu-links .fl-menu-toggle {
    min-height: auto;
    padding: 14px 16px;
    color: var(--pa-white);
  }

  .header-menu-links .menu > li.menu-highlight-button {
    margin-top: 12px !important;
    margin-left: 0;
  }

  .header-menu-links .menu > li.menu-highlight-button > a {
    width: 100%;
    min-width: 0;
    min-height: auto;
    margin: 0;
    padding: 14px 16px;
  }

  .pa-footer-main .fl-col-group {
    flex-direction: column;
    gap: 24px;
  }

  .pa-footer-main .fl-col-small {
    width: 100% !important;
  }

  .booking-snapshot-box .uabb-infobox-content {
    padding: 20px !important;
  }

  .booking-snapshot-box .uabb-infobox-title-prefix {
    font-size: 22px;
  }

  .booking-snapshot-box .uabb-infobox-text,
  .booking-snapshot-box .uabb-infobox-text p,
  .booking-snapshot-box .uabb-infobox-text li {
    font-size: 16px;
  }

  .tour-details-table-wrapper .uabb-table-wrapper {
    overflow-x: auto;
  }

  .tour-details-table-wrapper th,
  .tour-details-table-wrapper td {
    padding: 14px 16px !important;
  }

  .tour-details-table-wrapper .th-style,
  .tour-details-table-wrapper .content-text {
    font-size: 15px;
    line-height: 1.35;
  }

  .tour-details-table-wrapper th:first-child,
  .tour-details-table-wrapper td:first-child {
    width: 38%;
    min-width: 130px;
  }

  .tour-details-table-wrapper th:nth-child(2),
  .tour-details-table-wrapper td:nth-child(2) {
    width: 62%;
    min-width: 220px;
  }

  .pa-faq-accordion .uabb-faq-item {
    margin-bottom: 24px !important;
  }

  .pa-faq-accordion .uabb-faq-questions-button {
    padding: 18px 20px !important;
  }

  .pa-faq-accordion .uabb-faq-question-label {
    font-size: 20px;
  }

  .pa-faq-accordion .uabb-faq-content {
    padding: 14px 20px 0 !important;
  }

  .pa-faq-accordion .uabb-faq-content p {
    font-size: 14px;
  }

  .tour-comparison-table {
    overflow-x: auto;
  }

  .tour-comparison-table table {
    min-width: 900px;
  }

  .tour-comparison-table thead .th-style,
  .tour-comparison-table tbody .content-text {
    font-size: 13px !important;
  }

  .owners-infobox .uabb-photo-img {
    height: 220px;
  }

  .owners-infobox .uabb-infobox-title-prefix {
    font-size: 26px;
  }

  .owners-infobox .uabb-infobox-text,
  .owners-infobox .uabb-infobox-text p {
    font-size: 15px;
  }

  .subtle-values-grid {
    grid-template-columns: 1fr;
  }

  .subtle-value-box {
    padding: 24px 22px;
  }

  .subtle-value-box h3 {
    font-size: 22px;
  }

  .pa-certifications-list {
    grid-template-columns: 1fr;
  }

  .pa-certifications-list li {
    padding: 16px 18px 16px 54px;
    font-size: 15px;
  }

  .location-feature-infobox {
    text-align: center;
  }

  .location-feature-infobox .uabb-infobox-title-prefix {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .location-feature-infobox .uabb-infobox-text {
    font-size: 15px;
  }

  .logo-section-icons img {
    max-width: 50px !important;
    max-height: 50px !important;
  }

  .fl-builder-content-4748 .logo-section-icons img.logo-image {
    max-width: min(80px, 100%) !important;
    max-height: 80px !important;
  }

  .logo-section-icons .pp-logo-title,
  .logo-section-icons .pp-logo-title a {
    font-size: 13px !important;
  }

  .pa-location-section {
    padding-bottom: 40px;
  }

  .pa-location-section::after {
    width: calc(100% - 40px);
    margin-top: 40px;
  }

  .main-blog-hero-row .fl-row-content-wrap {
    padding: 50px 20px 45px !important;
  }

  .main-blog-hero-row .uabb-infobox-title,
  .main-blog-hero-row h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .main-blog-hero-row .uabb-infobox-text,
  .main-blog-hero-row p {
    font-size: 15px;
  }

  .main-blog-highlighted-blog-post .fl-row-content-wrap {
    padding: 54px 20px 46px !important;
  }

  .main-blog-highlighted-blog-post .uabb-blog-post-inner-wrap {
    display: block !important;
  }

  .main-blog-highlighted-blog-post .uabb-post-thumbnail {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto 36px !important;
    padding: 14px !important;
  }

  .main-blog-highlighted-blog-post .uabb-blog-post-content,
  .main-blog-highlighted-blog-post .uabb-blog-post-content::before,
  .main-blog-highlighted-blog-post .uabb-post-heading,
  .main-blog-highlighted-blog-post .uabb-post-heading a,
  .main-blog-highlighted-blog-post .uabb-blog-posts-description,
  .main-blog-highlighted-blog-post .uabb-read-more-text {
    text-align: center !important;
  }

  .main-blog-highlighted-blog-post .uabb-blog-post-content {
    max-width: 100% !important;
  }

  .main-blog-highlighted-blog-post .uabb-post-heading a {
    font-size: 28px !important;
  }

  .main-blog-highlighted-blog-post .uabb-blog-posts-description {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .main-blog-posts-area .fl-row-content-wrap {
    padding: 50px 20px 70px !important;
  }

  .main-blog-posts-area .fl-heading-text {
    font-size: 30px !important;
  }

  .main-blog-posts-area .uabb-masonary-filters {
    gap: 10px !important;
  }

  .main-blog-posts-area .uabb-masonary-filters li {
    min-width: auto !important;
    min-height: 32px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
  }

  .main-blog-posts-area .uabb-blog-posts {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .main-blog-posts-area .uabb-blog-post-inner-wrap {
    min-height: 0 !important;
  }

  .main-blog-posts-area .uabb-post-thumbnail {
    height: 230px !important;
    min-height: 230px !important;
  }

  .pa-rounded-tour-equal-row .fl-col-group,
  .pa-rounded-tour-equal-row .fl-col,
  .pa-rounded-tour-equal-row .fl-col-content {
    display: block;
  }

  .pa-rounded-tour-equal-row .rounded-tour-boxes,
  .pa-rounded-tour-equal-row .rounded-tour-boxes .fl-module-content.fl-node-content {
    display: block;
    height: auto;
  }

  .pa-equal-height-review-row .fl-col-group,
  .pa-equal-height-review-row .fl-col,
  .pa-equal-height-review-row .fl-col-content,
  .pa-equal-height-review-row .review-card-box,
  .pa-equal-height-review-row .review-card-box > .fl-module-content {
    display: block;
  }

  .map-app-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pa-tour-hero > .fl-row-content-wrap > .fl-row-content {
    width: calc(100% - 30px);
  }

}

/* =========================================================
   TABLET / MOBILE OVERLAP
   Preserves existing rules that also apply at exactly 768px.
   ========================================================= */

@media (max-width: 768px) {
  /* Stack the tour cards without the desktop image or card heights. */
  :is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested {
    --pa-tour-card-gap: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested > .fl-col {
    width: 100% !important;
    max-width: none;
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .rounded-tour-boxes img.uabb-photo-img {
    width: 100%;
    height: auto !important;
    max-height: 230px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* Fit photo-only Beaver Builder rows without affecting rows with modules. */
  .background-img-row.fl-row-bg-photo:not(:has(.fl-module)) > .fl-row-content-wrap {
    min-height: 0;
    aspect-ratio: var(--pa-background-photo-ratio, 16 / 9);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .fl-node-8k3mb6qz4yj0,
  .fl-node-q6snitly48aw {
    --pa-background-photo-ratio: 3748 / 2500;
  }

  .fl-node-n193bkwlv7sh {
    --pa-background-photo-ratio: 2560 / 1709;
  }

  .fl-node-wx7qprod4n8s {
    --pa-background-photo-ratio: 2000 / 1333;
  }

  .fl-node-wu1pxmqfahsc {
    --pa-background-photo-ratio: 2001 / 584;
  }

  /* Getting Here sections and Google Maps embeds. */
  iframe[src^="https://www.google.com/maps/embed"],
  iframe[src^="https://maps.google.com/maps?"] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: clamp(250px, 64vw, 360px);
  }

  .fl-module .pa-arrival-planning {
    padding: 24px 0 32px;
  }

  .fl-module .pa-arrival-planning__header {
    margin-bottom: 20px;
  }

  .fl-module .pa-arrival-planning__header h2 {
    font-size: clamp(28px, 5.5vw, 34px);
  }

  .fl-module .pa-arrival-planning__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    background-color: transparent;
  }

  .fl-module .pa-arrival-planning__meeting,
  .fl-module .pa-arrival-planning__drive {
    padding: 20px;
  }

  .fl-module .pa-arrival-planning__times {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 12px;
  }

  .fl-module .pa-arrival-planning__times > div {
    padding: 16px;
  }

  /* About page: founders, certifications, and safety section */
  .about-founders-section .about-founders-heading .uabb-infobox-title {
    font-size: 40px;
  }

  .fl-node-ry8dg04zkfi3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fl-node-ry8dg04zkfi3 > .fl-col:nth-child(1),
  .fl-node-ry8dg04zkfi3 > .fl-col:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .fl-node-ry8dg04zkfi3 > .fl-col,
  .fl-node-ry8dg04zkfi3 > .fl-col:first-child,
  .fl-node-ry8dg04zkfi3 > .fl-col:last-child {
    padding: 0 !important;
    border-left: 0;
  }

  .pa-certifications__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .safety-intro-header .uabb-infobox-title {
    font-size: 34px !important;
  }

  .safety-intro-header .uabb-infobox-text,
  .safety-intro-header .uabb-infobox-text p {
    font-size: 18px !important;
  }

  .tour-details-table-wrapper-alt table,
  .tour-details-table-wrapper-alt tbody,
  .tour-details-table-wrapper-alt tr,
  .tour-details-table-wrapper-alt td {
    display: block !important;
    width: 100% !important;
  }

  .tour-details-table-wrapper-alt tbody tr {
    margin-bottom: 16px;
    border: 1px solid var(--pa-dropdown-border);
    background: #ffffff;
  }

  .tour-details-table-wrapper-alt td {
    padding: 16px 18px !important;
    border: none !important;
  }

  .tour-details-table-wrapper-alt td:first-child {
    background: var(--pa-blue-dark) !important;
    border-right: none !important;
  }

  .tour-details-table-wrapper-alt td:first-child .content-text {
    color: #ffffff !important;
    font-size: 14px !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .tour-details-table-wrapper-alt td:nth-child(2) {
    background: #ffffff !important;
  }

  .tour-details-table-wrapper-alt td:nth-child(2) .content-text {
    font-size: 14px !important;
  }

  .pa-whatsapp-popup {
    right: 16px;
    bottom: 18px;
    left: 16px;
    max-width: none;
    padding: 24px 20px 22px;
  }

  .pa-whatsapp-content strong {
    font-size: 20px;
  }

  .pa-whatsapp-content p {
    font-size: 16px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .pa-footer-main {
    padding: 28px 16px;
  }

  .pa-footer-main .fl-heading-text {
    font-size: 18px;
  }

  .pa-footer-main .uabb-cl-heading a,
  .pa-footer-main p,
  .pa-footer-main .fl-rich-text,
  .pa-footer-main .fl-rich-text p,
  .pa-footer-main .fl-rich-text a {
    font-size: 15px;
  }

  .pa-footer-main .pp-photo-img {
    max-width: 120px;
  }

  .hero-row-service-infobox .uabb-infobox-title-prefix {
    font-size: 22px;
  }

  .hero-row-service-infobox .uabb-infobox-title {
    font-size: 17px;
  }

  .hero-row-service-infobox .uabb-infobox-text {
    font-size: 15px;
  }
}

/* Use consistent edges and gutters for the Bio Bay and Culebra cards. */
:is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested {
  gap: var(--pa-tour-card-gap, 20px);
  margin-inline: 10px;
}

:is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested::before,
:is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested::after {
  content: none;
}

.fl-node-kd0p6sq2jven .fl-col-group-nested + .fl-col-group-nested {
  margin-top: var(--pa-tour-card-gap, 20px);
}

:is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested > .fl-col > .fl-col-content {
  margin: 0;
  padding: 0;
}

.fl-node-kd0p6sq2jven .tour-highlights-box .uabb-infobox,
.fl-node-kd0p6sq2jven .tour-highlights-box .uabb-infobox-left-right-wrap {
  min-height: 0;
}

.fl-node-kd0p6sq2jven .tour-highlights-box .uabb-infobox-title-wrap {
  padding: 16px 18px !important;
}

.fl-node-kd0p6sq2jven .tour-highlights-box .uabb-infobox-text-wrap {
  height: auto;
}

/* Tour feature cards size to their photos and copy. */
:is(.fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .taller-box :is(
  .uabb-imgicon-wrap,
  .uabb-infobox,
  .uabb-infobox-left-right-wrap,
  .uabb-infobox-title,
  .uabb-infobox-text-wrap,
  .uabb-infobox-text
) {
  min-height: 0;
}

:is(.fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .taller-box .uabb-infobox-title,
:is(.fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .taller-box .uabb-infobox-text,
:is(.fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .taller-box .uabb-infobox-text > :last-child {
  margin-bottom: 0;
}

/* =========================================================
   DESKTOP — FOUNDERS PHOTO AND TOUR CARDS
   ========================================================= */

@media (min-width: 769px) {
  .about-founders-section .hero-row-image > .fl-module-content {
    margin-inline: 0;
  }

  .about-founders-section .hero-row-image .uabb-image-content {
    width: 100%;
  }

  .about-founders-section .hero-row-image .uabb-image-content img {
    max-width: 100%;
  }

  .rounded-tour-boxes.tour-highlights-box .uabb-infobox-text-wrap {
    display: flex;
    flex-direction: column;
    height: 220px;
  }

  .rounded-tour-boxes.tour-highlights-box .uabb-infobox-cta-link {
    margin-top: auto;
  }

  /* Stretch each desktop tour card row to its tallest card. */
  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .fl-col-group-nested {
    display: flex;
    align-items: stretch;
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .fl-col-group-nested > .fl-col {
    display: flex;
    flex-direction: column;
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .fl-col-group-nested > .fl-col > .fl-col-content,
  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .rounded-tour-boxes,
  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .rounded-tour-boxes > .fl-module-content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-wk7yc2hb6f31, .fl-node-arb5h2nx01yo) .rounded-tour-boxes .uabb-infobox {
    flex: 1 0 auto;
    height: auto;
  }

  :is(.fl-node-kd0p6sq2jven, .fl-node-arb5h2nx01yo) .fl-col-group-nested > .fl-col {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* =========================================================
   SERVICES — CONTACT SUPPORT NAVY CARDS
   ========================================================= */

@media (max-width: 768px) {
  .contact-support-section--navy-cards .fl-row-content {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .contact-support-section--navy-cards .contact-support-grid.fl-col-group {
    gap: 14px !important;
  }

  .contact-support-section--navy-cards
    .contact-support-card
    .uabb-infobox-title-prefix {
    font-size: 22px !important;
  }
}

/* =========================================================
   SERVICES — BIO BAY TOUR SECTIONS
   ========================================================= */

@media (max-width: 767px) {
  .pa-tour-considerations {
    padding: 24px 16px;
  }

  .pa-tour-considerations__header {
    margin-bottom: 16px;
  }

  .pa-tour-considerations__header h2 {
    font-size: clamp(26px, 6vw, 34px);
  }

  .pa-tour-considerations__header > p:last-child {
    font-size: 16px;
  }

  .pa-tour-considerations__list > li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    padding: 16px 0;
  }

  .pa-tour-considerations__list > li > div {
    display: contents;
  }

  .pa-tour-considerations__number {
    font-size: 22px;
  }

  .pa-tour-considerations__list h3 {
    margin: 0;
    font-size: 19px;
    text-transform: none;
  }

  .pa-tour-considerations__list p {
    grid-column: 1 / -1;
  }

  .pa-tour-considerations__note {
    margin-top: 12px;
    padding-top: 16px;
  }

  .alternate-after-icons-row .pa-tour-summary__intro h2,
  .pa-bio-bay-experience__header h2,
  .pa-adventure-prep__header h2 {
    font-size: 34px;
  }

  :is(.fl-node-1zk9rtl524yc, .fl-node-u7wjpb21smf9) .pa-tour-summary__intro h2 {
    font-size: clamp(26px, 5vw, 30px);
    line-height: 1.1;
  }

  .pa-tour-considerations__list,
  .alternate-after-icons-row .pa-tour-summary__grid,
  .pa-bio-bay-experience__grid,
  .pa-bio-bay-experience__fit,
  .pa-adventure-prep__grid,
  .pa-adventure-prep__tips {
    grid-template-columns: 1fr;
  }

  .pa-bio-bay-experience__card,
  .pa-bio-bay-experience__fit-card,
  .pa-adventure-prep__fit,
  .pa-adventure-prep__tip {
    min-height: 0;
    padding: 28px 24px;
  }

  .alternate-after-icons-row .pa-tour-summary {
    padding: 48px 20px;
  }

  .alternate-after-icons-row .pa-tour-summary__intro > p:last-child,
  .pa-bio-bay-experience__header > p:last-child,
  .pa-adventure-prep__header > p:last-child {
    font-size: 18px;
  }

  .alternate-after-icons-row .pa-tour-summary__details li,
  .pa-bio-bay-experience__card p,
  .pa-bio-bay-experience__card li,
  .pa-bio-bay-experience__fit-card li,
  .pa-adventure-prep__fit li,
  .pa-adventure-prep__tip p {
    font-size: 16px;
  }

  .pa-adventure-prep__tip:last-child {
    grid-column: auto;
  }

  /* Alternate FAQ and review cards */
  .pa-faq-accordion.pa-faq-accordion-alternate .uabb-faq-questions-button {
    padding: 18px !important;
  }

  .pa-faq-accordion.pa-faq-accordion-alternate .uabb-faq-question-label {
    font-size: 19px;
  }

  .pa-faq-accordion.pa-faq-accordion-alternate .uabb-faq-content {
    padding: 18px 20px 22px !important;
  }

  .pa-faq-accordion.pa-faq-accordion-alternate .uabb-faq-content p,
  .pa-faq-accordion.pa-faq-accordion-alternate .faq-card p {
    font-size: 16px;
  }

  .review-card-box.review-card-box-alternate .uabb-infobox-title-wrap {
    padding: 24px 22px 0 !important;
  }

  .review-card-box.review-card-box-alternate .uabb-infobox-text-wrap {
    padding: 18px 22px 24px;
  }

  .review-card-box.review-card-box-alternate .uabb-infobox-title {
    font-size: 21px;
  }

  .review-card-box.review-card-box-alternate .uabb-infobox-text {
    font-size: 15px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .contact-support-grid.fl-col-group {
    grid-template-columns: 1fr !important;
  }

  .contact-support-header h1.uabb-infobox-title {
    font-size: clamp(26px, 5vw, 30px) !important;
    line-height: 1.1 !important;
  }

  .contact-support-header .uabb-infobox-text,
  .contact-support-header .uabb-infobox-text p {
    font-size: 18px !important;
  }

  .contact-support-card .uabb-infobox {
    min-height: 0;
    padding: 28px 24px !important;
  }

  .contact-support-card .uabb-infobox-text,
  .contact-support-card .uabb-infobox-text p {
    font-size: 17px !important;
  }

  /* Contact page social links. */
  .fl-node-zci7xd6so1ph > .fl-row-content-wrap {
    padding: 32px 16px;
  }

  .fl-node-ndgypxu0c6jb h1.uabb-infobox-title {
    font-size: clamp(22px, 5vw, 26px);
    line-height: 1.12;
  }

  .fl-node-ndgypxu0c6jb .uabb-infobox-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .fl-node-ndgypxu0c6jb > .fl-module-content {
    margin-bottom: 0;
  }

  .fl-node-a1vlpnz3h6c9.fl-col-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 280px;
    margin: 20px auto 0;
  }

  .fl-node-a1vlpnz3h6c9::before,
  .fl-node-a1vlpnz3h6c9::after {
    content: none;
  }

  .fl-node-a1vlpnz3h6c9 > .fl-col.fl-visible-desktop {
    display: none;
  }

  .fl-node-a1vlpnz3h6c9 > .fl-col {
    width: 100% !important;
    max-width: none;
    margin: 0;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title > .fl-module-content {
    margin: 0;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title .right-title-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title .infobox-photo-right-title .uabb-infobox-title-wrap {
    width: 100%;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title h3.uabb-infobox-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title .infobox-right .uabb-imgicon-wrap {
    margin: 0;
  }

  .fl-node-a1vlpnz3h6c9 .pa-social-title img.uabb-photo-img {
    display: block;
    width: 56px;
    height: auto;
  }
}
/* Tablet */
@media (max-width: 991px) {
  .pure-adventure-private-charter-form_wrapper {
    padding: 28px 24px;
  }

  .uabb-gf-form-title {
    font-size: 30px;
  }

  .uabb-gf-form-desc {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .form-cta-wrapper {
    margin-top: 60px !important;
  }

  .pure-adventure-private-charter-form_wrapper {
    padding: 24px 18px;
  }

  .uabb-gf-form-title {
    font-size: 28px;
  }

  .uabb-gf-form-desc {
    font-size: 15px;
  }

  .pure-adventure-private-charter-form .gfield_label,
  .pure-adventure-private-charter-form legend.gfield_label {
    font-size: 20px !important;
  }

  .pure-adventure-private-charter-form .ginput_container_name {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .pure-adventure-private-charter-form #field_12_6 .gfield_label,
  .pure-adventure-private-charter-form #field_12_8 .gfield_label {
    margin: 0 0 12px !important;
  }

  .pure-adventure-private-charter-form .gform_button,
  .pure-adventure-private-charter-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }

  .pa-adventure-prep {
    padding: 50px 20px;
  }

  .safety-intro-header .uabb-infobox {
    margin-bottom: 26px;
  }

  .safety-intro-header .uabb-infobox-title {
    font-size: 34px !important;
  }

  .safety-intro-header .uabb-infobox-text,
  .safety-intro-header .uabb-infobox-text p {
    font-size: 16px !important;
  }

  .rounded-tour-boxes.tour-highlights-box.reef-teal-header .uabb-infobox-title {
    font-size: 18px;
  }

  /* Stacked location cards */
  .pa-rounded-tour-equal-row .fl-col-group > .fl-col {
    margin-bottom: 24px;
  }

  .pa-rounded-tour-equal-row .fl-col-group > .fl-col:last-child {
    margin-bottom: 0;
  }

  /* Homepage hero Info Box */
  body.home .home-hero-row .fl-module-info-box h1.uabb-infobox-title {
    font-size: 34px !important;
    line-height: 1.1 !important;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 18px;
  }

  body.home .home-hero-row .fl-module-info-box .uabb-infobox-text,
  body.home .home-hero-row .fl-module-info-box .uabb-infobox-text p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 400;
  }
}

@media (max-width: 480px) {
  body.home .home-hero-row .fl-module-info-box h1.uabb-infobox-title {
    font-size: 30px !important;
  }
}
