/*
Theme Name: Sk Newsup Child
Theme URI: http://wp.seketel.net/sk-newsup-child
Description: Thème enfant du thème Newsup
Author: Seketel DEV
Template: newsup
Version: 1.0.0
*/

/* Import du style du thème parent */
@import url("../newsup/style.css");

.sk-ctc-bg h4 {
    font-size: 1.8rem;
    color: #037bfc !important
}

/* 
 * ==========================================
 * SK Decoration & Donation Styles
 * ==========================================
 */

/* Auto-Display Text Banner */
.donation-container {
    padding: 30px 15px;
    text-align: center;
    margin-bottom: 20px;
}

.donation-banner {
    background-image: url('images/donate_banner_1024.webp');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.donation-banner:hover {
    transform: translateY(-5px);
}

.donation-link {
    text-decoration: none !important;
    display: block;
}

.donation-banner h3 {
    color: #ccc;
    /* Dark text for readability on bg */
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.donation-banner p {
    color: #555;
    font-size: 18px;
    margin: 0;
}

/* 
 * ==========================================
 * Widget Background Image Styles
 * ==========================================
 */


.sk-donation-widget-img-container {
    text-align: center;
    margin: 15px 0;
    min-height: 200px;
}

.sk-widget-link {
    text-decoration: none !important;
    display: block;
}

.sk-donation-bg-wrapper {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    overflow: hidden;
    position: relative;

    /* Flexbox center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sk-donation-bg-wrapper:hover {
    transform: scale(1.02);
}

/* Sizing Rules */
.widget-img-short {
    width: 100% !important;
    aspect-ratio: 300/200;
    min-height: 200px;
}

.widget-img-long {
    max-width: 780px !important;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 780/195;
}

/* Inner Content Styles */
/* Inner Content Styles */
.sk-donation-inner-content {
    background: rgba(3, 123, 252, 0.4);
    /* Semi-transparent Blue Overlay everywhere */
    width: 100%;
    height: 100%;
    /* Fill the parent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Force text alignment */
    padding: 20px;
    box-sizing: border-box;
}

.sk-donation-overlay-title,
.sk-donation-inner-content h4 {
    color: #ffffff !important;
    /* Force White */
    font-size: 1.5rem;
    margin: 0 0 10px 0 !important;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    text-align: center !important;
    width: 100%;
}

.sk-donation-overlay-desc,
.sk-donation-inner-content p {
    color: #ffffff !important;
    /* Force White */
    font-size: 1rem;
    margin: 0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    text-align: center !important;
    width: 100%;
}