/**
 * Inkora Hero Slider - Frontend Styles
 * Version: 1.0.0
 */
:root {
  --inkora-primary: #2398bc;
}
.inkora-hero-slider {
    position: relative;
    max-width: 1400px;
    margin: 0px auto 20px;
}

/* -----------------------------------------------
   Slider block wrapper — height set via inline CSS
   variable: style="--slider-height: Xpx"
----------------------------------------------- */
.inkora-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Dashicons Styling */
.inkora-hero-slider .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.inkora-slide-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 3px;
}

.inkora-slide-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.inkora-slide-button:hover .dashicons {
    transform: translateX(3px);
}

.inkora-slider-arrow .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* -----------------------------------------------
   Header / Section Title
----------------------------------------------- */
.inkora-slider-header {
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.inkora-slider-header-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.inkora-slider-header-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--inkora-primary);
    border-radius: 2px;
}

/* -----------------------------------------------
   Slider Container
----------------------------------------------- */
.inkora-slider-container {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.inkora-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* -----------------------------------------------
   Slides
----------------------------------------------- */
.inkora-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

.inkora-slider-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide full-size image */
.inkora-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback gradient when no image */
.inkora-slide-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

/* -----------------------------------------------
   Overlays
----------------------------------------------- */

/* Dark gradient overlay */
.inkora-slide-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Content overlay */
.inkora-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.inkora-slide-content {
    max-width: 800px;
    color: #ffffff;
}

/* -----------------------------------------------
   Slide Content — Animation
----------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inkora-slider-slide.active .inkora-slide-content {
    animation: fadeInUp 0.6s ease-out;
}

/* -----------------------------------------------
   Slide Content — Category
----------------------------------------------- */
.inkora-slide-category {
    margin-bottom: 15px;
}

.inkora-slide-category a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--inkora-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.inkora-slide-category a:hover {
    opacity: 0.9;
}

/* -----------------------------------------------
   Slide Content — Title
----------------------------------------------- */
.inkora-slide-title {
    margin: 0 0 15px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.inkora-slide-title a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.inkora-slide-title a:hover {
    opacity: 0.9;
}

/* -----------------------------------------------
   Slide Content — Excerpt
----------------------------------------------- */
.inkora-slide-excerpt {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* -----------------------------------------------
   Slide Content — Meta
----------------------------------------------- */
.inkora-slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    opacity: 0.8;
    flex-wrap: wrap;
    align-items: center;
    color: #ccc;
}

.inkora-slide-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.inkora-slide-meta a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.inkora-slide-meta a:hover {
    text-decoration: underline;
    color: var(--inkora-primary);
}

/* -----------------------------------------------
   Slide Content — Read More Button
----------------------------------------------- */
.inkora-slide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--inkora-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.inkora-slide-button:hover {
    background: #ffffff;
    color: var(--inkora-primary);
    transform: translateX(5px);
    border-color: #fff;
}

.inkora-slide-button .dashicons {
    transition: transform 0.3s ease;
}

.inkora-slide-button:hover .dashicons {
    transform: translateX(3px);
}

/* -----------------------------------------------
   Navigation Arrows
----------------------------------------------- */
.inkora-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.inkora-slider-arrow:hover {
    background: var(--inkora-primary);
    transform: translateY(-50%) scale(1.05);
}

.inkora-slider-prev {
    left: 20px;
}

.inkora-slider-next {
    right: 20px;
}

/* -----------------------------------------------
   Slide Indicators
----------------------------------------------- */
.inkora-slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.inkora-slider-indicator {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.inkora-slider-indicator.active {
    background: var(--inkora-primary);
    transform: scale(1.2);
}

.inkora-indicator-label {
    display: none;
}

/* -----------------------------------------------
   Thumbnails Strip
----------------------------------------------- */
.inkora-slider-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    border-radius: 8px;
}

.inkora-slider-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.inkora-slider-thumbnails::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.inkora-slider-thumbnails::-webkit-scrollbar-thumb {
    background: var(--inkora-primary);
    border-radius: 10px;
}

.inkora-thumbnail-item {
    flex: 0 0 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.inkora-thumbnail-item.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--inkora-primary);
    border-color: var(--inkora-primary);
    transform: translateY(-5px);
}

.inkora-thumbnail-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.inkora-thumbnail-placeholder {
    width: 100px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.inkora-thumbnail-title {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    padding: 8px;
    background: #fff;
    color: #666;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -----------------------------------------------
   Responsive
----------------------------------------------- */
@media (max-width: 1024px) {
    .inkora-slide-title {
        font-size: 36px;
    }

    .inkora-slide-excerpt {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .inkora-slider-container {
        height: 500px;
    }

    .inkora-slide-overlay {
        padding: 20px;
    }

    .inkora-slide-title {
        font-size: 28px;
    }

    .inkora-slide-excerpt {
        font-size: 14px;
    }

    .inkora-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .inkora-thumbnail-item {
        flex: 0 0 100px;
    }

    .inkora-slider-header-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .inkora-slide-title {
        font-size: 22px;
    }

    .inkora-slide-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }

    .inkora-slide-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .inkora-slider-header-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .inkora-slider-container {
        height: 400px;
    }

    .inkora-slide-title {
        font-size: 22px;
    }

    .inkora-slide-meta {
        gap: 5px;
    }

    .inkora-slider-indicator {
        width: 30px;
    }

    .inkora-slider-indicator.active {
        width: 45px;
    }

    .inkora-slider-header-title {
        font-size: 20px;
    }
}