/*
Homepage-only CSS
Generated: 2026-02-27
Extracted from consolidated CSS (ky-home / body.home / body.front-page selectors)
*/


/* ===== Home scoped rules ===== */

body:not(.home):not(.ky-home):not(.single-ky_event) .entry-content {
    padding-bottom: 40px;
}
.ky-home h5.event-teaser-date {
    font-size: 16px;
}
.ky-home h5.event-teaser-with {
    font-size: 14px;
}
.ky-home .event-teaser-image .vc_column-inner {
    padding-top: 30%;
}
.ky-home .your-support .vc_column-inner {
    padding: 0 2%;
}
body.ky-home #Content {
    padding-top: 0;
    margin-bottom: 0;
}
.home-journal .vc_gitem-zone.vc_gitem-zone-a {
    border-radius: 20px 20px 0 0;
}
.home-journal .vc_gitem-zone.vc_gitem-zone-c {
    border-radius: 0 0 20px 20px;
    padding: 10px;
}
.ky-home .home-journal p {
    font-size: 14px;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 10;   /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-journal .vc_clearfix:after, .vc_clearfix:before {
    content: "";
    display: none;
}
.home-journal .vc_pageable-slide-wrapper.vc_clearfix {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 290px;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: start;
    align-content: start;

}
.home-journal .vc_col-sm-3 {
    width:auto;
}

.ky-home .vc_row-full-width.vc_clearfix {
    margin-bottom: 0;
}
.ky-home #ky-homepage-schedule {
    padding-top: 40px;
    padding-bottom: 10px;
    background-color: #ffffff;
}
.ky-home .schedule-nav {
    margin-bottom: 30px;
}
.ky-home .home-event-teasers h2,
.ky-home h4.event-teaser-title a {
    color: #16202a;
}
.ky-home-yoga-videos {
    text-align: center;
    border: 1px #cfcfcf solid;
    background: linear-gradient(to bottom, #E4E4E4 0px, #f3f3f3 30px, #ffffff 60px, #ffffff 100%);
    padding: 90px 0 80px 0;
}
.ky-home-yoga-videos .ky-home-videos-strips {
    text-align: left;
}
.ky-home-yoga-videos h2 {
    margin: 0 0 14px 0;
}
.ky-home .ky-style-nav .ky-style-nav__chips, .ky-home .ky-style-nav .ky-style-nav__chips .ky-chip-row.ky-chip-row-scroll {
    justify-content: center;
}
.ky-home .video-series-block .ky-scroll-row {
    gap: 18px 40px;
}
.ky-home .ky-style-pill.ky-button-primary {
    min-width: 150px;
    font-size: 14px;
    line-height: 18px;
    padding-left: 10px;
    padding-right: 10px;
    /* background-color: #233a53d4; */
}
.ky-home .ky-style-nav__title {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.ky-home h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.07rem;
}

.ky-home .home-top-card h2 {
    font-size: clamp(1.35rem, 1.5rem, 1.7rem);
    line-height: 1.3;
}

/* Tablet: 2x2 */
@media (max-width: 1200px){
    .ky-hero .home-top-cards{
        grid-template-columns: repeat(2, 290px);
    }
}

/* If your event list is currently assuming white text */
@media (max-width: 767px) {
    .ky-home .ky-style-pill.ky-button-primary {
        min-width: auto;
        font-size: 12px;
        line-height: 12px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .ky-hero .home-top-cards{
        grid-template-columns: minmax(0, 290px);
        gap: 18px;
    }

    /*.ky-hero > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_row:first-child > .wpb_column > .vc_column-inner > .wpb_wrapper {
        background: #ffffffab;
        padding: 10px;
        border-radius: 22px;
        text-align: center;
    }*/
    .ky-hero .ky-subtext {
        width: 100%;
        max-width: none;
        display: none;
    }

}

/* Mobile: 1 column centered */
@media (max-width: 767px){

}

/* Tiny screens: let it shrink to viewport */
@media (max-width: 330px){
    .ky-hero .home-top-cards{
        grid-template-columns: minmax(0, 92vw);
    }
}

/* =========================
   HERO TYPOGRAPHY
========================= */

.ky-hero h1{
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 700;
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #1e2328;
    margin: 0 0 14px 0;
}

.ky-subtext{
    font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif sans-serif !important;
    font-weight: 400;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.65;
    color: rgba(30,35,40,0.80);
    max-width: 48ch;
    margin-bottom: 22px;
}


/* =========================
   HERO BACKGROUND OVERLAY
   (Optional but recommended)
========================= */

.ky-hero{
    position: relative;
    background: no-repeat;
    background-size: cover;
    background-position-x: center;
}

.ky-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.22);
    pointer-events: none;
    display: block;
}


/* =========================
   HOME TOP CARDS GRID
========================= */

/* Grid container */
.ky-hero .home-top-cards{
    display: grid !important;
    /* gap: 10px; */
    justify-content: space-between;
    grid-template-columns: repeat(4, 290px);
    margin-left: auto;
    /* margin-right: auto; */
    /* max-width: 1400px; */
    /* padding-bottom: 30px; */
}

/* Tablet: 2x2 */
@media (max-width: 1200px){
    .ky-hero .home-top-cards{
        /*grid-template-columns: repeat(2, 290px);*/
    }
}

/* Mobile: 1 column centered */
@media (max-width: 767px){
    .ky-hero .home-top-cards{
        /*grid-template-columns: minmax(0, 290px);
        gap: 18px;*/
        /* padding: 0 10px; */
    }
}

/* Tiny screens: let it shrink to viewport */
@media (max-width: 330px){
    .ky-hero .home-top-cards{
        grid-template-columns: minmax(0, 92vw);
    }
}

/* If WPBakery columns are the grid items, neutralize them */
.ky-hero .home-top-cards > *{
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
}

/* Card styling */
.ky-hero .home-top-card{
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(30,35,40,0.10);
    border-radius: 12px;
    padding: 20px 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;

    display: flex;
    flex-direction: column;

    /* Important: don't fight the grid */
    width: 100%;
    max-width: none;
}
/* Make the column's inner container a flex column */
.ky-hero .home-top-card > .vc_column-inner{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Make WPBakery wrapper stretch to fill available height */
.ky-hero .home-top-card > .vc_column-inner > .wpb_wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push the button block to the bottom */
.ky-hero .home-top-card .wpb_raw_code{
    margin-top: auto !important;
    margin-bottom: 0px;
}

/* Optional: keep the button from stretching full width */
.ky-hero .home-top-card a.ky-button-primary{
    align-self: flex-start;
}

.home-top-card .ky-button-primary,
.home-top-card a.ky-button-primary,
.home-top-card button.ky-button-primary{
    margin-top: auto !important;
}


.home-top-card h2,
.home-top-card h3{
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 700;
    font-size: clamp(20px, 1.9vw, 25px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #1e2328;
    margin: 0 0 10px 0;
}

.home-top-card p{
    font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(30,35,40,0.78);
    margin: 0 0 14px 0;
}

.home-event-teasers h2 {
    color: #ffffff;
}