/*
Theme Name:   dba-lsxd-child
Description:  Deep Blue Adventures Child Theme
Author:       LightSpeed
Author URI:   https://www.lsdev.biz/
Template:     lsx-design
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Deep Blue Adventures Child Theme
*/

.center-vertically{align-content: center;}

#lsx-modal-placeholder{display:none;}

.wp-block-categories-dropdown select{padding: 12px 22px 12px 12px !important;
    border-radius: 4px;
        color: var(--wp--preset--color--contrast);
        font-family: var(--wp--preset--font-family--primary);
        font-size: var(--wp--preset--font-size--x-small);
        font-weight: var(--wp--custom--font-weight--regular);
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        background-color: #fff;
        border: 1px solid #757575 !important;
        cursor: default;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: transparent;
        background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
        background-repeat: no-repeat;
        background-position-x: 98%;
        background-position-y: 10px;}
    .wp-block-categories-dropdown{margin-top:10px!important;}

.wp-block-navigation .wp-block-navigation-item:hover > a.wp-block-navigation-item__content{color:var(--wp--preset--color--primary);}

.wp-block-post-excerpt__more-text,.tour .wp-block-post-excerpt__more-text{margin-left:-20px; margin-right:-20px;text-align:center;padding-bottom:0!important;}

.wp-block-post-excerpt__more-text a,.tour .wp-block-post-excerpt__more-text a{
    width:100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: var(--wp--preset--color--primary);
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 700;
    line-height: inherit;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    text-decoration: none;}
        
    .wp-block-query-pagination-numbers .page-numbers.current {
        background: var(--wp--preset--color--primary) !important;
        border: 1px solid var(--wp--preset--color--primary) !important;
        color: #fff !important;
    }

    .wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child {
        margin-inline-end: revert;}

    .wp-block-query-pagination-numbers .page-numbers {
        padding: 0px 9px;
        background: #FFFFFF;
        border-radius: 8px;
        border: 1px solid var(--wp--preset--color--primary);
        float: left;
        margin:0 3px;
        text-decoration: none !important;}
        .is-style-square.wp-block-query-pagination .wp-block-query-pagination-previous {
            margin: 0 !important;
            border: 1px solid var(--wp--preset--color--primary) !important;}

        .wp-block-query-pagination-numbers .page-numbers:hover {
            background: var(--wp--preset--color--primary);
            border-radius: 8px;
            border: 1px solid var(--wp--preset--color--primary);
            color: #fff !important;
            text-decoration: none !important;}

            .is-style-square.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
                border-radius: 0px !important;
                padding: 10px 20px !important;
                border-left: 0 !important;}

    .wp-block-post-excerpt__more-text a:hover,.tour .wp-block-post-excerpt__more-text a:hover{background-color: var(--wp--custom--colour--primary--700) !important;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;}

        header .wp-block-search.wp-block-search__button-only .wp-block-search__button {
            max-width: 0;
            padding: 10px 22px !important;}

        footer .gform-theme--foundation #field_submit input[type=submit][id*=gform_submit_button_].gform-button--width-full:hover{background-color: var(--wp--custom--colour--cta--900) !important;}

        .facetwp-page{align-items: center;}
.facetwp-pager a{padding: 0px 9px;
    margin: 0 3px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid var(--wp--preset--color--primary);
    float: left;
    text-decoration: none !important;}

.wc-block-pagination.wc-block-components-pagination  .wc-block-pagination-page{
    margin:0!important;
    border-radius:8px;border: 1px solid var(--wp--preset--color--primary);
    color:var(--wp--preset--color--primary)!important;
}
    .wc-block-pagination.wc-block-components-pagination  .wc-block-pagination-page:hover, .facetwp-pager a:hover{
    background: var(--wp--preset--color--primary);
    border-radius:8px;border: 1px solid var(--wp--preset--color--primary)!important;
    color:#fff!important;
    }
.wc-block-pagination.wc-block-components-pagination .wc-block-pagination-page--active, .facetwp-pager a.active{
    background: var(--wp--preset--color--primary);
    border-radius:8px;border: 1px solid var(--wp--preset--color--primary);
    color:#fff!important;
}

        @media only screen and (max-width:480px){
        header .wp-block-navigation__responsive-container.is-menu-open .wp-block-search{margin:0!important;width:100%}

        .wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden .wp-block-search__input{flex-basis:auto!important;width:100%!important;right:0!important;}

        header .wp-block-navigation__responsive-container.is-menu-open .wp-block-search .wp-block-search__inside-wrapper input, .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-search .wp-block-search__inside-wrapper input{width:100%!important;right:0!important;}
        header .is-style-navigation.wp-block-search .wp-block-search__input{right:0!important;}


        }
/* ===== Equal-height cards in post grids (added 2026-12-01) =====
   Grid rows already stretch each <li>; this makes the card fill it and keeps the
   "View More" bar pinned to the bottom of every card. */
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post{display:flex;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group{flex:1 1 auto;width:100%;display:flex;flex-direction:column;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group > *{width:100%;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group > figure{flex:none;min-height:0;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group > .wp-block-group{flex:1 1 auto;display:flex;flex-direction:column;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group > .wp-block-group > *{width:100%;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post > .wp-block-group > .wp-block-group > .wp-block-group:last-child{flex:1 1 auto;display:flex;flex-direction:column;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post .wp-block-post-excerpt{flex:1 1 auto;display:flex;flex-direction:column;}
:is(.wp-block-post-template.is-layout-grid,.slick-track) > li.wp-block-post .wp-block-post-excerpt__excerpt{flex:1 1 auto;}

/* ===== Breadcrumb bar refresh (added 2026-12-01) =====
   Lighter, sans-serif trail; muted ancestors, bright current page; no heavy underlines. */
.wp-block-group:has(> .wp-block-group > .yoast-breadcrumbs){padding-top:11px!important;padding-bottom:11px!important;}
.yoast-breadcrumbs{font-family:"Source Sans Pro",system-ui,sans-serif;font-size:15px;line-height:1.4;letter-spacing:.015em;color:rgba(255,255,255,.62);}
.yoast-breadcrumbs a{color:rgba(255,255,255,.88);text-decoration:none!important;border-bottom:1px solid transparent;transition:color .15s,border-color .15s;}
.yoast-breadcrumbs a:hover,.yoast-breadcrumbs a:focus-visible{color:#fff;border-bottom-color:rgba(255,255,255,.7);}
.yoast-breadcrumbs .breadcrumb_last{color:#fff;font-weight:600;}

/* Slick carousels (e.g. home "Featured Specials"): equal-height slides */
.slick-track:has(> li.wp-block-post){display:flex!important;}
.slick-track:has(> li.wp-block-post)::before,.slick-track:has(> li.wp-block-post)::after{display:none!important;}
.slick-track > li.wp-block-post.slick-slide{float:none!important;height:auto!important;}

/* ===== Header nav refresh (added 2026-12-01) =====
   No underlines: soft tinted pill on hover / current section, Source Sans nav type,
   quiet search icon, soft shadow under the sticky header once scrolled. */
header .wp-block-navigation .wp-block-navigation-item__content{text-decoration:none!important;font-family:"Source Sans Pro",system-ui,sans-serif;font-size:17px;font-weight:500;letter-spacing:.005em;}
header .wp-block-button__link{font-family:"Source Sans Pro",system-ui,sans-serif;font-size:17px;font-weight:700;}
@media (min-width:961px){
  header .wp-block-navigation__container{gap:2px 4px!important;}
  header .wp-block-navigation .wp-block-navigation-item__content{padding:8px 13px;border-radius:8px;transition:background-color .18s,color .18s;}
  header .wp-block-navigation .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
  header .wp-block-navigation .wp-block-navigation-item__content:focus-visible{background:rgba(64,70,202,.08);color:var(--wp--preset--color--primary);}
  header .wp-block-navigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content{background:rgba(64,70,202,.12);color:var(--wp--preset--color--primary);}
}
header .wp-block-search.wp-block-search__button-only .wp-block-search__button{background:transparent!important;color:var(--wp--preset--color--primary)!important;border-radius:8px!important;transition:background-color .18s;}
header .wp-block-search.wp-block-search__button-only .wp-block-search__button:hover,
header .wp-block-search.wp-block-search__button-only .wp-block-search__button:focus-visible{background:rgba(64,70,202,.10)!important;}
.wp-block-group:has(> header.wp-block-template-part){transition:box-shadow .2s;}
body.is-scrolled .wp-block-group:has(> header.wp-block-template-part){box-shadow:0 1px 0 rgba(30,33,95,.06),0 8px 24px rgba(30,33,95,.08);}
/* breadcrumb links: faint pill instead of an underline */
.yoast-breadcrumbs a{border-bottom:0;padding:3px 7px;margin:0 -7px;border-radius:6px;transition:background-color .15s,color .15s;}
.yoast-breadcrumbs a:hover,.yoast-breadcrumbs a:focus-visible{border-bottom-color:transparent;background:rgba(255,255,255,.14);color:#fff;}
/* phone menu: keep the search button solid like Pro Portal; mark the current section in brand blue */
@media (max-width:960px){
  header .wp-block-search.wp-block-search__button-only .wp-block-search__button{background:var(--wp--preset--color--primary)!important;color:#fff!important;}
  header .wp-block-navigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content{color:var(--wp--preset--color--primary)!important;font-weight:700;}
}

/* ===== Search field refresh (added 2026-12-01) =====
   Desktop: softer expanded field that fully covers the nav items and Pro Portal, icon tucked inside.
   Phone menu: replaces the dark grey bar with a proper soft field (blue icon tile + placeholder). */
@media (min-width:961px){
  header:has(form.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden)) .wp-block-navigation__container,
  header:has(form.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden)) .wp-block-button{opacity:0;visibility:hidden;}
  header .wp-block-navigation__container,header .wp-block-button{transition:opacity .15s ease,visibility .15s;}
  header .is-style-navigation.wp-block-search .wp-block-search__input{right:0!important;border:1px solid rgba(64,70,202,.22)!important;border-radius:10px!important;background:#fff;box-shadow:0 6px 22px rgba(30,33,95,.10);font-family:"Source Sans Pro",system-ui,sans-serif;font-size:18px;color:#1E215F;padding:0 56px 0 20px!important;}
  header .is-style-navigation.wp-block-search .wp-block-search__input::placeholder{color:rgba(30,33,95,.5);opacity:1;}
  header .is-style-navigation.wp-block-search .wp-block-search__input:focus{outline:0;border-color:#4046CA!important;box-shadow:0 0 0 3px rgba(64,70,202,.16),0 6px 22px rgba(30,33,95,.10);}
  header .wp-block-search.wp-block-search__button-only .wp-block-search__button{position:relative;z-index:4;}
}
@media (max-width:960px){
  header .wp-block-navigation__responsive-container.is-menu-open form.wp-block-search__button-only{position:relative;background:#F3F3F9!important;border:1px solid rgba(64,70,202,.25);border-radius:10px;overflow:hidden;box-sizing:border-box;}
  header .wp-block-navigation__responsive-container.is-menu-open form.wp-block-search__button-only .wp-block-search__input{color:#1E215F!important;font-family:"Source Sans Pro",system-ui,sans-serif;font-size:18px;padding:0 14px 0 36px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
  header .wp-block-navigation__responsive-container.is-menu-open form.wp-block-search__button-only .wp-block-search__input::placeholder{color:rgba(30,33,95,.55)!important;opacity:1!important;-webkit-text-fill-color:rgba(30,33,95,.55);}
  header .wp-block-navigation__responsive-container.is-menu-open form.wp-block-search__button-only .wp-block-search__button{left:0;top:0;height:100%!important;width:48px!important;border-radius:0!important;}
}

/* ===== Hover / underline polish (added 2026-12-01) =====
   1) Buttons never underline on hover/focus (they already change background).
   2) Footer link lists: no underline, softer at rest, brighter on hover; links inside sentences keep a thin underline.
   3) Newsletter "Sign Up" hover was black with unreadable navy text; now a deeper orange with navy text. */
body .wp-element-button:hover,body .wp-element-button:focus-visible,
body .wp-block-button__link:hover,body .wp-block-button__link:focus-visible,
input[type="button"]:hover,input[type="submit"]:hover,button:hover,.gform_button:hover,
.wp-block-post-excerpt__more-text a:hover,.tour .wp-block-post-excerpt__more-text a:hover,
.additional-info .wp-block-group.content .read-more-btn:hover,.wp-block-search__button:hover{text-decoration:none!important;}

footer a:not(.wp-element-button):not(.wp-block-button__link):not(.gform_button):not(.wp-block-social-link-anchor):not(:has(img)){text-decoration:none;color:rgba(255,255,255,.84);transition:color .15s;}
footer a:not(.wp-element-button):not(.wp-block-button__link):not(.gform_button):not(.wp-block-social-link-anchor):not(:has(img)):hover,
footer a:not(.wp-element-button):not(.wp-block-button__link):not(.gform_button):not(.wp-block-social-link-anchor):not(:has(img)):focus-visible{color:#fff;text-decoration:none;}
footer p a:not(.wp-element-button){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;color:#fff;}

footer .gform_wrapper input[type="submit"]{transition:background-color .18s,box-shadow .18s;}
footer .gform_wrapper input[type="submit"]:hover,footer .gform_wrapper input[type="submit"]:focus-visible{background-color:var(--wp--custom--colour--cta--700,#E38100)!important;color:#1E215F!important;box-shadow:0 4px 14px rgba(0,0,0,.28);}
/* inline links inside footer sentences keep a thin underline (accessibility): must out-rank the list rule above */
footer p a:not(.wp-element-button):not(.wp-block-button__link):not(.gform_button):not(.wp-block-social-link-anchor):not(:has(img)),
footer p a:not(.wp-element-button):not(.wp-block-button__link):not(.gform_button):not(.wp-block-social-link-anchor):not(:has(img)):hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;color:#fff;}
/* newsletter Sign Up is a <button>, not an <input>, so the input[type=submit] hover rules never matched it */
footer .gform_wrapper button.gform_button{transition:background-color .18s,box-shadow .18s;}
footer .gform_wrapper button.gform_button:hover,footer .gform_wrapper button.gform_button:focus-visible{background-color:var(--wp--custom--colour--cta--700,#E38100)!important;color:#1E215F!important;box-shadow:0 4px 14px rgba(0,0,0,.28);}
