
/* ===== list.php ===== */


.spx-page-shell{
    max-width:1400px;
    margin:20px auto;
    padding:0 15px;
    box-sizing:border-box;
}

.spx-breadcrumb{
    margin:0 0 10px;
    padding:0;
    font-size:14px;
    color:var(--sp-muted-text-color);
}

.spx-breadcrumb a{
    color:var(--sp-muted-text-color);
    text-decoration:none;
}

.spx-breadcrumb a:hover{
    color:var(--sp-accent-color);
}

.spx-breadcrumb span{
    margin:0 6px;
    color:var(--sp-muted-text-color);
}
.spx-location{
    color:var(--sp-card-background);
    font-size:15px;
    font-weight:600;
    line-height:1.2;
}
.spx-location-page{
    width:100%;
    margin:0;
    background:var(--sp-card-background);
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    box-sizing:border-box;
    overflow:hidden;
	margin: 10px auto 25px;
}

.spx-topbar{
    background:var(--sp-topbar-background);
    border-bottom:1px solid var(--sp-secondary-button-color);
}

.spx-topbar-inner{
    padding:10px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    box-sizing:border-box;
}

.spx-topbar-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.spx-topbar-center{
    display:flex;
    justify-content:center;
}

.spx-topbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.{
    color:var(--sp-card-background);
    font-size:15px;
    font-weight:600;
    line-height:1.2;
}

.spx-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
    box-sizing:border-box;
    white-space:nowrap;
}

.spx-btn-primary{
    background:var(--sp-accent-color);
    border:1px solid var(--sp-accent-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-primary:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary{
    background:var(--sp-secondary-button-color);
    border:1px solid #444;
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color) !important;
    background:var(--sp-secondary-button-color);
}

.spx-search{
    display:flex;
    width:100%;
    max-width:360px;
    margin:0;
}

.spx-search input{
    flex:1 1 auto;
    min-width:0;
    height:40px;
    padding:0 12px;
    background:var(--sp-secondary-button-color);
    color:var(--sp-card-background);
    border:1px solid #444;
    border-right:none;
    border-radius:6px 0 0 6px;
    outline:none;
    box-sizing:border-box;
}

.spx-search input::placeholder{
    color:var(--sp-muted-text-color);
}

.spx-search input:focus{
    border-color:var(--sp-accent-color);
}

.spx-search button{
    height:40px;
    padding:0 14px;
    border:1px solid var(--sp-accent-color);
    background:var(--sp-accent-color);
    color:var(--sp-card-background);
    border-radius:0 6px 6px 0;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    box-sizing:border-box;
}

.spx-search button:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
}

.spx-page-inner{
    padding:20px 15px 30px;
}

.spx-show-ads{
    margin:15px 0 20px;
    padding:12px 15px;
    background:var(--sp-content-background);
    border:1px solid #eee;
    border-radius:10px;
}

.spx-show-ads-title{
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
    color:var(--sp-text-color);
}

.spx-show-ads-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.spx-chip{
    display:inline-block;
    padding:6px 10px;
    font-size:13px;
    border-radius:6px;
    border:1px solid var(--sp-border-color);
    background:var(--sp-card-background);
    color:var(--sp-text-color);
    text-decoration:none;
    transition:all .2s ease;
}

.spx-chip:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
    background:var(--sp-alert-background);
}

.spx-chip-active{
    background:var(--sp-accent-color);
    color:var(--sp-card-background) !important;
    border-color:var(--sp-accent-color);
    cursor:default;
}

.spx-listing-grid{
    list-style:none;
    margin:0;
    padding:0;
}



.listPost{
    list-style:none;
    margin-bottom:12px;
}

.listPost .posttile{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px;
    border: 1px solid var(--sp-border-color);
    border-radius:10px;
    background:var(--sp-card-background);
    text-decoration:none;
    color:var(--sp-text-color);
    transition:all 0.2s ease;
}

.listPost .posttile:hover{
    border-color:var(--sp-accent-color);
    box-shadow:0 6px 16px rgba(0,0,0,0.08);
    transform:translateY(-2px);
}

.listPost img{
    width:65px;
    height:65px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}

.listPost .post-content{
    flex:1;
    min-width:0;
}

.listPost b{
    display:block;
    font-size:15px;
    margin-bottom:4px;
    line-height:1.3;
}

.listPost .adpreview{
    display:block;
    font-size:13px;
    color: var(--sp-text-color);
    line-height:1.4;
}
/* ===== HERO HEADER ===== */
.spx-hero{
    margin:10px 0 20px;
    padding:22px 20px;
    border-radius:12px;
    background:linear-gradient(135deg, var(--sp-card-background) 0%, var(--sp-content-background) 100%);
    border:1px solid #eee;
    box-shadow:0 4px 14px rgba(0,0,0,0.04);
    text-align:center;
}

/* subtle accent line */
.spx-hero:after{
    content:'';
    display:block;
    width:60px;
    height:3px;
    margin:14px auto 0;
    background:var(--sp-accent-color);
    border-radius:3px;
}

/* title */
.spx-hero-title{
    margin:0;
    font-size:26px;
    font-weight:700;
    color:var(--sp-heading-color);
    line-height:1.3;
}

/* intro text */
.spx-hero-intro{
    margin:10px auto 0;
    max-width:1250px;
    font-size:15px;
    color:var(--sp-muted-text-color);
    line-height:1.6;
}
@media (max-width:768px){
    .spx-topbar-inner{
        flex-direction:column;
        align-items:stretch;
    }

    .spx-topbar-left,
    .spx-topbar-right{
        width:100%;
    }

    .spx-topbar-right{
        justify-content:center;
        text-align:center;
    }

    .spx-topbar-center{
        order:3;
        width:100%;
    }

    .spx-search{
        max-width:100%;
    }

    .spx-btn{
        width:100%;
    }
}




.spx-empty-state-icon{
    font-size:34px;
    line-height:1;
    margin-bottom:10px;
}

.spx-empty-state h3{
    margin:0 0 8px;
    font-size:22px;
    color:var(--sp-heading-color);
}

.spx-empty-state p{
    margin:0 0 8px;
    color:var(--sp-muted-text-color);
    line-height:1.5;
}

.spx-empty-state-sub{
    font-size:14px;
    color:var(--sp-muted-text-color);
}


/* ===== post.php ===== */


.spx-page-shell{
    max-width:1400px;
    margin:20px auto;
    padding:0 15px;
    box-sizing:border-box;
}

.spx-breadcrumb{
    margin:0 0 10px;
    padding:0;
    font-size:14px;
    color:var(--sp-muted-text-color);
}

.spx-breadcrumb a{
    color:var(--sp-muted-text-color);
    text-decoration:none;
}

.spx-breadcrumb a:hover{
    color:var(--sp-accent-color);
}

.spx-breadcrumb span{
    margin:0 6px;
    color:var(--sp-muted-text-color);
}

.spx-location-page{
    width:100%;
    margin:0;
    background:var(--sp-card-background);
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    box-sizing:border-box;
    overflow:hidden;
	margin:10px auto 25px;
}

.spx-topbar{
    background:var(--sp-topbar-background);
    border-bottom:1px solid var(--sp-secondary-button-color);
}

.spx-topbar-inner{
    padding:10px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    box-sizing:border-box;
}

.spx-topbar-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.spx-topbar-center{
    display:flex;
    justify-content:center;
}

.spx-topbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.spx-location{
    color:var(--sp-card-background);
    font-size:15px;
    font-weight:600;
    line-height:1.2;
}

.spx-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
    box-sizing:border-box;
    white-space:nowrap;
}

.spx-btn-primary{
    background:var(--sp-accent-color);
    border:1px solid var(--sp-accent-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-primary:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary{
    background:var(--sp-secondary-button-color);
    border:1px solid #444;
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color) !important;
    background:var(--sp-secondary-button-color);
}

.spx-search{
    display:flex;
    width:100%;
    max-width:360px;
    margin:0;
}

.spx-search input{
    flex:1 1 auto;
    min-width:0;
    height:40px;
    padding:0 12px;
    background:var(--sp-secondary-button-color);
    color:var(--sp-card-background);
    border:1px solid #444;
    border-right:none;
    border-radius:6px 0 0 6px;
    outline:none;
    box-sizing:border-box;
}

.spx-search input::placeholder{
    color:var(--sp-muted-text-color);
}

.spx-search input:focus{
    border-color:var(--sp-accent-color);
}

.spx-search button{
    height:40px;
    padding:0 14px;
    border:1px solid var(--sp-accent-color);
    background:var(--sp-accent-color);
    color:var(--sp-card-background);
    border-radius:0 6px 6px 0;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    box-sizing:border-box;
}

.spx-search button:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
}

.spx-page-inner{
    padding:20px 15px 30px;
}

.spx-post-layout{
    display:grid;
    grid-template-columns:minmax(0, 3fr) minmax(260px, 1fr);
    gap:24px;
    align-items:start;
}

.spx-post-main{
    min-width:0;
}

.spx-post-sidebar{
    min-width:0;
}

.spx-post-title{
    margin:0 0 12px;
    font-size:30px;
    font-weight:600;
    line-height:1.25;
    color:var(--sp-heading-color);
}

.spx-post-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 16px;
}

.spx-post-content{
    line-height:1.7;
    color:var(--sp-text-color);
    font-size:16px;
}

.spx-post-content a{
    color:var(--sp-accent-color);
}

.spx-post-footer-cta{
    margin-top:18px;
}

.spx-gallery{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.spx-gallery-item{
    display:block;
    border:1px solid var(--sp-border-color);
    border-radius:10px;
    overflow:hidden;
    background:var(--sp-card-background);
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.spx-gallery-item img{
    display:block;
    width:100%;
    height:auto;
}

.spx-block-divider{
    margin:16px 0;
    border:0;
    border-top:1px solid var(--sp-border-color);
}

.modalDialog {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity:0;
    transition: opacity 250ms ease-in;
    pointer-events: none;
    display:none;
    background:rgba(0,0,0,0.55);
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
    display:block;
}

.modalDialog > div {
    width: 92%;
    max-width: 520px;
    position: relative;
    margin: 6% auto;
    padding: 20px 20px 16px;
    border-radius: 12px;
    background: var(--sp-card-background);
    box-shadow: 2px 2px 18px rgba(0,0,0,0.3);
}

.close {
    background: var(--sp-secondary-button-color);
    color: var(--sp-button-text-color);
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #000;
    cursor: pointer;
}

.close:hover {
    background: var(--sp-accent-color);
}

@media only screen and (max-width: 900px) {
    .spx-post-layout{
        grid-template-columns:1fr;
    }
}

@media only screen and (max-width: 600px) {
    .spx-gallery{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .spx-topbar-inner{
        flex-direction:column;
        align-items:stretch;
    }

    .spx-topbar-left,
    .spx-topbar-right{
        width:100%;
    }

    .spx-topbar-right{
        justify-content:center;
        text-align:center;
    }

    .spx-topbar-center{
        width:100%;
        order:3;
    }

    .spx-search{
        max-width:100%;
    }

    .spx-btn{
        width:100%;
    }
}


/* ===== adInclude.php ===== */


.ad-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* 2 per row on desktop */
@media (min-width: 768px) {
    .ad-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ad-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--sp-card-background);
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    transition: all .15s ease;
    text-decoration: none;
}

.ad-card:hover {
    border-color: var(--sp-accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ad-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f2f2;
}

.ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-content {
    flex: 1;
}

.ad-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--sp-heading-color);
    margin-bottom: 4px;
    line-height: 1.2;
}

.ad-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.ad-meta {
    font-size: 11px;
    color: var(--sp-muted-text-color);
    margin-top: 5px;
}


/* ===== allCities.php ===== */


/* force this page content to use the full available article width */
.inside-article .choose-location-page,
.entry-content .choose-location-page,
.site-main .choose-location-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* help if GP is constraining inner blocks */
.inside-article,
.entry-content {
    width: 100%;
    box-sizing: border-box;
}
/* ===== PAGE SHELL ===== */
.choose-location-page{
    max-width:1400px;
    margin:0 auto;
    padding:10px 15px 40px;
    box-sizing:border-box;
}

.choose-location-breadcrumb{
    margin:0 0 10px;
    padding:10px 0 0;
    font-size:15px;
    color:var(--sp-muted-text-color);
    margin-left:20px;
}

.choose-location-breadcrumb a{
    text-decoration:none;
}

.choose-location-breadcrumb span{
    margin:0 6px;
    color:var(--sp-muted-text-color);
}

/* ===== HERO ===== */
.choose-location-hero{
    background:var(--sp-card-background);
    border:1px solid #e6e6e6;
    border-radius:18px;
    padding:26px 24px;
    margin:10px 0 22px;
    box-shadow:0 10px 24px rgba(0,0,0,0.06);
}

.choose-location-hero-inner{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.choose-location-title-wrap{
    flex:1 1 500px;
    min-width:280px;
}

.choose-location-title{
    margin:0;
    font-size:36px;
    line-height:1.1;
    font-weight:700;
    color:var(--sp-heading-color);
    letter-spacing:-0.02em;
}

.choose-location-subtitle{
    margin:10px 0 0;
    font-size:16px;
    line-height:1.6;
    color:#666;
}

.choose-location-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.choose-location-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 16px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
    box-sizing:border-box;
}

.choose-location-btn-primary{
    background:var(--sp-accent-color);
    color:var(--sp-card-background);
    border:1px solid var(--sp-accent-color);
}

.choose-location-btn-primary:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
    color:var(--sp-card-background);
}

.choose-location-btn-secondary{
    background:var(--sp-card-background);
    color:var(--sp-text-color);
    border:1px solid var(--sp-border-color);
}

.choose-location-btn-secondary:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
}

/* ===== CATEGORY MENU WRAP ===== */
.choose-location-catmenu{
    margin-bottom:22px;
}

/* ===== TWO FIXED COUNTRY COLUMNS ===== */
.choose-location-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:18px;
    align-items:start;
}

.location-column{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* ===== COUNTRY / REGION GROUP ===== */
.location-group{
    background:var(--sp-card-background);
    border:1px solid #e5e7eb;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.04);
}

.location-group-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 16px;
    background:var(--sp-content-background);
    border-bottom:1px solid #eee;
}

.location-group-head h2{
    margin:0;
    font-size:19px;
    line-height:1.2;
    color:var(--sp-heading-color);
    font-weight:700;
}

.location-group-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:32px;
    height:32px;
    padding:0 10px;
    border-radius:999px;
    background:var(--sp-content-background);
    border:1px solid var(--sp-border-color);
    color:var(--sp-muted-text-color);
    font-size:12px;
    font-weight:700;
}

.location-group-body{
    padding:16px;
}

/* ===== STATE CARDS ===== */
.location-states{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
}

.location-state-card{
    background:var(--sp-card-background);
    border:1px solid #eee;
    border-radius:12px;
    padding:14px;
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    box-sizing:border-box;
}

.location-state-card:hover{
    transform:translateY(-2px);
    border-color:var(--sp-accent-color);
    box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.location-state-title{
    margin:0 0 10px;
    font-size:16px;
    line-height:1.3;
    font-weight:700;
}

.location-state-title a{
    color:var(--sp-heading-color);
    text-decoration:none;
}

.location-state-title a:hover{
    color:var(--sp-accent-color);
}

/* ===== CITY / AREA LISTING PILLS ===== */
.location-city-list{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}


.location-city-list li{
    margin:0;
    padding:0;
}

.location-city-list a{
    display:inline-block;
    padding:7px 10px;
    border-radius:999px;
    background:var(--sp-content-background);
    border:1px solid #e0e0e0;
    color:#444;
    text-decoration:none;
    font-size:13px;
    line-height:1.2;
    transition:all .18s ease;
}

.location-city-list a:hover{
    background:var(--sp-card-background);
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
    .choose-location-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px){
    .choose-location-page{
        padding:10px 10px 30px;
    }

    .choose-location-hero{
        padding:22px 18px;
        border-radius:16px;
    }

    .choose-location-title{
        font-size:28px;
    }

    .choose-location-subtitle{
        font-size:15px;
    }

    .location-states{
        grid-template-columns:1fr;
    }

    .location-group-head{
        padding:14px;
    }

    .location-group-body{
        padding:14px;
    }
}

@media (max-width: 480px){
    .choose-location-title{
        font-size:24px;
    }

    .choose-location-actions{
        width:100%;
    }

    .choose-location-btn{
        width:100%;
    }

    .choose-location-breadcrumb{
        margin-left:10px;
    }
}


/* ===== categories.php ===== */


.spx-page-shell{
    max-width:1400px;
    margin:20px auto;
    padding:0 15px;
    box-sizing:border-box;
}
/* ===== BREADCRUMB (OUTSIDE CARD) ===== */
.spx-breadcrumb{
    margin:0 0 10px;
    padding:0;
    font-size:14px;
    color:var(--sp-muted-text-color);
}

.spx-breadcrumb a{
    color:var(--sp-muted-text-color);
    text-decoration:none;
}

.spx-breadcrumb a:hover{
    color:var(--sp-accent-color);
}

.spx-breadcrumb span{
    margin:0 6px;
    color:var(--sp-muted-text-color);
}

.spx-location-page{
    width:100%;
    padding:0 0 30px;
    background:var(--sp-card-background);
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    box-sizing:border-box;
    overflow:hidden;
}

/* ===== PAGE CONTAINER (CARD STYLE) ===== */
.spx-location-page{
    max-width:1400px;
    margin:10px auto 25px;
    background:var(--sp-card-background);
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    box-sizing:border-box;
    overflow:hidden;
}

/* ===== TOPBAR INSIDE CARD ===== */
.spx-topbar{
    background:var(--sp-topbar-background);
    border-bottom:1px solid var(--sp-secondary-button-color);
    box-shadow:0 2px 8px rgba(0,0,0,0.18);
}

.spx-topbar-inner{
    padding:10px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    box-sizing:border-box;
}

/* ===== TOPBAR REGIONS ===== */
.spx-topbar-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.spx-topbar-center{
    flex:1 1 320px;
    display:flex;
    justify-content:center;
}

.spx-topbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.spx-location{
    color:var(--sp-card-background);
    font-size:15px;
    font-weight:600;
    line-height:1.2;
}

/* ===== BUTTONS ===== */
.spx-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
    box-sizing:border-box;
    white-space:nowrap;
}

.spx-btn-primary{
    background:var(--sp-accent-color);
    border:1px solid var(--sp-accent-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-primary:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary{
    background:var(--sp-secondary-button-color);
    border:1px solid #444;
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color) !important;
    background:var(--sp-secondary-button-color);
}

/* ===== SEARCH ===== */
.spx-search{
    display:flex;
    width:100%;
    max-width:360px;
    margin:0;
}

.spx-search input{
    flex:1 1 auto;
    min-width:0;
    height:40px;
    padding:0 12px;
    background:var(--sp-secondary-button-color);
    color:var(--sp-card-background);
    border:1px solid #444;
    border-right:none;
    border-radius:6px 0 0 6px;
    outline:none;
    box-sizing:border-box;
}

.spx-search input::placeholder{
    color:var(--sp-muted-text-color);
}

.spx-search input:focus{
    border-color:var(--sp-accent-color);
}

.spx-search button{
    height:40px;
    padding:0 14px;
    border:1px solid var(--sp-accent-color);
    background:var(--sp-accent-color);
    color:var(--sp-card-background);
    border-radius:0 6px 6px 0;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    box-sizing:border-box;
}

.spx-search button:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
}

/* ===== PAGE INNER ===== */
.spx-page-inner{
    padding:20px 15px 30px;
}

/* ===== CHIP LINKS ===== */
.spx-chip{
    display:inline-block;
    padding:8px 14px;
    border:1px solid #cfcfcf;
    border-radius:4px;
    background:var(--sp-card-background);
    color:var(--sp-text-color)333;
    text-decoration:none;
    font-size:14px;
    line-height:1.2;
    transition:all 0.2s ease;
}

.spx-chip:hover{
    border-color:var(--sp-accent-color);
    background:var(--sp-alert-background);
    color:var(--sp-accent-color);
    text-decoration:none;
}

.spx-chip:focus{
    outline:none;
    border-color:var(--sp-accent-color);
    box-shadow:0 0 0 2px rgba(214,56,41,0.15);
    color:var(--sp-accent-color);
    text-decoration:none;
}

/* ===== MORE LINKS BLOCK ===== */
.spx-more-links{
    margin:25px 0;
    padding:15px 0;
    border-top:1px solid var(--sp-border-color);
    border-bottom:1px solid var(--sp-border-color);
}

.spx-more-links h3{
    margin:0 0 12px 0;
}

.spx-more-links-inner{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* ===== FORMS / LEGACY BLOCKS ===== */
.signupForm{
    width:60%;
    float:left;
    margin:20px 20px 0;
    box-sizing:border-box;
}

.multistep-box{
    position:relative !important;
}

#multistep_form{
    max-height:500px !important;
    overflow:hidden;
}

#progress_header{
    margin:0 auto;
}

/* ===== LIST POSTS ===== */
.listPost{
    width:99%;
    margin-left:1%;
    margin-right:1%;
    box-sizing:border-box;
    
    overflow:hidden;
}

.mainCellBackground{
    width:100%;
    column-count:1 !important;
    column-gap:0 !important;
}

.indexSectionColumnBlock{
    display:block;
    width:100%;
    break-inside:avoid;
    -webkit-column-break-inside:avoid;
    page-break-inside:avoid;
    margin-bottom:20px;
}

.spx-category-grid{
    display:grid;
    grid-template-columns:repeat(var(--spx-cat-cols, 3), minmax(0, 1fr));
    gap:0px;
    align-items:start;
}

.indexSectionColumnBlock{
    display:block;
    width:100%;
    margin:0;
    padding:10px;
}

.indexSectionColumn{
    background:var(--sp-card-background);
    border: 1px solid var(--sp-border-color);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
    height:100%;
}

.indexSectionButtons{
    padding:0;
    margin:0;
}

.indexSectionButtons .head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 16px;
    background:var(--sp-content-background);
    border-bottom: 1px solid var(--sp-border-color);
    color:var(--sp-heading-color);
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    line-height:1.3;
}

.indexSectionButtons .head:hover{
    color:var(--sp-accent-color);
}

.indexSectionColumn ul{
    list-style:none;
    margin:0;
    padding:10px 12px 12px;
}

.indexSectionList{
    margin:0;
    padding:0 !important;
}

.indexSectionList a{
    display:block;
    padding:10px 12px;
    margin:0;
    color:var(--sp-text-color);
    text-decoration:none;
    border-radius:8px;
    line-height:1.35;
    transition:all .2s ease;
}

.indexSectionList a:hover{
    background:var(--sp-alert-background);
    color:var(--sp-accent-color);
}

.location-hero-wrap {
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
}

.location-hero {
    width: 100%;
    background: var(--sp-card-background);
    border: 1px solid var(--sp-border-color);
    border-radius: 16px;
    padding: 26px 22px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.location-hero-title {
    margin: 0;
    font-size:26px;
    line-height: 1.15;
    font-weight: 700;
    color: #1d1d1d;
    letter-spacing: -0.02em;
}

.location-hero-intro {
    max-width: 950px;
    margin: 14px auto 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--sp-muted-text-color);
}

.location-hero-intro p {
    margin: 0;
}

@media (max-width: 768px) {
    .location-hero {
        padding: 20px 16px 18px;
        border-radius: 12px;
    }

    .location-hero-title {
        font-size: 28px;
    }

    .location-hero-intro {
        font-size: 15px;
        line-height: 1.65;
        margin-top: 12px;
    }
}

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

/* ===== MOBILE ===== */
@media (max-width: 768px){
    .spx-topbar-inner{
        align-items:stretch;
    }

    .spx-topbar-left,
    .spx-topbar-right{
        width:100%;
    }

    .spx-topbar-right{
        justify-content:center;
        text-align:center;
    }

    .spx-topbar-center{
        order:3;
        width:100%;
    }

    .spx-search{
        max-width:100%;
    }

    .spx-btn{
        width:100%;
    }
}

@media (max-width: 666px){
    .container-list{
        width:calc(33% - 10px) !important;
    }

    .signupForm{
        width:100%;
        float:left;
        margin-left:0;
        margin-right:0;
        margin-top:0;
        box-sizing:border-box;
    }
}

@media screen and (max-width: 800px){
    li.listPost{
        overflow:hidden;
        width:100%;
        margin:0;
        box-sizing:border-box;
    }
}


/* ===== catMenu.php ===== */


.category-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.filter-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--sp-muted-text-color);
  margin-right: 6px;
  white-space: nowrap;
}

.tab {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 999px;
  border: 2px solid #e5e5e5;
  background: var(--sp-content-background);
  color: var(--sp-text-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tab:hover {
  border-color: var(--sp-accent-color) ;
  color: var(--sp-accent-color) ;
  background: var(--sp-card-background);
}

.tab.active {
  border-color: var(--sp-accent-color) ;
  background: var(--sp-card-background);
  color: var(--sp-accent-color) ;
  font-weight: 600;
}


/* ===== global-category.php ===== */


.spx-page-shell{
    max-width:1400px;
    margin:20px auto;
    padding:0 15px;
    box-sizing:border-box;
}

.spx-breadcrumb{
    margin:0 0 10px;
    padding:0;
    font-size:14px;
    color:var(--sp-muted-text-color);
}

.spx-breadcrumb a{
    color:var(--sp-muted-text-color);
    text-decoration:none;
}

.spx-breadcrumb a:hover{
    color:var(--sp-accent-color);
}

.spx-breadcrumb span{
    margin:0 6px;
    color:var(--sp-muted-text-color);
}

.spx-location{
    color:var(--sp-card-background);
    font-size:15px;
    font-weight:600;
    line-height:1.2;
}

.spx-location-page{
    width:100%;
    margin:10px auto 25px;
    background:var(--sp-card-background);
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    box-sizing:border-box;
    overflow:hidden;
}

.spx-topbar{
    background:var(--sp-topbar-background);
    border-bottom:1px solid var(--sp-secondary-button-color);
}

.spx-topbar-inner{
    padding:10px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    box-sizing:border-box;
}

.spx-topbar-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.spx-topbar-center{
    display:flex;
    justify-content:center;
}

.spx-topbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.spx-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
    box-sizing:border-box;
    white-space:nowrap;
}

.spx-btn-primary{
    background:var(--sp-accent-color);
    border:1px solid var(--sp-accent-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-primary:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary{
    background:var(--sp-secondary-button-color);
    border:1px solid #444;
    color:var(--sp-card-background) !important;
}

.spx-btn-secondary:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color) !important;
    background:var(--sp-secondary-button-color);
}

.spx-search{
    display:flex;
    width:100%;
    max-width:360px;
    margin:0;
}

.spx-search input{
    flex:1 1 auto;
    min-width:0;
    height:40px;
    padding:0 12px;
    background:var(--sp-secondary-button-color);
    color:var(--sp-card-background);
    border:1px solid #444;
    border-right:none;
    border-radius:6px 0 0 6px;
    outline:none;
    box-sizing:border-box;
}

.spx-search input::placeholder{
    color:var(--sp-muted-text-color);
}

.spx-search input:focus{
    border-color:var(--sp-accent-color);
}

.spx-search button{
    height:40px;
    padding:0 14px;
    border:1px solid var(--sp-accent-color);
    background:var(--sp-accent-color);
    color:var(--sp-card-background);
    border-radius:0 6px 6px 0;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    box-sizing:border-box;
}

.spx-search button:hover{
    background:var(--sp-button-hover-color);
    border-color:var(--sp-button-hover-color);
}

.spx-page-inner{
    padding:20px 15px 30px;
}

.spx-hero{
    margin:10px 0 20px;
    padding:22px 20px;
    border-radius:12px;
    background:linear-gradient(135deg, var(--sp-card-background) 0%, var(--sp-content-background) 100%);
    border:1px solid #eee;
    box-shadow:0 4px 14px rgba(0,0,0,0.04);
    text-align:center;
}

.spx-hero:after{
    content:'';
    display:block;
    width:60px;
    height:3px;
    margin:14px auto 0;
    background:var(--sp-accent-color);
    border-radius:3px;
}

.spx-hero-title{
    margin:0;
    font-size:26px;
    font-weight:700;
    color:var(--sp-heading-color);
    line-height:1.3;
}

.spx-hero-intro{
    margin:10px auto 0;
    max-width:1100px;
    font-size:15px;
    color:var(--sp-muted-text-color);
    line-height:1.6;
}

.spx-show-ads{
    margin:15px 0 20px;
    padding:12px 15px;
    background:var(--sp-content-background);
    border:1px solid #eee;
    border-radius:10px;
}

.spx-show-ads-title{
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
    color:var(--sp-text-color);
}

.spx-show-ads-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.spx-chip{
    display:inline-block;
    padding:6px 10px;
    font-size:13px;
    border-radius:6px;
    border:1px solid var(--sp-border-color);
    background:var(--sp-card-background);
    color:var(--sp-text-color);
    text-decoration:none;
    transition:all .2s ease;
}

.spx-chip:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
    background:var(--sp-alert-background);
}

.spx-chip-active{
    background:var(--sp-accent-color);
    color:var(--sp-card-background) !important;
    border-color:var(--sp-accent-color);
    cursor:default;
}

.spx-listing-grid{
    list-style:none;
    margin:0;
    padding:0;
}



.listPost{
    list-style:none;
    margin-bottom:12px;
	border: 1px solid var(--sp-border-color);
	background-color:var(--sp-content-background);
	border-radius:10px;
}

.listPost .posttile{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px;
    border: 1px solid var(--sp-border-color);
    border-radius:10px;
    background:var(--sp-card-background);
    text-decoration:none;
    color:var(--sp-text-color);
    transition:all 0.2s ease;
}

.listPost .posttile:hover{
    border-color:var(--sp-accent-color);
    box-shadow:0 6px 16px rgba(0,0,0,0.08);
    transform:translateY(-2px);
}

.listPost img{
    width:65px;
    height:65px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}

.listPost .post-content{
    flex:1;
    min-width:0;
}

.listPost b{
    display:block;
    font-size:15px;
    margin-bottom:4px;
    line-height:1.3;
    color:var(--sp-heading-color);
}

.listPost .adpreview{
    display:block;
    font-size:13px;
    color: var(--sp-text-color);
    line-height:1.4;
}

.listPost .post-breadcrumb-row{
    margin:9px 12px 12px 10px;
    font-size:12px;
    line-height:1.35;
    color:#888;
}

.listPost .post-breadcrumb-row a{
    color:#888;
    text-decoration:none;
}

.listPost .post-breadcrumb-row a:hover{
    color:#666;
    text-decoration:underline;
}



.spx-empty-state-icon{
    font-size:34px;
    line-height:1;
    margin-bottom:10px;
}

.spx-empty-state h3{
    margin:0 0 8px;
    font-size:22px;
    color:var(--sp-heading-color);
}

.spx-empty-state p{
    margin:0 0 8px;
    color:var(--sp-muted-text-color);
    line-height:1.5;
}

.spx-empty-state-sub{
    font-size:14px;
    color:var(--sp-muted-text-color);
}

.pagination{
    clear:both;
    margin:10px 0;
}

.pagination ul{
    list-style:none;
    margin:0;
    padding:0;
}

#pagination_controls{
    width:100%;
    overflow:hidden;
}

.spx-seo-block{
    margin-top:20px;
    padding:18px 16px;
    border: 1px solid var(--sp-border-color);
    border-radius:10px;
    background:var(--sp-content-background);
}

.spx-seo-block h2{
    margin:0 0 10px;
    font-size:22px;
    color:var(--sp-heading-color);
}

.spx-seo-block{
    font-size:15px;
    line-height:1.75;
    color:var(--sp-text-color);
}

@media (max-width:768px){
    .spx-topbar-inner{
        flex-direction:column;
        align-items:stretch;
    }

    .spx-topbar-left,
    .spx-topbar-right{
        width:100%;
    }

    .spx-topbar-right{
        justify-content:center;
        text-align:center;
    }

    .spx-topbar-center{
        order:3;
        width:100%;
    }

    .spx-search{
        max-width:100%;
    }

    .spx-btn{
        width:100%;
    }

    .spx-hero-title{
        font-size:24px;
    }

    .listPost .post-breadcrumb-row{
        margin-left:10px;
    }
}


/* ===== home.php ===== */


.home-page-wrap{
    width:100%;
    max-width:1460px;
    margin:0 auto;
    padding:10px 10px 30px;
    box-sizing:border-box;
}

.home-breadcrumb{
    padding:0 0 10px;
    margin:0;
    font-size:15px;
}

.home-breadcrumb a{
    text-decoration:none;
}

.home-hero{
    padding:24px 22px;
    margin:0 0 18px;
    background:linear-gradient(180deg, var(--sp-card-background) 0%, #f6f6f6 100%);
    border:1px solid #ececec;
    border-radius:10px;
}

.home-hero h1{
    margin:0 0 12px;
    font-size:34px;
    line-height:1.15;
    text-align:center;
    color:var(--sp-heading-color);
}

.home-hero p{
    margin:0 0 12px;
    font-size:16px;
    line-height:1.7;
    color:var(--sp-text-color);
}

.home-cta-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:16px;
}

.home-cta-row .button{
    text-decoration:none;
}

.home-filter-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.home-filter-label{
    font-weight:600;
    font-size:14px;
    color:var(--sp-muted-text-color);
    margin-right:4px;
}

.home-tab{
    padding:8px 16px;
    font-size:14px;
    border-radius:999px;
    border:2px solid #e5e5e5;
    background:var(--sp-content-background);
    color:var(--sp-text-color);
    text-decoration:none;
    transition:all .2s ease;
}

.home-tab:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
    background:var(--sp-card-background);
    text-decoration:none;
}

.home-tab.active{
    border-color:var(--sp-accent-color);
    background:var(--sp-card-background);
    color:var(--sp-accent-color);
    font-weight:600;
}

.home-section{
    margin-bottom:22px;
    padding:20px;
    background:var(--sp-card-background);
    border:1px solid #ececec;
    border-radius:10px;
}

.home-section h2{
    margin:0 0 12px;
    font-size:26px;
    line-height:1.2;
    color:var(--sp-heading-color);
}

.home-section p{
    margin:0 0 14px;
    font-size:15px;
    line-height:1.7;
    color:var(--sp-text-color);
}

.home-card-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
}

.home-card{
    display:block;
    padding:16px;
    background:var(--sp-content-background);
    border:1px solid #e6e6e6;
    border-radius:8px;
    text-decoration:none;
    color:var(--sp-heading-color);
    transition:all .2s ease;
}

.home-card:hover{
    border-color:var(--sp-accent-color);
    background:var(--sp-card-background);
    color:var(--sp-heading-color);
    text-decoration:none;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
    transform:translateY(-2px);
}

.home-card strong{
    display:block;
    margin-bottom:6px;
    font-size:18px;
    line-height:1.25;
    color:var(--sp-heading-color);
}

.home-card span{
    display:block;
    font-size:14px;
    line-height:1.55;
    color:var(--sp-muted-text-color);
}

.home-link-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:10px;
}

.home-link-grid.states{
    grid-template-columns:repeat(4, minmax(0, 1fr));
}

.home-link-grid a{
    display:block;
    padding:10px 12px;
    background: var(--sp-card-background);
    border: 1px solid var(--sp-border-color);
    border-radius:6px;
    text-decoration:none;
    color:var(--sp-heading-color);
    font-size:14px;
    line-height:1.4;
}

.home-link-grid a:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
    background:var(--sp-card-background);
    text-decoration:none;
}

.home-two-col{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
}

.home-mini-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
}

.home-mini-grid a{
    display:block;
    padding:12px 14px;
    background:#f8f8f8;
    border:1px solid #e6e6e6;
    border-radius:6px;
    text-decoration:none;
    color:var(--sp-heading-color);
    font-size:14px;
}

.home-mini-grid a:hover{
    border-color:var(--sp-accent-color);
    color:var(--sp-accent-color);
    background:var(--sp-card-background);
    text-decoration:none;
}

.home-footer-cta{
    text-align:center;
}

.home-footer-cta p{
    max-width:900px;
    margin:0 auto 14px;
}

.home-post-date{
    margin-bottom:8px;
    font-size:13px !important;
    color:#888 !important;
    display:block;
}

.home-article-card{
    padding:0;
    overflow:hidden;
}

.home-article-image-wrap{
    display:block;
    width:100%;
    aspect-ratio: 16 / 9;
    background:#f1f1f1;
    overflow:hidden;
}

.home-article-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.home-link-grid.states .all-states-link {
    font-weight: 600;
    color: var(--sp-accent-color);
}

.home-link-grid.states .all-states-link:hover {
    text-decoration: underline;
}

.home-article-content{
    padding:16px;
}

@media (max-width: 1100px){
    .home-card-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .home-link-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .home-link-grid.states{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .home-mini-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .home-page-wrap{
        padding:10px 8px 24px;
    }

    .home-hero{
        padding:18px 16px;
    }

    .home-hero h1{
        font-size:28px;
    }

    .home-section{
        padding:16px;
    }

    .home-card-grid,
    .home-link-grid,
    .home-link-grid.states,
    .home-two-col,
    .home-mini-grid{
        grid-template-columns:1fr;
    }
}


/* Semantic readable role layer is in /assets/theme-overrides.css. */



.dateHead {
    list-style:none;
    font-weight:700;
    margin:20px 0 10px;
    padding-bottom:5px;
    border-bottom: 2px solid var(--sp-border-color);
    color:var(--sp-text-color);
}

.spx-empty-state {
    margin:20px 0;
    padding:28px 20px;
    border: 1px solid var(--sp-border-color);
    border-radius:12px;
    background:linear-gradient(180deg, var(--sp-card-background)8f7 0%, var(--sp-card-background) 100%);
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,0.04);
}
