
:root {
    --er-font: "Segoe UI", "Selawik", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --er-container: 1350px;

    --er-navy: #0b1f54;
    --er-slate: #324755;
    --er-text: #333333;
    --er-text-dark: #003333;
    --er-heading: #222222;
    --er-muted: #60708d;
    --er-muted-2: #6b757f;
    --er-meta: #7992a6;
    --er-blue: #3b83db;
    --er-blue-dark: #2661aa;
    --er-accent: #1d82c6;
    --er-star: #ffc43b;
    --er-yellow: #f9ae0e;
    --er-soft-bg: #ebf5ff;

    --er-gradient: linear-gradient(180deg, #0071bc 0%, #324755 100%);
    --er-shadow-soft: 0 0 10px rgba(4, 4, 4, 0.1);
}

/* ---------- Base ----------
   Resets use :where() so they have zero specificity and never override
   the component rules below. */
body {
    margin: 0;
}

.er-page,
.er-modal {
    font-family: var(--er-font);
    color: var(--er-text);
    -webkit-font-smoothing: antialiased;
}

:where(.er-page) *,
:where(.er-page) *::before,
:where(.er-page) *::after {
    box-sizing: border-box;
}

:where(.er-page) :where(h1, h2, h3, p, ul, ol, blockquote, figure) {
    margin: 0;
    padding: 0;
}

:where(.er-page) :where(ul, ol) {
    list-style: none;
}

:where(.er-page) :where(img) {
    display: block;
    max-width: 100%;
    height: auto;
}

:where(.er-page) :where(a) {
    text-decoration: none;
}

:where(.er-page) :where(button) {
    font: inherit;
    cursor: pointer;
}

:where(.er-page) :where(a, button, input):focus-visible {
    outline: 2px solid #25a7fe;
    outline-offset: 3px;
}

.er-container {
    width: min(var(--er-container), 100% - 32px);
    margin-inline: auto;
}

.er-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Shared typography ---------- */
.er-title {
    font-size: 38px;
    line-height: 46px;
    font-weight: 700;
    color: var(--er-navy);
}

.er-title--lg {
    font-size: 44px;
    line-height: 54px;
}

.er-title--center,
.er-lead--center {
    text-align: center;
}

.er-lead {
    margin-top: 12.1px;
    font-size: 16px;
    line-height: 24px;
    color: var(--er-muted);
}

.er-lead--center {
    max-width: 680px;
    margin: 26.6px auto 0;
}

.er-lead--narrow {
    max-width: 640px;
}

/* Line breaks that mirror the design's hard returns (desktop only) */
@media (max-width: 1100px) {
    .er-br {
        display: none;
    }
}

/* ---------- Shared buttons ---------- */
.er-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.er-btn--blue {
    width: 220px;
    height: 40px;
    padding-right: 1px;
    background-color: var(--er-blue);
    border-radius: 7px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.er-btn--blue:hover {
    background-color: #2a6fc4;
}

.er-btn--outline {
    width: 155px;
    height: 40px;
    background-color: transparent;
    border: 1px solid var(--er-blue);
    border-radius: 7px;
    font-size: 16px;
    font-weight: 700;
    color: var(--er-blue-dark);
}

.er-btn--outline:hover {
    background-color: #ffffff;
}

.er-btn--yellow {
    width: 194px;
    height: 48px;
    background-color: var(--er-yellow);
    border-radius: 24px;
    font-size: 17px;
    font-weight: 600;
    color: #283035;
}

.er-btn--yellow:hover {
    background-color: #ffbe2e;
    transform: translateY(-1px);
}

/* ---------- Avatars ---------- */
.er-avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    background-color: #d9e9fb;
    border-radius: 50%;
    font-size: 15px;
    line-height: 16px;
    font-weight: 700;
    color: var(--er-text);
}

.er-avatar--video {
    width: 45px;
    height: 45px;
    background-color: #e5eefe;
    font-size: 17px;
    font-weight: 600;
    color: var(--er-blue);
}

/* ==========================================================================
   1. Hero
   ========================================================================== */
.er-hero {
    padding: 115px 0 57px;
    background: var(--er-gradient);
    color: #ffffff;
}

.er-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 700px) auto;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
}

.er-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    padding-left: 3px;
    font-size: 14px;
    line-height: 20px;
}

.er-breadcrumb li + li::before {
    content: "›";
    margin: 0 7px;
}

.er-breadcrumb a {
    color: #ffffff;
}

.er-breadcrumb a:hover {
    text-decoration: underline;
}

.er-hero__title {
    max-width: 560px;
    margin-top: 19.4px;
    font-size: 54px;
    line-height: 60px;
    font-weight: 700;
    color: #ffffff;
}

.er-hero__text {
    max-width: 600px;
    margin-top: 34.8px;
    padding-left: 1px;
    font-size: 16px;
    line-height: 26px;
}

.er-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    margin-top: 40.1px;
    padding-left: 1px;
}

.er-hero__badges li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
}

/* Overall rating card */
.er-rating {
    width: 500px;
    max-width: 100%;
    min-height: 250px;
    margin: 63.8px 21.5px 0 0;
    padding: 24.6px 32px 20px 35.5px;
    background-color: #f5f9fd;
    border-radius: 15px;
    color: var(--er-slate);
}

.er-rating__title {
    font-size: 19px;
    line-height: 26px;
    font-weight: 600;
    color: var(--er-slate);
}

.er-rating__body {
    display: flex;
    align-items: flex-start;
    margin-top: 22.5px;
}

.er-rating__score {
    flex-shrink: 0;
    width: 118px;
}

.er-rating__value {
    margin-left: 3px;
    font-size: 54px;
    line-height: 60px;
    font-weight: 600;
}

.er-rating__max {
    margin-left: 2px;
    font-size: 24px;
    line-height: 1;
}

.er-rating__score img {
    margin-top: 11.4px;
}

.er-rating__note {
    margin-top: 17.7px;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
}

.er-rating__bars {
    position: relative;
    flex: 1;
    margin-left: 30px;
    padding: 2.6px 0 0 31px;
}

.er-rating__bars::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9.4px;
    width: 1px;
    height: 136px;
    background-color: #c6d6e6;
}

.er-rating__bars li {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 30px;
}

.er-rating__label {
    flex-shrink: 0;
    width: 50px;
}

.er-bar {
    position: relative;
    flex-shrink: 0;
    width: 162px;
    height: 8px;
    margin-top: 2px;
    background-color: #e4edf6;
    border-radius: 4px;
    overflow: hidden;
}

.er-bar__fill {
    position: absolute;
    inset: 0 auto 0 0;
    background-color: var(--er-star);
    border-radius: 4px;
}

/* Bar lengths as drawn in the design */
.er-bar__fill--5 { width: 85%; }
.er-bar__fill--4 { width: 13%; }
.er-bar__fill--3 { width: 1.4%; }
.er-bar__fill--2 { width: 1%; }
.er-bar__fill--1 { width: 0.1%; }

.er-rating__pct {
    margin-left: 10px;
}


/* ==========================================================================
   3. Customer reviews
   ========================================================================== */
.er-reviews {
    padding: 62.25px 0 57px;
    background-color: #fff;
}

.er-reviews__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.er-reviews__head .er-lead {
    padding-left: 2px;
}

.er-reviews__head .er-title {
    padding-left: 1px;
}

.er-search {
    position: relative;
    flex-shrink: 0;
    width: 210px;
    margin: 8.25px 5.6px 0 0;
}

.er-search img {
    position: absolute;
    left: 15.6px;
    top: 13.5px;
    pointer-events: none;
}

.er-search input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 39px;
    background-color: #ffffff;
    border: 1px solid #d9e7f5;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    color: var(--er-text);
    -webkit-appearance: none;
    appearance: none;
}

.er-search input::placeholder {
    color: #7c7c7c;
    opacity: 1;
}

.er-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27.1px;
    padding-left: 1px;
}

.er-filter {
    height: 38px;
    padding: 0 23px;
    background-color: #ffffff;
    border: 1px solid #dce9f5;
    border-radius: 19px;
    font-size: 14px;
    line-height: 20px;
    color: #383f4b;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.er-filter:hover {
    border-color: var(--er-blue);
    color: var(--er-blue);
}

.er-filter.is-active {
    background-color: var(--er-blue);
    border-color: var(--er-blue);
    color: #ffffff;
}

.er-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 425px));
    gap: 32px 31px;
    margin-top: 49.5px;
    padding-left: 4px;
}

.er-review {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 23px 23px 0 24px;
    background-color: #ffffff;
    border: 1px solid #ccdcec;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(26,91,212,.12);
    border: 1px solid #d9e7f5;
}
.er-review:hover {
    box-shadow: 0 16px 40px rgba(26,91,212,.12);
   transform: translateY(-3px);
}

.er-review[hidden] {
    display: none;
}

.er-review > img {
    margin-left: 1px;
}

.er-review__text {
    position: relative;
    margin-top: 22.8px;
    font-size: 14px;
    line-height: 20px;
    color: var(--er-text);
}

.er-review__text::before {
    content: "";
    position: absolute;
    left: 1px;
    top: -0.8px;
    width: 16px;
    height: 12px;
    background: url("../icons/quote.png") no-repeat;
}

.er-review__author {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 18px 0 18px 1px;
    border-top: 1px solid #ccdcec;
}

.er-review__person {
    flex: 1;
    min-width: 0;
    margin-left: 14px;
    font-size: 13px;
    line-height: 16px;
    color: var(--er-meta);
}
.er-review__source{
    font-size: 14px;
    margin-top: 10px;
}

.er-review__person strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--er-text);
}

.er-review__person span {
    display: block;
}

.er-verified {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    width: 82px;
    height: 24px;
    margin-left: 8px;
    padding-left: 13px;
    background-color: #e9f8ef;
    border-radius: 12px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    color: #1d8b49;
}

.er-verified::before {
    content: "";
    width: 10px;
    height: 8px;
    background: url("../icons/verified-check.png") no-repeat;
}

.er-reviews__empty {
    margin-top: 32px;
    text-align: center;
    color: var(--er-muted);
}

/* Pagination */
.er-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 23px;
    margin-top: 55px;
}

.er-pager[hidden] {
    display: none;
}

.er-pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.er-pager__btn--prev {
    margin-right: 1px;
    background-color: #f9fcfe;
    border: 1px solid #b7c3cd;
}

.er-pager__btn--next {
    background-color: #e6f2fc;
    border: 1px solid #4e7ab5;
}

.er-pager__btn:hover:not(:disabled) {
    background-color: #ffffff;
}

.er-pager__btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.er-pager__dots {
    display: flex;
    align-items: center;
    gap: 16px;
}

.er-pager__dot {
    width: 14px;
    height: 14px;
    padding: 0;
    background-color: transparent;
    border: 1px solid var(--er-meta);
    border-radius: 7px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.er-pager__dot.is-active {
    width: 44px;
    background-color: var(--er-blue);
    border-color: var(--er-blue);
}

/* ==========================================================================
   4. Stats band
   ========================================================================== */
.er-stats {
    background-color: #fff;
}

.er-stats__card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1265px, 100%);
    min-height: 90px;
    margin: 0 auto;
    padding: 0;
    background: linear-gradient(90deg, #EAF4FF, #F3F9FF);
    border-radius: 15px;
    transform: translateX(-3.5px);
    border: 1px solid #d9e7f5;
}

.er-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 16px 0 29px;
}

.er-stat + .er-stat {
    border-left: 1px solid #cfdde9;
}

.er-stat__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 7px;
}

.er-stat__icon--blue { background-color: #ebf2ff; }
.er-stat__icon--teal { background-color: #e0f7fa; }
.er-stat__icon--purple { background-color: #f3e8ff; }
.er-stat__icon--green { background-color: #dcfce7; }

.er-stat p {
    font-size: 13px;
    line-height: 18px;
    color: #899eb4;
}

.er-stat strong {
    display: block;
    margin-bottom: 1px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: var(--er-text-dark);
}

/* ==========================================================================
   5. What customers value
   ========================================================================== */
.er-value {
    padding: 70.8px 0 94px;
    background-color: #ffffff;
}

.er-value__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 59.6px;
    padding-left: 2px;
}

.er-value-card {
    min-height: 255px;
    padding: 26px 26px 28px;
    background-color: #ffffff;
    border: 1px solid #e1edf9;
    border-radius: 15px;
    box-shadow: 0 6px 24px rgba(25,62,102,.05);
  
}
.er-value-card:hover{
    box-shadow: 0 16px 40px rgba(26, 91, 212, .12);
    transform: translateY(-3px);
}

.er-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 7px;
}

.er-value-card__icon--blue { background-color: #edf3ff; }
.er-value-card__icon--purple { background-color: #f4eaff; }
.er-value-card__icon--green { background-color: #dffce9; }

.er-value-card h3 {
    margin-top: 16.95px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    color: var(--er-text-dark);
}

.er-value-card p {
    margin-top: 10.35px;
    font-size: 16px;
    line-height: 24px;
    color: var(--er-text-dark);
}

/* ==========================================================================
   6. See EdbMails in action
   ========================================================================== */
.er-action {
    background-color: #ffffff;
}

.er-action__box {
    display: grid;
    grid-template-columns: minmax(0, 768px) minmax(0, 1fr);
    gap: 52px;
    width: min(1343px, 100%);
    margin-left: 2px;
    padding: 80px 40px 83px 64px;
    background-color: var(--er-soft-bg);
    border-radius: 25px;
}
/* .er-action__frame img{
    border: 1px solid #a1a2a2;
} */
.er-action__frame {
    /* position: relative; */
    /* aspect-ratio: 742 / 510; */
    background-color: #ffffff;
    border: 1px solid #e1edf9;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 546px;
    width: 779px;
}

.er-action__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.er-action__content {
    margin-top: -4.5px;
}

.er-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 1px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--er-accent);
}

.er-eyebrow::before {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    background-color: var(--er-accent);
    border-radius: 50%;
}

.er-action__title {
    margin-top: 12.8px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--er-heading);
}

.er-action__text {
    max-width: 430px;
    margin-top: 11px;
    padding-left: 1px;
    font-size: 16px;
    line-height: 24px;
    color: var(--er-muted-2);
}

.er-action__list {
    display: grid;
    gap: 28px;
    margin-top: 28.7px;
}

.er-action__list h3 {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--er-heading);
}

.er-action__list h3::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 13px;
    height: 10px;
    background: url("../icons/check-feature.png") no-repeat;
}

.er-action__list p {
    max-width: 420px;
    margin-top: 2.9px;
    padding-left: 32px;
    font-size: 15px;
    line-height: 24px;
    color: var(--er-muted-2);
}

.er-action__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40.1px;
    padding-left: 1px;
}

/* ==========================================================================
   7. Customer video testimonials
   ========================================================================== */
.er-videos {
    padding-top: 89.25px;
    background-color: #ffffff;
}

.er-videos .er-title {
    padding-left: 3px;
}

.er-videos .er-lead {
    padding-left: 4px;
}

.er-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 425px));
    gap: 32px;
    margin-top: 51.9px;
    padding-left: 4.5px;
}

.er-video {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #ccdcec;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(25,62,102,.06);
}

.er-video:hover {
  box-shadow: 0 16px 40px rgba(26,91,212,.12);
  transform: translateY(-3px);
}
.er-video__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background-color: #216383;
    border: 0;
    overflow: hidden;
}

.er-video__thumb > img:first-child {
    width: 100%;
    aspect-ratio: 425 / 244;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.er-video__thumb:hover > img:first-child {
    transform: scale(1.03);
}

.er-video__tag {
    position: absolute;
    left: 21px;
    top: 17px;
    height: 29px;
    padding: 0 20px;
    background-color: rgba(84, 99, 126, 0.9);
    border-radius: 14.5px;
    font-size: 14px;
    line-height: 29px;
    color: #ffffff;
}

.er-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.er-video__thumb:hover .er-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.er-video__time {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 50px;
    height: 25px;
    background-color: rgba(16, 49, 68, 0.6);
    border-radius: 12.5px;
    font-size: 15px;
    line-height: 25px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

.er-video__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13.85px 24px 25px 23px;
}

.er-video__title {
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    color: var(--er-text-dark);
}

.er-video__author {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 24.55px;
}

.er-video__person {
    flex: 1;
    min-width: 0;
    margin-left: 13px;
    font-size: 13px;
    line-height: 22px;
    color: var(--er-meta);
}

.er-video__person strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--er-text);
}

.er-video__person span {
    display: block;
}

.er-video__stars {
    flex-shrink: 0;
    align-self: flex-end;
    margin: 0 0 3px 8px;
}

/* ==========================================================================
   8. Have you used EdbMails?
   ========================================================================== */
.er-write {
    padding: 85px 0 50px;
    background-color: #ffffff;
}

.er-write__box {
    position: relative;
    width: min(1340px, 100%);
    min-height: 235px;
    margin-left: 3px;
    padding: 36.8px 420px 40px 200px;
    background: var(--er-gradient);
    border-radius: 15px;
    color: #ffffff;
}

.er-write__pencil {
    position: absolute;
    left: 44px;
    top: 45px;
}

.er-write__title {
    font-size: 44px;
    line-height: 54px;
    font-weight: 700;
    color: #ffffff;
}

.er-write__text {
    margin-top: 15.65px;
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    color: #dedede;
}

.er-write__content .er-btn {
   margin-top: 25.55px;
}

.er-write__person {
    position: absolute;
    right: 99px;
    bottom: 0;
    width: auto;
    height: 300px;
    pointer-events: none;
}

/* ==========================================================================
   Video lightbox
   ========================================================================== */
.er-modal {
    width: min(960px, 100% - 32px);
    padding: 0;
    background: #000000;
    border: 0;
    border-radius: 12px;
    overflow: visible;
}

.er-modal::backdrop {
    background: rgba(5, 15, 30, 0.75);
}

.er-modal__frame {
    aspect-ratio: 16 / 9;
}

.er-modal__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.er-modal__close {
    position: absolute;
    right: -14px;
    top: -14px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 36px;
    color: var(--er-heading);
    cursor: pointer;
}

/* ==========================================================================
   Responsive – the desktop design is preserved at ≥ 1390px
   ========================================================================== */
@media (max-width: 1389px) {
    .er-rating {
        margin-right: 0;
    }

    .er-platforms__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
        padding: 0;
    }

    .er-platform {
        padding-left: 24px;
    }

    .er-platform__info {
        margin-left: 16px;
    }

    .er-reviews__grid,
    .er-videos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding-left: 0;
    }

    .er-value__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
        padding-left: 0;
    }

    .er-stats__card {
        transform: none;
    }

    .er-action__box {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
        gap: 40px;
        margin-left: 0;
        padding: 56px 40px;
    }

    .er-write__box {
        margin-left: 0;
        padding-right: 360px;
    }

    .er-write__person {
        right: 40px;
    }
    .er-action__frame{
        width: auto;
        background:none;
        border: none;
    }
}

@media (max-width: 1100px) {
    .er-hero__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .er-rating {
        margin-top: 8px;
    }

    .er-platforms__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .er-reviews__grid,
    .er-videos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .er-stats__card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .er-stat {
        min-height: 90px;
    }

    .er-stat:nth-child(3) {
        border-left: 0;
    }

    .er-stat:nth-child(n + 3) {
        border-top: 1px solid #cfdde9;
    }

    .er-value__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        margin-inline: auto;
    }

    .er-action__box {
        grid-template-columns: minmax(0, 1fr);
    }

    .er-action__content {
        margin-top: 0;
    }

    .er-write {
        padding-top: 160px;
    }

    .er-write__box {
        padding: 36px 300px 40px 180px;
    }

    .er-write__person {
        right: 16px;
        width: 240px;
    }
}

@media (max-width: 768px) {
    .er-title {
        font-size: 30px;
        line-height: 38px;
    }

    .er-title--lg,
    .er-write__title {
        font-size: 32px;
        line-height: 40px;
    }

    .er-hero {
        padding: 40px 0 48px;
    }

    .er-hero__title {
        font-size: 40px;
        line-height: 46px;
    }

    .er-hero__text {
        margin-top: 24px;
    }

    .er-hero__badges {
        margin-top: 28px;
    }

    .er-platforms {
        padding: 48px 0 56px;
    }

    .er-platforms__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .er-reviews {
        padding: 48px 0;
    }

    .er-reviews__head {
        flex-direction: column;
    }

    .er-search {
        width: 100%;
        margin: 0;
    }

    .er-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .er-filters::-webkit-scrollbar {
        display: none;
    }

    .er-reviews__grid,
    .er-videos__grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }

    .er-stats {
        padding: 48px 0;
    }

    .er-value {
        padding: 56px 0;
    }

    .er-action__box {
        padding: 32px 20px;
    }

    .er-videos {
        padding-top: 56px;
    }

    .er-write {
        padding: 120px 0 56px;
    }

    .er-write__box {
        padding: 140px 24px 0;
        text-align: center;
    }

    .er-write__pencil {
        left: 50%;
        top: 20px;
        width: 100px;
        transform: translateX(-50%);
    }

    .er-write__person {
        position: static;
        width: 220px;
        margin: 24px auto 0;
    }
}

@media (max-width: 480px) {
    .er-hero__title {
        font-size: 32px;
        line-height: 38px;
    }

    .er-rating {
        padding: 20px;
    }

    .er-rating__body {
        flex-direction: column;
        gap: 20px;
    }

    .er-rating__bars {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .er-rating__bars::before {
        display: none;
    }

    .er-bar {
        flex: 1;
        width: auto;
    }

    .er-platforms__grid,
    .er-stats__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .er-stat + .er-stat {
        border-left: 0;
        border-top: 1px solid #cfdde9;
    }

    .er-review__author {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .er-action__buttons .er-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .er-page *,
    .er-page *::before,
    .er-page *::after {
        transition: none !important;
    }
}


.platforms-wrap {
  background: linear-gradient(180deg, #EFF8FF, #E4F0FF) !important;
  border-bottom: 1px solid #d9e7f5;
  padding: 38px 0 44px;
}
.platforms-wrap h2 {
     font-size: 38px;
    line-height: 46px;
    font-weight: 700;
    color: var(--er-navy);
     }
.platforms-wrap p  { 
    margin: 12.1px 0 32.1px;
    font-size: 16px;
    line-height: 24px;
    color: var(--er-muted);
 }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.platform-card {
  background: #fff !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 28px rgba(41,91,143,.07);
  transition: transform .18s, box-shadow .18s;
  min-height: 195px;
}
.platform-card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(41,91,143,.12); }
.platform-logo {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #fff; flex-shrink: 0;
}
.platform-name  { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.2; }
.platform-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.platform-score { font-size: 24px; font-weight: 800; color: var(--navy); margin-top: 2px; }
.platform-count { font-size: 11.5px; color: var(--fg-muted); }
.platform-stars img{
    margin: 10px 0 5px;
}

.er-action__frame{
    position: relative;
}
.er-action__frame .er-video__play{
  position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.er-action__frame:hover .er-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}
.er-action__list li::before{
    content: "";
    display: block;
    width: 16px;
    height: 26px;
    background-image: url(/images/reviews/tick-check.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
}
.er-action__buttons .watch-video{
    color: #fff;
}

@media (max-width: 1440px) {
    .er-action__frame {
   min-width:300px;
   height: auto;
  }
}
@media (max-width: 1100px) {
 
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
 
}
@media (max-width: 760px) {
 
  .platform-grid { grid-template-columns: 1fr; }
  .er-action__frame {
   width: auto;
   height: auto;
  }
}
@media (max-width: 580px) {
    .platform-card {
        min-height: 175px;
    }
    .platform-stars img {
  margin: 20px 0 5px;
}
.platform-count{
    margin: 10px 0;
}
}

.er-pager__dots { flex-wrap: nowrap; }
.er-pager__dot { flex-shrink: 0; transition: width .2s ease, height .2s ease, opacity .2s ease; }
.er-pager__dot.is-edge { width: 9px; height: 9px; opacity: .7; }



.er-embed, .er-modal__frame{ position:relative; width:100%; aspect-ratio:16/9; }
.er-embed iframe, .er-modal__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.er-modal{ width:min(960px,92vw); padding:0; border:0; border-radius:16px; overflow:visible; background:#000; }
.er-modal::backdrop{ background:rgba(10,14,25,.78); }
.er-modal__close{
  position:absolute; top:-16px; right:-16px; width:40px; height:40px; border:0; border-radius:50%;
  background:#fff; color:#20232e; font-size:26px; line-height:1; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.35);
}
.er-modal__close:hover{ background:#6264A7; color:#fff; }
@media (max-width:767px){ .er-modal__close{ top:8px; right:8px; } }

/* 21.10.2026 */
.er-review__label{font-weight: 600;}
.er-reviews .er-review img{
    margin-bottom: 10px;
}
.mainheader.deeper .icon-down-dir:before  {
    background: 1 0 !important;
}
.platform-grid a{
    color: #000;
}