/**
 * AEU Case Study Widget Styles
 */

/* Wrapper - Two Column Layout */
.aeu-case-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Main Content */
.aeu-case-content {
    flex: 1;
    min-width: 0;
}

.aeu-case-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.aeu-case-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.aeu-case-title {
    font-size: 32px;
    font-weight: 700;
    color: #2f3a3f;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.aeu-case-body {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
}

.aeu-case-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2f3a3f;
    margin: 35px 0 15px 0;
}

.aeu-case-body h2:first-child {
    margin-top: 0;
}

.aeu-case-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2f3a3f;
    margin: 30px 0 12px 0;
}

.aeu-case-body p {
    margin-bottom: 15px;
}

.aeu-case-body ul,
.aeu-case-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.aeu-case-body li {
    margin-bottom: 8px;
}

.aeu-case-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Sidebar */
.aeu-case-sidebar {
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-self: flex-start;
}

.aeu-case-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}

.admin-bar .aeu-case-sidebar-sticky {
    top: 152px;
}

/* Info Box */
.aeu-case-info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.aeu-case-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #2f3a3f;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff8300;
}

.aeu-case-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aeu-case-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.aeu-case-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aeu-case-info-item:first-child {
    padding-top: 0;
}

.aeu-case-info-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff8300;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.aeu-case-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aeu-case-info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.aeu-case-info-value {
    font-size: 15px;
    color: #2f3a3f;
    font-weight: 500;
}

/* Tags Box */
.aeu-case-tags-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.aeu-case-tags-title {
    font-size: 16px;
    font-weight: 600;
    color: #2f3a3f;
    margin: 0 0 15px 0;
}

.aeu-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aeu-case-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #ff8300;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.aeu-case-tag:hover {
    background: #e67600;
    transform: translateY(-2px);
}

/* CTA Box */
.aeu-case-cta-box {
    background: linear-gradient(135deg, #2f3a3f 0%, #495057 100%);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.aeu-case-cta-text {
    font-size: 15px;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.aeu-case-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff8300;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aeu-case-cta-btn:hover {
    background: #e67600;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 131, 0, 0.4);
}

/* Fix Elementor container overflow for sticky */
.elementor-widget-aeu_case_study,
.elementor-widget-aeu_case_study > .elementor-widget-container {
    overflow: visible !important;
}

/* =========================================
   Style 2 - Clean Lines
   ========================================= */

.aeu-case-style_2 .aeu-case-info-box-v2 {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

/* Title with bullet point */
.aeu-case-info-title-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #2f3a3f;
    margin: 0 0 25px 0;
}

.aeu-case-info-title-v2::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #ff8300;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Info Items - Clean style */
.aeu-case-info-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aeu-case-info-item-v2 {
    padding: 20px 0;
    position: relative;
}

.aeu-case-info-item-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff8300 0%, #ffc300 100%);
    border-radius: 2px;
}

.aeu-case-info-item-v2:last-child::after {
    display: none;
}

.aeu-case-info-item-v2:first-child {
    padding-top: 0;
}

.aeu-case-info-label-v2 {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.aeu-case-info-value-v2 {
    font-size: 16px;
    font-weight: 600;
    color: #2f3a3f;
    margin: 0;
    line-height: 1.5;
}

/* Social Share */
.aeu-case-share {
    padding-top: 25px;
    margin-top: 10px;
}

.aeu-case-share-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2f3a3f;
    margin-bottom: 15px;
}

.aeu-case-share-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aeu-case-share-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f3a3f;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aeu-case-share-icon:hover {
    background: #ff8300;
    color: #fff;
    transform: translateY(-3px);
}

/* CTA Button - Style 2 */
.aeu-case-cta-btn-v2 {
    display: block;
    width: 100%;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.aeu-case-cta-outline {
    background: transparent;
    border: 2px solid #ff8300;
    color: #ff8300;
}

.aeu-case-cta-outline:hover {
    background: #ff8300;
    color: #fff;
}

.aeu-case-cta-filled {
    background: #ff8300;
    border: 2px solid #ff8300;
    color: #fff;
}

.aeu-case-cta-filled:hover {
    background: #e67600;
    border-color: #e67600;
    color: #fff;
}

/* Style 2 Mobile */
@media (max-width: 991px) {
    .aeu-case-style_2 .aeu-case-sidebar {
        flex-direction: column;
    }

    .aeu-case-style_2 .aeu-case-sidebar > * {
        flex: 1 1 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .aeu-case-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .aeu-case-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        position: relative !important;
        top: 0 !important;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .aeu-case-sidebar > * {
        flex: 1 1 300px;
    }

    .aeu-case-title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .aeu-case-sidebar {
        flex-direction: column;
    }

    .aeu-case-sidebar > * {
        flex: 1 1 100%;
    }

    .aeu-case-title {
        font-size: 22px;
    }

    .aeu-case-body h2 {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .aeu-case-wrapper {
        display: block;
    }

    .aeu-case-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .aeu-case-cta-box {
        display: none;
    }
}
