/* Review Zone Theme
   Ported from enginex-reviewzone.co (Symfony/Twig, assets/css/base/_shopandsavetrends.scss
   + assets/css/settings/_colors.scss), cross-checked against
   enginex-shopandsavetrends.com's copy of the same file. This theme is shared by two
   real sites (reviewzone.co and shopandsavetrends.com), a purple/dark/yellow-green
   content site design - both were built from the same source SCSS and only diverged
   slightly (see notes below where shopandsavetrends.com's copy added something extra).

   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() - see
   app/services/theming.py. This file loads after that inline block, so it must not
   declare a competing :root (that would silently override the DB-driven values).

   No Sass build step exists in this Flask app (Webpack Encore was never run in the
   reference repo either - there is no public/build/ output) - the SCSS nesting below
   has been hand-flattened into plain CSS, keeping the real values as authored. */

@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Titillium Web", sans-serif;
    color: #000;
}
h1, h2, h3, h4, h5, h6, p, a, input, button, label {
    font-family: "Titillium Web", sans-serif;
}
a {
    text-decoration: none;
    color: #222222;
}
img {
    max-width: 100%;
}
.full-container {
    width: 100%;
}
.container {
    max-width: 1567px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}
@media (max-width: 1440px) {
    .container {
        max-width: 1338px;
    }
}

/* ==========================================================================
   Homepage hero header (header-bg)
   Reference used a real photo (banner.png, a car/SUV shot left over from a
   different vertical this SCSS was cloned from) - inappropriate for a shared
   reviews/shopping-trends theme, so this is a purple-to-dark gradient with
   the reference's own decorative dot-accent SVG instead of a mismatched
   stock photo. Layout/spacing/typography match the real SCSS.
   ========================================================================== */
.header-bg {
    position: relative;
    width: 100%;
    padding: 40px 0 90px;
    background: linear-gradient(135deg, #533474 0%, #3c2557 55%, #222222 100%);
    background-image:
        url("../images/dots-accent.svg"),
        linear-gradient(135deg, #533474 0%, #3c2557 55%, #222222 100%);
    background-repeat: no-repeat;
    background-position: top 20px right 40px, center;
    overflow: hidden;
}
@media (max-width: 1023px) {
    .header-bg {
        padding: 20px 0 70px;
    }
}
.header-bg .main-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header-bg .hamburger {
    display: none;
    width: 26px;
    height: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.header-bg .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
}
@media (max-width: 767px) {
    .header-bg .hamburger {
        display: flex;
    }
}
.header-bg .logo a {
    display: flex;
}
.header-bg .logo-text {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-left: 10px;
    align-self: center;
}
.header-bg .bannercontent {
    max-width: 640px;
    margin-top: 60px;
}
@media (max-width: 767px) {
    .header-bg .bannercontent {
        margin-top: 40px;
    }
}
.header-bg .bannercontent h1 {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .header-bg .bannercontent h1 {
        font-size: 30px;
    }
}
.header-bg .bannercontent p {
    font-size: 18px;
    font-weight: 400;
    color: #e4dcef;
    max-width: 533px;
    margin-bottom: 35px;
    line-height: 1.5;
}
.header-bg .bannercontent a.explore-btn {
    max-width: 195px;
    background: #DED74A;
    color: #000;
    height: 51px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .3s;
    border-radius: 4px;
}
.header-bg .bannercontent a.explore-btn:hover {
    background: #DED74A;
    color: #533474;
}
.header-bg .banner-yellow {
    max-width: 380px;
    background: #DED74A;
    padding: 25px;
    position: absolute;
    bottom: -50px;
    right: 15px;
    width: 100%;
    border-radius: 4px;
}
@media (max-width: 1023px) {
    .header-bg .banner-yellow {
        max-width: 300px;
        padding: 18px;
    }
}
@media (max-width: 767px) {
    .header-bg .banner-yellow {
        position: relative;
        right: 0;
        bottom: -40px;
        margin: 0 auto;
        max-width: 90%;
    }
}
.header-bg .banner-yellow h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    display: block;
}
.header-bg .banner-yellow a {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    display: block;
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: nowrap;
}
.header-bg .banner-yellow a:hover {
    color: #533474;
}
.header-bg .banner-yellow a:last-child {
    margin-bottom: 0;
}
.header-bg .banner-yellow-form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .3);
    padding: 10px 0;
    background: transparent;
    font-size: 15px;
}
.header-bg .banner-yellow-form button {
    background: #000;
    color: #DED74A;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
}
.header-bg .banner-yellow-form button:hover {
    background: #533474;
}

/* ==========================================================================
   Inner (non-home) page header + mobile-first search bar
   ========================================================================== */
.header {
    position: relative;
    background: #222222;
    padding: 18px 0;
}
.header .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header .hamburger {
    display: none;
    width: 26px;
    height: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.header .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
}
@media (max-width: 767px) {
    .header .hamburger {
        display: flex;
    }
}
.header .logo a {
    display: flex;
    align-items: center;
}
.header .logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-left: 10px;
}
.header .search-bar form {
    position: relative;
    display: flex;
    align-items: center;
}
.header .search-bar input.innersearch {
    width: 0;
    opacity: 0;
    height: 38px;
    border: none;
    border-radius: 20px;
    padding: 0;
    font-size: 14px;
    color: #222;
    transition: width .25s ease, opacity .25s ease, padding .25s ease;
}
.header .search-bar input.innersearch.active {
    width: 220px;
    opacity: 1;
    padding: 0 44px 0 16px;
}
@media (max-width: 600px) {
    .header .search-bar input.innersearch.active {
        width: 160px;
    }
}
.header .search-bar button.searchbutton {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #DED74A;
    color: #222222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -38px;
}
.header .search-bar input.innersearch:not(.active) + button.searchbutton {
    margin-left: 0;
}

/* ==========================================================================
   Mobile menu overlay
   ========================================================================== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(34, 34, 34, .7);
    width: 100%;
    height: 100%;
    z-index: 100;
}
.mobile-menu.active {
    display: block;
}
.mobile-menu-wrapper {
    background: #fff;
    width: 100%;
    max-width: 300px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 55px 25px 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
}
.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #533474;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-items {
    display: flex;
    flex-direction: column;
}
.mobile-menu-items a {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    border-bottom: 1px solid #ebebeb;
    padding: 14px 0;
}
.mobile-menu-items a:hover {
    color: #533474;
}

/* Home - featured article (hero/featured_article), image + title + excerpt */
.featured-post {
    padding: 50px 0;
}
.featured-post .featured-post-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f7f6f2;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 900px) {
    .featured-post .featured-post-inner {
        grid-template-columns: auto;
        gap: 0;
    }
}
.featured-post .image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.featured-post .content {
    padding: 20px 40px 20px 0;
}
@media (max-width: 900px) {
    .featured-post .content {
        padding: 25px;
    }
}
.featured-post .category-tag {
    color: #533474;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}
.featured-post h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 15px;
    color: #222222;
}
@media (max-width: 767px) {
    .featured-post h2 {
        font-size: 24px;
    }
}
.featured-post h2 a {
    color: #222222;
}
.featured-post h2 a:hover {
    color: #533474;
}
.featured-post p {
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Home - section-two (leading article + two stacked items)
   ========================================================================== */
.section-two {
    padding: 60px 0;
}
@media (max-width: 767px) {
    .section-two {
        padding: 30px 0;
    }
}
.section-two .container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
@media (max-width: 1440px) {
    .section-two .container {
        gap: 30px;
    }
}
@media (max-width: 1023px) {
    .section-two .container {
        flex-direction: column;
    }
}
.section-two .leftsection {
    flex: 1.4;
    gap: 30px;
    display: flex;
}
@media (max-width: 767px) {
    .section-two .leftsection {
        flex-direction: column;
    }
}
.section-two .leftsection .image {
    flex: 1.6;
    min-width: 0;
    height: 100%;
}
.section-two .leftsection .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.section-two .leftsection .content {
    flex: 1;
}
.section-two .leftsection .content a {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-two .leftsection .content a:hover {
    color: #533474;
}
.section-two .leftsection .content p {
    font-size: 20px;
    color: #222222;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-two .rightsection {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 20px;
}
@media (min-width: 768px) and (max-width: 1023px) {
    .section-two .rightsection {
        flex-direction: row;
    }
}
.section-two .rightsection .item {
    display: flex;
    gap: 20px;
    flex: 1;
    align-items: center;
}
.section-two .rightsection .item .image {
    display: flex;
    min-width: 0;
    height: 100%;
    flex: 1;
}
.section-two .rightsection .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.section-two .rightsection .item .content {
    flex: 1.8;
}
.section-two .rightsection .item .content a {
    font-size: 20px;
    line-height: 150%;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-two .rightsection .item .content a:hover {
    color: #533474;
}
.section-two .rightsection .item .content p {
    font-size: 14px;
    color: #222222;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Home - section-three (scrolling list / big banner / scrolling list) */
.section-three {
    padding: 40px 0;
}
.section-three .container {
    display: grid;
    grid-template-columns: 1fr 1.9fr 1fr;
    grid-gap: 50px;
}
@media (max-width: 1440px) {
    .section-three .container {
        grid-gap: 30px;
    }
}
@media (max-width: 990px) {
    .section-three .container {
        grid-template-columns: auto;
    }
}
.section-three .news h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #222222;
}
.section-three .news ul {
    list-style-type: none;
    overflow-y: auto;
    max-height: 603px;
    padding-right: 25px;
}
@media (max-width: 990px) {
    .section-three .news ul {
        max-height: 300px;
    }
}
.section-three .news li {
    margin-bottom: 20px;
}
.section-three .news li a {
    font-size: 20px;
    line-height: 150%;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-three .news li a:hover {
    color: #533474;
}
.section-three .news li p {
    font-size: 14px;
    color: #222222;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-three .newmiddle {
    position: relative;
    min-width: 0;
    width: 100%;
}
.section-three .newmiddle a {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.section-three .newmiddle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    border-radius: 6px;
    transition: transform .3s ease;
}
.section-three .newmiddle a:hover img {
    transform: scale(1.02);
}
.section-three .bannercontent {
    position: absolute;
    bottom: 0;
    max-width: 506px;
    padding: 30px;
}
.section-three .bannercontent h2 {
    font-size: 30px;
    line-height: 150%;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}
.section-three .bannercontent p {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    line-height: 150%;
}

/* Home - section-fifth (four-up image + title grid) */
.section-fifth {
    padding: 40px 0;
}
.section-fifth .items {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767px) {
    .section-fifth .items {
        grid-template-columns: auto;
        grid-gap: 30px;
    }
}
.section-fifth .item .image {
    margin-bottom: 16px;
}
.section-fifth .item .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    display: flex;
}
.section-fifth .item a {
    font-size: 20px;
    line-height: 120%;
    font-weight: 600;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-fifth .item:hover a {
    color: #533474;
}

/* Home - categorized posts (wide feature + narrow list, grouped per category) */
.home-categorized-posts {
    padding: 40px 0;
}
.home-categorized-posts h2 {
    color: #222222;
    font-size: 28px;
    font-weight: 600;
    border-bottom: 3px solid #DED74A;
    padding-bottom: 12px;
    margin-bottom: 30px;
    display: inline-block;
}
.hcp-wrapper {
    display: flex;
    gap: 40px;
}
@media (max-width: 900px) {
    .hcp-wrapper {
        flex-direction: column;
    }
}
.hcp-wide {
    flex: 1.4;
    position: relative;
}
.hcp-wide .hcp-image {
    height: 420px;
    background-size: cover;
    background-position: center center;
    border-radius: 6px;
}
@media (max-width: 767px) {
    .hcp-wide .hcp-image {
        height: 260px;
    }
}
.hcp-wide .hcp-info {
    background: #222222;
    color: #fff;
    padding: 20px 30px;
    margin: -60px 30px 0;
    position: relative;
}
.hcp-wide .hcp-category {
    font-size: 12px;
    color: #DED74A;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}
.hcp-wide .hcp-name {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hcp-wide .hcp-descr {
    font-size: 15px;
    color: #d8d8d8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hcp-narrow {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.hcpn-item {
    display: flex;
    gap: 16px;
    align-items: center;
}
.hcpn-image {
    width: 130px;
    height: 95px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center center;
    border-radius: 6px;
}
.hcpn-category {
    font-size: 11px;
    text-transform: uppercase;
    color: #533474;
    font-weight: 600;
}
.hcpn-name {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    color: #222222;
    margin-top: 4px;
}
.hcpn-item:hover .hcpn-name {
    color: #533474;
}

/* Home - "didn't find what you're looking for" footer search CTA */
.footer-search {
    padding: 50px 0 40px;
    background: #f7f6f2;
}
.footer-search h2 {
    font-size: 28px;
    line-height: 150%;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}
.footer-search form {
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
}
.footer-search input {
    width: 100%;
    height: 56px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #000;
    border-right: none;
    padding: 0 20px;
    font-size: 15px;
}
.footer-search button {
    width: 60px;
    height: 56px;
    border: 1px solid #000;
    border-left: none;
    background: #DED74A;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-search .copyright {
    max-width: 700px;
    margin: 0 auto;
}
.footer-search .copyright h5 {
    font-size: 18px;
    line-height: 150%;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222222;
    text-align: center;
    border-bottom: 1px solid #000;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.footer-search .copyright p {
    color: #222222;
    text-align: center;
    font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.footer-section {
    width: 100%;
    background: #DED74A;
    padding: 25px 0;
}
footer.footer-section .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
footer.footer-section .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}
footer.footer-section .logo-text {
    color: #222222;
    font-size: 18px;
    font-weight: 700;
    margin-left: 10px;
}
footer.footer-section .footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    justify-content: center;
}
footer.footer-section .footer-links a {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}
footer.footer-section .footer-links a:hover {
    text-decoration: underline;
}
footer.footer-section .footer-bottom {
    max-width: 700px;
    margin: 20px auto 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, .25);
    padding-top: 16px;
}
footer.footer-section .footer-bottom p {
    color: #222222;
    font-size: 13px;
}
footer.footer-section .footer-bottom a {
    color: #222222;
    font-weight: 600;
}

/* ==========================================================================
   Articles listing page (no direct equivalent in the reference build - its
   "articles.html.twig" leans on a separate shared-bundle SERP component that
   isn't part of this site's own SCSS - built to match the card language
   used elsewhere on the site: rounded image, bold title, excerpt, arrow)
   ========================================================================== */
.allinone-section {
    padding: 50px 0 70px;
}
.allinone-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #222222;
}
.article-section {
    display: flex;
}
.article-section .articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}
@media (max-width: 767px) {
    .article-section .articles {
        grid-template-columns: auto;
    }
}
.article-section .item {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: 20px;
    align-items: center;
}
@media (max-width: 600px) {
    .article-section .item {
        grid-template-columns: auto;
    }
}
.article-section .item .image img {
    display: flex;
    width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
}
.article-section .item .content a.title {
    color: #222222;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-section .item .content a.title:hover {
    color: #533474;
}
.article-section .item .content p {
    color: #3d3d3d;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-section .item .content a.icon {
    width: 30px;
    display: block;
    margin-top: 10px;
}
.article-section .item .content a.icon img {
    width: 100%;
}
.read-more-wrap {
    text-align: center;
    margin-top: 40px;
}
.read-more-wrap a.explore-btn,
.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #533474;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: background .3s;
}
.read-more-wrap a.explore-btn:hover,
.explore-btn:hover {
    background: #DED74A;
    color: #222222;
}

/* Pagination (articles listing) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s;
}
.pagination a:hover,
.pagination a.active {
    background: #533474;
    color: #fff;
    border-color: #533474;
}

/* ==========================================================================
   Article detail page
   ========================================================================== */
.article-sec-content {
    margin-top: 30px;
    margin-bottom: 60px;
}
.article-sec-content .container {
    width: 60%;
    margin: auto;
}
@media (max-width: 765px) {
    .article-sec-content .container {
        width: 95%;
    }
}
.article-sec-content h2 {
    font-size: 44px;
    margin: auto;
    font-weight: 700;
    width: 90%;
    text-align: center;
    line-height: 1.2;
    color: #000;
}
@media (max-width: 765px) {
    .article-sec-content h2 {
        font-size: 30px;
        width: 100%;
    }
}
.article-sec-content .article-author {
    text-align: center;
    margin-top: 15px;
    color: #666666;
    font-size: 14px;
}
.article-sec-content img.article-image,
.article-sec-content figure {
    margin: 30px auto 0;
    display: block;
}
.article-sec-content img.article-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 6px;
}
@media (max-width: 765px) {
    .article-sec-content img.article-image {
        border-radius: 12px;
    }
}
.article-sec-content p {
    font-size: 19px;
    line-height: 1.7;
    margin-top: 30px;
}
.article-sec-content h3 {
    font-size: 28px;
    margin-top: 35px;
    font-weight: 600;
    color: #000000;
}
.article-sec-content h4 {
    font-size: 22px;
    margin-top: 25px;
    font-weight: 600;
    color: #000000;
}
.article-sec-content ul,
.article-sec-content ol {
    margin: 15px 0;
    padding-left: 25px;
}
.article-sec-content li {
    margin: 10px 0;
    line-height: 1.5;
}
.article-sec-content a {
    display: inline;
    color: #533474;
    text-decoration: underline;
}
.article-sec-content strong {
    font-weight: 700;
}

/* ==========================================================================
   Search (query stub) + Yahoo Search Top 5 feed - "hotspots-ads" is the
   reference's own shared wrapper for both, so both templates use it.
   ========================================================================== */
.hotspots-ads {
    margin-top: 30px;
    margin-bottom: 60px;
    min-height: 50vh;
}
.hotspots-ads .sponsored {
    font-size: 15px;
    color: #666666;
    margin-top: 10px;
    margin-bottom: 20px;
    display: block;
}
.hotspots-ads .sponsored span {
    font-weight: 700;
    color: #222222;
}
.hotspots-ads .empty-state {
    padding: 60px 0;
    text-align: center;
    color: #666666;
    font-size: 16px;
}
.hotspots-ads .list-ads {
    margin-top: 10px;
}
.hotspots-ads .list-ads article {
    background-color: #f8f8f8;
    padding: 23px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    transition: all .3s ease-in-out;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads article {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
}
.hotspots-ads .list-ads .left-content {
    width: 85%;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads .left-content {
        width: 100%;
    }
}
.hotspots-ads .list-ads .li-title a,
.hotspots-ads .list-ads h3 a {
    font-size: 19px;
    color: #010101;
    font-weight: 700;
    display: block;
}
.hotspots-ads .list-ads .url a,
.hotspots-ads .list-ads .li-descr + .url a {
    color: #999999;
    font-weight: 300;
    font-size: 13px;
}
.hotspots-ads .list-ads .li-descr a {
    margin: 8px 0;
    display: block;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}
.hotspots-ads .list-ads .li-descr__callouts,
.hotspots-ads .list-ads .li-descr__annotations {
    color: #808080;
    font-size: 13px;
    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 {
    color: #533474;
    font-size: 13px;
    text-decoration: underline;
}
.hotspots-ads .list-ads .right-content a {
    background-color: #DED74A;
    min-width: 110px;
    padding: 12px 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DED74A;
    font-weight: 600;
    color: #000;
    transition: all .3s;
}
@media (max-width: 765px) {
    .hotspots-ads .list-ads .right-content {
        width: 100%;
        margin-top: 6px;
    }
    .hotspots-ads .list-ads .right-content a {
        width: 100%;
    }
}
.hotspots-ads .list-ads article:hover {
    background: #f1eef7;
}
.hotspots-ads .list-ads article:hover .right-content a {
    background: #533474;
    border-color: #533474;
    color: #DED74A;
}

/* Search stub (empty query result page - the same wrapper as Yahoo Top 5) */
.search-results-items .item {
    background-color: #f8f8f8;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    border-radius: 6px;
}
@media (max-width: 765px) {
    .search-results-items .item {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
}
.search-results-items .li-title a {
    font-size: 18px;
    color: #010101;
    font-weight: 700;
}
.search-results-items .li-descr a {
    display: block;
    margin: 6px 0;
    color: #666666;
    font-size: 14px;
}
.search-results-items .url a {
    color: #999999;
    font-size: 13px;
}
.search-results-items .rightbtn a {
    background-color: #DED74A;
    padding: 10px 22px;
    border-radius: 5px;
    color: #000;
    font-weight: 600;
}

/* ==========================================================================
   Static pages: About / Contact / Advertisers / Terms / Privacy / Cookies
   (the reference's .about-wrapper/.contact-wrapper/.terms/.privacy/.cookie
   selectors are close to identical - consolidated into one shared look)
   ========================================================================== */
.static-page {
    min-height: 60vh;
    margin: 40px 0 70px;
}
.static-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222222;
}
@media (max-width: 700px) {
    .static-page h1 {
        font-size: 27px;
    }
}
.static-page h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 25px 0 10px;
    color: #222222;
}
.static-page h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #222222;
}
.static-page p {
    font-size: 16px;
    line-height: 1.7;
    margin: 15px 0;
    color: #333333;
}
.static-page a {
    text-decoration: underline;
    display: inline;
    color: #533474;
}
.static-page ul,
.static-page ol {
    margin: 15px 0;
    margin-left: 20px;
}
.static-page li {
    list-style-type: disc;
    line-height: 1.6;
    margin: 8px 0;
}
.static-page strong {
    font-weight: 700;
}
.static-page .contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 26px;
    background: #533474;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background .3s;
}
.static-page .contact-btn:hover {
    background: #DED74A;
    color: #222222 !important;
}
.static-page .contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}
.static-page .contact-items > div {
    flex: 1 1 260px;
    border: 1px solid #DED74A;
    border-radius: 6px;
    padding: 25px;
}

/* ==========================================================================
   Misc / helpers
   ========================================================================== */
.mobileonly {
    display: none !important;
}
@media (max-width: 767px) {
    .desktoponly {
        display: none !important;
    }
    .mobileonly {
        display: block !important;
    }
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #533474;
}
