/* Main Widget Container */
.prp-widget {
    margin: 40px 0;
    clear: both;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Default variables if not provided via inline style */
    --prp-accent: #6366f1;
    --prp-bg: #ffffff;
    --prp-text: #1e293b;
}

.prp-widget-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: var(--prp-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prp-widget-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.prp-widget-image {
    width: 35%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.prp-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.prp-widget-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prp-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--prp-accent);
    margin-bottom: 12px;
}

.prp-title {
    margin: 0 0 15px 0 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

.prp-title a {
    color: var(--prp-text);
    text-decoration: none;
    box-shadow: none;
}

.prp-title a:hover {
    color: var(--prp-accent);
}

.prp-excerpt {
    font-size: 15px;
    color: var(--prp-text);
    opacity: 0.8;
    margin-bottom: 20px !important;
    line-height: 1.5;
}

.prp-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--prp-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.prp-btn .dashicons {
    font-size: 18px;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.prp-btn:hover {
    opacity: 0.8;
}

.prp-btn:hover .dashicons {
    transform: translateX(5px);
}

/* Style: Horizontal Card (Full Width) */
.prp-style-horizontal .prp-widget-inner {
    flex-direction: row;
}

.prp-style-horizontal .prp-widget-image {
    width: 250px;
    min-height: 150px;
}

/* Style: Minimalist */
.prp-style-minimalist .prp-widget-inner {
    border-radius: 8px;
    box-shadow: none;
    background: #f8fafc;
    border-left: 4px solid var(--prp-accent);
    padding: 0;
}

.prp-style-minimalist .prp-widget-content {
    padding: 20px 25px;
}

.prp-style-minimalist .prp-title {
    font-size: 18px !important;
    margin-bottom: 0 !important;
}

.prp-style-minimalist .prp-excerpt,
.prp-style-minimalist .prp-btn,
.prp-style-minimalist .prp-label {
    display: none;
}

/* Style: Banner */
.prp-style-banner .prp-widget-inner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    border-radius: 12px;
}

.prp-style-banner .prp-widget-image {
    width: 150px;
    min-height: 100px;
}

.prp-style-banner .prp-title a {
    color: white;
}

.prp-style-banner .prp-label {
    color: #fbbf24;
}

.prp-style-banner .prp-btn {
    background: #fbbf24;
    color: #78350f;
    padding: 8px 20px;
    border-radius: 30px;
    align-self: flex-start;
}

.prp-style-banner .prp-btn .dashicons {
    color: #78350f;
}

/* Responsive */
@media (max-width: 768px) {
    .prp-widget-inner, 
    .prp-style-horizontal .prp-widget-inner {
        flex-direction: column;
    }
    
    .prp-widget-image,
    .prp-style-horizontal .prp-widget-image {
        width: 100%;
        height: 200px;
    }
    
    .prp-widget-content {
        padding: 25px;
    }
    
    .prp-title {
        font-size: 18px !important;
    }
    
    .prp-style-banner .prp-widget-image {
        width: 100%;
        height: 120px;
    }
}
