s/* ================================================================
   WS Cards Slider – ws-cards-slider.css
   Webstone Studio
   ================================================================ */

/* ── Font Geomanist ────────────────────────────────────────────── */
@font-face {
    font-family: 'Geomanist';
    src: url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-regular-webfont.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geomanist';
    src: url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-medium-webfont.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geomanist';
    src: url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-bold-webfont.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/niceterminal/geomanist@1.0/fonts/geomanist-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Wrapper ───────────────────────────────────────────────────── */
.wscs-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* ── Swiper ───────────────────────────────────────────────────── */
.wscs-swiper {
    overflow: hidden;
    width: 100%;
}

/* ── Slide ────────────────────────────────────────────────────── */
.wscs-slide {
    height: auto;
    box-sizing: border-box;
}

/* ── Card ─────────────────────────────────────────────────────── */
.wscs-card {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Geomanist';
}

/* ── Zona text ─────────────────────────────────────────────────── */
.wscs-card-text {
    padding: 24px;
    flex: 1;
    order: 2;
    font-family: 'Geomanist';
    /* Culoare text per slide – fallback la moștenire */
    color: var(--wscs-slide-text-color, inherit);
}

/* Propagăm culoarea și în heading-uri și paragrafe din WYSIWYG */
.wscs-card-text h1,
.wscs-card-text h2,
.wscs-card-text h3,
.wscs-card-text h4,
.wscs-card-text h5,
.wscs-card-text h6,
.wscs-card-text p,
.wscs-card-text li,
.wscs-card-text span,
.wscs-card-text a {
    color: var(--wscs-slide-text-color, inherit);
}

.wscs-card-text > *:first-child { margin-top: 0; }
.wscs-card-text > *:last-child  { margin-bottom: 0; }

/* ── Zona imagine conținut ─────────────────────────────────────── */
.wscs-card-image {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    order: 3; /* jos – default */
    height: var(--wscs-ih-d, 220px);
}

.wscs-card-image img,
.wscs-card-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.wscs-card-image img {
    object-fit: cover;
}

/* ================================================================
   POZIȚIE IMAGINE CONȚINUT – DESKTOP (≥ 1025px)
   ================================================================ */
@media (min-width: 1025px) {
    .wscs-img-d-top .wscs-card-image    { order: 1; height: var(--wscs-ih-d, 220px); }
    .wscs-img-d-top .wscs-card-text     { order: 2; }
    .wscs-img-d-bottom .wscs-card-image { order: 3; height: var(--wscs-ih-d, 220px); }
    .wscs-img-d-bottom .wscs-card-text  { order: 2; }
}

/* ================================================================
   POZIȚIE IMAGINE CONȚINUT – TABLETĂ (768px – 1024px)
   ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .wscs-img-t-top .wscs-card-image    { order: 1; height: var(--wscs-ih-t, 200px); }
    .wscs-img-t-top .wscs-card-text     { order: 2; }
    .wscs-img-t-bottom .wscs-card-image { order: 3; height: var(--wscs-ih-t, 200px); }
    .wscs-img-t-bottom .wscs-card-text  { order: 2; }
}

/* ================================================================
   POZIȚIE IMAGINE CONȚINUT – MOBIL (< 768px)
   ================================================================ */
@media (max-width: 767px) {
    .wscs-img-m-top .wscs-card-image    { order: 1; height: 280px; }
    .wscs-img-m-top .wscs-card-text     { order: 2; }
    .wscs-img-m-bottom .wscs-card-image { order: 3; height: 280px; }
    .wscs-img-m-bottom .wscs-card-text  { order: 2; }
}

/* ================================================================
   SĂGEȚI
   ================================================================ */
.wscs-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: box-shadow .2s ease, transform .2s ease;
}
.wscs-btn:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
    transform: translateY(-50%) scale(1.05);
}
.wscs-btn--prev { left: -22px; }
.wscs-btn--next { right: -22px; }
.wscs-btn.swiper-button-disabled,
.wscs-btn[disabled] {
    opacity: .35;
    pointer-events: none;
}

/* ================================================================
   STATIC MODE
   ================================================================ */
.wscs-wrapper.wscs--static .wscs-btn {
    display: none !important;
}

.lista-servicii {
    list-style: none;
    padding: 0;
    margin: 15 0;
}
.lista-servicii li{
    list-style: none;
    border: 2px solid #E1E6E8;
    padding: 5px 10px;
    text-transform: uppercase;
    margin-right: 5px;
    display: inline-block;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}
.un-serviciu{
    color: #144041;
    display: inline-block;
    border: 2px solid #144041;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}
.link-underline{
    border-bottom: 2px solid #144041;
    display: inline-block;
    padding-bottom: 4px;
    font-weight: bold;
}
.list-check ul{
    display: flex;
    gap: 24px;
    row-gap: 14px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
}
.list-check li{
    position: relative;
    padding-left: 2.5em;
    flex: 0 calc(50% - 16px);
    list-style: none;
    font-weight: bold;
}
.list-check li:before{
    content: "";
    position: absolute;
    background: transparent url(https://business.olx.ro/wp-content/uploads/2026/04/check-icon.svg);
    position: absolute;
    left: 0;
    top: -1px;
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    color: #144041;
    border-radius: 4px;
    display: flex;
}

/* ================================================================
   BREAKPOINTS
   ================================================================ */
@media (max-width: 767px) {
    .wscs-wrapper { overflow: hidden; }
    .wscs-btn     { display: none !important; }
    .list-check li{ flex: none; width: 100%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .wscs-btn { display: none !important; }
}

@media (min-width: 1025px) {
    .wscs-wrapper { padding: 0; }
}

/* ── Elementor Editor ─────────────────────────────────────────── */
.elementor-editor-active .wscs-btn {
    display: flex;
}
