/* ============================================================
   CURRENT · Adventure Energy — design tokens
   Cairo font is enqueued in functions.php (zidan-fonts), not here.
   ============================================================ */
:root {
    /* palette */
    --zd-deep: #04263b;
    --zd-teal: #0e8f96;
    --zd-teal-dark: #095e68;
    --zd-coral: #ff6b52;
    --zd-coral-soft: #ffe6e0;
    --zd-sand: #fff7ee;
    --zd-ink: #0b2a3a;
    --zd-muted: #4f7488;
    --zd-white: #ffffff;

    /* shape & depth */
    --zd-radius: 22px;
    --zd-radius-sm: 14px;
    --zd-shadow: 0 18px 44px rgba(4, 38, 59, .16);
    --zd-shadow-sm: 0 12px 30px rgba(4, 38, 59, .08);
    --zd-transition: 300ms cubic-bezier(.2, .7, .2, 1);

    /* legacy aliases — old rules keep working, now on the new palette */
    --color01: var(--zd-coral);
    --color02: var(--zd-teal-dark);
    --color03: var(--zd-ink);
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--zd-sand);
    color: var(--zd-ink);
}

a {
    text-decoration: none;
    color: var(--color03);
}

.head h2 {
    background-image: url(../images/wave-ic-d.png);
    color: var(--color01);
    font-weight: bold;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: right top;
    padding-top: 35px;
    background-size: 50px;
}

.head.text-center h2 {
    background-position: center top;
}

.head h2>span {
    display: block;
}

.btn-site {
    border-radius: 10px;
    background: var(--color02);
    display: inline-block;
    transition: 300ms;
    text-align: center;
    padding: 10px 20px;
    color: #FFF;
    border: 1px solid var(--color02);
    font-size: .89em;
}

.btn-site:hover {
    background: var(--color01);
    border-color: var(--color01);
    color: #FFF;
}

.btn-border {
    background: transparent;
    color: var(--color02);
    border: 1px solid var(--color02);
}

.btn-border:hover {
    background: var(--color02);
    border-color: var(--color02);
}

.decor01,
.decor02 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-size: cover;
    background-repeat: no-repeat;
}

.decor01 {
    background-image: url('../images/dec01.svg');
}

.decor02 {
    background-image: url('../images/dec02.svg');
}

header#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9;
    padding-top: 15px;
    transition: 300ms;
}

.logo {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: block;
    height: 100px;
    transition: 300ms;
}

.logo a img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

#header.fixed {
    background: #FFF;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 0 15px rgb(0 0 0/11%);
}

#header.fixed .logo a {
    height: 50px;
}

#primary-menu {
    padding: 0;
    list-style: none;
    position: fixed;
    background: #FFF;
    height: 100vh;
    top: 0;
    right: 0;
    min-width: 250px;
    transition: 300ms;
    transform: translateX(250px);
    box-shadow: 0 0 15px rgb(0 0 0/15%);
}

#primary-menu.active {
    transform: translateX(0);
}

#primary-menu>li>a {
    display: block;
    padding: 10px 15px;
    color: #333;
}

#primary-menu li.menu-item-has-children>a {
    display: none;
}

#primary-menu li.menu-item-has-children>ul.sub-menu {
    padding: 0;
    list-style-type: none;
}

#primary-menu li.menu-item-has-children>ul.sub-menu>li>a {
    padding: 10px 15px;
    display: block;
}

#toggle {
    display: flex;
    position: relative;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    cursor: pointer;
    flex: 0 0 auto;
    z-index: 9;
}

#toggle:before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--color03);
    transition: 0.2s;
    transform: translateY(-10px);
    position: absolute;
    box-shadow: 0 10px 0 var(--color03);
}

#toggle:after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--color03);
    transition: 0.2s;
    transform: translateY(10px);
    position: absolute;
}

#toggle.active:before {
    transform: translateY(0px)rotate(45deg);
    box-shadow: 0 0px 0 var(--color03);
}

#toggle.active:after {
    transform: translateY(0px)rotate(-45deg);
}

.section-01 {
    background: linear-gradient(#effaff 0%, #f8fdff 100%);
    position: relative;
    padding: 50px 0 90px;
}

.slider-home {
    padding-top: 130px;
    position: relative;
    padding-bottom: 50px;
    background-image: url(../images/wavesfvfd.png);
    background-size: cover;
}

.slider-home .container {
    position: relative;
    z-index: 1;
}

.slider-home .caption .content {
    display: none;
}

.slider-home .image {
    position: relative;
}

.slider-home .image figure {
    margin: 0;
    height: 130px;
}

.slider-home .image figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.slider-home .image>img {
    position: absolute;
    left: 0;
    top: 0;
    animation: swimming 5s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

@keyframes swimming {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.slider-home .caption>h1 {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--color01);
    text-align: center;
    margin: 0 0 20px;
}

.slider-home .caption>ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.slider-home .caption>ul>li:first-child a {
    margin-bottom: 10px;
}

.slider-home .caption>ul>li>a {
    width: 100%;
}

.about {
    padding: 30px 0;
}

.about .image {
    display: none;
}

.about .content {
    line-height: 1.8;
}

.home .team {
    background: url(../images/splash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 100px;
}

.team .item>a {
    display: block;
    margin: 0 0 30px;
    position: relative;
    overflow: hidden;
}

.team .item>a figure {
    height: 410px;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.team .item>a:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 38%);
    z-index: 1;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.team .item>a:hover:before {
    background: rgb(0 0 0 / 50%);
}

.team .item>a figure>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.team .item>a:hover figure>img {
    transform: scale(1.199)
}

.team .item>a .text {
    position: absolute;
    left: -10px;
    top: 50px;
    background-color: var(--color02);
    color: #FFF;
    transform: rotate(-90deg)translateY(-20px);
    padding: 4px 20px;
    display: inline-block;
    border-radius: 5px;
    z-index: 2;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 0;
}

.team .item>a:hover .text {
    opacity: 1;
    transform: rotate(-90deg)translateY(0px);
}

.team .item>a .title {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 20px;
    color: #FFF;
    z-index: 3;
    font-weight: bold;
}

.post .item {
    margin: 0 0 30px;
    background: #FFF;
    box-shadow: 0px 3px 60px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.post .item figure {
    margin: 0;
}

.post .item figure a {
    height: 340px;
    overflow: hidden;
    display: block;
}

.home .post {
    background: #EFFAFF;
    position: relative;
    padding-bottom: 60px;
    padding-top: 30px;
}

.post .item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post .item .caption {
    padding: 15px 20px;
    font-size: .9em;
    line-height: 1.8;
}

.post .item .caption>a {
    font-weight: bold;
    display: block;
    margin: 0 0 10px;
    font-size: 18px;
}

.post .item .caption>ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: .9em;
    list-style-type: none;
}

.post .item .caption>ul>li i {
    color: var(--color01);
}

.post .item .caption p {
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.home .trip {
    padding: 50px 0 70px;
    position: relative;
}

.trip .item figure {
    margin: 0;
    position: relative;
}

.trip .item figure>a:nth-child(1) {
    display: block;
    height: 200px;
    overflow: hidden;
}

.trip .item figure:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 32%);
    opacity: 0;
    transition: all .5s;
    z-index: 1
}

.trip .item:hover figure:before {
    opacity: 1
}

.trip .item figure>a:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}

.trip .item:hover figure>a:nth-child(1) img {
    transform: scale(1.39)
}

.trip .item figure>a:nth-child(2) {
    position: absolute;
    bottom: 30px;
    right: 25px;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all .5s;
    z-index: 3
}

.trip .item:hover figure>a:nth-child(2) {
    transform: translateY(0px);
    opacity: 1;
}

.home .course {
    background: #ebf6fb;
    position: relative;
    padding: 40px 0 70px;
}

.course .item {
    margin: 0 0 20px;
    text-align: center;
    font-size: .9em;
}

.course .item figure a {
    display: block;
    height: 170px;
    overflow: hidden;
    border-radius: 10px;
}

.course .item figure a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course .item .caption>a {
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin: 0 0 10px;
}

.home .contact {
    padding: 50px 0 70px;
    position: relative;
}

.contact .contact-info .box {
    position: relative;
}

.contact .contact-info .box ul {
    list-style-type: none;
    position: absolute;
    background: #fff;
    padding: 1rem;
    min-width: 195px;
    top: 39px;
    right: 5px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 0 15px rgb(0 0 0/15%);
}

.contact .contact-info .box ul li {
    margin: 0 0 35px;
}

.contact .contact-info .box ul li p {
    margin: 0;
}

.contact .contact-info .box ul li p i {
    color: var(--color01);
}

.contact .contact-info .box .map {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.contact .contact-info .box .map iframe {
    width: 100%;
    height: 100%;
}

[type=email],
[type=number],
[type=tel],
[type=url] {
    direction: rtl !important;
}

label {
    margin: 0 0 10px;
}

.form-control {
    background: rgba(251, 251, 251, 0.32);
    border: 1px solid #e1e1e1;
    min-height: 50px;
}

footer .top {
    overflow: hidden;
    background: #EEF9FE;
    padding: 30px 0;
}

.colms {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.colms .colm-1 {
    width: 50%;
    flex: 0 0 auto;
    padding: 0 15px;
    font-size: .9em;
    line-height: 1.9;
}

.colms .colm-1:nth-child(1) {
    width: 100%;
    text-align: center;
}

.colms .colm-1 h2.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
}

.colms .colm-1 ul {
    padding: 0;
    list-style-type: none;
}

.buttom {
    background: var(--color02);
    color: #FFF;
    text-align: center;
    font-size: .9em;
    padding: 5px 0;
}

.buttom ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 12px !important;
}

.buttom ul li a {
    color: #FFF;
    padding: 5px;
    display: block;
}

header.entry-header {
    background: #ebfbff;
    min-height: 199px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

header.entry-header #bg-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
}

svg#header-wave {
    width: 100%;
    position: relative;
}

header.entry-header .container {
    margin-top: 142px;
    text-align: center;
    padding-bottom: 60px;
}

header.entry-header .container h1.entry-title {
    font-weight: 800;
    font-size: 1.5em;
}

.single .image {
    position: relative;
    margin: 0 0 15px;
}

.single-team .image .text {
    position: absolute;
    background: var(--color02);
    color: #FFF;
    left: 20px;
    top: 20px;
    padding: 3px 20px;
    border-radius: 6px;
    z-index: 9;
    font-size: 15px;
}

.single-team .image .post-thumbnail img {
    max-width: 100%;
    height: auto;
}

.entry-content {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
}

.single .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.single .post-thumbnail span {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.single .post-thumbnail span img {
    transform: scale(3);
    filter: brightness(0.5)blur(9px);
    object-fit: cover !important;
}

h2.images {
    font-weight: 700;
    font-size: 1.5em;
    margin: 0 0 30px;
}

ul#gallery {
    padding: 0;
    list-style-type: none;
}

ul#gallery li {
    margin: 0 0 30px;
}

ul#gallery li img {
    max-width: 100%;
    display: block;
    margin: auto;
}

@media (max-width: 576px) {
    .team .item>a figure {
        height: 450px;
    }
}

@media (min-width: 576px) {
    .team .item>a figure {
        height: 300px;
    }
    .course .item figure a {
        height: 200px;
    }
    .buttom .d-sm-flex {
        align-items: center;
        justify-content: space-between;
    }
    .buttom ul {
        margin-top: 0 !important;
    }
}

@media (min-width:768px) {
    .about .image,
    .slider-home .caption .content {
        display: block;
    }
    .slider-home .caption>ul {
        display: flex;
    }
    .slider-home .caption>ul>li:first-child a {
        margin-bottom: 0;
        margin-left: 10px;
    }
    .slider-home .image figure {
        height: 300px;
    }
    .slider-home .caption>h1 {
        text-align: right;
        font-size: 1.6em;
    }
    .slider-home .caption .content {
        font-size: 16px;
        line-height: 2;
    }
    .slider-home .caption>ul>li>a {
        width: auto;
    }
    .post .item figure a {
        height: 170px;
    }
    .course .item figure a {
        height: 250px;
    }
    .contact .contact-info .box .map {
        height: 525px;
    }
    textarea.form-control {
        height: 120px;
    }
    .contact .contact-info .box ul li {
        margin-bottom: 65px;
    }
    .contact .contact-info .box ul {
        top: 55px;
        right: 30px;
    }
    header.entry-header .container {
        margin-top: 146px;
        margin-bottom: 18px;
    }
    .single .entry-content {
        width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    .single .image .post-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
    }
    .single .post-thumbnail {
        height: 430px;
    }
}

@media (min-width:992px) {
    .slider-home .image figure {
        height: 400px;
    }
    .slider-home .caption>h1 {
        font-size: 1.8em;
    }
    #toggle {
        display: none;
    }
    #primary-menu {
        position: static;
        height: auto;
        display: flex;
        background: transparent;
        min-width: auto;
        transform: translateX(0);
        margin: 0;
        box-shadow: none;
    }
    .logo {
        width: 200px;
    }
    .logo a {
        height: 120px;
    }
    #primary-menu>li>a {
        font-weight: 700;
    }
    .slider-home {
        padding-top: 170px;
    }
    .team .item>a figure {
        height: 410px;
    }
    .team .item>a {
        margin-bottom: 0;
    }
    .trip .item figure>a:nth-child(1) {
        height: 290px;
    }
    .course .item figure a {
        height: 270px;
    }
    .contact .contact-info .box ul {
        min-width: 275px;
    }
    .colms .colm-1:nth-child(1) {
        width: 30%;
    }
    .colms .colm-1 {
        width: 17.5%;
    }
    .decor01,
    .decor02 {
        height: 50px;
    }
    header.entry-header .container {
        margin-top: 185px;
        margin-bottom: 30px;
    }
    .single .entry-content {
        width: 740px;
    }
    #primary-menu li.menu-item-has-children>a {
        display: block;
    }
    #primary-menu li.menu-item-has-children {
        position: relative;
    }
    #primary-menu li.menu-item-has-children>ul.sub-menu {
        position: absolute;
        min-width: 180px;
        background: #FFF;
        right: 0;
        box-shadow: 1px 1px 11px rgb(0 0 0/15%);
        border-radius: 7px;
        transform: translateY(20px);
        transition: 300ms;
        opacity: 0;
        visibility: hidden;
    }
    #primary-menu li.menu-item-has-children>ul.sub-menu>li>a {
        font-weight: 700;
    }
    #primary-menu li.menu-item-has-children:hover>ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (min-width:1200px) {
    .slider-home .image figure {
        height: 460px;
    }
    .slider-home .caption>h1 {
        font-size: 2em;
    }
    #primary-menu>li>a {
        padding: 10px 25px;
    }
    .btn-site {
        font-size: 1.05em;
        padding: 10px 40px;
    }
    .team .item>a figure {
        height: 500px;
    }
    .post .item figure a {
        height: 279px;
    }
    .post .item .caption>ul {
        font-size: 1.09em;
    }
    .trip .item figure>a:nth-child(1) {
        height: 340px;
    }
    .trip .item figure>a:nth-child(2) {
        font-size: 20px;
        font-weight: 600;
    }
    header.entry-header .container {
        margin-top: 204px;
        margin-bottom: 44px;
    }
    header.entry-header .container h1.entry-title {
        font-size: 1.8em;
    }
    .single .entry-content {
        width: 935px;
    }
    #primary-menu li.menu-item-has-children>ul.sub-menu {
        min-width: 230px;
    }
}

@media (min-width:1400px) {
    .slider-home .image figure {
        height: 560px;
    }
    .slider-home .caption>h1 {
        font-size: 2.2em;
    }
    .btn-site {
        padding: 12px 45px;
    }
    .team .item>a figure {
        height: 550px;
    }
    .post .item figure a {
        height: 299px;
    }
    .trip .item figure>a:nth-child(1) {
        height: 440px;
    }
    .decor01,
    .decor02 {
        height: 70px;
    }
    .single .entry-content {
        width: 1000px;
    }
}

/* ============================================================
   CURRENT · Adventure Energy — Phase 2: header + hero slider
   Appended layer: overrides earlier rules by cascade order.
   ============================================================ */

/* ---- buttons (global, per chosen design) ---- */
.btn-site {
    border-radius: 999px;
    font-weight: 800;
    background: var(--zd-coral);
    border-color: var(--zd-coral);
    box-shadow: 0 10px 24px rgba(255, 107, 82, .35);
    transition: var(--zd-transition);
}

.btn-site:hover {
    background: var(--zd-deep);
    border-color: var(--zd-deep);
    color: #FFF;
    transform: translateY(-2px);
}

.btn-border {
    background: transparent;
    color: var(--zd-teal-dark);
    border: 2px solid var(--zd-teal-dark);
    box-shadow: none;
}

.btn-border:hover {
    background: var(--zd-teal-dark);
    border-color: var(--zd-teal-dark);
    color: #FFF;
}

/* ---- header ---- */
header#header {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* C2: logo image untouched — effects on its container only */
.logo a {
    background: rgba(255, 255, 255, .93);
    border-radius: 18px;
    padding: 8px 14px;
    box-shadow: 0 10px 28px rgba(4, 38, 59, .22);
}

#header.fixed {
    background: rgba(4, 38, 59, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
}

#header.fixed .logo a {
    padding: 4px 10px;
    border-radius: 12px;
}

#primary-menu>li>a {
    color: var(--zd-ink);
    transition: color 300ms;
}

#primary-menu>li>a:hover {
    color: var(--zd-coral);
}

@media (min-width:992px) {
    .home #primary-menu>li>a {
        color: #FFF;
    }
    .home #primary-menu>li>a:hover,
    #header.fixed #primary-menu>li>a:hover {
        color: var(--zd-coral);
    }
    #header.fixed #primary-menu>li>a {
        color: #FFF;
    }
}

@media (max-width:991px) {
    #primary-menu {
        background: var(--zd-deep);
        box-shadow: 0 0 40px rgba(0, 0, 0, .4);
    }
    #primary-menu>li>a,
    #primary-menu li.menu-item-has-children>ul.sub-menu>li>a {
        color: #FFF;
    }
    .home #toggle:before,
    #header.fixed #toggle:before {
        background: #FFF;
        box-shadow: 0 10px 0 #FFF;
    }
    .home #toggle:after,
    #header.fixed #toggle:after {
        background: #FFF;
    }
    .home #toggle.active:before,
    #header.fixed #toggle.active:before {
        box-shadow: 0 0 0 #FFF;
    }
}

/* ---- hero / slider ---- */
.section-01 {
    background: var(--zd-sand);
    padding-top: 0;
}

.slider-home {
    background-image: none;
    background:
        radial-gradient(70% 60% at 82% 18%, rgba(255, 140, 90, .5), transparent 55%),
        radial-gradient(50% 40% at 12% 92%, rgba(20, 190, 170, .35), transparent 60%),
        linear-gradient(160deg, #0b4d63 0%, #07374d 45%, var(--zd-deep) 100%);
    color: #FFF;
    overflow: hidden;
    padding-bottom: 120px;
}

.slider-home::before,
.slider-home::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .45;
    pointer-events: none;
}

.slider-home::before {
    width: 420px;
    height: 420px;
    background: #ff8a5c;
    top: -120px;
    right: -80px;
    animation: zdDrift 12s ease-in-out infinite alternate;
}

.slider-home::after {
    width: 380px;
    height: 380px;
    background: #12b8a8;
    bottom: -140px;
    left: -100px;
    animation: zdDrift 14s ease-in-out infinite alternate-reverse;
}

@keyframes zdDrift {
    to {
        transform: translate(40px, 30px) scale(1.08);
    }
}

.slider-home .caption>h1 {
    color: #FFF;
    font-weight: 900;
    font-size: clamp(1.5rem, 3.6vw, 2.75rem);
    text-align: start;
    line-height: 1.25;
}

.slider-home .caption .content {
    color: #c4e2ec;
}

.slider-home .btn-site {
    background: var(--zd-coral);
    border-color: var(--zd-coral);
}

.slider-home .btn-site:hover {
    background: #FFF;
    border-color: #FFF;
    color: var(--zd-deep);
}

.slider-home .btn-border {
    background: transparent;
    color: #FFF;
    border: 2px solid rgba(255, 255, 255, .55);
    box-shadow: none;
}

.slider-home .btn-border:hover {
    background: #FFF;
    border-color: #FFF;
    color: var(--zd-deep);
}

/* slide mechanics — .zd-ready is added by JS; without JS all slides stay visible */
.slider-home.zd-ready .container>.row {
    display: none;
}

.slider-home.zd-ready .container>.row.zd-active {
    display: flex;
    animation: zdSlideIn .8s cubic-bezier(.2, .7, .2, 1);
}

@keyframes zdSlideIn {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.zd-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 36px;
    position: relative;
    z-index: 2;
}

.zd-dots button {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: var(--zd-transition);
}

.zd-dots button.on {
    background: var(--zd-coral);
    width: 30px;
}

/* rising bubbles (elements injected by JS) */
.zd-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.zd-bubbles i {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, .7), rgba(160, 225, 255, .08) 60%);
    animation: zdRise linear infinite;
}

@keyframes zdRise {
    to {
        transform: translateY(-110vh) translateX(28px);
        opacity: 0;
    }
}

/* sand wave divider at hero bottom (injected by JS) */
.zd-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.zd-wave svg {
    width: 100%;
    height: 64px;
    display: block;
}
/* ============================================================
   CURRENT · Adventure Energy — Phase 3: card templates
   Trainers / trips / courses / blog cards, aspect-ratio media.
   ============================================================ */

/* ---- section backgrounds on home ---- */
.home .team {
    background: linear-gradient(160deg, #0b4d63 0%, var(--zd-deep) 70%);
}

.home .team .head h2 {
    color: #FFF;
}

.home .team .decor02 {
    display: none;
}

.home .post {
    background: #FFF;
}

.home .course {
    background: transparent;
}

/* ---- trainer cards ---- */
.team .item>a {
    border-radius: var(--zd-radius);
    box-shadow: var(--zd-shadow);
    transition: var(--zd-transition);
}

.team .item>a:hover {
    transform: translateY(-10px) rotate(-1deg);
}

.team .item>a figure {
    height: auto;
    aspect-ratio: 3 / 3.6;
}

.team .item>a:before {
    background: linear-gradient(180deg, rgba(4, 38, 59, 0) 40%, rgba(4, 38, 59, .88));
}

.team .item>a:hover:before {
    background: linear-gradient(180deg, rgba(4, 38, 59, .1) 30%, rgba(4, 38, 59, .94));
}

.team .item>a:hover figure>img {
    transform: scale(1.08);
}

/* experience/role badge — always visible coral pill */
.team .item>a .text {
    left: auto;
    right: 14px;
    top: 14px;
    opacity: 1;
    background: var(--zd-coral);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .05em;
    transform: rotate(3deg);
    box-shadow: 0 8px 20px rgba(255, 107, 82, .4);
}

.team .item>a:hover .text {
    opacity: 1;
    transform: rotate(0deg);
}

.team .item>a .title {
    bottom: 24px;
    right: 24px;
    left: 24px;
    font-size: 22px;
}

/* ---- trip tiles ---- */
.home .trip .row .p-0 {
    padding: 8px !important;
}

.trip .item figure {
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow-sm);
    transition: var(--zd-transition);
}

.trip .item:hover figure {
    box-shadow: var(--zd-shadow);
    transform: translateY(-6px);
}

.trip .item figure>a:nth-child(1) {
    height: auto;
    aspect-ratio: 3 / 3.4;
}

.trip .item figure:before {
    opacity: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 30, 48, .88));
}

.trip .item:hover figure:before {
    opacity: 1;
}

.trip .item:hover figure>a:nth-child(1) img {
    transform: scale(1.08);
}

.trip .item figure>a:nth-child(2) {
    opacity: 1;
    transform: none;
    bottom: 18px;
    right: 20px;
    left: 20px;
    font-weight: 800;
    font-size: 1.08em;
}

/* ---- course cards ---- */
.course .item {
    background: #FFF;
    border-radius: var(--zd-radius);
    box-shadow: var(--zd-shadow-sm);
    overflow: hidden;
    padding-bottom: 14px;
    transition: var(--zd-transition);
}

.course .item:hover {
    transform: translateY(-8px);
    box-shadow: var(--zd-shadow);
}

.course .item figure {
    margin: 0;
}

.course .item figure a {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.course .item figure a img {
    transition: var(--zd-transition);
}

.course .item:hover figure a img {
    transform: scale(1.06);
}

.course .item .caption {
    padding: 16px 18px 4px;
}

.course .item .caption>a {
    color: var(--zd-ink);
    transition: color 300ms;
}

.course .item .caption>a:hover {
    color: var(--zd-coral);
}

/* ---- blog cards ---- */
.post .item {
    border-radius: var(--zd-radius);
    box-shadow: var(--zd-shadow-sm);
    transition: var(--zd-transition);
}

.post .item:hover {
    transform: translateY(-8px);
    box-shadow: var(--zd-shadow);
}

.post .item figure a {
    height: auto;
    aspect-ratio: 16 / 10;
}

.post .item figure img {
    transition: var(--zd-transition);
}

.post .item:hover figure img {
    transform: scale(1.06);
}

.post .item .caption>a {
    color: var(--zd-ink);
    transition: color 300ms;
}

.post .item .caption>a:hover {
    color: var(--zd-coral);
}

/* ============================================================
   CURRENT · Adventure Energy — Phase 4: inner page headers
   Shared template-parts/page-header.php replaces the old SVG.
   ============================================================ */
header.entry-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 90% at 85% 10%, rgba(255, 140, 90, .4), transparent 55%),
        radial-gradient(40% 70% at 10% 100%, rgba(20, 190, 170, .3), transparent 60%),
        linear-gradient(160deg, #0b4d63 0%, #07374d 55%, var(--zd-deep) 100%);
    padding: 0 0 70px;
    color: #FFF;
}

header.entry-header .container {
    position: relative;
    z-index: 2;
    margin-top: 150px;
    margin-bottom: 0;
}

header.entry-header h1.entry-title {
    color: #FFF;
    font-weight: 900;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    margin: 0;
}

@media (min-width:992px) {
    header.entry-header .container {
        margin-top: 190px;
    }
}

.zd-page-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    display: block;
    pointer-events: none;
}

/* header nav sits over a dark band on every page now */
@media (min-width:992px) {
    #primary-menu>li>a {
        color: #FFF;
    }
    #primary-menu>li>a:hover {
        color: var(--zd-coral);
    }
}

@media (max-width:991px) {
    #toggle:before {
        background: #FFF;
        box-shadow: 0 10px 0 #FFF;
    }
    #toggle:after {
        background: #FFF;
    }
    #toggle.active:before {
        box-shadow: 0 0 0 #FFF;
    }
}

/* ============================================================
   CURRENT · Adventure Energy — Phase 5: sections, footer, credit
   ============================================================ */

/* ---- section headings: coral underline instead of old wave icon ---- */
.head h2 {
    color: var(--zd-ink);
    background-image: none;
    padding-top: 0;
    padding-bottom: 16px;
    font-weight: 900;
    position: relative;
}

.head h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 64px;
    height: 5px;
    border-radius: 99px;
    background: var(--zd-coral);
}

.head.text-center h2:after {
    inset-inline-start: auto;
    left: 50%;
    transform: translateX(-50%);
}

.home .team .head h2 {
    color: #FFF;
}

/* old decorative wave strips clash with the new palette */
.decor01,
.decor02 {
    display: none;
}

/* ---- safety strip ---- */
.zd-safety {
    background:
        radial-gradient(60% 80% at 88% 0%, rgba(255, 140, 90, .25), transparent 55%),
        linear-gradient(160deg, var(--zd-teal-dark) 0%, var(--zd-deep) 80%);
    color: #FFF;
    padding: 60px 0 40px;
    position: relative;
}

.zd-safety .head h2 {
    color: #FFF;
}

.zd-safe-item {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 8px;
}

.zd-safe-item i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.zd-safe-item b {
    display: block;
    font-size: 1.02em;
    margin-bottom: 4px;
}

.zd-safe-item span {
    color: #b8dae4;
    font-size: .88em;
    line-height: 1.6;
    display: block;
}

/* ---- contact section ---- */
.form-control {
    border-radius: 14px;
    border: 1.5px solid #e8ded2;
    background: #FFF;
    transition: border-color .3s, box-shadow .3s;
}

.form-control:focus {
    border-color: var(--zd-teal);
    box-shadow: 0 0 0 4px rgba(14, 143, 150, .12);
}

.wpcf7 input[type=submit] {
    background: var(--zd-coral);
    border: 1px solid var(--zd-coral);
    color: #FFF;
    border-radius: 999px;
    padding: 10px 36px;
    font-weight: 800;
    transition: var(--zd-transition);
}

.wpcf7 input[type=submit]:hover {
    background: var(--zd-deep);
    border-color: var(--zd-deep);
}

.contact .contact-info .box ul {
    border-radius: 18px;
    box-shadow: var(--zd-shadow-sm);
}

.contact .contact-info .box .map,
.contact .contact-info .box .map iframe {
    border-radius: var(--zd-radius);
}

/* ---- footer ---- */
footer .top {
    background: var(--zd-deep);
    color: #bcd7e2;
}

footer .top a {
    color: #bcd7e2;
    transition: color .3s;
}

footer .top a:hover {
    color: var(--zd-coral);
}

.colms .colm-1 h2.widget-title {
    color: #FFF;
}

.buttom {
    background: #031b2b;
    color: #bcd7e2;
    padding: 14px 0;
}

.buttom ul li a {
    color: #bcd7e2;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--zd-transition);
}

.buttom ul li a:hover {
    background: var(--zd-coral);
    color: #FFF;
    transform: rotate(-4deg);
}

/* ---- C3: developer credit ---- */
.zd-heart {
    width: 15px;
    height: 15px;
    color: #ef4444;
    display: inline-block;
    vertical-align: -2px;
    animation: zdPulse 1.6s ease-in-out infinite;
}

@keyframes zdPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.28);
        opacity: .75;
    }
}

.zd-credit {
    font-weight: 800;
    text-decoration: none;
}

.zd-eezee {
    color: #ff7a00;
}

.zd-click {
    color: #9aa7b1;
}

.zd-credit:hover .zd-eezee {
    color: var(--zd-coral);
}

.zd-credit:hover .zd-click {
    color: #cfd8de;
}

/* ============================================================
   CURRENT · Adventure Energy — Phase 7: polish & QA
   ============================================================ */

/* #toggle is now a real <button> */
#toggle {
    background: none;
    border: 0;
    padding: 0;
}

/* slimmer logo chip on small screens */
@media (max-width:991px) {
    .logo a {
        height: 72px;
    }
    #header.fixed .logo a {
        height: 48px;
    }
}

/* ============================================================
   CURRENT · Adventure Energy — R1: footer logo shine + PADI badge
   ============================================================ */

/* pearl chip with glow + shine sweep around the footer logo (C2: image untouched) */
.colms .colm-1:nth-child(1) .textwidget > p:first-child {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #eef4f8 100%);
    border-radius: 20px;
    padding: 14px 28px;
    margin-bottom: 18px;
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, .28),
        0 14px 34px rgba(0, 0, 0, .35),
        0 0 30px rgba(255, 200, 120, .15);
    animation: zdLogoGlow 3.6s ease-in-out infinite;
}

.colms .colm-1:nth-child(1) .textwidget > p:first-child::after {
    content: '';
    position: absolute;
    top: -60%;
    bottom: -60%;
    width: 46px;
    left: -90px;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
    animation: zdShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes zdShine {
    0%, 55% {
        left: -90px;
    }
    85%, 100% {
        left: calc(100% + 60px);
    }
}

@keyframes zdLogoGlow {
    0%, 100% {
        box-shadow:
            0 0 0 1.5px rgba(255, 255, 255, .28),
            0 14px 34px rgba(0, 0, 0, .35),
            0 0 26px rgba(255, 200, 120, .12);
    }
    50% {
        box-shadow:
            0 0 0 1.5px rgba(255, 255, 255, .4),
            0 14px 34px rgba(0, 0, 0, .35),
            0 0 44px rgba(255, 205, 130, .38);
    }
}

/* PADI 5-Star badge */
.zd-padi-wrap {
    text-align: center;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.zd-padi {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 30px;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    border: 1.5px solid rgba(255, 200, 97, .55);
    color: #FFF;
    font-weight: 800;
    letter-spacing: .04em;
    transition: var(--zd-transition);
    box-shadow: 0 0 24px rgba(255, 200, 97, .12);
}

.zd-padi:hover {
    transform: translateY(-3px);
    border-color: #ffc861;
    color: #FFF;
    box-shadow: 0 10px 34px rgba(255, 200, 97, .3);
}

.zd-padi-stars i {
    font-style: normal;
    color: #ffc861;
    font-size: 1.02em;
    text-shadow: 0 0 10px rgba(255, 200, 97, .65);
    animation: zdStar 2.4s ease-in-out infinite;
    display: inline-block;
}

.zd-padi-stars i:nth-child(2) { animation-delay: .18s; }
.zd-padi-stars i:nth-child(3) { animation-delay: .36s; }
.zd-padi-stars i:nth-child(4) { animation-delay: .54s; }
.zd-padi-stars i:nth-child(5) { animation-delay: .72s; }

@keyframes zdStar {
    0%, 100% {
        transform: scale(1);
        opacity: .92;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

.zd-padi-text b {
    color: #ffc861;
    margin-inline-end: 4px;
}

/* ============================================================
   CURRENT · Adventure Energy — R2: direct contact actions
   ============================================================ */
.zd-actions {
    display: grid;
    gap: 16px;
    align-content: start;
}

.zd-actions-lead {
    color: var(--zd-muted);
    font-weight: 600;
    margin: 0 0 4px;
}

.zd-action {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #FFF;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: var(--zd-shadow-sm);
    transition: var(--zd-transition);
    color: var(--zd-ink);
}

.zd-action:hover {
    transform: translateY(-4px);
    box-shadow: var(--zd-shadow);
    color: var(--zd-ink);
}

.zd-action i {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    color: #FFF;
}

.zd-action-call i { background: var(--zd-teal); }
.zd-action-wa i   { background: #25d366; }
.zd-action-mail i { background: var(--zd-coral); }

.zd-action b {
    display: block;
    font-size: 1.05em;
}

.zd-action em {
    font-style: normal;
    color: var(--zd-muted);
    font-size: .9em;
    display: block;
}

/* ============================================================
   CURRENT · Adventure Energy — R3: trainer profile
   ============================================================ */
.zd-profile {
    padding-top: 6px;
}

.zd-profile-side {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.zd-profile-photo {
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow);
    border: 4px solid #FFF;
    outline: 3px solid var(--zd-coral);
    outline-offset: 2px;
}

.zd-profile-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    display: block;
}

.zd-profile-role {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    background: var(--zd-coral-soft);
    color: var(--zd-coral);
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 22px;
}

.zd-profile-padi {
    color: var(--zd-muted);
    font-weight: 700;
    font-size: .88em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zd-profile-padi span {
    color: #f5a623;
    letter-spacing: 2px;
}

.zd-profile-cta {
    text-align: center;
}

.zd-profile-name {
    font-weight: 900;
    color: var(--zd-deep);
    margin: 0 0 18px;
    padding-bottom: 14px;
    position: relative;
}

.zd-profile-name:after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 64px;
    height: 5px;
    border-radius: 99px;
    background: var(--zd-coral);
}

.zd-profile-body {
    font-size: 1.02em;
    line-height: 2;
}

.zd-profile-body h2:not(.zd-profile-name),
.zd-profile-body h3 {
    color: var(--zd-deep);
    font-weight: 800;
    margin: 28px 0 14px;
}

.zd-profile-body hr {
    border: 0;
    border-top: 1.5px solid rgba(4, 38, 59, .1);
    margin: 26px 0;
}

/* certification lists become badge pills */
.zd-profile-body ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.zd-profile-body ul li {
    background: #FFF;
    border: 1.5px solid rgba(14, 143, 150, .35);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: .92em;
    box-shadow: var(--zd-shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--zd-transition);
}

.zd-profile-body ul li:hover {
    transform: translateY(-3px);
    border-color: var(--zd-teal);
}

.zd-profile-body ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--zd-teal);
}

/* ============================================================
   CURRENT · Adventure Energy — R4: course single + WhatsApp booking
   ============================================================ */
.zd-course-banner {
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow);
    position: relative;
    margin-bottom: 26px;
}

.zd-course-banner img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    display: block;
}

.zd-course-open {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    background: #12b76a;
    color: #FFF;
    font-weight: 800;
    font-size: .85em;
    border-radius: 999px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(18, 183, 106, .45);
}

.zd-course-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: #FFF;
    border-radius: 18px;
    box-shadow: var(--zd-shadow-sm);
    padding: 18px 26px;
    margin-bottom: 30px;
    position: sticky;
    top: 88px;
    z-index: 5;
}

.zd-course-cta-bar b {
    display: block;
    font-size: 1.15em;
    color: var(--zd-deep);
    font-weight: 900;
}

.zd-course-cta-bar span {
    color: var(--zd-muted);
    font-size: .85em;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.zd-course-cta-bar span i {
    color: #f5a623;
}

.zd-book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #FFF;
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 30px;
    transition: var(--zd-transition);
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}

.zd-book:hover {
    background: var(--zd-deep);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 38, 59, .3);
}

.zd-book i {
    font-size: 1.3em;
}

.zd-book-lg {
    font-size: 1.08em;
    padding: 16px 42px;
}

.zd-course-body {
    max-width: 860px;
    margin: 0 auto;
    line-height: 2;
    font-size: 1.02em;
}

.zd-course-body h2,
.zd-course-body h3 {
    color: var(--zd-deep);
    font-weight: 800;
    margin: 28px 0 14px;
}

.zd-course-body ol,
.zd-course-body ul {
    padding-inline-start: 24px;
}

.zd-course-body li {
    margin-bottom: 8px;
}

.zd-course-foot {
    text-align: center;
    margin-top: 38px;
}

.zd-course-foot p {
    color: var(--zd-muted);
    font-weight: 700;
    margin-bottom: 14px;
}

/* PADI logo on the instructors slide: badge-sized, lower corner */
.slider-home .image>img[src*="padi"] {
    width: clamp(90px, 13vw, 160px);
    height: auto;
    top: auto;
    bottom: 4%;
    left: 2%;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
}

/* ============================================================
   Single trip — banner, mosaic gallery, videos, lightbox (R3)
   ============================================================ */
.zd-trip-banner {
    position: relative;
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow);
    margin-bottom: 26px;
}

.zd-trip-banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    display: block;
}

.zd-trip-banner .zd-course-open {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
}

.zd-media-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--zd-ink);
    font-weight: 900;
    font-size: 26px;
    margin: 40px 0 6px;
}

.zd-media-head i {
    color: var(--zd-coral);
    font-size: 22px;
}

.zd-media-head::after {
    content: "";
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--zd-coral), var(--zd-coral-soft) 45%, transparent 80%);
}

.zd-trip-media {
    margin-top: 6px;
}

/* mosaic gallery */
.zd-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.zd-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--zd-deep);
    border-radius: var(--zd-radius-sm);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    box-shadow: var(--zd-shadow-sm);
}

.zd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--zd-transition), opacity var(--zd-transition);
}

.zd-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(4, 38, 59, .45));
    opacity: 0;
    transition: opacity var(--zd-transition);
}

.zd-gallery-zoom {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--zd-teal-dark);
    font-size: 15px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--zd-transition), transform var(--zd-transition);
}

.zd-gallery-item:hover img,
.zd-gallery-item:focus-visible img {
    transform: scale(1.07);
}

.zd-gallery-item:hover::after,
.zd-gallery-item:focus-visible::after {
    opacity: 1;
}

.zd-gallery-item:hover .zd-gallery-zoom,
.zd-gallery-item:focus-visible .zd-gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .zd-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }

    /* first image = hero tile of the mosaic */
    .zd-gallery .zd-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }
}

/* video cards */
.zd-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
}

@media (min-width: 768px) {
    .zd-videos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.zd-video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--zd-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--zd-deep);
    aspect-ratio: 16 / 9;
    box-shadow: var(--zd-shadow-sm);
}

.zd-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .85;
    transition: transform var(--zd-transition), opacity var(--zd-transition);
}

.zd-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--zd-coral);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 30px rgba(255, 107, 82, .5);
    transition: transform var(--zd-transition);
}

.zd-video-play i {
    margin-inline-start: 3px;
}

.zd-video-card:hover img,
.zd-video-card:focus-visible img {
    transform: scale(1.06);
    opacity: 1;
}

.zd-video-card:hover .zd-video-play,
.zd-video-card:focus-visible .zd-video-play {
    transform: scale(1.12);
}

/* lightbox */
.zd-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 20, 32, .92);
    padding: 20px;
}

.zd-lb.open {
    display: flex;
    animation: zdLbFade .25s ease;
}

@keyframes zdLbFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zd-lb-stage {
    max-width: min(1100px, 94vw);
    width: 100%;
    text-align: center;
}

.zd-lb-stage img {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: var(--zd-radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.zd-lb-stage .zd-lb-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--zd-radius-sm);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.zd-lb-stage iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.zd-lb button {
    position: absolute;
    z-index: 2;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transition: background var(--zd-transition), transform var(--zd-transition);
}

.zd-lb button:hover {
    background: var(--zd-coral);
    transform: scale(1.08);
}

.zd-lb-close {
    top: 18px;
    inset-inline-end: 18px;
    width: 46px;
    height: 46px;
    font-size: 20px;
}

.zd-lb-prev,
.zd-lb-next {
    top: 50%;
    translate: 0 -50%;
    width: 52px;
    height: 52px;
    font-size: 18px;
}

.zd-lb-prev { inset-inline-start: 14px; }
.zd-lb-next { inset-inline-end: 14px; }

.zd-lb-count {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    letter-spacing: 1px;
}

@media (max-width: 576px) {
    .zd-media-head { font-size: 21px; }
    .zd-lb-prev, .zd-lb-next { width: 42px; height: 42px; bottom: 14px; top: auto; translate: none; }
    .zd-lb-count { bottom: 26px; }
}

/* trip listing tile chips (R3) */
.trip figure .zd-tile-open,
.trip figure .zd-tile-count {
    position: absolute;
    top: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.trip figure .zd-tile-open {
    inset-inline-start: 12px;
    background: var(--zd-coral);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 107, 82, .45);
}

.trip figure .zd-tile-count {
    inset-inline-end: 12px;
    background: rgba(4, 38, 59, .72);
    color: #fff;
    backdrop-filter: blur(4px);
}

.trip figure .zd-tile-count i {
    font-size: 11px;
    opacity: .85;
}

/* fix: gradient veil must never swallow clicks — whole trip tile is tappable (R3.1) */
.trip .item figure:before {
    pointer-events: none;
}

.trip .item figure > a:nth-child(2) {
    z-index: 2;
}

/* gallery save-protection: no drag, no select, no iOS long-press callout (R3.2) */
.zd-gallery-item img,
.zd-video-card img,
.zd-lb-stage img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.zd-lb-imgwrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.zd-lb-shield {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    -webkit-touch-callout: none;
}

/* ===== Articles redesign (v2.2.0) — listing + single ===== */

/* --- listing --- */
.zd-articles { padding: 40px 0 90px; background: var(--zd-sand); }
.zd-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
}
.zd-art-card {
    display: flex;
    flex-direction: column;
    background: var(--zd-white);
    border: 1px solid rgba(4, 38, 59, .07);
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}
.zd-art-card:hover { transform: translateY(-6px); box-shadow: var(--zd-shadow); }
.zd-art-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--zd-deep), var(--zd-teal-dark));
}
.zd-art-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.zd-art-card:hover .zd-art-thumb img { transform: scale(1.06); }
.zd-art-noimg {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 3rem; color: rgba(255, 255, 255, .45);
}
.zd-art-flag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: var(--zd-coral);
    color: #fff;
    font-weight: 800;
    font-size: .8rem;
    padding: 5px 16px;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(255, 107, 82, .45);
    z-index: 1;
}
.zd-art-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.zd-art-meta {
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    margin: 0;
    color: var(--zd-muted);
    font-size: .82rem; font-weight: 600;
}
.zd-art-meta i { color: var(--zd-teal); margin-inline-end: 4px; }
.zd-art-title { margin: 0; font-size: 1.15rem; line-height: 1.55; }
.zd-art-title a { color: var(--zd-ink); font-weight: 800; text-decoration: none; transition: color .25s; }
.zd-art-title a:hover { color: var(--zd-coral); }
.zd-art-excerpt { margin: 0; color: var(--zd-muted); font-size: .92rem; line-height: 1.8; }
.zd-art-more { margin: auto 0 0; padding-top: 6px; }
.zd-art-more a {
    color: var(--zd-teal-dark);
    font-weight: 800; font-size: .9rem;
    text-decoration: none;
}
.zd-art-more a i { transition: margin .25s ease; margin-inline-start: 6px; font-size: .8rem; }
.zd-art-more a:hover { color: var(--zd-coral); }
.zd-art-more a:hover i { margin-inline-start: 12px; }

/* featured (latest) card spans the row, image beside text */
.zd-art-feat { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .zd-art-feat { flex-direction: row; min-height: 330px; }
    .zd-art-feat .zd-art-thumb { flex: 0 0 54%; aspect-ratio: auto; }
    .zd-art-feat .zd-art-body { justify-content: center; gap: 14px; padding: 34px 38px; }
    .zd-art-feat .zd-art-title { font-size: 1.6rem; }
    .zd-art-feat .zd-art-excerpt { font-size: 1rem; }
}

/* listing pagination (future-proof) */
.zd-articles .posts-navigation { margin-top: 34px; }
.zd-articles .posts-navigation .nav-links { display: flex; justify-content: space-between; gap: 14px; }
.zd-articles .posts-navigation a {
    display: inline-block;
    background: var(--zd-white);
    border: 1px solid rgba(4, 38, 59, .12);
    border-radius: 30px;
    padding: 10px 26px;
    color: var(--zd-teal-dark);
    font-weight: 800;
    text-decoration: none;
    transition: all .25s;
}
.zd-articles .posts-navigation a:hover { background: var(--zd-coral); border-color: var(--zd-coral); color: #fff; }

/* --- single article --- */
.zd-article-wrap { padding: 44px 0 90px; background: var(--zd-sand); }
.zd-article-inner { max-width: 780px; margin: 0 auto; }
.zd-article-meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
    margin: 0 0 26px;
    color: var(--zd-muted); font-size: .9rem; font-weight: 700;
}
.zd-article-meta i { color: var(--zd-teal); margin-inline-end: 6px; }
.zd-article-hero {
    margin: 0 0 34px;
    border-radius: var(--zd-radius);
    overflow: hidden;
    box-shadow: var(--zd-shadow);
    aspect-ratio: 16 / 9;
}
.zd-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zd-article-body { color: var(--zd-ink); font-size: 1.12rem; line-height: 2.05; }
.zd-article-body p { margin: 0 0 1.25em; }
.zd-article-body h2,
.zd-article-body h3,
.zd-article-body h4 { color: var(--zd-ink); font-weight: 800; line-height: 1.5; margin: 1.6em 0 .7em; }
.zd-article-body h2 { font-size: 1.55rem; position: relative; padding-bottom: .45em; }
.zd-article-body h2::after {
    content: "";
    position: absolute; bottom: 0; inset-inline-start: 0;
    width: 46px; height: 4px; border-radius: 4px;
    background: var(--zd-coral);
}
.zd-article-body h3 { font-size: 1.25rem; color: var(--zd-teal-dark); }
.zd-article-body a { color: var(--zd-coral); font-weight: 700; }
.zd-article-body a:hover { color: var(--zd-teal-dark); }
.zd-article-body img { max-width: 100%; height: auto; border-radius: var(--zd-radius-sm); box-shadow: var(--zd-shadow-sm); }
.zd-article-body blockquote {
    margin: 1.6em 0;
    padding: 18px 26px;
    background: var(--zd-white);
    border-inline-start: 5px solid var(--zd-coral);
    border-radius: var(--zd-radius-sm);
    box-shadow: var(--zd-shadow-sm);
    color: var(--zd-teal-dark);
    font-weight: 700;
}
.zd-article-body blockquote p:last-child { margin-bottom: 0; }
.zd-article-body ul,
.zd-article-body ol { margin: 0 0 1.25em; padding-inline-start: 1.4em; }
.zd-article-body li { margin-bottom: .45em; }
.zd-article-body li::marker { color: var(--zd-teal); font-weight: 800; }

/* share row */
.zd-share {
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
    margin: 40px 0 8px;
    padding-top: 26px;
    border-top: 1px solid rgba(4, 38, 59, .1);
}
.zd-share-label { color: var(--zd-ink); font-weight: 800; margin-inline-end: 6px; }
.zd-share a {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(4, 38, 59, .15);
    color: var(--zd-teal-dark);
    font-size: 1.05rem;
    text-decoration: none;
    transition: all .25s;
    background: var(--zd-white);
}
.zd-share a:hover { color: #fff; transform: translateY(-3px); }
.zd-share .zd-share-wa:hover { background: #25d366; border-color: #25d366; }
.zd-share .zd-share-fb:hover { background: #1877f2; border-color: #1877f2; }
.zd-share .zd-share-x:hover { background: var(--zd-ink); border-color: var(--zd-ink); }

/* prev / next navigation */
.zd-article .post-navigation { margin: 26px 0 0; }
.zd-article .post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.zd-article .post-navigation .nav-next { text-align: end; }
.zd-article .post-navigation a {
    display: block;
    background: var(--zd-white);
    border: 1px solid rgba(4, 38, 59, .08);
    border-radius: var(--zd-radius-sm);
    padding: 16px 20px;
    text-decoration: none;
    box-shadow: var(--zd-shadow-sm);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.zd-article .post-navigation a:hover { transform: translateY(-4px); box-shadow: var(--zd-shadow); }
.zd-pnav-label { display: block; color: var(--zd-muted); font-size: .78rem; font-weight: 700; margin-bottom: 6px; }
.zd-pnav-label i { color: var(--zd-coral); }
.zd-pnav-title { display: block; color: var(--zd-ink); font-weight: 800; font-size: .95rem; line-height: 1.5; }
.zd-article .post-navigation a:hover .zd-pnav-title { color: var(--zd-coral); }

/* related articles */
.zd-related { margin-top: 64px; }
.zd-related-head {
    text-align: center;
    color: var(--zd-ink);
    font-weight: 800;
    font-size: 1.7rem;
    margin: 0 0 30px;
    position: relative;
    padding-bottom: 16px;
}
.zd-related-head::after {
    content: "";
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 54px; height: 4px; border-radius: 4px;
    background: var(--zd-coral);
}

@media (max-width: 576px) {
    .zd-articles { padding: 24px 0 60px; }
    .zd-art-body { padding: 18px 18px 20px; }
    .zd-article-body { font-size: 1.05rem; }
    .zd-article .post-navigation .nav-links { grid-template-columns: 1fr; }
    .zd-article .post-navigation .nav-next { text-align: start; }
}

/* footer columns: spread remaining columns evenly after duplicate-widget cleanup (v2.2.2) */
.colms { justify-content: space-between; }

/* ===== Google Reviews section (v2.3.0) ===== */
.zd-reviews { padding: 70px 0 84px; background: var(--zd-white); }
.zd-rev-layout {
    display: flex;
    align-items: stretch;
    gap: 26px;
    margin-top: 8px;
}
.zd-rev-summary {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: var(--zd-sand);
    border: 1px solid rgba(4, 38, 59, .07);
    border-radius: var(--zd-radius);
    box-shadow: var(--zd-shadow-sm);
    padding: 26px 20px;
}
.zd-rev-brand { color: var(--zd-muted); font-weight: 800; letter-spacing: .5px; }
.zd-rev-brand i { color: #4285f4; margin-inline-end: 4px; }
.zd-rev-score { font-size: 3rem; font-weight: 900; color: var(--zd-ink); line-height: 1; }
.zd-rev-stars { color: #fbbc04; display: inline-flex; gap: 3px; font-size: .95rem; }
.zd-rev-stars .zd-star-off { color: rgba(4, 38, 59, .15); }
.zd-rev-count { color: var(--zd-muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.zd-rev-count:hover { color: var(--zd-teal-dark); }
.zd-rev-write {
    margin-top: 8px;
    background: var(--zd-coral);
    color: #fff;
    font-weight: 800;
    font-size: .92rem;
    padding: 10px 26px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(255, 107, 82, .35);
    transition: transform .25s, box-shadow .25s;
}
.zd-rev-write:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 107, 82, .45); }

.zd-rev-carousel { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.zd-rev-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}
.zd-rev-track::-webkit-scrollbar { display: none; }
.zd-rev-card {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--zd-white);
    border: 1px solid rgba(4, 38, 59, .08);
    border-radius: var(--zd-radius);
    box-shadow: var(--zd-shadow-sm);
    padding: 20px;
}
.zd-rev-head { display: flex; align-items: center; gap: 12px; }
.zd-rev-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 46px;
}
.zd-rev-initial {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--zd-teal);
    color: #fff; font-weight: 800; font-size: 1.2rem;
}
.zd-rev-who { display: flex; flex-direction: column; min-width: 0; }
.zd-rev-name { color: var(--zd-ink); font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zd-rev-when { color: var(--zd-muted); font-size: .78rem; font-weight: 600; }
.zd-rev-g { margin-inline-start: auto; color: #4285f4; font-size: 1.1rem; }
.zd-rev-text {
    margin: 0;
    color: var(--zd-ink);
    font-size: .92rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zd-rev-more { color: var(--zd-teal-dark); font-weight: 800; font-size: .84rem; text-decoration: none; margin-top: auto; }
.zd-rev-more:hover { color: var(--zd-coral); }
.zd-rev-btn {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(4, 38, 59, .12);
    background: var(--zd-white);
    color: var(--zd-ink);
    box-shadow: var(--zd-shadow-sm);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .25s;
    z-index: 1;
}
.zd-rev-btn:hover { background: var(--zd-coral); border-color: var(--zd-coral); color: #fff; }
.zd-rev-prev { margin-inline-end: 10px; }
.zd-rev-next { margin-inline-start: 10px; }

@media (max-width: 991px) {
    .zd-rev-layout { flex-direction: column; }
    .zd-rev-summary { flex: 0 0 auto; }
    .zd-rev-card { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 576px) {
    .zd-reviews { padding: 48px 0 60px; }
    .zd-rev-card { flex-basis: 86%; }
    .zd-rev-btn { display: none; }
    .zd-rev-track { padding-bottom: 8px; }
}
