/**
 * Cannachris Article Badges Styles
 * 
 * @package Cannachris
 * @since 2.7 - FINAL mit SVG-File
 */

/* Badge-Container */
.cannachris-article-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 999;
}

/* Basis-Badge-Styling - BEIDE Badges gleich */
.cannachris-ki-badge,
.cannachris-plus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #13890e;
    border: 2px solid #0d0d0d;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

/* KI-Badge - SVG-File referenzieren */
.cannachris-ki-badge::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/divi-child/assets/cannachris-icon-okai.svg');
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Plus-Badge Text */
.cannachris-plus-badge span {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    font-family: Comfortaa, sans-serif;
}

/* Hover-Effekte */
.cannachris-ki-badge:hover,
.cannachris-plus-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(19, 137, 14, 0.6);
    background: #13890e;
}

/* Active-State */
.cannachris-ki-badge:active,
.cannachris-plus-badge:active {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .cannachris-article-badges {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .cannachris-ki-badge,
    .cannachris-plus-badge {
        width: 28px;
        height: 28px;
    }
    
    .cannachris-ki-badge::before {
        width: 16px;
        height: 16px;
    }
    
    .cannachris-plus-badge span {
        font-size: 18px;
    }
}

/* Stripe Paywall */
.et_pb_post.post-password-required .entry-content {
    display: none;
}

.et_pb_post.post-password-required .cannachris-paywall-inline {
    display: block !important;
}