/* ============================================================
   Promoted Stays Carousel — consolidated stylesheet
   Replaces all inline <style> blocks and wp_head CSS.
   Loaded once, cached by the browser.
   ============================================================ */

/* --- Global card overrides (formerly wp_head block 1) --- */
.psw-title,.psw-title a{font-weight:700!important}.psw-review,.psw-loc,.psw-unit,.psw-r-text,.psw-r-count{font-weight:400!important}.psw-price{font-weight:400!important}.psw-stars{display:inline-flex!important;align-items:center!important;gap:1px!important;line-height:1!important;vertical-align:middle!important}.psw-star{display:block!important;flex:0 0 auto!important}.psw-heart-float{display:none!important}.psw-card{height:100%!important;display:flex!important;flex-direction:column!important;border-radius:18px!important;overflow:hidden!important}.psw-img-box{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important}.psw-img-box img{width:100%!important;height:100%!important;object-fit:cover!important}.psw-content{display:flex!important;flex-direction:column!important;min-height:152px!important;padding:14px!important}.psw-title{min-height:2.7em!important;line-height:1.28!important;margin:0 0 6px 0!important;font-size:15px!important}.psw-loc{margin-bottom:6px!important}.psw-review{margin-bottom:8px!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.psw-footer{margin-top:auto!important;display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:12px!important;border-top:1px solid #eef2f7!important;padding-top:12px!important}.psw-price-wrap{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:56px!important}.psw-btn{min-width:110px!important;height:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important}.swiper-slide{height:auto!important;display:flex!important}.swiper-slide>.psw-card,.swiper-slide>a.psw-card{flex:1 1 auto!important}.psw-single-slide .swiper-wrapper{justify-content:center}.psw-single-slide .swiper-slide{max-width:320px!important}


/* --- Layout & booking overrides (formerly wp_head block 2) --- */
.psw-widget-container .swiper-wrapper{align-items:stretch!important}.psw-widget-container .swiper-slide{height:auto!important;display:flex!important}.psw-widget-container .swiper-slide>.psw-card,.psw-widget-container .swiper-slide>a.psw-card{flex:1 1 auto!important}.psw-widget-container .psw-card{display:flex!important;flex-direction:column!important;height:100%!important;border-radius:18px!important;overflow:hidden!important}.psw-widget-container .psw-img-box{position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important}.psw-widget-container .psw-sponsored-card .psw-img-box,.psw-widget-container .psw-service-card .psw-img-box:not(.psw-service-img-fill){aspect-ratio:auto!important;height:188px!important;min-height:188px!important;max-height:188px!important;flex:0 0 188px!important}.psw-widget-container .psw-img-box img{width:100%!important;height:100%!important;object-fit:cover!important}.psw-widget-container .psw-badge{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;bottom:auto!important;z-index:4!important}.psw-widget-container .psw-img-box>.psw-like-btn{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;margin:0!important;transform:none!important;z-index:5!important}.psw-widget-container .psw-like-btn svg{display:block!important}.psw-widget-container .psw-content{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:152px!important;padding:14px!important}.psw-widget-container .psw-cat{position:static!important;bottom:auto!important;left:auto!important;z-index:auto!important;margin:0 0 8px 0!important}.psw-widget-container .psw-title-row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;margin:0 0 4px 0!important}.psw-widget-container .psw-title,.psw-widget-container .psw-title a{font-weight:700!important;line-height:1.22!important;min-height:0!important;margin:0!important;font-size:15px!important}.psw-widget-container .psw-loc{margin:0 0 4px 0!important;min-height:0!important;line-height:1.3!important}.psw-widget-container .psw-review{min-height:0!important;margin:0 0 6px 0!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.psw-widget-container .psw-stars{display:inline-flex!important;align-items:center!important;gap:1px!important;line-height:1!important;vertical-align:middle!important}.psw-star{display:block!important;flex:0 0 auto!important}.psw-widget-container .psw-price{font-weight:400!important;font-size:16px!important;line-height:1!important}.psw-widget-container .psw-unit{font-weight:400!important;font-size:16px!important;line-height:1!important;display:inline!important;margin-left:0!important}.psw-widget-container .psw-price-line{display:flex!important;align-items:baseline!important;gap:0!important;white-space:nowrap!important;line-height:1!important}.psw-widget-container .psw-price-wrap,.psw-widget-container .psw-price-box{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:0!important}.psw-widget-container .psw-footer{margin-top:auto!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;border-top:1px solid #eef2f7!important;padding-top:10px!important}.psw-widget-container .psw-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:96px!important;min-height:40px!important;height:40px!important;padding:0 14px!important;border-radius:10px!important}.psw-widget-container .psw-sponsored-card{display:flex!important;flex-direction:column!important}.psw-widget-container .psw-sponsored-title-top{padding:10px 12px 6px 12px!important}.psw-widget-container .psw-sponsored-card .psw-img-box,.psw-widget-container .psw-service-card .psw-img-box:not(.psw-service-img-fill){height:188px!important;min-height:188px!important;max-height:188px!important;flex:0 0 188px!important;background:#fff!important;padding:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.psw-widget-container .psw-sponsored-card .psw-img-box img,.psw-widget-container .psw-service-card .psw-img-box img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}.psw-widget-container .psw-sponsored-card .psw-cta-row{margin-top:auto!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px 12px!important;border-top:1px solid #eef2f7!important;background:#fff!important;flex:0 0 auto!important}.psw-widget-container .psw-sponsored-card .psw-cta-btn{min-height:40px!important;height:40px!important;padding:0 14px!important;border-radius:10px!important;font-size:14px!important}.psw-widget-container.psw-single-slide .swiper-wrapper{justify-content:center!important}.psw-widget-container.psw-single-slide .swiper-slide{max-width:320px!important}@media (max-width:640px){.psw-widget-container .psw-badge{top:10px!important;left:10px!important}.psw-widget-container .psw-img-box>.psw-like-btn{top:10px!important;right:10px!important}.psw-widget-container .psw-content{padding:12px!important;min-height:160px!important}.psw-widget-container .psw-title-row{margin-bottom:4px!important}.psw-widget-container .psw-loc{margin-bottom:6px!important}.psw-widget-container .psw-review{margin-bottom:7px!important}.psw-widget-container .psw-btn{min-width:92px!important}}@media (max-width:640px){.psw-widget-container .psw-sponsored-card .psw-img-box,.psw-widget-container .psw-service-card .psw-img-box{height:188px!important;min-height:188px!important;max-height:188px!important}}


/* --- Shared carousel layout (formerly inline per shortcode) --- */
.psw-widget-container { position: relative; margin: 32px auto; font-family: 'Segoe UI', sans-serif; max-width: 1400px; overflow: hidden; box-sizing: border-box; }
.psw-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.25s; box-shadow: 0 4px 14px rgba(15,23,42,0.04); }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; display: flex; }
.swiper-slide > .psw-card, .swiper-slide > a.psw-card { flex: 1; }
.psw-widget-container.psw-single-slide .swiper-wrapper{ justify-content:center; }
.psw-widget-container.psw-single-slide .swiper-slide{ max-width:320px; }
.psw-widget-container.psw-single-slide .psw-card{ width:100%; }
.psw-widget-container *, .psw-widget-container *::before, .psw-widget-container *::after { box-sizing: border-box; }
.psw-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: none; }
/* Arena heart (Experiences) */
.psw-like-btn{ position:absolute; top:10px; right:10px; z-index:3; background: rgba(255,255,255,0.96); border:1px solid rgba(15,23,42,0.08); border-radius:999px; width:34px; height:34px; padding:0; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.12); }
.psw-like-btn::before, .psw-like-btn::after{ content:none !important; display:none !important; }
.psw-like-btn svg{ width:17px; height:17px; fill:none; stroke:#111; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; pointer-events:none; }
.psw-like-btn > :not(svg):not(.psw-heart-float):not(.psw-like-count){ display:none !important; }
.psw-like-btn.psw-liked svg{ fill:#e11d48; stroke:#e11d48; }
.psw-img-box { position: relative; width: 100%; overflow: hidden; }
.psw-img-box-full { height: 100%; }
.psw-service-link { text-decoration: none; }
.psw-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display:block; }
.psw-card:hover .psw-img-box img { transform: scale(1.05); }

/* Arena heart (Stays + Experiences only; service providers excluded) */
.psw-like-btn{ position:absolute; top:10px; right:10px; z-index:3; background: rgba(255,255,255,0.96); border:1px solid rgba(15,23,42,0.08); border-radius:999px; width:34px; height:34px; padding:0; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.12); }
.psw-like-btn::before, .psw-like-btn::after{ content:none !important; display:none !important; }
.psw-like-btn svg{ width:17px; height:17px; fill:none; stroke:#111; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; pointer-events:none; }
.psw-like-btn > :not(svg):not(.psw-heart-float):not(.psw-like-count){ display:none !important; }
.psw-like-btn.psw-liked svg{ fill:#e11d48; stroke:#e11d48; }

/* Service Provider creative: contained (ad-style), not edge-to-edge */

/* Sponsored Ad creative: full poster (4:5) + two CTAs
Keep overall card height consistent with other carousels by capping poster height
and using a fixed-height CTA row. */
.psw-sponsored-card{ display:flex; flex-direction:column; overflow:hidden; border-radius:18px; background:#fff; height:100%; }
/* Sponsored/Advertiser: fit creatives like other carousels (no cropping) */
.psw-sponsored-card .psw-img-box{flex: 0 0 188px; min-height:188px; height:188px; max-height:188px; background:#fff; padding:4px; display:flex; align-items:center; justify-content:center; border-top-left-radius:0; border-top-right-radius:0; overflow:hidden; aspect-ratio:auto;}
.psw-sponsored-card .psw-img-box > a{ display:flex; width:100%; height:100%; align-items:center; justify-content:center; }
.psw-sponsored-card .psw-img-box img{ width:100%; height:100%; object-fit: contain; object-position:center center; }
/* Fixed CTA row height prevents Sponsored cards from becoming taller than Stays cards */
.psw-cta-row{ margin-top:auto; display:flex; gap:14px; padding:12px 14px; border-top:1px solid #f0f0f0; background:#fff; flex:0 0 auto; min-height:58px; align-items:center; }
.psw-cta-btn{ flex:1; text-align:center; display:flex; align-items:center; justify-content:center; height:46px; padding:0 16px; border-radius:10px; font-size:15px; font-weight:700; }
.psw-cta-row .psw-btn{ width:auto; }
/* Keep buttons roomy on small screens */





.psw-badge { position: absolute; top: 10px; left: 10px; color: #fff; font-size: 9px; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; font-weight: 800; z-index: 2; letter-spacing: 0.4px; }
.psw-badge--featured { background: linear-gradient(135deg,#1d4ed8,#60a5fa); }
.psw-badge--sponsored { background: linear-gradient(135deg,#16a34a,#86efac); }
/* Sponsored primary CTA (non-WhatsApp): solid color to stand apart */
.psw-sponsored-card .psw-cta-btn:not(.psw-wa){ background: #16a34a !important; color:#fff !important; }
.psw-sponsored-card .psw-cta-btn:not(.psw-wa):hover{ filter: brightness(0.95); }
@media (max-width: 480px){ .psw-cta-row{ gap:12px; padding:12px; flex-basis:70px; } .psw-cta-btn{ height:44px; padding:0 12px; } }


/* Sponsored ad title (top only): AD pill + title above the creative */
.psw-sponsored-title-top{ display:flex; align-items:center; gap:8px; padding: 10px 12px 0 12px; }
.psw-sponsored-title-top .psw-ad-pill{ font-size:11px; font-weight:800; padding:3px 8px; border-radius:999px; background:#111827; color:#fff; letter-spacing:.4px; text-transform:uppercase; }
.psw-sponsored-title-top .psw-sponsored-title{ font-size:12px; font-weight:700; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0; }
/* Keep the poster edge aligned with the card radius */
/* Sponsored/Advertiser: fit creatives like other carousels (no cropping) + straight poster edges */
/* sponsored img-box consolidated above */

.psw-cat { display:inline-flex; align-items:center; margin:0 0 8px 0; background:#eff6ff; color:#1d4ed8; font-size:11px; padding:4px 8px; border-radius:999px; font-weight:600; line-height:1; align-self:flex-start; }
.psw-card-link{ color: inherit; text-decoration: none; display:block; }
.psw-card-link:hover{ text-decoration:none; }
.psw-content { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; gap: 0; min-height: 0; }
.psw-title { font-size: 15px; font-weight: 700; margin: 0 0 4px 0; color: #222; line-height: 1.35; min-height: 2.7em; }

.psw-medal-badge {
display:inline-flex;
align-items:center;
justify-content:center;
width:auto;
height:auto;
margin-left:8px;
vertical-align:middle;
flex:0 0 auto;
font-size:20px;
line-height:1;
}
.psw-title-row{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:10px;
}
.psw-title-row .psw-title{
margin:0;
flex:1 1 auto;
}
.psw-like-btn{
position:relative;
}
.psw-like-count{
position:absolute;
right:-4px;
bottom:-4px;
min-width:18px;
height:18px;
border-radius:999px;
background:#111827;
color:#fff;
font-size:10px;
font-weight:700;
display:none;
align-items:center;
justify-content:center;
padding:0 4px;
box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.psw-like-count.is-show{
display:flex;
}
.psw-like-pop{
animation: pswVotePop .35s ease;
}
@keyframes pswVotePop{
0% { transform: scale(1); }
40% { transform: scale(1.28); }
100% { transform: scale(1); }
}
.psw-heart-float{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%);
font-size:14px;
color:#e11d48;
pointer-events:none;
opacity:0;
}
.psw-heart-float.is-show{
animation: pswHeartFloat .8s ease forwards;
}
@keyframes pswHeartFloat{
0% { opacity:0; transform:translate(-50%,-20%) scale(.8); }
20% { opacity:1; }
100% { opacity:0; transform:translate(-50%,-130%) scale(1.2); }
}
.psw-loc { font-size: 12px; color: #666; margin-bottom: 10px; display:flex; align-items:center; gap:4px; min-height: 20px; }
.psw-review { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; min-height: 28px; }
.psw-score { background: #003b95; color: #fff; font-weight: 600; padding: 4px 6px; border-radius: 6px 6px 6px 0; font-size: 12px; }
.psw-r-text { font-size: 12px; font-weight: 400; color: #333; }
.psw-offer { background: #d32f2f; color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 4px; display: inline-block; margin-bottom: 12px; font-weight: 500; width: fit-content;}
.psw-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid #eef2f7; padding-top: 12px; }

/* Columns 1–2: content-height cards (avoid large gaps between review and price) */
/* Columns 1–2 (Stays only): content-height cards (prevents large gap between reviews and price) */
.psw-carousel-stays.psw-cols-1 .swiper-wrapper,
.psw-carousel-stays.psw-cols-2 .swiper-wrapper { align-items: flex-start; }
.psw-carousel-stays.psw-cols-1 .swiper-slide,
.psw-carousel-stays.psw-cols-2 .swiper-slide { display: block; }
.psw-carousel-stays.psw-cols-1 .psw-card,
.psw-carousel-stays.psw-cols-2 .psw-card { height: auto; min-height: unset !important; }
.psw-carousel-stays.psw-cols-1 .psw-content,
.psw-carousel-stays.psw-cols-2 .psw-content { flex-grow: 0; }
.psw-carousel-stays.psw-cols-1 .psw-footer,
.psw-carousel-stays.psw-cols-2 .psw-footer { margin-top: 12px !important; }
.psw-price { font-weight: 400; font-size: 16px; color: #333; }
.psw-old-price { text-decoration: line-through; color: #999; font-size: 12px; margin-left: 4px; font-weight: normal; }
.psw-unit { font-size: 11px; color: #777; display: block; margin-top: 2px; }
.psw-btn { background: #2563eb; color: #fff !important; text-decoration: none; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 500; transition: background 0.2s; white-space: nowrap; min-width:110px; min-height:46px; display:inline-flex; align-items:center; justify-content:center; }
.psw-btn:hover { background: #1d4ed8; }
.psw-btn.psw-wa { background: #22c55e; }
.psw-btn.psw-wa:hover { background: #16a34a; }
.psw-next, .psw-prev {
background: #f5efe6 !important;
border: 1px solid rgba(0,0,0,0.10) !important;
box-shadow: none !important;
width: 45px !important;
height: 45px !important;
min-width: 45px !important;
border-radius: 50% !important;
cursor: pointer;
z-index: 50;
display: flex; align-items: center; justify-content: center;
position: absolute; top: 38%; transform: translateY(-50%); transition: background 0.2s;
}
.psw-next:hover, .psw-prev:hover { background: #ede4d6 !important; }
.psw-next { right: 8px; }
.psw-prev { left: 8px; }
.psw-next:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: rotate(45deg);
    margin-left: -3px;
}
.psw-prev:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-top: 2px solid #333;
    transform: rotate(-45deg);
    margin-right: -3px;
}
.swiper-button-disabled { opacity: 0 !important; cursor: default; pointer-events: none; }
@media (max-width: 768px) {
.psw-widget-container { padding: 0; margin: 22px auto; }
/* Mobile: compact booking-style cards */

.psw-content { padding: 11px; }
.psw-title { font-size: 14px; }
.psw-btn { padding: 8px 12px; font-size: 12px; }
.psw-next, .psw-prev { display: none !important; }
}

/* ── Heart button: only the SVG turns red on hover, not the circle ── */
.psw-like-btn:hover { background: rgba(255,255,255,0.96); border-color: rgba(15,23,42,0.08); }
.psw-like-btn:hover svg { stroke: #e11d48; }

/* Liked state: red heart, circle stays white */
.psw-like-btn.psw-liked { background: rgba(255,255,255,0.96) !important; }
.psw-like-btn.psw-liked svg { fill: #e11d48 !important; stroke: #e11d48 !important; }

/* ── Remove underlines from CTA buttons and card title links ── */
.psw-btn,
.psw-btn:hover,
.psw-btn:visited,
.psw-btn:focus,
.psw-cta-btn,
.psw-cta-btn:hover { text-decoration: none !important; }

.psw-title a,
.psw-title a:hover,
.psw-title a:visited,
.psw-title a:focus { text-decoration: none !important; color: inherit; }

/* ── Image box: enforce 4:3 on all regular cards, all screen sizes ── */
.psw-widget-container .psw-card:not(.psw-service-card):not(.psw-sponsored-card) .psw-img-box,
.psw-img-box:not(.psw-service-card .psw-img-box):not(.psw-sponsored-card .psw-img-box) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
}

/* Service provider cards: square crop feels right for logos/headshots */
.psw-service-card .psw-img-box:not(.psw-service-img-fill) {
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    flex: 0 0 188px !important;
    aspect-ratio: auto !important;
    padding: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Sponsored/advertiser cards: 4:5 portrait (poster-style) */
.psw-sponsored-card .psw-img-box,
.psw-service-card .psw-img-box:not(.psw-service-img-fill) {
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    aspect-ratio: auto !important;
    background: #fff;
    padding: 4px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex: 0 0 188px !important;
}

/* Images always fill their box cleanly */
.psw-img-box img { object-fit: cover; width: 100%; height: 100%; display: block; }
.psw-service-card .psw-img-box img,
.psw-sponsored-card .psw-img-box img { object-fit: contain; }

/* ── Card border fix: use padding on swiper to prevent shadow/border clipping ──
   Swiper sets overflow:hidden on .swiper by default which clips box-shadows and
   the 1px border on the left/right edges of the first and last visible cards.
   Padding + negative margin trick lets the border render fully on all four sides. */
.psw-widget-container .swiper {
    overflow: visible !important;
}

/* Ensure the border appears on all four sides of every card */
.psw-widget-container .psw-card {
    border: 1px solid #e0e0e0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
}

/* ── Services/Ads carousel column layout ─────────────────────────────────── */
.psw-carousel-services .swiper-wrapper { align-items: stretch; }
.psw-carousel-services .swiper-slide   { height: auto; display: flex; }
.psw-carousel-services .swiper-slide > .psw-card { flex: 1 1 auto; }

/* Constrain card width so multiple cards show at once */
.psw-carousel-services.psw-cols-1 .swiper-slide { max-width: 340px; }
.psw-carousel-services.psw-cols-2 .swiper-slide { max-width: 50%; }
.psw-carousel-services.psw-cols-3 .swiper-slide { max-width: 33.333%; }
.psw-carousel-services.psw-cols-4 .swiper-slide { max-width: 25%; }

/* Card base */
.psw-carousel-services .psw-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
}

/* Image box — fixed height, never stretches */
.psw-carousel-services .psw-img-box {
    flex: 0 0 188px !important;
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    aspect-ratio: auto !important;
    background: #fff;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.psw-carousel-services .psw-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Title strip */
.psw-carousel-services .psw-sponsored-title-top {
    padding: 10px 12px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* CTA row always at bottom */
.psw-carousel-services .psw-cta-row {
    margin-top: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

/* Hard override: sponsored/service img-box must NEVER get aspect-ratio:4/3 */
.psw-widget-container .psw-card.psw-sponsored-card .psw-img-box,
.psw-widget-container .psw-card.psw-service-card .psw-img-box:not(.psw-service-img-fill),
.psw-carousel-services .psw-img-box:not(.psw-service-img-fill) {
    aspect-ratio: auto !important;
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    flex: 0 0 188px !important;
}



/* ═══════════════════════════════════════════════════════════════════
   Services / Advertiser carousel — image-only card layout
   Card = AD pill strip at top + image fills the rest, no CTA row.
   The ad creative image is the message; any CTA is baked into it.
   ═══════════════════════════════════════════════════════════════════ */

/* Carousel wrapper */
.psw-carousel-services .swiper-wrapper { align-items: stretch; }
.psw-carousel-services .swiper-slide   { height: auto; display: flex; }
.psw-carousel-services .swiper-slide > .psw-card,
.psw-carousel-services .swiper-slide > a.psw-card { flex: 1 1 auto; }

/* Card shell */
.psw-carousel-services .psw-card.psw-service-card,
a.psw-card.psw-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
    text-decoration: none !important;
    min-height: 0;
}
a.psw-card.psw-service-card:hover {
    box-shadow: 0 4px 20px rgba(15,23,42,0.12);
    transform: translateY(-1px);
    transition: box-shadow 0.2s, transform 0.2s;
}

/* AD pill strip — compact, flex-shrink so image gets remaining space */
.psw-carousel-services .psw-sponsored-title-top {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    border-bottom: 1px solid #f0f0f0;
}

/* Image fills all remaining card height — covers the creative */
.psw-carousel-services .psw-img-box.psw-service-img-fill {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    background: #fff;
    display: block !important;
    overflow: hidden;
}
.psw-carousel-services .psw-img-box.psw-service-img-fill img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* Override any conflicting fixed-height rules for this specific fill variant */
.psw-widget-container .psw-carousel-services .psw-img-box.psw-service-img-fill,
.psw-carousel-services .psw-card.psw-service-card .psw-img-box.psw-service-img-fill {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

/* === psw-services-widget: scoped advertiser carousel CSS (v1.12.5 original) ===
   280px image height desktop, 240px mobile. Completely isolated from other rules. */
.psw-services-widget{position:relative;margin:32px auto;font-family:'Segoe UI',sans-serif;max-width:1400px;overflow:hidden;box-sizing:border-box;}
.psw-services-widget *,.psw-services-widget *::before,.psw-services-widget *::after{box-sizing:border-box;}
.psw-services-widget .swiper-wrapper{align-items:stretch;}
.psw-services-widget .swiper-slide{height:auto;display:flex;}
.psw-services-widget .swiper-slide>.psw-card{flex:1;}
.psw-services-widget .psw-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;height:100%;box-shadow:0 4px 14px rgba(15,23,42,0.04);}
.psw-services-widget .psw-card:hover{box-shadow:0 15px 30px rgba(0,0,0,0.08);transform:none;}
.psw-services-widget .psw-sponsored-title-top{display:flex;align-items:center;gap:8px;padding:10px 12px 0 12px;min-height:44px;flex-shrink:0;}
.psw-services-widget .psw-ad-pill{font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:#111827;color:#fff;letter-spacing:.4px;text-transform:uppercase;flex-shrink:0;}
.psw-services-widget .psw-sponsored-title{font-size:12px;font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;}
.psw-services-widget .psw-img-box{position:relative;width:100%;height:280px;background:#fff;padding:0;display:flex;align-items:center;justify-content:center;overflow:hidden;aspect-ratio:auto;flex:1 1 auto;}
.psw-services-widget .psw-img-box>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;text-decoration:none;}
.psw-services-widget .psw-img-box img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;}
.psw-services-widget .psw-next,.psw-services-widget .psw-prev{background:#f5efe6!important;border:1px solid rgba(0,0,0,.10)!important;box-shadow:none!important;width:45px!important;height:45px!important;border-radius:50%!important;cursor:pointer;z-index:50;display:flex!important;align-items:center!important;justify-content:center!important;position:absolute;top:50%;transform:translateY(-50%);}
.psw-services-widget .psw-next{right:8px;}
.psw-services-widget .psw-prev{left:8px;}
.psw-services-widget .psw-next:after{content:'';display:block;width:10px;height:10px;border-right:2px solid #333;border-top:2px solid #333;transform:rotate(45deg);margin-left:-3px;}.psw-services-widget .psw-prev:after{content:'';display:block;width:10px;height:10px;border-left:2px solid #333;border-top:2px solid #333;transform:rotate(-45deg);margin-right:-3px;}
.psw-services-widget .swiper-button-disabled{opacity:0!important;pointer-events:none!important;}
.psw-services-widget.psw-single-slide .swiper-wrapper{justify-content:center;}
.psw-services-widget.psw-single-slide .swiper-slide{max-width:320px;}
@media(max-width:768px){.psw-services-widget{padding:0 6px;margin:20px auto;}.psw-services-widget .psw-next,.psw-services-widget .psw-prev{display:none!important;}.psw-services-widget .psw-img-box{height:240px;}}

/* Override Swiper's default 'next'/'prev' text on any auto-created nav buttons.
   Also completely hide them since we use custom .psw-next/.psw-prev arrows. */
.psw-widget-container .swiper-button-next::after,
.psw-widget-container .swiper-button-prev::after,
.psw-services-widget .swiper-button-next::after,
.psw-services-widget .swiper-button-prev::after {
    content: '' !important;
    display: none !important;
}
.psw-widget-container .swiper > .swiper-button-next,
.psw-widget-container .swiper > .swiper-button-prev,
.psw-services-widget .swiper > .swiper-button-next,
.psw-services-widget .swiper > .swiper-button-prev {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ── Advertiser card info icon (ℹ) ──────────────────────────────────────────
   Sits on the right of the AD pill + title strip. No outer circle —
   the glyph itself is the icon. Colour #19b6eb, dark-mode safe. */
.psw-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: none;
    background: none;
    color: #19b6eb;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.15s;
    margin-left: auto;
    font-style: normal;
}
.psw-info-icon:hover {
    color: #0fa0d0;
    text-decoration: none !important;
}
@media (prefers-color-scheme: dark) {
    .psw-info-icon { color: #19b6eb; }
    .psw-info-icon:hover { color: #5dd0f5; }
}
