/*

Theme Name: Woodland Escapes

Theme URI: https://woodlandescapes.co.uk/

Description: Woodland Escapes child theme for Turtle Foundation.

Author: Turtle Studio

Template: turtle

Version: 1.1.0

Requires at least: 6.6

Requires PHP: 8.0

Text Domain: woodland-escapes

*/



/* Woodland Escapes header — stage 1. Header remains in normal flow until hero is built. */

.woodland-site-header { position: relative; z-index: 20; margin-block: 0 !important; }

.woodland-site-header .woodland-header-topbar {

  background: #243b1f; color: #fff; min-height: 30px;

  padding: 5px clamp(18px, 3.5vw, 48px);

}

.woodland-site-header .woodland-topbar-inner {

  max-width: 1400px; margin-inline: auto; gap: 12px 24px;

  justify-content: space-between; align-items: center;

}

.woodland-site-header .woodland-topbar-inner p {

  margin: 0; font-family: Montserrat, sans-serif; font-size: 10px;

  font-weight: 500; line-height: 1.4; letter-spacing: .015em; color: #fff;

}

.woodland-site-header .woodland-topbar-phone a { color: inherit; text-decoration: none; }

.woodland-site-header .woodland-topbar-phone a:hover { text-decoration: underline; }

.woodland-site-header .woodland-header-main {

  background: rgba(255,255,255,.97);

  padding: 12px clamp(18px, 3.5vw, 48px);

}

.woodland-site-header .woodland-header-inner {

  max-width: 1400px; margin-inline: auto; min-height: 88px;

  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);

}

.woodland-site-header .woodland-header-logo { flex-shrink: 0; margin: 0; }

.woodland-site-header .woodland-header-logo img { height: auto; max-width: 150px; }

.woodland-site-header .woodland-header-navigation { margin-left: auto; }

.woodland-site-header .woodland-header-navigation .wp-block-navigation-item__content {

  font-family: Montserrat, sans-serif;

  font-size: 11px; font-weight: 600; text-transform: uppercase;

  white-space: nowrap; text-decoration: none;

}


.woodland-site-header .woodland-header-actions { margin: 0; flex-shrink: 0; }

.woodland-site-header .woodland-header-book .wp-block-button__link {

  background: #243b1f; color: #fff; border-radius: 3px;

  padding: 15px 23px; font: 600 11px/1.3 Montserrat, sans-serif;

  letter-spacing: .035em; text-decoration: none; white-space: nowrap;

}

.woodland-site-header .woodland-header-book .wp-block-button__link:hover { background: #3c5933; color: #fff; }

@media (max-width: 1100px) {

  .woodland-site-header .woodland-topbar-perk { display: none; }

  .woodland-site-header .woodland-header-inner { min-height: 72px; }

  .woodland-site-header .woodland-header-logo img { max-width: 125px; }

  .woodland-site-header .woodland-header-navigation .wp-block-navigation-item__content { font-size: 10px; }

  .woodland-site-header .woodland-header-book .wp-block-button__link { padding: 12px 14px; }

}

@media (max-width: 781px) {

  .woodland-site-header .woodland-topbar-inner { flex-wrap: nowrap; }

  .woodland-site-header .woodland-topbar-inner p { font-size: 9px; }

  .woodland-site-header .woodland-topbar-perk { display: none; }

  .woodland-site-header .woodland-header-main { padding-block: 8px; }

  .woodland-site-header .woodland-header-inner { gap: 12px; min-height: 62px; }

  .woodland-site-header .woodland-header-logo img { max-width: 105px; }

  .woodland-site-header .woodland-header-navigation { margin-left: auto; }

  .woodland-site-header .woodland-header-book .wp-block-button__link { font-size: 10px; padding: 10px 12px; }

}

@media (max-width: 480px) {

  .woodland-site-header .woodland-topbar-guarantee { display: none; }

  .woodland-site-header .woodland-topbar-inner { justify-content: center; }

  .woodland-site-header .woodland-header-logo img { max-width: 90px; }

  .woodland-site-header .woodland-header-inner { gap: 8px; }

}



/* WOODLAND ESCAPES — HEADER OVER HERO */



/* Keep the information bar in its normal position */

.woodland-site-header {

    position: relative;

    z-index: 100;

}



/* Pull only the main header over the hero */

body.home .woodland-header-main,

body.page .woodland-header-main {

    background: transparent;

    position: relative;

    z-index: 101;

    margin-bottom: -136px;

}



/* Ensure the header content remains visible */

.woodland-header-inner {

    position: relative;

    z-index: 102;

}



/* Keep the hero behind the header */

.woodland-home-hero {

    position: relative;

    z-index: 1;

}



/* Mobile header adjustment */

@media (max-width: 781px) {

    body.home .woodland-header-main,

    body.page .woodland-header-main {

        margin-bottom: -90px;

    }

}



/* WOODLAND ESCAPES — ACCOMMODATION CARDS */



.woodland-stay-column {

    display: flex;

}



.woodland-stay-card {

    display: flex;

    flex-direction: column;

    width: 100%;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.045);

}



.woodland-stay-image-wrap {

    position: relative;

}



.woodland-stay-image {

    margin: 0;

}



.woodland-stay-image img {

    display: block;

    width: 100%;

    aspect-ratio: 1.48 / 1;

    object-fit: cover;

}



.woodland-stay-badge {

    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 2;

    margin: 0;

    padding: 8px 12px;

    border-radius: 4px;

    background: #2e5725;

    color: #fff;

    font-size: 11px;

    font-weight: 600;

    line-height: 1;

}



.woodland-stay-card-content {

    display: flex;

    flex: 1;

    flex-direction: column;

}



.woodland-stay-description {

    flex: 1;

}



.woodland-stay-card-content .wp-block-buttons {

    margin-top: auto;

}



.woodland-stay-card .wp-block-button__link {

    transition: background-color 0.2s ease;

}



.woodland-stay-card .wp-block-button__link:hover {

    background-color: #405d36 !important;

}



@media (max-width: 781px) {

    .woodland-stays-section {

        padding-left: 18px !important;

        padding-right: 18px !important;

    }



    .woodland-stays-grid {

        gap: 20px;

    }



    .woodland-stay-image img {

        aspect-ratio: 1.6 / 1;

    }

}



/* Woodland Escapes — Why Book Direct dividers */

@media (min-width: 782px) {

  .woodland-book-direct-grid > .woodland-book-direct-item:not(:last-child) {

    border-right: 1px solid #deded8;

  }

}





/* WOODLAND ESCAPES — GUEST REVIEWS */



.woodland-reviews-cards > .wp-block-column {

    display: flex;

}



.woodland-review-card {

    display: flex;

    flex-direction: column;

    width: 100%;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);

}



.woodland-review-quote {

    flex: 1;

}



.woodland-review-author {

    margin-top: auto;

}



/* Mobile adjustments */

@media (max-width: 781px) {

    .woodland-reviews-intro {

        padding: 28px 24px !important;

    }



    .woodland-reviews-cards-column {

        padding-left: 18px;

        padding-right: 18px;

    }

}



/* WOODLAND ESCAPES — REVIEW CARD HEIGHT FIX */



/* Stretch the review columns to the same height */

@media (min-width: 782px) {

    .woodland-reviews-layout {

        align-items: stretch !important;

    }



    .woodland-reviews-cards-column {

        display: flex;

        flex-direction: column;

    }



    .woodland-reviews-cards {

        display: flex;

        align-items: stretch !important;

        flex: 1;

    }



    .woodland-reviews-cards > .wp-block-column {

        display: flex;

        align-self: stretch;

    }



    .woodland-review-card {

        display: flex;

        flex-direction: column;

        flex: 1;

        height: 100%;

        box-sizing: border-box;

    }



    .woodland-review-quote {

        flex-grow: 1;

    }



    .woodland-review-author {

        margin-top: auto !important;

    }

}





/* WOODLAND ESCAPES — MAKE IT EXTRA SPECIAL */



.woodland-extras-grid > .wp-block-column {

    display: flex;

}



.woodland-extra-card {

    display: flex;

    width: 100%;

    overflow: hidden;

}



.woodland-extra-card-inner {

    width: 100%;

    margin: 0 !important;

}



.woodland-extra-image-column {

    display: flex;

}



.woodland-extra-image {

    width: 100%;

    height: 100%;

    margin: 0 !important;

}



.woodland-extra-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.woodland-extra-content-column {

    display: flex;

}



.woodland-extra-content {

    display: flex;

    flex-direction: column;

    width: 100%;

}



.woodland-extra-link {

    margin-top: auto !important;

}



@media (max-width: 781px) {

    .woodland-extras-section {

        padding-left: 18px !important;

        padding-right: 18px !important;

    }



    .woodland-extra-image img {

        min-height: 180px;

    }

}





/* WOODLAND ESCAPES — EXPLORE / RETREAT / DOG FRIENDLY */



.woodland-discover-grid {

    align-items: stretch !important;

}



.woodland-discover-grid > .wp-block-column {

    display: flex;

    flex-direction: column;

}



.woodland-discover-cover {

    flex: 1;

    width: 100%;

}



.woodland-discover-dog-inner {

    flex: 1;

}



.woodland-discover-dog-image {

    margin: 0;

}



.woodland-discover-dog-image img {

    display: block;

    width: 100%;

    aspect-ratio: 1 / 1.15;

    object-fit: cover;

}



@media (max-width: 781px) {

    .woodland-discover-cover {

        min-height: 300px !important;

    }



    .woodland-discover-retreat,

    .woodland-discover-dogs {

        padding: 28px 22px !important;

    }



    .woodland-discover-dog-image img {

        aspect-ratio: 1 / 1;

    }

}





/* WOODLAND ESCAPES — FOOTER */



.woodland-site-footer {

    background: #243b1f;

}



.woodland-site-footer .wp-block-heading,

.woodland-site-footer p {

    color: #ffffff;

}



.woodland-site-footer a {

    color: #ffffff;

    text-decoration: none;

}



.woodland-site-footer a:hover {

    color: #e4c37b;

}



.woodland-footer-book-button .wp-block-button__link {

    background: #e4c37b;

    color: #243b1f !important;

}



.woodland-footer-book-button .wp-block-button__link:hover {

    background: #f0d392;

    color: #243b1f !important;

}



.woodland-footer-benefits {

    align-items: center;

}



.woodland-footer-benefits p {

    margin: 0;

    white-space: nowrap;

}



.woodland-footer-menu-row {

    gap: 20px;

}



.woodland-footer-menu-row .wp-block-navigation-item__content {

    color: #ffffff !important;

    font-size: 11px;

    text-transform: uppercase;

    font-weight: 500;

}



.woodland-footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.12);

}



.woodland-footer-bottom p {

    margin: 0;

}



/* Tablet and mobile */

@media (max-width: 1100px) {

    .woodland-footer-benefits {

        flex-wrap: wrap !important;

    }



    .woodland-footer-benefits p {

        white-space: normal;

    }

}



@media (max-width: 781px) {

    .woodland-footer-top {

        gap: 24px;

    }



    .woodland-footer-logo-column {

        text-align: center;

    }



    .woodland-footer-logo {

        margin-inline: auto;

    }



    .woodland-footer-cta-column {

        text-align: center;

    }



    .woodland-footer-cta-column .wp-block-buttons {

        justify-content: center;

    }



    .woodland-footer-benefits {

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0,1fr));

        gap: 18px;

    }



    .woodland-footer-benefits > .wp-block-column {

        width: auto !important;

        flex-basis: auto !important;

    }



    .woodland-footer-menu-row {

        justify-content: center !important;

    }



    .woodland-footer-bottom {

        justify-content: center !important;

        text-align: center;

        gap: 12px;

    }

}
/* Remove default WordPress navigation submenu border */
.woodland-site-header .wp-block-navigation__submenu-container {
    border: none!important;
}