/* Success Stories Page Styles */

/* Reuse Inner Hero styles */
.inner-hero {
    position: relative;
    height: 400px;
    background-image: url('/images/Still.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 60px;
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(28, 30, 37, 0.7), rgba(42, 41, 40, 0.6));
    /* Standard professional overlay */
}

.inner-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}

.inner-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: var(--secondary-color, #c5a065);
}

/* Filter Tabs Section */
.filter-section {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4A4A4A;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    color: #888;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-tab {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-tab:hover {
    border-color: #c5a065;
    color: #4A4A4A;
}

.filter-tab.active {
    background: #c5a065;
    border-color: #c5a065;
    color: #fff;
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.3);
}

/* Professional Story Cards */
.stories-grid {
    padding-top: 20px;
}

.modern-story-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-story-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
}

.card-body {
    padding: 25px;
    text-align: right;
}

.story-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: inline-block;
    padding: 5px 15px;
    background: #fff;
    color: #666;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.duration-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a60;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    margin-top: auto;
}

.publish-date,
.footer-duration {
    font-size: 0.8rem;
    color: #AAA;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-duration i {
    color: #c5a065;
}

/* Empty State */
.empty-stories {
    text-align: center;
    padding: 100px 20px;
}

.empty-icon {
    font-size: 5rem;
    color: rgba(10, 19, 99, 0.1);
    margin-bottom: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-item {
    transition: all 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .inner-hero {
        height: 350px;
    }

    .inner-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}