/*
Theme Name: Endeavour
Theme URI: 
Author: Vesanique
Author URI: https://vesanique.com/
Description: 
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 5.7
Version: 1.0.0
Text Domain: endeavour
*/


/* Main Menu */
.main-menu {
    list-style: none;
    display: flex;
    justify-content: space-around;
    background: #333;
    padding: 10px 0;
}

.main-menu li {
    position: relative;
    padding: 10px 20px;
}

.main-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.main-menu li:hover > a {
    color: #ffcc00;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* Full width */
    background: white;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

.mega-menu-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* Mega Menu Columns */
.mega-menu .menu-column {
    flex: 1;
    padding: 10px;
    min-width: 250px;
}

.mega-menu .menu-column img {
    max-width: 100%;
    height: auto;
}

.mega-menu .menu-column h3 {
    margin-bottom: 10px;
}

/* Show Mega Menu on Hover */
.menu-item-has-children:hover .mega-menu {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .mega-menu {
        position: static;
        display: block;
        flex-direction: column;
    }
}


.region-map-img{
    margin-bottom: 32px;
}
.block--reserve-regions-list--buttons{
    justify-content: flex-end;
}
.region-heading{
    color: #003A3E;
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}
.region-desc{
    color: #666 !important;
    font-family: var(--font-heading);
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}
.block--reserve-regions-list--gallery {
    grid-column: 5 / -1;
    width: 60vw;
    @media (min-width: 320px) and (max-width: 1240px) {
        grid-column: 1 / 13;
        width: 100%;
    }
}
.block--reserve-regions-list{
    overflow: hidden;
    & .swiper-wrapper {        
        align-items: flex-start;
    }
}
.block--reserve-card--title{
    text-align: left;
    color: #003A3E;
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 130% */
    margin-bottom: 8px;
}
.card-desc-content{
    text-align: left !important;
    color: #787878;    
    font-family: var(--font-heading);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    display: none;
}
.block--reserve-card--desc > div .fudged-link{
    text-align: left;
    color: #003A3E;
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    text-decoration: none;
    border-bottom:  2px solid #83D305;
    width: fit-content;
    display: none;
    align-items: center;
    gap: 8px;
}

.card-item-details{
    display: flex;
    gap: 8px;
    align-items: baseline;
    & highlighted{
        color: #02A28A;
        font-family: var(--font-heading);
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px; /* 153.846% */
    }
    & p{
        margin-bottom: 8px;
        color: #003A3E;
        font-family: var(--font-heading);
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }
}

.block--reserve-card:hover{
    cursor: pointer;
    & .block--reserve-card--thumb{
        border-left: 2px solid #83D305;
        border-bottom: 2px solid #83D305;
    }
}
.top-menu-cta-btn.wp-block-button__link.wp-element-button.menu-item{
    width: fit-content;
}

.block--reserve-regions-header{
    padding-bottom: 29px;
    border-bottom: 1px solid #01B5B9;
    & h2{
        color: #003A3E;
        font-family: var(--font-heading);
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 44px; /* 122.222% */
    }
}





.listings{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
	max-height: calc(65dvh - var(--top-bar-height) - var(--header-height) - 40px) !important;
		mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		black 0%,
		black 95%,
		transparent 100%
	);
    & .item{
        display: flex;
        flex-direction: column;
        border: 2px solid var(--Base-Wireframe-Green, #02A28A);
        border-bottom: 2px solid var(--Base-Wireframe-Green, #02A28A) !important;
        background: #FFF;        
        box-shadow: 0px 5px 20px 0px rgba(2, 162, 138, 0.10);
        padding-bottom: 19px;
        gap:16px;
        &:hover{
            border: 2px solid #83D305;            
            box-shadow: 0px 5px 20px 0px rgba(131, 211, 5, 0.20);
            cursor: pointer;
            border-bottom: 2px solid #83D305 !important;
        }
        & .title{
            font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem) !important;
        }
        & figure{
            border-right: none !important;
            border-top: none !important;
            border-left: none !important;
        }
        & .item-content{
            text-align: center;
            & a{
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                color: #003A3E;
                font-family: var(--font-heading);
                font-size: 16px;
                font-style: normal;
                font-weight: 600;
                line-height: 150%; /* 24px */
                text-decoration: none;
                border-bottom: 2px solid #83D305;
                width: fit-content;
                margin: 0 auto;
            }
        }
    }
}
.block--reserve-regions-list .card-item-details{
/* 	 display: flex;
    gap: 5px;
    align-items: center;
	& p{
	font-size: 13px;
    margin-bottom: 0;
	} */
}