/* Brand: Memoria Televisiva */
/* Prefix: mt-tv- */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --mt-red: #B91C1C;       /* Journalism Red */
    --mt-dark: #1C1917;      /* Ink Black */
    --mt-paper: #F5F5F4;     /* Warm Paper */
    --mt-gray: #78716C;
    --mt-white: #FFFFFF;
    --mt-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--mt-dark);
    background-color: var(--mt-paper);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--mt-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.mt-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.mt-header {
    background: var(--mt-white);
    padding: 24px 0;
    border-bottom: 4px solid var(--mt-red);
    position: relative;
}

.mt-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mt-menu {
    display: flex;
    gap: 30px;
}

.mt-link {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--mt-gray);
}

.mt-link:hover { color: var(--mt-red); }

/* Hero - Newspaper Style */
.mt-hero {
    padding: 80px 0;
    background: var(--mt-white);
    border-bottom: 1px solid #E7E5E4;
}

.mt-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mt-label {
    background: var(--mt-red);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.mt-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.mt-hero p {
    font-size: 1.3rem;
    color: var(--mt-gray);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Timeline / Features */
.mt-section { padding: 80px 0; }

.mt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mt-card {
    background: var(--mt-white);
    border: 1px solid #E7E5E4;
    box-shadow: var(--mt-shadow);
    transition: transform 0.3s;
}

.mt-card:hover {
    transform: translateY(-5px);
    border-color: var(--mt-red);
}

.mt-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.mt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%); /* Retro effect */
    transition: 0.5s;
}

.mt-card:hover img {
    filter: sepia(0%);
    transform: scale(1.05);
}

.mt-card-body { padding: 32px; }

.mt-card-date {
    font-size: 0.8rem;
    color: var(--mt-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.mt-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.mt-btn-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--mt-red);
    padding-bottom: 2px;
}

/* Sidebar/About Layout */
.mt-split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.mt-sidebar {
    background: var(--mt-white);
    padding: 30px;
    border-top: 4px solid var(--mt-red);
}

/* Footer */
.mt-footer {
    background: var(--mt-dark);
    color: #A8A29E;
    padding: 60px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

.mt-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.mt-footer h4 { color: var(--mt-white); margin-bottom: 20px; }
.mt-footer a:hover { color: var(--mt-white); text-decoration: underline; }

/* Article Content */
.mt-article-body {
    background: var(--mt-white);
    padding: 60px;
    box-shadow: var(--mt-shadow);
    margin-top: -40px;
    position: relative;
}

.mt-article-content p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: #44403C;
}

.mt-highlight {
    border-left: 4px solid var(--mt-red);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--mt-dark);
    margin: 30px 0;
}

/* Form */
.mt-form input, .mt-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #D6D3D1;
    background: var(--mt-paper);
    font-family: 'Lato', sans-serif;
}

.mt-submit {
    background: var(--mt-red);
    color: white;
    border: none;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
}

.mt-submit:hover { background: #991B1B; }

/* Cookie */
#mt-cookie {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--mt-dark);
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
    z-index: 999;
}

@media (max-width: 768px) {
    .mt-nav-row { flex-direction: column; gap: 20px; }
    .mt-split-layout { grid-template-columns: 1fr; }
    .mt-hero h1 { font-size: 2.5rem; }
    .mt-article-body { padding: 24px; }
}