/* Local Advisor Theme
   =====================================================================
   Hand-ported from the legacy thelocaladvisor.com Symfony/Twig codebase
   (enginex-thelocaladvisor.com), specifically:
     - assets/css/base/_thelocaladvisor.scss (the real site-specific rules -
       hero mosaic grid, editors carousel, recent/trending/popular grid,
       footer, article page, hotspot ads, static pages)
     - assets/css/settings/_colors.scss (brand color intent)
   No Sass build step exists in this Flask app, so all nesting/variables
   from the .scss sources are flattened by hand into plain CSS here.

   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) - NOT redeclared
   here, since this file loads after that inline <style> and a same-
   specificity :root rule here would silently win the cascade and override
   whatever's configured in the DB. Defaults there already point at this
   theme's red (#ea3538) / cyan (#32c7fe) palette.

   Fixed brand chrome that isn't meant to be per-site tunable (the cyan
   footer, the hotspot "See It" button, mosaic overlays) uses the literal
   reference hex values instead of the CSS custom properties. */

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: #1f1f1f;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6, p, a, input, button, label {
    font-family: "Manrope", sans-serif;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-style: normal;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.full-container {
    width: 100%;
}

.container {
    max-width: 1472px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 1535px) {
    .container { max-width: 1186px; }
}

@media (max-width: 920px) {
    .container { width: 97%; padding: 0; }
}

@media (max-width: 765px) {
    .container { width: 93%; }
}

/* Section heading with the little red/grey divider line used throughout
   the reference (.header-content .lines / .heading-title) */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
}

.section-heading .view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary, #ea3538);
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: 20px;
}

.section-heading .view-all:hover {
    text-decoration: underline;
}

.section-lines {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.section-lines .small-line {
    width: 40px;
    height: 4px;
    background-color: var(--color-primary, #ea3538);
}

.section-lines .big-line {
    flex: 1;
    height: 2px;
    margin-left: 6px;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

@media (max-width: 765px) {
    .section-heading h2 { font-size: 22px; }
    .section-lines { margin-bottom: 24px; }
}

/* =====================================================================
   Header - home (hero) variant
   ===================================================================== */
.home-hero-header {
    position: relative;
    padding: 22px 0 90px;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 55%, #ea3538 100%);
    color: #fff;
}

.home-hero-header .top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-hero-header .hamburger {
    position: absolute;
    left: 0;
    top: 4px;
    width: 30px;
    height: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.home-hero-header .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    background-color: #fff;
}

.home-hero-header .logo img {
    max-width: 190px;
    width: 100%;
}

.home-hero-header .hero-search {
    max-width: 720px;
    margin: 45px auto 0;
    text-align: center;
    padding: 0 15px;
}

.home-hero-header .hero-search h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.home-hero-header .hero-search h1 span {
    color: #32c7fe;
}

.home-hero-header .hero-search form {
    display: flex;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
    border-radius: 30px;
    overflow: hidden;
}

.home-hero-header .hero-search input[type="text"] {
    flex: 1;
    border: 0;
    height: 58px;
    padding: 0 25px;
    font-size: 16px;
    color: #2e2e2e;
}

.home-hero-header .hero-search button {
    border: 0;
    height: 58px;
    padding: 0 34px;
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.home-hero-header .hero-search button:hover {
    background: var(--color-secondary, #32c7fe);
}

@media (max-width: 767px) {
    .home-hero-header { padding: 16px 0 60px; }
    .home-hero-header .hero-search { margin: 30px 0px 30px;  padding: 0px;}
    .home-hero-header .hero-search h1 { font-size: 21px; margin-bottom: 20px; }
    .home-hero-header .hero-search form { border-radius: 12px; box-shadow: none; border: 1px solid rgba(255,255,255,0.5); }
    .home-hero-header .hero-search input[type="text"] { padding: 0 12px; }
}

/* =====================================================================
   Header - inner pages
   ===================================================================== */
.inner-header {
    padding: 18px 0;
    box-shadow: 0 0 4px 3px rgba(79, 79, 79, 0.1);
    position: relative;
    z-index: 3;
    background: #fff;
}

.inner-header .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.inner-header .logo img {
    max-width: 150px;
    width: 100%;
}

.inner-header .search-form form {
    display: flex;
    border: 1px solid #e2e2e2;
    border-radius: 30px;
    overflow: hidden;
}

.inner-header .search-form input[type="text"] {
    border: 0;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    width: 260px;
    max-width: 45vw;
}

.inner-header .search-form button {
    border: 0;
    width: 50px;
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
    cursor: pointer;
    font-size: 15px;
}

@media (max-width: 600px) {
    .inner-header .logo img { max-width: 110px; }
    .inner-header .search-form input[type="text"] { width: 150px; padding: 0 12px; font-size: 13px; }
}

/* =====================================================================
   Mobile menu
   ===================================================================== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-wrapper {
    background: #fff;
    width: 100%;
    max-width: 320px;
    height: 100%;
    padding: 60px 25px 0;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.mobile-menu-items a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 14px 0;
    border-bottom: 1px solid #ebebeb;
}

.mobile-menu-items a:hover {
    color: var(--color-primary, #ea3538);
}

/* =====================================================================
   Home: hero mosaic grid
   (assets/css/base/_thelocaladvisor.scss .hero-sec)
   ===================================================================== */
.mosaic-hero {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.mosaic-grid {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    min-height: 70vh;
}

@media (max-width: 1535px) {
    .mosaic-grid { min-height: 60vh; }
}

@media (max-width: 768px) {
    .mosaic-grid { min-height: unset; grid-template-rows: unset; }
}

.mosaic-box {
    display: flex;
    align-items: flex-end;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cfcfcf;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.mosaic-box h3 {
    margin: 24px 20px;
    font-size: 18px;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .mosaic-box { height: 220px; }
}

.mosaic-box.box-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 4;
}

.mosaic-box.box-1 h3 {
    margin: 40px;
    font-size: 30px;
    width: 80%;
    line-height: 1.3;
}

.mosaic-box.box-2,
.mosaic-box.box-3,
.mosaic-box.box-4 {
    grid-column: 4 / 5;
}

@media (max-width: 928px) {
    .mosaic-box.box-1 { grid-column: 1 / 5; grid-row: 1 / 2; }
    .mosaic-box.box-2 { grid-column: 1 / 5; }
    .mosaic-box.box-3 { grid-column: 1 / 3; }
    .mosaic-box.box-4 { grid-column: 3 / 5; }
}

@media (max-width: 768px) {
    .mosaic-box.box-1,
    .mosaic-box.box-2,
    .mosaic-box.box-3,
    .mosaic-box.box-4 { grid-column: 1 / 5; }
    .mosaic-box.box-1 h3 { font-size: 22px; margin: 20px; }
}

.mosaic-empty {
    text-align: center;
    padding: 70px 20px;
    background: #fafafa;
    border-radius: 10px;
    color: #666;
}

.mosaic-empty h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #1f1f1f;
}

/* =====================================================================
   Home: spotlight / featured article
   ===================================================================== */
.spotlight-section {
    padding: 60px 0 10px;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 55% auto;
    grid-gap: 60px;
    align-items: center;
}

.spotlight-image {
    border-radius: 8px;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-image img {
    transform: scale(1.05);
}

.spotlight-category {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary, #ea3538);
    letter-spacing: 0.04em;
}

.spotlight-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin: 12px 0 16px;
}

.spotlight-title a:hover {
    color: var(--color-primary, #ea3538);
}

.spotlight-descr {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 22px;
}

.spotlight-btn {
    display: inline-block;
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 32px;
    border-radius: 30px;
}

.spotlight-btn:hover {
    background: var(--color-secondary, #32c7fe);
}

@media (max-width: 900px) {
    .spotlight-card { grid-template-columns: 1fr; grid-gap: 24px; }
    .spotlight-title { font-size: 24px; }
}

/* =====================================================================
   Home: editors' choice carousel
   (assets/css/base/_thelocaladvisor.scss .editors-sec)
   ===================================================================== */
.editors-section {
    padding: 30px 0 60px;
}

.editors-carousel {
    margin-top: 20px;
}

.editors-carousel .editor-card {
    display: flex !important;
    align-items: center;
    padding: 0 12px;
}

.editor-card-image {
    flex: 0 0 34%;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 16px;
}

.editor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editor-card-title:hover {
    color: var(--color-primary, #ea3538);
}

.editors-carousel .slick-prev,
.editors-carousel .slick-next {
    width: 40px;
    height: 40px;
    z-index: 5;
}

.editors-carousel .slick-prev { left: -10px; }
.editors-carousel .slick-next { right: -10px; }

.editors-carousel .slick-prev:before,
.editors-carousel .slick-next:before {
    color: var(--color-primary, #ea3538);
    font-size: 30px;
    opacity: 1;
}

.editors-carousel .slick-dots {
    text-align: center;
    margin-top: 15px;
}

.editors-carousel .slick-dots li button:before {
    font-size: 9px;
    color: var(--color-primary, #ea3538);
}

/* =====================================================================
   Home: category rows
   (mapped from categories_articles - inspired by
   .home-two-categories / .home-categorized-posts)
   ===================================================================== */
.category-row {
    padding: 30px 0;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 260px;
    display: flex;
    align-items: flex-end;
    background-color: #d8d8d8;
}

.category-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #32c7fe;
    margin-bottom: 6px;
    display: block;
}

.category-card-info {
    padding: 18px 20px;
    color: #fff;
    width: 100%;
}

.category-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 920px) {
    .category-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .category-strip { grid-template-columns: 1fr; }
    .category-card { height: 220px; }
}

/* =====================================================================
   Home: latest articles grid
   ===================================================================== */
.latest-section {
    padding: 30px 0 60px;
}

.latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 35px;
}

.latest-card {
    display: grid;
    grid-template-columns: 160px auto;
    grid-gap: 0 22px;
}

.latest-card-image {
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
}

.latest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-card:hover .latest-card-image img {
    transform: scale(1.08);
}

.latest-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-card-title:hover {
    color: var(--color-primary, #ea3538);
}

.latest-card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-card-arrow {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary, #ea3538);
    text-transform: uppercase;
}

.latest-card-arrow img {
    width: 14px;
    margin-left: 6px;
}

.read-more-wrap {
    text-align: center;
    margin-top: 45px;
}

.explore-btn {
    display: inline-block;
    color: #1f1f1f;
    border: 2px solid #1f1f1f;
    border-radius: 30px;
    padding: 12px 34px;
    font-weight: 700;
    font-size: 14px;
}

.explore-btn:hover {
    background: var(--color-button-bg, #ea3538);
    border-color: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
}

@media (max-width: 700px) {
    .latest-grid { grid-template-columns: 1fr; grid-gap: 20px; }
    .latest-card { grid-template-columns: 110px auto; }
    .latest-card-image { height: 100px; }
}

/* =====================================================================
   Home: bottom "didn't find" CTA
   (assets/css/base/_thelocaladvisor.scss .home-form-sec)
   ===================================================================== */
.cta-section {
    padding: 70px 0 40px;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-form {
    width: 55%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 8px 8px 8px 20px;
}

.cta-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
}

.cta-form button {
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 700;
    cursor: pointer;
}

.cta-note {
    display: block;
    width: 60%;
    margin: 40px auto 0;
    font-size: 18px;
    line-height: 1.5;
}

.cta-note a {
    font-weight: 700;
}

.cta-divider {
    width: 48%;
    margin: 25px auto 0;
    border-bottom: 2px solid #000;
}

.cta-copyright {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #777;
}

@media (max-width: 765px) {
    .cta-form { width: 92%; }
    .cta-note { width: 88%; font-size: 15px; }
}

/* =====================================================================
   Articles listing page
   ===================================================================== */
.articles-page {
    padding: 50px 0 70px;
}

.articles-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 35px;
}

.no-articles {
    padding: 40px 0;
    color: #777;
    font-size: 15px;
}

.pagination {
    text-align: center;
    margin: 50px 0 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    min-width: 42px;
    padding: 10px 14px;
    margin: 0 4px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.pagination a:hover {
    border-color: var(--color-primary, #ea3538);
    color: var(--color-primary, #ea3538);
}

.pagination .pagination-page.active {
    background: var(--color-button-bg, #ea3538);
    border-color: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
}

@media (max-width: 700px) {
    .articles-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Article detail page
   (assets/css/base/_thelocaladvisor.scss .article-sec-content + pages/_article.scss)
   ===================================================================== */
.article-page {
    padding: 40px 0 70px;
}

.article-page .article-wrap {
    width: 70%;
    margin: 0 auto;
    max-width: 900px;
}

.article-category-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary, #ea3538);
    margin-bottom: 14px;
}

.article-title-heading {
    font-size: 46px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}

.article-author {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: 16px;
}

.article-hero-image {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    display: block;
}

.article-body {
    margin-top: 35px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 22px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    font-weight: 700;
    margin: 30px 0 14px;
    color: #000;
}

.article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 22px; }
.article-body h4 { font-size: 19px; }

.article-body ul,
.article-body ol {
    margin: 10px 0 20px 20px;
}

.article-body ul li {
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body a {
    color: var(--color-primary, #ea3538);
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

@media (max-width: 765px) {
    .article-page .article-wrap { width: 95%; }
    .article-title-heading { font-size: 30px; }
    .article-body { font-size: 15px; }
}

/* Article page: "more from this site" strip using other_articles/categories */
.article-more {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.article-more h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.article-more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.article-more-card-image {
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.article-more-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-more-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-more-card-title:hover {
    color: var(--color-primary, #ea3538);
}

.article-categories-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-categories-list a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 30px;
    background: #f3f3f3;
    color: #333;
}

.article-categories-list a:hover {
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
}

@media (max-width: 900px) {
    .article-more-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Search page (stub - no live backend yet)
   ===================================================================== */
.search-page {
    padding: 50px 0 90px;
    min-height: 50vh;
}

.search-form-block {
    max-width: 640px;
    margin: 0 auto 40px;
}

.search-form-block form {
    display: flex;
    border: 1px solid #dcdcdc;
    border-radius: 30px;
    overflow: hidden;
}

.search-form-block input[type="text"] {
    flex: 1;
    border: 0;
    padding: 14px 22px;
    font-size: 15px;
}

.search-form-block button {
    border: 0;
    padding: 0 30px;
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff);
    font-weight: 700;
    cursor: pointer;
}

.search-results-list {
    max-width: 800px;
    margin: 0 auto;
}

.search-result-item {
    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.search-result-item .li-title a {
    font-size: 18px;
    font-weight: 700;
    color: #1a0dab;
}

.search-result-item .li-descr {
    margin: 6px 0;
    color: #333;
    font-size: 14px;
}

.search-result-item .url a {
    color: #008000;
    font-size: 13px;
}

.no-results {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    padding: 30px 0;
    font-size: 15px;
}

/* =====================================================================
   Yahoo top5 / hotspot ad listing page
   (assets/css/base/_thelocaladvisor.scss .hotspots-ads)
   Class names below (.items/.item/.leftcontent/.li-title/.li-descr/.url/
   .rightbtn/.li-links/.li-link/.li-label) are shared markup rendered by
   partials/top5_feed.html - kept identical to base-theme's version since
   they carry real ad-tracking data attributes, only styled here. The
   colors on .li-title/.li-descr/.url a are then pinned to blue/black/
   green by the shared css/yahoo-listing.css, loaded after this file.
   ===================================================================== */
.search-section {
    padding: 40px 0 70px;
    min-height: 60vh;
}

.search-section .li-label {
    display: block;
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.search-section .li-label span {
    font-weight: 700;
    color: #1f1f1f;
}

.search-section .items .item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    transition: background 0.25s ease;
}

/* 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. */

.search-section .leftcontent {
    flex: 1;
    min-width: 0;
}

.search-section .li-title a {
    font-size: 19px;
    font-weight: 700;
}

.search-section .li-descr {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.search-section .li-descr__callouts,
.search-section .li-descr__annotations {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.search-section .url {
    font-size: 13px;
    margin-top: 4px;
}

.search-section .li-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.search-section .li-link a {
    font-size: 13px;
    color: #3300b5;
}

.search-section .rightbtn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ea3538;
    border: 1px solid #ea3538;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: 12px 26px;
    white-space: nowrap;
}

.search-section .items .item .rightbtn a:hover {
    background: #fff;
    color: #ea3538;
}

@media (max-width: 765px) {
    .search-section .items .item { flex-direction: column; align-items: flex-start; padding: 16px; }
    .search-section .rightbtn { width: 100%; }
    .search-section .rightbtn a { width: 100%; }
}

/* =====================================================================
   Static / legal pages (about, contact, advertisers, terms, privacy,
   cookies) - assets/css/pages/_static.scss
   ===================================================================== */
.static-page {
    padding: 50px 0 80px;
    min-height: 60vh;
}

.static-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #ea3538 100%);
    color: #fff;
    text-align: center;
    padding: 45px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.static-hero .eyebrow {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #32c7fe;
    margin-bottom: 10px;
}

.static-hero h1 {
    font-size: 32px;
    font-weight: 700;
}

.static-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.static-body p {
    margin-bottom: 20px;
}

.static-body h2 {
    font-size: 22px;
    margin: 30px 0 12px;
    font-weight: 700;
}

.static-body h3 {
    font-size: 19px;
    margin: 22px 0 10px;
    font-weight: 700;
}

.static-body ul,
.static-body ol {
    margin: 10px 0 20px 22px;
}

.static-body ul li {
    list-style: disc;
}

.static-body a {
    color: var(--color-primary, #ea3538);
    text-decoration: underline;
}

.static-body table {
    margin: 10px 0 20px;
    border-collapse: collapse;
    width: 100%;
}

.static-body table th,
.static-body table td {
    border: 1px solid #e2e2e2;
    padding: 8px 12px;
    text-align: left;
}

.contact-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-card {
    flex: 1 1 260px;
    border: 1px solid #ea3538;
    border-radius: 8px;
    padding: 26px 22px;
}

.contact-card h2 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.contact-btn {
    display: inline-block;
    background: var(--color-button-bg, #ea3538);
    color: var(--color-button-text, #fff) !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .static-hero h1 { font-size: 24px; }
    .contact-grid { flex-direction: column; }
}

/* =====================================================================
   Footer
   (assets/css/base/_thelocaladvisor.scss footer{} - the real site's
   cyan #32c7fe footer)
   ===================================================================== */
.footer-section {
    background-color: #32c7fe;
    padding: 35px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content .logo img {
    max-width: 150px;
    margin-bottom: 22px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-bottom: 22px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 720px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(0, 0, 0, 0.75);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom a {
    font-weight: 700;
    color: #1f1f1f;
}

@media (max-width: 700px) {
    .footer-links { flex-direction: column; gap: 10px; }
}
