/* =======================
   adn
   ======================= */

/* Theme vars */
:root {
    --jj-green: #12361f; /* header dark green */
    --jj-gold: #c99a43; /* gold / CTA color */
    --jj-card-bg: #ffffff;
    --jj-muted: #6b6b6b;
    --jj-radius: 12px;
    --jj-shadow: 0 6px 18px rgba(15,20,15,0.06);
    /* unified font */
    --jj-font: "Spectral", serif;
}

/* -------------------
   Shared card wrapper
   ------------------- */
.card-style {
    background: var(--jj-card-bg);
    border-radius: var(--jj-radius);
    box-shadow: var(--jj-shadow);
    padding: 28px;
    border: 1px solid rgba(0,0,0,0.04);
    font-family: var(--jj-font);
}

/* -------------------
   Activity CTA card
   ------------------- */
.activity-pricebox {
    position: relative;
    overflow: visible;
}

.activity-pricebox1::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: -8px;
    height: 6px;
    background: var(--jj-gold);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 6px rgba(201,154,67,0.12);
}

.activity-pricebox h4 {
    font-size: 1.45rem;
    margin-bottom: .6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-family: var(--jj-font);
}

.activity-pricebox p {
    color: var(--jj-muted);
    line-height: 1.5;
    margin-bottom: 0;
    font-family: var(--jj-font);
}

/* CTA button */
.btn-info-sub {
    background: var(--jj-gold);
    border: 0;
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: .4px;
    border-radius: 0px;
    box-shadow: 0 6px 14px rgba(201,154,67,0.12);
    display: inline-block;
    text-decoration: none;
    font-family: var(--jj-font);
}

    .btn-info-sub:hover {
        opacity: .95;
        transform: translateY(-1px);
        transition: .15s;
    }

/* -------------------
   why-jj (dark header + list)
   ------------------- */
.why-jj83head {
    background: var(--jj-green);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 18px 20px;
    margin: -28px -28px 12px -28px;
    font-family: var(--jj-font);
}

    .why-jj83head h4 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 700;
    }

.why-jj83body {
    padding: 6px 0 0 0;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .check-list li {
        padding: 16px 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

        .check-list li:last-child {
            border-bottom: 0;
        }

    .check-list h5 {
        font-size: 1.1rem;
        margin: 0 0 6px 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--jj-font);
    }

        .check-list h5::before {
            content: "->";
            width: 18px;
            height: 18px;
            display: inline-block;
            color: var(--jj-green);
            font-weight: 700;
        }

    .check-list p {
        margin: 0;
        color: var(--jj-muted);
        line-height: 1.5;
        font-size: 0.96rem;
        font-family: var(--jj-font);
    }

/* -------------------
   Article / Editor content
   ------------------- */
.jj-content {
    background: var(--jj-card-bg);
    padding: 42px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(17,21,17,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    color: #122223;
    max-width: 920px;
    margin: 0 auto;
    font-family: var(--jj-font);
    font-size: 17px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

    /* Headings */
    .jj-content h1,
    .jj-content h2,
    .jj-content h3,
    .jj-content h4,
    .jj-content h5,
    .jj-content h6 {
        font-family: var(--jj-font);
        color: #122223;
        margin: 1.2rem 0 0.6rem 0;
        line-height: 1.08;
        letter-spacing: -0.4px;
    }

    .jj-content h1 {
        font-size: 2.6rem;
        margin-top: 0;
        font-weight: 600;
    }

    .jj-content h2 {
        font-size: 1.9rem;
        font-weight: 600;
    }

    .jj-content h3 {
        font-size: 1.35rem;
        font-weight: 600;
    }

    .jj-content h4 {
        font-size: 1.15rem;
        font-weight: 600;
    }

    .jj-content h5, .jj-content h6 {
        font-weight: 600;
        font-size: 1rem;
    }

    /* Paragraphs */
    .jj-content p {
        margin: 0 0 1.1rem 0;
        color: #222;
        font-size: 1rem;
    }

        .jj-content p.lead {
            font-size: 1.08rem;
            font-weight: 600;
            color: #122223;
        }

        /* Drop-cap */
        .jj-content p:first-of-type::first-letter {
            float: left;
            font-size: 3.4rem;
            line-height: 0.8;
            padding-right: 10px;
            font-family: var(--jj-font);
            font-weight: 700;
            color: var(--jj-green);
        }

    /* Lists */
    .jj-content ul, .jj-content ol {
        margin: 0 0 1.1rem 1.25rem;
        padding: 0;
    }

        .jj-content ul li {
            margin: .55rem 0;
            list-style: disc inside;
            color: #122223;
        }

    .jj-content ol {
        list-style: decimal inside;
    }

    /* Images */
    .jj-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 1rem 0;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(17,21,17,0.06);
        object-fit: cover;
    }

    /* Blockquote */
    .jj-content blockquote {
        border-left: 4px solid rgba(18,54,31,0.85);
        margin: 1rem 0;
        padding: .8rem 1rem;
        background: rgba(18,54,31,0.03);
        color: #122223;
        font-style: italic;
        border-radius: 6px;
    }

    /* Tables */
    .jj-content .table-wrap {
        overflow-x: auto;
        margin: 1rem 0;
    }

    .jj-content table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.95rem;
        border: 1px solid rgba(0,0,0,0.06);
    }

    .jj-content th, .jj-content td {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        vertical-align: top;
    }

    .jj-content th {
        background: rgba(0,0,0,0.03);
        font-weight: 700;
    }

    /* Buttons inside content */
    .jj-content .btn {
        display: inline-block;
        padding: 12px 20px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 700;
        background: var(--jj-gold);
        color: #fff;
        box-shadow: 0 10px 24px rgba(201,154,67,0.12);
        margin: 0.6rem 0;
        font-family: var(--jj-font);
    }

    /* Horizontal rule */
    .jj-content hr {
        border: 0;
        height: 1px;
        background: rgba(0,0,0,0.06);
        margin: 1.4rem 0;
        border-radius: 1px;
    }

/* -------------------
   Responsive tweaks
   ------------------- */




@media (max-width: 991px) {
    .activity-pricebox, .why-jj83box {
        padding: 20px;
    }

    .why-jj83head {
        margin-left: -20px;
        margin-right: -20px;
    }

    .activity-pricebox::before {
        left: 8px;
        right: 8px;
        top: -6px;
        height: 5px;
    }

    .jj-content {
        padding: 28px;
        font-size: 16px;
        border-radius: 12px;
    }

        .jj-content h1 {
            font-size: 2.1rem;
        }

        .jj-content p:first-of-type::first-letter {
            font-size: 2.6rem;
            padding-right: 8px;
        }
}

@media (max-width: 576px) {
    .jj-content {
        padding: 18px;
        font-size: 15px;
        border-radius: 10px;
        line-height: 1.7;
    }

        .jj-content h1 {
            font-size: 1.6rem;
        }

        .jj-content img {
            border-radius: 8px;
        }

        .jj-content p:first-of-type::first-letter {
            float: none;
            display: inline-block;
            font-size: 2rem;
            line-height: 1;
            padding-right: 6px;
        }
}

/* Activity Detail – force custom check bullets */
.activity-content ul {
    list-style: none !important; /* remove default bullets */
    margin: 1rem 0;
    padding: 0;
}

    .activity-content ul li {
        position: relative;
        padding-left: 28px;
        margin: 0.6rem 0;
        font-family: var(--jj-font);
        color: #122223;
        list-style-type: none;
    }

        /* green check marker */
        .activity-content ul li::before {
            content: "";
            width: 6px;
            height: 12px;
            border-bottom: 2px solid var(--jj-green);
            border-right: 2px solid var(--jj-green);
            position: absolute;
            left: 6px;
            top: 6px;
            transform: rotate(45deg);
        }

.activity-content ol li {
    position: relative;
    padding-left: 15px;
    margin: 0.6rem 0;
    color: #122223;
    list-style-type: decimal;
}

    .activity-content ol li::marker {
        color: var(--jj-green);
        font-weight: 500;
    }

.activity-hero {
    box-shadow: none;
}

.jj-content img {
    box-shadow: none;
    border-radius: 16px;
}

.why-jj83head h4 {
    color: white;
}

.btn-info-sub:hover {
    color: white;
}


/* ===== mobile banner fixes ===== */
@media (max-width: 767px) {
    /* smaller logo */
    .header__logo img {
        height: 60px;
        width: auto;
    }

    /* hero slide: reasonable height for mobile, no large top/bottom padding */
    .hero.-type-9.inner-page-banner .hero__slide {
        min-height: 60vh; /* mobile banner height — adjust to taste */
        padding: 0; /* remove theme padding that pushes text down */
        position: relative;
        overflow: hidden;
    }

    /* background image: cover-ish, but preserve aspect */
    .hero.-type-9 .hero__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* use contain if you prefer letterbox */
        display: block;
    }

    /* center content and keep it readable */
    .hero_slider {
        display: flex;
        align-items: center; /* vertically center content inside slide */
        justify-content: center;
        min-height: 60vh;
    }

    .hero_content {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 12%; /* move text slightly up from very bottom */
        padding: 0 16px; /* tiny horizontal padding for breathing space */
        text-align: center;
        width: calc(100% - 32px);
        z-index: 5;
        color: #fff;
    }

        /* make sure heading sizes are mobile friendly */
        .hero_content h1,
        .hero_content .entry-title {
            font-size: 28px; /* adjust if needed */
            line-height: 1.1;
            margin: 0 0 8px;
        }

    .hero.-type-9 .hero__title {
        font-size: 48px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 0 6px rgba(0,0,0,0.5);
    }

    .first-sec-activity-details {
        padding-top: 20px !important;
    }
}

.activity-pricebox.card-style {
    border-top: 6px solid var(--jj-gold); /* gold bar at the top */
    border-bottom: 6px solid var(--jj-gold); /* gold bar at the bottom */
    border-radius: 16px; /* keeps corners rounded */
    padding: 20px;
    border-top: 3px solid var(--jj-gold);
    border-bottom: none;
}

.why-jj83box.card-style {
    border-radius: 16px;
}
section.first-sec-activity-details {
    padding-bottom: 50px;
}


/* Sticky Sidebar for Activity Detail Pages (Tablet + Desktop) */

@media (min-width: 768px) {
    /* Make sure both columns start from the top */
    .first-sec-activity-details .row.y-gap-40.justify-between {
/*        align-items: flex-start !important;*/
    }

    /* Sticky Sidebar */
    .activities-right-sec {
        position: -webkit-sticky; /* Safari support */
        position: sticky;
        top: 100px; /* adjust this to match your fixed header height */
        align-self: flex-start;
        z-index: 10;
    }

        /* Optional: Add smooth spacing and scroll handling */
        .activities-right-sec .card-style {
            max-height: calc(100vh - 130px); /* ensures sidebar never exceeds viewport */
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

    /* Small visual polish: avoid clipping box-shadows */
    .activities-right-sec {
        overflow: visible;
    }
    main{
        overflow:visible;
    }
}
.button {
    border-radius: 0px;
}
/* ---------- Sticky sidebar attempt (CSS) ---------- */
