/* Base styles */
.rbcta-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-top: 4px solid #f37741;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #00354E;
    color: white;
    flex-wrap: wrap; /* Enable flex wrapping */
}

.rbcta-image-container {
    flex: 0 0 auto;
    margin-right: 20px;
}

.rbcta-image-container img {
    max-width: 250px;
    width: 100%; /* Make image responsive */
    height: auto;
}

.rbcta-text-container {
    flex: 1;
}

.rbcta-text-container h3,
.rbcta-text-container p {
    color: white;
}

.rbcta-text-container a {
    color: white;
    text-decoration: underline;
    text-decoration-color: #f37741;
}

/* Styles for screens 600px and below */
@media (max-width: 600px) {
    .rbcta-container {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the start */
    }
    .rbcta-image-container {
        margin-right: 0;
        margin-bottom: 20px; /* Add space below the image */
        width: 100%; /* Full width on mobile */
    }
    .rbcta-image-container img {
        max-width: none;
    }
}