/* ================================================================
   OUTFRONT Portfolio Slider — style.css
   ================================================================ */


/* ── Full-width breakout ──────────────────────────────────────── */
.ops-section {
    position: relative;
    width: 100vw;
    margin-left:  calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0 !important;
    height: var(--ops-h, 620px);
    overflow: hidden;
    background:#082838;
}

/* ── Slides ───────────────────────────────────────────────────── */
.ops-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.ops-slide.active {
    opacity: 1;
    pointer-events: all;
}

/* ── LEFT panel (50%) ─────────────────────────────────────────── */
.ops-left {
    position: relative;
    z-index: 2;
    width: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 60px 7% 60px 7%;
    background: #082838 !important;
    /* subtle dot-grid texture like the screenshot */
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    box-sizing: border-box;
}

.ops-text {
    width: 100%;
    max-width: 520px;
}

/* ── Title ────────────────────────────────────────────────────── */
.ops-section .ops-title {
    font-size: clamp(28px, 3.4vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: var(--ops-heading, #cb9865) !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.ops-section .ops-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.ops-section .ops-title a:hover {
    opacity: 0.85;
}

/* ── Excerpt ──────────────────────────────────────────────────── */
.ops-section .ops-excerpt {
    font-size: clamp(15px, 1.4vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--ops-text, #cccccc) !important;
    margin: 0 0 36px 0 !important;
    padding: 0 !important;
    max-width: 480px;
}

/* ── Button ───────────────────────────────────────────────────── */
.ops-section .ops-btn {
    display: inline-block;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: var(--ops-btn, #ffffff) !important;
    background: var(--ops-btn-bg, transparent) !important;
    border: 2px solid var(--ops-btn, #ffffff) !important;
    padding: 14px 28px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    cursor: pointer;
}
.ops-section .ops-btn:hover {
    background: var(--ops-btn-hbg, #ffffff) !important;
    color: var(--ops-btn-htxt, #111111) !important;
}

/* ── RIGHT panel (50%) ────────────────────────────────────────── */
.ops-right {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ops-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ops-no-img {
    width: 100%;
    height: 100%;
    background: #222;
}

/* ── Prev / Next arrows ───────────────────────────────────────── */
.ops-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    padding: 0;
}
.ops-arrow:hover {
    background: rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.7);
}
.ops-prev { left: 18px; }
.ops-next { right: 18px; }

/* ── Dot indicators ───────────────────────────────────────────── */
.ops-dots {
    position: absolute;
    bottom: 20px;
    left: 25%;  /* centre under the left panel */
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.ops-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ops-dot.active,
.ops-dot:hover {
    background: #fff;
    border-color: #fff;
}

/* ── Slide counter (top-right of left panel) ──────────────────── */
.ops-counter {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 10;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ops-section {
        height: auto !important;
    }
    .ops-slide {
        position: relative;
        flex-direction: column;
        opacity: 1;
        display: none;
        pointer-events: all;
    }
    .ops-slide.active {
        display: flex;
    }
    .ops-left {
        width: 100%;
        padding: 48px 6% 40px;
    }
    .ops-right {
        width: 100%;
        height: 56vw;
        min-height: 240px;
        flex: none;
        position: relative;
    }
    .ops-dots {
        left: 50%;
        bottom: 14px;
    }
    .ops-prev { left: 10px; }
    .ops-next { right: 10px; }
}
