@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&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 explorehubonline.com brand palette:
   sky blue #1e9fda (the storefront-awning mark in the logo, and the site's own
   #00b3e6 accent color) and navy #1f3b73 (the "Online" wordmark). 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-explorehubonline.com assets/css/base/_reset.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: "Titillium Web", 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;
}

.content-wrapper {
    max-width: 1592px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}
@media (max-width: 1535px) {
    .content-wrapper { max-width: 1126px; }
}
@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); }

/* -------------------------------------------------------------------- */
/* Header */
/* -------------------------------------------------------------------- */
.header {
    position: relative;
    background-color: #ddf4ff;
    margin: auto;
    padding: 25px 0;
}
@media (max-width: 1535px) {
    .header { padding: 20px 0; }
}
@media (max-width: 765px) {
    .header { padding: 20px 0; }
}
.header .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header .hamburger {
    width: 28px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header .hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary, #1f3b73);
    border-radius: 5px;
    display: block;
}
.header-logo {
    width: 254px;
}
@media (max-width: 1535px) {
    .header-logo { width: 185px; }
}
@media (max-width: 765px) {
    .header-logo { width: 165px; }
}
.header-logo img { width: 100%; display: block; }
.header .search-icon {
    width: 33px;
    cursor: pointer;
}
@media (max-width: 1535px) {
    .header .search-icon { width: 25px; }
}
.header .search-icon img { width: 100%; display: block; }

/* inner (non-hero) pages get the same light header bar with the search form */
.header-inner .header-form {
    position: relative;
}
.header-inner .header-form form {
    position: relative;
    display: flex;
    align-items: center;
}
.header-inner .header-form input {
    display: none;
    width: 220px;
    max-width: 60vw;
    height: 40px;
    border: none;
    border-radius: 20px;
    padding: 0 45px 0 18px;
    font-size: 13px;
    color: #333;
    background: #fff;
}
.header-inner .header-form input.active { display: block; }
@media (max-width: 765px) {
    .header-inner .header-form input { width: 150px; }
}
.header-inner .header-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-button-bg, #1e9fda);
    color: var(--color-button-text, #fff);
    cursor: pointer;
}

.header-content {
    background-color: #ffeaf7;
    padding: 30px 0;
    text-align: center;
}
@media (max-width: 1535px) {
    .header-content { padding: 20px 0; }
}
.header-content .purpose {
    font-size: 18px;
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #555;
}
.header-content .heading {
    font-size: 33px;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary, #1f3b73);
}
@media (max-width: 1535px) {
    .header-content .heading { font-size: 28px; }
}
@media (max-width: 765px) {
    .header-content .heading { font-size: 24px; width: 90%; margin: auto; letter-spacing: 1px; }
}

/* -------------------------------------------------------------------- */
/* Hero (carousel of the newest articles) */
/* -------------------------------------------------------------------- */
.hero-sec {
    background-color: #ddf4ff;
    position: relative;
}
.hero-sec .carousel {
    width: 100%;
    margin-bottom: 0;
    position: relative;
}
.hero-sec .carousel figure {
    display: flex;
    align-items: flex-end;
    height: 90vh;
}
@media (max-width: 925px) {
    .hero-sec .carousel figure { height: 50vh; }
}
@media (max-width: 765px) {
    .hero-sec .carousel figure { height: 70vh; background-position: calc(90% - 20%) !important; }
}
.hero-sec .carousel h1 {
    font-size: 45px;
    width: 42%;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.35);
    margin: 100px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}
.hero-sec .carousel h1 a { color: #fff; }
@media (max-width: 1535px) {
    .hero-sec .carousel h1 { font-size: 32px; margin: 55px; width: 50%; }
}
@media (max-width: 765px) {
    .hero-sec .carousel h1 { background: none; font-size: 26px; width: 90%; margin: 10px; margin-bottom: 60px; line-height: 1.3; }
}
.hero-sec .slick-prev, .hero-sec .slick-next {
    z-index: 9999;
    position: absolute;
    width: 45px;
    height: 45px;
    top: 45%;
}
.hero-sec .slick-prev { left: 30px; }
.hero-sec .slick-next { right: 30px; }
.hero-sec .slick-next:before, .hero-sec .slick-prev:before {
    content: "" !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 45px;
    height: 45px;
    display: block;
}
.hero-sec .slick-next:before { background-image: url('../images/nav-right-middle.png'); }
.hero-sec .slick-prev:before { background-image: url('../images/nav-left-middle.png'); }
.hero-sec .slick-list { padding: 0 !important; }

/* -------------------------------------------------------------------- */
/* Double-tune (latest news + popular articles) */
/* -------------------------------------------------------------------- */
.double-tune-sec {
    margin-top: 50px;
    margin-bottom: 50px;
}
@media (max-width: 1535px) {
    .double-tune-sec { margin-top: 35px; margin-bottom: 35px; }
}
@media (max-width: 765px) {
    .double-tune-sec { margin-top: 20px; margin-bottom: 20px; }
}
.double-tune-sec .articles-list {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 30px;
}
@media (max-width: 965px) {
    .double-tune-sec .articles-list { flex-direction: column; }
}
.double-tune-sec .latest-articles {
    flex: 0 0 70%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
@media (max-width: 765px) {
    .double-tune-sec .latest-articles { flex-direction: column; }
}
.double-tune-sec .left-articles { flex: 0 0 50%; }
.double-tune-sec .left-articles figure {
    height: 455px;
    width: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 6px;
}
@media (max-width: 1535px) {
    .double-tune-sec .left-articles figure { height: 340px; }
}
@media (max-width: 765px) {
    .double-tune-sec .left-articles figure { height: 40vh; }
    .popular-articles-sec .slick-next {
        right: 0px !important;
    }
    .popular-articles-sec .slick-prev {
        left: -20px !important;
    }
}
.double-tune-sec .left-articles h5 {
    font-size: 28px;
    margin: 20px 0 10px;
    line-height: 1.3;
    color: var(--color-primary, #1e9fda);
    font-weight: 600;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 1535px) {
    .double-tune-sec .left-articles h5 { font-size: 22px; }
}
.double-tune-sec .left-articles p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}
.double-tune-sec .right-articles {
    display: flex;
    flex: 0 0 45%;
    flex-direction: column;
    justify-content: space-between;
}
.double-tune-sec .right-articles h5 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary, #1f3b73);
    margin-bottom: 15px;
}
.double-tune-sec .right-articles a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
}
.double-tune-sec .right-articles a:first-of-type { padding-top: 0; }
.double-tune-sec .right-articles p {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.double-tune-sec .right-articles span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.double-tune-sec .popular-articles { flex: 0 0 27%; }
@media (max-width: 965px) {
    .double-tune-sec .popular-articles { flex: 1; }
}
.double-tune-sec .popular-articles h5 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary, #1f3b73);
    margin-bottom: 15px;
}
.double-tune-sec .popular-articles .list {
    display: grid;
    grid-gap: 18px;
    grid-template-columns: 1fr;
}
@media (max-width: 965px) {
    .double-tune-sec .popular-articles .list { grid-template-columns: repeat(2, 1fr); margin-top: 10px; }
}
@media (max-width: 765px) {
    .double-tune-sec .popular-articles .list { grid-template-columns: 1fr; }
}
.double-tune-sec .popular-articles article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.double-tune-sec .popular-articles figure {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    border-radius: 6px;
    overflow: hidden;
}
.double-tune-sec .popular-articles figure img { width: 100%; height: 100%; object-fit: cover; }
.double-tune-sec .popular-articles h6 {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* -------------------------------------------------------------------- */
/* Popular articles (grid + mobile carousel) */
/* -------------------------------------------------------------------- */
.popular-articles-sec .bg-add {
    background-color: #ddf4ff;
    padding: 40px 0 10px;
}
@media (max-width: 765px) {
    .popular-articles-sec .bg-add { padding: 25px 10px 90px; }
}
.popular-articles-sec .popular-heading {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-secondary, #1f3b73);
    padding-bottom: 10px;
}
@media (max-width: 765px) {
    .popular-articles-sec .popular-heading { font-size: 22px; }
}
.popular-articles-sec .articles-list {
    padding: 40px 0;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1535px) {
    .popular-articles-sec .articles-list { grid-gap: 20px; }
}
@media (max-width: 920px) {
    .popular-articles-sec .articles-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 765px) {
    .popular-articles-sec .articles-list { display: none; }
}
.popular-articles-sec .articles-list article,
.popular-articles-sec .carousel article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(31, 59, 115, 0.08);
}
.popular-articles-sec .articles-list figure { height: 220px; }
.popular-articles-sec .articles-list figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.popular-articles-sec .content { padding: 20px; }
.popular-articles-sec h4 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.popular-articles-sec p {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.popular-articles-sec .carousel {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    display: none;
}
@media (max-width: 765px) {
    .popular-articles-sec .carousel { display: block; }
}
.popular-articles-sec .carousel figure { height: 220px; }
.popular-articles-sec .carousel figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.popular-articles-sec .slick-prev, .popular-articles-sec .slick-next {
    z-index: 999;
    top: 40%;
}
.popular-articles-sec .slick-next:before, .popular-articles-sec .slick-prev:before {
    content: "" !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: block;
}
.popular-articles-sec .slick-next:before { background-image: url('../images/nav-right-middle.png'); }
.popular-articles-sec .slick-prev:before { background-image: url('../images/nav-left-middle.png'); }

/* -------------------------------------------------------------------- */
/* Browse by category (three-small-articles) */
/* -------------------------------------------------------------------- */
.three-small-articles {
    margin: 60px 0;
}
@media (max-width: 765px) {
    .three-small-articles { margin: 30px 0; }
}
.three-small-articles .section-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-secondary, #1f3b73);
    margin-bottom: 25px;
    text-align: center;
}
.three-small-articles .list {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 925px) {
    .three-small-articles .list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 765px) {
    .three-small-articles .list { grid-template-columns: 1fr; }
}
.three-small-articles article,
.three-small-articles .list > a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 12px;
}
.three-small-articles figure {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border-radius: 6px;
    overflow: hidden;
}
.three-small-articles figure img { width: 100%; height: 100%; object-fit: cover; }
.three-small-articles h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary, #1e9fda);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------- */
/* Home form (bottom search prompt) */
/* -------------------------------------------------------------------- */
.home-form-sec {
    margin-top: 40px;
    padding: 60px 0;
    background-color: #ffeaf7;
    text-align: center;
}
.home-form-sec h2 {
    font-size: 28px;
    color: var(--color-secondary, #1f3b73);
}
@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;
    background-color: #fff;
    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: 30px; }
@media (max-width: 1535px) {
    .home-form-sec form button img { width: 24px; }
}
.home-form-sec span {
    display: block;
    width: 65%;
    margin: 60px auto 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
}
@media (max-width: 1535px) {
    .home-form-sec span { font-size: 16px; width: 80%; }
}
.home-form-sec span a { display: inline-block; font-weight: 700; color: var(--color-primary, #1e9fda); }
.home-form-sec .line {
    width: 48%;
    margin: 25px auto 0;
    border-bottom: 2px solid #ccc;
}

/* -------------------------------------------------------------------- */
/* Footer */
/* -------------------------------------------------------------------- */
.footer-section {
    background-color: var(--color-primary, #1e9fda);
    padding: 35px 0 25px;
    text-align: center;
}
.footer-section .footer-logo {
    display: inline-block;
    width: 150px;
    margin: 0 auto 20px;
    background-color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
}
.footer-section .footer-logo img { width: 100%; display: block; }
.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, #1f3b73); }
.footer-section .footer-copy {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    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: 65%; margin: auto; }
@media (max-width: 765px) {
    .article-sec-content .content-wrapper { width: 95%; }
}
.article-sec-content .title-heading {
    font-size: 42px;
    margin: auto;
    font-weight: 700;
    width: 95%;
    text-align: center;
    line-height: 1.3;
    color: var(--color-primary, #1e9fda);
}
@media (max-width: 1535px) {
    .article-sec-content .title-heading { font-size: 34px; }
}
@media (max-width: 765px) {
    .article-sec-content .title-heading { font-size: 26px; width: 100%; }
}
.article-sec-content .article-author {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: 15px;
}
.article-sec-content figure { margin: 30px auto 0; border-radius: 10px; overflow: hidden; }
@media (max-width: 765px) {
    .article-sec-content figure { height: 280px; width: 100%; }
}
.article-sec-content figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-sec-content .article-body {
    font-size: 16px;
    color: #333;
    margin-top: 30px;
}
.article-sec-content .article-body p {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 22px;
}
.article-sec-content .article-body h2,
.article-sec-content .article-body h3,
.article-sec-content .article-body h4 {
    font-size: 26px;
    line-height: 1.4;
    margin-top: 30px;
    font-weight: 600;
    color: var(--color-secondary, #1f3b73);
}
.article-sec-content .article-body h3 { font-size: 22px; }
.article-sec-content .article-body h4 { font-size: 19px; }
.article-sec-content .article-body ul {
    list-style: disc;
    list-style-position: inside;
    margin: 10px 0;
}
.article-sec-content .article-body li { margin: 10px 0 10px 20px; line-height: 1.4; }
.article-sec-content .article-body ol { list-style-type: decimal; }
.article-sec-content .article-body strong { font-weight: 700; }
.article-sec-content .article-body a {
    color: var(--color-primary, #1e9fda);
    text-decoration: underline;
}

/* "More Categories" (article detail bottom, reasonable addition - the reference
   twig didn't ship this block with real markup, this reuses the themed category
   chip pattern for site-wide category navigation, same as the other CRH themes) */
.home-categories-sec {
    background-color: #ddf4ff;
    padding: 50px 0;
    text-align: center;
    margin-top: 40px;
}
.home-categories-sec h2 {
    color: var(--color-secondary, #1f3b73);
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}
.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-primary, #1e9fda);
    border-radius: 30px;
    color: var(--color-secondary, #1f3b73);
    background: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.home-categories-item:hover {
    background-color: var(--color-primary, #1e9fda);
    color: #fff;
}

/* -------------------------------------------------------------------- */
/* Articles listing page */
/* -------------------------------------------------------------------- */
.articles-listing-header { padding: 0; }
.articles-listing-sec {
    background-color: #fff;
    padding: 50px 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 #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(31, 59, 115, 0.06);
}
.article-card figure { height: 220px; }
.article-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card .content { padding: 22px 20px; }
.article-card .content h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary, #1f3b73);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-card .content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0 0;
    color: #666;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.no-articles-msg { color: #666; text-align: center; padding: 40px 0; }

.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, #1e9fda);
    border-color: var(--color-button-bg, #1e9fda);
    color: var(--color-button-text, #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;
    border-radius: 8px;
    margin-bottom: 12px;
}
.shopping-results-list .search-list-item__name a { color: var(--color-primary, #1e9fda); font-size: 18px; font-weight: 700; }
.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 .visit-btn {
    flex-shrink: 0;
    background-color: var(--color-button-bg, #1e9fda);
    color: var(--color-button-text, #fff);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* -------------------------------------------------------------------- */
/* Yahoo top5 ad feed (hotspots-ads) */
/* -------------------------------------------------------------------- */
.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 {
    position: relative;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 23px 45px 20px 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Decorative "sponsored" ribbon tab on the card's left edge - theme's own
   --color-primary, not a fixed color, so it stays on-brand per site. */
.hotspots-ads .list-ads .ad-ribbon {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 84px;
    background: var(--color-primary, #1e9fda);
    clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%);
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads .ad-ribbon { left: -8px; width: 18px; height: 56px; }
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads article {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        border: 1px solid #ececec;
    }
}
.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 a { font-size: 20px; color: #111; font-weight: 700; line-height: 1.3; }
/* Ad links only as wide as their own text - a full-width block <a> makes the
   white space beside it clickable, which Yahoo flags as a policy violation. */
.hotspots-ads .list-ads .left-content > a { margin: 8px 0; color: var(--color-primary, #1e9fda); font-weight: 400; font-size: 13px; display: block; width: fit-content; max-width: 100%; }
.hotspots-ads .list-ads .left-content p a { color: #999; font-size: 14px; font-weight: 300; line-height: 1.5; }
.hotspots-ads .list-ads .li-descr__callouts,
.hotspots-ads .list-ads .li-descr__annotations {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}
.hotspots-ads .list-ads .li-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 10px;
}
.hotspots-ads .list-ads .li-links a span {
    color: var(--color-primary, #1e9fda);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}
.hotspots-ads .list-ads .right-content { flex-shrink: 0; }
@media (max-width: 765px) {
    .hotspots-ads .list-ads .right-content { width: 100%; }
}
.hotspots-ads .list-ads .right-content a {
    background-color: var(--color-button-bg, #1e9fda);
    width: 110px;
    padding: 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-button-bg, #1e9fda);
    font-weight: 600;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads .right-content a { width: 100%; height: 46px; }
}
.hotspots-ads .list-ads .right-content span { font-size: 18px; color: var(--color-button-text, #fff); display: block; }
/* No card-level :hover effect - the card itself isn't a link, so it mustn't
   look interactive (Yahoo: no clickable-looking white space). Only the CTA
   button reacts, and only when it's hovered itself. */
.hotspots-ads .list-ads .right-content a:hover {
    background: var(--color-secondary, #1f3b73);
    border-color: var(--color-secondary, #1f3b73);
}
.hotspots-ads .no-ads-msg { padding: 30px 0; color: #666; }

/* -------------------------------------------------------------------- */
/* Static content pages (about / contact / 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, #1e9fda);
    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;
    color: var(--color-secondary, #1f3b73);
}
.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, #1e9fda);
    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, #1e9fda);
    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, #1f3b73); }

/* -------------------------------------------------------------------- */
/* Mobile menu */
/* -------------------------------------------------------------------- */
.mobile-menu {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    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 #ebebeb;
    padding: 14px 0;
}
.mobile-menu-items a:hover { color: var(--color-primary, #1e9fda); }

/* Article byline: bold "Author:" label - this theme's reset sets <strong>
   back to normal weight, so it needs restating here. */
.article-author strong { font-weight: 700; }
