/* =============================================
   QROPS Key Considerations Component
   ============================================= */

.qrops-key-considerations {
    padding: 50px 0;
}

/* ---- Header ---- */
.qrops-key-considerations__header {
    text-align: center;
    margin-bottom: 48px;
}

.qrops-key-considerations__title {
    font-size: 32px;
    font-weight: 700;
    color: #233253;
    margin-bottom: 7px;
    line-height: 1.3;
}

.qrops-key-considerations__desc {
    font-size: 16px;
    color: #666666;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

/* ---- Items (Desktop - vertical list) ---- */
.qrops-key-considerations__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qrops-key-considerations__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    text-align: left;
    padding-right: 0;
}
.qrops-key-considerations__item:not(:last-child)::after {
    display: none;
}

/* ---- Badge ---- */
.qrops-key-considerations__item-badge {
    flex-shrink: 0;
    width: 44px;
    height: 34px;
    min-width: 44px;
    min-height: 34px;
    background-color: #1C6190;
    border-radius: 8px;
    clip-path: polygon(0% 8%, 80% 8%, 100% 50%, 80% 92%, 0% 92%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
    margin-top: 2px;
}

.qrops-key-considerations__item-number {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* ---- Item body ---- */
.qrops-key-considerations__item-body {
    flex: 1;
    padding-top: 0;
    text-align: left;
}

.qrops-key-considerations__item-desc {
    font-size: 16px;
    color: #666666;
    line-height: 1.65;
    text-align: left;
    font-weight: 400;
}

.qrops-key-considerations__item-desc p {
    margin: 0;
    /* text-align: left; */
}

/* Read More button - hidden on desktop */
.qrops-key-considerations__read-more {
    display: none;
}

/* ======================
   MOBILE VIEW (<= 767px)
   ====================== */

@media (max-width: 767px) {
    .qrops-key-considerations {
        padding: 20px 0;
    }
    .qrops-key-considerations__header {
        margin-bottom: 13px;
    }

    .qrops-key-considerations__title {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .qrops-key-considerations__desc {
        font-size: 14px;
        color: #808080;
    }

    /* Stack items vertically */
    .qrops-key-considerations__items {
        flex-direction: column;
        gap: 25px;
    }

    .qrops-key-considerations__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
        gap: 11px;
    }

    /* Hide desktop arrow */
    .qrops-key-considerations__item:not(:last-child)::after {
        display: none;
    }

    /* Mobile badge - circle, left-aligned */
    .qrops-key-considerations__item-badge {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 50%;
        clip-path: none;
        margin: 0 auto;
        margin-top: 0;
    }

    .qrops-key-considerations__item-number {
        font-size: 20px;
    }

    /* Collapsed state */
    .qrops-key-considerations__item-desc {
        font-size: 14px;
        color: #808080;
        line-height: 1.6;
        max-height: 72px;
        overflow: hidden;
        transition: max-height 0.4s ease;
        text-align: center;
    }

    /* Expanded state: show all */
    .qrops-key-considerations__item.is-expanded .qrops-key-considerations__item-desc {
        max-height: 2000px;
        transition: max-height 0.6s ease;
        text-align: center;
    }

    /* Read More / Read Less link */
    .qrops-key-considerations__read-more {
        display: inline-block;
        color: #137AE2;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 6px;
        text-decoration: none;
        background: none;
        border: none;
        padding: 0;
        text-align: center;
        width: 100%;
    }

    .qrops-key-considerations__read-more:hover,
    .qrops-key-considerations__read-more:focus {
        color: #137AE2;
        outline: none;
    }

    .qrops-key-considerations__item-body {
        flex: 1;
        width: 100%;
        padding-top: 4px;
        text-align: center;
    }
}
