/* Stile per il Banner Casuale - Random Banner Shortcode */

.rb-banner-container {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 16px;
    gap: 24px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .rb-banner-container {
        flex-direction: row;
        padding: 24px;
        gap: 32px;
        align-items: stretch;
    }
}

.rb-banner-image {
    width: 100%;
    display: flex;
}

@media (min-width: 768px) {
    .rb-banner-image {
        width: 35%;
        flex-shrink: 0;
    }
}

.rb-banner-image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.rb-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .rb-banner-content {
        width: 65%;
    }
}

.rb-banner-title {
    font-size: 26px;
    font-weight: 800;
    color: #212135;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.rb-banner-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #212135;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.rb-banner-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555565;
    margin: 0 0 24px 0;
}

.rb-banner-text p {
    margin: 0 0 16px 0;
}

.rb-banner-text p:last-child {
    margin-bottom: 0;
}

.rb-banner-button {
    display: inline-block;
    background-color: #d3111f;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
}

.rb-banner-button:hover,
.rb-banner-button:focus {
    background-color: #a80e17;
    text-decoration: none;
    transform: translateY(-2px);
}