/*
Theme Name: Politologo
Theme URI: https://politologo.xyz
Template: kadence
Author: Acorán
Author URI: https://politologo.xyz
Description: Child theme for Politologo blog — based on Kadence
Version: 1.0.0
License: GPL v2 or later
Text Domain: politologo
*/

/* ========== TYPOGRAPHY ========== */
body {
    font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 18px;
    line-height: 1.85;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Palatino Linotype', serif;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 { font-size: 2.4em; }
h2 {
    font-size: 1.8em;
    margin-top: 2em;
    margin-bottom: 0.8em;
    border-bottom: 3px solid #1a1a1a;
    padding-bottom: 0.35em;
    display: inline-block;
}
h3 {
    font-size: 1.35em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    color: #2c3e50;
}

p {
    margin-bottom: 1.3em;
    text-align: justify;
    hyphens: auto;
}

a {
    color: #27ae60;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #1e8449;
    text-decoration: underline;
}

/* ========== HEADER ========== */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #1a1a1a;
    padding: 1.2rem 0;
}

.site-branding .site-title,
.site-title {
    font-family: 'Georgia', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-description {
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
    margin-top: 0.15rem;
}

/* ========== NAVIGATION ========== */
.main-navigation a,
.nav-menu a,
.primary-navigation a {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.9rem;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.nav-menu a:hover,
.primary-navigation a:hover {
    color: #27ae60;
}

/* ========== SINGLE POST ========== */
.single-post .entry-content,
.post .entry-content {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05em;
}

.single-post .entry-content p:first-of-type {
    font-size: 1.12em;
    color: #2c3e50;
    line-height: 1.8;
}

.entry-title {
    font-family: 'Georgia', serif;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.4em;
}

.entry-title a {
    color: #1a1a1a;
}
.entry-title a:hover {
    color: #27ae60;
    text-decoration: none;
}

.entry-meta,
.posted-on,
.posted-by {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1.5em;
    font-style: italic;
}

/* ========== BLOCKQUOTES ========== */
blockquote {
    border-left: 4px solid #27ae60;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    font-style: italic;
    color: #333;
    border-radius: 0 6px 6px 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* ========== IMAGES ========== */
img {
    border-radius: 4px;
}

.featured-image img,
.post-thumbnail img {
    border-radius: 6px;
}

/* ========== TABLES ========== */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
    font-size: 0.93em;
}

th, td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

th {
    background: #f5f5f5;
    font-weight: 700;
    font-family: 'Georgia', serif;
}

/* ========== HIGHLIGHT BOX ========== */
.highlight-box,
.politologo-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    border: 1px solid #27ae60;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* ========== POST SIGNATURE ========== */
.post-signature,
.politologo-signature {
    font-style: italic;
    color: #555;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: right;
    font-size: 0.95em;
}

/* ========== COMMENTS ========== */
.comment-content {
    font-size: 0.95em;
    line-height: 1.7;
}

.comment-meta {
    font-size: 0.82rem;
    color: #888;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.85em;
}

.site-footer a {
    color: #27ae60;
}
.site-footer a:hover {
    color: #2ecc71;
}

/* ========== WIDGETS ========== */
.widget-title {
    font-family: 'Georgia', serif;
    font-size: 1.05em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.3em;
    margin-bottom: 1em;
}

.widget {
    margin-bottom: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.2em; }
    .entry-title { font-size: 1.6em; }
    .site-title { font-size: 1.4em; }
    .single-post .entry-content { padding: 0 1rem; }
}

/* ========== CLEANUP ========== */
.entry-meta a,
.posted-on a {
    color: #888;
    text-decoration: none;
}
.entry-meta a:hover,
.posted-on a:hover {
    color: #27ae60;
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.4em;
}

/* ========== SOCIAL ICONS ========== */
.social-icons a {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-right: 0.8rem;
    transition: color 0.2s;
}
.social-icons a:hover {
    color: #27ae60;
}
