/*
Theme Name: Porto Child
Theme URI: https://www.aashq.nl
Description: Child theme for Porto
Author: AASHQ
Template: porto
Version: 1.0
*/

.page-template-template-homepage-doelen .header-wrapper,
.dagtocht-template-default .header-wrapper {
    margin-bottom: -100px;
    z-index: 3;
    margin-top: 35px;
}

.page-template-template-homepage-doelen .header-wrapper #header,
.dagtocht-template-default .header-wrapper #header {
    background-color: transparent;
    top: 0px;
    border-top: 0px;
}

.page-template-template-homepage-doelen .header-wrapper #header .header-main,
.dagtocht-template-default .header-wrapper #header .header-main {
    top: 0px;
    background-color: transparent;
}

.page-template-template-homepage-doelen
    .header-wrapper
    #header
    .header-main.sticky,
.dagtocht-template-default .header-wrapper #header .header-main.sticky {
    background-color: white;
}

.page-template-template-homepage-doelen
    .header-wrapper
    #header
    .header-main
    .header-row,
.dagtocht-template-default .header-wrapper #header .header-main .header-row {
    background-color: white;
    border-radius: 20px;
}

.page-template-template-homepage-doelen .porto-ibanner,
.dagtocht-template-default .porto-ibanner {
    margin: 0px !important;
}

#koninklijke-rij.vc_row::before {
    border-top: 10px solid #850000;
    border-bottom: 10px solid #071345;
    padding-bottom: 0px !important;
    width: 100%;
}

#koninklijke-rij .wp-block-image img {
    overflow: visible;
    margin-top: -196px;
    z-index: 2;
    position: relative;
}

#koninklijke-rij {
    padding-bottom: 20px !important;
}

#header .header-top + .header-main {
    border-top: 0px !important;
}

#header .header-top {
    background-color: transparent;
    color: white;
    border: 0px;
}

#header .header-top .header-row {
    color: white;
    padding-bottom: 10px;
}

.page-template-default #header .header-top .header-row,
.post-type-archive-portfolio #header .header-top .header-row {
    color: rgb(24, 24, 24);
}

#header .logo a {
    padding: 8px;
}

.doelen-template .vc_custom_1544431688356 {
    padding-top: 0px !important;
}

.page-template-template-homepage-doelen.wp-singular .page-top,
.dagtocht-template-default .page-top {
    background-color: transparent !important;
    margin-top: 150px;
}

.page-template-template-homepage-doelen.wp-singular .page-sub-title,
.dagtocht-template-default .page-sub-title {
    z-index: 2;
    font-size: 23px;
    color: white;
    position: relative;
    opacity: 1;
}

.page-template-template-homepage-doelen.wp-singular .page-title,
.dagtocht-template-default .page-title {
    font-size: 50px !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.page-template-template-homepage-doelen #main,
.dagtocht-template-default #main {
    margin-top: -210px;
}

.page-template-template-homepage-doelen.home #main,
.dagtocht-template-default.home #main {
    margin-top: -70px;
}

.page-template-template-homepage-doelen.wp-singular .porto-ibanner-img,
.dagtocht-template-default.wp-singular .porto-ibanner-img {
    max-height: 700px;
}

.page-template-template-homepage-doelen.home .porto-ibanner-img,
.dagtocht-template-default.home .porto-ibanner-img {
    max-height: none;
}

.page-template-template-homepage-doelen.wp-singular .porto-ibanner::after,
.dagtocht-template-default.wp-singular .porto-ibanner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    pointer-events: none; /* so overlay doesn’t block clicks */
}

.page-template-template-homepage-doelen.wp-singular .breadcrumbs-wrap,
.dagtocht-template-default.wp-singular .breadcrumbs-wrap {
    position: relative;
    z-index: 2;
}

.page-template-template-homepage-doelen.wp-singular
    .breadcrumbs-wrap
    .breadcrumb,
.dagtocht-template-default.wp-singular .breadcrumbs-wrap .breadcrumb {
    color: white;
}

.page-template-template-homepage-doelen.wp-singular
    .breadcrumbs-wrap
    .breadcrumb
    a,
.dagtocht-template-default.wp-singular .breadcrumbs-wrap .breadcrumb a {
    color: white;
}

.frm_submit .frm_button_submit {
    width: 100% !important;
    background-color: #071345 !important;
    border-color: #071345 !important;
    border-radius: 10px !important;
}

.frm_submit .frm_button_submit:hover {
    background-color: #204890 !important;
    border-color: #204890 !important;
    color: white !important;
}

#header .main-menu > li.menu-item > a,
#header a {
    text-decoration: none;
}

.doelen-dagtocht-card__button:hover,
.offerte-knop:hover {
    color: white;
    background-color: #204890 !important;
    border-color: #204890 !important;
}

.frm_required {
    display: none;
}

.frm-g-recaptcha {
    max-width: 100%;
    overflow: hidden;
}

.single-dagtocht {
    padding-bottom: 80px;
}

.single-dagtocht__container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HERO */
.single-dagtocht__hero {
    position: relative;
    min-height: 520px;
    margin-bottom: 56px;
}

.single-dagtocht__hero-bg img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.single-dagtocht__hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding-bottom: 54px;
    background: linear-gradient(
        180deg,
        rgba(11, 27, 58, 0.15) 0%,
        rgba(11, 27, 58, 0.7) 100%
    );
}

.single-dagtocht__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 500;
}

.single-dagtocht__date {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.4;
}

/* INFO CARDS */
.single-dagtocht__info {
    margin-bottom: 56px;
}

.single-dagtocht__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.single-dagtocht__card {
    background: #f4f4f4;
    border-radius: 16px;
    padding: 24px;
}

.single-dagtocht__card h3 {
    margin: 0 0 14px;
    color: #0b1b3a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
}

.single-dagtocht__card p,
.single-dagtocht__card li {
    color: rgba(11, 27, 58, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.single-dagtocht__card ul {
    margin: 0;
    padding-left: 18px;
}

/* CONTENT SECTION */
.single-dagtocht__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    align-items: start;
}

.single-dagtocht__text {
    color: rgba(11, 27, 58, 0.78);
    font-size: 16px;
    line-height: 1.75;
}

.single-dagtocht__text h2,
.single-dagtocht__text h3,
.single-dagtocht__text h4 {
    color: #0b1b3a;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 14px;
}

.single-dagtocht__text p {
    margin: 0 0 18px;
}

.single-dagtocht__text ul,
.single-dagtocht__text ol {
    margin: 0 0 18px;
    padding-left: 20px;
}

.single-dagtocht__image img {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.page-top .page-title:not(.b-none):after {
    display: none;
}

.offerte-form {
    max-width: 100% !important;
}

#footer a {
    text-decoration: none;
}

.portfolio-template-default .page-top {
    background-color: #171717;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .single-dagtocht__hero {
        min-height: 420px;
    }

    .single-dagtocht__hero-bg img {
        height: 420px;
    }

    .single-dagtocht__title {
        font-size: 38px;
    }

    .single-dagtocht__cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .single-dagtocht__content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .single-dagtocht__hero {
        min-height: 340px;
        margin-bottom: 40px;
    }

    .single-dagtocht__hero-bg img {
        height: 340px;
    }

    .single-dagtocht__hero-overlay {
        padding-bottom: 32px;
    }

    .single-dagtocht__title {
        font-size: 30px;
    }

    .single-dagtocht__date {
        font-size: 16px;
    }
}

@media screen and (max-width: 1200px) {
    .hide-twelve {
        display: none;
    }

    #koninklijke-rij .wp-block-image img {
        height: 200px;
        width: 100%;
        margin-top: -108px;
    }
}

@media screen and (max-width: 991px) {
    .hide-nine {
        display: none;
    }

    #header .header-top {
        display: none;
    }

    .page-template-template-homepage-doelen .header-wrapper,
    .dagtocht-template-default .header-wrapper {
        margin-top: 0px;
        margin-bottom: 80px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        background-color: white;
    }

    .page-template-template-homepage-doelen.wp-singular .page-top,
    .dagtocht-template-default .page-top {
        margin-top: 50px;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 767px) {
    .page-template-template-homepage-doelen.wp-singular .page-top,
    .dagtocht-template-default .page-top {
        margin-top: -50px;
        margin-bottom: 150px;
    }

    .page-template-template-homepage-doelen.wp-singular .page-sub-title,
    .dagtocht-template-default .page-sub-title {
        font-size: 18px;
    }

    .page-template-template-homepage-doelen.wp-singular .page-title,
    .dagtocht-template-default .page-title {
        font-size: 30px !important;
    }

    .page-template-template-homepage-doelen.wp-singular
        .breadcrumbs-wrap
        .breadcrumb,
    .dagtocht-template-default .breadcrumbs-wrap .breadcrumb {
        font-size: 12px;
    }

    .mobile-alter-order .row .vc_column_container:first-child {
        order: 2;
    }
}
