/* Floating Image Styles - More Specific */
.float-right.img-styled {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 400px !important;
    width: 400px !important;
}

.float-left.img-styled {
    float: left;
    margin: 0 30px 20px 0;
    max-width: 400px !important;
    width: 400px !important;
}

/* Image Styling - Rounded Corners and Shadow */
.img-styled {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}

/* Callout Box Styling */
.callout-box {
    background: #f9f9f9;
    border-left: 4px solid #8b1818;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.callout-box strong {
    color: #333;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Enhanced Heading Styles */
h2 {
    color: #8b1818;
    border-bottom: 3px solid #8b1818;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 25px;
}

h3 {
    color: #8b1818;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .float-right,
    .float-left {
        float: none;
        margin: 20px auto;
        display: block;
        text-align: center;
    }
    
    .img-styled {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .callout-box {
        margin: 20px 10px;
        padding: 15px 20px;
    }
}

@media screen and (max-width: 480px) {
    .callout-box {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    h3 {
        font-size: 1.25em;
    }
}