:root {
    --orange: #ff5100;
    --orange-hover: #e64900;
    --black: #111111;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --white: #ffffff;
}

body { background: var(--white); color: var(--text); }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 5px 0;
    margin-top: 107px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 10px; color: #d1d5db; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 60px 0 52px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.page-hero-text .section-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    display: block;
    margin-bottom: 12px;
}

.page-hero-text h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.7px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-hero-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.hero-stat {
    text-align: right;
    flex-shrink: 0;
}

.hero-stat .num {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .num span { color: var(--orange); }

.hero-stat .lbl {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===== FILTROS ===== */
.filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 107px;
    z-index: 100;
}

.filters-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filters-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 4px;
    white-space: nowrap;
}

.filter-btn {
    padding: 7px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

/* ===== WRAPPER ===== */
.blog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 30px 80px;
}

/* ===== FEATURED POST ===== */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 56px;
    text-decoration: none;
    transition: all 0.25s;
    background: var(--white);
}

.featured-post:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-color: #d1d5db;
    transform: translateY(-3px);
}

.featured-img {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: var(--bg);
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-post:hover .featured-img img { transform: scale(1.04); }

.featured-img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #d1d5db;
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 14px;
}

.featured-body h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
    transition: color 0.2s;
}

.featured-post:hover .featured-body h2 { color: var(--orange); }

.featured-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.featured-meta span { display: flex; align-items: center; gap: 5px; }
.featured-meta i { font-size: 12px; color: #d1d5db; }

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--orange);
    transition: gap 0.2s;
}

.featured-post:hover .featured-cta { gap: 10px; }

/* ===== GRID POSTS ===== */
.posts-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
}

.post-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    border-color: #d1d5db;
    transform: translateY(-3px);
}

.post-img {
    height: 190px;
    background: var(--bg);
    overflow: hidden;
    position: relative;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-img img { transform: scale(1.05); }

.post-img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #d1d5db;
}

.post-img .destacado-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-body { padding: 20px; }

.post-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--orange);
    background: rgba(255, 81, 0, 0.07);
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 11px;
}

.post-body h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.post-card:hover .post-body h3 { color: var(--orange); }

.post-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.post-footer-left { display: flex; align-items: center; gap: 12px; }
.post-footer-left span { display: flex; align-items: center; gap: 4px; }
.post-footer-left i { font-size: 11px; color: #d1d5db; }

.read-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.post-card:hover .read-more { gap: 7px; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state i { font-size: 3.5rem; color: #d1d5db; display: block; margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.empty-state a { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .featured-post { grid-template-columns: 1fr; }
    .featured-img { height: 240px; }
    .featured-body { padding: 28px 24px; }
}

@media (max-width: 768px) {
    .breadcrumb-bar { margin-top: 95px; }
    .filters-bar { top: 95px; }
    .page-hero { padding: 40px 0 36px; }
    .page-hero-inner, .filters-inner, .blog-wrapper { padding-left: 20px; padding-right: 20px; }
    .posts-grid { grid-template-columns: 1fr; }
    .blog-wrapper { padding-top: 32px; }
}
