/* Sovrascritture per il contenuto del dialogo nel contesto del tema airgue.
   Il grosso dello stile è in airgue-theme.css (caricato dal child theme). */

.ag-conversation {
    margin-top: 32px;
}

/* Resetta margini WordPress dentro .ag-wrap */
.ag-wrap .entry-content {
    margin: 0;
    padding: 0;
    max-width: none;
}

.ag-wrap .entry-content > *:first-child {
    margin-top: 0;
}

.ag-wrap .entry-content > *:last-child {
    margin-bottom: 0;
}

/* Markdown dentro le battute */
.ag-line-text p {
    margin: 0 0 0.6em;
}

.ag-line-text p:last-child {
    margin-bottom: 0;
}

.ag-line-text code {
    font-family: Menlo, Consolas, 'Courier New', monospace;
    font-size: 0.85em;
    background: rgba(33,29,23,0.06);
    padding: 2px 6px;
    border-radius: 3px;
}

.ag-line-text pre {
    background: rgba(33,29,23,0.04);
    border: 1px solid var(--rule, rgba(33,29,23,0.16));
    border-radius: 4px;
    padding: 12px 16px;
    overflow-x: auto;
    font-size: 0.85em;
    line-height: 1.5;
    margin: 8px 0;
}

.ag-line-text pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.ag-line-text blockquote {
    border-left: 2px solid var(--ox, #8A2B22);
    margin: 8px 0;
    padding: 4px 0 4px 16px;
    color: var(--ink-soft, #5C544A);
    font-style: italic;
}

.ag-line-text ul,
.ag-line-text ol {
    margin: 6px 0;
    padding-left: 24px;
}

.ag-line-text li {
    margin-bottom: 3px;
}

.ag-line-text strong {
    font-weight: 600;
}

.ag-line-text em {
    font-style: italic;
}

.ag-line-text a {
    color: var(--ox, #8A2B22);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ag-line-text a:hover {
    opacity: 0.8;
}

.ag-line-text h1,
.ag-line-text h2,
.ag-line-text h3,
.ag-line-text h4 {
    font-family: var(--font-display, 'Newsreader', Georgia, serif);
    margin: 12px 0 6px;
    line-height: 1.3;
}

.ag-line-text h1 { font-size: 1.3em; }
.ag-line-text h2 { font-size: 1.15em; }
.ag-line-text h3 { font-size: 1.05em; }
