:root {
    --o75-vino: #8E2846;
    --o75-blanco: #ffffff;
    --o75-negro: #000000;
    --o75-gris: #f4f4f4;
    --font-title: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- General Layout --- */
.o75-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Hero Section Archive --- */
.o75-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}
.o75-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 1;
}
.o75-hero-content {
    position: relative;
    z-index: 2;
    color: var(--o75-blanco);
    padding: 20px;
}
.o75-hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--o75-blanco);
}
.o75-hero-content p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- Filtros --- */
.o75-filters {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-body);
}
.o75-filters a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid var(--o75-negro);
    color: var(--o75-negro);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.o75-filters a.active, .o75-filters a:hover {
    background-color: var(--o75-vino);
    color: var(--o75-blanco);
    border-color: var(--o75-vino);
}

/* --- Grid System --- */
.o75-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .o75-grid { grid-template-columns: 1fr; }
}

/* --- Cards --- */
.o75-card {
    background: var(--o75-blanco);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}
.o75-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--o75-vino);
}
.o75-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.o75-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.o75-card:hover .o75-card-image img {
    transform: scale(1.1);
}
.o75-cat-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--o75-vino);
    color: var(--o75-blanco);
    padding: 5px 15px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}
.o75-card-content {
    padding: 25px;
}
.o75-card-content h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.o75-card-content h3 a {
    color: var(--o75-negro);
    text-decoration: none;
}
.o75-excerpt {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.o75-read-more {
    color: var(--o75-vino);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Paginación --- */
.o75-pagination {
    text-align: center;
    margin-top: 50px;
    font-family: var(--font-body);
}
.o75-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 2px;
    border: 1px solid #ddd;
    color: var(--o75-negro);
    text-decoration: none;
}
.o75-pagination .page-numbers.current, .o75-pagination .page-numbers:hover {
    background-color: var(--o75-vino);
    color: var(--o75-blanco);
    border-color: var(--o75-vino);
}

/* --- SINGLE POST STYLES --- */

/* Single Hero */
.o75-single-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; /* Texto abajo */
}
.o75-single-hero .o75-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.o75-single-hero-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    color: var(--o75-blanco);
    text-align: center;
}
.o75-single-hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin: 15px 0;
    color: var(--o75-blanco);
}
.o75-meta-date, .o75-meta-info {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Table of Contents */
.o75-toc {
    background-color: var(--o75-gris);
    padding: 30px;
    margin: 40px 0;
    border-left: 5px solid var(--o75-vino);
}
.o75-toc h3 {
    font-family: var(--font-title);
    margin-top: 0;
}
.o75-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.o75-toc li {
    margin-bottom: 10px;
}
.o75-toc a {
    font-family: var(--font-body);
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.o75-toc a:hover {
    color: var(--o75-vino);
}

/* Content Container Wrapper */
.o75-single-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}
.o75-single-container h2 {
    font-family: var(--font-title);
    color: var(--o75-vino);
    margin-top: 50px;
}

/* Navigation Arrows */
.o75-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.o75-post-nav a {
    width: 45%;
    text-decoration: none;
    color: var(--o75-negro);
    font-family: var(--font-title);
    font-weight: 700;
    transition: color 0.3s;
}
.o75-post-nav a:hover {
    color: var(--o75-vino);
}
.o75-post-nav a span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 400;
}
.o75-prev { text-align: left; }
.o75-next { text-align: right; }

/* Related Posts Section */
.o75-related-section {
    margin-top: 60px;
    padding-top: 40px;
}
.o75-related-section h3 {
    font-family: var(--font-title);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--o75-vino);
}

/* --- Hero Section Archive (Updated SEO Version) --- */
.o75-blog-header {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0; /* Quitamos margen porque sigue la intro */
}

.o75-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.o75-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción sin deformar */
    object-position: center;
}

.o75-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece para leer el texto */
}

.o75-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
}

.o75-hero-content h1 {
    font-family: var(--font-title); /* Usando variable Cinzel */
    color: var(--o75-blanco);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.o75-hero-content p {
    font-family: var(--font-body); /* Usando variable Poppins */
    color: #f0f0f0;
    font-size: 1.3rem;
    font-weight: 300;
}

/* --- Blog Intro Section (Nuevo) --- */
.o75-blog-intro {
    max-width: 900px;
    margin: 60px auto 40px auto;
    text-align: center;
    padding: 0 20px;
}

.o75-blog-intro h2 {
    color: var(--o75-vino); /* Usando variable #8E2846 */
    font-family: var(--font-title);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.o75-blog-intro p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Ajustes Móviles */
@media (max-width: 768px) {
    .o75-blog-header { height: 350px; }
    .o75-hero-content h1 { font-size: 2rem; }
    .o75-hero-content p { font-size: 1rem; }
    .o75-blog-intro { margin: 40px auto; }
}