/* ==========================================================================
   Page Section: Media Text (Left Content / Right Image)
   ========================================================================== */

.hw-media-text {
    background-color: #ffffff;
    position: relative;
}

/* Content Container & Spacing */
.hw-media-text .hw-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Eyebrow Badge */
.hw-media-text .badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-radius: 50rem;
    border-color: #e2e8f0 !important;
}

/* Headings & Typography */
.hw-media-text .hw-section-title {
    color: #1e293b;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hw-media-text .hw-section-description {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Action Buttons Container */
.hw-media-text .hw-section-buttons {
    margin-top: 0.5rem;
}

.hw-media-text .hw-section-buttons .btn {
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.hw-media-text .hw-section-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Image Wrapper & Responsiveness */
.hw-media-text .hw-image-wrap {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #f8fafc;
}

.hw-media-text .hw-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 440px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hw-media-text .hw-image-wrap:hover img {
    transform: scale(1.02);
}

/* Tablet & Mobile Adjustments */
@media (max-width: 991.98px) {
    .hw-media-text .hw-content-wrap {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    
    .hw-media-text .hw-section-title {
        font-size: 1.5rem;
    }

    .hw-media-text .hw-image-wrap img {
        max-height: 340px;
    }
}