@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap');

:root {
    --paper: #FFFFFF; /* Blanco puro, máxima limpieza y contraste clínico */
    --ink: #111211; /* Negro mate */
    --accent: #E12C0C; /* Rojo alarma para el toque de "cojones" */
    --muted: #6B7280; /* Gris editorial */
    --line: #E2E4E0; /* Bordes suaves */
    --card-bg: #FFFFFF; /* Cajas nucleares blancas sobre el fondo crema */
    
    --font-heading: 'Inter', sans-serif; /* Mantenemos 'Inter' pesado para la marca */
    --font-heading-articles: 'Playfair Display', serif; /* Serif para los artículos */
    --font-body: 'DM Sans', sans-serif; /* Limpio y matemático */
    --font-mono: 'DM Mono', monospace; /* Para detalles */
}

/* Base resets & layout */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    min-height: 100vh;
    line-height: 1.6;
    text-align: center;
}

.page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Header */
.site-header {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
    animation: fadeUp 1s ease-out forwards;
}

.issue-label, .section-tag, .post-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 900; /* Inter Black, contundencia total */
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.bottle-icon {
    display: inline-block;
    color: var(--accent); /* Botella resalta en rojo sangre */
    margin-left: 0.15em;
    transform: translateY(4px);
}

.bottle-icon svg {
    width: 0.8em;
    height: 0.8em;
}

.site-tagline {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 500; 
    color: var(--ink); /* Mucha fuerza en el eslogan */
    margin-top: 1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* Hero */
.hero {
    width: 100%;
    padding: 4rem 0 3rem;
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    max-width: 650px;
    margin: 0 auto; 
    letter-spacing: -0.02em;
}

/* Separadores */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 500px;
    animation: fadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.section-divider span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Form Styles */
.newsletter-section {
    width: 100%;
    animation: fadeUp 1s ease-out 0.4s forwards;
    opacity: 0;
    margin-bottom: 5rem;
}

.subscribe-block {
    max-width: 500px;
    margin: 0 auto;
}

.custom-ml-wrapper form.ml-block-form {
    display: flex;
    flex-wrap: nowrap;
    border: 1px solid var(--line); /* Borde elegante Sentiers */
    transition: all 0.3s ease;
    background: var(--card-bg); /* Caja impoluta blanca */
    border-radius: 4px; /* Un poco de amabilidad */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.custom-ml-wrapper form.ml-block-form:focus-within {
    border-color: var(--ink);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
}

.custom-ml-wrapper .ml-form-formContent {
    flex-grow: 1;
}

.custom-ml-wrapper input[type="email"] {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.3rem 1.4rem;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.custom-ml-wrapper input[type="email"]::placeholder {
    color: var(--muted);
}

.custom-ml-wrapper .ml-form-embedSubmit button {
    background: var(--ink); /* Botón carbón mate */
    color: var(--card-bg);
    border: none;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-ml-wrapper .ml-form-embedSubmit button:hover {
    background: var(--accent); /* Hover rojo de alerta */
}

/* About Section */
.about-section {
    width: 100%;
    padding-top: 5rem;
    border-top: 1px solid var(--line);
    animation: fadeUp 1s ease-out 0.5s forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag { margin-bottom: 1.5rem; }

.about-text {
    font-size: 1.15rem;
    color: var(--ink);
    max-width: 650px;
    margin: 0 auto;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    max-width: 600px;
}

.topic-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--card-bg);
    color: var(--muted);
    border-radius: 4px;
    transition: all 0.2s;
}

.topic-pill:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* Posts */
.posts-section {
    width: 100%;
    padding-top: 5rem;
    margin-top: 5rem;
    border-top: 1px solid var(--line);
    animation: fadeUp 1s ease-out 0.6s forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.posts-list {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem; 
    width: 100%;
    max-width: 700px;
}

.post-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--card-bg); /* Blancas nucleares sobre el alabastro */
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); /* Sutil sensación 3D fina */
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.post-item:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.post-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.post-title {
    font-family: var(--font-heading-articles); /* Playfair Display - Regreso al rigor de la prensa económica/intelectual */
    font-size: 1.6rem;
    font-weight: 600; /* Sin cursivas, rotundo */
    margin: 0 0 0.8rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.post-excerpt {
    font-size: 1rem;
    color: var(--muted);
    max-width: 550px;
}

/* Footer */
.site-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--line);
    animation: fadeUp 1s ease-out 0.7s forwards;
    opacity: 0;
    gap: 1.5rem;
}

.footer-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--ink);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .site-title { font-size: 2.8rem; }
    .hero-text { font-size: 1.3rem; }
    .custom-ml-wrapper form.ml-block-form { flex-direction: column; }
    .custom-ml-wrapper input[type="email"] { border-bottom: 1px solid var(--line); padding: 1rem; }
    .custom-ml-wrapper .ml-form-embedSubmit button { width: 100%; padding: 1.2rem; }
    .post-item { padding: 1.5rem; }
    .footer-links { gap: 1rem; flex-wrap: wrap; }
}

.custom-ml-wrapper .ml-form-successContent {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--line);
    background: var(--card-bg);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.custom-ml-wrapper .ml-form-successContent h4 {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.privacy-note {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: center;
}

.privacy-note a {
    color: var(--muted);
    text-decoration: underline;
}
