
/* ADRESSOK — Modern SEO report */

.wr-report-page {
    --wr-report-ink: #102445;
    --wr-report-primary: #2563eb;
    --wr-report-line: #dfe8f6;
}

/* Hero */

.wr-report-page .wr-report-hero {
    margin: 12px 0 24px;
    padding: 30px;
    border: 1px solid #d6e4f8;
    border-radius: 20px;
    background:
        radial-gradient(circle at 95% 5%,
            rgba(59,130,246,.10),
            transparent 45%),
        linear-gradient(135deg,#fff,#f2f7ff);
    box-shadow: 0 12px 35px rgba(24,55,102,.06);
}

.wr-report-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.wr-report-eyebrow {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.wr-report-hero h1 {
    color: #102445;
    font-size: clamp(25px,3vw,37px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.04em;
    margin: 0;
}

.wr-report-hero h1 span {
    color: #2563eb;
    overflow-wrap: anywhere;
}

.wr-report-back {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

/* Main hero columns */

.wr-report-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 25px;
}

.wr-report-preview {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6f5;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(20,45,90,.08);
}

.wr-report-preview-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 14px;
    border-bottom: 1px solid #e6edf8;
    color: #7184a1;
    font-size: 12px;
    overflow: hidden;
}

.wr-report-preview-bar > span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wr-browser-dots {
    display: flex;
    gap: 5px;
    flex: 0 0 auto;
}

.wr-browser-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6e0ee;
}

.wr-browser-dots i:first-child {
    background: #ff9b94;
}

.wr-browser-dots i:nth-child(2) {
    background: #ffd475;
}

.wr-browser-dots i:nth-child(3) {
    background: #8edfb5;
}

.wr-report-preview-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f3f7fe;
    overflow: hidden;
}

.wr-report-preview-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* SEO Score */

.wr-report-score-panel {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid #dce6f5;
    border-radius: 14px;
}

.wr-report-score-label {
    color: #6a7f9f;
    font-size: 13px;
    font-weight: 700;
}

.wr-report-score-main {
    --score-color: #2563eb;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 25px 0;
}

.wr-report-score-high {
    --score-color: #18a76c;
}

.wr-report-score-medium {
    --score-color: #2563eb;
}

.wr-report-score-low {
    --score-color: #e06b42;
}

.wr-report-score-circle {
    display: grid;
    place-items: center;
    width: 145px;
    height: 145px;
    flex: 0 0 145px;
    border-radius: 50%;
    background: conic-gradient(
        var(--score-color)
        calc(var(--report-score) * 1%),
        #e5edf8 0
    );
}

.wr-report-score-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: #fff;
}

.wr-report-score-value strong {
    font-size: 46px;
    font-weight: 850;
    line-height: 1;
    color: #122849;
}

.wr-report-score-value span {
    color: #8292a8;
    font-size: 12px;
    margin-top: 6px;
}

.wr-report-score-summary {
    min-width: 0;
}

.wr-report-score-status {
    display: inline-block;
    color: var(--score-color);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 9px;
}

.wr-report-score-summary p {
    margin: 0;
    color: #71829a;
    line-height: 1.65;
    font-size: 13px;
}

.wr-report-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.wr-report-detail {
    padding: 13px;
    background: #f3f7ff;
    border-radius: 10px;
    min-width: 0;
}

.wr-report-detail span,
.wr-report-detail strong {
    display: block;
}

.wr-report-detail span {
    color: #7b8da5;
    font-size: 11px;
    margin-bottom: 6px;
}

.wr-report-detail strong {
    font-size: 13px;
    color: #203b61;
    overflow-wrap: anywhere;
}

.wr-report-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.wr-report-action-primary,
.wr-report-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none !important;
}

.wr-report-action-primary {
    background: #2563eb;
    color: #fff !important;
}

.wr-report-action-secondary {
    background: #edf4ff;
    color: #2563eb !important;
    border: 1px solid #d2e3ff;
}

/* Sticky navigation */

.wr-report-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 0 25px;
    padding: 7px;
    background: rgba(255,255,255,.96);
    border: 1px solid #dce6f5;
    border-radius: 13px;
    box-shadow: 0 6px 20px rgba(18,44,84,.06);
}

.wr-report-tabs-inner {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.wr-report-tabs a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 11px 13px;
    border-radius: 8px;
    color: #5e7393;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.wr-report-tabs a:hover,
.wr-report-tabs a:focus-visible {
    background: #eaf2ff;
    color: #2563eb;
}

.wr-report-page #site-overview,
.wr-report-page [id^="section_"] {
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 991px) {
    .wr-report-hero-grid {
        grid-template-columns: 1fr;
    }

    .wr-report-preview-image {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 575px) {
    .wr-report-page .wr-report-hero {
        padding: 18px;
    }

    .wr-report-hero-top {
        flex-direction: column;
    }

    .wr-report-score-main {
        gap: 14px;
    }

    .wr-report-score-circle {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }

    .wr-report-score-value {
        width: 88px;
        height: 88px;
    }

    .wr-report-score-value strong {
        font-size: 32px;
    }

    .wr-report-details {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
