:root {
    --celp-brand: #3b7070;
    --celp-brand-dark: #2f5d5d;
    --celp-soft: #eef6f3;
    --celp-cream: #fbf8f1;
    --celp-card: #ffffff;
    --celp-text: #253238;
    --celp-muted: #647176;
    --celp-border: rgba(59, 112, 112, .16);
    --celp-shadow: 0 14px 38px rgba(28, 54, 54, .08);
    --celp-radius: 22px;
}

.celp-landing { color: var(--celp-text); }
.celp-landing h1,
.celp-landing h2,
.celp-landing h3 { color: var(--celp-text); }

.celp-hero {
    padding: clamp(34px, 5vw, 76px) 0;
    background: linear-gradient(135deg, #f3f8f5 0%, #fbf7ec 100%);
    overflow: hidden;
	border-radius: 20px;
}
.celp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}
.celp-hero__content { max-width: 680px; padding: 60px; }
.celp-hero__eyebrow,
.celp-section__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--celp-brand);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.celp-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}
.celp-hero__description {
    max-width: 620px;
    color: var(--celp-muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}
.celp-hero__description p:last-child { margin-bottom: 0; }
.celp-hero__cta { margin-top: 28px; }
.celp-hero__media { text-align: center; }
.celp-hero__media img {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: contain;
    margin: 0 auto;
}

.celp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    border: 2px solid var(--celp-brand);
    border-radius: 999px;
    background: var(--celp-brand);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.celp-button:hover {
    background: var(--celp-brand-dark);
    border-color: var(--celp-brand-dark);
    transform: translateY(-1px);
}
.celp-button--outline {
    background: transparent;
    color: var(--celp-brand) !important;
}
.celp-button--outline:hover { color: #fff !important; }

.celp-section { padding: clamp(46px, 6vw, 84px) 0; }
.celp-section__header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}
.celp-section__header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.celp-category-section { background: #fff; }
.celp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.celp-category-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.celp-category-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.celp-category-grid--1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.celp-category-card {
    overflow: hidden;
    border: 1px solid var(--celp-border);
    border-radius: var(--celp-radius);
    background: var(--celp-card);
    box-shadow: var(--celp-shadow);
}
.celp-category-card__image {
    aspect-ratio: 1 / 1;
    background: var(--celp-soft);
    overflow: hidden;
}
.celp-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}
.celp-category-card:hover .celp-category-card__image img { transform: scale(1.025); }
.celp-category-card__body { padding: 22px; }
.celp-category-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.celp-category-card__description { color: var(--celp-muted); line-height: 1.6; min-height: 52px; }
.celp-category-card__description p:last-child { margin-bottom: 0; }
.celp-category-card .celp-button { margin-top: 18px; }


.celp-products-section ul.products { margin-bottom: 0; }
.celp-products-section ul.products li.product {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}
.celp-products-section .woocommerce-loop-product__title { padding-left: 14px !important; padding-right: 14px !important; }
.celp-products-section .price { display: block; padding-left: 14px; padding-right: 14px; padding-bottom: 16px; }
.celp-products-section .button { margin-left: 14px !important; margin-right: 14px !important; margin-bottom: 16px !important; }
.celp-pagination { margin-top: 36px; }

.celp-events-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.celp-event-card {
    overflow: hidden;
    border: 1px solid var(--celp-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(28, 54, 54, .07);
    text-align: left;
}
.celp-event-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--celp-soft);
}
.celp-event-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.celp-event-card__placeholder { display: block; width: 100%; height: 100%; background: var(--celp-soft); }
.celp-event-card__title { margin: 14px 14px 6px; font-size: 1rem; line-height: 1.3; }
.celp-event-card__title a { color: var(--celp-text); text-decoration: none; }
.celp-event-card__link { display: inline-block; margin: 0 14px 16px; color: var(--celp-brand); text-decoration: none; font-weight: 700; font-size: .9rem; }

.celp-events-calendar-header { margin-bottom: 24px; }
.celp-events-calendar-months { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.celp-events-calendar-header a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--celp-brand);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.celp-events-calendar-header a:hover,
.celp-events-calendar-header .is-active { background: var(--celp-brand-dark); }
.celp-events-calendar-navigation { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }

@media (max-width: 768px) {

    /* HERO: attēls pirmais, saturs zem tā */
    .celp-hero__inner {
        grid-template-columns: 1fr;
    }

    .celp-hero__media {
        order: 1;
        max-width: 560px;
        margin: 0 auto 24px;
    }

    .celp-hero__content {
        order: 2;
        text-align: center;
        margin: 0 auto;
		padding: 0 60px 60px 60px;
    }

    /* Mobilajā paslēpjam eyebrow */
    .celp-hero__eyebrow {
        display: none;
    }

    .celp-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    /* Tagi/kategorijas mobilajā 2 kolonnās */
    .celp-category-grid,
    .celp-category-grid--3,
    .celp-category-grid--2,
    .celp-category-grid--1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

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

}
@media (max-width: 520px) {

    .celp-category-card__body {
        padding: 14px;
    }

    .celp-category-card h3 {
        font-size: 1rem;
        margin-bottom: 7px;
    }

    .celp-category-card__description {
        font-size: .88rem;
        line-height: 1.45;
        min-height: 0;
    }

    .celp-category-card .celp-button {
        margin-top: 12px;
        min-height: 40px;
        padding: 8px 13px;
        font-size: .85rem;
    }
}