/*
 * Kids Life — theme.css
 * Scoped under: .template-shell.kids-life
 * Prefix: kl-
 * Visual Language: Kids Life Reference Theme
 * ─────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ──────────────────────────────────────── */
.template-shell.kids-life {
    --kl-teal:        #008c99;
    --kl-teal-dark:   #015057;
    --kl-teal-light:  #73d5f0;
    --kl-red:         #f27b81;
    --kl-mustard:     #f7c44e;
    --kl-green:       #aec158;
    --kl-yellow:      #fce480;
    --kl-blue:        #4cbcd4;
    --kl-purple:      #dd72b3;
    --kl-bg:          #f0f3f3;
    --kl-white:       #ffffff;
    --kl-text:        #5c5c5c;
    --kl-heading:     #2f2f2f;
    --kl-border:      #eaeaea;
    --kl-font-head:   'Bubblegum Sans', cursive;
    --kl-font-body:   'Lato', sans-serif;

    font-family: var(--kl-font-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--kl-text);
    background: var(--kl-bg);
}

/* ── Reset ──────────────────────────────────────────── */
.template-shell.kids-life * {
    box-sizing: border-box;
}

.template-shell.kids-life h1,
.template-shell.kids-life h2,
.template-shell.kids-life h3,
.template-shell.kids-life h4,
.template-shell.kids-life h5,
.template-shell.kids-life h6 {
    font-family: var(--kl-font-head);
    font-weight: normal;
    color: var(--kl-heading);
    margin: 0;
    padding: 0;
}

.template-shell.kids-life h1 { font-size: 32px; margin-bottom: 25px; }
.template-shell.kids-life h2 { font-size: 30px; margin-bottom: 25px; }
.template-shell.kids-life h3 { font-size: 24px; margin-bottom: 15px; }
.template-shell.kids-life h4 { font-size: 20px; margin-bottom: 20px; }

.template-shell.kids-life p {
    margin: 0 0 10px;
    padding: 0;
}

.template-shell.kids-life img {
    max-width: 100%;
    border: none;
}

.template-shell.kids-life a {
    text-decoration: none;
    color: var(--kl-teal);
    transition: color 300ms linear;
}

.template-shell.kids-life a:hover {
    color: #434343;
}

/* ── Container / Shell ──────────────────────────────── */
.template-shell.kids-life .kl-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Root ───────────────────────────────────────────── */
.template-shell.kids-life .kl-root {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--kl-bg);
}

/* ── Section spacing ────────────────────────────────── */
.template-shell.kids-life .kl-section {
    width: 100%;
    float: left;
    clear: both;
    padding: 78px 0;
}

.template-shell.kids-life .kl-section--white {
    background: var(--kl-white);
    background-image: url('./header_bg.png');
    background-repeat: repeat;
}

.template-shell.kids-life .kl-section--teal {
    background-color: var(--kl-teal);
}

/* ── Section Titles ─────────────────────────────────── */
.template-shell.kids-life .kl-title-green {
    font-family: var(--kl-font-head);
    font-size: 30px;
    color: var(--kl-heading);
    text-align: center;
    width: 100%;
    display: inline-block;
    padding: 0 0 30px;
    margin: 0 0 30px;
    background-image: url('./green_title_bg.png');
    background-position: center bottom;
    background-repeat: no-repeat;
}

.template-shell.kids-life .kl-title-white {
    font-family: var(--kl-font-head);
    font-size: 30px;
    color: var(--kl-white);
    text-align: center;
    width: 100%;
    display: inline-block;
    padding: 0 0 30px;
    margin: 0 0 30px;
    background-image: url('./white_title_bg.png');
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* ── Button ─────────────────────────────────────────── */
.template-shell.kids-life .kl-button {
    display: inline-block;
    background: var(--kl-teal);
    color: var(--kl-white);
    border-radius: 2px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--kl-font-body);
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 300ms linear;
    margin: 10px 0 0;
}

.template-shell.kids-life .kl-button:hover {
    background: #434343;
    color: var(--kl-white);
}

.template-shell.kids-life .kl-button--large {
    font-size: 20px;
    padding: 16px 25px;
}

/* ── Flower decoration ──────────────────────────────── */
.template-shell.kids-life .kl-flower {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('./flower.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */

.template-shell.kids-life .kl-hero {
    position: relative;
    width: 100%;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--kl-teal);
    background-image: url('./header_bg.png');
    background-repeat: repeat;
    padding: 0;
}

.template-shell.kids-life .kl-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.template-shell.kids-life .kl-hero--image .kl-hero__bg {
    display: block;
}

.template-shell.kids-life .kl-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.template-shell.kids-life .kl-hero--image .kl-hero__overlay {
    background: rgba(0, 80, 87, 0.55);
}

/* Flower corners */
.template-shell.kids-life .kl-hero__flower {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.template-shell.kids-life .kl-hero__flower--tl {
    top: 0;
    left: 0;
}

.template-shell.kids-life .kl-hero__flower--tr {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.template-shell.kids-life .kl-hero__flower--bl {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.template-shell.kids-life .kl-hero__flower--br {
    bottom: 0;
    right: 0;
    transform: scale(-1);
}

.template-shell.kids-life .kl-hero__flower img {
    width: 120px;
    height: auto;
    opacity: 0.7;
}

/* Hero content */
.template-shell.kids-life .kl-hero__inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 24px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.template-shell.kids-life .kl-hero__kicker {
    display: inline-block;
    background: var(--kl-mustard);
    color: #3a3a3a;
    font-family: var(--kl-font-head);
    font-size: 1rem;
    padding: 6px 20px;
    border-radius: 2px;
    letter-spacing: 0.03em;
}

.template-shell.kids-life .kl-hero__title {
    font-family: var(--kl-font-head);
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--kl-white);
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.template-shell.kids-life .kl-hero__date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--kl-white);
    font-family: var(--kl-font-head);
    font-size: 1rem;
    padding: 6px 22px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.template-shell.kids-life .kl-hero__host {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: var(--kl-font-body);
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   INFO
   ══════════════════════════════════════════════════════ */

.template-shell.kids-life .kl-info {
    background: var(--kl-white);
}

.template-shell.kids-life .kl-info__layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.template-shell.kids-life .kl-info__image {
    flex: 0 0 48%;
    max-width: 48%;
}

.template-shell.kids-life .kl-info__image img {
    width: 100%;
    height: auto;
    display: block;
}

.template-shell.kids-life .kl-info__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.template-shell.kids-life .kl-info__content--full {
    flex: 0 0 100%;
    max-width: 100%;
}

.template-shell.kids-life .kl-info__title {
    font-family: var(--kl-font-head);
    font-size: 30px;
    color: var(--kl-heading);
    margin: 0 0 16px;
}

.template-shell.kids-life .kl-info__eyebrow {
    display: block;
    font-family: var(--kl-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kl-teal);
    margin-bottom: 8px;
}

.template-shell.kids-life .kl-info__text {
    font-family: var(--kl-font-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--kl-text);
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   TIMELINE  (turquoise-bg section + type2 icon style)
   ══════════════════════════════════════════════════════ */

.template-shell.kids-life .kl-timeline {
    background-color: var(--kl-teal);
    padding: 78px 0;
}

.template-shell.kids-life .kl-timeline__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* type2 icon-content style */
.template-shell.kids-life .kl-timeline__item {
    position: relative;
    display: inline-block;
    width: 100%;
}

.template-shell.kids-life .kl-timeline__icon {
    width: 50px;
    text-align: center;
    float: left;
    margin-right: 15px;
}

.template-shell.kids-life .kl-timeline__icon-inner {
    width: 46px;
    height: 46px;
    text-align: center;
    font-size: 18px;
    line-height: 43px;
    border: 3px solid var(--kl-teal);
    background-color: var(--kl-teal);
    border-radius: 100%;
    display: inline-block;
    color: #FFFFFF;
    font-family: var(--kl-font-head);
    font-weight: normal;
    overflow: hidden;
    transition: border-color 300ms linear;
}

.template-shell.kids-life .kl-timeline__body {
    overflow: hidden;
}

.template-shell.kids-life .kl-timeline__time {
    font-family: var(--kl-font-head);
    font-size: 14px;
    color: var(--kl-mustard);
    margin: 0 0 4px;
    line-height: 40px;
}

.template-shell.kids-life .kl-timeline__title {
    font-family: var(--kl-font-head);
    font-size: 20px;
    color: var(--kl-white);
    margin-bottom: 0;
    line-height: 40px;
}

.template-shell.kids-life .kl-timeline__desc {
    font-family: var(--kl-font-body);
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.template-shell.kids-life .kl-timeline__empty {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 0.95rem;
}

/* clearfix for float layout */
.template-shell.kids-life .kl-timeline__item::after {
    content: '';
    display: table;
    clear: both;
}

/* ══════════════════════════════════════════════════════
   RSVP
   ══════════════════════════════════════════════════════ */

.template-shell.kids-life .kl-rsvp {
    background: var(--kl-white);
}

.template-shell.kids-life .kl-rsvp__intro {
    text-align: center;
    margin-bottom: 30px;
}

.template-shell.kids-life .kl-rsvp__text {
    color: var(--kl-text);
    font-size: 14px;
    line-height: 22px;
    max-width: 600px;
    margin: 0 auto;
}

.template-shell.kids-life .kl-rsvp__hint {
    color: var(--kl-text);
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
}

.template-shell.kids-life .kl-rsvp__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.template-shell.kids-life .kl-rsvp__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.template-shell.kids-life .kl-rsvp__grid--two {
    grid-template-columns: 1fr 1fr;
}

.template-shell.kids-life .kl-rsvp__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--kl-font-body);
    font-size: 14px;
    color: var(--kl-text);
}

.template-shell.kids-life .kl-rsvp__field span {
    font-weight: 700;
    color: var(--kl-heading);
}

.template-shell.kids-life .kl-rsvp__field input[type="text"],
.template-shell.kids-life .kl-rsvp__field input[type="email"],
.template-shell.kids-life .kl-rsvp__field textarea,
.template-shell.kids-life .kl-rsvp__field select {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    color: #a9a7a7;
    background: var(--kl-white);
    border: 1px solid var(--kl-border);
    outline: none;
    border-radius: 2px;
    font-family: var(--kl-font-body);
    transition: box-shadow 200ms ease;
}

.template-shell.kids-life .kl-rsvp__field input:focus,
.template-shell.kids-life .kl-rsvp__field textarea:focus {
    box-shadow: 0 0 10px #ddd;
}

.template-shell.kids-life .kl-rsvp__field textarea {
    min-height: 100px;
    resize: vertical;
}

.template-shell.kids-life .kl-rsvp__field small {
    display: block;
    margin-top: 6px;
    color: rgba(48, 59, 73, 0.72);
    font-size: .82rem;
}

.template-shell.kids-life .kl-rsvp__choice-group {
    border: none;
    padding: 0;
    margin: 0;
}

.template-shell.kids-life .kl-rsvp__choice-group legend {
    font-family: var(--kl-font-body);
    font-weight: 700;
    color: var(--kl-heading);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.template-shell.kids-life .kl-rsvp__choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--kl-border);
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--kl-font-body);
    font-size: 14px;
    color: var(--kl-text);
    background: var(--kl-white);
    transition: border-color 200ms ease, background 200ms ease;
}

.template-shell.kids-life .kl-rsvp__choice:has(input:checked) {
    border-color: var(--kl-teal);
    background: rgba(0, 140, 153, 0.05);
}

.template-shell.kids-life .kl-rsvp__choice input[type="radio"] {
    accent-color: var(--kl-teal);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.template-shell.kids-life .kl-rsvp__submit {
    display: inline-block;
    background: var(--kl-teal-dark);
    color: var(--kl-white);
    font-family: var(--kl-font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 18px 24px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 300ms linear;
    align-self: flex-start;
}

.template-shell.kids-life .kl-rsvp__submit:hover {
    background: #333334;
    color: var(--kl-white);
}

.template-shell.kids-life .kl-rsvp__status {
    background: rgba(0, 140, 153, 0.08);
    border: 1px solid var(--kl-teal);
    border-radius: 2px;
    padding: 20px 24px;
    color: var(--kl-text);
    font-family: var(--kl-font-body);
    font-size: 14px;
}

.template-shell.kids-life .kl-rsvp__secondary {
    display: inline-block;
    margin-top: 10px;
    color: var(--kl-teal);
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   MAP
   ══════════════════════════════════════════════════════ */

.template-shell.kids-life .kl-map {
    background: var(--kl-white);
}

.template-shell.kids-life .kl-map__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.template-shell.kids-life .kl-map__intro {
    text-align: center;
}

.template-shell.kids-life .kl-map__text {
    color: var(--kl-text);
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.template-shell.kids-life .kl-map__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--kl-border);
    border-radius: 2px;
    overflow: hidden;
}

.template-shell.kids-life .kl-map__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--kl-border);
    background: var(--kl-white);
    font-family: var(--kl-font-body);
    font-size: 14px;
    color: var(--kl-text);
}

.template-shell.kids-life .kl-map__row:last-child {
    border-bottom: none;
}

.template-shell.kids-life .kl-map__row-icon {
    width: 14px;
    height: 14px;
    background-image: url('./flower_blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.template-shell.kids-life .kl-map__cta {
    text-align: center;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 720px) {
    .template-shell.kids-life .kl-hero {
        min-height: 360px;
    }

    .template-shell.kids-life .kl-hero__flower img {
        width: 80px;
    }

    .template-shell.kids-life .kl-info__layout {
        flex-direction: column;
    }

    .template-shell.kids-life .kl-info__image {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }

    .template-shell.kids-life .kl-timeline__grid {
        grid-template-columns: 1fr;
    }

    .template-shell.kids-life .kl-rsvp__grid--two {
        grid-template-columns: 1fr;
    }
}
