/* =====================================================
   WP POST CAROUSEL PRO — carousel.css
   ===================================================== */

/* ---------- WRAPPER & TRACK ---------- */
.wppc-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 0 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wppc-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.wppc-slide {
    flex: 0 0 auto;
    padding: 10px 12px;
    box-sizing: border-box;
}

.wppc-card-inner {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.wppc-card-inner:hover {
    transform: translateY(-4px);
}

/* ---------- IMAGE ---------- */
.wppc-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #eee;
}
.wppc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.wppc-img-wrap:hover .wppc-img { transform: scale(1.05); }

.wppc-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    min-height: 160px;
}

/* ---------- BODY ---------- */
.wppc-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wppc-date { font-size: 12px; opacity: .6; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.wppc-title { margin: 0; font-size: 16px; line-height: 1.35; }
.wppc-title a { text-decoration: none; color: inherit; }
.wppc-title a:hover { text-decoration: underline; }
.wppc-desc { margin: 0; font-size: 13.5px; line-height: 1.6; opacity: .75; flex: 1; }
.wppc-btn {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 6px;
    transition: .2s;
    align-self: flex-start;
}

/* ---------- NAV BUTTONS ---------- */
.wppc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: .2s;
}
.wppc-prev { left: 4px; }
.wppc-next { right: 4px; }

/* ---------- DOTS ---------- */
.wppc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
}
.wppc-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: .2s;
    padding: 0;
}

/* =====================================================
   THEME: MODERN (default)
   ===================================================== */
.wppc-theme-modern .wppc-card-inner {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    border: 1px solid #f0f0f0;
}
.wppc-theme-modern .wppc-title a { color: #1a1a2e; }
.wppc-theme-modern .wppc-btn { background: #2271b1; color: #fff; }
.wppc-theme-modern .wppc-btn:hover { background: #135e96; }
.wppc-theme-modern .wppc-nav { background: #fff; color: #2271b1; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.wppc-theme-modern .wppc-nav:hover { background: #2271b1; color: #fff; }
.wppc-theme-modern .wppc-dot { background: #ccc; }
.wppc-theme-modern .wppc-dot.active { background: #2271b1; width: 20px; border-radius: 4px; }
.wppc-theme-modern .wppc-no-img { background: #f7f9fc; }

/* =====================================================
   THEME: DARK
   ===================================================== */
.wppc-theme-dark { background: #0f0f13; padding: 20px 0 50px; border-radius: 16px; }
.wppc-theme-dark .wppc-card-inner {
    background: #1c1c24;
    border: 1px solid #2a2a38;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.wppc-theme-dark .wppc-body { color: #e0e0e8; }
.wppc-theme-dark .wppc-title a { color: #f0f0ff; }
.wppc-theme-dark .wppc-btn { background: #6c63ff; color: #fff; }
.wppc-theme-dark .wppc-btn:hover { background: #5549d4; }
.wppc-theme-dark .wppc-nav { background: #2a2a38; color: #a0a0c0; border: 1px solid #3a3a50; }
.wppc-theme-dark .wppc-nav:hover { background: #6c63ff; color: #fff; }
.wppc-theme-dark .wppc-dot { background: #3a3a50; }
.wppc-theme-dark .wppc-dot.active { background: #6c63ff; width: 20px; border-radius: 4px; }
.wppc-theme-dark .wppc-no-img { background: #1c1c24; color: #444; }

/* =====================================================
   THEME: GRADIENT
   ===================================================== */
.wppc-theme-gradient .wppc-card-inner {
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    border: none;
}
.wppc-theme-gradient .wppc-img-wrap {
    position: relative;
}
.wppc-theme-gradient .wppc-img-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(102,51,238,.3), rgba(255,99,132,.3));
    pointer-events: none;
    opacity: 0;
    transition: .3s;
}
.wppc-theme-gradient .wppc-img-wrap:hover::after { opacity: 1; }
.wppc-theme-gradient .wppc-body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.wppc-theme-gradient .wppc-title a { color: #fff; }
.wppc-theme-gradient .wppc-date { color: rgba(255,255,255,.8); }
.wppc-theme-gradient .wppc-desc { color: rgba(255,255,255,.85); }
.wppc-theme-gradient .wppc-btn { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.wppc-theme-gradient .wppc-btn:hover { background: rgba(255,255,255,.35); }
.wppc-theme-gradient .wppc-nav { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; }
.wppc-theme-gradient .wppc-nav:hover { opacity: .85; }
.wppc-theme-gradient .wppc-dot { background: #c4b5f8; }
.wppc-theme-gradient .wppc-dot.active { background: #667eea; width: 20px; border-radius: 4px; }

/* =====================================================
   THEME: MINIMAL
   ===================================================== */
.wppc-theme-minimal .wppc-card-inner {
    background: transparent;
    border-top: 2px solid #111;
    border-radius: 0;
    box-shadow: none;
}
.wppc-theme-minimal .wppc-img-wrap { border-radius: 0; }
.wppc-theme-minimal .wppc-body { padding: 14px 4px; }
.wppc-theme-minimal .wppc-title { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.wppc-theme-minimal .wppc-title a { color: #111; }
.wppc-theme-minimal .wppc-btn { background: #111; color: #fff; border-radius: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.wppc-theme-minimal .wppc-btn:hover { background: #444; }
.wppc-theme-minimal .wppc-nav { background: #111; color: #fff; border-radius: 2px; }
.wppc-theme-minimal .wppc-nav:hover { background: #333; }
.wppc-theme-minimal .wppc-dot { background: #ccc; border-radius: 2px; width: 12px; height: 3px; }
.wppc-theme-minimal .wppc-dot.active { background: #111; width: 24px; }

/* =====================================================
   THEME: MAGAZINE
   ===================================================== */
.wppc-theme-magazine .wppc-card-inner {
    background: #fff;
    border: 2px solid #111;
    border-radius: 0;
    box-shadow: 5px 5px 0 #111;
}
.wppc-theme-magazine .wppc-card-inner:hover { box-shadow: 8px 8px 0 #111; }
.wppc-theme-magazine .wppc-img-wrap { border-radius: 0; border-bottom: 2px solid #111; }
.wppc-theme-magazine .wppc-date { color: #e63946; font-weight: 700; }
.wppc-theme-magazine .wppc-title { font-size: 17px; font-weight: 800; }
.wppc-theme-magazine .wppc-title a { color: #111; }
.wppc-theme-magazine .wppc-btn { background: #e63946; color: #fff; border-radius: 0; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.wppc-theme-magazine .wppc-btn:hover { background: #c1121f; }
.wppc-theme-magazine .wppc-nav { background: #fff; color: #111; border: 2px solid #111; border-radius: 0; box-shadow: 3px 3px 0 #111; }
.wppc-theme-magazine .wppc-nav:hover { background: #e63946; color: #fff; border-color: #e63946; }
.wppc-theme-magazine .wppc-dot { background: #ddd; border-radius: 0; width: 12px; height: 4px; }
.wppc-theme-magazine .wppc-dot.active { background: #e63946; width: 24px; }

/* ---------- EMPTY STATE ---------- */
.wppc-empty { text-align: center; padding: 40px; opacity: .5; font-style: italic; }
