/* =========================================================
   FAMILY SUPPORT
   ========================================================= */

.fs-page,
.fs-page * {
    box-sizing: border-box;
}

.fs-page {
    background: #f8f4ee;
    color: #566d78;
}

.fs-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}


/* HERO */

.fs-hero {
    position: relative;
    overflow: hidden;

    padding: 82px 0 72px;

    background:
        radial-gradient(
            circle at 86% 12%,
            rgba(128,158,168,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(122,38,50,.07),
            transparent 27%
        ),
        linear-gradient(
            140deg,
            #faf6ef 0%,
            #f5eee6 57%,
            #eef2f1 100%
        );
}

.fs-hero-inner {
    text-align: center;
}

.fs-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    margin: 0 auto 17px;

    border: 1px solid rgba(122,38,50,.12);
    border-radius: 50%;

    background: rgba(255,255,255,.64);
    color: #812d38;
}

.fs-hero-icon svg {
    width: 38px;
    height: 38px;
}

.fs-eyebrow,
.fs-kicker {
    color: #7d969f;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .17em;
}

.fs-hero h1 {
    margin: 8px 0 15px;

    color: #721f2b;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 500;

    line-height: 1.08;
}

.fs-hero p {
    max-width: 660px;

    margin: 0 auto;

    color: #647b84;

    font-size: 16px;
    line-height: 1.7;
}

.fs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-top: 27px;
}


/* BUTTON */

.fs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 20px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}

.fs-button-primary {
    border: 1px solid #812b37;
    background: #812b37;
    color: #fff !important;
}

.fs-button-secondary {
    border: 1px solid rgba(84,108,119,.20);
    background: rgba(255,255,255,.75);
    color: #5c727c !important;
}


/* CONTENT */

.fs-content {
    padding: 70px 0 80px;
}

.fs-intro {
    max-width: 780px;

    margin-bottom: 32px;
}

.fs-intro h2 {
    margin: 6px 0 12px;

    color: #74232e;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 43px);
    font-weight: 500;

    line-height: 1.16;
}

.fs-intro p {
    margin: 0;

    max-width: 680px;

    color: #687d85;

    font-size: 14px;
    line-height: 1.7;
}


/* GRID */

.fs-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 18px;
}

.fs-card {
    position: relative;

    padding: 29px;

    border: 1px solid rgba(90,72,61,.09);
    border-radius: 23px;

    background: rgba(255,255,255,.94);

    box-shadow:
        0 9px 31px
        rgba(57,45,37,.055);
}

.fs-card-wide {
    grid-column: 1 / -1;
}

.fs-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 19px;
}

.fs-number {
    order: 2;

    color: rgba(118,42,52,.26);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
}

.fs-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 53px;
    height: 53px;

    border-radius: 16px;

    background: #f4e8e5;

    color: #893540;
}

.fs-icon svg {
    width: 32px;
    height: 32px;
}

.fs-card h3 {
    margin: 0 0 9px;

    color: #6f2731;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;

    line-height: 1.22;
}

.fs-person {
    margin: -2px 0 11px;

    color: #52727e;

    font-size: 13px;
    font-weight: 700;
}

.fs-lead {
    margin: 0 0 21px;

    color: #687d85;

    font-size: 13px;
    line-height: 1.66;
}


/* INFO */

.fs-info {
    overflow: hidden;

    border: 1px solid rgba(86,110,119,.10);
    border-radius: 15px;

    background: #f7f9f8;
}

.fs-info-row {
    display: grid;

    grid-template-columns:
        minmax(120px,.8fr)
        minmax(0,1.2fr);

    gap: 15px;

    align-items: center;

    padding: 11px 14px;

    border-bottom:
        1px solid
        rgba(85,106,114,.08);
}

.fs-info-row:last-child {
    border-bottom: 0;
}

.fs-info-row span {
    color: #819198;

    font-size: 11px;
}

.fs-info-row strong,
.fs-info-row a {
    color: #405f6c;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.45;
}

.fs-info-row a {
    color: #782d38 !important;

    text-decoration: none !important;
}

.fs-phone-row a {
    font-size: 14px;
}

.fs-wide-layout {
    display: grid;

    grid-template-columns:
        minmax(0,1.3fr)
        minmax(300px,.7fr);

    gap: 36px;

    align-items: end;
}

.fs-wide-info {
    width: 100%;
}


/* PLAN */

.fs-plan {
    display: grid;

    grid-template-columns:
        auto minmax(0,1fr) auto;

    gap: 19px;

    align-items: center;

    margin-top: 25px;

    padding: 24px 26px;

    border: 1px solid rgba(99,78,65,.09);
    border-radius: 20px;

    background:
        linear-gradient(
            110deg,
            #fff 0%,
            #fcf8f3 100%
        );

    box-shadow:
        0 8px 26px
        rgba(61,47,37,.045);
}

.fs-plan-icon {
    width: 47px;
    height: 47px;

    color: #80323c;
}

.fs-plan-icon svg {
    width: 100%;
    height: 100%;
}

.fs-plan strong,
.fs-plan span {
    display: block;
}

.fs-plan strong {
    margin-bottom: 3px;

    color: #692b34;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;
}

.fs-plan span {
    color: #75868d;

    font-size: 12px;
    line-height: 1.5;
}


/* TABLET */

@media (max-width: 850px) {

    .fs-wide-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fs-plan {
        grid-template-columns:
            auto minmax(0,1fr);
    }

    .fs-plan .fs-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* MOBILE */

@media (max-width: 680px) {

    .fs-shell {
        width: calc(100% - 28px);
    }

    .fs-hero {
        padding: 57px 0 52px;
    }

    .fs-hero h1 {
        font-size: clamp(35px, 11vw, 47px);
    }

    .fs-hero p {
        font-size: 14px;
    }

    .fs-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fs-button {
        width: 100%;
    }

    .fs-content {
        padding: 48px 0 58px;
    }

    .fs-grid {
        grid-template-columns: 1fr;
    }

    .fs-card-wide {
        grid-column: auto;
    }

    .fs-card {
        padding: 22px 20px;
    }

    .fs-card h3 {
        font-size: 21px;
    }

    .fs-info-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .fs-plan {
        display: block;

        padding: 21px 19px;
    }

    .fs-plan-icon {
        margin-bottom: 12px;
    }

    .fs-plan .fs-button {
        margin-top: 17px;
    }
}

/* =========================================================
   FINAL HOUSE STYLE ALIGNMENT
   GIMENU ATBALSTA PROGRAMMAS
   ========================================================= */

/* HERO - vienads ritms ar parejam vietnes lapam */

.fs-hero {
    padding:
        62px 0
        58px !important;
}

.fs-hero-inner {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        170px !important;

    grid-template-areas:
        "eyebrow icon"
        "title   icon"
        "text    icon"
        "actions icon" !important;

    column-gap: 70px !important;

    align-items: center !important;

    text-align: left !important;
}

.fs-hero-icon {
    grid-area: icon !important;

    width: 92px !important;
    height: 92px !important;

    margin: 0 auto !important;

    border-color:
        rgba(122,38,50,.10) !important;

    background:
        rgba(255,255,255,.52) !important;
}

.fs-hero-icon svg {
    width: 50px !important;
    height: 50px !important;
}

.fs-eyebrow {
    grid-area: eyebrow !important;
}

.fs-hero h1 {
    grid-area: title !important;

    max-width: 760px !important;

    margin:
        9px 0
        17px !important;

    font-size:
        clamp(44px, 4.5vw, 63px) !important;

    line-height: 1.04 !important;
}

.fs-hero p {
    grid-area: text !important;

    max-width: 720px !important;

    margin: 0 !important;

    font-size: 17px !important;

    line-height: 1.7 !important;
}

.fs-hero-actions {
    grid-area: actions !important;

    justify-content: flex-start !important;

    margin-top: 26px !important;
}


/* GALVENAIS SATURS */

.fs-content {
    padding:
        62px 0
        76px !important;
}

.fs-intro {
    max-width: 850px !important;

    margin-bottom: 34px !important;
}

.fs-intro h2 {
    font-size:
        clamp(34px, 3.4vw, 45px) !important;
}

.fs-intro p {
    max-width: 760px !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


/* KARTITES */

.fs-card {
    padding: 31px !important;
}

.fs-card h3 {
    font-size: 25px !important;

    line-height: 1.22 !important;
}

.fs-person {
    font-size: 14px !important;
}

.fs-lead {
    font-size: 15px !important;

    line-height: 1.68 !important;
}


/* INFORMACIJAS BLOKI */

.fs-info-row {
    padding:
        13px
        15px !important;
}

.fs-info-row span {
    font-size: 12px !important;

    line-height: 1.4 !important;
}

.fs-info-row strong,
.fs-info-row a {
    font-size: 14px !important;

    line-height: 1.45 !important;
}

.fs-phone-row a {
    font-size: 16px !important;
}


/* APAKSEJAIS AKTIVITASU PLANS */

.fs-plan {
    padding:
        27px
        29px !important;
}

.fs-plan strong {
    font-size: 19px !important;
}

.fs-plan span {
    font-size: 14px !important;

    line-height: 1.55 !important;
}


/* TABLET */

@media (max-width: 900px) {

    .fs-hero-inner {
        grid-template-columns:
            minmax(0,1fr)
            110px !important;

        column-gap: 35px !important;
    }

    .fs-hero-icon {
        width: 78px !important;
        height: 78px !important;
    }

}


/* MOBILE */

@media (max-width: 680px) {

    .fs-hero {
        padding:
            45px 0
            44px !important;
    }

    .fs-hero-inner {
        display: block !important;

        text-align: left !important;
    }

    .fs-hero-icon {
        width: 58px !important;
        height: 58px !important;

        margin:
            0 0
            17px !important;
    }

    .fs-hero-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .fs-hero h1 {
        font-size:
            clamp(36px, 10.5vw, 47px) !important;
    }

    .fs-hero p {
        font-size: 15px !important;
    }

    .fs-hero-actions {
        display: grid !important;

        grid-template-columns: 1fr !important;
    }

    .fs-card {
        padding:
            24px
            21px !important;
    }

    .fs-card h3 {
        font-size: 23px !important;
    }

    .fs-lead {
        font-size: 15px !important;
    }

    .fs-info-row span {
        font-size: 12px !important;
    }

    .fs-info-row strong,
    .fs-info-row a {
        font-size: 14px !important;
    }

}


/* =========================================================
   HERO FINAL - VIENOTS AR AKTIVITASU PLANA LAPU
   ========================================================= */

.fs-hero {
    padding: 61px 0 58px !important;

    background:
        linear-gradient(
            110deg,
            #faf6ef 0%,
            #f8f2eb 66%,
            #f5efe8 100%
        ) !important;
}

.fs-hero-layout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        270px !important;

    gap: 70px !important;

    align-items: center !important;
}

.fs-hero-main {
    text-align: left !important;
}

.fs-eyebrow {
    color: #b37072 !important;

    font-size: 11px !important;
    font-weight: 800 !important;

    letter-spacing: .18em !important;
}

.fs-hero h1 {
    max-width: 760px !important;

    margin:
        9px 0
        26px !important;

    color: #7a1f2a !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        clamp(39px, 3.8vw, 50px) !important;

    font-weight: 600 !important;

    line-height: 1.07 !important;
}

.fs-hero-lead {
    max-width: 760px !important;

    margin: 0 !important;

    color: #5d7886 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 20px !important;

    line-height: 1.55 !important;
}


/* INFO ROW */

.fs-hero-points {
    display: flex !important;

    flex-wrap: wrap !important;

    gap:
        22px
        36px !important;

    margin-top: 29px !important;
}

.fs-hero-point {
    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    min-width: 190px !important;
}

.fs-hero-point-icon {
    display: flex !important;

    flex: 0 0 52px !important;

    align-items: center !important;
    justify-content: center !important;

    width: 52px !important;
    height: 52px !important;

    border-radius: 50% !important;
}

.fs-hero-point-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.fs-hero-point-blue {
    background: #e7f1f4 !important;
    color: #568094 !important;
}

.fs-hero-point-red {
    background: #f6e5e6 !important;
    color: #ad4f5c !important;
}

.fs-hero-point-green {
    background: #edf2e6 !important;
    color: #6c8150 !important;
}

.fs-hero-point strong,
.fs-hero-point span {
    display: block !important;
}

.fs-hero-point strong {
    margin-bottom: 3px !important;

    color: #355769 !important;

    font-size: 14px !important;

    line-height: 1.3 !important;
}

.fs-hero-point span {
    color: #8b9ba3 !important;

    font-size: 12px !important;

    line-height: 1.4 !important;
}


/* RIGHT SIDE */

.fs-hero-side {
    align-self: center !important;

    text-align: center !important;
}

.fs-script {
    color: #527b90 !important;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive !important;

    font-size: 39px !important;

    font-style: italic !important;

    line-height: 1.32 !important;

    transform: rotate(-3deg);
}

.fs-side-words {
    display: flex !important;

    flex-direction: column !important;

    gap: 7px !important;

    margin-top: 27px !important;
}

.fs-side-words span {
    color: #bf8581 !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    letter-spacing: .22em !important;
}


/* MOBILE */

@media (max-width: 760px) {

    .fs-hero {
        padding:
            43px 0
            46px !important;
    }

    .fs-hero-layout {
        display: block !important;
    }

    .fs-hero h1 {
        margin-bottom: 18px !important;

        font-size:
            clamp(35px, 10.5vw, 45px) !important;
    }

    .fs-hero-lead {
        font-size: 17px !important;
    }

    .fs-hero-points {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 14px !important;

        margin-top: 25px !important;
    }

    .fs-hero-point {
        min-width: 0 !important;
    }

    .fs-hero-side {
        margin-top: 34px !important;

        text-align: left !important;
    }

    .fs-script {
        font-size: 31px !important;
    }

    .fs-side-words {
        flex-direction: row !important;

        flex-wrap: wrap !important;

        gap:
            7px
            15px !important;

        margin-top: 18px !important;
    }

}

