/*
Theme Name: Cookie's Island
Theme URI: https://cookiesisland.com
Description: Child theme for Modkids. All Cookie's Island CSS and PHP overrides live here so parent theme updates stay safe.
Author: Cookie's Island
Template: modkids
Version: 1.0.16
Text Domain: cookies-island
*/

/* Gallery (Beckton 18350 / Ilford 18366) */
body.cookies-island-gallery .elementor-18350 > .e-parent:first-child,
body.cookies-island-gallery .elementor-18366 > .e-parent:first-child {
    background-color: transparent !important;
    background-image: url("/wp-content/uploads/2026/08/hero-bg-custom.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    margin-top: -140px !important;
    padding-top: 220px !important;
    padding-bottom: 100px !important;
    z-index: 1;
}

body.cookies-island-gallery .elementor-18350 > .e-parent:first-child::before,
body.cookies-island-gallery .elementor-18366 > .e-parent:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 124, 94, 0.85) !important;
    z-index: -1;
}

body.cookies-island-gallery .elementor-18350 > .e-parent:first-child .pxl-heading .pxl-item--title,
body.cookies-island-gallery .elementor-18350 > .e-parent:first-child .pxl-text-editor,
body.cookies-island-gallery .elementor-18350 > .e-parent:first-child .pxl-text-editor p,
body.cookies-island-gallery .elementor-18366 > .e-parent:first-child .pxl-heading .pxl-item--title,
body.cookies-island-gallery .elementor-18366 > .e-parent:first-child .pxl-text-editor,
body.cookies-island-gallery .elementor-18366 > .e-parent:first-child .pxl-text-editor p {
    color: #ffffff !important;
    -webkit-text-stroke-color: transparent !important;
}

body.cookies-island-gallery .pxl-grid-filter .filter-item,
body.cookies-island-gallery .pxl-gallery-filter .filter-item {
    color: #ffffff !important;
    background: transparent !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    border: none !important;
}

body.cookies-island-gallery .pxl-grid-filter .filter-item::before,
body.cookies-island-gallery .pxl-grid-filter .filter-item::after {
    display: none !important;
}

body.cookies-island-gallery .pxl-grid-filter .filter-item.active,
body.cookies-island-gallery .pxl-grid-filter .filter-item:hover,
body.cookies-island-gallery .pxl-gallery-filter .filter-item.active,
body.cookies-island-gallery .pxl-gallery-filter .filter-item:hover {
    background-color: #E4202E !important;
    color: #ffffff !important;
}

body.cookies-island-gallery .pxl-gallery-grid .pxl-holder-inner {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.cookies-island-gallery .pxl-gallery-grid .pxl-holder-inner::before,
body.cookies-island-gallery .pxl-gallery-grid .pxl-holder-inner::after {
    display: none !important;
}

body.cookies-island-gallery .pxl-gallery-grid .pxl-item--holder {
    background-color: transparent !important;
}

body.cookies-island-gallery .pxl-gallery-grid .btn-zoom i {
    display: none !important;
}

body.cookies-island-gallery .pxl-gallery-grid .btn-zoom {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: relative;
}

body.cookies-island-gallery .pxl-gallery-grid .btn-zoom::after {
    content: "+";
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    margin-top: -2px;
}

body.cookies-island-gallery .pxl-gallery-grid .btn-zoom:hover {
    transform: scale(1.1) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Headers: no yellow strip — solid white, main and sticky */
.elementor-672 .elementor-element-10a137b,
.elementor-417 .elementor-element-10a137b {
    display: none !important;
}

#pxl-header-elementor .pxl-header-elementor-main,
#pxl-header-elementor .pxl-header-elementor-sticky,
.elementor-672 > .e-parent,
.elementor-417 > .e-parent,
.elementor-12240 > .e-parent,
.elementor-672 .elementor-element-de605b1,
.elementor-417 .elementor-element-de605b1,
.elementor-12240 .elementor-element-de605b1 {
    background-color: #ffffff !important;
}

/* Homepage: header in flow, chooser not tucked under the bar */
body.home #pxl-header-elementor .pxl-header-elementor-main,
body.home #pxl-header-elementor .px-header--transparent {
    position: relative !important;
    top: auto !important;
}

body.home .elementor-element-hero_loc_sec {
    padding: 48px 24px 56px !important;
}

body.home .elementor-element-hero_title .pxl-heading .pxl-item--title {
    color: #177C5E !important;
    font-size: 42px !important;
    text-align: center;
}

body.home .elementor-element-hero_cards_row {
    max-width: 1120px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    gap: 28px !important;
    justify-content: center !important;
    align-items: stretch !important;
}

body.home .elementor-element-b_card,
body.home .elementor-element-i_card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 520px;
    min-width: 0;
    overflow: hidden;
}

body.home .elementor-element-b_heading,
body.home .elementor-element-i_heading {
    margin-top: 20px !important;
}

body.home .elementor-element-b_heading .pxl-item--title,
body.home .elementor-element-i_heading .pxl-item--title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    min-height: 2.4em;
    padding: 8px 20px 4px;
}

body.home .elementor-element-b_text,
body.home .elementor-element-i_text {
    flex: 1 1 auto;
    min-height: 6.2em;
    padding: 0 16px;
}

body.home .elementor-element-b_btn,
body.home .elementor-element-i_btn {
    margin-top: auto !important;
    padding-bottom: 20px;
}

body.home .elementor-element-b_img img,
body.home .elementor-element-i_img img,
body.home .card-hero-img img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 12px 12px 0 0 !important;
}

body.home .elementor-element-7622e18 {
    padding-top: 64px !important;
}

.elementor-672 .elementor-element-10a137b .pxl-link--text,
.elementor-672 .elementor-element-10a137b .pxl-link--icon i,
.elementor-672 .elementor-element-10a137b a,
.elementor-417 .elementor-element-10a137b .pxl-link--text,
.elementor-417 .elementor-element-10a137b .pxl-link--icon i,
.elementor-417 .elementor-element-10a137b a {
    color: #0E3D2F !important;
}

.elementor-672 .elementor-element-10a137b .elementor-divider-separator,
.elementor-417 .elementor-element-10a137b .elementor-divider-separator {
    border-color: rgba(57, 9, 32, 0.25) !important;
}

.elementor-672 .elementor-element-de605b1,
.elementor-417 .elementor-element-de605b1,
.elementor-12240 .elementor-element-de605b1 {
    border-bottom: 4px solid #5CC3E6 !important;
}

.pxl-logo img {
    max-height: 72px !important;
    width: auto !important;
}

/* Header is in-flow (not overlay). Theme still adds 110px #pxl-main padding. */
.ci-branded #pxl-main,
.elementor-page:not(.single-post):not(.single-product) #pxl-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ci-branded .pxl-pagetitle,
.ci-branded .pxl-page-title,
.ci-branded #pxl-page-title-default,
.ci-branded #pxl-page-title-elementor {
    display: none !important;
}

/* Pills: drop theme ::before/::after blob (breaks on green bands). */
.pxl-button .btn,
.pxl-button-theme .btn {
    background: #177C5E !important;
    color: #ffffff !important;
    border-radius: 35px !important;
    box-shadow: 4px 4px 0 #0E3D2F !important;
    overflow: visible !important;
    font-family: Rubik, sans-serif !important;
    font-weight: 500 !important;
}

.pxl-button .btn::before,
.pxl-button .btn::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pxl-button .btn:hover,
.pxl-button .btn:focus,
.pxl-button .btn:active {
    background: #E4202E !important;
    color: #ffffff !important;
}

/* Green sections: white pill so the label stays visible */
.elementor-element-6a1db2d .pxl-button .btn,
.elementor-element-78b9adc .pxl-button .btn,
.elementor-element-cb17478 .pxl-button .btn {
    background: #ffffff !important;
    color: #177C5E !important;
}

.elementor-element-6a1db2d .pxl-button .btn:hover,
.elementor-element-78b9adc .pxl-button .btn:hover,
.elementor-element-cb17478 .pxl-button .btn:hover {
    background: #E4202E !important;
    color: #ffffff !important;
}

.elementor-672 .pxl-nav-menu .pxl-menu-primary > li > a .caseicon-angle-arrow-down,
.elementor-417 .pxl-nav-menu .pxl-menu-primary > li > a .caseicon-angle-arrow-down {
    color: #E4202E !important;
}

.elementor-519 .pxl-link a:hover {
    color: #5CC3E6 !important;
}

.elementor-12240 .pxl-cart-sidebar-button .pxl-icon-cart {
    background-color: #E3F2EC !important;
}

.home .pxl-pagetitle,
.home .pxl-page-title {
    display: none !important;
}

/* Display headings only — not body, nav, or UI */
h1, h2,
.pxl-heading .pxl-item--title,
.pxl-heading .pxl-item--title span {
    font-family: "Bowlby One SC", sans-serif !important;
    letter-spacing: 0 !important;
    -webkit-text-stroke-width: 0 !important;
    line-height: 1.35 !important;
    overflow: visible !important;
    padding-top: 0.28em !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

.ci-branded .pxl-heading,
.ci-branded .elementor-widget-pxl_heading,
.ci-branded .pxl-heading .pxl-item--inner,
.ci-branded .pxl-heading .pxl-item--title {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Decorative titles in page content only — not header/footer widgets,
   and NOT the home/landing hero (which has its own heading size) */
body:not(.home) #pxl-content-main .pxl-heading .pxl-item--title,
body:not(.home) #pxl-content-main .pxl-heading .pxl-item--title span {
    font-size: clamp(28px, 4.2vw, 56px) !important;
    line-height: 1.22 !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}

/* Footer: column titles were inheriting 56px Bowlby; social ::after is a 100% red rule with no position */
#pxl-footer-elementor .pxl-heading .pxl-item--title,
#pxl-footer-elementor .pxl-heading .pxl-item--title span,
#pxl-footer-elementor h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    padding-top: 0 !important;
    letter-spacing: 0.02em !important;
}

#pxl-footer-elementor .pxl-link.style-right-box a::after {
    display: none !important;
}

#pxl-footer-elementor .pxl-link.style-right-box a {
    justify-content: flex-start !important;
    padding-right: 0 !important;
    gap: 10px;
}

#pxl-footer-elementor .pxl-link.style-right-box .pxl-link--icon {
    order: 0 !important;
    margin-left: 0 !important;
}

body,
p,
li,
h3, h4, h5, h6,
.pxl-text-editor,
.pxl-heading .pxl-item--subtitle,
.pxl-icon-box .pxl-item--title,
.pxl-nav-menu .pxl-menu-primary > li > a {
    font-family: Rubik, sans-serif !important;
    font-weight: 400;
}

/* Beckton hero: solid brand green — no busy photo / black-yellow vector behind type */
body.cookies-island-location-home .elementor-element-78b9adc {
    position: relative;
    overflow: visible;
    background-color: #177C5E !important;
    background-image: none !important;
}

body.cookies-island-location-home .elementor-element-78b9adc::before {
    background-image: none !important;
    background-color: transparent !important;
}

body.cookies-island-location-home .elementor-element-78b9adc::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: #F6BE2F;
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
    z-index: 1;
}

body.cookies-island-location-home .elementor-element-78b9adc > * {
    position: relative;
    z-index: 2;
}

body.cookies-island-location-home .elementor-element-df14a5f .pxl-heading .pxl-item--title,
body.cookies-island-location-home .elementor-element-df14a5f .pxl-heading .pxl-item--title span {
    font-family: "Bowlby One SC", sans-serif !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    font-size: 68px !important;
    line-height: 1.15 !important;
    overflow: visible !important;
    padding-top: 0.1em;
}

body.cookies-island-location-home .elementor-element-a0abd2a .pxl-text-editor,
body.cookies-island-location-home .elementor-element-a0abd2a .pxl-text-editor p,
body.cookies-island-location-home .elementor-element-a0abd2a .pxl-text-editor * {
    font-family: Rubik, sans-serif !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    text-transform: none !important;
}

/* "Providing essential..." band — kill kindergarten photo overlay */
.elementor-element-6a1db2d {
    background-color: #177C5E !important;
    background-image: none !important;
}

.elementor-element-6a1db2d::before,
.elementor-element-f39a928::before {
    background-image: none !important;
    background-color: transparent !important;
}

.elementor-element-f39a928 {
    background-image: none !important;
}

.elementor-element-04f366c .pxl-heading .pxl-item--title,
.elementor-element-04f366c .pxl-heading .pxl-item--title span {
    font-family: "Bowlby One SC", sans-serif !important;
    color: #ffffff !important;
}

.elementor-element-a13aebd .pxl-text-editor,
.elementor-element-a13aebd .pxl-text-editor p,
.elementor-element-a13aebd .pxl-text-editor * {
    font-family: Rubik, sans-serif !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-transform: none !important;
}

/* Services carousel: centered row, no kindergarten mask / abs clutter */
.elementor-element-46bd02b {
    padding: 72px 24px 48px !important;
}

.elementor-element-46bd02b .elementor-element-aaa66f8,
.elementor-element-46bd02b .elementor-element-1a77690 {
    display: none !important;
}

.elementor-element-c974023,
.elementor-element-c974023 > .e-con-inner {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.elementor-element-eb888cc {
    --min-height: 0px !important;
    min-height: 0 !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-carousel-inner {
    overflow: hidden !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-swiper-arrow-wrap {
    display: none !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--inner {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(14, 61, 47, 0.08);
    height: auto !important;
    min-height: 0 !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--featured {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    width: 100% !important;
    height: 168px !important;
    margin: 0 !important;
    border-radius: 0;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--featured img {
    width: 100% !important;
    height: 168px !important;
    object-fit: cover !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--contents,
.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--featured + .pxl-post--contents {
    margin-top: 0 !important;
    padding: 16px 18px 20px !important;
    min-height: 0 !important;
    background: #ffffff !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 0;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--title {
    font-family: Rubik, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    min-height: 0 !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--title a {
    color: #177C5E !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--excerpt {
    font-family: Rubik, sans-serif !important;
    margin-bottom: 0 !important;
}

.elementor-element-46bd02b .pxl-service-carousel1 .btn-link,
.elementor-element-46bd02b .pxl-service-carousel1 .pxl-post--holder {
    display: none !important;
}

/* Blogs band: demo used 280/320px padding + negative margin to overlap art */
.elementor-18331 .elementor-element-059a08d,
.elementor-18332 .elementor-element-059a08d,
.elementor-element-059a08d {
    --margin-top: 0px !important;
    --margin-bottom: 0px !important;
    --padding-top: 64px !important;
    --padding-bottom: 72px !important;
    --padding-left: 24px !important;
    --padding-right: 24px !important;
    margin: 0 !important;
    padding: 64px 24px 72px !important;
    min-height: 0 !important;
    background-image: none !important;
}

.elementor-18331 .elementor-element-059a08d::before,
.elementor-18332 .elementor-element-059a08d::before,
.elementor-element-059a08d::before {
    background-image: none !important;
    opacity: 0 !important;
}

/* Footer spacer: opacity-0 full photo still occupies 1512px height */
.elementor-element-a192525,
.elementor-519 .elementor-element-d48cd7b .elementor-widget-pxl_image {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

.elementor-element-d48cd7b {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ci-chooser {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px 120px;
    text-align: center;
}

.ci-chooser__parrot {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
}

.ci-chooser__eyebrow {
    font-family: "Just Another Hand", cursive;
    font-size: 32px;
    color: #E4202E;
    margin: 0;
}

.ci-chooser__title {
    color: #177C5E;
    margin: 8px 0 12px;
}

.ci-chooser__lede {
    color: #0E3D2F;
    font-size: 20px;
    margin-bottom: 32px;
}

.ci-chooser__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ci-chooser__card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    border-radius: 35px;
    font-family: "Bowlby One SC", sans-serif;
    font-size: 22px;
    color: #fff !important;
    background: #177C5E;
    text-decoration: none;
    box-shadow: 4px 4px 0 #0E3D2F;
}

.ci-chooser__card--alt {
    background: #E4202E;
}

.ci-chooser__card:hover {
    background: #0E3D2F;
}

@media (max-width: 600px) {
    .ci-chooser__grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Card Image Constraints */
.card-hero-img img {
    height: 160px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
}

/* Site loader: style-2 clouds + brand logo (not bounce dots) */
.pxl-loader.ci-loader {
    background-color: #faf6e6;
}

.pxl-loader.ci-loader .ci-loader-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(280px, 70vw);
    text-align: center;
    z-index: 2;
}

.pxl-loader.ci-loader .ci-loader-mark img {
    width: 100%;
    height: auto;
    animation: ci-loader-bob 1.1s ease-in-out infinite;
}

.pxl-loader.ci-loader .progress {
    margin-top: 18px;
}

@keyframes ci-loader-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Overlay cutouts: side panel, photo cropped into the shape — not a full-bleed image */
.pxl-section-overlay-image .pxl-overlay--image {
    z-index: 0;
    pointer-events: none;
    width: 42% !important;
    max-width: 520px;
    right: auto;
}

.pxl-section-overlay-image .pxl-overlay--image.pxl-overlay--imageRight {
    left: auto !important;
    right: 0 !important;
}

.pxl-section-overlay-image .pxl-overlay--image .bg-image {
    background-size: cover !important;
    background-position: center !important;
}

.pxl-section-overlay-image > .e-con-inner,
.pxl-section-overlay-image > .elementor-container {
    position: relative;
    z-index: 1;
}

.ci-branded .pxl-section-bg-parallax {
    z-index: 0;
    pointer-events: none;
}

.ci-branded .e-con.e-parent > .e-con-inner {
    position: relative;
    z-index: 1;
}

.ci-branded .pxl-testimonial-carousel4 .bg-image {
    background-image: url("/wp-content/themes/modkids/assets/img/kids-kindergarten-bg-testimo.png") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

.ci-branded .pxl-testimonial-carousel4 .pxl-item--desc,
.ci-branded .pxl-testimonial-carousel4 .pxl-item--title,
.ci-branded .pxl-testimonial-carousel4 .pxl-item--position {
    color: #0E3D2F;
}

/* Banner 3: one arched cutout (theme layout 3 mask is a tile mosaic) */
.ci-branded .pxl-banner3 .pxl-banner-inner {
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 210px 210px 36px 36px;
}

.ci-branded .pxl-banner3 .pxl-main--image img {
    width: 100% !important;
    height: 560px !important;
    object-fit: cover !important;
    object-position: center;
    transform: none;
}

.ci-branded .pxl-banner2 .pxl-box img {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.elementor-widget-pxl_image.elementor-absolute,
.elementor-widget-pxl_cloud.elementor-absolute {
    z-index: 3;
    pointer-events: none;
}

.pxl-circle-move,
.pxl-image-bounce,
.pxl-image-spin,
.pxl-zoom-round {
    min-height: 160px;
}

/* Theme float stickers only — cutout photos stay full size */
.pxl-circle-move img,
.pxl-image-bounce img,
.pxl-image-spin img,
.pxl-zoom-round img,
.pxl-image-effect2 img,
.elementor-widget-pxl_cloud img {
    display: inline-block !important;
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 180px !important;
}

.ci-branded #pxl-content-main .e-con > .e-con {
    min-width: 0;
}

/* About hero: same as location home — solid brand green, photos in the collage, not a tint fill */
.ci-branded .elementor-element-cb17478 {
    --background-color: #177C5E;
    background-color: #177C5E !important;
    background-image: none !important;
    isolation: isolate;
}

.ci-branded .elementor-element-cb17478::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: #F6BE2F;
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
    z-index: 1;
}

.ci-branded .elementor-element-cb17478 > * {
    position: relative;
    z-index: 2;
}

.ci-branded .elementor-element-cb17478 .pxl-heading .pxl-item--title,
.ci-branded .elementor-element-cb17478 .pxl-heading .pxl-item--title span,
.ci-branded .elementor-element-cb17478 .pxl-text-editor,
.ci-branded .elementor-element-cb17478 .pxl-text-editor p,
.ci-branded .elementor-element-cb17478 .pxl-text-editor *,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-item--title,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-item--description,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-item--description p,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-item--excerpt,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-body,
.ci-branded .elementor-element-cb17478 .pxl-icon-box .pxl-item--inner {
    color: #ffffff !important;
}

/* Green inner heroes only on About + Cafe — not Prices and the rest of the site */
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child {
    --background-color: #177C5E;
    background-color: #177C5E !important;
    background-image: none !important;
}

body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor p,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor p {
    text-align: left !important;
}

body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading .pxl-item--title,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading .pxl-item--title span,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor p,
body.cookies-island-about #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor li,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading .pxl-item--title,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-heading .pxl-item--title span,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor p,
body.cookies-island-cafe #pxl-content-main .elementor > .e-con.e-parent:first-child .pxl-text-editor li {
    color: #ffffff !important;
}

/* About collage / extra widgets on the green hero */
.ci-branded .elementor-element-cb17478 h3,
.ci-branded .elementor-element-cb17478 .pxl-icon-box7 .pxl-item--title,
.ci-branded .elementor-element-cb17478 .pxl-icon-box7 .pxl-item--description,
.ci-branded .elementor-element-cb17478 .elementor-widget-text-editor,
.ci-branded .elementor-element-cb17478 .elementor-widget-text-editor *,
body.cookies-island-about .elementor-element-cb17478 .pxl-item--excerpt,
body.cookies-island-about .elementor-element-cb17478 .pxl-item--excerpt * {
    color: #ffffff !important;
}

/* Location homes: leftover demo blog only — keep testimonials / cutouts */
body.cookies-island-location-home .pxl-icon-box7,
body.cookies-island-location-home .elementor-widget-pxl_icon_box .pxl-icon-box7,
body.cookies-island-location-home [class*="post-layout-post"],
body.home [class*="post-layout-post"],
.elementor-element-059a08d {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Location homes: drop leftover demo blog/testimonial bands, not stickers */
.ci-branded .pxl-nav-menu .pxl-menu-primary,
.elementor-672 .pxl-nav-menu .pxl-menu-primary,
.elementor-417 .pxl-nav-menu .pxl-menu-primary {
    gap: 4px !important;
}

.ci-branded .pxl-nav-menu .pxl-menu-primary > li > a {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Prices cards sit on one row / equal height */
.ci-branded .pxl-pricing1 {
    height: 100%;
}

.ci-branded .pxl-pricing1 .pxl-item--inner {
    height: 100%;
}

/* Cafe: food photos fill collage / menu tiles */
.page-id-18349 .pxl-banner img,
.page-id-18365 .pxl-banner img {
    object-fit: cover !important;
}

body.cookies-island-cafe .elementor-element-aa823d0 > .e-con-inner {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

@media (max-width: 1024px) {
    body.cookies-island-cafe .elementor-element-aa823d0 > .e-con-inner {
        flex-direction: column !important;
    }
}

/* Quotes: theme frame, not a plated photo and not an empty hole */
body.cookies-island-cafe .elementor-element-a6d28c9,
body.cookies-island-cafe .elementor-element-30e1757 {
    background-image: none !important;
    background-color: #FFF8EE !important;
}

body.cookies-island-cafe .elementor-element-a6d28c9 > .pxl-section-bg-parallax {
    display: none !important;
}

body.cookies-island-cafe .pxl-testimonial-carousel4 .bg-image {
    background-image: url("/wp-content/themes/modkids/assets/img/kids-kindergarten-bg-testimo.png") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-color: transparent;
}

body.cookies-island-cafe .pxl-testimonial-carousel4 .pxl-item--desc,
body.cookies-island-cafe .pxl-testimonial-carousel4 .pxl-item--title,
body.cookies-island-cafe .pxl-testimonial-carousel4 .pxl-item--position {
    color: #0E3D2F !important;
}

body.cookies-island-cafe .elementor-element-4be0d47 {
    width: 100% !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Cafe menu: all six photos, one grid, no overlap */
body.cookies-island-cafe .elementor-element-2a8a6b7 {
    background: #FFF8EE;
    margin: 0 !important;
    padding: 24px 15px 8px !important;
}

body.cookies-island-cafe .elementor-element-2a8a6b7 .pxl-item--title {
    font-size: 36px !important;
    color: #0E3D2F !important;
}

body.cookies-island-cafe .elementor-element-573269a {
    margin-top: 0 !important;
    padding: 8px 15px 48px;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.cookies-island-cafe .elementor-element-573269a > .e-con-inner,
body.cookies-island-cafe .elementor-element-573269a .e-con {
    display: contents !important;
}

body.cookies-island-cafe .elementor-element-573269a .elementor-widget-pxl_image {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    transform: none !important;
}

body.cookies-island-cafe .elementor-element-573269a img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 20px;
}

/* Feature chips: even spacing */
.ci-branded .pxl-list li,
.ci-branded .pxl-menu-list {
    justify-content: center;
}

/* About: only kindergarten leftover copy, not theme cutouts */
body.cookies-island-about .elementor-element-7052497,
body.cookies-island-about .elementor-element-0acbba2,
body.cookies-island-about .elementor-element-7016e40,
body.cookies-island-about .elementor-element-b882dfa,
body.cookies-island-about .elementor-element-80a3bb4 {
    display: none !important;
}

body.cookies-island-about .elementor-element-cb17478 {
    min-height: 0 !important;
    --min-height: 0px !important;
    height: auto !important;
    padding-top: 48px !important;
    padding-bottom: 72px !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

body.cookies-island-about .elementor-element-cb17478 > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 24px;
    min-height: 0 !important;
    --min-height: 0px !important;
    height: auto !important;
}

@media (max-width: 1024px) {
    body.cookies-island-about .elementor-element-cb17478,
    body.cookies-island-about .elementor-element-cb17478 > .e-con-inner {
        flex-direction: column !important;
    }
}

/* About copy band: photo parallax sits behind; text stays readable */
body.cookies-island-about .elementor-element-cb17478 > .pxl-section-bg-parallax,
body.cookies-island-about .elementor-element-4663d3c > .pxl-section-bg-parallax {
    display: none !important;
}

body.cookies-island-about .elementor-element-4663d3c {
    isolation: isolate;
}

body.cookies-island-about .elementor-element-4663d3c > .e-con-inner {
    position: relative;
    z-index: 1;
}

body.cookies-island-about .elementor-element-5c87a51 {
    overflow: hidden;
    flex: 0 1 42%;
    max-width: 460px;
    margin-left: 0 !important;
}

body.cookies-island-about .elementor-element-7140a2c {
    position: relative;
    z-index: 2;
    min-width: 0;
    flex: 1 1 0;
    padding-right: 36px;
}

body.cookies-island-about .elementor-element-9c52145 .pxl-item--title,
body.cookies-island-about .elementor-element-9c52145 .pxl-item--title span {
    color: #0E3D2F !important;
    -webkit-text-stroke: 0;
    text-shadow: none;
    font-size: 38px !important;
    line-height: 1.15 !important;
}

body.cookies-island-about .elementor-element-52a056e {
    z-index: 3;
}

@media (max-width: 1024px) {
    body.cookies-island-about .elementor-element-5c87a51 {
        max-width: 100%;
    }
}

/* Stacked cutouts: crop into the theme blob, not native full-res photos */
body.cookies-island-about .elementor-element-80a3bb4 {
    display: none !important;
}

body.cookies-island-about .elementor-element-af52488 .elementor-widget-pxl_image,
body.cookies-island-about .elementor-element-b882dfa {
    max-width: 420px !important;
    width: 420px !important;
}

body.cookies-island-about .elementor-element-af52488 img,
body.cookies-island-about .elementor-element-b882dfa img {
    width: 420px !important;
    max-width: 100% !important;
    height: 520px !important;
    object-fit: cover !important;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 210px 210px 36px 36px;
}

/* Inner pages: readable band titles + booking-style info cards */
.ci-branded .elementor-element-239a9fd .pxl-heading .pxl-item--title,
.ci-branded .elementor-element-239a9fd .pxl-heading .pxl-item--title span {
    color: #177C5E !important;
    opacity: 1 !important;
    letter-spacing: 0 !important;
}

.ci-branded .elementor-element-info_grid .pxl-icon-box .pxl-item--inner,
.ci-branded .elementor-element-booking_grid .pxl-icon-box .pxl-item--inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 16px 22px;
    box-shadow: 4px 4px 0 #0E3D2F;
    height: 100%;
}

.ci-branded .elementor-element-info_grid .pxl-icon-box .pxl-item--title,
.ci-branded .elementor-element-booking_grid .pxl-icon-box .pxl-item--title {
    color: #177C5E !important;
    font-family: "Bowlby One SC", sans-serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

.ci-branded .elementor-element-info_grid,
.ci-branded .elementor-element-booking_grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.ci-branded .elementor-element-info_grid > .e-con,
.ci-branded .elementor-element-booking_grid > .e-con {
    width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
}

.ci-branded .elementor-element-info_grid .wow,
.ci-branded .elementor-element-booking_grid .wow {
    visibility: visible !important;
}

.ci-branded .elementor-element-info_grid .pxl-item--icon img,
.ci-branded .elementor-element-booking_grid .pxl-item--icon img {
    width: 88px !important;
    height: 88px !important;
    object-fit: cover !important;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .ci-branded .elementor-element-info_grid,
    .ci-branded .elementor-element-booking_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ci-branded .elementor-element-info_grid,
    .ci-branded .elementor-element-booking_grid {
        grid-template-columns: 1fr;
    }
}

/* Rules + News: mint band, white accordion, not cream/lemon */
body.page-id-18357,
body.page-id-18356 {
    background-color: #ffffff;
}

body.page-id-18357 .elementor-element-aa823d0,
body.page-id-18356 .elementor-element-aa823d0 {
    --background-color: #E9EFEB;
    background-color: #E9EFEB !important;
}

body.page-id-18357 .elementor-element-2a8a6b7,
body.page-id-18356 .elementor-element-2a8a6b7 {
    --background-color: #FAF6E6;
    background-color: #FAF6E6 !important;
}

body.page-id-18357 .pxl-accordion--title,
body.page-id-18356 .pxl-accordion--title {
    background-color: #ffffff !important;
    color: #0E3D2F !important;
}

body.page-id-18357 .pxl--item.active .pxl-accordion--title,
body.page-id-18357 .pxl--item.active .pxl-accordion--title .pxl-title--text,
body.page-id-18356 .pxl--item.active .pxl-accordion--title,
body.page-id-18356 .pxl--item.active .pxl-accordion--title .pxl-title--text {
    background-color: #177C5E !important;
    color: #ffffff !important;
}

body.page-id-18357 .pxl-accordion--content,
body.page-id-18356 .pxl-accordion--content {
    background-color: #ffffff !important;
    color: #404040 !important;
}

/* News: Modkids blog grid (post-3), not icon cards */
body.page-id-18356 .elementor-element-news_grid {
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    padding-top: 8px;
}

body.page-id-18356 .pxl-blog-grid {
    overflow: visible;
}

/* Isotope packs these absolute; flex keeps gutters after we cap the width */
body.page-id-18356 .pxl-blog-grid .pxl-grid-masonry {
    display: flex !important;
    flex-wrap: wrap !important;
    height: auto !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
}

body.page-id-18356 .pxl-blog-grid .pxl-grid-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 33.333% !important;
    padding: 0 24px 48px !important;
}

@media (max-width: 1024px) {
    body.page-id-18356 .pxl-blog-grid .pxl-grid-item {
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    body.page-id-18356 .pxl-blog-grid .pxl-grid-item {
        width: 100% !important;
        padding: 0 12px 32px !important;
    }
}

body.page-id-18356 .pxl-blog-grid .pxl-post--inner {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 4px 0 #0E3D2F;
    height: auto;
    margin-bottom: 0;
}

body.page-id-18356 .pxl-blog-grid .pxl-item--holder {
    padding: 28px 32px 32px !important;
}

body.page-id-18356 .pxl-blog-grid .pxl-post--title,
body.page-id-18356 .pxl-blog-grid .pxl-post--title a {
    font-family: "Bowlby One SC", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #177C5E !important;
}

body.page-id-18356 .pxl-blog-grid .pxl-post--featured img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Find Us: premium get-in-touch cards */
#pxl-content-main .pxl-getintouch {
    background: #fff;
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0 8px 24px rgba(57, 9, 32, 0.08);
    border: 1px solid rgba(57, 9, 32, 0.06);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
#pxl-content-main .pxl-getintouch:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(57, 9, 32, 0.14);
}
#pxl-content-main .pxl-getintouch .pxl-getintouch-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
#pxl-content-main .pxl-getintouch .pxl-item--icon {
    flex: 0 0 auto;
    margin-top: 0 !important;
}
#pxl-content-main .pxl-getintouch .pxl-box-content {
    flex: 1 1 auto;
}
#pxl-content-main .pxl-getintouch .pxl-title-box {
    font-family: "Bowlby One SC", sans-serif;
    font-size: 20px;
    color: #390920;
    margin-bottom: 10px;
    display: block;
    line-height: 1.2;
}
#pxl-content-main .pxl-getintouch .list-info {
    list-style: none;
    margin: 0;
    padding: 0;
}
#pxl-content-main .pxl-getintouch .item-info {
    margin-bottom: 6px;
    color: #404040;
    font-size: 16px;
    line-height: 1.5;
}
#pxl-content-main .pxl-getintouch .item-info:last-child {
    margin-bottom: 0;
}
#pxl-content-main .pxl-getintouch .item-info a,
#pxl-content-main .pxl-getintouch .item-info .pxl-text {
    color: #404040;
    text-decoration: none;
}
#pxl-content-main .pxl-getintouch .item-info a:hover {
    color: #177C5E;
}
#pxl-content-main .pxl-getintouch .pxl-cotnet-info {
    color: #404040;
    font-size: 16px;
    line-height: 1.5;
}

/* ===== Premium info cards (pxl-icon-box7) — consistent, clean ===== */
#pxl-content-main .pxl-icon-box7 {
    background: #fff;
    border-radius: 22px;
    padding: 14px 14px 40px;
    box-shadow: 0 8px 24px rgba(57, 9, 32, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
#pxl-content-main .pxl-icon-box7:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(57, 9, 32, 0.16);
}
#pxl-content-main .pxl-icon-box7 .pxl-item--image {
    max-width: 100%;
    padding: 0;
    margin-bottom: 16px;
    border-radius: 14px;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--image:before {
    display: none;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--image .inner-image {
    border-radius: 14px;
    overflow: hidden;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--title {
    font-family: "Bowlby One SC", sans-serif;
    font-size: 20px;
    margin: 0 8px;
    color: #390920;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--title a {
    color: #390920;
}
#pxl-content-main .pxl-icon-box7 .pxl-item--excerpt,
#pxl-content-main .pxl-icon-box7 .pxl-item--description {
    margin: 8px 8px 0;
    color: #404040;
    font-size: 15px;
    line-height: 1.55;
}
#pxl-content-main .pxl-icon-box7 .btn-link {
    bottom: 10px;
}
#pxl-content-main .pxl-icon-box7 .btn-link span {
    background: #177C5E;
    color: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* FAQ page: moderate section headings (override site-wide clamp) */
body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title,
body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title span {
    font-size: 36px !important;
    line-height: 1.15 !important;
}
@media (max-width: 1024px) {
    body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title,
    body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title span {
        font-size: 28px !important;
    }
}
@media (max-width: 640px) {
    body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title,
    body.page-id-18351 #pxl-content-main .pxl-heading .pxl-item--title span {
        font-size: 22px !important;
    }
}

/* FAQ page (Ilford): moderate section headings */
body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title,
body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title span {
    font-size: 36px !important;
    line-height: 1.15 !important;
}
@media (max-width: 1024px) {
    body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title,
    body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title span {
        font-size: 28px !important;
    }
}
@media (max-width: 640px) {
    body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title,
    body.page-id-18367 #pxl-content-main .pxl-heading .pxl-item--title span {
        font-size: 22px !important;
    }
}
