
/* ADRESSOK — modern homepage */

.wr-home {
    --wr-ink: #112341;
    --wr-blue: #2563eb;
    --wr-line: #e1e8f2;
    color: var(--wr-ink);
}

.wr-home a {
    text-decoration: none;
}

.wr-hero {
    margin: 12px 0 56px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 78% 25%,
            rgba(52,110,244,.3), transparent 44%),
        linear-gradient(125deg, #091a3a, #102c65 70%, #163d8f);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.wr-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 45px;
    align-items: center;
    padding: 64px 54px;
}

.wr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b8d3ff;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 700;
}

.wr-live-dot {
    width: 8px;
    height: 8px;
    background: #57e3c0;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(87,227,192,.1);
}

.wr-hero h1 {
    color: #fff;
    font-size: clamp(35px, 4.1vw, 58px);
    line-height: 1.09;
    font-weight: 800;
    letter-spacing: -.055em;
    margin: 25px 0 24px;
}

.wr-hero h1 span {
    display: block;
    color: #85b8ff;
}

.wr-hero-description {
    color: #b9c9e3;
    font-size: 16px;
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 28px;
}

.wr-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 20px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .2s, border-color .2s;
}

.wr-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.wr-button-primary {
    color: #fff !important;
    background: #3477f6;
}

.wr-button-primary:hover {
    background: #1d5fdf;
}

.wr-button-ghost {
    color: #fff !important;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.2);
}

.wr-button-ghost:hover {
    background: rgba(255,255,255,.14);
}

.wr-hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.wr-hero-tags span {
    font-size: 11px;
    color: #b5c8e7;
    border: 1px solid rgba(255,255,255,.12);
    padding: 6px 10px;
    border-radius: 30px;
}

/* Dashboard preview */

.wr-hero-visual {
    background: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(1,10,30,.32);
    transform: rotate(2deg);
}

.wr-preview-top {
    background: #f7faff;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    padding: 0 16px;
    font-size: 11px;
    color: #687993;
    border-bottom: 1px solid #e7edf7;
}

.wr-preview-dots {
    display: flex;
    gap: 4px;
}

.wr-preview-dots i {
    width: 7px;
    height: 7px;
    background: #d8e1ed;
    border-radius: 50%;
}

.wr-preview-dots i:first-child {
    background: #fb8c83;
}

.wr-preview-status {
    margin-left: auto;
    color: #2563eb;
    background: #eaf1ff;
    padding: 5px 9px;
    border-radius: 6px;
}

.wr-preview-body {
    padding: 22px;
}

.wr-preview-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wr-preview-small {
    font-size: 11px;
    color: #8491a6;
}

.wr-preview-title {
    font-size: 15px;
    font-weight: 800;
    color: #172b4c;
    margin-top: 5px;
}

.wr-preview-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #edf4ff;
    border-radius: 10px;
    color: #2563eb;
}

.wr-preview-chart {
    margin-top: 20px;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: #f7faff;
    border-radius: 9px;
}

.wr-chart-grid {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 36px,
        #e7edf6 37px
    );
}

.wr-preview-chart svg {
    position: relative;
    width: 100%;
    height: 100%;
}

.wr-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.wr-preview-metrics > div {
    padding: 11px 8px;
    background: #f6f9fe;
    border-radius: 8px;
}

.wr-preview-metrics span,
.wr-preview-metrics strong {
    display: block;
}

.wr-preview-metrics span {
    font-size: 10px;
    color: #8793a5;
}

.wr-preview-metrics strong {
    font-size: 12px;
    color: #20365a;
    margin-top: 4px;
}

.wr-preview-note {
    color: #97a3b5;
    font-size: 10px;
    margin-top: 12px;
    text-align: right;
}

/* Sections */

.wr-section {
    margin-bottom: 60px;
}

.wr-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.wr-section-eyebrow {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wr-section h2 {
    color: #112341;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.04em;
    margin: 0 0 8px;
}

.wr-section-head p {
    color: #748399;
    font-size: 14px;
    margin: 0;
}

.wr-section-link {
    color: #2563eb !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding-bottom: 5px;
}

/* Feature cards */

.wr-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.wr-feature {
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 15px;
    padding: 24px 20px;
    transition: transform .2s, box-shadow .2s;
}

.wr-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(25,54,102,.08);
}

.wr-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.wr-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ebf2ff;
    color: #2563eb;
    font-size: 26px;
}

.wr-feature-number {
    color: #c2cede;
    font-weight: 800;
    font-size: 12px;
}

.wr-feature h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.wr-feature p {
    color: #758399;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* Latest reviews: retain existing widget */

.wr-reviews-content .card {
    overflow: hidden;
    border-radius: 14px;
    transition: box-shadow .2s, transform .2s;
}

.wr-reviews-content .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(25,54,102,.08);
}

.wr-reviews-content .card img {
    max-width: 100%;
}

/* Categories */

.wr-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.wr-category-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    min-width: 0;
    transition: border-color .2s, transform .2s;
}

.wr-category-item:hover {
    border-color: #93b4f8;
    transform: translateY(-2px);
}

.wr-category-symbol {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #eff5ff;
    color: #2563eb;
    font-weight: 800;
}

.wr-category-text {
    flex: 1;
    min-width: 0;
}

.wr-category-text strong {
    display: block;
    color: #21395e;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.wr-category-text small {
    display: block;
    color: #8592a7;
    margin-top: 3px;
    font-size: 11px;
}

.wr-category-arrow {
    color: #a7b9d4;
}

.wr-category-footer {
    text-align: center;
    margin-top: 24px;
}

.wr-button-outline {
    background: #fff;
    color: #2563eb !important;
    border: 1px solid #d4e2fa;
}

/* Bottom CTA */

.wr-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 40px;
    margin-bottom: 48px;
    background: #e9f1ff;
    border: 1px solid #d6e5fd;
    border-radius: 17px;
}

.wr-bottom-cta h2 {
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px;
}

.wr-bottom-cta p {
    font-size: 14px;
    color: #617696;
    margin: 0;
}

.wr-button-light {
    background: #2563eb;
    color: #fff !important;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .wr-hero-grid {
        grid-template-columns: 1fr;
        padding: 42px 34px;
    }

    .wr-hero-visual {
        max-width: 600px;
        transform: none;
    }

    .wr-features {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .wr-category-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 575px) {
    .wr-hero {
        border-radius: 16px;
    }

    .wr-hero-grid {
        padding: 32px 22px;
        gap: 25px;
    }

    .wr-hero h1 {
        font-size: 36px;
    }

    .wr-hero-description {
        font-size: 14px;
    }

    .wr-hero-visual {
        display: none;
    }

    .wr-features,
    .wr-category-grid {
        grid-template-columns: 1fr;
    }

    .wr-section-head {
        display: block;
    }

    .wr-section-link {
        display: inline-block;
        margin-top: 14px;
    }

    .wr-bottom-cta {
        display: block;
        padding: 25px;
    }

    .wr-bottom-cta .wr-button {
        margin-top: 22px;
    }

    .wr-preview-metrics {
        gap: 4px;
    }
}

/* ADRESSOK homepage polish v2 */

.wr-home .wr-section {
    margin-bottom: 76px;
}

.wr-home .wr-section-head {
    margin-bottom: 30px;
}

.wr-home .wr-reviews-content .card {
    border: 1px solid #dce5f1;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(18,40,78,.055);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.wr-home .wr-reviews-content .card:hover {
    transform: translateY(-5px);
    border-color: #9cbdf7;
    box-shadow: 0 20px 42px rgba(18,40,78,.13);
}

.wr-home .wr-reviews-content .card .btn-primary {
    background: #225ff0;
    border-color: #225ff0;
    border-radius: 9px;
    font-weight: 700;
}

.wr-home .wr-category-item:hover {
    background: #f5f9ff;
    box-shadow: 0 8px 22px rgba(18,40,78,.065);
}

.wr-home .wr-bottom-cta {
    background: linear-gradient(
        110deg,
        #eaf3ff 0%,
        #dbe9ff 100%
    );
    border-color: #cadcf9;
}

@media (prefers-reduced-motion: reduce) {
    .wr-home .card,
    .wr-home .wr-feature,
    .wr-home .wr-category-item,
    .wr-home .wr-button {
        transition: none;
    }
}

/* =========================================
   ADRESSOK — Reviews Showcase v2
   Один крупный обзор + четыре компактных
   ========================================= */

.wr-home .wr-reviews-content > .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    align-items: stretch;
}

/* Отменяем ширину Bootstrap-колонок */
.wr-home .wr-reviews-content > .row > [class*="col-"] {
    flex: none;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    margin: 0 !important;
}

/* Крупный обзор */
.wr-home .wr-reviews-content > .row > :first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* На главной оставляем только пять */
.wr-home .wr-reviews-content > .row > :nth-child(n+6) {
    display: none !important;
}

/* Карточки */
.wr-home .wr-reviews-content .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dde6f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 38, 80, .045);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.wr-home .wr-reviews-content .card:hover {
    transform: translateY(-4px);
    border-color: #8fb6f7;
    box-shadow: 0 18px 40px rgba(15, 38, 80, .12);
}

/* Превью обычных обзоров */
.wr-home .wr-reviews-content .card img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    object-position: top;
}

/* Превью крупного обзора */
.wr-home .wr-reviews-content > .row > :first-child .card img {
    height: 300px;
}

/* Текст и кнопки внутри карточек */
.wr-home .wr-reviews-content .card-body {
    flex: 1;
}

.wr-home .wr-reviews-content .card-footer {
    background: #fff;
    border-top: 1px solid #e8edf5;
}

.wr-home .wr-reviews-content .card .btn {
    border-radius: 9px;
    font-size: 12px;
    padding: 8px 14px;
    font-weight: 700;
}

/* Выделяем первую карточку */
.wr-home .wr-reviews-content > .row > :first-child .card {
    border-color: #b8d0fa;
    box-shadow: 0 12px 38px rgba(30, 76, 154, .10);
}

.wr-home .wr-reviews-content > .row > :first-child .card::before {
    content: "В ФОКУСЕ";
    display: block;
    order: -1;
    background: #eff5ff;
    color: #245ed6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    padding: 11px 16px;
}

/* Планшеты */
@media (max-width: 991px) {
    .wr-home .wr-reviews-content > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wr-home .wr-reviews-content > .row > :first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 250px;
    }
}

/* Телефоны */
@media (max-width: 575px) {
    .wr-home .wr-reviews-content > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .wr-home .wr-reviews-content > .row > :first-child {
        grid-column: auto;
    }

    .wr-home .wr-reviews-content .card img,
    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wr-home .wr-reviews-content .card {
        transition: none;
    }
}

/* ========================================
   ADRESSOK — Homepage enhancements v3
   ======================================== */

/* Feature cards */

.wr-home .wr-features {
    align-items: stretch;
    gap: 18px;
}

.wr-home .wr-feature {
    min-height: 285px;
    padding: 26px 22px 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        150deg, #ffffff 55%, #f7faff 100%
    );
}

.wr-home .wr-feature-top {
    margin-bottom: 28px;
}

.wr-home .wr-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 29px;
    background: #e9f1ff;
}

.wr-home .wr-feature h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.wr-home .wr-feature p {
    font-size: 13px;
    line-height: 1.8;
}

.wr-feature-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 12px;
    margin-top: auto;
    background: #edf4ff;
    border-radius: 10px;
    color: #284b84;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

.wr-feature-extra-icon {
    font-size: 19px;
    color: #2563eb;
}

/* Reviews: don't stretch the featured card
   beyond its useful content */

.wr-home .wr-reviews-content > .row > :first-child .card {
    justify-content: flex-start;
}

.wr-home .wr-reviews-content > .row > :first-child .card img {
    height: 360px;
    object-fit: cover;
    object-position: top;
}

.wr-home .wr-reviews-content .card {
    background: #fff;
}

.wr-home .wr-reviews-content .card-footer {
    margin-top: auto;
}

/* Random websites */

.wr-random-refresh {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #cdddff;
    border-radius: 10px;
    background: #fff;
    padding: 10px 15px;
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.wr-random-refresh:hover {
    background: #eaf2ff;
}

.wr-random-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.wr-random-item {
    min-width: 0;
}

.wr-random-item .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #dee7f3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 22px rgba(15, 35, 75, .05);
    transition: transform .2s, box-shadow .2s;
}

.wr-random-item .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(15,35,75,.1);
}

.wr-random-item .card img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
}

.wr-random-item .card-body {
    flex: 1;
    padding: 12px;
    min-width: 0;
}

.wr-random-item .card-header,
.wr-random-item .card-footer {
    padding: 10px 12px;
    background: #fff;
}

.wr-random-item .card h3,
.wr-random-item .card h4,
.wr-random-item .card h5 {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.wr-random-item .card .btn {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 8px;
}

.wr-random-empty {
    border: 1px dashed #c8d8ef;
    border-radius: 12px;
    padding: 22px;
    color: #64748b;
    background: #f8fbff;
}

.wr-random-empty[hidden],
.wr-random-grid[hidden] {
    display: none !important;
}

/* Categories: larger and more expressive */

.wr-home .wr-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.wr-home .wr-category-item {
    min-height: 94px;
    padding: 19px;
    box-shadow: 0 5px 20px rgba(20,45,85,.035);
}

.wr-home .wr-category-symbol {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 21px;
    border-radius: 12px;
}

.wr-home .wr-category-text strong {
    font-size: 15px;
}

.wr-home .wr-category-text small {
    font-size: 12px;
    margin-top: 5px;
}

.wr-home .wr-category-arrow {
    font-size: 19px;
    color: #2563eb;
}

/* Editorial about section */

.wr-about {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 45px;
    padding: 42px;
    border: 1px solid #dce8fb;
    border-radius: 22px;
    margin: 40px 0 45px;
    background:
        radial-gradient(circle at 100% 0%,
            rgba(74,137,247,.11), transparent 48%),
        linear-gradient(130deg, #fff, #f2f7ff);
}

.wr-about h2 {
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.2;
    color: #102345;
    margin: 0 0 22px;
}

.wr-about h2 span {
    display: block;
    color: #2563eb;
}

.wr-about-main > p {
    color: #637692;
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 13px;
}

.wr-about-highlight {
    padding: 15px 18px;
    margin: 22px 0;
    color: #284a80;
    line-height: 1.7;
    font-size: 13px;
    border-left: 3px solid #2563eb;
    background: #eaf2ff;
    border-radius: 0 9px 9px 0;
}

.wr-about-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.wr-about-aside-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #2563eb;
    margin-bottom: 8px;
}

.wr-about-fact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e4ecf8;
    border-radius: 12px;
    background: rgba(255,255,255,.85);
}

.wr-about-fact-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #2563eb;
    background: #eaf2ff;
    border-radius: 11px;
    font-size: 23px;
}

.wr-about-fact strong {
    display: block;
    font-size: 14px;
    color: #163052;
    margin-bottom: 4px;
}

.wr-about-fact span {
    display: block;
    color: #74839a;
    font-size: 12px;
    line-height: 1.55;
}

/* Responsive */

@media (max-width: 991px) {
    .wr-random-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .wr-about {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px;
    }

    .wr-home .wr-category-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 575px) {
    .wr-home .wr-feature {
        min-height: 0;
    }

    .wr-random-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .wr-random-item .card img {
        height: 95px;
    }

    .wr-home .wr-category-grid {
        grid-template-columns: 1fr;
    }

    .wr-about {
        padding: 22px;
        border-radius: 16px;
    }

    .wr-random-section .wr-section-head {
        display: block;
    }

    .wr-random-refresh {
        margin-top: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wr-random-item .card {
        transition: none;
    }
}

/* ADRESSOK — light editorial intro */

.wr-home .wr-intro {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    min-height: 235px;
    gap: 25px;
    margin: 10px 0 8px;
    padding: 20px 0 15px;
    overflow: hidden;
}

.wr-home .wr-intro-copy {
    position: relative;
    z-index: 2;
}

.wr-home .wr-intro h1 {
    font-size: clamp(31px, 3.8vw, 47px);
    letter-spacing: -.055em;
    line-height: 1.12;
    font-weight: 850;
    margin: 12px 0 15px;
    color: #102345;
}

.wr-home .wr-intro p {
    max-width: 570px;
    color: #64799a;
    line-height: 1.75;
    font-size: 16px;
    margin: 0;
}

.wr-intro-art {
    position: relative;
    height: 220px;
    isolation: isolate;
}

.wr-art-orbit {
    position: absolute;
    border-radius: 50%;
    background: #dceaff;
    filter: blur(1px);
}

.wr-art-orbit-one {
    width: 220px;
    height: 220px;
    right: 8%;
    top: 0;
    opacity: .65;
}

.wr-art-orbit-two {
    width: 135px;
    height: 135px;
    right: 0;
    bottom: 0;
    opacity: .5;
}

.wr-art-window {
    position: absolute;
    z-index: 2;
    width: 76%;
    max-width: 365px;
    height: 180px;
    top: 18px;
    right: 8%;
    transform: rotate(-5deg);
    border: 1px solid #dbe7fb;
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 19px 45px rgba(31,87,174,.15);
    overflow: hidden;
}

.wr-art-window-head {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 33px;
    padding: 0 14px;
    border-bottom: 1px solid #eaf0fb;
    color: #abc2e7;
    font-size: 10px;
}

.wr-art-line {
    width: 70px;
    height: 5px;
    border-radius: 4px;
    background: #e2ebfc;
}

.wr-art-window-body {
    display: flex;
    gap: 15px;
    height: 145px;
    padding: 20px;
}

.wr-art-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 9px;
    width: 60%;
    padding: 8px;
    border-radius: 10px;
    background: #f6f9ff;
}

.wr-art-bar-chart i {
    flex: 1;
    min-width: 0;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(#7daeff,#286df2);
}

.wr-art-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
}

.wr-art-info span {
    height: 8px;
    border-radius: 5px;
    background: #e8f0fc;
}

.wr-art-info span:nth-child(2) {
    width: 70%;
}

.wr-art-info span:nth-child(3) {
    width: 85%;
}

.wr-art-info span:nth-child(4) {
    width: 55%;
}

.wr-art-note {
    position: absolute;
    z-index: 3;
    top: 40px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 17px;
    border: 1px solid #e0eafb;
    border-radius: 13px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 34px rgba(26,73,146,.12);
    transform: rotate(-7deg);
    font-size: 11px;
    font-weight: 650;
    color: #365a91;
}

.wr-art-note span::first-letter {
    color: #3477f6;
}

.wr-art-float {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 180px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid #e1eafa;
    border-radius: 10px;
    box-shadow: 0 9px 22px rgba(29,78,154,.1);
    color: #56739d;
    font-size: 10px;
    line-height: 1.4;
}

.wr-art-float-icon {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    color: #2563eb;
    background: #eaf2ff;
    font-size: 18px;
}

.wr-home .wr-features-section {
    margin-top: 5px;
}

.wr-home .wr-features-section .wr-section-head {
    display: none;
}

@media (max-width: 767px) {
    .wr-home .wr-intro {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px 0;
    }

    .wr-intro-art {
        height: 185px;
        max-width: 480px;
        width: 100%;
    }

    .wr-home .wr-intro h1 {
        font-size: 34px;
    }

    .wr-home .wr-intro p {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .wr-intro-art {
        height: 155px;
    }

    .wr-art-window {
        height: 145px;
    }

    .wr-art-window-body {
        height: 110px;
        padding: 12px;
    }

    .wr-art-note {
        padding: 10px;
        font-size: 9px;
    }

    .wr-art-float {
        display: none;
    }
}
/* Featured card: eliminate empty bottom space */

.wr-home .wr-reviews-content > .row > :first-child .card {
    display: flex;
    height: 100%;
}

.wr-home .wr-reviews-content > .row > :first-child .card img {
    height: 430px;
    object-fit: cover;
    object-position: top;
}

.wr-home .wr-reviews-content > .row > :first-child .card-body {
    flex: 0 0 auto;
}

.wr-home .wr-reviews-content > .row > :first-child .card-footer {
    margin-top: 0;
}

@media (max-width: 991px) {
    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 220px;
    }
}

/* ADRESSOK — light editorial intro */

.wr-home .wr-intro {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    min-height: 235px;
    gap: 25px;
    margin: 10px 0 8px;
    padding: 20px 0 15px;
    overflow: hidden;
}

.wr-home .wr-intro-copy {
    position: relative;
    z-index: 2;
}

.wr-home .wr-intro h1 {
    font-size: clamp(31px, 3.8vw, 47px);
    letter-spacing: -.055em;
    line-height: 1.12;
    font-weight: 850;
    margin: 12px 0 15px;
    color: #102345;
}

.wr-home .wr-intro p {
    max-width: 570px;
    color: #64799a;
    line-height: 1.75;
    font-size: 16px;
    margin: 0;
}

.wr-intro-art {
    position: relative;
    height: 220px;
    isolation: isolate;
}

.wr-art-orbit {
    position: absolute;
    border-radius: 50%;
    background: #dceaff;
    filter: blur(1px);
}

.wr-art-orbit-one {
    width: 220px;
    height: 220px;
    right: 8%;
    top: 0;
    opacity: .65;
}

.wr-art-orbit-two {
    width: 135px;
    height: 135px;
    right: 0;
    bottom: 0;
    opacity: .5;
}

.wr-art-window {
    position: absolute;
    z-index: 2;
    width: 76%;
    max-width: 365px;
    height: 180px;
    top: 18px;
    right: 8%;
    transform: rotate(-5deg);
    border: 1px solid #dbe7fb;
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 19px 45px rgba(31,87,174,.15);
    overflow: hidden;
}

.wr-art-window-head {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 33px;
    padding: 0 14px;
    border-bottom: 1px solid #eaf0fb;
    color: #abc2e7;
    font-size: 10px;
}

.wr-art-line {
    width: 70px;
    height: 5px;
    border-radius: 4px;
    background: #e2ebfc;
}

.wr-art-window-body {
    display: flex;
    gap: 15px;
    height: 145px;
    padding: 20px;
}

.wr-art-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 9px;
    width: 60%;
    padding: 8px;
    border-radius: 10px;
    background: #f6f9ff;
}

.wr-art-bar-chart i {
    flex: 1;
    min-width: 0;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(#7daeff,#286df2);
}

.wr-art-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
}

.wr-art-info span {
    height: 8px;
    border-radius: 5px;
    background: #e8f0fc;
}

.wr-art-info span:nth-child(2) {
    width: 70%;
}

.wr-art-info span:nth-child(3) {
    width: 85%;
}

.wr-art-info span:nth-child(4) {
    width: 55%;
}

.wr-art-note {
    position: absolute;
    z-index: 3;
    top: 40px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 17px;
    border: 1px solid #e0eafb;
    border-radius: 13px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 34px rgba(26,73,146,.12);
    transform: rotate(-7deg);
    font-size: 11px;
    font-weight: 650;
    color: #365a91;
}

.wr-art-note span::first-letter {
    color: #3477f6;
}

.wr-art-float {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 180px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid #e1eafa;
    border-radius: 10px;
    box-shadow: 0 9px 22px rgba(29,78,154,.1);
    color: #56739d;
    font-size: 10px;
    line-height: 1.4;
}

.wr-art-float-icon {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    color: #2563eb;
    background: #eaf2ff;
    font-size: 18px;
}

.wr-home .wr-features-section {
    margin-top: 5px;
}

.wr-home .wr-features-section .wr-section-head {
    display: none;
}

@media (max-width: 767px) {
    .wr-home .wr-intro {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px 0;
    }

    .wr-intro-art {
        height: 185px;
        max-width: 480px;
        width: 100%;
    }

    .wr-home .wr-intro h1 {
        font-size: 34px;
    }

    .wr-home .wr-intro p {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .wr-intro-art {
        height: 155px;
    }

    .wr-art-window {
        height: 145px;
    }

    .wr-art-window-body {
        height: 110px;
        padding: 12px;
    }

    .wr-art-note {
        padding: 10px;
        font-size: 9px;
    }

    .wr-art-float {
        display: none;
    }
}
/* Featured card: eliminate empty bottom space */

.wr-home .wr-reviews-content > .row > :first-child .card {
    display: flex;
    height: 100%;
}

.wr-home .wr-reviews-content > .row > :first-child .card img {
    height: 430px;
    object-fit: cover;
    object-position: top;
}

.wr-home .wr-reviews-content > .row > :first-child .card-body {
    flex: 0 0 auto;
}

.wr-home .wr-reviews-content > .row > :first-child .card-footer {
    margin-top: 0;
}

@media (max-width: 991px) {
    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .wr-home .wr-reviews-content > .row > :first-child .card img {
        height: 220px;
    }
}

/* ADRESSOK — native homepage cards v5 */

.wr-home .wr-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wr-home .wr-site-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f4;
    border-radius: 15px;
    box-shadow: 0 6px 22px rgba(22, 52, 101, .05);
    transition: transform .2s, box-shadow .2s;
}

.wr-home .wr-site-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(22, 52, 101, .12);
}

.wr-home .wr-site-card-featured {
    grid-column: span 2;
    grid-row: span 2;
    border-color: #bdd4ff;
}

.wr-site-featured-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #edf4ff;
    padding: 11px 15px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
}

.wr-site-featured-label span:last-child {
    color: #bf7512;
    background: #fff3da;
    border-radius: 20px;
    padding: 2px 9px;
}

.wr-site-card-heading {
    padding: 13px 15px;
    font-weight: 800;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.wr-site-card-featured .wr-site-card-heading {
    font-size: 20px;
}

.wr-site-card-heading a {
    color: #122746;
}

.wr-site-card-heading a span {
    color: #286df2;
    font-size: 13px;
}

.wr-site-card-image {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    background: #f1f5fb;
}

.wr-site-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.wr-site-card-featured .wr-site-card-image {
    flex: 1 1 auto;
    height: auto;
    min-height: 260px;
}

.wr-site-card-featured .wr-site-card-image img {
    position: absolute;
    inset: 0;
}

.wr-site-card-bottom {
    padding: 13px 15px 15px;
    margin-top: auto;
}

.wr-site-card-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #6b7c95;
    margin-bottom: 9px;
}

.wr-site-card-score strong {
    color: #15345e;
    font-size: 19px;
    white-space: nowrap;
}

.wr-site-card-score small {
    font-size: 11px;
    color: #8190a4;
}

.wr-site-score-track {
    height: 7px;
    background: #e3ecfa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.wr-site-score-track > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #65a3ff, #2563eb);
    border-radius: inherit;
}

.wr-site-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wr-site-card-tag {
    background: #edf4ff;
    color: #4b75b7;
    padding: 7px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
}

.wr-site-card-button {
    background: #2563eb;
    color: #fff !important;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.wr-site-card-button:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Random sites: a different card layout */

.wr-home .wr-random-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.wr-discover-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde7f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(20, 50, 100, .04);
}

.wr-discover-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5fb;
}

.wr-discover-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.wr-discover-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 13px;
    gap: 8px;
}

.wr-discover-title {
    color: #122746 !important;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.wr-discover-title span {
    color: #2563eb;
}

.wr-discover-body p {
    color: #7587a0;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.wr-discover-footer {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.wr-discover-score {
    color: #087e58;
    background: #d9f9ea;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 800;
}

.wr-discover-footer a {
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

/* Responsive */

@media (max-width: 991px) {
    .wr-home .wr-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .wr-home .wr-site-card-featured {
        grid-column: span 2;
        grid-row: auto;
    }

    .wr-site-card-featured .wr-site-card-image {
        height: 320px;
        flex: none;
    }

    .wr-home .wr-random-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .wr-home .wr-showcase-grid,
    .wr-home .wr-random-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .wr-home .wr-site-card-featured {
        grid-column: auto;
    }

    .wr-site-card-featured .wr-site-card-image {
        height: 230px;
    }

    .wr-site-card-image {
        height: 190px;
    }
}
/* Final homepage layout refinements */

@media (min-width: 1100px) {
    .wr-home .wr-intro {
        grid-template-columns: 1fr 1fr;
        min-height: 280px;
        margin-bottom: 14px;
    }

    .wr-home .wr-intro-art {
        height: 260px;
    }

    .wr-home .wr-art-window {
        max-width: 420px;
        height: 210px;
    }

    .wr-home .wr-art-window-body {
        height: 175px;
    }

    .wr-home .wr-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.wr-home .wr-site-card-actions {
    padding-top: 2px;
}

.wr-home .wr-site-card-tag {
    background: #eef4ff;
    color: #2861bd;
}

.wr-home .wr-discover-card {
    transition: transform .2s, box-shadow .2s;
}

.wr-home .wr-discover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(22,52,101,.12);
}
/* Homepage categories and tags v6 */

.wr-home .wr-category-all {
    background: linear-gradient(135deg, #eaf2ff, #dbe9ff);
    border-color: #c4d8ff;
}

.wr-home .wr-category-all .wr-category-symbol {
    background: #2563eb;
    color: #fff;
}

.wr-home .wr-category-all strong {
    color: #1756d6;
}

.wr-site-card-tags,
.wr-discover-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.wr-site-card-tag {
    white-space: normal;
    overflow-wrap: anywhere;
}

.wr-discover-tags span {
    font-size: 10px;
    font-weight: 700;
    padding: 5px 8px;
    background: #edf4ff;
    color: #2460bd;
    border-radius: 7px;
}

.wr-discover-description {
    min-height: 38px;
}

@media (max-width: 575px) {
    .wr-site-card-actions {
        flex-wrap: wrap;
    }

    .wr-site-card-tags {
        max-width: 100%;
    }
}