/* =====================================================
   HPA SINGLE REVIEW
===================================================== */

.hpa-single-review {
    background: #f7f7f3;
    color: #171717;
    font-family: inherit;
}

.hpa-review-container {
    width: 1320px;
    margin: 0 auto;
}


/* =====================================================
   HERO
===================================================== */

.hpa-review-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.hpa-review-hero-inner {
    position: relative;
    z-index: 2;

    min-height: 230px;

    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);

    align-items: center;
    gap: 35px;

    padding: 35px 45px;
}

.hpa-review-hero-background {
    position: absolute;
    z-index: 1;

    width: 420px;
    height: 260px;

    right: -80px;
    top: -20px;

    background:
        linear-gradient(135deg,
            transparent 35%,
            #f1f1ed 36%,
            #f1f1ed 48%,
            transparent 49%);

    opacity: .8;

    transform: rotate(-12deg);
}


/* =====================================================
   LOGO
===================================================== */

.hpa-review-logo-wrap {
    width: 210px;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid #e2e2e2;
    border-radius: 8px;

    overflow: hidden;
}

.hpa-review-logo {
    width: auto;
    max-width: 175px;

    height: auto;
    max-height: 105px;

    object-fit: contain;
}

.hpa-review-logo-placeholder {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 30px;
    font-weight: 700;
}


/* =====================================================
   HERO TEXT
===================================================== */

.hpa-review-category {
    margin-bottom: 7px;
    color: #420260;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: left;
    font-family: 'Manrope';
}

.hpa-review-title {
    margin: 0 0 5px;
    color: #141B2B;
    font-size: 70px;
    line-height: 1.15;
    font-weight: 700;
    height: auto;
    text-align: left;
}

.hpa-review-subtitle {
    margin-bottom: 9px;

    color: #666;

    font-size: 13px;
    line-height: 1.5;
}

.hpa-review-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    justify-content: left;
}

.hpa-stars {
    display: inline-flex;
    gap: 1px;
}

.hpa-star {
    color: #d7d7d7;
    font-size: 14px;
    line-height: 1;
}

.hpa-star.filled {
    color: #f2a900;
}

.hpa-review-intro {
    max-width: 680px;
    color: #3E4842;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'DM Sans';
}

/* =====================================================
   STATS BAR
===================================================== */


.hpa-stat-label {
    margin-bottom: 4px;
    color: #FFFFFFB2;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'DM Sans';
}

.hpa-stat {
    min-height: 62px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 8px 10px;

    border-right: 1px solid rgba(255, 255, 255, .12);

    text-align: center;
}

.hpa-stat:last-child {
    border-right: 0;
}



.hpa-stat strong {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    font-family: 'DM Sans';
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.hpa-review-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 285px;

    gap: 30px;

    padding: 35px 0;
}


/* =====================================================
   CONTENT
===================================================== */

.hpa-review-main {
    min-width: 0;
}

.hpa-review-section {
    margin-bottom: 34px;
}

.hpa-review-section h2 {
    margin: 0 0 12px;
    color: #141B2B;
    font-size: 35px;
    line-height: 1.25;
    font-weight: 700;
    font-family: 'Manrope';
}

.hpa-section-content {
    color: #444;

    font-size: 12px;
    line-height: 1.7;
}

.hpa-section-content p {
    margin: 0 0 10px;
    color: #3E4842;
    font-size: 16px;
    font-family: 'DM Sans';
}

.hpa-extra-content {
    color: #444;

    font-size: 13px;
    line-height: 1.7;
}

.hpa-extra-content img {
    max-width: 100%;
    height: auto;
}


/* =====================================================
   HOW IT WORKS
===================================================== */

.hpa-how-it-works {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hpa-step {
    display: grid;

    grid-template-columns: 27px 1fr;

    gap: 30px;

    align-items: start;
}

.hpa-step-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eee;
    color: #420260;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Manrope';
}

.hpa-step-content h3 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.3;
    font-family: 'Manrope';
    color: #141B2B;
}

.hpa-step-content p {
    margin: 0;
    color: #66706A;
    font-size: 16px;
    font-family: 'DM Sans';
    line-height: 1.6;
}


/* =====================================================
   OFFER CATEGORIES
===================================================== */

.hpa-offer-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.hpa-offer-card {
    min-height: 105px;

    padding: 15px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.hpa-offer-card h3 {
    margin: 0 0 7px;
    font-size: 22px;
    line-height: 1.3;
    font-family: 'Manrope';
    color: #141B2B;
}

.hpa-offer-card p {
    margin: 0;
    color: #66706A;
    font-size: 16px;
    font-family: 'DM Sans';
    line-height: 1.6;
}


/* =====================================================
   PAYOUT TABLE
===================================================== */

.hpa-payout-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hpa-payout-table {
    width: 100%;

    border-collapse: collapse;

    background: #fff;

    font-size: 10px;
}

.hpa-payout-table th {
    padding: 9px 10px;
    background: #f1f1ef;
    color: #141B2BCC;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    font-family: 'Manrope';
}

.hpa-payout-table td {
    padding: 9px 10px;
    border-top: 1px solid #eee;
    color: #141B2BB2;
    font-size: 14px;
    font-family: 'Manrope';
}

/* =====================================================
   PROS & CONS
===================================================== */

.hpa-pros-cons {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.hpa-pros,
.hpa-cons {
    padding: 18px;

    background: #fff;

    border-radius: 6px;
}

.hpa-pros {
    border-top: 3px solid #50a86b;
}

.hpa-cons {
    border-top: 3px solid #df6666;
}

.hpa-pros h3,
.hpa-cons h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #0F711A;
    font-family: 'DM Sans';
    text-transform: uppercase;
}

.hpa-pros ul,
.hpa-cons ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.hpa-pros li,
.hpa-cons li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 17px;
    color: #3E4842;
    font-size: 16px;
    font-family: 'DM Sans';
    line-height: 1.5;
}

.hpa-pros li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #3f9b5e;

    font-weight: 700;
}

.hpa-cons li::before {
    content: "×";

    position: absolute;
    left: 0;

    color: #d65353;

    font-weight: 700;
}


/* =====================================================
   SIDEBAR
===================================================== */

.hpa-review-sidebar {
    min-width: 0;
}

.hpa-quick-info {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
}

.hpa-quick-info h3 {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: 600;
    color: #420260;
    font-family: 'Manrope';
    text-transform: uppercase;
}

.hpa-info-row {
    display: flex;

    justify-content: space-between;
    gap: 10px;

    padding: 10px 0;

    border-top: 1px solid #eee;
}

.hpa-info-row span {
    color: #141B2BCC;
    font-size: 16px;
    font-family: 'DM Sans';
    font-weight: 400;
}

.hpa-info-row strong {
    color: #141B2B;
    font-size: 14px;
    text-align: right;
    font-family: 'Manrope';
}

.hpa-ready-join {
    background: #420260;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
}
.hpa-ready-join h4 {
    color: #FFF;
    font-family: 'Manrope';
    font-weight: 600;
}
.hpa-ready-join p{
    font-size: 16px;
    font-family: 'DM Sans';
    color: #FFFFFFB2;
}
.hpa-ready-join button {
    background: #FFF;
    border: 1px solid #FFF;
    color: #420260;
    font-size: 16px;
    font-family: 'DM Sans';
    border-radius: 6px;
}
.hpa-ready-join button:hover {
    background: #420260;
;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 16px;
    font-family: 'DM Sans';
}
/* =====================================================
   CTA
===================================================== */

.hpa-review-cta {
    margin-top: 15px;
    padding: 20px;

    background: #4b006d;

    color: #fff;

    border-radius: 5px;
}

.hpa-review-cta h3 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 17px;
}

.hpa-review-cta p {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, .85);

    font-size: 10px;
    line-height: 1.6;
}

.hpa-cta-button {
    display: flex;

    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;

    padding: 10px 15px;

    background: #fff;
    color: #4b006d !important;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none !important;
}

.hpa-cta-button:hover {
    opacity: .9;
}


/* =====================================================
   RELATED REVIEWS
===================================================== */

.hpa-related-reviews {
    padding: 40px 0 60px;

    border-top: 1px solid #ddd;
}

.hpa-related-reviews>h2 {
    margin: 0 0 22px;

    font-size: 20px;
}

.hpa-related-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.hpa-related-card {
    padding: 15px;

    background: #fff;

    border: 1px solid #e2e2e2;
    border-radius: 6px;

    text-align: center;

    transition: .2s ease;
}

.hpa-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .07);
}

.hpa-related-logo {
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
}

.hpa-related-logo img {
    max-width: 85px;
    max-height: 55px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.hpa-related-placeholder {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
}

.hpa-related-card h3 {
    min-height: 32px;

    margin: 0 0 8px;

    font-size: 11px;
    line-height: 1.45;
}

.hpa-related-rating {
    display: flex;

    justify-content: center;
    align-items: center;
    gap: 5px;

    margin-bottom: 12px;

    font-size: 9px;
}

.hpa-related-rating .hpa-star {
    font-size: 11px;
}

.hpa-related-button {
    color: #222 !important;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;
}

.hpa-review-stats {
    display: grid;
    justify-content: space-between;
    /* background: #141B2B; */
    grid-template-columns: repeat(5, 1fr);
    margin-top: 40px;
}

section.stats-review {
    background: #141b2b;
    margin-top: 30px;
    padding: 40px;
}

.hpasstate-heading {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-family: 'Manrope';
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

    .hpa-review-container {
        width: calc(100% - 30px);
    }

    .hpa-review-hero-inner {
        grid-template-columns: 180px 1fr;
        padding: 30px;
        gap: 25px;
    }

    .hpa-review-logo-wrap {
        width: 170px;
        height: 120px;
    }

    .hpa-review-title {
        font-size: 27px;
    }

    .hpa-review-layout {
        grid-template-columns:
            minmax(0, 1fr) 250px;

        gap: 25px;
    }

    .hpa-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .hpa-review-container {
        width: calc(100% - 24px);
    }

    .hpa-review-hero-inner {
        display: flex;
        flex-direction: column;

        padding: 25px 18px;

        text-align: center;
    }

    .hpa-review-logo-wrap {
        width: 150px;
        height: 100px;

        margin: 0 auto;
    }

    .hpa-review-logo {
        max-width: 125px;
        max-height: 75px;
    }

    .hpa-review-title {
        font-size: 25px;
    }

    .hpa-review-subtitle {
        font-size: 12px;
    }

    .hpa-review-rating {
        justify-content: center;
    }

    .hpa-review-intro {
        font-size: 11px;
    }

    .hpa-review-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpa-stat {
        min-height: 55px;
    }

    .hpa-stat:last-child {
        grid-column: span 2;
    }

    .hpa-review-layout {
        display: flex;
        flex-direction: column;

        padding-top: 25px;
    }

    .hpa-review-main,
    .hpa-review-sidebar {
        width: 100%;
    }

    .hpa-review-section h2 {
        font-size: 19px;
    }

    .hpa-section-content {
        font-size: 12px;
    }

    .hpa-offer-grid {
        grid-template-columns: 1fr;
    }

    .hpa-pros-cons {
        grid-template-columns: 1fr;
    }

    .hpa-review-sidebar {
        order: -1;
    }

    .hpa-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpa-related-card h3 {
        font-size: 10px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .hpa-review-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpa-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hpa-related-card {
        padding: 10px;
    }

}