/* =========================================
   BE Featured Box – layout & styling
   ========================================= */

.be-featured-box {
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    margin: 1.5rem 0;
    overflow: hidden;
}

/* Header strip */

.be-featured-box__header {
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 18px;
    line-height: 1.3;
}

/* Body – regular block layout, text wraps around floated icon */

.be-featured-box__body {
    padding: 18px 20px 20px;
    position: relative;
}

/* Clearfix so the container grows around the floated icon */
.be-featured-box__body::after {
    content: "";
    display: block;
    clear: both;
}

/* Icon on the left with text wrapping around its original size */

.be-featured-box__icon {
    float: left;
    margin: 2px 16px 6px 0;
    max-width: 80px;          /* controls icon width; text wraps around it */
}

.be-featured-box__icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* Text content */

.be-featured-box__content {
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Paragraph spacing inside content */

.be-featured-box__content p {
    margin: 0 0 0.75em;
}

.be-featured-box__content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Responsive tweaks
   ========================================= */

@media (max-width: 768px) {
    .be-featured-box__body {
        padding: 16px 16px 18px;
    }

    .be-featured-box__icon {
        max-width: 70px;
        margin-right: 14px;
    }

    .be-featured-box__content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .be-featured-box__icon {
        max-width: 60px;
        margin-right: 12px;
    }
}
