/* Main template */

@import "../fonts/peckham-press/style.css";

body{
    --primary-color: #1c365e;
    --white-color: #fff;

    --font-heading: 'Peckham Press Trial';
    --font-title: "DM Sans", sans-serif;

    font-size: 22px;
    color: var(--primary-color);
}
#main-content{
    overflow-x: hidden;
}
h1{
    font-size: 2.72em;
    margin-bottom: 0;
}
h2{
    font-size: 2em;
    margin-bottom: 0.5em;
}
h3{
    font-size: 1.72em;
    margin-bottom: 0.5em;
}
h4{
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

.no-padding{
    padding: 0 !important;
}

/* Header */
.sticky--active .header{
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}
.header__main .u-flex{
    flex-direction: row-reverse;
}
.navigation{
    height: auto;
}
.navigation__list {
    gap: 10px;
}
.navigation__list a{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    padding: 10px;
    box-sizing: border-box;
}
.navigation__list li:not(:first-child) a:hover,
.navigation__list li:not(:first-child).current-menu-item a:hover{
    background-color: var(--primary-color);
    color: var(--white-color);
}
.navigation__list li:first-child a{
    text-indent: -10000px;
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url('https://www.whitewaterwest.com/wp-content/uploads/2025/08/home-icon.png') no-repeat center center;
    background-size: contain;
    overflow: hidden;
}


/* Footer */
.footer{
    padding: 40px 0;
    background: white;
    height: auto;
    box-shadow: 1px 0 10px 1px rgba(0, 0, 0, 0.1);
}
.footer:after{
    display: none;
}
.footer .large-heading{
    font-size: 24px;
    font-family: var(--font-heading);
}
@media(max-width: 992px){
    .footer .u-flex{
        justify-content: center;
        flex-direction: column-reverse;
        gap: 20px;
    }
}



/* Posts grid */
.creative-posts__grid{
    --item-sizer: calc((100% - 40px) / 3);
}
.grid-sizer{
    width: var(--item-sizer);
}
.creative-posts__grid:after{
    content: '';
    display: block;
    clear: both;
}
.creative-posts__item{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    margin-right: 20px;
    float: left;
    width: var(--item-sizer);
}
.creative-posts__item:nth-child(3n){
    margin-right: 0;
}
.creative-posts__item:nth-child(3n+1){
    clear: left;
}
.creative-posts__image{
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.creative-posts__item:hover .creative-posts__image img{
    transform: scale(1.07);
}

.creative-posts__image a{
    display: block;
}
.creative-posts__item--video .creative-posts__image a:after{
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    background: url(https://www.whitewaterwest.com/wp-content/uploads/2024/08/play-video.png) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.creative-posts__image img{
    width: 100% !important;
    object-fit: cover;
    transition: all ease .35s;
    display: block;
}
.creative-posts__content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.creative-posts__item--video .creative-posts__content{

}
.creative-posts__title{
    font-family: var(--font-title);
    font-weight: 900;
    margin: 0;
}
.creative-posts__title a{
    text-decoration: none;
}
.creative-posts__meta{
    font-size: .8em;
}
.creative-posts__view{
    text-align: right;
}
.creative-posts__view svg{
    width: 20px;
    margin-right: 5px;
    vertical-align: middle;
}
.creative-posts__author{

}
.creative-posts__excerpt{
    font-size: 1.1em;
    font-weight: 500;
}
.creative-posts__pagination{
    padding: 40px 0;
    text-align: center;
}
.creative-posts__pagination .page-numbers{
    font-size: 22px;
    line-height: 1;
    padding: 9px;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 100%;
}
.creative-posts__pagination .page-numbers.current,
.creative-posts__pagination .page-numbers:hover{
    background-color: #eee;
}
@media (max-width: 991px) {
    .creative-posts__grid{
        --item-sizer: calc((100% - 20px) / 2);
    }
}
@media (max-width: 767px) {
    .creative-posts__grid{
        --item-sizer: 100%;
    }
}

/* End Posts grid */


/* Form Style */
body .gform_wrapper{
    max-width: 680px;
}
body .gform_heading{
    display: none;
}
body .gfield.hidden_label .field-label,
body .gfield.hidden_label .gfield_label{
    display: none;
}
body .rawselect{
    font-size: 1em;
    color: black;
}
body .ginput_container .medium.rawselect{
    padding: 0;
}
body .rawselect--is-touch,
body .rawselect__trigger{
    color: inherit;
    font-size: 1em;
    height: 50px;
    white-space: normal;
    border-radius: 24px;
    background-color: #eee;
    border-color: #eee;
}
body .rawselect__options{
    border-color: inherit;
    max-height: 300px;
}
body .rawselect__option{
    white-space: normal;
}
body .rawselect__option--is-hovered,
body .rawselect__option--is-disabled,
body .rawselect__option[data-value=""],
body .rawselect__option--is-selected{
    background-color: black;
}
body .rawselect--is-touch:before,
body .rawselect__trigger:before{
    border-color: black !important;
}
.ginput_container input[type=text],
.ginput_container input[type=email],
.ginput_container input[type=tel],
.ginput_container input[type=number],
.ginput_container textarea{
    font-size: 1em;
    line-height: 1.4;
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    border: 0 none;
    background-color: #eee;
    border-radius: 24px;
    font-family: inherit;
}
.ginput_container .checkbox__label,
.ginput_container .checkbox label,
.ginput_container .gfield_checkbox__label,
.ginput_container .gfield_checkbox label{
    font-size: 1em;
    line-height: 1.4;
}
.ginput_container .checkbox__label:before,
.ginput_container .checkbox label:before,
.ginput_container .gfield_checkbox__label:before,
.ginput_container .gfield_checkbox label:before{
    margin-top: 4px;
}
.gform_fields .field-label,
.gform_fields .gfield_label{
    font-size: 1em;
    margin-bottom: 0.5em;
}
h2.gform_submission_error{
    font-size: 1em;
    color: red;
}
.gform_footer .gform_button{
    font-size: 1em;
    line-height: 1;
    text-transform: none;
    padding: 12px 30px;
    border-radius: 24px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
}
.gform_footer .gform_button:hover{
    background-color: white;
    color: var(--primary-color);
}
/* End Form Style */


/* Single Post */
.hentry.creative-post{
    --content-width: 960px;
}
.creative-post__hero{
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 120px 0 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.creative-post__title{
    font-family: var(--font-title);
    font-weight: 900;
}
.creative-post__category{
    font-family: var(--font-title);
    margin: 0;
    text-transform: uppercase;
}
.creative-post__featured-image {
    margin-bottom: 60px;
}
.creative-post__featured-image img{
    width: 100%;
    height: auto !important;
    object-fit: cover;
    object-position: center;
    max-height: 500px;
}
.creative-post__text{
    max-width: var(--content-width);
    margin: 0 auto 120px;
}
.creative-post__text p,
.creative-post__text li{
    margin: 1em 0;
}

@media (max-width: 991px) {
    .creative-post__hero{
        padding: 60px 0 30px;
    }
    .creative-post__text{
        margin: 0 auto 60px;
    }
}
@media (max-width: 767px) {
    .creative-post__title{
        font-size: 2em;
    }
}

/* Relatec Posts Carousel */
.creative-post-related__heading{
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 30px;
}
.creative-posts__carousel{
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
}
.creative-posts__carousel .slick-slide{
    margin: 0 10px;
}
.creative-posts__carousel-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}
.creative-posts__carousel-nav .slick-arrow{
    border-top: 2px solid;
    border-left: 2px solid;
    color: var(--primary-color);
    position: static;
}
.creative-posts__carousel-nav .slick-arrow:before{
    display: none;
}
.creative-posts__carousel-nav .slick-prev{
    transform: rotate(-45deg);
}
.creative-posts__carousel-nav .slick-next{
    transform: rotate(135deg);
}
.creative-posts__carousel-nav .slick-dots{
    position: static;
}
.creative-posts__carousel-nav .slick-dots li button{
    width: 14px;
    height: 14px;
    border-radius: 100%;
    opacity: 0.5;
    background-color: var(--primary-color);
}
.creative-posts__carousel-nav .slick-dots li button:before{
    display: none;
}
.creative-posts__carousel-nav .slick-dots li.slick-active button{
    opacity: 1;
}