@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Theme colors (--color-primary/--color-secondary/--color-button-bg/--color-button-text)
   are declared per-site in base.html's inline <style> block, via site_color() in
   app/services/theming.py (Site column, falling back to its SiteTheme column, falling
   back to a hardcoded default here of the real healthyapple.co brand palette: olive/tan
   #94813c (the color actually used across the reference site's buttons, hover states and
   headings) and lighter gold-tan #c3ae64 (the "Interesting World" section background and
   the line-bar gradient). No :root block here - this file loads after that inline <style>
   in <head>, so a same-specificity :root rule here would always win the cascade and
   silently override every dynamic value, regardless of what's set in the DB. */

/* -------------------------------------------------------------------- */
/* Reset (ported from enginex-healthyapple.co assets/css/base/_healthyApple.scss) */
/* -------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    font-weight: 400;
}
body {
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    color: #1f1f1f;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

.content-wrapper {
    max-width: 1403px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}
@media (max-width: 1535px) {
    .content-wrapper { max-width: 1076px; }
}
@media (max-width: 1028px) {
    .content-wrapper { width: 98%; }
}
@media (max-width: 920px) {
    .content-wrapper { width: 97%; }
}
@media (max-width: 765px) {
    .content-wrapper { width: 93%; }
}

article figure { overflow: hidden; }
article figure img { transition: all 0.2s ease; }
article:hover figure img { transform: scale(1.1); }

.line-bar {
    width: 100%;
    background: linear-gradient(to left, #ffeba4 75%, var(--color-secondary, #c3ae64) 25%);
    height: 6px;
    margin: 15px 0;
}

/* -------------------------------------------------------------------- */
/* Header */
/* -------------------------------------------------------------------- */
.header {
    position: relative;
    border-bottom: 1px solid #b2b2b2;
    margin: auto;
    padding: 20px 0;
    width: 90%;
    background-color: #fff;
}
@media (max-width: 1535px) {
    .header { width: 95%; padding: 10px 0; }
}
.header .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header .hamburger {
    width: 30px;
    height: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
    display: block;
}
.header-logo {
    width: 213px;
}
@media (max-width: 1535px) {
    .header-logo { width: 175px; }
}
@media (max-width: 765px) {
    .header-logo { margin: 0; width: 155px; }
}
.header-logo img { width: 100%; display: block; }

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.header-search-input {
    display: none;
    width: 220px;
    max-width: 55vw;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0 45px 0 18px;
    font-size: 13px;
    color: #333;
    background: #f9f9f9;
}
.header-search-input.active { display: block; }
@media (max-width: 765px) {
    .header-search-input { width: 150px; }
}
.search-toggle {
    width: 33px;
    height: 33px;
    cursor: pointer;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1535px) {
    .search-toggle { width: 25px; height: 25px; }
}
.search-toggle img { width: 100%; display: block; }
.header-search-form .header-search-input.active ~ .search-toggle,
.header-search-form:has(.header-search-input.active) .search-toggle {
    position: absolute;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-button-bg, #94813c);
    padding: 7px;
}

.header-content {
    text-align: center;
    padding: 30px 0px 20px;
}
.header-content .purpose {
    display: inline-block;
    letter-spacing: 8px;
    font-size: 20px;
    word-spacing: 7px;
    color: #6b6b6b;
}
@media (max-width: 1535px) {
    .header-content .purpose { font-size: 16px; letter-spacing: 5px; word-spacing: 4px; }
}
@media (max-width: 765px) {
    .header-content .purpose { font-size: 12px; letter-spacing: 4px; }
}
.header-content .heading {
    font-size: 56px;
    font-weight: 700;
    margin-top: 10px;
}
@media (max-width: 1535px) {
    .header-content .heading { font-size: 46px; }
}
@media (max-width: 920px) {
    .header-content .heading { font-size: 38px; }
}
@media (max-width: 765px) {
    .header-content .heading { font-size: 34px; }
}

/* -------------------------------------------------------------------- */
/* Hero (featured-article carousel with a parchment caption card) */
/* -------------------------------------------------------------------- */
.hero-sec {
    margin-top: 20px;
}
.hero-sec .content-wrapper {
    overflow-x: hidden;
}
@media (max-width: 765px) {
    .hero-sec .content-wrapper { width: 100%; }
}
.hero-sec .carousel {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 80px;
}
.hero-sec .carousel article { position: relative; }
.hero-sec .carousel article a { display: block; }
.hero-sec .carousel figure {
    height: 75vh;
}
@media (max-width: 1535px) {
    .hero-sec .carousel figure { height: 65vh; }
}
@media (max-width: 765px) {
    .hero-sec .carousel figure { height: 45vh; }
}
.hero-sec .carousel figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-sec .hero-content {
    width: 48%;
    position: absolute;
    right: 60px;
    bottom: -80px;
}
@media (max-width: 1535px) {
    .hero-sec .hero-content { right: 40px; width: 45%; }
}
@media (max-width: 920px) {
    .hero-sec .hero-content { width: 60%; }
}
@media (max-width: 765px) {
    .hero-sec .hero-content { left: 3%; width: 83%; bottom: -60px; }
}
.hero-sec .hero-content.static {
    position: relative;
    right: auto;
    bottom: auto;
    width: 60%;
    margin: 0 auto 40px;
}
@media (max-width: 765px) {
    .hero-sec .hero-content.static { width: 92%; left: auto; }
}
.hero-sec .inside-content {
    padding: 50px;
    background-image: url('../images/hero-content-bg.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}
@media (max-width: 1535px) {
    .hero-sec .inside-content { padding: 30px 50px; }
}
@media (max-width: 765px) {
    .hero-sec .inside-content { padding: 30px; }
}
.hero-sec .inside-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .hero-sec .inside-content h1 { font-size: 38px; line-height: 1.15; }
}
@media (max-width: 765px) {
    .hero-sec .inside-content h1 { font-size: 30px; line-height: 1.2; }
}
.hero-sec .inside-content p {
    width: 80%;
    margin-top: 30px;
    line-height: 1.3;
    font-size: 21px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .hero-sec .inside-content p { font-size: 18px; margin-top: 20px; }
}
@media (max-width: 765px) {
    .hero-sec .inside-content p { font-size: 16px; margin-top: 15px; width: 95%; }
}
.hero-sec .hero-line {
    height: 16px;
    width: 100%;
    background: linear-gradient(to left, #ffeba4 75%, var(--color-secondary, #c3ae64) 25%);
}
@media (max-width: 1535px) {
    .hero-sec .hero-line { height: 8px; }
}
.hero-sec--empty {
    background-color: #f9f9f9;
    padding: 80px 0;
}
.hero-sec--empty .hero-content.static .inside-content h1 { -webkit-line-clamp: unset; }
.hero-sec--empty .hero-content.static .inside-content p { -webkit-line-clamp: unset; width: 100%; }

.hero-sec .slick-prev, .hero-sec .slick-next {
    top: auto;
    bottom: 45px;
    transform: none;
    z-index: 50;
}
.hero-sec .slick-prev {
    left: 0;
    padding: 20px;
    background-color: var(--color-primary, #94813c);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.hero-sec .slick-next {
    left: 44px;
    padding: 20px;
    background-color: var(--color-primary, #94813c);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
@media (max-width: 765px) {
    .hero-sec .slick-prev, .hero-sec .slick-next { left: auto; right: 5%; }
    .hero-sec .slick-prev { bottom: 68px; }
    .hero-sec .slick-next{
        bottom: 24px;
    }
}
.hero-sec .slick-prev:hover, .hero-sec .slick-next:hover {
    background-color: var(--color-secondary, #c3ae64);
}
.hero-sec .slick-next:before {
    content: "" !important;
    background: url('../images/slick-next.png') no-repeat center / contain;
    width: 9px;
    height: 17px;
    position: absolute;
}
.hero-sec .slick-prev:before {
    content: "" !important;
    background: url('../images/slick-prev.png') no-repeat center / contain;
    width: 9px;
    height: 17px;
    position: absolute;
}
.hero-sec .slick-list { padding: 0 !important; overflow: visible !important; }

/* -------------------------------------------------------------------- */
/* Latest stories */
/* -------------------------------------------------------------------- */
.latest-stories-sec { margin-top: 50px; }
.latest-stories-sec .articles-list {
    margin-top: 60px;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1535px) {
    .latest-stories-sec .articles-list { margin-top: 40px; grid-gap: 15px; }
}
@media (max-width: 765px) {
    .latest-stories-sec .articles-list { grid-template-columns: 1fr; }
    .latest-stories-sec article figure { min-height: unset !important; }
}
.latest-stories-sec article figure { min-height: 377px; }
.latest-stories-sec article figure img { width: 100%; height: 100%; object-fit: cover; }
.latest-stories-sec article .content {
    width: 75%;
    background-color: #fff;
    position: relative;
    margin-top: -120px;
    padding: 40px 20px;
    border: 1px solid rgba(128, 128, 128, 0.114);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}
@media (max-width: 1535px) {
    .latest-stories-sec article .content { margin-top: -185px; padding: 25px 20px; }
}
@media (max-width: 920px) {
    .latest-stories-sec article .content { margin-top: -230px; padding: 20px; }
}
@media (max-width: 765px) {
    .latest-stories-sec article .content { margin-top: 0px; padding: 40px 20px; width: 100%; }
}
.latest-stories-sec article .content h4 {
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .latest-stories-sec article .content h4 { font-size: 24px; line-height: 26px; }
}
@media (max-width: 920px) {
    .latest-stories-sec article .content h4 { font-size: 18px; }
}
.latest-stories-sec article .content .line-bar { width: 80%; margin: 25px 0; }
@media (max-width: 1535px) {
    .latest-stories-sec article .content .line-bar { margin: 15px 0; }
}
.latest-stories-sec article .content p {
    width: 90%;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .latest-stories-sec article .content p { font-size: 16px; width: 100%; }
}
@media (max-width: 920px) {
    .latest-stories-sec article .content p { font-size: 14px; }
}
.read-more-btn {
    display: inline-block;
    color: var(--color-primary, #94813c);
    text-transform: uppercase;
    margin-top: 25px;
    letter-spacing: 4px;
    font-size: 13px;
    position: relative;
    font-weight: 600;
}
@media (max-width: 1535px) {
    .read-more-btn { font-size: 12px; }
}
.read-more-btn:after {
    content: "";
    background: url('../images/right-nav.png') no-repeat center / contain;
    width: 20px;
    height: 10px;
    display: inline-block;
    margin-left: 5px;
    animation: nav-arrow 0.8s infinite;
}
@keyframes nav-arrow {
    0% { margin-left: 20px; }
    50% { margin-left: 0; }
    100% { margin-left: 20px; }
}

/* -------------------------------------------------------------------- */
/* Reader's Picks */
/* -------------------------------------------------------------------- */
.readers-pic-sec { margin-top: 120px; }
@media (max-width: 1535px) {
    .readers-pic-sec { margin-top: 80px; }
}
@media (max-width: 412px) {
    .readers-pic-sec { margin-top: 40px; }
}
.readers-pic-sec .articles-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    @media (max-width: 1024px) {
        gap: 15px;
    }
}
@media (max-width: 765px) {
    .readers-pic-sec .articles-list { flex-direction: column; }
}
.readers-pic-sec .left-articles { flex: 0 0 40%; }
.readers-pic-sec .left-articles figure { height: 550px; }
@media (max-width: 1535px) {
    .readers-pic-sec .left-articles figure { height: 450px; }
}
@media (max-width: 765px) {
    .readers-pic-sec .left-articles figure { height: 320px; }
}
.readers-pic-sec .left-articles figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.readers-pic-sec .left-articles h3 {
    font-size: 61px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 30px;
}
@media (max-width: 1535px) {
    .readers-pic-sec .left-articles h3 { font-size: 38px; margin-top: 20px; }
}
@media (max-width: 920px) {
    .readers-pic-sec .left-articles h3 { font-size: 32px; }
}
.readers-pic-sec .left-articles .line-bar { width: 80%; }
.readers-pic-sec .left-articles p { font-size: 21px; line-height: 1.3; }
@media (max-width: 1535px) {
    .readers-pic-sec .left-articles p { font-size: 18px; }
}
.readers-pic-sec .right-articles {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 765px) {
    .readers-pic-sec .right-articles { margin-top: 25px; }
}
.readers-pic-sec .right-articles article a { display: flex; }
@media (max-width: 765px) {
    .readers-pic-sec .right-articles article { margin-bottom: 20px; }
}
.readers-pic-sec .right-articles figure { flex: 0 0 45%; height: 279px; }
@media (max-width: 1535px) {
    .readers-pic-sec .right-articles figure { height: 210px; }
}
@media (max-width: 765px) {
    .readers-pic-sec .right-articles figure { height: 161px; }
}
.readers-pic-sec .right-articles figure img { width: 100%; height: 100%; object-fit: cover; }
.readers-pic-sec .right-articles .content { flex: 0 1 50%; margin-left: 40px; }
@media (max-width: 1535px) {
    .readers-pic-sec .right-articles .content { margin-left: 15px; }
}
.readers-pic-sec .right-articles .content h5 {
    font-size: 43px;
    margin-top: -10px;
    font-weight: 700;
    line-height: 48px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .readers-pic-sec .right-articles .content h5 { font-size: 28px; line-height: 32px; margin-top: -5px; }
}
@media (max-width: 920px) {
    .readers-pic-sec .right-articles .content h5 { font-size: 22px; line-height: 26px; }
}
.readers-pic-sec .right-articles .content .line-bar { width: 80%; margin: 20px 0; }
.readers-pic-sec .right-articles .content p {
    font-size: 21px;
    width: 75%;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .readers-pic-sec .right-articles .content p { font-size: 18px; }
}
@media (max-width: 765px) {
    .readers-pic-sec .right-articles .content p { width: 100%; font-size: 15px; }
}

/* -------------------------------------------------------------------- */
/* Interesting World carousel */
/* -------------------------------------------------------------------- */
.interesting-world-sec {
    margin-top: 120px;
    background-color: #c3ae64;
    padding: 100px 0;
}
@media (max-width: 765px) {
    .interesting-world-sec { margin-top: 40px; padding: 60px 0 100px; }
}
.interesting-world-sec .header-content .purpose,
.interesting-world-sec .header-content .heading { color: #fff; }
.interesting-world-sec .carousel { width: 100%; margin: 40px auto 0; position: relative; }
.interesting-world-sec .carousel article { margin-right: 25px; }
@media (max-width: 765px) {
    .interesting-world-sec .carousel article { margin-right: 10px; }
}
.interesting-world-sec .carousel figure { height: 377px; }
@media (max-width: 1535px) {
    .interesting-world-sec .carousel figure { height: 277px; }
}
.interesting-world-sec .carousel figure img { width: 100%; height: 100%; object-fit: cover; }
.interesting-world-sec .carousel .content {
    width: 90%;
    min-height: 295px;
    background-color: #fff;
    position: relative;
    margin-top: -120px;
    margin-left: 5%;
    padding: 40px 20px;
    border: 1px solid rgba(128, 128, 128, 0.114);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}
@media (max-width: 1535px) {
    .interesting-world-sec .carousel .content { padding: 25px 20px; min-height: 265px; min-height: fit-content;
 }
}
@media (max-width: 920px) {
    .interesting-world-sec .carousel .content { padding: 20px 15px; }
}
.interesting-world-sec .carousel .content h4 {
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .interesting-world-sec .carousel .content h4 { font-size: 26px; line-height: 32px; }
}
@media (max-width: 920px) {
    .interesting-world-sec .carousel .content h4 { font-size: 20px; line-height: 22px; }
}
.interesting-world-sec .carousel .content p {
    width: 90%;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .interesting-world-sec .carousel .content p { font-size: 16px; }
}
@media (max-width: 920px) {
    .interesting-world-sec .carousel .content p { width: 100%; }
}
.interesting-world-sec .slick-prev, .interesting-world-sec .slick-next {
    transform: none;
    z-index: 50;
    top: 32%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.interesting-world-sec .slick-prev { left: -3%; }
.interesting-world-sec .slick-next { right: -3%; }
@media (max-width: 920px) {
    .interesting-world-sec .slick-prev { left: 20%; top: 108%; }
    .interesting-world-sec .slick-next { right: 20%; top: 108%; }
}
@media (max-width: 765px) {
    .interesting-world-sec .slick-prev { left: 38%; }
    .interesting-world-sec .slick-next { right: 38%; }
}
.interesting-world-sec .slick-next:before {
    content: "" !important;
    background: url('../images/nav-right-middle.png') no-repeat center / cover;
    width: 45px;
    height: 45px;
    position: absolute;
}
@media (max-width: 1535px) {
    .interesting-world-sec .slick-next:before,
    .interesting-world-sec .slick-prev:before { width: 38px; height: 38px; }
}
.interesting-world-sec .slick-prev:before {
    content: "" !important;
    background: url('../images/nav-left-middle.png') no-repeat center / cover;
    width: 45px;
    height: 45px;
    position: absolute;
}
.interesting-world-sec .slick-list { padding: 0 !important; }

/* -------------------------------------------------------------------- */
/* Popular Right Now */
/* -------------------------------------------------------------------- */
.popular-sec { margin-top: 80px; }
.popular-sec .articles-list { margin-top: 60px; }
@media (max-width: 1535px) {
    .popular-sec .articles-list { margin-top: 40px; }
}
@media (max-width: 765px) {
    .popular-sec .articles-list { margin-top: 20px; }
}
.popular-sec article {
    margin-bottom: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}
.popular-sec .each-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 765px) {
    .popular-sec .each-article { flex-direction: column; }
}
.popular-sec figure { flex: 0 0 50%; height: 321px; }
@media (max-width: 1535px) {
    .popular-sec figure { height: 230px; }
}
@media (max-width: 765px) {
    .popular-sec figure { flex: 0 0 100%; height: 321px; }
}
.popular-sec figure img { width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
.popular-sec .content { flex: 0 0 48%; padding-left: 20px; }
@media (max-width: 765px) {
    .popular-sec .content { flex: 0 0 100%; padding: 25px 15px; }
}
.popular-sec .content h5 {
    font-size: 32px;
    font-weight: 700;
    width: 90%;
    line-height: 40px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .popular-sec .content h5 { font-size: 26px; line-height: 32px; }
}
@media (max-width: 920px) {
    .popular-sec .content h5 { font-size: 20px; }
}
.popular-sec .content .line-bar { width: 40%; margin: 20px 0; }
.popular-sec .content p {
    font-size: 21px;
    line-height: 1.4;
    width: 90%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .popular-sec .content p { font-size: 17px; }
}
.popular-sec article:nth-child(even) .each-article { flex-direction: row-reverse; }
@media (max-width: 765px) {
    .popular-sec article:nth-child(even) .each-article { flex-direction: column; }
}

/* -------------------------------------------------------------------- */
/* Home form (bottom search prompt) */
/* -------------------------------------------------------------------- */
.home-form-sec { margin-top: 100px; text-align: center; }
.home-form-sec h2 {
    font-size: 31px;
    color: var(--color-primary, #94813c);
}
@media (max-width: 1535px) {
    .home-form-sec h2 { font-size: 28px; }
}
@media (max-width: 765px) {
    .home-form-sec h2 { font-size: 19px; }
}
.home-form-sec form {
    width: 60%;
    margin: 20px auto 0;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 10px;
}
@media (max-width: 765px) {
    .home-form-sec form { width: 90%; }
}
.home-form-sec form input {
    display: block;
    width: 95%;
    outline: none;
    border: none;
    font-size: 15px;
}
.home-form-sec form button { background: none; outline: none; border: none; display: block; cursor: pointer; }
.home-form-sec form button img { width: 32px; }
@media (max-width: 1535px) {
    .home-form-sec form button img { width: 24px; }
}
.home-form-sec span {
    display: block;
    width: 65%;
    margin: 80px auto 0;
    text-align: center;
    font-size: 21px;
    line-height: 1.3;
}
@media (max-width: 1535px) {
    .home-form-sec span { font-size: 18px; width: 80%; margin-top: 40px; }
}
.home-form-sec span a { display: inline-block; font-weight: 700; }
.home-form-sec .line { width: 48%; margin: 30px auto 0; border-bottom: 2px solid #000; }
.home-form-sec small { display: block; text-align: center; margin-top: 40px; color: #999; }

/* -------------------------------------------------------------------- */
/* Footer */
/* -------------------------------------------------------------------- */
.footer-section { background-color: #524825; padding: 25px 0; text-align: center; margin-top: 50px; }
.footer-section .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}
.footer-section .footer-links a { color: #fff; font-size: 14px; white-space: nowrap; }
.footer-section .footer-links a:hover { color: var(--color-secondary, #c3ae64); }
.footer-section .footer-logo { width: 130px; margin: 0 auto 15px; display: block; }
.footer-section .footer-copy { max-width: 700px; margin: 0 auto; color: #d8d0bb; font-size: 13px; line-height: 1.5; }
.footer-section .footer-copy a { color: #fff; font-weight: 600; }

/* -------------------------------------------------------------------- */
/* Single article */
/* -------------------------------------------------------------------- */
.article-sec-content { margin-top: 30px; }
.article-sec-content .content-wrapper { width: 60%; margin: auto; }
@media (max-width: 765px) {
    .article-sec-content .content-wrapper { width: 95%; }
}
.article-sec-content .title-heading {
    font-size: 55px;
    margin: auto;
    font-weight: 700;
    width: 90%;
    text-align: center;
    line-height: 64px;
    color: var(--color-primary, #94813c);
}
@media (max-width: 1535px) {
    .article-sec-content .title-heading { font-size: 42px; line-height: 48px; }
}
@media (max-width: 765px) {
    .article-sec-content .title-heading { font-size: 32px; line-height: 38px; width: 100%; }
}
.article-sec-content .article-author { text-align: center; color: #6b6b6b; font-size: 14px; margin-top: 15px; }
.article-sec-content figure { margin: 30px auto 0; }
@media (max-width: 765px) {
    .article-sec-content figure { height: 320px; width: 100%; }
}
.article-sec-content figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 765px) {
    .article-sec-content figure img { border-radius: 20px; }
}
.article-sec-content p { font-size: 23px; line-height: 40px; margin-top: 40px; }
@media (max-width: 1535px) {
    .article-sec-content p { font-size: 19px; margin-top: 35px; line-height: 32px; }
}
.article-sec-content h2, .article-sec-content h3, .article-sec-content h4 {
    font-size: 30px;
    line-height: 40px;
    margin-top: 40px;
    font-weight: 600;
    color: #000;
}
@media (max-width: 1535px) {
    .article-sec-content h2, .article-sec-content h3, .article-sec-content h4 { font-size: 26px; margin-top: 25px; }
}
.article-sec-content h3 { font-size: 24px; }
.article-sec-content h4 { font-size: 20px; }
.article-sec-content ul { list-style: disc; list-style-position: inside; margin: 10px 0; }
.article-sec-content li { margin: 10px 0 10px 20px; line-height: 1.3; }
.article-sec-content ol { list-style-type: decimal; }
.article-sec-content strong { font-weight: 700; }
.article-sec-content a { color: var(--color-primary, #94813c); text-decoration: underline; }

/* "Read Next" / "More Categories" (article detail bottom - the reference twig only ships
   a handful of bottom articles, this reuses the already-flattened interesting-world-sec
   carousel + a themed category chip row, same reasonable addition cars-near-me-theme made) */
.home-categories-sec { background-color: #f4f0e5; padding: 50px 0; text-align: center; }
.home-categories-sec h2 { font-size: 26px; margin-bottom: 25px; }
.home-categories-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.home-categories-item {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--color-secondary, #c3ae64);
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.home-categories-item:hover { background-color: var(--color-secondary, #c3ae64); color: #fff; }

/* -------------------------------------------------------------------- */
/* Articles listing page (reasonable addition - articles.html.twig in the reference
   relies on the generic clicksco theme's shared search-results styling rather than
   carrying healthyapple-specific CSS of its own, so this reuses the card language
   from the latest-stories grid) */
/* -------------------------------------------------------------------- */
.articles-listing-header { padding-top: 50px; }
.articles-listing-header .heading, .articles-listing-header .purpose { text-align: center; display: block; }
.articles-listing-sec { padding: 40px 0 60px; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 1100px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .articles-grid { grid-template-columns: 1fr; }
}
.article-card {
    background-color: #fff;
    border: 1px solid rgba(128, 128, 128, 0.114);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}
.article-card figure { height: 220px; }
.article-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card .content { padding: 25px 20px; }
.article-card .content h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-card .content p {
    font-size: 15px;
    line-height: 22px;
    margin: 15px 0;
    color: #666;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.no-articles-msg { text-align: center; padding: 40px 0; color: #666; }

.pagination-articles { text-align: center; margin: 40px 0 0; }
.pagination-articles a {
    display: inline-block;
    color: #333;
    border: 1px solid #e0e0e0;
    margin: 0 6px;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 14px;
}
.pagination-articles a.active, .pagination-articles a:hover {
    background-color: var(--color-button-bg, #94813c);
    border-color: var(--color-button-bg, #94813c);
    color: #fff;
}

/* -------------------------------------------------------------------- */
/* Search results (query stub page) */
/* -------------------------------------------------------------------- */
.search-page-sec { padding: 50px 0; min-height: 50vh; }
.no-results-msg { text-align: center; color: #666; font-size: 16px; }
.shopping-results-list .search-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    margin-bottom: 12px;
}
.shopping-results-list .search-list-item__name a { color: var(--color-primary, #94813c); font-size: 18px; font-weight: 600; }
.shopping-results-list .search-list-item__descr { color: #666; font-size: 14px; margin-top: 6px; }
.shopping-results-list .search-list-item__retailer a { color: #3ca3fa; font-size: 13px; }
.shopping-results-list .read-more-btn {
    flex-shrink: 0;
    background-color: var(--color-button-bg, #94813c);
    color: var(--color-button-text, #fff);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.shopping-results-list .read-more-btn:after { content: none; }

/* -------------------------------------------------------------------- */
/* Yahoo top5 ad feed (hotspots-ads, ported from _healthyApple.scss's own block) */
/* -------------------------------------------------------------------- */
.hotspots-ads { margin-top: 30px; min-height: 78vh; padding-bottom: 60px; }
.hotspots-ads .sponsored { font-size: 15px; margin-top: 25px; display: block; color: #666; }
@media (max-width: 765px) {
    .hotspots-ads .sponsored { margin-top: 10px; }
}
.hotspots-ads .list-ads { margin-top: 20px; }
@media (max-width: 765px) {
    .hotspots-ads .list-ads { margin-top: 10px; }
}
.hotspots-ads .list-ads article {
    background-color: #f8f8f8;
    padding: 23px 45px 20px 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.5s ease-in-out;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads article { flex-direction: column; align-items: start; padding: 10px; }
}
.hotspots-ads .list-ads .left-content { width: 85%; }
@media (max-width: 765px) {
    .hotspots-ads .list-ads .left-content { width: 100%; }
}
.hotspots-ads .list-ads .left-content h3 { font-size: 20px; color: #010101; font-weight: 700; }
.hotspots-ads .list-ads .left-content a { margin: 10px 0; color: #999; font-weight: 300; font-size: 14px; display: block; }
.hotspots-ads .list-ads .left-content p { color: #999; font-size: 14px; font-weight: 300; line-height: 1.5; }
.hotspots-ads .list-ads .right-content { flex-shrink: 0; }
@media (max-width: 765px) {
    .hotspots-ads .list-ads .right-content { margin-top: 20px; width: 100%; }
}
.hotspots-ads .list-ads .right-content a {
    background-color: var(--color-button-bg, #94813c);
    width: 110px;
    padding: 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-button-bg, #94813c);
    font-weight: 600;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads .right-content a { width: 100%; }
}
.hotspots-ads .list-ads .right-content span { font-size: 18px; color: var(--color-button-text, #fff); display: block; }
.hotspots-ads .list-ads article:hover { background: none; }
.hotspots-ads .list-ads article:hover .right-content a { background: none; }
.hotspots-ads .list-ads article:hover .right-content a span { color: var(--color-button-bg, #94813c); }
.hotspots-ads .no-ads-msg { padding: 30px 0; color: #666; }

/* -------------------------------------------------------------------- */
/* Static content pages (about / contact / advertisers / terms / privacy / cookies) */
/* -------------------------------------------------------------------- */
.about-wrapper, .contact-wrapper, .terms, .privacy, .cookie {
    min-height: 60vh;
    margin-top: 20px;
    padding: 40px 0;
}
.about-wrapper .about-subheader, .contact-wrapper .about-subheader {
    color: var(--color-primary, #94813c);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}
.about-wrapper h1, .contact-wrapper h1, .terms h1, .privacy h1, .cookie h1 {
    font-size: 35px;
    margin: 15px 0 20px;
    font-weight: 700;
}
.contact-wrapper h2, .terms h2, .privacy h2, .cookie h2 {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 8px;
    font-weight: 600;
}
.terms h3, .privacy h3, .cookie h3 { font-size: 20px; margin: 20px 0 10px; font-weight: 600; }
.about-wrapper p, .contact-wrapper p, .terms p, .privacy p, .cookie p {
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.7;
}
.about-wrapper a, .contact-wrapper a, .terms a, .privacy a, .cookie a {
    color: var(--color-primary, #94813c);
    text-decoration: underline;
}
.about-wrapper strong, .contact-wrapper strong, .terms strong, .privacy strong, .cookie strong { font-weight: 600; }
.terms ul, .privacy ul, .cookie ul { line-height: 1.5; margin: 15px 0 15px 20px; }
.terms ul li, .privacy ul li, .cookie ul li { list-style-type: disc; margin-top: 8px; }
.contact-subheader { line-height: 1.6; }
.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background-color: var(--color-button-bg, #94813c);
    color: var(--color-button-text, #fff) !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-weight: 600;
}
.contact-btn:hover { background-color: var(--color-secondary, #c3ae64); }

/* -------------------------------------------------------------------- */
/* Mobile menu */
/* -------------------------------------------------------------------- */
.mobile-menu {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0;
    left: 0;
}
.mobile-menu.active { display: block; }
.mobile-menu-wrapper {
    background: #fff;
    width: 100%;
    max-width: 320px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 50px 25px 0;
}
.mobile-menu-close {
    position: absolute;
    width: 30px;
    height: 30px;
    cursor: pointer;
    top: 15px;
    right: 15px;
    color: #333;
    font-size: 22px;
}
.mobile-menu-items { display: flex; flex-direction: column; }
.mobile-menu-items a {
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 0;
}
.mobile-menu-items a:hover { color: var(--color-primary, #94813c); }
.interesting-world-sec{
    .carousel{
        display: flex;
        flex-wrap: wrap;
        @media (max-width: 767px) {
            row-gap: 30px;  
        }
        article{
            flex: 1;
            @media (max-width: 767px) {
                flex: fit-content;
            }
        }
    }
}