/* RB About Section — image + content + checklist */

.rb-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.rb-about--reverse .rb-about__media   { order: 2; }
.rb-about--reverse .rb-about__content { order: 1; }

/* ---------- Media ---------- */
.rb-about__media {
    position: relative;
}

.rb-about__image-wrap {
    position: relative;
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: var(--rb-shadow-lg);
    aspect-ratio: 4 / 5;
}

/* Absolute fill — bulletproofs against theme `img { height: auto }` rules */
.rb-about__image {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: var(--rb-transition);
}

.rb-about__media:hover .rb-about__image {
    transform: scale(1.05);
}

/* Glassmorphic mustard badge */
.rb-about__badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(242, 177, 55, 0.78);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: var(--rb-dark);
    padding: 16px 22px;
    border-radius: var(--rb-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 32px rgba(31, 27, 22, 0.20),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    line-height: 1;
    z-index: 2;
}

.rb-about__badge-line {
    font-family: var(--rb-font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
}

.rb-about__badge-value {
    font-family: var(--rb-font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-top: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Floating secondary image — tighter overlap with main image */
.rb-about__image-float {
    position: absolute;
    bottom: -28px;
    left: -28px;
    width: 200px;
    height: 200px;
    border-radius: var(--rb-radius-md);
    overflow: hidden;
    border: 6px solid var(--rb-light);
    box-shadow: var(--rb-shadow-lg);
    z-index: 2;
}

.rb-about__image-float img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* ---------- Content ---------- */
.rb-about__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rb-about__eyebrow {
    font-family: var(--rb-font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rb-primary) !important;
}

.rb-about__heading {
    font-family: var(--rb-font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--rb-dark) !important;
    margin: 0;
}

.rb-about__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--rb-muted);
    margin: 0;
}

.rb-about__checklist {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

.rb-about__checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.rb-about__check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--rb-accent);
    flex-shrink: 0;
    font-size: 18px;
}

.rb-about__check-icon svg,
.rb-about__check-icon i {
    width: 20px;
    height: 20px;
    font-size: 18px;
}

.rb-about__check-text {
    color: var(--rb-dark);
    font-weight: 500;
}

.rb-about__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 32px;
    background: var(--rb-primary);
    color: var(--rb-light) !important;
    font-family: var(--rb-font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--rb-radius-sm);
    text-decoration: none !important;
    transition: var(--rb-transition);
    box-shadow: 0 8px 20px rgba(164, 123, 82, 0.25);
}

.rb-about__btn:hover {
    background: var(--rb-accent) !important;
    color: var(--rb-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(242, 177, 55, 0.3);
}

.rb-about__btn svg {
    width: 18px;
    height: 18px;
    transition: var(--rb-transition-fast);
}

.rb-about__btn:hover svg {
    transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .rb-about { gap: 40px; }
    .rb-about__image-float { width: 150px; height: 150px; bottom: -20px; left: -20px; }
    .rb-about__badge { bottom: 16px; right: 16px; padding: 12px 18px; }
    .rb-about__badge-value { font-size: 26px; }
}

@media (max-width: 768px) {
    .rb-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rb-about--reverse .rb-about__media   { order: 1; }
    .rb-about--reverse .rb-about__content { order: 2; }
    .rb-about__image-float { display: none; }

    /* Center everything in the content column on mobile */
    .rb-about__content {
        text-align: center;
        align-items: center;
    }
    .rb-about__heading,
    .rb-about__desc,
    .rb-about__eyebrow {
        text-align: center;
    }

    /* Single-col checklist, kept readable but centered as a block */
    .rb-about__checklist {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .rb-about__checklist li {
        justify-content: flex-start;
    }

    /* Center the CTA button */
    .rb-about__btn {
        align-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-about *,
    .rb-about__image,
    .rb-about__btn { transition: none !important; transform: none !important; }
}
