/*
Theme Name: Grove Skeleton
Theme URI: https://thegrovemedia.co.uk/
Author: Site Admin
Author URI: https://thegrovemedia.co.uk/
Description: Minimal starter theme scaffold for Grove Media customizations.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grove-skeleton
*/





:root {
    --primary-color: #2c3e50;
    --secondary-color: #18bc9c;
    --body-font: 'Quicksand', 'Helvetica Neue', Arial, sans-serif;
}


h1, h2, h3, h4, h5, h6, caption, th, blockquote, .heading-color, .vc_progress_bar .vc_single_bar_title, .vc_chart.vc_chart .vc_chart-legend li, .tm-countdown .number, .tm-drop-cap.style-01 .drop-cap, .tm-drop-cap.style-02, .tm-table caption, .tm-counter.style-01 .number-wrap, .tm-counter.style-02 .number-wrap, .tm-counter.style-05 .number-wrap, .tm-grid-wrapper.filter-counter-style-02 .btn-filter.current, .tm-grid-wrapper.filter-counter-style-02 .btn-filter:hover, .tm-grid-wrapper.filter-counter-style-02 .btn-filter.current .filter-counter, .tm-grid-wrapper.filter-counter-style-02 .btn-filter:hover .filter-counter, .tm-portfolio.style-metro-with-caption .post-view-detail, .tm-social-networks.style-title .item:hover .link-text, .tm-social-networks.style-large-icons .link, .single-post .entry-footer .post-share a, .portfolio-details-list label, .single-portfolio .portfolio-share a, .woocommerce div.product .woocommerce-tabs ul.tabs li a, .woocommerce.single-product #reviews .comment-reply-title, .product-sharing-list a, .woocommerce.single-product div.product form.cart label {
    color: #003e51;
    font-family: 'Raleway', sans-serif;
}

.whatwedo-hero__title {
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    font-size:50px;
    margin-left: auto;
    margin-right: auto;

}

.container.narrow h1 {
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    font-size: 120px;
    margin-bottom: 0;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

body {
    font-family: var(--body-font);
    margin: 0;
    color: #727d84;
    background-color: #fff;
    font-size: 18px;
    line-height: 1.58;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.container.narrow {
    max-width: 1300px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: #7cd4c2;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.85rem 1.75rem;

    text-decoration: none;
    background: transparent;
    color: #fff;
    border: 2px solid currentColor;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus {
    background: #0f5163;
    color: #fff;
}

.button--accent {
    background: #c3ff2f;
    color: #031721;
    border-color: #c3ff2f;
}

.button--accent:hover,
.button--accent:focus {
    background: #fff;
    color: #031721;
}

.text-link {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #0f5163;
}

.text-center {
    text-align: center;
}

/* --- Header & Primary Navigation --- */
.site-header {
    border-bottom: 1px solid rgba(15, 81, 99, 0.25);
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}

.site-header--scrolled {
    box-shadow: 0 8px 20px rgba(3, 23, 33, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 2rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.branding__logo img {
    display: block;
    height: 56px;
    width: auto;
}

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

.site-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.site-navigation .menu li {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.site-navigation .menu a {
    color: #1d1d1f;
    text-decoration: none;
    padding-bottom: 0.35rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.site-navigation .menu a:hover,
.site-navigation .menu a:focus {
    color: #0f5163;
    border-bottom-color: #0f5163;
}

/* Hamburger toggle (needs matching markup/button) */
.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #0f5163;
    transition: transform 0.2s ease;
}

.menu-toggle::before {
    top: 14px;
}

.menu-toggle span {
    top: 21px;
}

.menu-toggle::after {
    top: 28px;
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .site-header .container {
        padding: 0.75rem 1.5rem;
    }

    .site-navigation .menu {
        gap: 1.5rem;
    }
}

/* --- Homepage Sections --- */
.content-area.template-homepage {
    padding: 0;
}

.content-area.template-clients {
    padding: 0;
}

.clients-hero {
    color: #fff;
    background-size: cover;
    background-position: center;
    min-height: 530px;
    display: flex;
    align-items: center;
    text-align: center;
}

.clients-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0;
}

.clients-intro {
    padding: 4rem 0 2rem;
    text-align: center;
}

.single-post-nav {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}




.entertainments-section {
    padding: 3.5rem 0;
    text-align: center;
}

.entertainments-section:first-of-type {
    border-top: none;
}

.entertainments-section__icon {
    display: inline-flex;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #f1f7f2;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #b8e600;
}
.wpb_wrapper a {
    color: #999;
    transition: all .3s
    cubic-bezier(.645, .045, .355, 1);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 2;
}
.entertainments-section__icon svg {
    width: 48px;
    height: 48px;
}

.clients-intro p.client-p-heading {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 2.36;
    color: #003e51;
    font-weight: 600;
}

.clients-intro p.client-p {
    max-width: 990px;
    line-height: 1.7;
    color: #003e51;
    font-size: 24px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.footer-info-grid__col h3 {
    margin-top: 0;
}

#menu-footer-about-menu {
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 2;
    list-style-type:none;
    padding-left: 0;
}

#menu-footer-about-menu a {
    color: #003e51;
    display: block;
    padding: 6px 0;
    text-decoration: none;
}

#menu-footer-about-menu a:hover  {
    text-decoration: underline;
}

.entertainments-section__title {
    color: #003e51;
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.23;
    font-size: 36px;
    margin-bottom: 50px;
}

.heading {
    line-height: 1.25;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
    word-wrap: break-word;
    max-width: 100%;
    font-size: 24px;
}

.para-heading {
    font-size: 24px;
    margin-bottom: 0;
    word-wrap: break-word;
    max-width: 100%;
    color: #727d84;
}


.clients-logo-wall {
    padding: 2rem 0 4rem;
}

.results-showcase {
    padding: 3rem 0 5rem;
    background: #f6f8f9;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.results-card {
    text-align: center;
}

.results-card__media {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 20, 28, 0.15);
}

.results-card__media a {
    display: block;
    position: relative;
}

.results-card__media img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.showcase-card__cta:before {
    position: absolute;
    top: 12px;
    left: 0;
    content: "";
    width: 40px;
    height: 1px;
    background: #fff;
}

.results-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 62, 81, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.results-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.results-card__media:hover img {
    transform: scale(1.08);
}

.results-card__media:hover .results-card__overlay {
    opacity: 1;
}

.results-card__title {
    margin: 1rem 0 0;
    font-size: 1.1rem;
    color: #052530;
    text-align: left;
}

.what-we-do-blocks {
    padding: 4rem 0;
    background: #fff;
}

.what-we-do-intro {
    text-align: center;
    padding: 4rem 0 1rem;
}

.what-we-do-intro__eyebrow {
    text-transform: uppercase;
    color: #003e51;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.23;
}

.what-we-do-intro__qualities {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 4rem auto 6.5rem;
}

.what-we-do-intro__qualities img {
    max-width: 100px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.single-post .entry-title {
    font-size: 32px;
    line-height: 1.4;
    margin: -5px 0 19px;
    word-wrap: break-word;
}
.single-post .entry-header {
    margin-bottom: 39px;
    text-align: center;
}

.what-we-do-intro__quality {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.what-we-do-intro__quality span {
    font-size: 2.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.what-we-do-intro__quality p {
    margin: 0;
    font-weight: 600;
    color: #0a3a4a;
    font-size: 36px;
}

.what-we-do-intro__statement {
    font-size: 36px;
    line-height: 110%;
    margin: 0;
    font-weight: 600;
    color: #003e51;
}

.single-post .page-main-content {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.single-post__article {
    padding: 4rem 0;
}

.single-post__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.single-post__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.single-post__meta {
    color: #5c6a72;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.single-post__divider {
    margin: 0 0.75rem;
}

.single-post__meta a {
    color: inherit;
}

.single-post__featured {
    margin: 0;
}

.single-post__featured img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(5, 20, 30, 0.15);
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    margin-top: 2rem;
    color: #0b3f50;
}

.single-post .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post__footer {
    margin-top: 2.5rem;
    text-align: center;
}

.single-post__tags a {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #e7eff3;
    color: #0c2f3a;
    font-size: 0.85rem;
}

.what-we-do-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4.5rem;
}

.what-we-do-item:last-child {
    margin-bottom: 0;
}

.what-we-do-item--reverse {
    flex-direction: row-reverse;
}

.what-we-do-item__media {
    min-height: 320px;
    position: relative;
    max-width: 52%;
    width: 100%;
}

.what-we-do-item__media img {
    max-width: 100%;
    font-size: 0;
    height: auto;
}




.what-we-do-item__body {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.what-we-do-item__body h2 {
    margin: 0 0 1rem;
    color: #053143;
    font-size: 36px
}

.what-we-do-item__body p {
    margin: 0;
    line-height: 1.7;
    color: #4d5c64;
    font-size: 24px;
    font-weight: 400;
}

.people-team {
    padding: 3rem 0 5rem;
    background: #fff;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.people-card {
    text-align: center;
    color: #0c2f3a;
}

.people-card__media {
    margin-bottom: 1.5rem;
}

.people-card__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 18px 35px rgba(5, 20, 30, 0.16);
}

.people-card__name {
    margin: 0;
    font-size: 1.25rem;
    color: #0f3a4a;
}

.people-card__role {
    margin: 0.25rem 0 0.75rem;
    font-weight: 600;
    color: #5a6a72;
}

.people-card__bio {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #5c6b73;
}

.content-area.template-perspectives {
    padding: 0;
    background: #f5f7f8;
}

.perspectives-hero {
    background: #0b4f63;
    color: #fff;
    text-align: center;
    padding: 5rem 0 4rem;
    min-height: 530px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-flow: column;
}

.perspectives-hero__title {
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
}

.perspectives-hero__intro {
    max-width: 640px;
    margin: 1.25rem auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.perspectives-intro {
    padding: 3rem 0 1rem;
    color: #0c2f3a;
}

.perspectives-intro p {
    line-height: 1.7;
    font-size: 1.05rem;
}

.perspectives-list {
    padding: 3rem 0 5rem;
}

.perspectives-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.perspective-item {
    position: relative;
    padding: 2.5rem 4rem 2.5rem 1.5rem;
    border-bottom: 1px solid #dfe6ea;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.perspective-item:last-child {
    border-bottom: none;
}

.perspective-item::before,
.perspective-item::after {
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.perspective-item::before {
    transform: scale(1.05);
}

.perspective-item.has-image::before {
    background-image: var(--card-image);
    background-size: cover;
    background-position: center;
}

.perspective-item.has-image::after {
    background: linear-gradient(180deg, rgba(5, 33, 44, 0.25), rgba(5, 33, 44, 0.8));
}

.perspective-item.has-image:hover::before {
    opacity: 1;
    transform: scale(1);
}

.perspective-item.has-image:hover::after {
    opacity: 0.85;
}

.perspective-item__content {
    position: relative;
    z-index: 2;
}

.perspective-item__meta {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: #6b7c84;
    margin: 0;
}

.perspective-item__divider {
    display: inline-block;
    margin: 0 0.65rem;
}

.perspective-item__title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.35;
    color: #052530;
    transition: color 0.3s ease;
}

.perspective-item:hover .perspective-item__title,
.perspective-item:hover .perspective-item__meta {
    color: #0b4f63;
}

.perspective-item.has-image:hover .perspective-item__title,
.perspective-item.has-image:hover .perspective-item__meta {
    color: #fff;
}

.post-read-more {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0b4f63;
    color: #0b4f63;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.post-read-more-icon {
    font-size: 1.2rem;
}

.perspective-item.has-image:hover .post-read-more,
.perspective-item:hover .post-read-more {
    background: #0b4f63;
    color: #fff;
    border-color: #0b4f63;
}

.perspective-item__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    display: block;
}

.perspectives-pagination {
    margin-top: 3rem;
    text-align: center;
}

.perspectives-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 0.5rem;
}

.perspectives-pagination li a,
.perspectives-pagination li span {
    display: inline-block;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #cfd8dc;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0d3542;
}

.perspectives-pagination li span.current,
.perspectives-pagination li a:hover {
    background: #0b4f63;
    color: #fff;
    border-color: #0b4f63;
}

@media (max-width: 768px) {
    .perspectives-hero {
        min-height: 500px!important;
        max-height: 500px!important;
        padding: 0!important;
        background-size: cover!important;
    }
    .whatwedo-hero__title {
        font-size: 30px;
    }


    .what-we-do-intro__quality p {
        font-size: 26px;
    }

    .perspectives-hero {
        padding: 4rem 0 3rem;
        min-height: 530px;
    }

    .people-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.75rem;
    }

    .what-we-do-intro__qualities {
        gap: 3.5rem;
        flex-flow: column;
    }

    .what-we-do-intro__qualities img {
        margin-bottom: 0px;
    }

    .what-we-do-item__media {
        max-width: 100%;
    }

    .what-we-do-item__body h2 {
        font-size: 24px;
    }

    .what-we-do-item__body p {
        font-size: 24px;
    }

    .what-we-do-item,
    .what-we-do-item--reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .what-we-do-item__media {
        min-height: 220px;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .perspective-item {
        padding: 2rem 1rem;
        min-height: 160px;
    }

    .post-read-more {
        display: none;
    }
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.logo-grid__item img {
    max-width: 200px;
    width: 100%;
    opacity: 0.7;
    filter: grayscale(1);
}
.logo-grid__item a {
    display: block;

}
.logo-grid__item a:hover img {
    filter: grayscale(0);
    opacity: 1;
}
.logo-grid__item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.clients-cta {
    background: url('https://thegrovemedia.co.uk/wp-content/uploads/2019/09/TCE_REGENT_ST_CHRISTMAS_retouched.jpg') center/cover;
    color: #fff;
    padding: 3rem 0;
}

.clients-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.home-hero {
    color: #fff;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    text-align: center;
}

.home-hero .container {
    text-align: center;
}

.home-hero__title {
    font-size: 120px;
    color: #fff;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 0;
}

.home-hero p.eyebrow {
    line-height: 1.84;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 18px;
}

.home-hero__body {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 640px;
}

.home-hero__subtitle {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
}

.home-section {
    padding: 4.5rem 0;
}

.home-section--quote {
    background: #0c3b4a;
    text-align: center;
}

.home-section--quote p.eyebrow {
    font-size: 14px!important;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 2.36;
    color: white;
    font-weight: 600;
}
.home-section--quote h3 {
    font-size: 40px!important;
    max-width: 990px;
    line-height: 1.7!important;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: 400;
}

.home-section--body .eyebrow {
    color: white;
}
.home-section--body {
    background: #0c3b4a;
    text-align: center;
    min-height: 700px;
    font-size: 40px;
    line-height: 1.7;
    color: #fff;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.home-section--body p {
    max-width: 990px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    font-family: 'Raleway', sans-serif;
}

.home-section--highlight {
    color: #fff;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    text-align: center;
}

.home-section--quote p,
.home-section--highlight p {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    line-height: 1.9;
}

.home-section--highlight h2 {
    font-size: 120px;
    color: white;
    margin-top: 0;
    margin-bottom: 10px;
}

.home-section--highlight p {
    font-size: 18px;
    line-height: 1.84;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-section--highlight .container,
.home-section--quote .container,
.home-section--body .container {
    text-align: center;
}

.home-section--what-we-do {
    min-height: 100vh;
    background-image: url('https://via.placeholder.com/1600x900/ab5310/ffffff?text=What+we+do');
}

.home-section--entertainments {
    background-image: linear-gradient(180deg, rgba(0, 71, 51, 0.9), rgba(16, 140, 76, 0.8)), url('https://via.placeholder.com/1600x900/0a5a32/ffffff?text=Entertainments');
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.showcase-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(7, 28, 39, 0.15);
    display: flex;
    flex-direction: column;
}

.showcase-card__media {
    padding-top: 62%;
    background-size: cover;
    background-position: center;
}

.showcase-card__body {
    padding: 1.75rem;
}

.showcase-card__body h3 {
    margin-top: 0;
}

.home-testimonials {
    background: #fff;
}

.home-case-carousel {
    background: #f1f6fa;
    padding: 0;
}

.home-case-carousel .container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4rem 5vw;
}

.case-carousel .slick-slide {
    padding: 0 1rem;
}

.case-carousel .showcase-card {
    background: #031d27;
    color: #f0f5f7;
    min-height: 550px;
    position: relative;
    box-shadow: none;
    overflow: hidden;
    margin-right: 10px;
}

.case-carousel .showcase-card__media {
    position: absolute;
    inset: 0;
    opacity: 1;
    padding-top: 0;
    background-size: cover;
    background-position: center;
}

.logo-grid__item {
    padding: 15px;
}

.case-carousel .showcase-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 29, 39, 0.3);
}

.case-carousel .showcase-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    padding: 1.75rem;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.case-carousel .showcase-card__body h3 {
    color: #fff;
    margin: 0 0 0.5rem;
}

.case-carousel .showcase-card__body p {
    color: #dfe6ea;
}

.case-carousel .showcase-card__body .text-link {
    color: #c3ff2f;
}

.case-carousel .showcase-card:hover .showcase-card__body,
.case-carousel .showcase-card:focus-within .showcase-card__body {
    opacity: 1;
    transform: translateY(0);
}

.case-carousel .slick-dots {
    margin-top: 1.5rem;
}

.case-carousel .slick-dots li button:before {
    color: #0f5163;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2.5rem auto 0;
    max-width: 860px;
}

.testimonial-card {
    background: transparent;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.testimonial-card blockquote {
    margin: 0 0 1rem;
    line-height: 1.9;
    font-style: italic;
    font-size: 20px;
    color: #0d2330;
}

.testimonial-card .quote-mark {
    font-size: 2.5rem;
    line-height: 1;
    color: #0f5163;
    vertical-align: text-top;
}

.testimonial-card figcaption {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    color: #233642;
    text-align: right;
}

.testimonial-card blockquote,
.testimonial-card figcaption,
.testimonial-card .quote-mark {
    transition: color 0.2s ease;
}

.testimonial-card:hover {
    background: #0d2330;
}

.testimonial-card:hover blockquote,
.testimonial-card:hover figcaption,
.testimonial-card:hover .quote-mark {
    color: #fff;
}

.home-cta {
    color: #fff;
    background-size: cover;
    background-position: center;
}

.home-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.home-prefooter {
    background: #fff;
    border-top: 1px solid rgba(15, 81, 99, 0.2);
}

.home-prefooter__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-prefooter__brand img {
    max-width: 180px;
}

.home-prefooter__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.home-prefooter__cols ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}
.social-links {
    padding: 0;
    list-style: none;
}
.social-links li + li {
    margin-top: 0.4rem;
}
.slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.social-links a {
    color: #0f5163;
    text-decoration: none;
    font-size: 14px;
}

.home-prefooter__logos {
    border-top: 1px solid rgba(15, 81, 99, 0.15);
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.home-prefooter__logo {
    display: block;
}

.home-prefooter__logos img {
    max-width: 160px;
    width: 100%;
    height: auto;
    filter: grayscale(1);
    opacity: 0.8;
}

.h2-cta {
    color: #fff;
    font-size: 36px;
}

.home-prefooter__logos img:hover {
    filter: grayscale(0);
}

.home-section--editor {
    background: #f8fafc;
}

/* Footer info grid */
.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-info-grid__brand img {
    max-width: 180px;
}

.portfolio-hero {
    min-height: 600px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.portfolio-hero h1 {
    color: #fff;
    font-size: 48px;
    margin: 0px;
}

.content-get-in-touch {
    margin-left: auto;margin-right: auto;display: flex;align-items: stretch;justify-content: space-between
}
.info-get-in-touch >div {
    max-width: 440px;width: 100%;
}
.info-get-in-touch {
    padding: 3rem;max-width: 46%;width: 100%;display: flex;align-items: flex-start;justify-content: flex-end
}
.form-get-in-touch {
    background-color: #f5f5f5;padding: 3rem;flex-grow: 1;display: flex;align-items:  flex-start; justify-content: flex-start
}

.form-get-in-touch > div {
    max-width: 580px;width: 100%;
}

.page-template-template-contact .home-cta {
    display: none!important;
}

.portfolio-entry__content {
    padding: 90px 0;
}

/* --- Responsive adjustments for homepage --- */
@media (max-width: 1024px) {
    .case-grid,
    .home-prefooter__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .clients-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero__title {
        font-size: 70px;
    }
}

@media (max-width: 760px) {
    .portfolio-entry__content {
        padding: 30px 0;
    }

    .home-hero {
        padding: 3rem 0;
        min-height: 60vh;
    }

    .content-get-in-touch {
        flex-flow: column;

    }
    .info-get-in-touch {
        padding: 15px;
    }
    .portfolio-hero {
        min-height: 400px;
    }

    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .home-hero__title, .home-section--highlight h2 {
        font-size: 40px;
    }

    .home-section--highlight.home-section--entertainments h2 {
        font-size: 30px!important;
    }

    .home-section--highlight p {margin-bottom: 10px;}

    .home-section--body {
        min-height: 500px;
    }

    .home-section--quote h3, .home-section--body {
        font-size: 28px!important;
    }

    .home-section {
        padding: 3rem 0;
    }

    .case-grid,
    .home-prefooter__cols {
        grid-template-columns: 1fr;
    }

    .home-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-prefooter__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
    }
    .clients-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {

    .home-hero {
        background-image: url("https://thegrovemedia.co.uk/wp-content/uploads/2025/12/400x900-03.jpg")!important;
    }
    .home-section--what-we-do {
        background-image: url("https://thegrovemedia.co.uk/wp-content/uploads/2025/12/400x900-01.jpg")!important;
    }

    .home-section--entertainments {
        background-image: url("https://thegrovemedia.co.uk/wp-content/uploads/2025/12/400x900-02.jpg")!important;
    }

    .home-section.home-cta {
        background-image: url("https://thegrovemedia.co.uk/wp-content/uploads/2025/12/400x900-04.jpg")!important;
    }

    .home-cta .container {
        align-items: center;
        justify-content: center;
    }

    .home-cta .container h2 {
        margin-bottom: 0;
    }

    .clients-hero {
        min-height: 400px;
    }
    .page-template-template-entertainments .clients-hero {
        height: 344px !important;
        min-height: initial !important;
    }

    .container.narrow h1 {
        font-size: 36px;
    }
    .heading {
        font-size: 18px;
    }

    .site-header .container {
        flex-wrap: nowrap;
    }

    .site-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid rgba(15, 81, 99, 0.15);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        padding: 0 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-navigation.is-open {
        max-height: 600px;
        padding-bottom: 1rem;
    }

    .site-navigation .menu {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .site-navigation .menu a {
        display: block;
        padding: 0.5rem 0;
        border-bottom: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .single-post .page-main-content {
        padding-left: 0;
    }

    .case-carousel .showcase-card {
        margin-right: 0;
    }
}

/* Portfolio single template */
.single-portfolio .portfolio-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
    overflow: hidden;
}

.single-portfolio .portfolio-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 81, 0.7);
}

.single-portfolio .portfolio-hero .container {
    position: relative;
    z-index: 1;
}

.single-portfolio .portfolio-entry__media {
    margin-bottom: 2rem;
}

.single-portfolio .portfolio-entry__media img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-card {
    position: relative;
}

.showcase-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.showcase-card__media {
    position: relative;
    overflow: hidden;
}

.showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.showcase-card__link:hover .showcase-card__overlay,
.showcase-card__link:focus .showcase-card__overlay {
    transform: translateY(0);
}

.showcase-card__cta {
    display: inline-block;
    font-weight: 600;
    padding-left: 60px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
    border: 0;
    border-bottom: 2px solid #ddd;
    background: none;
    padding-left: 0;
    padding-right: 0;
    height: 50px;
    width: 100%;
    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
}


.wpcf7 input:focus-visible, .wpcf7 select:focus-visible, .wpcf7 textarea:focus-visible {
    outline-offset: 0px;
    outline: unset;
}

.wpcf7-form-control-wrap {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 1.58;
    margin-bottom: 30px;
}

.single-post-nav,
.single-portfolio .portfolio-post-nav .container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.single-post-nav__link,
.portfolio-post-nav__link {
    display: flex;
    flex-direction: row;
    padding: 1.25rem 1.75rem;
    border: 1px solid rgba(3, 23, 33, 0.1);
    border-radius: 12px;
    min-width: 140px;
    text-decoration: none;
    color: inherit;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.single-post-nav__link span,
.portfolio-post-nav__link span {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f5163;
}

.single-post-nav__link strong,
.portfolio-post-nav__link strong {
    font-size: 1.05rem;
    margin-top: 0.35rem;
}

.single-post-nav__link:hover,
.single-post-nav__link:focus,
.portfolio-post-nav__link:hover,
.portfolio-post-nav__link:focus {
    border-color: #0f5163;
    transform: translateY(-4px);
}

.wpcf7 input[type="submit"] {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #003e51;
    border: 1px solid #003e51;
    border-radius: 12px;
    max-width: 220px;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.7;
}

.wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #d9534f;
    font-size: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}
