/* CLAI templates — single Area, single Area Service, Areas Served Page.
   Typography and layout mirror the home-care-page-wrapper block. */

.clai-page {
    background: #fff;
}

/* ---------- Hero (featured image banner, no overlay) ---------- */
.clai-hero {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 20px;
}
.clai-hero__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1100 / 440;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- Breadcrumb (in body area) ---------- */
.clai-breadcrumb {
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    margin: 0 0 10px;
}
.clai-breadcrumb a {
    color: rgb(141, 51, 102);
    text-decoration: none;
}
.clai-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- Body title (moved out of hero) ---------- */
.clai-body-title {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    color: rgb(32, 32, 32);
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 20px;
}

/* ---------- Wrapper / two-column ---------- */
.clai-wrapper {
    background: #fff;
}
.clai-wrapper__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}
@media (min-width: 768px) {
    .clai-wrapper__inner {
        flex-direction: row;
    }
}
.clai-wrapper__inner--full {
    flex-direction: column;
}

.clai-side-left {
    width: 100%;
}
@media (min-width: 768px) {
    .clai-side-left {
        width: 70%;
    }
}

.clai-side-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
}
@media (min-width: 768px) {
    .clai-side-right {
        width: 23%;
    }
}

/* ---------- Body typography ---------- */
.clai-side-left h1,
.clai-body h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    color: rgb(32, 32, 32);
    font-size: 42px;
    line-height: 1.1;
    margin: 20px 0;
}
.clai-side-left h2,
.clai-body h2,
.clai-page h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    color: rgb(32, 32, 32);
    font-size: 36px;
    line-height: 1.1;
    margin: 20px 0;
}
.clai-side-left h3,
.clai-body h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: rgb(141, 51, 102);
    font-style: italic;
    margin: 0 0 15px;
}
.clai-side-left h4,
.clai-body h4 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: rgb(32, 32, 32);
    margin: 0 0 15px;
}
.clai-side-left p,
.clai-body p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: rgb(32, 32, 32);
    font-weight: 300;
    margin: 0 0 15px;
}
.clai-side-left p strong,
.clai-body p strong { font-weight: 400; }
.clai-side-left a,
.clai-body a {
    color: rgb(32, 32, 32);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.clai-side-left ul,
.clai-body ul {
    list-style: none;
    margin: 1em 0;
    padding-left: 30px;
}
@media (min-width: 1280px) {
    .clai-side-left ul,
    .clai-body ul { padding-left: 40px; }
}
.clai-side-left ul li,
.clai-body ul li {
    color: rgb(32, 32, 32);
    font-size: 18px;
    line-height: 26px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 300;
    position: relative;
}
@media (min-width: 1280px) {
    .clai-side-left ul li,
    .clai-body ul li {
        font-size: 20px;
        line-height: 30px;
    }
}
.clai-side-left ul li::before,
.clai-body ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(32, 32, 32);
    position: absolute;
    left: -20px;
    top: 9px;
}

/* ---------- Sidebar list (matches home-care-page-wrapper) ---------- */
.clai-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.clai-sidebar__heading {
    width: 100%;
}
.clai-sidebar__heading span {
    display: block;
    margin: 20px 0;
    color: rgb(51, 60, 78);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
}
.clai-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.clai-sidebar__list li {
    margin: 0 0 12px;
}
.clai-sidebar__list a {
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: rgb(32, 32, 32);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.clai-sidebar__list a:hover {
    border-bottom-color: rgb(141, 51, 102);
    color: rgb(141, 51, 102);
}

/* ---------- Areas grid (Areas Served Page) ---------- */
.clai-areas-grid-section {
    margin-top: 30px;
}
.clai-areas-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px) {
    .clai-areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .clai-areas-grid { grid-template-columns: repeat(3, 1fr); }
}
.clai-areas-grid__item { list-style: none; }
.clai-area-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.clai-area-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.clai-area-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #f3f3f3;
}
.clai-area-card__body {
    padding: 20px;
}
.clai-area-card__title {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: rgb(32, 32, 32);
    margin: 0 0 8px;
}
.clai-area-card__kicker {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: rgb(51, 60, 78);
    margin: 0 0 12px;
}
.clai-area-card__cta {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: rgb(141, 51, 102);
}

/* ---------- FAQs ---------- */
.clai-faqs { margin-top: 30px; }
.clai-faq {
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
}
.clai-faq summary {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    color: rgb(51, 51, 51);
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
    list-style: none;
    padding-right: 30px;
    position: relative;
}
.clai-faq summary::-webkit-details-marker { display: none; }
.clai-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    line-height: 26px;
    color: rgb(141, 51, 102);
}
.clai-faq[open] summary::after { content: '–'; }
.clai-faq__answer {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 300;
    color: rgb(32, 32, 32);
    font-size: 18px;
    line-height: 26px;
    padding-top: 10px;
}

/* ---------- CTA button ---------- */
.clai-cta { margin: 30px 0; }
.clai-cta__btn {
    display: inline-block;
    padding: 14px 28px;
    background: rgb(141, 51, 102);
    color: #fff;
    text-decoration: none;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.clai-cta__btn:hover { background: rgb(122, 41, 86); color: #fff; }

/* ---------- Misc ---------- */
.clai-empty-state {
    font-family: "Source Sans 3", sans-serif;
    color: rgb(120, 120, 120);
    font-style: italic;
    padding: 40px 0;
    text-align: center;
}
.clai-zips {
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    color: rgb(80, 80, 80);
    margin: 20px 0;
}
