body {
    font-family: system-ui;
}

.container {
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.btn {
    background:#000;
    color:#fff;
    padding:10px 20px;
}

/* GRID PRO */
.single-grid {
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:40px;
}

/* HEADER */
.article-header {
    margin-bottom:20px;
}

/* TITULO */
.post-title {
    font-size:2.8rem;
    line-height:1.2;
}

/* IMAGEN (CLAVE LCP) */
.featured-image img {
    width:100%;
    height:auto;
    aspect-ratio: 16/9;
    object-fit:cover;
    border-radius:12px;
}

/* CONTENIDO */
.post-content {
    font-size:1.1rem;
    line-height:1.8;
}

/* SHARE */
.share {
    margin-top:40px;
}

.share a {
    display:inline-block;
    width:40px;
    height:40px;
    text-align:center;
    line-height:40px;
    border-radius:50%;
    margin-right:10px;
    color:#fff;
}

.fb { background:#1877f2; }
.tw { background:#000; }
.wa { background:#25d366; }
.ln { background:#0077b5; }

/* SIDEBAR */
.sidebar {
    position:sticky;
    top:100px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .single-grid {
        grid-template-columns:1fr;
    }
}

.toc {
    background:#f8f9fa;
    padding:15px;
    border-radius:10px;
    margin:20px 0;
}

.toc strong {
    display:block;
    margin-bottom:10px;
}

.toc ul {
    list-style:none;
    padding:0;
}

.toc li {
    margin-bottom:5px;
}

.toc a {
    text-decoration:none;
    color:#000;
}

/* HEADER */
.site-header {
    position:sticky;
    top:0;
    background:#fff;
    z-index:999;
    border-bottom:1px solid #eee;
}

.header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.menu {
    display:flex;
    gap:20px;
    list-style:none;
}

.menu a {
    text-decoration:none;
    color:#222;
}

.btn-cta {
    background:#000;
    color:#fff;
    padding:10px 16px;
    border-radius:6px;
}

/* HAMBURGER */
.menu-toggle {
    display:none;
    font-size:24px;
    cursor:pointer;
}

/* FOOTER */
.site-footer {
    background:#111;
    color:#fff;
    margin-top:50px;
}

.footer-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
    padding:40px 0;
}

.footer-bottom {
    text-align:center;
    padding:15px;
    border-top:1px solid #333;
}

/* RESPONSIVE */
@media(max-width:768px){

    .menu {
        display:none;
        flex-direction:column;
        background:#fff;
        position:absolute;
        top:60px;
        right:20px;
        padding:20px;
    }

    .menu.active {
        display:flex;
    }

    .menu-toggle {
        display:block;
    }

    .footer-grid {
        grid-template-columns:1fr;
    }
}

.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background:#f5f5f5;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.widget h3 {
    margin-bottom:10px;
}

.comments-area {
    margin-top:50px;
}

.comments-title {
    font-size:24px;
    margin-bottom:20px;
}

.comment-list {
    list-style:none;
    padding:0;
}

.comment-item {
    margin-bottom:20px;
}

.comment-box {
    display:flex;
    gap:15px;
    background:#f9f9f9;
    padding:15px;
    border-radius:10px;
}

.comment-avatar img {
    border-radius:50%;
}

.comment-meta {
    font-size:14px;
    margin-bottom:5px;
}

.comment-meta span {
    color:#777;
    margin-left:10px;
}

.comment-text {
    margin-bottom:10px;
}

.comment-reply a {
    font-size:13px;
    color:#000;
    text-decoration:none;
}

/* FORMULARIO */
.comment-form-pro textarea,
.comment-form-pro input {
    width:100%;
    padding:10px;
    margin-bottom:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

.comment-form-pro input[type="submit"] {
    background:#000;
    color:#fff;
    border:none;
    cursor:pointer;
}

.share-sticky {
    position: fixed;
    top: 200px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-sticky a {
    background: #000;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
}

.toc-box {
    background: #f5f5f5;
    padding: 15px;
    margin: 30px 0;
    border-radius: 10px;
}

#toc a {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.author-box {
    background: #fafafa;
    padding: 20px;
    margin-top: 40px;
}
/* =========================
   SINGLE PRO (PERIODICO)
========================= */

/* HERO */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CATEGORIA */
.post-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* TITULO MÁS PRO */
.post-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 10px;
}

/* META */
.meta {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* EXCERPT */
.excerpt {
    font-size: 1.05rem;
    color: #475569;
}

/* CONTENIDO MÁS LIMPIO */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.4em;
}

/* SHARE PROFESIONAL */
.share-inline {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    justify-content: center;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.share-btn i {
    font-size: 16px;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* NAV POSTS */
.post-nav {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* COMENTARIOS */
.comments {
    margin-top: 40px;
}

/* MÁS HISTORIAS */
.more-posts {
    margin-top: 60px;
}

.more-posts h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.more-item img {
    width: 100%;
    border-radius: 6px;
}

.more-item h4 {
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.3;
}

/* 🔥 QUITAR COSAS QUE ENSUCIAN */
.share-sticky {
    display: none;
}

.toc-box {
    display: none;
}

/* RESPONSIVE SINGLE */
@media(max-width:768px){

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .post-content {
        max-width: 100%;
    }

    .more-grid {
        grid-template-columns: 1fr;
    }
}