/* ============================================================
   Craigslist Theme CSS - Authentic Design
   Based on actual Craigslist HTML structure
   SNetworks PHP Classifieds v6.5.2
   ============================================================ */

/* === BASE STYLES === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
    color: #000;
}

/* === LINKS === */
a { color: #00e; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #551a8b; }

/* === PAGE CONTAINER === */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

section.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section.page-container.flexed-footer {
    min-height: 100vh;
}

/* === HOMEPAGE CONTENT - 3 COLUMN LAYOUT === */
.homepage-content {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 1;
}

/* === TOP BANNER (inside center column) === */
#topban {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px 15px;
    margin-bottom: 15px;
    max-width: 680px;
}

.topban-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topban-left .location-pin {
    font-size: 22px;
    color: #339;
}

.topban-left .area-title {
    font-size: 22px;
    font-weight: normal;
    color: #000;
    margin: 0;
}

.topban-left .area-tabs {
    display: flex;
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
    gap: 5px;
}

.topban-left .area-tabs li a {
    display: block;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #00e;
    font-size: 13px;
    text-decoration: none;
    background: #fff;
}

.topban-left .area-tabs li a:hover {
    background: #f8f8ff;
    text-decoration: underline;
}

.topban-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topban-right .action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.topban-right .action-icon .icon {
    font-size: 22px;
    line-height: 1;
}

.topban-right .action-icon .icon.star {
    color: #fc0;
}

.topban-right .action-icon .icon.post {
    color: #090;
}

.topban-right .action-icon .icon.acct {
    color: #333;
}

.topban-right .action-icon .label {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === LEFT SIDEBAR === */
#leftbar {
    width: 190px;
    flex-shrink: 0;
    padding: 15px 12px;
    z-index: 1;
    text-align: center;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    margin-right: 15px;
    align-self: flex-start;
}

/* Logo */
#leftbar #logo {
    margin: 0 0 15px 0;
    font-weight: normal;
}
#leftbar #logo a {
    text-decoration: none;
    display: block;
}
#leftbar #logo .peace {
    color: #609;
    font-size: 22px;
    vertical-align: middle;
}
#leftbar #logo .sitename {
    color: #609;
    font-size: 22px;
    font-weight: normal;
    vertical-align: middle;
}

/* Post link */
#postlks {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}
#postlks li {
    margin: 0;
}
#postlks a#post {
    color: #5a9;
    font-size: 15px;
    text-decoration: none;
}
#postlks a#post:hover {
    text-decoration: underline;
}
#postlks .pencil {
    font-size: 14px;
    margin-right: 3px;
}

/* Search box */
#search {
    margin-bottom: 20px;
    text-align: left;
}
#search form {
    position: relative;
}
#search .search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #888;
    font-family: sans-serif;
}
#search input[type="text"] {
    width: 100%;
    padding: 8px 10px 8px 26px;
    border: 1px solid #bbb;
    font-size: 13px;
    background: #fff;
    color: #888;
}
#search input[type="text"]::placeholder {
    color: #999;
}
#search input[type="text"]:focus {
    outline: none;
    border-color: #888;
    color: #000;
}

/* Calendar section */
#cal {
    margin-bottom: 20px;
}

/* Calendar header */
#calban {
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 5px;
    text-align: center;
}
#calban a {
    color: #00e;
    text-decoration: underline;
}
#calban a:hover {
    color: #609;
}

/* Calendar table */
table.cal {
    border-collapse: collapse;
    font-size: 11px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #aaa;
}
table.cal th,
table.cal td {
    padding: 3px 2px;
    text-align: center;
    width: 14.28%;
    border: 1px solid #ccc;
}
table.cal tr.days th {
    font-weight: bold;
    color: #00e;
    font-size: 10px;
    background: #ccc;
    border: 1px solid #aaa;
}
table.cal td {
    color: #00e;
    font-weight: bold;
    background: #fff;
}
table.cal td a {
    color: #00e;
    text-decoration: none;
    display: block;
}
table.cal td a:hover {
    text-decoration: underline;
}
table.cal td.today {
    background: #ff9;
    border-radius: 0;
}
table.cal td.today a {
    font-weight: bold;
    color: #00e;
}

/* Left sidebar link sections */
.leftlinks,
ul.leftlinks {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: center;
}
.leftlinks:last-child {
    margin-bottom: 0;
}
.leftlinks li {
    padding: 2px 0;
    font-size: 12px;
    line-height: 1.6;
}
.leftlinks a {
    color: #00e;
    text-decoration: none;
}
.leftlinks a:hover {
    text-decoration: underline;
}
.leftlinks li.emoji {
    font-size: 16px;
    padding: 5px 0;
}
.leftlinks li.emoji span {
    margin: 0 1px;
}

/* === CENTER CONTENT === */
#center {
    flex: 1;
    min-width: 0;
    z-index: 1;
    padding: 0 15px;
    max-width: 710px;
}

#main-content {
    /* Main content area below the header */
}

/* Category columns container — masonry layout */
.community {
    columns: 3;
    column-gap: 15px;
    max-width: 680px;
}

.col {
    break-inside: avoid;
    margin-bottom: 10px;
}

/* Category banner/header */
h3.ban {
    background: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: none;
    border-right: none;
    padding: 3px 10px;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
h3.ban a {
    color: #00e;
    text-decoration: none;
    text-transform: lowercase;
}
h3.ban:hover {
    background: #fff;
}
h3.ban a:hover {
    text-decoration: underline;
    color: #609;
}
h3.ban .txt {
    font: 16px "Open Sans", Helvetica, Arial, sans-serif;
    color: #0000EE;
}
h3.ban sup.c {
    display: none;
}

/* Category lists */
.cats {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px;
}
.cats ul {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 100px;
    flex: 1;
}
.cats ul.left {
    margin-right: 20px;
}
.cats ul.mc {
    /* Second column */
}
.cats li {
    font-size: 14px;
    line-height: 1.3;
    font-weight: normal;
    border-bottom: 1px solid #ddd;
    padding: 1px 0;
}
.cats li:last-child {
    border-bottom: none;
}
.cats li a {
    color: #00e;
    text-decoration: none;
    font-weight: normal;
    text-transform: lowercase;
}
.cats li:hover {
    background: #f0f0f0;
}
.cats li a:hover {
    text-decoration: underline;
    color: #609;
}

/* Single column categories (fewer subcats) */
.col.single-col .cats {
    display: block;
}
.col.single-col .cats ul {
    width: 100%;
}

/* === RIGHT SIDEBAR === */
#rightbar {
    width: 200px;
    flex-shrink: 0;
    padding: 10px 10px;
    z-index: 1;
    font-size: 13px;
    text-align: center;
    background: #f8f8f8;
}

/* Language selector */
#langlinks {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
#langlinks select {
    font-size: 15px;
    padding: 8px 12px;
    border: 1px solid #aaa;
    background: #fff;
    min-width: 130px;
}

/* Geo section */
.geo-section {
    margin-bottom: 15px;
}

.geo-header {
    background: #fff;
    border: none;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #00e;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    margin-bottom: 8px;
    text-align: center;
}

.geo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.geo-list li {
    line-height: 1.4;
}
.geo-list li a {
    color: #00e;
    font-size: 14px;
    text-decoration: none;
    text-transform: lowercase;
}
.geo-list li a:hover {
    text-decoration: underline;
}

.geo-change {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
}
.geo-change a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
}
.geo-change a:hover {
    text-decoration: underline;
    color: #00e;
}

/* === FOOTER === */
footer.cl-footer {
    text-align: center;
    padding: 20px 10px;
    font-size: 12px;
    border-top: 1px solid #eee;
    margin-top: auto;
}
.cl-footer .footer-links {
    margin-bottom: 8px;
}
.cl-footer .footer-links a {
    color: #00e;
    margin: 0 8px;
}
.cl-footer .copyright {
    color: #666;
    font-size: 11px;
}

/* ============================================================
   THEME ADAPTATIONS FOR SNETWORKS
   ============================================================ */

/* Mobile-only elements (hidden on desktop, created by JS on mobile) */
.cl-mobile-cat-tabs,
.cl-mobile-search,
.cl-mobile-watermark,
.cl-mobile-logo,
.cl-mobile-header-nav,
.cl-cat-modal,
.cl-mobile-filter-bar,
.cl-filter-modal,
.cl-mobile-filters-panel {
    display: none;
}

/* Category-box styles removed - using .col, h3.ban, .cats instead */

/* === ADAPTED SIDEBAR STYLES === */

/* Post button - simple link style */
.post-button {
    display: block;
    color: #00e;
    font-size: 14px;
    margin-bottom: 20px;
    text-decoration: none;
}
.post-button:hover { text-decoration: underline; }
.post-button .icon { margin-right: 3px; }

/* Search box */
.search-box {
    margin-bottom: 15px;
}
.search-box form {
    display: flex;
}
.search-box input[type="text"] {
    flex: 1;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 12px;
}
.search-box .search-icon { display: none; }

/* Calendar section */
.calendar-section {
    margin-bottom: 20px;
}
.calendar-title {
    font-size: 13px;
    margin-bottom: 8px;
}
.calendar-title a { color: #00e; }

/* Calendar - weekHtml() output adapted */
.calendar {
    font-size: 12px;
}
.calendar .week {
    display: flex;
}
.calendar .day-cell {
    padding: 2px 4px;
    text-align: center;
    min-width: 20px;
}
.calendar .day-cell .weekday {
    display: block;
    font-size: 11px;
    color: #666;
}
.calendar .day-cell .day {
    display: block;
    color: #00e;
}
.calendar .day-cell.today-cell {
    background: #ff9;
}
.calendar .day-cell.today-cell .day {
    font-weight: bold;
}
.calendar .day-cell.active {
    background: #d4edff;
    border-radius: 3px;
}
.calendar .day-cell.active .day {
    font-weight: bold;
    color: #003;
}

/* Events Calendar Section - Improved Layout */
.cl-events-calendar-section {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}
.cl-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.cl-events-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-transform: lowercase;
}
.cl-events-selected-date {
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.cl-events-calendar-wrap {
    margin-bottom: 12px;
}
.cl-events-calendar-wrap .calendar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
}
.cl-events-calendar-wrap .calendar .week {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
}
.cl-events-calendar-wrap .calendar .week:last-child {
    border-bottom: none;
}
.cl-events-calendar-wrap .calendar .day-cell {
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    min-width: 0;
}
.cl-events-calendar-wrap .calendar .day-cell .weekday {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cl-events-calendar-wrap .calendar .day-cell .day {
    font-size: 13px;
    font-weight: 500;
    padding: 2px 0;
}
.cl-events-calendar-wrap .calendar .day-cell:hover {
    background: #f0f0f0;
    border-radius: 3px;
}
.cl-events-calendar-wrap .calendar .day-cell.today-cell {
    background: #fffce5;
    border-radius: 3px;
}
.cl-events-calendar-wrap .calendar .day-cell.today-cell .day {
    color: #996600;
}
.cl-events-calendar-wrap .calendar .day-cell.active {
    background: #00e;
    border-radius: 3px;
}
.cl-events-calendar-wrap .calendar .day-cell.active .weekday {
    color: rgba(255,255,255,0.7);
}
.cl-events-calendar-wrap .calendar .day-cell.active .day {
    color: #fff;
}
.cl-events-nav {
    display: flex;
    gap: 10px;
}
.cl-events-nav a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 3px;
    text-transform: lowercase;
}
.cl-events-today-btn {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}
.cl-events-today-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}
.cl-events-all-btn {
    background: #00e;
    border: 1px solid #00e;
    color: #fff;
}
.cl-events-all-btn:hover {
    background: #00c;
}

/* Mobile: Events Calendar */
@media (max-width: 768px) {
    .cl-events-calendar-section {
        padding: 12px;
        margin: 0 -10px 15px -10px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .cl-events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .cl-events-calendar-wrap .calendar .day-cell .weekday {
        font-size: 9px;
    }
    .cl-events-calendar-wrap .calendar .day-cell .day {
        font-size: 12px;
    }
    .cl-events-nav {
        flex-wrap: wrap;
    }
    .cl-events-nav a {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }
}

/* Left links sections */
.left-links-section {
    margin-bottom: 20px;
}
.left-links-section h4 {
    display: none;
}
.left-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.left-links li {
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 0;
}
.left-links a { color: #00e; }

/* Right sidebar nearby section */
.nearby-section {
    margin-bottom: 10px;
}
.nearby-header {
    background: #eee;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.geo-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 5px;
}
.geo-list > li {
    margin-bottom: 8px;
}
.geo-list .state-name {
    font-size: 11px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}
.geo-list .city-list {
    list-style: none;
    padding: 0 0 0 8px;
    margin: 0;
}
.geo-list .city-list li {
    line-height: 1.5;
}
.geo-list .city-list a {
    color: #00e;
    font-size: 12px;
}

.geo-links-bottom {
    margin-top: 15px;
}
.geo-links-bottom a {
    display: block;
    color: #00e;
    font-size: 12px;
    font-style: italic;
    padding: 2px 0;
}

/* ============================================================
   INNER PAGES STYLES
   ============================================================ */

/* Inner page header - full width bar */
.cl-inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #bbb;
    padding: 6px 12px;
    margin: 0;
}
.cl-inner-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cl-inner-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.cl-inner-header-right .action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}
.cl-inner-header-right .action-icon .icon {
    font-size: 20px;
    line-height: 1;
}
.cl-inner-header-right .action-icon .icon.post {
    color: #090;
}
.cl-inner-header-right .action-icon .icon.acct {
    color: #333;
}
.cl-inner-header-right .action-icon .label {
    font-size: 10px;
    color: #666;
    margin-top: 1px;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Logo in inner header */
.cl-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 6px;
}
.cl-header-logo .abbr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #609;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

/* Breadcrumbs in inner header (post pages) */
.cl-header-breadcrumbs {
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0;
}
.cl-header-breadcrumbs span {
    white-space: nowrap;
}
.cl-header-breadcrumbs .sep {
    color: #999;
    margin: 0 6px;
}

/* Dropdown selects in inner header */
.cl-header-select select {
    font-size: 14px;
    padding: 5px 28px 5px 10px;
    border: 1px solid #bbb;
    background: #fff;
    color: #000;
    border-radius: 0;
    appearance: auto;
    min-width: 120px;
    cursor: pointer;
}
.cl-header-select select:focus {
    outline: 1px solid #00e;
    border-color: #00e;
}

.inner-page-content {
    padding: 15px;
    flex: 1;
}

/* Page header */
.page-header {
    margin-bottom: 15px;
}
.page-header h1 {
    font-size: 18px;
    font-weight: normal;
    color: #000;
}
.page-header .subtitle {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

/* === AD LISTINGS === */
.result-info {
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.listings {
    border-top: 1px solid #ddd;
}

.result-row {
    display: flex;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    gap: 8px;
}
.result-row:hover {
    background: #f8f8ff;
}
.result-row.featured,
.featuredad {
    background: #ffe !important;
}

.result-date {
    color: #999;
    font-size: 12px;
    min-width: 55px;
    flex-shrink: 0;
}
.result-price {
    color: #090;
    font-weight: bold;
    min-width: 65px;
    flex-shrink: 0;
}
.result-title {
    color: #00e;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.result-pic {
    color: #f60;
    font-size: 11px;
    margin-left: 5px;
}
.result-hood {
    color: #666;
    font-size: 12px;
    margin-left: 8px;
    flex-shrink: 0;
}

.result-row .thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 8px;
    flex-shrink: 0;
}
.result-row.has-thumb {
    align-items: center;
    padding: 8px 0;
}

.no-results {
    padding: 40px;
    text-align: center;
    color: #666;
}

/* Pagination */
.pager {
    margin: 20px 0;
    text-align: center;
}
.pager a, .pager span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 2px;
    font-size: 14px;
}
.pager a { color: #00e; }
.pager .current {
    font-weight: bold;
    background: #eee;
}

/* === SINGLE AD PAGE (Craigslist style) === */
.cl-posting {
    max-width: 900px;
}

/* Breadcrumb */
.cl-posting-breadcrumbs {
    font-size: 12px;
    margin-bottom: 10px;
    color: #888;
}
.cl-posting-breadcrumbs a {
    color: #00c;
    text-decoration: none;
}
.cl-posting-breadcrumbs a:hover {
    text-decoration: underline;
}
.cl-posting-breadcrumbs span {
    margin: 0 4px;
    color: #bbb;
}

/* Top bar: reply + actions left, print right */
.cl-posting-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e8e8e8;
}
.cl-posting-actions-left,
.cl-posting-actions-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.cl-reply-btn {
    background: #d8d0e8;
    color: #5a2d82;
    border: 1px solid #b8a8d0;
    padding: 6px 22px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 4px;
}
.cl-reply-btn:hover {
    background: #cdc3e0;
    border-color: #9a88b8;
}
.cl-topbar-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    cursor: pointer;
    gap: 0;
}
.cl-topbar-action .cl-action-icon {
    font-size: 20px;
    line-height: 1.2;
}
.cl-topbar-action .cl-action-label {
    font-size: 12px;
    line-height: 1;
}
.cl-topbar-action:hover {
    color: #333;
}
.cl-posting-date {
    font-size: 13px;
    color: #888;
    margin-left: 4px;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

/* Title */
.cl-posting-title {
    font-size: 24px;
    font-weight: normal;
    margin: 8px 0 12px;
    color: #000;
    line-height: 1.3;
}
.cl-posting-title-price {
    font-weight: bold;
}

/* Image gallery */
.cl-posting-gallery {
    margin: 15px 0;
}
.cl-gallery-main {
    background: #000;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.cl-gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    opacity: 0.7;
    pointer-events: none;
}
.cl-gallery-main img#cl-gallery-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
.cl-gallery-thumbs {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    overflow-x: auto;
    padding: 4px 0;
}
.cl-gallery-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    flex-shrink: 0;
}
.cl-gallery-thumb.active,
.cl-gallery-thumb:hover {
    border-color: #339;
    opacity: 1;
}
.cl-gallery-count {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Attributes / custom fields */
.cl-posting-attrs {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cl-attr-tag {
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 13px;
}
.cl-attr-label {
    color: #666;
}
.cl-attr-value {
    color: #000;
    font-weight: bold;
}

/* Description body */
.cl-posting-body {
    margin: 20px 0;
    line-height: 1.7;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Disclosure */
.cl-posting-disclosure {
    font-size: 12px;
    color: #888;
    margin: 12px 0;
}

/* Posting info (post id, dates, location) */
.cl-posting-infos {
    font-size: 12px;
    color: #888;
    border-top: 1px solid #e8e8e8;
    padding-top: 12px;
    margin-top: 20px;
}
.cl-posting-infos p {
    margin: 3px 0;
}

/* Reply section */
.cl-reply-section {
    background: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}
.cl-reply-section h4 {
    font-size: 15px;
    margin: 0 0 12px;
    font-weight: bold;
}
.cl-reply-form .cl-form-row {
    margin-bottom: 12px;
}
.cl-reply-form label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}
.cl-required {
    color: #c00;
}
.cl-reply-form input[type="email"],
.cl-reply-form textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.cl-reply-form textarea {
    resize: vertical;
}
.cl-reply-form small {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 3px;
}
.cl-submit-btn {
    background: #3377dd;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}
.cl-submit-btn:hover {
    background: #2266cc;
}

/* === POST SELECTOR (Craigslist style) === */
.cl-post-selector {
    max-width: 700px;
    margin: 0;
    padding: 20px 0 20px 40px;
}
.cl-post-selector .formnote {
    font-size: 16px;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.5;
}
.cl-post-selector .formnote b {
    font-weight: bold;
}
.selection-list {
    list-style: none;
    margin: 0 0 15px 30px;
    padding: 0;
    columns: 3;
    column-gap: 40px;
}
.selection-list li {
    padding: 5px 0;
    break-inside: avoid;
}
.selection-list label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.selection-list input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.selection-sublist {
    list-style: none;
    margin: 5px 0 5px 28px;
    padding: 0;
    columns: unset;
}
.selection-sublist li {
    padding: 4px 0;
}
.selection-sublist label {
    font-size: 15px;
}
.pickbutton {
    font-size: 18px;
    padding: 6px 20px;
    background: #f6f6f6;
    border: 1px solid #999;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.pickbutton:hover {
    background: #eee;
}
.cl-change-region {
    margin-top: 15px;
}
.cl-change-region a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
}
.cl-change-region a:hover {
    text-decoration: underline;
    color: #00e;
}

/* === FORMS (Craigslist style) === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
    border: 1px solid #888;
    padding: 5px 6px;
    font-size: 14px;
    font-family: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid #090;
    border-color: #090;
}

/* Craigslist post page */
.cl-post-page {
    padding: 15px 40px;
}
.cl-post-page-header h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 3px 0;
}
.cl-post-page-header .subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}
.cl-post-page .alert {
    max-width: 780px;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    padding: 5px 0;
    margin-bottom: 5px;
}

/* Craigslist post form */
.cl-post-form {
    max-width: 100%;
    padding: 20px 0;
}

/* Green labels */
.cl-post-form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #060;
    margin-bottom: 3px;
    text-transform: lowercase;
}

/* Green bordered inputs */
.cl-post-form input[type="text"],
.cl-post-form input[type="email"],
.cl-post-form input[type="number"],
.cl-post-form input[type="date"],
.cl-post-form textarea,
.cl-post-form select {
    border: 1px solid #090;
    padding: 5px 6px;
    font-size: 14px;
}
.cl-post-form input:focus,
.cl-post-form textarea:focus,
.cl-post-form select:focus {
    outline: 2px solid #090;
    border-color: #060;
}

/* Top row: title + price + area inline - full width */
.cl-form-toprow {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.cl-field-title {
    flex: 5;
}
.cl-field-price {
    flex: 0 0 110px;
}
.cl-field-area {
    flex: 2;
}
.cl-form-toprow input[type="text"],
.cl-form-toprow select {
    width: 100%;
    max-width: none;
}

/* Description textarea - full width */
.cl-field-desc {
    margin-bottom: 25px;
}
.cl-field-desc textarea {
    width: 100%;
    min-height: 280px;
    resize: vertical;
    border: 1px solid #090;
}

/* Hide WMD preview by default, toggle via link */
.cl-post-form #wmd-preview {
    display: none;
    background: #ffc;
    border: 1px solid khaki;
    padding: 10px;
    margin-top: 5px;
    min-height: 60px;
    width: 100% !important;
    box-sizing: border-box;
}
/* Hide the original preview label generated by WMD editor */
.cl-field-desc label + #wmd-button-bar + #wmd-input + br + label {
    display: none;
}
/* Preview toggle link next to label */
#cl-preview-toggle {
    font-size: 12px;
    color: #00e;
    font-weight: normal;
    text-transform: none;
    margin-left: 5px;
}

/* Fieldsets */
.cl-fieldset {
    border: 1px solid #ccc;
    padding: 20px 25px;
    margin-bottom: 25px;
    background: #f8f8f8;
}
.cl-fieldset legend {
    font-size: 15px;
    color: #333;
    padding: 0 8px;
    background: #fff;
}

/* Grid inside fieldsets for custom fields */
.cl-fieldset-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}
.cl-fieldset-grid .cl-field {
    flex: 0 0 calc(33.333% - 20px);
}
.cl-fieldset-grid input[type="text"],
.cl-fieldset-grid input[type="number"],
.cl-fieldset-grid select {
    width: 100%;
}

/* Fields inside fieldsets - black/gray borders */
.cl-fieldset input[type="text"],
.cl-fieldset input[type="number"],
.cl-fieldset input[type="email"],
.cl-fieldset select {
    border: 1px solid #999;
}

/* General field spacing */
.cl-field {
    margin-bottom: 12px;
}
.cl-field input[type="text"],
.cl-field input[type="email"] {
    width: 300px;
    max-width: 100%;
}
.cl-form-toprow .cl-field input[type="text"] {
    width: 100%;
    max-width: none;
}
/* Labels inside fieldsets are black */
.cl-fieldset label {
    color: #000;
}
/* But keep green for specific labels like email */
.cl-fieldset .cl-field > label {
    color: #060;
}

/* Radio and checkbox options */
.cl-radio-options {
    margin: 10px 0;
}
.cl-radio-label {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    padding: 5px 0;
    cursor: pointer;
    text-transform: none;
}
.cl-radio-label input[type="radio"] {
    margin-right: 6px;
}
.cl-checkbox-options label {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    padding: 5px 0;
    cursor: pointer;
    text-transform: none;
}
.cl-checkbox-options input[type="checkbox"] {
    margin-right: 6px;
}

/* Help text */
.cl-help-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Existing pics */
.cl-pics-existing {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}
.cl-pic-item {
    text-align: center;
}
.cl-pic-item img {
    max-width: 100px;
    max-height: 100px;
    display: block;
    margin-bottom: 5px;
}
.cl-pic-item label {
    font-size: 12px;
    font-weight: normal;
    color: #333;
}

/* Picture uploads - 2 columns */
.cl-pic-uploads {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 30px;
    columns: 2;
}
.cl-pic-upload-field {
    flex: 0 0 calc(50% - 15px);
    padding: 4px 0;
}

/* Captcha section */
.cl-captcha {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cl-captcha-image img {
    border: 1px solid #ccc;
    display: block;
}
.cl-captcha-input {
    flex: 1;
}
.cl-captcha-input input[type="text"] {
    width: 150px;
    border: 1px solid #999;
}

/* Form actions */
.cl-form-actions {
    margin-top: 25px;
}

/* === ALERTS === */
.alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid;
    font-size: 13px;
}
.alert-error, .alert-danger {
    background: #fee;
    border-color: #c00;
    color: #900;
}
.alert-success {
    background: #efe;
    border-color: #090;
    color: #060;
}
.alert-info {
    background: #eef;
    border-color: #09c;
    color: #069;
}

/* ============================================================
   ADS LISTING PAGE - Craigslist style
   ============================================================ */

/* Two-panel layout: sidebar + main */
.cl-ads-page {
    display: flex;
    gap: 0;
    align-items: flex-start;
    min-height: 400px;
    padding: 10px 15px;
}

/* Left filter sidebar */
.cl-ads-sidebar {
    width: 220px;
    min-width: 28%;
    flex-shrink: 0;
    padding: 10px 12px 10px 0;
    border-right: 1px solid #ddd;
}

.cl-ads-sidebar-catname {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.cl-ads-sidebar-catname h2 {
    font-size: 18px;
    font-weight: bold;
    color: #00e;
    margin: 0;
    line-height: 1.3;
    text-transform: lowercase;
}
.cl-back-arrow {
    font-size: 20px;
    color: #00e;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.cl-back-arrow:hover {
    color: #609;
}

/* Search bar */
.cl-search-form {
    margin: 0;
}
.cl-search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #aaa;
    background: #fff;
    margin-bottom: 10px;
}
.cl-search-bar .cl-search-icon {
    display: none;
}
.cl-search-bar input[type="text"] {
    flex: 1;
    border: none;
    padding: 5px 6px;
    font-size: 13px;
    outline: none;
    min-width: 0;
}
.cl-search-bar input[type="text"]:focus {
    outline: none;
    border: none;
}
.cl-search-submit {
    background: #fff;
    border: none;
    border-left: 1px solid #ccc;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}
.cl-search-submit:hover {
    background: #f0f0f0;
}

/* Filter checkboxes */
.cl-filter-checks {
    margin-bottom: 12px;
}
.cl-filter-checks label {
    display: block;
    font-size: 13px;
    color: #000;
    padding: 1px 0;
    cursor: pointer;
    font-weight: normal;
    text-transform: lowercase;
}
.cl-filter-checks input[type="checkbox"] {
    margin-right: 4px;
    vertical-align: middle;
}

/* Price filter */
.cl-price-filter,
.cl-custom-filter {
    margin-bottom: 10px;
}
.cl-price-filter label,
.cl-price-label,
.cl-custom-filter > label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}
.cl-price-input {
    width: 55px;
    padding: 3px 5px;
    font-size: 13px;
    border: 1px solid #aaa;
}
.cl-price-sep {
    font-size: 12px;
    color: #666;
    margin: 0 3px;
}
.cl-custom-filter select {
    font-size: 13px;
    padding: 3px;
    border: 1px solid #aaa;
    width: 100%;
}
.cl-custom-filter input[type="text"] {
    font-size: 13px;
    padding: 3px 5px;
    border: 1px solid #aaa;
    width: 100%;
}

/* Filter actions */
.cl-filter-actions {
    margin-top: 12px;
}
.cl-filter-reset {
    font-size: 13px;
    color: #00e;
    text-decoration: none;
}
.cl-filter-reset:hover {
    text-decoration: underline;
}

/* Main content area */
.cl-ads-main {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 15px;
}

/* Toolbar */
.cl-ads-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}
.cl-ads-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cl-ads-toolbar-right {
    flex-shrink: 0;
}

/* View toggle icons */
.cl-view-toggle {
    display: flex;
    gap: 0;
}
.cl-view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    border: 1px solid #bbb;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    margin-left: -1px;
}
.cl-view-icon:first-child {
    margin-left: 0;
}
.cl-view-icon.active {
    background: #ddd;
    color: #000;
}
.cl-view-icon:hover {
    background: #eee;
}

/* Sort dropdown */
.cl-sort-select {
    font-size: 14px;
    padding: 3px 22px 3px 8px;
    border: 1px solid #bbb;
    background: #fff;
    color: #000;
    cursor: pointer;
    appearance: auto;
}

/* Toolbar tags */
.cl-toolbar-tag {
    display: inline-block;
    font-size: 13px;
    padding: 2px 10px;
    border: 1px solid #bbb;
    background: #fff;
    color: #000;
    cursor: default;
}

/* Result count */
.cl-result-count {
    font-size: 13px;
    color: #666;
}

/* Listings container */
.cl-listings {
    border-top: none;
}

/* Individual ad row */
.cl-result-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    gap: 12px;
}
.cl-result-row:hover {
    background: #f8f8ff;
}
.cl-result-row.featured {
    background: #ffe !important;
}

/* Thumbnail */
.cl-result-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.cl-result-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}
.cl-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #eee;
    color: #bbb;
    font-size: 24px;
    text-decoration: none;
}

/* Result info section */
.cl-result-info {
    flex: 1;
    min-width: 0;
}

.cl-result-location {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-bottom: 2px;
}

/* Begin Version 6.5.6 - Robust flex layout: keep star + title on the same row, allow title to shrink. Author: Hasif Ahmed (xmart@live.com) */
.cl-result-title-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: nowrap;
    min-width: 0;
}
.cl-result-fav {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}
.cl-result-fav:hover {
    color: #fc0;
}
.cl-result-title {
    color: #00e;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
}
/* End Version 6.5.6 */
.cl-result-title:hover {
    text-decoration: underline;
}
.cl-result-title:visited {
    color: #551a8b;
}
.cl-result-price {
    color: #000;
    font-weight: bold;
    margin-right: 3px;
}

.cl-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.cl-result-time {
    font-size: 12px;
    color: #999;
}
.cl-result-haspic {
    font-size: 12px;
    color: #bbb;
}

/* Pagination */
.cl-pager {
    margin: 20px 0;
    text-align: center;
}
.cl-pager a, .cl-pager span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 2px;
    font-size: 14px;
}
.cl-pager a {
    color: #00e;
}
.cl-pager .current {
    font-weight: bold;
    background: #eee;
}

/* No results */
.cl-no-results {
    padding: 40px;
    text-align: center;
    color: #666;
}

/* ads page padding handled by consolidated rule above + .cl-ads-page itself */

/* ============================================================
   EDIT SUCCESS PAGE - Craigslist style
   ============================================================ */

.cl-edit-success-msg {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

/* ============================================================
   PROMOTE PAGE - Craigslist style
   ============================================================ */

/* Ad preview box shown above the promote form */
.cl-promote-ad-preview {
    border: 1px solid #ccc;
    background: #fafafa;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    max-width: 780px;
}
.cl-promote-expires {
    color: #555;
    margin-bottom: 6px;
}
.cl-promote-preview-text {
    color: #333;
    line-height: 1.4;
}

/* === UTILITIES === */
.clearfix::after { content: ""; display: table; clear: both; }
.hidden { display: none; }
.js-only { } /* Show for JS-enabled browsers */

/* Spacing utilities */
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* Form row — label + input stacked layout */
.form-row {
    margin-bottom: 12px;
}
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #060;
    margin-bottom: 3px;
    text-transform: lowercase;
}

/* Generic breadcrumbs */
.breadcrumbs {
    font-size: 12px;
    color: #555;
}
.breadcrumbs a {
    color: #00e;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

/* --- Tablet & Phone (768px) --- */
@media (max-width: 768px) {

    /* -- Edge-to-edge: remove outer margins/padding -- */
    body {
        margin: 0;
        padding: 0;
    }
    .page-container {
        padding: 0;
        margin: 0;
        max-width: 100%;
        position: relative;
    }

    /* -- Edge-to-edge: kill all border-radius and rounding on mobile -- */
    * {
        border-radius: 0 !important;
    }

    /* -- Header: Homepage Top Banner -- */
    #topban {
        flex-wrap: nowrap;
        max-width: 100%;
        width: 100%;
        padding: 8px 10px;
        margin-bottom: 0;
    }
    .topban-left {
        flex: 1;
        min-width: 0;
    }
    .topban-left .area-title {
        font-size: 18px;
    }
    .topban-left .area-tabs {
        display: none;
    }
    .topban-right {
        flex-shrink: 0;
        gap: 15px;
    }

    /* -- Header: Inner Page Header -- */
    .cl-inner-header {
        flex-wrap: nowrap;
        padding: 10px 12px;
        gap: 10px;
    }
    .cl-inner-header-left {
        flex: 1;
        min-width: 0;
        gap: 8px;
        overflow: visible;
        align-items: center;
    }
    .cl-header-logo {
        margin-right: 2px;
        flex-shrink: 0;
    }
    .cl-inner-header-right {
        flex-shrink: 0;
        gap: 12px;
    }
    .cl-inner-header-right .action-icon .icon {
        font-size: 20px;
    }
    .cl-inner-header-right .action-icon .label {
        display: none;
    }
    .cl-header-breadcrumbs {
        flex-wrap: wrap;
        font-size: 13px;
    }

    /* -- Mobile Header Navigation (location + category in one row) -- */
    .cl-mobile-header-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    /* Mobile Location Trigger & Dropdown */
    .cl-mobile-location {
        display: flex;
        flex-direction: column;
        position: relative;
        cursor: pointer;
        white-space: nowrap;
    }
    .cl-mobile-location-top {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .cl-mobile-location-label {
        font: 11px "Open Sans", Helvetica, Arial, sans-serif;
        color: #666;
        text-transform: lowercase;
    }
    .cl-mobile-location-arrow {
        font-size: 8px;
        color: #666;
    }
    .cl-mobile-location-city {
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #000;
        text-transform: lowercase;
        margin-left: 4px;
    }
    .cl-mobile-location-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        max-height: 60vh;
        overflow-y: auto;
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1000;
        padding: 10px 0;
    }
    .cl-mobile-location-dropdown.is-open {
        display: block;
    }
    .cl-location-section {
        padding: 0 15px;
        margin-bottom: 10px;
    }
    .cl-location-header {
        font-size: 11px;
        color: #666;
        text-transform: uppercase;
        margin-bottom: 5px;
        letter-spacing: 0.5px;
    }
    .cl-location-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .cl-location-list li {
        padding: 6px 0;
    }
    .cl-location-list li a {
        color: #00e;
        text-decoration: none;
        font-size: 14px;
    }
    .cl-location-list li a:hover {
        text-decoration: underline;
    }
    .cl-location-list li.current a {
        font-weight: bold;
    }

    /* Two-level location navigation */
    .cl-location-level {
        display: none;
    }
    .cl-location-level.active {
        display: block;
    }
    .cl-location-search {
        padding: 8px 15px;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1;
    }
    .cl-location-search input {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 0;
        font: 14px "Open Sans", Helvetica, Arial, sans-serif;
        color: #333;
        outline: none;
        box-sizing: border-box;
    }
    .cl-location-search input:focus {
        border-color: #00e;
    }
    .cl-location-search input::placeholder {
        color: #999;
    }
    .cl-location-change {
        padding: 10px 15px;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
    .cl-location-change a {
        color: #00e;
        text-decoration: none;
        font-size: 14px;
    }
    .cl-location-change a:hover {
        text-decoration: underline;
    }
    .cl-location-back {
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }
    .cl-location-back a {
        color: #00e;
        text-decoration: none;
        font-size: 14px;
    }
    .cl-location-back a:hover {
        text-decoration: underline;
    }

    /* Mobile Category Trigger */
    .cl-mobile-cat-trigger {
        display: flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        font: 14px "Open Sans", Helvetica, Arial, sans-serif;
        color: #00e;
        text-transform: lowercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cl-mobile-cat-arrow {
        font-size: 10px;
        color: #666;
        flex-shrink: 0;
    }
    .cl-mobile-cat-label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide desktop dropdowns on mobile, show trigger instead */
    .cl-header-select {
        display: none;
    }

    /* Category Modal - Full screen overlay */
    .cl-cat-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 9999;
        flex-direction: column;
    }
    .cl-cat-modal.is-open {
        display: flex;
    }
    .cl-cat-modal-header {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        border-bottom: 1px solid #ddd;
        background: #f6f6f6;
    }
    .cl-cat-modal-close {
        width: 28px;
        height: 28px;
        border: 1px solid #999;
        background: #fff;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        margin-right: 12px;
        color: #666;
    }
    .cl-cat-modal-title {
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #222;
    }
    .cl-cat-modal-body {
        display: flex;
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    /* Left: Category tabs */
    .cl-cat-modal-tabs {
        display: flex;
        flex-direction: column;
        min-width: 33.33%;
        background: #eee;
        overflow-x: hidden;
        overflow-y: auto;
        border-right: 1px solid #ddd;
    }
    .cl-cat-modal-tab {
        display: block;
        padding: 14px 10px;
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #00e;
        text-decoration: none;
        border: none;
        border-right: 1px solid #ddd;
        text-align: right;
        cursor: pointer;
        white-space: nowrap;
        background: #eee;
        text-transform: lowercase;
    }
    .cl-cat-modal-tab:hover {
        background: #e4e4e4;
    }
    .cl-cat-modal-tab.active {
        background: #fff;
        font-weight: bold;
        border-right: none;
    }

    /* Right: Subcategory panels */
    .cl-cat-modal-content {
        flex: 1;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
    }
    .cl-cat-modal-panel {
        display: none;
        padding: 10px 15px;
    }
    .cl-cat-modal-panel.active {
        display: block;
    }
    .cl-cat-modal-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .cl-cat-modal-item {
        padding: 12px 0;
    }
    .cl-cat-modal-item a {
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #00e;
        text-decoration: none;
        text-transform: lowercase;
    }
    .cl-cat-modal-item a:hover {
        text-decoration: underline;
    }
    .cl-cat-modal-item-all {
        background: #00e;
        margin: 0 -15px 10px;
        padding: 12px 15px;
    }
    .cl-cat-modal-item-all a {
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
    }
    .cl-cat-modal-item-all a:hover {
        text-decoration: none;
    }

    /* -- Homepage Mobile: CL split-panel layout -- */
    .homepage-content {
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    /* Hide sidebars on mobile — only search survives from leftbar */
    #leftbar {
        display: none;
    }
    #rightbar {
        display: none;
    }

    /* Show mobile search below top banner (created by JS) */
    .cl-mobile-search {
        display: block;
        padding: 6px 10px;
        border-bottom: 1px solid #ddd;
        width: 100%;
        box-sizing: border-box;
    }
    .cl-mobile-search form {
        display: flex;
        margin: 0;
    }
    .cl-mobile-search input[type="text"] {
        width: 100%;
        flex: 1;
        border: 1px solid #aaa;
        padding: 7px 10px;
        font-size: 14px;
        outline: none;
        box-sizing: border-box;
    }
    .cl-mobile-search input[type="text"]:focus {
        border-color: #00e;
    }

    #center {
        order: -1;
        max-width: 100%;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    #main-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    /* Categories: split-panel (left=cat names, right=subcats) */
    .community {
        columns: unset;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        flex: 1;
        min-height: 0;
        position: relative;
        overflow-x: hidden;
        overflow-y: hidden;
        align-items: stretch;
    }

    /* Each .col becomes a hidden subcat panel by default */
    .community .col {
        display: none;
        min-width: 0;
        margin-bottom: 0;
        break-inside: unset;
    }

    /* The JS-created left category tab list */
    .cl-mobile-cat-tabs {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        width: 108px;
        min-width: 33.33%;
        background: #eee;
        overflow-x: hidden;
        overflow-y: auto;
        position: relative;
    }
    .cl-mobile-cat-tab {
        display: block;
        padding: 14px 10px;
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #00e;
        text-decoration: none;
        border-right: 1px solid #ddd;
        text-align: right;
        cursor: pointer;
        white-space: nowrap;
        background: #eee;
        text-transform: lowercase;
    }
    .cl-mobile-cat-tab:hover {
        background: #e4e4e4;
    }
    .cl-mobile-cat-tab.active {
        background: #fff;
        font-weight: bold;
        position: relative;
        border-right: none;
    }

    /* Active subcat panel */
    .community .col.mobile-active {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 10px 15px;
        background: #fff;
    }
    .community .col.mobile-active h3.ban {
        background: none;
        border: none;
        padding: 6px 0 8px;
        margin: 0;
        text-transform: uppercase;
        text-align: left;
        font-size: 12px;
        letter-spacing: 0.5px;
        color: #666;
    }
    .community .col.mobile-active h3.ban a {
        color: #666;
        text-decoration: none;
        text-transform: uppercase;
    }
    .community .col.mobile-active .cats {
        display: block;
        padding: 0;
    }
    .community .col.mobile-active .cats ul {
        width: 100%;
        min-width: 0;
    }
    .community .col.mobile-active .cats li {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: none;
    }
    .community .col.mobile-active .cats li a {
        text-transform: lowercase;
        color: #00e;
    }

    /* Vertical site-name watermark on the right panel */
    .cl-mobile-watermark {
        display: flex;
        align-items: center;
        position: absolute;
        right: 5px;
        top: 55px;
        bottom: 0;
        writing-mode: vertical-rl;
        font-family: 'Times New Roman', Times, serif;
        font-size: 80px;
        font-weight: bold;
        color: rgba(0, 0, 200, 0.08);
        white-space: nowrap;
        pointer-events: none;
        z-index: 0;
        letter-spacing: 4px;
        text-transform: lowercase;
    }
    /* Watermark positioned lower on ads page (below filter bar) */
    .page-container:has(.cl-ads-page) .cl-mobile-watermark {
        top: 180px;
    }

    .housing, .jobs,
    .category-boxes {
        flex-direction: column;
    }
    .col, .category-box {
        min-width: 0;
    }

    /* -- Narrow/Wide Header Toggle -- */
    .global-header.wide { display: none; }
    .global-header.narrow { display: flex; }

    /* -- Ads Listing Page -- */
    .cl-ads-page {
        flex-direction: column;
        padding: 0;
    }

    /* Sidebar → compact strip: search + filter chips only */
    .cl-ads-sidebar {
        width: 100%;
        flex-shrink: unset;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 6px 10px 8px;
    }
    .cl-ads-sidebar-catname {
        display: none;
    }
    .cl-search-form {
        margin: 0;
    }

    /* Search bar — tight */
    .cl-search-bar {
        border: 1px solid #aaa;
        margin-bottom: 6px;
    }
    .cl-search-bar .cl-search-icon {
        display: inline-block;
        padding: 0 2px 0 6px;
        font-size: 14px;
        color: #999;
    }
    .cl-search-bar input[type="text"] {
        font-size: 14px;
        padding: 6px 4px;
    }
    .cl-search-submit {
        padding: 6px 8px;
        font-size: 14px;
        background: #fff;
        color: #555;
        border-left: 1px solid #ccc;
    }

    /* Hide old filter checkboxes on mobile - replaced by mobile filter bar */
    .cl-filter-checks {
        display: none;
    }

    /* Advanced filters: hide as fallback (JS toggle handles show/hide) */
    .cl-ads-sidebar > .cl-search-form > .cl-price-filter,
    .cl-ads-sidebar > .cl-search-form > .cl-custom-filter,
    .cl-ads-sidebar > .cl-search-form > .cl-filter-actions {
        display: none;
    }

    /* Mobile Filter Bar */
    .cl-mobile-filter-bar {
        display: block;
        width: 100%;
        background: #f6f6f6;
        border-bottom: 1px solid #ddd;
        padding: 8px 0;
    }
    .cl-mobile-filter-scroll {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cl-mobile-filter-scroll::-webkit-scrollbar {
        display: none;
    }
    .cl-mobile-filter-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font: 14px "Open Sans", Helvetica, Arial, sans-serif;
        color: #333;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 3px;
        cursor: pointer;
        white-space: nowrap;
    }
    .cl-mobile-filter-btn:hover {
        background: #f8f8f8;
    }
    .cl-mobile-filter-btn.active {
        background: #e8f0fe;
        border-color: #1a73e8;
        color: #1a73e8;
    }
    .cl-mobile-filter-more {
        font-size: 18px;
        font-weight: bold;
        padding: 6px 12px;
    }
    .cl-mobile-filter-scroll-hint {
        flex-shrink: 0;
        font-size: 20px;
        color: #00e;
        padding-right: 5px;
    }

    /* Mobile Filter Modals */
    .cl-filter-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9999;
        justify-content: center;
        align-items: flex-start;
        padding-top: 80px;
    }
    .cl-filter-modal.is-open {
        display: flex;
    }
    .cl-filter-modal-content {
        background: #fff;
        border-radius: 8px;
        width: 90%;
        max-width: 320px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .cl-filter-modal-header {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }
    .cl-filter-modal-close {
        width: 28px;
        height: 28px;
        border: none;
        background: none;
        font-size: 22px;
        color: #909;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    .cl-filter-modal-title {
        flex: 1;
        text-align: center;
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        color: #333;
        margin-right: 28px;
    }
    .cl-filter-modal-body {
        padding: 15px;
    }
    .cl-filter-modal-range {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .cl-filter-modal-range input {
        flex: 1;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        min-width: 0;
    }
    .cl-filter-modal-currency {
        color: #666;
        font-size: 14px;
    }
    .cl-filter-modal-sep {
        color: #666;
        font-size: 14px;
    }
    .cl-filter-modal-text input {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .cl-filter-modal-options {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 300px;
        overflow-y: auto;
    }
    .cl-filter-modal-option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
    }
    .cl-filter-modal-option:hover {
        background: #f8f8f8;
    }
    .cl-filter-modal-option.selected {
        background: #e8f0fe;
        border-color: #1a73e8;
    }
    .cl-filter-modal-option input {
        margin: 0;
    }
    .cl-filter-modal-footer {
        padding: 12px 15px;
        border-top: 1px solid #eee;
        text-align: center;
    }
    .cl-filter-modal-apply {
        padding: 10px 30px;
        font-size: 15px;
        color: #666;
        background: none;
        border: none;
        cursor: pointer;
    }
    .cl-filter-modal-apply:hover {
        color: #333;
    }

    /* Mobile Filters Panel (expanded +) */
    .cl-mobile-filters-panel {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 9998;
        flex-direction: column;
    }
    .cl-mobile-filters-panel.is-open {
        display: flex;
    }
    .cl-mobile-filters-panel-header {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        border-bottom: 1px solid #ddd;
        background: #f6f6f6;
    }
    .cl-mobile-filters-panel-close {
        width: 28px;
        height: 28px;
        border: none;
        background: none;
        font-size: 22px;
        color: #666;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    .cl-mobile-filters-panel-header span {
        flex: 1;
        text-align: center;
        font: 16px "Open Sans", Helvetica, Arial, sans-serif;
        margin-right: 28px;
    }
    .cl-mobile-filters-panel-body {
        flex: 1;
        padding: 15px;
        overflow-y: auto;
    }
    .cl-mobile-filters-check {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        font-size: 15px;
    }
    .cl-mobile-filters-check input {
        width: 20px;
        height: 20px;
    }
    .cl-mobile-filters-panel-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-top: 1px solid #ddd;
    }
    .cl-mobile-filters-panel-footer button {
        padding: 10px 25px;
        font-size: 15px;
        background: #00e;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    .cl-mobile-filters-panel-footer a {
        color: #00e;
        font-size: 14px;
    }
    .cl-mobile-filters-section {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    .cl-mobile-filters-label {
        font-size: 13px;
        color: #666;
        text-transform: lowercase;
        margin-bottom: 8px;
    }
    .cl-mobile-filters-range {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .cl-mobile-filters-range input {
        flex: 1;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        min-width: 0;
    }
    .cl-mobile-filters-currency {
        color: #666;
        font-size: 14px;
    }
    .cl-mobile-filters-sep {
        color: #666;
        font-size: 14px;
    }
    .cl-mobile-filters-select {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #fff;
    }
    .cl-mobile-filters-input {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    /* Main content */
    .cl-ads-main {
        padding: 0;
        width: 100%;
    }

    /* Toolbar: view icons + sort on one line, count below */
    .cl-ads-toolbar {
        flex-wrap: wrap;
        gap: 0;
        padding: 0;
        border-bottom: none;
        margin-bottom: 0;
    }
    .cl-ads-toolbar-left {
        display: flex;
        align-items: center;
        gap: 0;
        width: 100%;
        padding: 5px 10px;
        border-bottom: 1px solid #eee;
    }
    .cl-view-toggle {
        display: flex;
        gap: 0;
    }
    .cl-view-icon {
        width: 32px;
        height: 30px;
        font-size: 15px;
    }
    .cl-sort-section {
        margin-left: auto;
    }
    .cl-sort-select {
        font-size: 13px;
        padding: 4px 22px 4px 8px;
        border: 1px solid #bbb;
    }
    .cl-toolbar-tag {
        display: none;
    }
    .cl-ads-toolbar-right {
        width: 100%;
        text-align: right;
        padding: 4px 10px;
    }
    .cl-result-count {
        font-size: 13px;
        color: #555;
    }

    /* Listings — compact rows with thumbnails */
    .cl-listings {
        padding: 0;
    }
    .cl-result-row {
        padding: 8px 10px;
        gap: 10px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .cl-result-thumb {
        display: block;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    .cl-result-thumb img {
        width: 50px;
        height: 50px;
    }
    .cl-result-thumb .cl-no-image {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    .cl-result-info {
        flex: 1;
        min-width: 0;
    }
    /* Begin Version 6.5.6 - Mobile: keep star inline with title, allow title text to wrap inside its flex item without pushing star to its own line. Author: Hasif Ahmed (xmart@live.com) */
    .cl-result-title-row {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 4px;
        flex-wrap: nowrap;
        min-width: 0;
    }
    .cl-result-fav {
        font-size: 15px;
        color: #aaa;
        flex-shrink: 0;
    }
    .cl-result-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        font-size: 14px;
        line-height: 1.3;
        flex: 1 1 0;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    /* End Version 6.5.6 */
    .cl-result-price {
        font-size: 14px;
    }
    .cl-result-location {
        font-size: 12px;
        font-weight: normal;
        color: #666;
        margin-bottom: 0;
    }
    .cl-result-meta {
        margin-top: 1px;
        gap: 4px;
        font-size: 12px;
    }
    .cl-result-time {
        font-size: 12px;
        color: #888;
    }
    .cl-pager {
        padding: 6px 10px;
    }

    .result-row {
        flex-wrap: wrap;
    }
    .result-date {
        width: 100%;
    }

    /* -- Single Ad Page (showad) -- */
    .cl-posting {
        max-width: 100%;
    }
    .cl-gallery-main img#cl-gallery-img {
        max-height: 300px;
    }
    .cl-posting-title {
        font-size: 20px;
    }
    .cl-posting-topbar {
        flex-wrap: wrap;
    }
    .cl-posting-actions-left {
        flex-wrap: wrap;
        gap: 10px;
    }
    .cl-posting-actions-right {
        display: none;
    }
    .cl-posting-date {
        width: 100%;
        margin-top: 6px;
        margin-left: 0;
    }
    .cl-posting-attrs {
        gap: 4px;
    }
    .cl-attr-tag {
        font-size: 12px;
        padding: 2px 8px;
    }
    .cl-reply-section {
        padding: 15px;
    }
    .cl-reply-form input[type="email"],
    .cl-reply-form textarea {
        width: 100%;
    }

    /* -- Post Selector -- */
    .cl-post-selector {
        padding: 15px 0 15px 15px;
    }
    .selection-list {
        columns: 2;
        column-gap: 20px;
        margin-left: 10px;
    }

    /* -- Post Form -- */
    .cl-post-page {
        padding: 15px 15px;
    }
    .cl-form-toprow {
        flex-direction: column;
        gap: 10px;
    }
    .cl-field-title,
    .cl-field-price,
    .cl-field-area {
        flex: none;
        width: 100%;
    }
    .cl-form-toprow input[type="text"],
    .cl-form-toprow select {
        width: 100%;
    }
    .cl-fieldset-grid .cl-field {
        flex: 0 0 calc(50% - 15px);
    }
    .cl-fieldset {
        padding: 15px;
    }
    .cl-field input[type="text"],
    .cl-field input[type="email"] {
        width: 100%;
    }
    .cl-pic-upload-field {
        flex: 0 0 100%;
    }
    .cl-captcha {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .cl-captcha-input input[type="text"] {
        width: 100%;
    }
    .cl-field-desc textarea {
        min-height: 200px;
    }

    /* -- Miscellaneous Inner Pages -- */
    .inner-page-content {
        padding: 10px;
    }
    .cl-promote-ad-preview {
        max-width: 100%;
    }
    .alert {
        font-size: 12px;
        padding: 10px;
    }
    .breadcrumbs {
        font-size: 11px;
    }

    /* -- Footer: slim single-line with bg -- */
    footer.cl-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0;
        padding: 8px 10px;
        margin-top: 0;
        background: #eee;
        border-top: 1px solid #ddd;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
    }
    .cl-footer .copyright {
        order: -1;
        margin-right: 10px;
        margin-bottom: 0;
        font-size: 12px;
        color: #666;
        flex-shrink: 0;
    }
    .cl-footer .footer-links {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .cl-footer .footer-links a {
        margin: 0 6px;
        font-size: 14px;
    }

    /* -- Header: hide faves on mobile, add logo -- */
    .topban-right .cl-faves-link {
        display: none;
    }
    .location-pin {
        display: none;
    }
    a.cl-mobile-logo,
    a.cl-mobile-logo:visited,
    a.cl-mobile-logo:hover {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50% !important;
        background: #609;
        color: #fff !important;
        font-size: 11px;
        font-weight: bold;
        text-decoration: none;
        flex-shrink: 0;
        margin-right: 8px;
    }

}

/* --- Small Phone (480px) --- */
@media (max-width: 480px) {

    /* -- Header: Inner Page Header -- */
    .cl-inner-header {
        padding: 8px 10px;
    }
    .cl-inner-header-left {
        gap: 6px;
    }
    .cl-header-logo .abbr {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    .cl-inner-header-right {
        gap: 10px;
    }
    .cl-inner-header-right .action-icon .icon {
        font-size: 18px;
    }
    .cl-mobile-location-city {
        font-size: 14px;
    }
    .cl-mobile-cat-trigger {
        font-size: 13px;
    }

    /* -- Footer -- */
    .cl-footer .footer-links a {
        margin: 0 6px;
        font-size: 13px;
    }

    /* -- Homepage -- */
    .cl-mobile-cat-tabs {
        width: 97px;
    }
    .cl-mobile-cat-tab {
        font-size: 16px;
        padding: 14px 12px;
    }
    .community .col.mobile-active .cats li {
        font-size: 16px;
        padding: 12px 0;
    }

    /* -- Ads -- */
    .cl-ads-sidebar {
        padding: 5px 8px 6px;
    }
    .cl-result-row {
        padding: 7px 8px;
        gap: 8px;
    }
    .cl-result-thumb {
        width: 45px;
        height: 45px;
    }
    .cl-result-thumb img {
        width: 45px;
        height: 45px;
    }
    .cl-result-thumb .cl-no-image {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    .cl-result-title {
        font-size: 13px;
    }

    /* -- Single Ad Page (showad) -- */
    .cl-posting-title {
        font-size: 18px;
    }
    .cl-posting-body {
        font-size: 14px;
    }
    .cl-reply-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    .cl-topbar-action .cl-action-label {
        display: none;
    }
    .cl-posting-actions-left {
        gap: 8px;
    }
    .inner-page-content {
        padding: 10px;
    }

    /* -- Post Selector -- */
    .selection-list {
        columns: 1;
        margin-left: 0;
    }
    .selection-list label {
        font-size: 15px;
    }
    .cl-post-selector .formnote {
        font-size: 14px;
    }

    /* -- Post Form -- */
    .cl-fieldset-grid .cl-field {
        flex: 0 0 100%;
    }
    .cl-fieldset {
        padding: 10px;
    }
    .cl-post-page {
        padding: 10px;
    }
    .pickbutton {
        font-size: 16px;
        padding: 8px 16px;
        width: 100%;
    }
}