/* Csak az egyedi beszámolóoldalon töltődik be. A meglévő elrendezés megmarad. */
#main {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    /* Az adatlapok 1240px-es tartalomszélessége + a main két 10px-es belső margója. */
    max-width: 1260px;
    margin-inline: auto;
    justify-self: center;
}

#main > article,
#main > section {
    background: var(--profile-paper);
    color: var(--profile-ink);
    border-color: var(--profile-line);
    border-radius: 14px;
    box-shadow: 0 3px 12px var(--profile-shadow-card);
}

.beszamolo-seo-article > h1 {
    box-sizing: border-box;
    background: var(--profile-paper);
    color: var(--profile-ink);
    border-left: 4px solid var(--profile-accent);
    border-radius: 10px;
    line-height: 1.35;
    padding: 12px 14px;
    text-align: left;
}

.beszamolo-seo-summary {
    background: var(--profile-tint);
    color: var(--profile-ink);
    border: 1px solid var(--profile-line);
    border-radius: 14px;
    box-sizing: border-box;
    clear: both;
    margin: 8px 0 14px;
    padding: 12px 14px;
    text-align: left;
}

.beszamolo-seo-summary-lead {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 9px;
}

.beszamolo-seo-summary dl {
    display: grid;
    gap: 8px 18px;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    margin: 0;
}

.beszamolo-seo-summary dl > div {
    border-left: 3px solid var(--profile-soft-border);
    min-width: 0;
    padding-left: 8px;
}

.beszamolo-seo-summary dt {
    color: var(--profile-muted);
    font-size: 12px;
    font-weight: 700;
    opacity: 1;
    text-transform: uppercase;
}

.beszamolo-seo-summary dd {
    font-size: 16px;
    font-weight: 700;
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.beszamolo-seo-summary a {
    color: var(--profile-accent);
    text-decoration-thickness: 2px;
}

.beszamolo-seo-article .beszamolo-resz-cim {
    background: var(--profile-tint);
    color: var(--profile-ink) !important;
    border-bottom: 1px solid var(--profile-line);
    border-radius: 8px 8px 0 0;
    font-size: 17px;
    margin: 20px 0 6px;
    padding: 0 0 5px;
    text-align: left;
}

#main > section .doboz_cim {
    background: var(--profile-tint);
    color: var(--profile-ink) !important;
    border-color: var(--profile-line);
    border-radius: 8px;
}

.beszamolo-seo-article .besz-navigation {
    background: var(--profile-paper);
    border: 0;
    box-shadow: none;
}

.beszamolo-seo-article .besz-navigation.is-fixed {
    box-shadow: 0 3px 12px var(--profile-shadow-sticky);
}

.beszamolo-seo-article .besz-navigation a {
    background: var(--profile-accent);
    color: var(--profile-button-text) !important;
    border-color: var(--profile-accent);
    border-radius: 8px;
}

.beszamolo-seo-article .besz-navigation a[aria-current="page"] {
    background: var(--profile-accent-hover);
    border-color: var(--profile-accent-hover);
}

.beszamolo-seo-article .besz-navigation a:hover {
    background: var(--profile-accent-hover) !important;
    color: var(--profile-button-text) !important;
    border-color: var(--profile-accent-hover) !important;
}

#main > :is(article, section) :is(a.default, a.btn, a.green, button.default):not(.btn_besz_ertekeles):not(.mentesgomb):not(.megsegomb) {
    background: var(--profile-tint) !important;
    color: var(--profile-accent) !important;
    border-color: var(--profile-soft-border);
    border-radius: 9px;
    box-shadow: none;
    filter: none;
    text-decoration: none;
}

#main > :is(article, section) :is(a.default, a.btn, a.green, button.default):not(.btn_besz_ertekeles):not(.mentesgomb):not(.megsegomb):hover {
    background: var(--profile-soft-hover) !important;
    color: var(--profile-accent) !important;
    border-color: var(--profile-soft-hover-border) !important;
}

#main > section a.success-alap {
    background: var(--profile-accent) !important;
    color: var(--profile-button-text) !important;
    border-color: var(--profile-accent) !important;
    border-radius: 9px;
    box-shadow: none;
    filter: none;
    text-decoration: none;
}

#main > section a.success-alap:hover {
    background: var(--profile-accent-hover) !important;
    color: var(--profile-button-text) !important;
    border-color: var(--profile-accent-hover) !important;
}

#main > :is(article, section) :is(a, button, input, textarea):focus-visible {
    outline: 3px solid var(--profile-focus);
    outline-offset: 3px;
}

.beszamolo-seo-article .pontozas-pontozott,
.beszamolo-seo-article .beszq_cimke2,
#main > section .userbox_micro_uj {
    background: var(--profile-tint);
    color: var(--profile-ink);
    border-color: var(--profile-line);
    border-radius: 9px;
    box-shadow: none;
}

.beszamolo-seo-article > div:has(> button[aria-controls="beszamolo-rating-help"]) {
    border-radius: 10px;
}

.beszamolo-seo-article button[aria-controls="beszamolo-rating-help"] {
    box-shadow: none;
    filter: none;
}

#beszamolo-rating-help {
    background: var(--profile-paper) !important;
    color: var(--profile-ink) !important;
    border-color: var(--profile-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 36px var(--profile-shadow-sticky);
}

#beszamolo-rating-help h2 {
    background: var(--profile-tint);
    color: var(--profile-ink) !important;
}

#main > section hr,
#main .besz-comment-preview {
    border-color: var(--profile-line);
}

@media (max-width: 540px) {
    .beszamolo-seo-article > h1 { font-size: 17px; }
    .beszamolo-seo-summary { padding: 10px; }
    .beszamolo-seo-summary dl { grid-template-columns: 1fr; }
}
