/* =====================================================
   Lanka Hela Ads: SIMPLE UI (Dark Red)
   flat colours only. no gradient, no glow
   (animation: blog banner fade + yellow banner float විතරයි)
   Dark red #9b111e · Yellow #ffc400 · Ink #1f2430
   Font: Plus Jakarta Sans + Noto Sans Sinhala
   (header.php එකේ අන්තිමට load කරන්න)
   ===================================================== */

/* ---------- 0. Theme colours (dark red) ---------- */
:root {
    --red: #9b111e;
    --red-dark: #7a0d18;
    --red-soft: #fbeaec;
    --primary: #9b111e;
    --primary-dark: #7a0d18;
    --danger: #9b111e;
}

/* ---------- 1. Animation / shadow / blur ඔක්කොම off ---------- */
*, *::before, *::after {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    scroll-behavior: auto !important;
}
html body .ad-card .badge.tier-badge-vip,
html body .ad-card .badge.tier-badge-super,
html body .ad-card .badge.tier-badge-vip::after,
html body .ad-card .badge.tier-badge-super::after,
html body .lh-tag, html body .lh-tag::after { animation: none !important; }

/* hover වලදී ඉහළට පැනීම නෑ */
html body .btn:hover, html body .ad-card:hover,
html body .hp-search button:hover, html body .db-card:hover, html body .blog-card:hover,
html body .cat-card:hover, html body .hp-cats a:hover, html body .hp-chips a:hover,
html body .pagination a:hover, html body .ct-top a:hover, html body .help-bar a:hover,
html body .city-strip a:hover { transform: none !important; }

/* focus: shadow වෙනුවට සරල outline */
html body input:focus, html body select:focus, html body textarea:focus {
    outline: 2px solid #9b111e !important;
    outline-offset: 0 !important;
    border-color: #9b111e !important;
}

/* ---------- 1b. Blog banner: slide වෙනකොට සරල fade එකක් විතරයි ---------- */
@keyframes bbSimpleFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
html body .bb-wrap .bb-slide.is-active {
    animation: bbSimpleFade .4s ease-in !important;
}

/* ---------- 2. Font: Plus Jakarta Sans (සිංහල: Noto Sans Sinhala) ඔක්කොමට ---------- */
html body,
html body *,
html body input,
html body select,
html body textarea,
html body button {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}
html body .logo { font-style: normal !important; }

/* ---------- 3. Background ---------- */
html body { background: #f5f6fa !important; }

/* ---------- 4. Header / Footer ---------- */
html body .site-header { background: #9b111e !important; border-bottom: 0 !important; }
html body .site-footer { background: #1f2430 !important; border-top: 0 !important; }

/* ---------- 5. Buttons ---------- */
html body .btn {
    background: #ffc400 !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #1f2430 !important;
}
html body .btn.btn-primary { background: #9b111e !important; color: #fff !important; }
html body .btn.btn-danger { background: #7a0d18 !important; color: #fff !important; }
html body .btn.btn-wa { background: #25d366 !important; color: #fff !important; }
html body .btn.btn-primary:hover { background: #7a0d18 !important; }
html body .btn:hover { opacity: .92; }

/* ---------- 6. Hero + search ---------- */
html body .hp-hero {
    background: #9b111e !important;
    border: 0 !important;
    border-radius: 12px !important;
}
html body .hp-hero h1::after { display: none !important; }

/* dropdown දෙක (All Sri Lanka / All categories) අයින්: search bar එක විතරයි */
html body .hp-search select { display: none !important; }

/* "7 live ads · 25 districts · 100% free" අයින් */
html body .hp-hero .hx-count { display: none !important; }

/* search form: input එක + කහ බොත්තම එකම පේළියේ, වෙන වෙනම */
html body .hp-search {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    position: static !important;
    width: 100% !important;
}
/* search box: සම්පූර්ණ round (pill), icon නෑ */
html body .hp-search input[type="text"] {
    background-image: none !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
    padding: 0 20px !important;
    height: 46px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: auto !important;
}
/* search බොත්තම: search bar එකෙන් පිටත, වෙනම කහ රවුමක් */
html body .hp-search button {
    position: static !important;
    flex: 0 0 auto !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffc400 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a00' stroke-width='2.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
}

/* ---------- 7. Banners ---------- */
html body .hp-banner {
    background: #ffc400 !important;
    border: 0 !important;
    border-radius: 10px !important;
}
html body .hp-banner::before { display: none !important; }
html body .bb-wrap {
    background: #1f2430 !important;
    border: 0 !important;
    border-radius: 12px !important;
}
html body .bb-media { background: #1f2430 !important; }
html body .bb-noimg { background: #9b111e !important; }

/* ---------- 8. Section boxes ---------- */
html body .hp-ads-sec { border: 1px solid #e6c3c8 !important; border-radius: 12px !important; background: #fbf1f2 !important; }
html body .hp-zone-more { border-radius: 12px !important; }
/* Categories / Top cities බොත්තම: pill නෙවෙයි, පොඩි කොන් */
html body .hp-sidedrop > summary {
    background: #9b111e !important;
    border: 0 !important;
    border-radius: 8px !important;
}
html body .hp-catdrop > summary { border: 1px solid #e4e6ef !important; }
html body .hp-catdrop > summary::after { border-color: #9b111e !important; }

/* ---------- 9. Ad cards ---------- */
html body .ad-card { border-radius: 10px !important; }
html body .ad-card.tier-normal { background: #fff !important; border: 1px solid #e4e6ef !important; }
html body .ad-card.tier-super { background: #f1fff5 !important; border: 2px solid #1fa84f !important; }
html body .ad-card.tier-vip { background: #fff8dc !important; border: 2px solid #f2b705 !important; }

html body .ad-card .badge { background: #9b111e !important; color: #fff !important; }
html body .ad-card .badge.tier-badge-vip { background: #f2b705 !important; color: #3a2a00 !important; }
html body .ad-card .badge.tier-badge-super { background: #1fa84f !important; color: #fff !important; }
html body .ad-card .badge.lh-gray { background: #64748b !important; }
html body .ad-card .badge.lh-fake { background: #7a0d18 !important; }

html body .lh-tag::after, html body .badge::after { display: none !important; }
html body .lh-tag.green { background: #16a34a !important; }
html body .lh-tag.purple { background: #7c3aed !important; }

/* ---------- 10. Help bar / city strip ---------- */
html body .help-bar { background: #fff4c2 !important; border-bottom: 1px solid #ecd36a !important; }
html body .help-bar a { color: #7a0d18 !important; }
/* "?" රවුම අයින් */
html body .help-bar a::before { display: none !important; }
html body .city-strip { background: #fff !important; border-bottom: 1px solid #eceff3 !important; }
html body .city-strip a { background: #fff !important; border: 1px solid #dfb8be !important; color: #9b111e !important; }
html body .city-strip a::before { background: #9b111e !important; }
html body .city-strip a:hover { background: #9b111e !important; border-color: #9b111e !important; color: #fff !important; }
html body .city-strip a:hover::before { background: #ffc400 !important; }
html body .city-strip a.all { background: #ffc400 !important; border-color: #ffc400 !important; color: #1f2430 !important; }
html body .city-strip a.all:hover { background: #f0b400 !important; color: #1f2430 !important; }

/* ---------- 11. How-to / How it works / Pagination ---------- */
html body .hw-step::before { background: #9b111e !important; }
html body .hw-lang h3 { color: #9b111e !important; }
html body .hx-num { background: #9b111e !important; border: 0 !important; }
html body .pagination .current { background: #9b111e !important; border: 1px solid #9b111e !important; color: #fff !important; }

/* ---------- 12. Ad page sticky bar / static cta / dashboard ---------- */
html body .sticky-call { background: #9b111e !important; border: 0 !important; color: #fff !important; }
html body .sticky-wa { background: #25d366 !important; border: 0 !important; color: #fff !important; }
html body .static-card a.static-cta { background: #ffc400 !important; border: 0 !important; color: #1f2430 !important; }
html body .db-post { background: #ffc400 !important; border: 0 !important; }

/* ---------- 13. Ad Types boxes ---------- */
html body .at-vip { background: #fff8dc !important; border: 1px solid #f2b705 !important; }
html body .at-super { background: #f1fff5 !important; border: 1px solid #1fa84f !important; }
html body .at-normal { background: #fff !important; border: 1px solid #e4e6ef !important; }

/* ---------- 14. Cities Directory (hard-coded රතු පාට dark red වලට) ---------- */
html body .gc-wrap .gc-top a b,
html body .gc-wrap .gc-on b,
html body .gc-wrap .gc-dcount.has { background: #9b111e !important; }
html body .gc-wrap .gc-dist > summary::after,
html body .gc-wrap .gc-all { color: #9b111e !important; }
html body .gc-wrap .gc-search { border-color: #9b111e !important; }

/* ---------- 15. Icons / arrows: පොඩි කිරීම ---------- */
html body .nav svg { width: 14px !important; height: 14px !important; }
html body .site-header .nav svg { width: 16px !important; height: 16px !important; }
html body .site-header .nav .btn svg { width: 14px !important; height: 14px !important; }
@media (min-width: 701px) {
    html body .site-header .nav svg { width: 14px !important; height: 14px !important; }
}
html body .btn svg { width: 14px !important; height: 14px !important; }
html body .hp-banner small::after {
    width: 17px !important;
    height: 17px !important;
    font-size: 12px !important;
    margin-left: 6px !important;
}
html body .hp-catdrop-label svg { width: 18px !important; height: 18px !important; }
html body .hp-catdrop > summary::after {
    width: 8px !important;
    height: 8px !important;
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
}
html body .hp-sidedrop > summary { font-size: .92rem !important; }
html body .hp-sidedrop > summary::after {
    width: 7px !important;
    height: 7px !important;
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
}
html body .db-ic { width: 40px !important; height: 40px !important; }
html body .db-ic svg { width: 20px !important; height: 20px !important; }
html body .ct-top svg { width: 15px !important; height: 15px !important; }
html body .ct-search svg { width: 17px !important; height: 17px !important; }
html body .ct-dist > summary::after { font-size: 1.15rem !important; }
html body .gc-wrap .gc-dist > summary::after { font-size: .9rem !important; }
html body .cat-icon { font-size: 1.4rem !important; }
html body .hx-num { width: 30px !important; height: 30px !important; font-size: .9rem !important; }
html body .hw-step::before { width: 30px !important; height: 30px !important; font-size: .9rem !important; }
html body .hw-step { padding-left: 56px !important; }

/* ---------- 16. City strip (footer/වෙනත් තැන් වල තිබුණොත්) ---------- */
html body .city-strip .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    overflow: visible !important;
    gap: 6px !important;
    padding: 8px 8px !important;
    max-width: none !important;
}
html body .city-strip a {
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: .76rem !important;
    padding: 4px 10px !important;
    gap: 5px !important;
    line-height: 1.4 !important;
}
html body .city-strip a::before { width: 5px !important; height: 5px !important; }
html body .city-strip a.all { flex: 1 1 100% !important; padding: 6px 10px !important; }

/* ---------- 17. Section titles (Latest ads ...): සරල, ලස්සන ---------- */
html body .hp-arrows { display: none !important; }
html body .hp-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 18px 0 12px !important;
    padding: 2px 0 2px 12px !important;
    border-left: 4px solid #9b111e !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1f2430 !important;
}
html body .hp-title::after { display: none !important; }
html body .hp-title a {
    flex: 0 0 auto !important;
    padding: 3px 12px !important;
    border: 1px solid #9b111e !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #9b111e !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
html body .hp-title a:hover { background: #9b111e !important; color: #fff !important; }

/* ---------- 18. කහ banner එක: සෙමින් උඩ පහළ යන පොඩි animation එකක් ---------- */
@keyframes bannerFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
html body .hp-banner {
    animation: bannerFloat 1.8s ease-in-out infinite !important;
}
html body .hp-banner:hover { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    html body .hp-banner { animation: none !important; }
}

/* ---------- 19. Categories / Top cities බොත්තම + Latest ads box: shadow / glow සම්පූර්ණයෙන්ම අයින් ---------- */
html body .hp-sidedrop,
html body .hp-sidedrop[open],
html body .hp-sidedrop > summary,
html body .hp-sidedrop[open] > summary,
html body .hp-catdrop,
html body .hp-catdrop > summary,
html body .hp-ads-sec,
html body .hp-title {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    text-shadow: none !important;
    outline: 0 !important;
}
/* ::before glow layers අයින් (chevron එක ::after, ඒක තියෙනවා) */
html body .hp-sidedrop::before,
html body .hp-sidedrop::after,
html body .hp-sidedrop > summary::before,
html body .hp-ads-sec::before,
html body .hp-ads-sec::after {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: none !important;
}
/* බොත්තමේ gradient/image නැතුව සම්පූර්ණ flat පාට */
html body .hp-sidedrop > summary {
    background-image: none !important;
    background-color: #9b111e !important;
}
html body .hp-ads-sec {
    background-image: none !important;
    background-color: #fbf1f2 !important;
}