/* Wellness theme — layered on top of the Classic theme styles. */

/* Warm paper background in light mode (option "paper") */
[data-bs-theme="light"] .theme-wellness.paper {
    --bs-body-bg: #faf7f2;
    --bs-tertiary-bg: #f2ede4;
    --bs-secondary-bg: #ece6da;
    --bs-border-color: #e4dccd;
    --bs-body-color: #3a3631;
    --bs-secondary-color: rgba(58, 54, 49, .72);
}
[data-bs-theme="light"] .theme-wellness.paper .card { background-color: #fffdf9; }

.theme-wellness .content-body { font-size: 1.1em; line-height: 1.8; }
.theme-wellness .site-header .navbar-brand { font-weight: 600 !important; }
.theme-wellness .site-header .navbar-brand i { color: var(--fc-accent); }
.theme-wellness .site-footer { border-top-style: dotted !important; }
.theme-wellness .btn { border-radius: 50rem; }

/* Welcome and section headings */
.well-welcome { max-width: 680px; }
.well-mark { font-size: 2rem; color: var(--fc-accent); }
.well-title { font-size: calc(1.8rem + 1.6vw); font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 1200px) { .well-title { font-size: 3.2rem; } }
.well-section { font-weight: 600; }
.well-section::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: var(--fc-accent);
    margin: .75rem auto 0;
    opacity: .6;
}

/* Cards */
.well-thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--fc-radius);
    overflow: hidden;
    background: var(--bs-secondary-bg);
}
.well-thumb-lg { aspect-ratio: 16 / 11; }
.well-thumb img { transition: transform .5s ease; }
.well-card:hover .well-thumb img,
.well-hero:hover .well-thumb img { transform: scale(1.04); }
.well-card:hover h3 a, .well-card:hover h2 a { color: var(--bs-link-color) !important; }
.well-pill {
    display: inline-block;
    padding: .15rem .65rem;
    border-radius: 50rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-weight: 500;
}
.theme-wellness .card-thumb-empty { font-size: 2.5rem; }

/* Other lists (articles, category, search) use the same card in a grid;
   give them the same spacing as the home page. */
.theme-wellness main .row[class*="row-cols"] { --bs-gutter-y: 2.5rem; }

/* Page headers read as a calm title, not a box */
.theme-wellness main > .container > header.card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Article extras: soft callouts */
.theme-wellness .content-body blockquote {
    background: var(--bs-primary-bg-subtle);
    border-left: 0 !important;
    border-radius: var(--fc-radius);
    padding: 1.25rem 1.5rem;
}
.theme-wellness .content-body h2#key-takeaways + ul {
    background: var(--bs-tertiary-bg);
    border-radius: var(--fc-radius);
    padding: 1.25rem 1.5rem 1.25rem 2.5rem;
}
.theme-wellness .article-hero { border-radius: var(--fc-radius); }

@media (prefers-reduced-motion: reduce) { .well-thumb img { transition: none; } }
