/* ============================================================
   Product Tour - Version B (Features at a Glance)
   Non-critical desktop styles for ticket #15361.
   Wrap pattern: padding: <Y>px calc((100% - 1300px)/ 2);
   ============================================================ */

/* ---------- Mid-page banner (Figma node 3746:10754 — full-bleed image, edge to edge) ---------- */
.productB__banner {
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: 0;
}

.productB__banner-link { display: block; width: 100%; }

.productB__banner-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
}

/* ---------- Why Families Choose AngelSense (Figma node 3746:10755) ---------- */
.productB__why {
    padding: 70px calc((100% - 1300px)/ 2);
    background-color: #ffffff;
    color: #292929;
}

.productB__why .wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Title + intro block — column, gap 30, centered */
.productB__why-title {
    font-family: 'Rubik', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    color: #32B4A6;
    text-align: center;
    margin: 0;
}

.productB__why-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.44;
    font-weight: 400;
    color: #292929;
    text-align: center;
    max-width: 666px;
}

/* Items — 2-col grid with 25px gap both axes */
.productB__why-list {
    list-style: none;
    margin: 0;
    margin-top: 50px;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* Item — row, the 40x40 check icon overlaps the card's left edge by -24px */
.productB__why-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.productB__why-check {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #32B4A6;
    background-image: url("/wp-content/themes/angelsense/images/check.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 28px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-right: -24px;
}

.productB__why-check img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Card */
.productB__why-text {
    flex: 1 1 auto;
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 20px 20px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 80px;
    justify-content: center;
}

.productB__why-item-title {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #292929;
    margin: 0;
}

.productB__why-item-text {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #292929;
}

/* ---------- Everyday Situations (Figma node 3752:5907) ---------- */
.productB__situations {
    padding: 70px calc((100% - 1300px)/ 2);
    background-color: #ffffff;
}

.productB__situations .wrap {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Title block — column, gap 30, centered */
.productB__situations-title {
    font-family: 'Rubik', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    color: #32B4A6;
    text-align: center;
    margin: 0;
}

.productB__situations-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.44;
    font-weight: 400;
    color: #292929;
    text-align: center;
    max-width: 812px;
}

/* Cards wrapper — row + wrap, 2 cards per row at 657w, gap 25 */
.productB__situations-grid {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 25px;
    justify-content: flex-start;
}

/* Each card — column, gap 30, fixed 657w (last wraps alone) */
.productB__situation {
    flex: 0 0 calc(50% - 12.5px);
    max-width: 657px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Image — 657x200, 10px radius, rgba(0,0,0,0.2) overlay, title overlaid white */
.productB__situation-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.productB__situation-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.productB__situation-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.productB__situation-title {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 0 30px 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

/* Bullet list — items separated by 1px bottom border (Figma midlight grey) */
.productB__situation-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.productB__situation-bullets li {
    position: relative;
    padding: 16px 0;
    margin: 0;
    border-bottom: 1px solid #E7E7E7;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #292929;
}

.productB__situation-bullets li:last-child {
    border-bottom: 0;
}

.productB__situation-bullets li:before { content: none; }
