/*
Theme Name: RedWeek Landing Pages
Theme URI: 
Author: Digital Ignite
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redweek-landing-pages
Tags: 
*/

header {
    box-shadow: 0 .07rem .21rem 0 rgba(0, 0, 0, 0.2);
}

.rw-nav-cta {
    color: var(--wp--preset--color--primary);
}

.rw-shadow-lg {
    box-shadow: 0 1rem 4rem 0 rgba(0, 0, 0, 0.2);
}

details summary {
    position: relative;
}

details summary::-webkit-details-marker,
details summary::marker {
 display: none; 
 content: "";
}

details summary::after {
    content: '';
    display: inline-block;
    position: relative;
    transform: translateX(0.5em);
    width: 0.5em;
    height: 0.375em;
    background-color: var(--wp--preset--color--primary);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    top: -0.125em;
    transition: transform .25s;
}

details[open] summary::after {
    transform: translateX(0.5em) rotate(180deg);
}

.rw-timeshare-details {
    transition: all .5s;
}

.rw-timeshare-details p {
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
}

.rw-timeshare-details summary {
    font-size: 1.25rem;
    font-family: var(--wp--preset--font-family--raleway);
    font-weight: 700;
    text-align: center;
}

.rw-section-heading {
    display: block;
    position: relative;
}

.rw-section-heading::after {
    content: '';
    display: block;
    position: relative;
    width: 100px;
    height: 1px;
    background-color: var(--wp--preset--color--secondary);
    margin-top: 1em;
}

.rw-section-heading.has-text-align-center::after {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rw-feature-reveal__cover {
    text-align: center;
}

.rw-feature-reveal__title {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: 1.325rem;
}

@media screen and (min-width: 782px) {
    .rw-feature-reveal {
        position: relative;
        border: 1px solid var(--wp--preset--color--secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .rw-feature-reveal__cover {
        padding: 1rem;
        position: absolute;
        transform: translateY(0px);
        transition: all .25s;
    }
    .rw-feature-reveal__content {
        font-size: 0.875rem;
        opacity: 0;
        margin-block-start: 0px;
        padding: 1rem;
        transform: translateY(1rem);
        transition: all .25s;
    }
    .rw-feature-reveal__content > p:first-child{
        margin-block-start: 0px;
    }
    .rw-feature-reveal:hover {
        background-color: var(--wp--preset--color--primary);
        border: 1px solid var(--wp--preset--color--primary);
        color: #FFF;
    }
    .rw-feature-reveal:hover .rw-feature-reveal__cover {
        opacity: 0;
        transform: translateY(-1rem);
    }
    .rw-feature-reveal:hover .rw-feature-reveal__content {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media screen and (max-width: 781px) {
    .rw-has-text-align-center-mobile {
        text-align: center;
    }
    
    .rw-has-text-align-left-mobile {
        text-align: left;
    }
    
    .rw-has-text-align-right-mobile {
        text-align: right;
    }

    .rw-section-heading.rw-has-text-align-center-mobile::after {
        margin-left: auto;
        margin-right: auto;
    }

    .rw-section-heading.rw-has-text-align-left-mobile::after {
        margin-left: 0px;
    }

    .rw-section-heading.rw-has-text-align-right-mobile::after {
        margin-right: 0px;
    }

    .rw-header-logo {
        height: auto;
        width: 120px;
    }

    .rw-icon-step-arrow img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        transform: rotate(90deg);
    }
}

/* Featured Rentals */
.holiday-listing a {
    color: var(--wp--preset--color--black);
    font-family: var(--wp--preset--font-family--raleway);
    font-size: 1.325rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-left: 1.5em;
}

.holiday-listing a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%230091b3"><path d="M128 0c13.3 0 24 10.7 24 24l0 40 144 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 40 0c35.3 0 64 28.7 64 64l0 16 0 48 0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192l0-48 0-16C0 92.7 28.7 64 64 64l40 0 0-40c0-13.3 10.7-24 24-24zM400 192L48 192l0 256c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-256zM329 297L217 409c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
    width: 1em;
    height: 1em;
    position: absolute;
    top: 0;
    left: 0;
    /* background: url('/wp-content/themes/redweek-landing-pages/assets/svg/calendar-check-regular.svg') no-repeat center center / contain; */
}

.holiday-listing a:hover {
    color: #0091b3;
}

@media (min-width: 900px) {
    #holidayListings {
        display: grid;
        grid: auto / 1fr 1fr 1fr;
        gap: 1rem;
    }
}

