/*
Theme Name: eRaceMotorBlog - GuCherry Child
Theme URI: https://www.eracemotorblog.it/
Description: Child theme di GuCherry Blog personalizzato per eRaceMotorBlog.it, con footer editoriale magazine.
Author: eRaceMotorBlog.it
Template: gucherry-blog
Version: 1.3.40
Text Domain: eracemotorblog-child
*/

:root {
    --erb-footer-bg: #101010;
    --erb-footer-bg-deep: #080808;
    --erb-footer-line: rgba(255,255,255,.12);
    --erb-footer-text: #b8b8b8;
    --erb-footer-white: #fff;
    --erb-footer-red: #e10600;
}

/* Footer editoriale eRaceMotorBlog */
.footer.erb-footer { background: var(--erb-footer-bg); color: var(--erb-footer-text); margin-top: 52px; }
.footer.erb-footer .footer-inner { background: transparent; }
.erb-footer a { color: var(--erb-footer-white); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
.erb-footer a:hover, .erb-footer a:focus { color: var(--erb-footer-red); }
.erb-footer .gc-container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.erb-footer-main { padding: 58px 0 46px; }
.erb-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.35fr; gap: 48px; align-items: start; }
.erb-footer-brand-logo { display: inline-block; margin-bottom: 20px; }
.erb-footer-brand-logo img { display: block; width: auto; max-width: 290px; max-height: 82px; object-fit: contain; }
.erb-footer-site-name { display: inline-block; color: #fff; font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.erb-footer-description { margin: 0 0 23px; max-width: 330px; font-size: 14px; line-height: 1.75; color: var(--erb-footer-text); }
.erb-footer-heading { margin: 0 0 20px; padding: 0 0 12px; color: #fff; font-family: inherit; font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; position: relative; }
.erb-footer-heading:after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--erb-footer-red); }
.erb-footer-menu, .erb-footer-menu ul, .erb-footer-topics-list { list-style: none; padding: 0; margin: 0; }
.erb-footer-menu li { margin: 0 0 11px; padding: 0; }
.erb-footer-menu li:last-child { margin-bottom: 0; }
.erb-footer-menu a { display: inline-block; color: #d5d5d5; font-size: 14px; line-height: 1.35; }
.erb-footer-social { display: flex; flex-wrap: wrap; gap: 9px; }
.erb-footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.erb-footer-social a:hover { border-color: var(--erb-footer-red); background: var(--erb-footer-red); color: #fff; }
.erb-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.erb-footer-latest { display: grid; gap: 17px; }
.erb-footer-post { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 13px; align-items: start; }
.erb-footer-post-thumb { display: block; overflow: hidden; background: #202020; aspect-ratio: 16/10; }
.erb-footer-post-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.erb-footer-post-thumb:hover img { transform: scale(1.035); }
.erb-footer-post-category { display: block; color: var(--erb-footer-red); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; margin: 1px 0 5px; }
.erb-footer-post-title { display: block; color: #fff; font-family: inherit; font-size: 13px; line-height: 1.35; font-weight: 700; }
.erb-footer-post-date { display: block; margin-top: 5px; color: #777; font-size: 10px; line-height: 1.2; text-transform: uppercase; }
.erb-footer-topics { border-top: 1px solid var(--erb-footer-line); border-bottom: 1px solid var(--erb-footer-line); padding: 18px 0; }
.erb-footer-topics-inner { display: flex; align-items: center; gap: 24px; }
.erb-footer-topics-label { flex: 0 0 auto; color: #fff; font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.erb-footer-topics-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.erb-footer-topics-list li { margin: 0; padding: 0; position: relative; }
.erb-footer-topics-list li:not(:last-child):after { content: "•"; color: #505050; position: absolute; right: -13px; top: 0; }
.erb-footer-topics-list a { color: #c7c7c7; font-size: 12px; font-weight: 700; }
.erb-footer-bottom { background: var(--erb-footer-bg-deep); padding: 19px 0; }
.erb-footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.erb-footer-copyright { margin: 0; color: #888; font-size: 12px; line-height: 1.5; }
.erb-footer-copyright strong { color: #d6d6d6; font-weight: 700; }
.erb-footer-legal ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 17px; list-style: none; margin: 0; padding: 0; }
.erb-footer-legal a { color: #aaa; font-size: 12px; }

/* Riporta il pulsante "torna in alto" sopra il nuovo footer senza interferire col layout. */
#gc-backtotop { z-index: 50; }

@media (max-width: 1050px) {
    .erb-footer-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 38px; }
    .erb-footer-col-latest { grid-column: 1 / -1; }
    .erb-footer-latest { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .footer.erb-footer { margin-top: 36px; }
    .erb-footer-main { padding: 42px 0 34px; }
    .erb-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 26px; }
    .erb-footer-col-brand, .erb-footer-col-latest { grid-column: 1 / -1; }
    .erb-footer-latest { grid-template-columns: 1fr; }
    .erb-footer-post { grid-template-columns: 105px minmax(0,1fr); max-width: 520px; }
    .erb-footer-topics-inner { display: block; }
    .erb-footer-topics-label { display: block; margin-bottom: 12px; }
    .erb-footer-bottom-row { display: block; }
    .erb-footer-legal ul { justify-content: flex-start; margin-top: 11px; }
}

@media (max-width: 480px) {
    .erb-footer .gc-container { padding-left: 18px; padding-right: 18px; }
    .erb-footer-grid { grid-template-columns: 1fr; }
    .erb-footer-col-brand, .erb-footer-col-latest { grid-column: auto; }
    .erb-footer-brand-logo img { max-width: 245px; }
    .erb-footer-topics-list { gap: 8px 17px; }
}

/* =========================================================
   Layout desktop + Sidebar editoriali contestuali eRaceMotorBlog.it
   ========================================================= */
:root {
    --erb-accent: #e10600;
    --erb-sidebar-text: #171717;
    --erb-sidebar-muted: #777;
    --erb-sidebar-line: #e7e7e7;
    --erb-layout-max: 1320px;
}

/* GuCherry usa .gc-container come contenitore principale. Su desktop ampio
   allarghiamo leggermente il magazine senza rendere troppo lunghe le righe. */
@media (min-width: 1200px) {
    .gc-container { max-width: var(--erb-layout-max) !important; }
    .erb-footer .gc-container { max-width: var(--erb-layout-max) !important; }
}

/* La sidebar viene stampata come figlia diretta della .row del tema padre. */
.erb-context-sidebar {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* Ogni widget ha respiro proprio: niente box compressi o altezze forzate. */
.erb-sidebar-widget {
    margin: 0 0 38px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible !important;
}

/* Override intenzionale delle regole GuCherry sui titoli widget: in alcune
   combinazioni il tema padre imposta overflow/height causando la scrollbar. */
.erb-context-sidebar .erb-widget-title,
.erb-context-sidebar .widget-title.erb-widget-title {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    margin: 0 0 20px !important;
    padding: 0 0 11px !important;
    color: var(--erb-sidebar-text);
    font-family: inherit;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.erb-context-sidebar .erb-widget-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--erb-accent);
}

.erb-widget-posts { display: block; }
.erb-widget-post {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--erb-sidebar-line);
}
.erb-widget-post:first-child { padding-top: 0; }
.erb-widget-post:last-child { border-bottom: 0; padding-bottom: 0; }

.erb-widget-thumb {
    display: block;
    width: 92px;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f1f1;
    border-radius: 3px;
}
.erb-widget-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}
.erb-widget-thumb:hover img { transform: scale(1.035); }
.erb-widget-post-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }

.erb-widget-category {
    display: inline-block;
    margin: 0 0 6px;
    color: var(--erb-accent) !important;
    font-size: 9px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none !important;
}
.erb-widget-post-title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--erb-sidebar-text) !important;
    font-size: 13.5px;
    line-height: 1.38;
    font-weight: 700;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}
.erb-widget-post-title:hover { color: var(--erb-accent) !important; }
.erb-widget-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    width: 100%;
    margin-top: 8px;
    color: var(--erb-sidebar-muted);
}
.erb-widget-date {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: var(--erb-sidebar-muted);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 500;
    text-transform: none;
}
.erb-widget-date:before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: #b8b8b8;
    flex: 0 0 4px;
}
.erb-widget-empty { margin: 0; color: var(--erb-sidebar-muted); font-size: 13px; }

/* Più letti: gerarchia distinta e più aria tra numero e titolo. */
.erb-widget-posts--numbered .erb-widget-post {
    grid-template-columns: 34px minmax(0,1fr);
    column-gap: 12px;
    padding: 15px 0;
}
.erb-widget-posts--numbered .erb-widget-post.erb-widget-post--has-thumb {
    grid-template-columns: 34px 78px minmax(0,1fr);
}
.erb-widget-posts--numbered .erb-widget-thumb { width: 78px; }
.erb-widget-rank {
    color: #cfcfcf;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.05em;
    padding-top: 1px;
}

.erb-sidebar-social { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.erb-sidebar-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--erb-sidebar-line);
    color: var(--erb-sidebar-text) !important;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color .18s ease, color .18s ease;
}
.erb-sidebar-social a:hover { border-color: var(--erb-accent); color: var(--erb-accent) !important; }
.erb-sidebar-social-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; }
.erb-sidebar-social svg { width: 16px; height: 16px; fill: currentColor; }
.erb-sidebar-ad { width: 100%; max-width: 100%; overflow: hidden; text-align: center; }
.erb-sidebar-ad img, .erb-sidebar-ad iframe { max-width: 100%; }

@media (max-width: 991px) {
    .erb-context-sidebar { margin-top: 38px; }
}

@media (max-width: 767px) {
    .erb-sidebar-widget { margin-bottom: 32px; }
    .erb-widget-post { grid-template-columns: 104px minmax(0,1fr); column-gap: 14px; padding: 15px 0; }
    .erb-widget-thumb { width: 104px; }
    .erb-widget-post-title { font-size: 14px; }
    .erb-sidebar-social { grid-template-columns: 1fr 1fr; }
}


/* Layout multipli per widget editoriali sidebar */
.erb-widget-posts--layout-horizontal .erb-widget-post {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
}
.erb-widget-posts--layout-horizontal .erb-widget-thumb {
    width: 92px;
    aspect-ratio: 16/10;
}

.erb-widget-posts--layout-card .erb-widget-post {
    display: block;
    padding: 0 0 18px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--erb-sidebar-line);
}
.erb-widget-posts--layout-card .erb-widget-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.erb-widget-posts--layout-card .erb-widget-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 11px;
    border-radius: 4px;
}
.erb-widget-posts--layout-card .erb-widget-post-body { display: block; }
.erb-widget-posts--layout-card .erb-widget-category { margin-bottom: 7px; font-size: 10px; }
.erb-widget-posts--layout-card .erb-widget-post-title { font-size: 17px; line-height: 1.34; font-weight: 800; }
.erb-widget-posts--layout-card .erb-widget-meta { margin-top: 9px; }

.erb-widget-posts--layout-minimal .erb-widget-post {
    display: block;
    padding: 0 0 14px;
    margin: 0 0 14px;
    border-bottom: 1px solid var(--erb-sidebar-line);
}
.erb-widget-posts--layout-minimal .erb-widget-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.erb-widget-posts--layout-minimal .erb-widget-post-body { display: block; }
.erb-widget-posts--layout-minimal .erb-widget-category { margin-bottom: 5px; }
.erb-widget-posts--layout-minimal .erb-widget-post-title { font-size: 15px; line-height: 1.4; font-weight: 750; }
.erb-widget-posts--layout-minimal .erb-widget-meta { margin-top: 7px; }

.erb-widget-posts--numbered.erb-widget-posts--layout-horizontal .erb-widget-post {
    grid-template-columns: 34px 92px minmax(0,1fr);
    column-gap: 12px;
}
.erb-widget-posts--numbered.erb-widget-posts--layout-horizontal .erb-widget-thumb { width: 92px; }
.erb-widget-posts--numbered.erb-widget-posts--layout-minimal .erb-widget-post {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    column-gap: 12px;
    align-items: start;
}
.erb-widget-posts--numbered.erb-widget-posts--layout-minimal .erb-widget-post-body { min-width: 0; }
.erb-widget-posts--numbered.erb-widget-posts--layout-card .erb-widget-post {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    column-gap: 12px;
    row-gap: 0;
}
.erb-widget-posts--numbered.erb-widget-posts--layout-card .erb-widget-thumb {
    grid-column: 1 / -1;
    width: 100%;
}
.erb-widget-posts--numbered.erb-widget-posts--layout-card .erb-widget-rank {
    margin-top: 2px;
}
.erb-widget-posts--numbered.erb-widget-posts--layout-card .erb-widget-post-body { min-width: 0; }

@media (max-width: 767px) {
    .erb-widget-posts--layout-horizontal .erb-widget-post {
        grid-template-columns: 104px minmax(0,1fr);
        column-gap: 14px;
    }
    .erb-widget-posts--layout-horizontal .erb-widget-thumb,
    .erb-widget-posts--numbered.erb-widget-posts--layout-horizontal .erb-widget-thumb { width: 104px; }
    .erb-widget-posts--layout-card .erb-widget-post-title { font-size: 16px; }
    .erb-widget-posts--layout-minimal .erb-widget-post-title { font-size: 14px; }
    .erb-widget-posts--numbered.erb-widget-posts--layout-horizontal .erb-widget-post {
        grid-template-columns: 28px 104px minmax(0,1fr);
    }
}


/* Google News: meta server-side articolo (v1.2.10) */
.single-post .gc-breadcrumb,
.single-post .single-page-entry > .entry-metas .posted-time {
    display: none;
}

.erb-news-server-meta {
    margin: 0 0 24px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}

.erb-news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
}

.erb-news-breadcrumb a {
    text-decoration: none;
}

.erb-news-breadcrumb-sep {
    opacity: .55;
}

.erb-news-published {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .78;
}

/* =========================================================
   Pagina autore editoriale - v1.3.0
   ========================================================= */
.erb-news-author-link { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(225,6,0,.35); }
.erb-news-author-link:hover { color: var(--erb-accent); border-bottom-color: var(--erb-accent); }
.erb-news-byline-sep { margin: 0 5px; opacity: .45; }

.erb-article-author-box { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 22px; align-items: start; margin: 44px 0 10px; padding: 26px; border-top: 3px solid var(--erb-accent); background: #f7f7f7; }
.erb-article-author-avatar { display:block; width:110px; height:110px; border-radius:50%; overflow:hidden; background:#e9e9e9; }
.erb-author-avatar-img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.erb-article-author-content { min-width:0; }
.erb-article-author-kicker { display:block; margin-bottom:4px; color:var(--erb-accent); font-size:10px; line-height:1.2; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.erb-article-author-content h3 { margin:0 0 3px; font-size:22px; line-height:1.2; }
.erb-article-author-content h3 a { color:#141414; text-decoration:none; }
.erb-article-author-content h3 a:hover { color:var(--erb-accent); }
.erb-article-author-role { margin:0 0 10px; color:#666; font-size:13px; font-weight:700; }
.erb-article-author-bio { margin:0 0 12px; color:#444; font-size:14px; line-height:1.6; }
.erb-author-profile-link { display:inline-block; margin-right:14px; color:var(--erb-accent); font-size:13px; font-weight:800; text-decoration:none; }
.erb-article-author-count { color:#777; font-size:12px; }

.erb-author-page { padding-top:38px; padding-bottom:60px; }
.erb-author-main { min-width:0; }
.erb-author-hero { display:grid; grid-template-columns:190px minmax(0,1fr); gap:34px; align-items:center; margin-bottom:42px; padding:36px; background:linear-gradient(135deg,#151515 0%,#262626 100%); color:#fff; border-bottom:4px solid var(--erb-accent); }
.erb-author-hero-avatar { width:190px; height:190px; border-radius:50%; overflow:hidden; border:5px solid rgba(255,255,255,.12); background:#333; }
.erb-author-hero-avatar .erb-author-avatar-img { width:100%; height:100%; object-fit:cover; }
.erb-author-eyebrow { margin:0 0 8px; color:#ef6b67; font-size:11px; line-height:1.2; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.erb-author-hero h1 { margin:0 0 6px; color:#fff; font-size:clamp(34px,5vw,52px); line-height:1.03; font-weight:900; }
.erb-author-role { margin:0 0 17px; color:#d0d0d0; font-size:15px; font-weight:700; }
.erb-author-intro { max-width:680px; margin:0 0 18px; color:#e5e5e5; font-size:16px; line-height:1.65; }
.erb-author-stats { display:inline-flex; align-items:baseline; gap:6px; margin-right:18px; color:#bbb; font-size:12px; }
.erb-author-stats strong { color:#fff; font-size:19px; }
.erb-author-socials { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.erb-author-social { display:inline-flex; align-items:center; min-height:32px; padding:6px 11px; border:1px solid rgba(255,255,255,.24); color:#fff!important; font-size:11px; font-weight:700; text-decoration:none!important; }
.erb-author-social:hover { border-color:#fff; background:#fff; color:#171717!important; }

.erb-author-about { margin:0 0 42px; padding:0 0 34px; border-bottom:1px solid #e7e7e7; }
.erb-author-about h2,.erb-author-articles h2 { margin:0 0 15px; color:#171717; font-size:26px; line-height:1.2; font-weight:900; }
.erb-author-about-text { color:#3c3c3c; font-size:15px; line-height:1.75; }
.erb-author-about-text p:last-child { margin-bottom:0; }
.erb-author-section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; padding-bottom:14px; border-bottom:2px solid #171717; }
.erb-author-section-kicker { display:block; margin-bottom:5px; color:var(--erb-accent); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.erb-author-section-heading h2 { margin:0; }
.erb-author-post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; }
.erb-author-post-card { margin:0; background:#fff; border-bottom:1px solid #ddd; padding-bottom:22px; }
.erb-author-post-thumb { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:#eee; margin-bottom:16px; }
.erb-author-post-thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.erb-author-post-thumb:hover img { transform:scale(1.025); }
.erb-author-post-category { display:inline-block; margin-bottom:7px; color:var(--erb-accent)!important; font-size:10px; line-height:1.2; font-weight:800; letter-spacing:.05em; text-transform:uppercase; text-decoration:none!important; }
.erb-author-post-card h3 { margin:0 0 8px; font-size:20px; line-height:1.3; font-weight:800; }
.erb-author-post-card h3 a { color:#171717; text-decoration:none; }
.erb-author-post-card h3 a:hover { color:var(--erb-accent); }
.erb-author-post-date { margin:0 0 11px; color:#888; font-size:11px; }
.erb-author-post-excerpt { margin:0 0 12px; color:#555; font-size:13.5px; line-height:1.6; }
.erb-author-post-more { color:#171717!important; font-size:12px; font-weight:800; text-decoration:none!important; }
.erb-author-post-more:hover { color:var(--erb-accent)!important; }
.erb-author-pagination { margin-top:36px; }
.erb-author-pagination .page-numbers { display:flex; flex-wrap:wrap; gap:7px; list-style:none; margin:0; padding:0; }
.erb-author-pagination a,.erb-author-pagination span { display:flex; min-width:36px; height:36px; padding:0 10px; align-items:center; justify-content:center; border:1px solid #ddd; color:#222; text-decoration:none; font-size:12px; font-weight:700; }
.erb-author-pagination .current,.erb-author-pagination a:hover { border-color:var(--erb-accent); background:var(--erb-accent); color:#fff; }
.erb-author-empty { padding:25px; background:#f7f7f7; }

@media (max-width: 760px) {
    .erb-article-author-box { grid-template-columns:78px minmax(0,1fr); gap:16px; padding:20px; }
    .erb-article-author-avatar { width:78px; height:78px; }
    .erb-author-page { padding-top:22px; }
    .erb-author-hero { grid-template-columns:1fr; gap:20px; padding:26px 22px; text-align:center; }
    .erb-author-hero-avatar { width:140px; height:140px; margin:0 auto; }
    .erb-author-intro { margin-left:auto; margin-right:auto; }
    .erb-author-socials { justify-content:center; }
    .erb-author-post-grid { grid-template-columns:1fr; gap:26px; }
}


/* v1.3.1 - riuso del box autore nativo GuCherry nella posizione editoriale */
.erb-author-native-target{display:none!important;}
.erb-native-author-box{margin-top:34px!important;margin-bottom:28px!important;}
.erb-native-author-box a{ text-decoration:none; }
.erb-native-author-box .erb-native-author-name-link{color:inherit;}
.erb-native-author-box .erb-native-author-name-link:hover{color:var(--erb-accent);}
.erb-native-author-profile{margin:10px 0 0;}
.erb-native-author-profile a{color:var(--erb-accent)!important;font-weight:700;}


/* =========================================================
   v1.3.3 - Archivio autore coerente con ricerca/archivi
   ========================================================= */
.erb-author-archive-page{padding-top:34px;padding-bottom:56px;}
.erb-author-archive-header{display:grid;grid-template-columns:128px minmax(0,1fr);gap:24px;align-items:center;margin:0 0 34px;padding:24px 0 26px;border-top:3px solid var(--erb-accent);border-bottom:1px solid #e6e6e6;background:#fff;}
.erb-author-archive-avatar{width:128px;height:128px;overflow:hidden;background:#ededed;}
.erb-author-archive-avatar .erb-author-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;}
.erb-author-archive-info{min-width:0;}
.erb-author-archive-kicker{display:block;margin:0 0 5px;color:var(--erb-accent);font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.09em;text-transform:uppercase;}
.erb-author-archive-header h1{margin:0 0 5px;color:#171717;font-size:34px;line-height:1.12;font-weight:800;}
.erb-author-archive-role{margin:0 0 9px;color:#666;font-size:13px;line-height:1.4;font-weight:700;}
.erb-author-archive-bio{max-width:680px;color:#494949;font-size:14px;line-height:1.65;}
.erb-author-archive-bio p{margin:0;}
.erb-author-archive-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:12px;color:#777;font-size:12px;}
.erb-author-archive-meta strong{color:#202020;font-size:13px;}
.erb-author-archive-socials{display:flex;flex-wrap:wrap;gap:7px;}
.erb-author-archive-socials .erb-author-social{min-height:28px;padding:4px 9px;border:1px solid #ddd;color:#333!important;background:#fff;font-size:10px;}
.erb-author-archive-socials .erb-author-social:hover{border-color:var(--erb-accent);background:var(--erb-accent);color:#fff!important;}

.erb-author-about-archive{margin:0 0 32px;padding:0 0 28px;border-bottom:1px solid #e6e6e6;}
.erb-author-about-archive h2{margin:0 0 11px;font-size:21px;line-height:1.25;}

.erb-author-results-heading{margin:0 0 22px;padding:0 0 13px;border-bottom:2px solid #191919;}
.erb-author-results-heading h2{margin:0;color:#171717;font-size:25px;line-height:1.2;font-weight:800;}
.erb-author-post-list{display:block;}
.erb-author-post-row{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;margin:0;padding:0 0 24px;border-bottom:1px solid #e5e5e5;}
.erb-author-post-row + .erb-author-post-row{padding-top:24px;}
.erb-author-post-row-thumb{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#eee;}
.erb-author-post-row-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease;}
.erb-author-post-row-thumb:hover img{transform:scale(1.025);}
.erb-author-post-row-content{min-width:0;padding-top:1px;}
.erb-author-post-row .erb-author-post-category{margin-bottom:6px;}
.erb-author-post-row h3{margin:0 0 7px;font-size:22px;line-height:1.28;font-weight:800;}
.erb-author-post-row h3 a{color:#171717;text-decoration:none;}
.erb-author-post-row h3 a:hover{color:var(--erb-accent);}
.erb-author-post-row .erb-author-post-date{margin:0 0 9px;}
.erb-author-post-row .erb-author-post-excerpt{margin:0 0 10px;color:#555;font-size:13px;line-height:1.6;}
.erb-author-post-row .erb-author-post-more{font-size:11px;}

@media (max-width: 760px){
    .erb-author-archive-page{padding-top:22px;}
    .erb-author-archive-header{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:18px 0 20px;align-items:start;}
    .erb-author-archive-avatar{width:88px;height:88px;}
    .erb-author-archive-header h1{font-size:27px;}
    .erb-author-archive-bio{grid-column:1/-1;}
    .erb-author-post-row{grid-template-columns:1fr;gap:14px;padding-bottom:22px;}
    .erb-author-post-row + .erb-author-post-row{padding-top:22px;}
    .erb-author-post-row h3{font-size:20px;}
}

/* =========================================================
   v1.3.5 - Pagina autore: profilo compatto + loop nativo GuCherry
   La lista articoli non viene ristilizzata: usa il template della ricerca/archivio.
   ========================================================= */
.erb-author-native-archive{padding-top:34px;padding-bottom:56px;}
.erb-author-native-profile{display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px;align-items:start;margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #e7e7e7;}
.erb-author-native-avatar{width:96px;height:96px;overflow:hidden;background:#eee;}
.erb-author-native-avatar img,.erb-author-native-avatar .erb-author-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;}
.erb-author-native-info{min-width:0;}
.erb-author-native-label{display:block;margin:0 0 5px;color:var(--erb-accent);font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.075em;text-transform:uppercase;}
.erb-author-native-profile h1{margin:0 0 5px;color:#171717;font-size:30px;line-height:1.15;font-weight:800;}
.erb-author-native-role{margin:0 0 7px;color:#666;font-size:13px;line-height:1.4;font-weight:700;}
.erb-author-native-bio{max-width:680px;color:#4b4b4b;font-size:13px;line-height:1.65;}
.erb-author-native-bio p{margin:0;}
.erb-author-native-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px;color:#777;font-size:11px;}
.erb-author-native-meta strong{color:#222;font-size:12px;}
.erb-author-native-socials{display:flex;flex-wrap:wrap;gap:6px;}
.erb-author-native-socials .erb-author-social{min-height:26px;padding:3px 8px;border:1px solid #ddd;background:#fff;color:#333!important;font-size:10px;}
.erb-author-native-socials .erb-author-social:hover{border-color:var(--erb-accent);background:var(--erb-accent);color:#fff!important;}
.erb-author-native-longbio{margin:-8px 0 28px;padding:0 0 24px;border-bottom:1px solid #e7e7e7;color:#444;font-size:13px;line-height:1.7;}
.erb-author-native-longbio p:last-child{margin-bottom:0;}
.erb-author-native-results-title{margin:0 0 24px;padding:0 0 12px;border-bottom:2px solid #171717;}
.erb-author-native-results-title .page-title{margin:0;color:#171717;font-size:26px;line-height:1.2;font-weight:800;}

/* Rimuove ogni influenza del vecchio layout custom dalla lista articoli. */
.erb-author-native-loop .erb-author-post-row,
.erb-author-native-loop .erb-author-post-card{all:unset;}

@media (max-width:767px){
    .erb-author-native-archive{padding-top:22px;}
    .erb-author-native-profile{grid-template-columns:76px minmax(0,1fr);gap:15px;margin-bottom:22px;padding-bottom:20px;}
    .erb-author-native-avatar{width:76px;height:76px;}
    .erb-author-native-profile h1{font-size:25px;}
    .erb-author-native-bio{grid-column:1/-1;}
    .erb-author-native-results-title .page-title{font-size:22px;}
}


/* =========================================================
   v1.3.6 - Contenuti articolo: immagini responsive + FAQ leggibili
   ========================================================= */

/* Immagini nel corpo articolo: mai oltre la larghezza disponibile,
   nessun upscale forzato delle immagini piccole e spazio coerente sotto. */
.single-post .entry-content img,
.single-post .post-content img,
.single-post .single-page-entry .entry-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.single-post .entry-content > img,
.single-post .post-content > img,
.single-post .single-page-entry .entry-content > img {
    width: auto !important;
    margin: 0 0 24px !important;
}

.single-post .entry-content figure.wp-block-image,
.single-post .post-content figure.wp-block-image,
.single-post .single-page-entry .entry-content figure.wp-block-image {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 24px !important;
}

.single-post .entry-content figure.wp-block-image img,
.single-post .post-content figure.wp-block-image img,
.single-post .single-page-entry .entry-content figure.wp-block-image img {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* FAQ: regola dedicata alle sole domande del blocco FAQ.
   Evita di ereditare le dimensioni ridotte usate in altre aree del tema/plugin. */
.single-post section.sc_fs_faq > h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.single-post section.sc_fs_faq .sc_fs_faq__content {
    font-size: 16px;
    line-height: 1.65;
}

.single-post section.sc_fs_faq .sc_fs_faq__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .single-post section.sc_fs_faq > h2 {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .single-post .entry-content > img,
    .single-post .post-content > img,
    .single-post .single-page-entry .entry-content > img,
    .single-post .entry-content figure.wp-block-image,
    .single-post .post-content figure.wp-block-image,
    .single-post .single-page-entry .entry-content figure.wp-block-image {
        margin-bottom: 20px !important;
    }
}


/* =========================================================
   v1.3.7 - Override finali articolo: immagini + FAQ
   ========================================================= */
.single-post article img {
    max-width: 100% !important;
    height: auto !important;
}
.single-post article figure.wp-block-image,
.single-post article .wp-block-image,
.single-post article p:has(> img) {
    margin-bottom: 26px !important;
}
.single-post article figure.wp-block-image img,
.single-post article .wp-block-image img,
.single-post article p > img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}
body.single-post article section.sc_fs_faq.sc_card > h2,
body.single-post section.sc_fs_faq.sc_card > h2,
body.single-post .sc_fs_faq.sc_card > h2 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
body.single-post section.sc_fs_faq.sc_card .sc_fs_faq__content,
body.single-post section.sc_fs_faq.sc_card .sc_fs_faq__content p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}
@media (max-width: 767px) {
    .single-post article figure.wp-block-image,
    .single-post article .wp-block-image,
    .single-post article p:has(> img) {
        margin-bottom: 20px !important;
    }
    body.single-post article section.sc_fs_faq.sc_card > h2,
    body.single-post section.sc_fs_faq.sc_card > h2,
    body.single-post .sc_fs_faq.sc_card > h2 {
        font-size: 18px !important;
    }
}


/* =========================================================
   v1.3.8 - Hero opzionale per pagine statiche
   ========================================================= */
body.erb-page-hero-active .single-page-entry > .entry-title,
body.erb-page-hero-active .single-page-entry > .page-title,
body.erb-page-hero-active .single-page-entry header.entry-header > .entry-title,
body.erb-page-hero-active article.page > header .entry-title {
    display: none !important;
}

.erb-page-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 260px;
    margin-top: 0;
    margin-bottom: 46px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
.erb-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.10) 12%, rgba(0,0,0,.30) 58%, rgba(0,0,0,.68) 100%);
}
.erb-page-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--erb-layout-max, 1320px);
    margin: 0 auto;
    padding: 48px 24px 52px;
}
.erb-page-hero__title {
    max-width: 980px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(36px, 4vw, 58px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em;
    text-shadow: 0 2px 18px rgba(0,0,0,.32);
}

@media (max-width: 991px) {
    .erb-page-hero { height: 240px; margin-bottom: 34px; }
    .erb-page-hero__inner { padding: 36px 22px 40px; }
    .erb-page-hero__title { font-size: clamp(32px, 6vw, 46px) !important; }
}
@media (max-width: 600px) {
    .erb-page-hero { height: 220px; margin-bottom: 28px; }
    .erb-page-hero__inner { padding: 28px 18px 30px; }
    .erb-page-hero__title { font-size: 32px !important; line-height: 1.12 !important; }
}


/* =========================================================
   v1.3.11 - Pagine statiche: hero compatto e niente breadcrumb
   ========================================================= */
body.page .gc-breadcrumb,
body.page .breadcrumb,
body.page .breadcrumbs,
body.page nav[aria-label="Breadcrumb"] {
    display: none !important;
}


/* =========================================================
   v1.3.12 - Breadcrumb pagine statiche: rimozione robusta
   ========================================================= */
body.page .gc-breadcrumb,
body.page .gc-breadcrumb-wrap,
body.page .gc-breadcrumb-wrapper,
body.page .breadcrumb,
body.page .breadcrumbs,
body.page .breadcrumb-wrap,
body.page .breadcrumb-wrapper,
body.page .breadcrumb-area,
body.page .breadcrumb-section,
body.page .breadcrumb-container,
body.page .page-breadcrumb,
body.page .page-breadcrumbs,
body.page .site-breadcrumb,
body.page .breadcrumb-trail,
body.page .trail-items,
body.page #breadcrumbs,
body.page nav[aria-label="Breadcrumb"],
body.page nav[aria-label="breadcrumb"] {
    display: none !important;
}


/* =========================================================
   Meta commenti articolo - v1.3.14
   ========================================================= */
.single-post .erb-comments-meta-link {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.single-post .erb-comments-meta-link.erb-comments-meta-link--active {
    padding: 4px 9px !important;
    margin: -4px -2px -4px 1px !important;
    border: 1px solid rgba(225, 6, 0, .34) !important;
    border-radius: 999px !important;
    background: rgba(225, 6, 0, .07) !important;
    color: #c30a05 !important;
    font-weight: 800 !important;
}
.single-post .erb-comments-meta-link.erb-comments-meta-link--active:hover,
.single-post .erb-comments-meta-link.erb-comments-meta-link--active:focus {
    border-color: #e10600 !important;
    background: #e10600 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
@media (max-width: 767px) {
    .single-post .erb-comments-meta-link.erb-comments-meta-link--active { padding: 3px 8px !important; }
}

/* =========================================================
   v1.3.15 - Immagini archivio/categoria/ricerca a tutta colonna
   ========================================================= */
body.archive main article .post-thumbnail,
body.archive main article .post-thumb,
body.archive main article .entry-thumbnail,
body.archive main article .featured-image,
body.archive main article .post-image,
body.archive main article figure,
body.category main article .post-thumbnail,
body.category main article .post-thumb,
body.category main article .entry-thumbnail,
body.category main article .featured-image,
body.category main article .post-image,
body.category main article figure,
body.tag main article .post-thumbnail,
body.tag main article .post-thumb,
body.tag main article .entry-thumbnail,
body.tag main article .featured-image,
body.tag main article .post-image,
body.tag main article figure,
body.search main article .post-thumbnail,
body.search main article .post-thumb,
body.search main article .entry-thumbnail,
body.search main article .featured-image,
body.search main article .post-image,
body.search main article figure,
body.archive .default-page-entry article .post-thumbnail,
body.archive .default-page-entry article .post-thumb,
body.archive .default-page-entry article .entry-thumbnail,
body.archive .default-page-entry article .featured-image,
body.archive .default-page-entry article .post-image,
body.category .default-page-entry article .post-thumbnail,
body.category .default-page-entry article .post-thumb,
body.category .default-page-entry article .entry-thumbnail,
body.category .default-page-entry article .featured-image,
body.category .default-page-entry article .post-image,
body.tag .default-page-entry article .post-thumbnail,
body.tag .default-page-entry article .post-thumb,
body.tag .default-page-entry article .entry-thumbnail,
body.tag .default-page-entry article .featured-image,
body.tag .default-page-entry article .post-image,
body.search .default-page-entry article .post-thumbnail,
body.search .default-page-entry article .post-thumb,
body.search .default-page-entry article .entry-thumbnail,
body.search .default-page-entry article .featured-image,
body.search .default-page-entry article .post-image {
    width: 100% !important;
    max-width: 100% !important;
}

body.archive main article .post-thumbnail img,
body.archive main article .post-thumb img,
body.archive main article .entry-thumbnail img,
body.archive main article .featured-image img,
body.archive main article .post-image img,
body.archive main article figure img,
body.category main article .post-thumbnail img,
body.category main article .post-thumb img,
body.category main article .entry-thumbnail img,
body.category main article .featured-image img,
body.category main article .post-image img,
body.category main article figure img,
body.tag main article .post-thumbnail img,
body.tag main article .post-thumb img,
body.tag main article .entry-thumbnail img,
body.tag main article .featured-image img,
body.tag main article .post-image img,
body.tag main article figure img,
body.search main article .post-thumbnail img,
body.search main article .post-thumb img,
body.search main article .entry-thumbnail img,
body.search main article .featured-image img,
body.search main article .post-image img,
body.search main article figure img,
body.archive .default-page-entry article img,
body.category .default-page-entry article img,
body.tag .default-page-entry article img,
body.search .default-page-entry article img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: initial !important;
}


/* =========================================================
   v1.3.16 - Commenti eRaceMotorBlog
   ========================================================= */
.single-post .erb-comments-area {
    margin-top: 54px;
    padding-top: 8px;
}
.single-post .erb-comments-heading {
    margin: 0 0 24px !important;
    padding: 0 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
}
.single-post .erb-comment-list,
.single-post .erb-comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}
.single-post .erb-comment-list > li {
    margin: 0 0 18px;
}
.single-post .erb-comment-list .children {
    margin: 14px 0 0 46px;
    padding-left: 18px;
    border-left: 2px solid rgba(225,6,0,.18);
}
.single-post .erb-comment {
    margin: 0;
    padding: 22px 24px 20px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.025);
}
.single-post .erb-comment--staff {
    border-color: rgba(225,6,0,.20);
    background: linear-gradient(180deg, rgba(225,6,0,.025), #fff 42%);
}
.single-post .erb-comment__top {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}
.single-post .erb-comment__avatar {
    flex: 0 0 42px;
}
.single-post .erb-comment__avatar img {
    display: block;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 !important;
}
.single-post .erb-comment__identity {
    min-width: 0;
    flex: 1;
}
.single-post .erb-comment__author-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
}
.single-post .erb-comment__author {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: #171717;
}
.single-post .erb-comment__author a {
    color: inherit;
    text-decoration: none;
}
.single-post .erb-comment__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e10600;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.single-post .erb-comment__badge--author {
    background: #171717;
}
.single-post .erb-comment__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #8a8a8a;
}
.single-post .erb-comment__meta a {
    color: inherit;
    text-decoration: none;
}
.single-post .erb-comment__body {
    margin: 16px 0 0 55px;
    color: #242424;
    font-size: 16px;
    line-height: 1.7;
}
.single-post .erb-comment__body p {
    margin: 0 0 12px !important;
}
.single-post .erb-comment__body p:last-child {
    margin-bottom: 0 !important;
}
.single-post .erb-comment__awaiting {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff6d9;
    color: #6c5600;
    font-size: 13px;
}
.single-post .erb-comment__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0 55px;
}
.single-post .erb-comment__reply a,
.single-post .erb-comment__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 12px;
    border: 1px solid rgba(225,6,0,.35);
    border-radius: 999px;
    color: #c40b06 !important;
    background: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
    transition: .18s ease;
}
.single-post .erb-comment__reply a:hover,
.single-post .erb-comment__reply a:focus {
    border-color: #e10600;
    background: #e10600;
    color: #fff !important;
}
.single-post .erb-comment__edit {
    border-color: #ddd;
    color: #666 !important;
}
.single-post .erb-comments-nav {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0;
    font-size: 14px;
    font-weight: 700;
}
.single-post .erb-comment-form-wrap {
    margin-top: 34px;
    padding: 26px 28px 28px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fafafa;
}
.single-post .erb-comment-form-wrap .comment-reply-title {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}
.single-post .erb-comment-form-wrap .comment-notes,
.single-post .erb-comment-form-wrap .logged-in-as {
    margin: 0 0 18px !important;
    font-size: 13px;
    color: #777;
}
.single-post .erb-comment-form-wrap label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
}
.single-post .erb-comment-form-wrap input[type="text"],
.single-post .erb-comment-form-wrap input[type="email"],
.single-post .erb-comment-form-wrap input[type="url"],
.single-post .erb-comment-form-wrap textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #fff;
    padding: 11px 12px;
    font: inherit;
    line-height: 1.5;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.single-post .erb-comment-form-wrap textarea {
    min-height: 150px;
    resize: vertical;
}
.single-post .erb-comment-form-wrap input:focus,
.single-post .erb-comment-form-wrap textarea:focus {
    outline: none;
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225,6,0,.08);
}
.single-post .erb-comment-form-wrap .form-submit {
    margin: 18px 0 0 !important;
}
.single-post .erb-comment-form-wrap .submit {
    border: 1px solid #e10600;
    border-radius: 999px;
    background: #e10600;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.single-post .erb-comment-form-wrap .submit:hover,
.single-post .erb-comment-form-wrap .submit:focus {
    background: #b90803;
    border-color: #b90803;
}
.single-post #cancel-comment-reply-link {
    margin-left: 8px;
    color: #e10600;
    font-size: 12px;
    font-weight: 700;
}
.single-post .erb-comments-closed {
    margin: 24px 0;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f7f7f7;
    color: #666;
    font-size: 14px;
}
@media (max-width: 767px) {
    .single-post .erb-comments-heading { font-size: 24px !important; }
    .single-post .erb-comment { padding: 18px 16px 17px; }
    .single-post .erb-comment-list .children {
        margin-left: 14px;
        padding-left: 12px;
    }
    .single-post .erb-comment__body,
    .single-post .erb-comment__actions {
        margin-left: 0;
    }
    .single-post .erb-comment-form-wrap {
        padding: 20px 18px 22px;
    }
}


/* =========================================================
   v1.3.17 - Commenti: restyling editoriale eRaceMotorBlog
   ========================================================= */
.single-post .erb-comments-area {
    margin-top: 60px;
}
.single-post .erb-comments-heading {
    position: relative;
    margin-bottom: 30px !important;
    padding-bottom: 13px !important;
}
.single-post .erb-comments-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--erb-footer-red, #e10600);
}
.single-post .erb-comment-list > li {
    margin-bottom: 22px;
}
.single-post .erb-comment {
    position: relative;
    overflow: visible;
    padding: 24px 26px 22px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fff 0%, #fff 72%, #fcfcfc 100%) !important;
    box-shadow: 0 7px 24px rgba(0,0,0,.035) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.single-post .erb-comment::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 26px;
    width: 46px;
    height: 3px;
    background: #e10600;
}
.single-post .erb-comment:hover {
    border-color: #dddddd !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.055) !important;
}
.single-post .erb-comment--staff {
    border-left: 3px solid #e10600 !important;
    background: linear-gradient(180deg, rgba(225,6,0,.025) 0%, #fff 34%, #fcfcfc 100%) !important;
}
.single-post .erb-comment--staff::before {
    width: 62px;
}
.single-post .erb-comment__top {
    align-items: center !important;
    gap: 15px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.single-post .erb-comment__avatar {
    flex: 0 0 52px !important;
}
.single-post .erb-comment__avatar img {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,.14);
}
.single-post .erb-comment__author {
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: -.01em;
}
.single-post .erb-comment__author a:hover,
.single-post .erb-comment__author a:focus {
    color: #e10600;
}
.single-post .erb-comment__badge {
    padding: 4px 8px !important;
    font-size: 9px !important;
    letter-spacing: .07em !important;
}
.single-post .erb-comment__meta {
    margin-top: 3px;
    font-size: 12px !important;
    color: #909090 !important;
}
.single-post .erb-comment__body {
    position: relative;
    margin: 18px 0 0 67px !important;
    padding-left: 18px;
    color: #222 !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}
.single-post .erb-comment__body::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -7px;
    color: rgba(225,6,0,.24);
    font-family: Georgia, serif;
    font-size: 31px;
    line-height: 1;
    font-weight: 700;
}
.single-post .erb-comment__actions {
    margin: 17px 0 0 85px !important;
    gap: 9px !important;
}
.single-post .erb-comment__reply a,
.single-post .erb-comment__edit {
    min-height: 30px !important;
    padding: 5px 11px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.single-post .erb-comment__reply a::before {
    content: "↩";
    margin-right: 6px;
    font-size: 13px;
    line-height: 1;
}
.single-post .erb-comment__edit {
    border-color: transparent !important;
    background: transparent !important;
    color: #777 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}
.single-post .erb-comment__edit:hover,
.single-post .erb-comment__edit:focus {
    color: #222 !important;
    text-decoration: underline !important;
}
.single-post .erb-comment-list .children {
    position: relative;
    margin: 18px 0 0 40px !important;
    padding-left: 22px !important;
    border-left: 1px solid rgba(225,6,0,.32) !important;
}
.single-post .erb-comment-list .children::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 14px;
    height: 1px;
    background: rgba(225,6,0,.32);
}
.single-post .erb-comment-list .children .erb-comment {
    background: #fbfbfb !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.025) !important;
}
.single-post .erb-comment-form-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    box-shadow: 0 6px 22px rgba(0,0,0,.025);
}
.single-post .erb-comment-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e10600;
}
.single-post .erb-comment-form-wrap .comment-reply-title {
    letter-spacing: -.015em;
}
@media (max-width: 767px) {
    .single-post .erb-comment {
        padding: 20px 17px 18px !important;
    }
    .single-post .erb-comment::before {
        left: 17px;
    }
    .single-post .erb-comment__avatar {
        flex-basis: 46px !important;
    }
    .single-post .erb-comment__avatar img {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
    }
    .single-post .erb-comment__body {
        margin-left: 0 !important;
        padding-left: 16px;
    }
    .single-post .erb-comment__actions {
        margin-left: 16px !important;
    }
    .single-post .erb-comment-list .children {
        margin-left: 10px !important;
        padding-left: 12px !important;
    }
}


/* eRaceMotorBlog v1.3.19 - commenti più puliti */
body.single-post #comments article.erb-comment__article {
    background: none !important;
    box-shadow: none !important;
    border-color: #f5f5f5 !important;
}
body.single-post #comments li.erb-comment--staff > article.erb-comment__article,
body.single-post #comments .erb-comment-list .children article.erb-comment__article {
    background: none !important;
    box-shadow: none !important;
}
body.single-post #comments .erb-comment-form-wrap {
    box-shadow: none !important;
}


/* v1.3.21 - Tipografia articolo e Quote gestiti dal child theme via Customizer/CSS inline. */

/* v1.3.22 - Controlli font-size e margini top/bottom separati per paragrafi e H1-H5 nel solo articolo singolo. */

/* =========================================================
   v1.3.24 - Profilo autore indipendente + social icon
   ========================================================= */
.erb-author-social{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #e3e3e3!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#333!important;
    text-decoration:none!important;
    transition:all .18s ease!important;
}
.erb-author-social svg{width:15px;height:15px;display:block;fill:currentColor;}
.erb-author-social:hover{border-color:var(--erb-accent)!important;background:var(--erb-accent)!important;color:#fff!important;transform:translateY(-1px);}
.erb-author-native-socials,.erb-article-author-socials{display:flex;flex-wrap:wrap;align-items:center;gap:7px;}

body.single-post .erb-article-author-card{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:24px;
    align-items:center;
    margin:34px 0 30px;
    padding:28px 30px;
    border:1px solid #f0f0f0;
    background:#fff;
}
body.single-post .erb-article-author-avatar{display:block;width:112px;height:112px;border-radius:50%;overflow:hidden;background:#eee;text-decoration:none;}
body.single-post .erb-article-author-avatar img,
body.single-post .erb-article-author-avatar .erb-author-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
body.single-post .erb-article-author-info{min-width:0;}
body.single-post .erb-article-author-label{display:block;margin:0 0 6px;color:var(--erb-accent);font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.075em;text-transform:uppercase;}
body.single-post .erb-article-author-card h3{margin:0 0 4px!important;font-size:26px!important;line-height:1.18!important;font-weight:800!important;}
body.single-post .erb-article-author-card h3 a{color:#171717!important;text-decoration:none!important;}
body.single-post .erb-article-author-card h3 a:hover{color:var(--erb-accent)!important;}
body.single-post .erb-article-author-role{margin:0 0 10px!important;color:#6a6a6a;font-size:13px;line-height:1.4;font-weight:600;}
body.single-post .erb-article-author-socials{margin-top:10px;}

.erb-author-native-avatar{border-radius:50%;}
.erb-author-native-avatar img,.erb-author-native-avatar .erb-author-avatar-img{border-radius:50%!important;}
.erb-author-native-socials{margin-top:0;}
.erb-author-native-longbio{font-size:14px;line-height:1.75;}

@media (max-width:767px){
    body.single-post .erb-article-author-card{grid-template-columns:82px minmax(0,1fr);gap:16px;padding:22px 20px;align-items:start;}
    body.single-post .erb-article-author-avatar{width:82px;height:82px;}
    body.single-post .erb-article-author-card h3{font-size:22px!important;}
    .erb-author-social{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;}
}

/* v1.3.25 - CSS critico finale icone social autore stampato inline dal child theme. */

/* v1.3.29 - Single: SVG social autore renderizzati integralmente; rimossa navigazione cronologica prev/next. */

/* v1.3.30 - Ripristino stile FAQ Gutenberg e correzione label TAG nel single article. */


/* =========================================================
   v1.3.31 - Archive/Category/Tag/Search autonomi
   ========================================================= */
/* Archive / categorie / tag / ricerca - layout magazine autonomo v1.3.34 */
.erb-archive-page{padding-top:36px;padding-bottom:62px}
.erb-archive-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:42px;align-items:start}
.erb-archive-grid--left{grid-template-columns:330px minmax(0,1fr)}
.erb-archive-grid--left>.erb-archive-main{order:2}
.erb-archive-grid--left>.erb-context-sidebar{order:1}
.erb-archive-grid--none{grid-template-columns:minmax(0,1fr)}
.erb-archive-main{min-width:0}
.erb-archive-grid>.erb-context-sidebar{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;align-self:start}
.erb-archive-header{margin:0 0 30px;padding:0 0 18px;border-bottom:2px solid #171717}
.erb-archive-eyebrow{display:block;margin:0 0 7px;color:#e10600;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.erb-archive-title{margin:0;color:#171717;font-size:clamp(32px,4.4vw,48px);line-height:1.08;font-weight:900;letter-spacing:-.025em}
.erb-archive-description{max-width:820px;margin:14px 0 0;color:#555;font-size:15px;line-height:1.7}
.erb-archive-description p:last-child{margin-bottom:0}
.erb-archive-list{display:flex;flex-direction:column}
.erb-archive-card{display:block;margin:0;padding:0 0 42px;border-bottom:1px solid #e8e8e8}
.erb-archive-card+.erb-archive-card{padding-top:42px}
.erb-archive-card-top{margin:0 0 20px}
.erb-archive-category{display:inline-block;margin:0 0 8px;color:#e10600!important;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.055em;text-transform:uppercase;text-decoration:none!important}
.erb-archive-card-title{margin:0 0 10px!important;font-size:var(--erb-archive-card-title-size,36px)!important;line-height:1.14!important;font-weight:850!important;letter-spacing:-.018em;text-align:left!important}
.erb-archive-card-title a{position:relative;color:#171717!important;text-decoration:none!important;background-image:linear-gradient(to right,rgba(255,255,255,0) 50%,rgb(254,225,152) 50%)!important;background-size:200.22% auto!important;background-position:0 0!important;background-repeat:repeat!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background-position .5s ease-out!important}
.erb-archive-card-title a:hover,.erb-archive-card-title a:focus{color:#171717!important;background-position:-99.99% 0!important;outline:none}
.erb-archive-meta{display:flex;flex-wrap:wrap;gap:6px 9px;align-items:center;margin:0;color:#888;font-size:12px;line-height:1.4}
.erb-archive-meta a{color:#666!important;text-decoration:none!important}
.erb-archive-meta a:hover{color:#e10600!important}
.erb-archive-thumb{display:block;width:100%;margin:0 0 22px;aspect-ratio:16/9;overflow:hidden;background:#eee;text-decoration:none}
.erb-archive-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.erb-archive-thumb:hover img,.erb-archive-thumb:focus img{transform:scale(1.012)}
.erb-archive-card-bottom{min-width:0}
.erb-archive-excerpt{margin:0;color:#4c4c4c;font-size:15px;line-height:1.7}
.erb-archive-readmore{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:max-content!important;margin:18px 0 0!important;padding:10px 22px!important;border:1.5px solid #e94b2b!important;border-radius:999px!important;background:#fff!important;color:#171717!important;font-size:11px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.035em!important;text-transform:uppercase!important;text-decoration:none!important;text-align:left!important;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.erb-archive-readmore:hover,.erb-archive-readmore:focus{background:#e94b2b!important;border-color:#e94b2b!important;color:#fff!important}
.erb-archive-pagination{margin-top:34px;padding-top:4px}
.erb-archive-pagination .nav-links{display:flex;flex-wrap:wrap;gap:7px}
.erb-archive-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1px solid #ddd;color:#222!important;text-decoration:none!important}
.erb-archive-pagination .page-numbers.current,.erb-archive-pagination a.page-numbers:hover{border-color:#171717;background:#171717;color:#fff!important}
.erb-archive-empty{padding:34px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
.erb-archive-empty h2{margin:0 0 8px;font-size:24px}
.erb-archive-empty p{margin:0;color:#666}
@media(max-width:1100px){.erb-archive-grid{grid-template-columns:minmax(0,1fr) 300px;gap:34px}.erb-archive-grid--left{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:980px){.erb-archive-grid,.erb-archive-grid--left{grid-template-columns:1fr}.erb-archive-grid>.erb-archive-main,.erb-archive-grid>.erb-context-sidebar{order:initial}.erb-archive-grid>.erb-context-sidebar{margin-top:18px!important}}
@media(max-width:680px){.erb-archive-page{padding-top:26px}.erb-archive-card{padding-bottom:30px}.erb-archive-card+.erb-archive-card{padding-top:30px}.erb-archive-card-title{font-size:25px!important}.erb-archive-title{font-size:34px}.erb-archive-thumb{margin-bottom:18px}}


/* =========================================================
   v1.3.35 - Archive card: neutralizzazione completa layout legacy parent
   ========================================================= */
body.archive .erb-archive-list > article.erb-archive-card,
body.category .erb-archive-list > article.erb-archive-card,
body.tag .erb-archive-list > article.erb-archive-card,
body.search .erb-archive-list > article.erb-archive-card {
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    grid-template-columns:none !important;
    grid-template-areas:none !important;
    width:100% !important;
    max-width:100% !important;
    float:none !important;
    clear:both !important;
    position:relative !important;
    text-align:left !important;
}
body.archive .erb-archive-card > .erb-archive-card-top,
body.archive .erb-archive-card > .erb-archive-thumb,
body.archive .erb-archive-card > .erb-archive-card-bottom,
body.category .erb-archive-card > .erb-archive-card-top,
body.category .erb-archive-card > .erb-archive-thumb,
body.category .erb-archive-card > .erb-archive-card-bottom,
body.tag .erb-archive-card > .erb-archive-card-top,
body.tag .erb-archive-card > .erb-archive-thumb,
body.tag .erb-archive-card > .erb-archive-card-bottom,
body.search .erb-archive-card > .erb-archive-card-top,
body.search .erb-archive-card > .erb-archive-thumb,
body.search .erb-archive-card > .erb-archive-card-bottom {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    position:static !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    transform:none !important;
    flex:none !important;
    grid-column:1 / -1 !important;
    text-align:left !important;
}
body.archive .erb-archive-card > .erb-archive-card-top,
body.category .erb-archive-card > .erb-archive-card-top,
body.tag .erb-archive-card > .erb-archive-card-top,
body.search .erb-archive-card > .erb-archive-card-top { order:1 !important; margin:0 0 18px !important; }
body.archive .erb-archive-card > .erb-archive-thumb,
body.category .erb-archive-card > .erb-archive-thumb,
body.tag .erb-archive-card > .erb-archive-thumb,
body.search .erb-archive-card > .erb-archive-thumb { order:2 !important; margin:0 0 20px !important; }
body.archive .erb-archive-card > .erb-archive-card-bottom,
body.category .erb-archive-card > .erb-archive-card-bottom,
body.tag .erb-archive-card > .erb-archive-card-bottom,
body.search .erb-archive-card > .erb-archive-card-bottom { order:3 !important; }
body.archive .erb-archive-card .erb-archive-category,
body.archive .erb-archive-card .erb-archive-card-title,
body.archive .erb-archive-card .erb-archive-meta,
body.archive .erb-archive-card .erb-archive-excerpt,
body.archive .erb-archive-card .erb-archive-readmore,
body.category .erb-archive-card .erb-archive-category,
body.category .erb-archive-card .erb-archive-card-title,
body.category .erb-archive-card .erb-archive-meta,
body.category .erb-archive-card .erb-archive-excerpt,
body.category .erb-archive-card .erb-archive-readmore,
body.tag .erb-archive-card .erb-archive-category,
body.tag .erb-archive-card .erb-archive-card-title,
body.tag .erb-archive-card .erb-archive-meta,
body.tag .erb-archive-card .erb-archive-excerpt,
body.tag .erb-archive-card .erb-archive-readmore,
body.search .erb-archive-card .erb-archive-category,
body.search .erb-archive-card .erb-archive-card-title,
body.search .erb-archive-card .erb-archive-meta,
body.search .erb-archive-card .erb-archive-excerpt,
body.search .erb-archive-card .erb-archive-readmore {
    float:none !important;
    clear:both !important;
    max-width:none !important;
    text-align:left !important;
}
body.archive .erb-archive-card .erb-archive-readmore,
body.category .erb-archive-card .erb-archive-readmore,
body.tag .erb-archive-card .erb-archive-readmore,
body.search .erb-archive-card .erb-archive-readmore { margin-left:0 !important; margin-right:auto !important; }

/* v1.3.37 - Front page magazine autonoma dal template pagina */
body.home .erb-front-page-wrap,
body.front-page .erb-front-page-wrap{width:100%;margin:0;padding:0}
body.home .erb-front-page-container,
body.front-page .erb-front-page-container{width:100%;max-width:none;margin:0 auto;padding-left:0;padding-right:0}
body.home .erb-front-page-content-area,
body.home .erb-front-page-main,
body.home .erb-front-page-entry,
body.home .erb-front-page-content,
body.front-page .erb-front-page-content-area,
body.front-page .erb-front-page-main,
body.front-page .erb-front-page-entry,
body.front-page .erb-front-page-content{width:100%;max-width:none;margin:0;padding:0}
body.home .erb-front-page-entry,
body.front-page .erb-front-page-entry{border:0;background:transparent;box-shadow:none}


/* =========================================================
   v1.3.39 - Hover titoli editoriale ripristinato sulle card archive/autore
   v1.3.38 - Pagine statiche: griglia proprietaria, niente Bootstrap/GuCherry
   ========================================================= */
.erb-page-wrap{padding-top:34px;margin-bottom:54px}
.erb-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:44px;align-items:start}
.erb-page-grid--none{grid-template-columns:minmax(0,1fr)}
.erb-page-main{min-width:0;width:100%;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
.erb-page-grid>.erb-context-sidebar{width:auto!important;max-width:none!important;min-width:0!important;float:none!important;flex:none!important;margin:0!important;padding:0!important;align-self:start}
.erb-page-entry{width:100%;max-width:none!important}
.erb-page-content{width:100%;max-width:none!important}
@media(max-width:1100px){.erb-page-grid{grid-template-columns:minmax(0,1fr) 300px;gap:34px}}
@media(max-width:980px){.erb-page-grid{grid-template-columns:1fr}.erb-page-grid>.erb-context-sidebar{margin-top:22px!important}}
@media(max-width:680px){.erb-page-wrap{padding-top:24px;margin-bottom:42px}}
