/**
 * Insights Pages Shared Styles - Part 2
 * Success Stories, Webinars, and Whitepapers pages
 * 
 * @package ApexTheme
 * @subpackage Components/InsightsPages
 */

/* ========================================
   Success Stories - Featured Section
   ======================================== */
.apex-stories-featured {
    padding: 6rem 1.5rem;
    background: #ffffff;
}

.apex-stories-featured__container {
    max-width: 1280px;
    margin: 0 auto;
}

.apex-stories-featured__header {
    margin-bottom: 2rem;
}

.apex-stories-featured__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);
    color: #f97316;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
}

.apex-stories-featured__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .apex-stories-featured__card {
        grid-template-columns: 1fr 1.2fr;
    }
}

.apex-stories-featured__image {
    position: relative;
    aspect-ratio: 16/10;
}

@media (min-width: 1024px) {
    .apex-stories-featured__image {
        aspect-ratio: auto;
        min-height: 400px;
    }
}

.apex-stories-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apex-stories-featured__logo {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.apex-stories-featured__logo span {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.apex-stories-featured__content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apex-stories-featured__category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
    width: fit-content;
}

.apex-stories-featured__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.apex-stories-featured__excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
}

.apex-stories-featured__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.apex-stories-featured__result {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.apex-stories-featured__result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f97316;
    margin-bottom: 0.25rem;
}

.apex-stories-featured__result-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

.apex-stories-featured__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
}

.apex-stories-featured__link:hover {
    color: #fb923c;
}

.apex-stories-featured__link svg {
    width: 20px;
    height: 20px;
}

/* Stories Filters */
.apex-stories-filters {
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.apex-stories-filters__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.apex-stories-filters__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.apex-stories-filters__group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.apex-stories-filters__group select {
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    min-width: 180px;
}

.apex-stories-filters__group select:focus {
    border-color: #f97316;
}

/* Stories Grid */
.apex-stories-grid {
    padding: 4rem 1.5rem 6rem;
    background: #ffffff;
}

.apex-stories-grid__container {
    max-width: 1280px;
    margin: 0 auto;
}

.apex-stories-grid__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .apex-stories-grid__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .apex-stories-grid__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.apex-stories-grid__item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.apex-stories-grid__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.apex-stories-grid__item-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.apex-stories-grid__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apex-stories-grid__item:hover .apex-stories-grid__item-image img {
    transform: scale(1.05);
}

.apex-stories-grid__item-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: #f97316;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}

.apex-stories-grid__item-content {
    padding: 1.5rem;
}

.apex-stories-grid__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.apex-stories-grid__item-company {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f97316;
}

.apex-stories-grid__item-location {
    font-size: 0.75rem;
    color: #94a3b8;
}

.apex-stories-grid__item-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.apex-stories-grid__item-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.apex-stories-grid__item-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.apex-stories-grid__item-stats div {
    text-align: center;
}

.apex-stories-grid__item-stats strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.apex-stories-grid__item-stats span {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
}

.apex-stories-grid__item-content > a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
}

.apex-stories-grid__item-content > a:hover {
    color: #ea580c;
}

.apex-stories-grid__load-more {
    text-align: center;
    margin-top: 3rem;
}

.apex-stories-grid__load-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apex-stories-grid__load-btn:hover {
    border-color: #f97316;
    color: #f97316;
}

/* Stories Testimonials */
.apex-stories-testimonials {
    padding: 6rem 1.5rem;
    background: #f8fafc;
}

.apex-stories-testimonials__container {
    max-width: 1280px;
    margin: 0 auto;
}

.apex-stories-testimonials__header {
    text-align: center;
    margin-bottom: 3rem;
}

.apex-stories-testimonials__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);
    color: #f97316;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.apex-stories-testimonials__heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.apex-stories-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .apex-stories-testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.apex-stories-testimonials__item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.apex-stories-testimonials__quote {
    margin-bottom: 1rem;
}

.apex-stories-testimonials__quote svg {
    width: 32px;
    height: 32px;
    color: #f97316;
    opacity: 0.5;
}

.apex-stories-testimonials__item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.apex-stories-testimonials__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.apex-stories-testimonials__author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.apex-stories-testimonials__author strong {
    display: block;
    font-size: 0.9375rem;
    color: #0f172a;
}

.apex-stories-testimonials__author span {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Stories Impact */
.apex-stories-impact {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.apex-stories-impact__container {
    max-width: 1280px;
    margin: 0 auto;
}

.apex-stories-impact__header {
    text-align: center;
    margin-bottom: 3rem;
}

.apex-stories-impact__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(234, 88, 12, 0.2) 100%);
    color: #f97316;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.apex-stories-impact__heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.apex-stories-impact__description {
    font-size: 1.0625rem;
    color: #94a3b8;
    margin: 0 auto;
    max-width: 600px;
}

.apex-stories-impact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .apex-stories-impact__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.apex-stories-impact__item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.apex-stories-impact__value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.apex-stories-impact__label {
    font-size: 0.9375rem;
    color: #94a3b8;
}
