/**
 * main.css — Estilos adicionais do tema Somos Editora.
 * O Tailwind CSS é carregado via CDN. Este arquivo contém estilos complementares.
 *
 * @package SomosEditora
 */

/* Card title — Libre Baskerville bold */
.somos-card-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
}

/* Scrollbar hide utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* WordPress generated classes */
.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* WordPress navigation */
.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s;
}

.nav-links a {
    color: #185ffd;
    background: #f9fafb;
}

.nav-links a:hover {
    background: #185ffd;
    color: #fff;
}

.nav-links .current {
    background: #185ffd;
    color: #fff;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #185ffd;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 0.75rem 1.5rem;
    background: #063384;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* Prose — espaçamento entre parágrafos e elementos de conteúdo */
.prose p {
    margin-bottom: 1.25rem;
}
.prose p:last-child {
    margin-bottom: 0;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.375rem; }
.prose blockquote {
    border-left: 4px solid #185ffd;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #4a5565;
    font-style: italic;
}
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose a { color: #185ffd; }
.prose a:hover { text-decoration: underline; }

/* Post navigation */
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.post-navigation .nav-links a {
    display: block;
    text-align: left;
    padding: 0;
    background: transparent;
    min-width: auto;
    height: auto;
}

.post-navigation .nav-links a:hover {
    background: transparent;
    color: inherit;
}

.post-navigation .nav-next {
    text-align: right;
}
