/* ============================================
   Anteng México — Estilos del Blog y páginas interiores
   Complementa /styles.css
   ============================================ */

.page-interior {
    padding-top: 84px; /* header fijo */
    background: #fff;
}

.container-narrow {
    max-width: 820px;
    margin: 0 auto;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
    font-size: 0.85rem;
    color: #888;
    padding: 18px 0 8px;
}
.breadcrumbs a { color: #C62828; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 4px; }

/* ---- Artículo ---- */
.article-page { padding-bottom: 40px; }
.article-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.25;
    margin: 10px 0 12px;
    color: #1a1a1a;
}
.article-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.article-hero-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 26px;
}
.article-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}
.article-content h2 { margin: 32px 0 14px; font-size: 1.5rem; color: #1a1a1a; }
.article-content h3 { margin: 26px 0 12px; font-size: 1.2rem; color: #1a1a1a; }
.article-content p { margin: 0 0 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.article-content a { color: #C62828; }
.article-content table {
    width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem;
}
.article-content th, .article-content td {
    border: 1px solid #e2e2e2; padding: 10px 12px; text-align: left;
}
.article-content th { background: #f7f7f7; }
.article-content blockquote {
    border-left: 4px solid #C62828; margin: 18px 0; padding: 8px 18px;
    background: #faf5f5; border-radius: 0 8px 8px 0; color: #555;
}
.article-infographic { margin: 26px 0; text-align: center; }
.article-infographic img { max-width: 100%; border-radius: 12px; }

/* ---- FAQ ---- */
.article-faq { margin-top: 36px; }
.article-faq h2 { font-size: 1.5rem; margin-bottom: 16px; }
.article-faq details {
    border: 1px solid #e5e5e5; border-radius: 10px;
    padding: 14px 18px; margin-bottom: 10px; background: #fafafa;
}
.article-faq summary {
    font-weight: 600; cursor: pointer; color: #1a1a1a;
}
.article-faq details[open] summary { color: #C62828; margin-bottom: 8px; }
.article-faq p { margin: 0; color: #444; line-height: 1.6; }

/* ---- Índice del blog ---- */
.blog-index { padding-bottom: 50px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
    margin-top: 30px;
}
.blog-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #ececec; border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}
.blog-card-img { height: 200px; overflow: hidden; background: #f4f4f4; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.blog-card-date { font-size: 0.8rem; color: #999; }
.blog-card-body h2 { font-size: 1.1rem; line-height: 1.35; color: #1a1a1a; margin: 0; }
.blog-card-body p { font-size: 0.92rem; color: #666; line-height: 1.55; margin: 0; }
.blog-card-more { color: #C62828; font-size: 0.88rem; font-weight: 600; margin-top: auto; }

/* ---- CTA compacto ---- */
.cta-compact { padding: 46px 0; text-align: center; }
.cta-compact h2 { margin-bottom: 8px; }
.cta-compact p { margin-bottom: 20px; opacity: 0.9; }

/* ---- Página de producto ---- */
.product-hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: center; padding: 30px 0 10px;
}
.product-hero-img img {
    width: 100%; border-radius: 14px; background: #f6f6f6;
    object-fit: contain; max-height: 420px;
}
.product-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 8px 0 14px; }
.product-hero .lead { font-size: 1.08rem; color: #444; line-height: 1.7; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.product-badges span {
    background: #faf0f0; color: #C62828; font-size: 0.82rem; font-weight: 600;
    padding: 6px 12px; border-radius: 20px;
}
.product-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.product-section { padding: 34px 0 10px; }
.product-section h2 { font-size: 1.5rem; margin-bottom: 14px; }
.product-section p { line-height: 1.7; color: #3a3a3a; margin-bottom: 14px; }
.modelos-tabla { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 0.95rem; }
.modelos-tabla th, .modelos-tabla td { border: 1px solid #e2e2e2; padding: 10px 14px; text-align: left; }
.modelos-tabla th { background: #C62828; color: #fff; }
.modelos-tabla tr:nth-child(even) { background: #fafafa; }

.related-products { padding: 30px 0 50px; }
.related-products h2 { font-size: 1.4rem; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.related-grid a {
    display: block; padding: 16px 18px; border: 1px solid #ececec; border-radius: 12px;
    text-decoration: none; color: #1a1a1a; font-weight: 600; font-size: 0.95rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.related-grid a:hover { border-color: #C62828; color: #C62828; }

@media (max-width: 780px) {
    .page-interior { padding-top: 72px; }
    .product-hero { grid-template-columns: 1fr; gap: 22px; }
}
