@charset "UTF-8";

/* ==========================
   MAIN / CONTEÚDO DOS POSTS
========================== */
main#conteudo-cru {
    max-width: 900px;
    margin: 60px auto; /* mais espaço do topo */
    padding: 0 25px;
    color: #EAEAEA;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.9; /* mais espaçamento entre linhas */
}

/* ==========================
   TÍTULOS MARKDOWN
========================== */
main h1, main h2, main h3 {
    font-family: 'Playfair Display', serif;
    color: #C9A44C;
    text-shadow: 1px 1px 5px rgba(255,255,255,0.2);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

main h1 { font-size: 2.4rem; }
main h2 { font-size: 2rem; }
main h3 { font-size: 1.6rem; }

/* ==========================
   PARÁGRAFOS
========================== */
main p {
    font-size: 1.05rem;
    line-height: 2.2em; /* mais espaço entre linhas */
    margin: 1rem 0; /* mais espaço entre parágrafos */
    color: #EAEAEA;
    text-align: justify;
}

/* ==========================
   LISTAS
========================== */
main ul, main ol {
    margin: 1rem 0 1rem 2rem; /* recuo da lista */
    padding-left: 1rem; /* identação interna */
}

main li {
    margin-bottom: 0.7rem;
    line-height: 1.8;
    position: relative;
}

/* aumentar indentação para listas não numeradas */
main ul li::marker {
    color: #C9A44C;
    font-weight: bold;
}

/* listas numeradas */
main ol li::marker {
    color: #7FAFCF;
    font-weight: bold;
}

/* ==========================
   LINKS
========================== */
main#conteudo-cru a {
    color: #7FAFCF;
    text-decoration: underline;
    transition: color 0.2s;
}

main a:hover {
    color: #C9A44C;
}

/* ==========================
   BLOCKQUOTES
========================== */
main blockquote {
    border-left: 4px solid #7FAFCF;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin: 1.5rem 0;
    color: #B0BCC2;
    font-style: italic;
    background-color: #142B3B;
    border-radius: 6px;
    line-height: 2;
}

/* ==========================
   IMAGENS
========================== */
main img {
    max-width: 100%;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    border: 1px solid #C9A44C;
}

/* ==========================
   CITAÇÕES PERSONALIZADAS
========================== */
p.citacao {
    border-left: 5px solid #FF4500;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: #F5B7B1;
    font-style: italic;
    background-color: #1E3A4C;
    border-radius: 6px;
    line-height: 2;
}

p.referencia {
    border-left: 5px solid #2E8B57;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: #A9DFBF;
    font-style: italic;
    background-color: #1E3A4C;
    border-radius: 6px;
    line-height: 2;
}


/* ==========================
   TABELAS (POSTS)
========================== */

main table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #1E3A4C;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 164, 76, 0.15);
}

/* Cabeçalho */
main thead {
    background-color: #142B3B;
}

main thead th {
    color: #C9A44C;
    font-family: 'Playfair Display', serif;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 14px;
    text-align: left;
    border-bottom: 2px solid #C9A44C;
}

/* Células */
main th,
main td {
    padding: 12px 14px;
    text-align: left;
}

/* Linhas */
main tbody tr {
    border-bottom: 1px solid rgba(201, 164, 76, 0.2);
}

main tbody tr:last-child {
    border-bottom: none;
}

/* Hover suave */
main tbody tr:hover {
    background-color: rgba(201, 164, 76, 0.08);
}

/* Texto dentro da tabela */
main td {
    color: #EAEAEA;
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================
   RESPONSIVIDADE
========================== */
@media (max-width: 768px) {
    

    main h1 { font-size: 2rem; }
    main h2 { font-size: 1.7rem; }
    main h3 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    main h1 { font-size: 1.6rem; }
    main h2 { font-size: 1.3rem; }
    main h3 { font-size: 1.15rem; }

    main p, main li {
        font-size: 1rem;
        line-height: 1.8;
    }

    
    main table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}
