/* ===== NotiCriisp Blog Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --gold: #f59e0b;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-top { background: var(--dark); color: #94a3b8; font-size: 0.8rem; padding: 6px 0; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; }
.header-social a { margin-left: 12px; font-size: 1rem; filter: grayscale(1); transition: filter .2s; }
.header-social a:hover { filter: none; }
.header-main { padding: 16px 0; }
.header-main-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 2.2rem; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.logo-tagline { font-size: 0.7rem; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Nav */
.nav { background: var(--primary); }
.nav-list { display: flex; list-style: none; overflow-x: auto; }
.nav-link { display: block; padding: 12px 20px; color: rgba(255,255,255,.85); font-size: 0.9rem; font-weight: 600; white-space: nowrap; transition: all .2s; border-bottom: 3px solid transparent; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(0,0,0,.15); border-bottom-color: var(--gold); }

/* Ticker */
.ticker { background: var(--dark); padding: 8px 0; overflow: hidden; }
.ticker .container { display: flex; align-items: center; gap: 16px; }
.ticker-label { background: var(--primary); color: white; padding: 3px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
.ticker-content { color: #cbd5e1; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-sep { color: var(--primary); margin: 0 12px; }

/* Hero */
.hero { padding: 24px 0; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; min-height: 450px; }
.hero-main, .hero-side-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.hero-main img, .hero-side-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-main:hover img, .hero-side-card:hover img { transform: scale(1.05); }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: white; }
.hero-main .hero-overlay h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; margin: 8px 0; line-height: 1.2; }
.hero-main .hero-overlay p { font-size: 0.95rem; opacity: .9; margin-bottom: 8px; }
.hero-meta { font-size: 0.8rem; opacity: .7; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side-card { flex: 1; }
.hero-side-card .hero-overlay h3 { font-size: 1rem; font-weight: 700; margin-top: 6px; }

/* Category Badges */
.category-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge-espectaculos { background: var(--primary); color: white; }
.badge-chismes { background: #8b5cf6; color: white; }
.badge-virales { background: #06b6d4; color: white; }
.badge-musica { background: #f59e0b; color: white; }

/* Sections */
.section { padding: 40px 0; }
.section-dark { background: var(--dark); color: white; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--primary); }
.section-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 800; }
.section-dark .section-header { border-bottom-color: var(--gold); }
.section-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Article Cards */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card a { display: block; }
.article-img { position: relative; height: 200px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-img img { transform: scale(1.08); }
.article-img .category-badge { position: absolute; top: 12px; left: 12px; }
.article-body { padding: 16px; }
.article-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-body p { font-size: 0.85rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; font-size: 0.75rem; color: var(--text-light); }

/* Article List */
.articles-list { display: flex; flex-direction: column; gap: 16px; }
.article-list-item a { display: flex; gap: 16px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.article-list-item:hover a { transform: translateX(4px); }
.article-list-item img { width: 200px; height: 140px; object-fit: cover; flex-shrink: 0; }
.article-list-item div { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.article-list-item h3 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.article-list-item p { font-size: 0.85rem; color: var(--text-light); }

/* Trending */
.trending-grid { display: flex; flex-direction: column; gap: 12px; }
.trending-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--dark-light); border-radius: var(--radius); transition: background .2s; }
.trending-item:hover { background: rgba(255,255,255,.1); }
.trending-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold); min-width: 48px; text-align: center; }
.trending-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.trending-item a { color: white; }
.trending-item a:hover { color: var(--gold); }
.trending-views { font-size: 0.8rem; color: var(--text-light); }

/* Footer */
.footer { background: var(--dark); color: #94a3b8; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer-subtitle { color: white; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.9rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social a { color: #94a3b8; font-size: 0.9rem; transition: color .2s; }
.footer-social a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--dark-light); padding-top: 20px; text-align: center; font-size: 0.8rem; }
.footer-bottom p { margin-bottom: 4px; }

/* Article Page */
.article-page { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-page h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.article-page .article-hero { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.article-page .article-info { display: flex; gap: 16px; align-items: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-page .article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-page .article-content p { margin-bottom: 20px; }
.article-page .article-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin: 32px 0 16px; }
.article-page .article-content blockquote {
    position: relative;
    border-left: 5px solid var(--primary);
    padding: 28px 32px 28px 48px;
    background: linear-gradient(135deg, rgba(225,29,72,.06), rgba(139,92,246,.04));
    margin: 32px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.7;
    font-family: 'Playfair Display', serif;
    box-shadow: inset 0 0 0 1px rgba(225,29,72,.08);
}
.article-page .article-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.25;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.article-page .article-content blockquote p { margin-bottom: 8px; color: var(--dark); }
.article-page .article-content blockquote p:last-child { margin-bottom: 0; }
/* Inline quotes within paragraphs */
.article-page .article-content em {
    color: #1e293b;
}
/* Instagram embeds */
.article-page .article-content .instagram-embed {
    max-width: 540px;
    margin: 32px auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.article-page .article-content iframe[src*="instagram"] {
    max-width: 100%;
    margin: 24px auto;
    display: block;
}

.article-tags span { background: var(--bg); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; color: var(--text-light); border: 1px solid var(--border); }
.related-articles { margin-top: 48px; }
.related-articles h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; color: var(--dark); }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-side { flex-direction: row; }
    .hero-side-card { min-height: 200px; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .article-list-item a { flex-direction: column; }
    .article-list-item img { width: 100%; height: 180px; }
    .menu-toggle { display: block; }
    .nav { display: none; }
    .nav-open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-link { border-bottom: 1px solid rgba(255,255,255,.1); }
    .hero-main .hero-overlay h2 { font-size: 1.3rem; }
    .article-page h1 { font-size: 1.6rem; }
    .article-page .article-hero { height: 250px; }
}

@media (max-width: 480px) {
    .hero-side { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .header-top { display: none; }
}
