/* ==================== THAT'S CULT PAGE ==================== */
.thats-cult-page {
    padding: 0 0 80px 0;
    background: #fff;
    min-height: 100vh;
}

.thats-cult-page .container {
    max-width: 1400px;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Page Hero */
.page-hero {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 60px;
    border-bottom: 3px solid #000;
    position: relative;
    overflow: hidden;
    background-color: #FFD700;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay: amarillo con letras negras cuando NO hay imagen */
.page-hero-overlay {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Con imagen: overlay semitransparente */
.page-hero.has-image .page-hero-overlay {
    background: rgba(0, 0, 0, 0.45);
}

/* Títulos: negros por defecto, blancos con imagen */
.page-hero h1,
.page-hero-overlay h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-hero.has-image h1,
.page-hero.has-image .page-hero-overlay h1 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.page-hero.has-image .hero-subtitle {
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Filters */
.cult-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;
}

.filter-btn:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #000;
}

.filter-btn.active {
    background: #FFD700;
    border-color: #000;
    color: #000;
}

/* Posts Grid */
.cult-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.cult-post-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}

.cult-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    border-color: #111;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Post Image */
.cult-post-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #000;
}

.cult-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cult-post-card:hover .cult-post-image img {
    transform: scale(1.15);
}

.cult-post-image.no-image {
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cult-post-image .placeholder {
    text-align: center;
}

.cult-post-image .placeholder span {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.cult-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cult-post-card:hover .cult-post-overlay {
    opacity: 1;
}

.cult-badge-large {
    background: #FFD700;
    color: #000;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid #000;
}

/* Post Content */
.cult-post-content {
    padding: 25px;
}

.cult-post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cult-post-category {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cult-post-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.cult-post-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cult-post-card:hover .cult-post-title {
    color: #000;
}

.cult-post-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cult-post-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cult-post-author,
.cult-post-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.cult-post-author svg,
.cult-post-read-time svg {
    opacity: 0.7;
}

/* Pagination */
.cult-pagination {
    margin-top: 60px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    min-width: 50px;
}

.pagination-wrapper .page-numbers:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #000;
}

.pagination-wrapper .page-numbers.current {
    background: #FFD700;
    border-color: #000;
    color: #000;
}

.pagination-wrapper .page-numbers.dots {
    border: none;
    background: transparent;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-wrapper .page-numbers svg {
    width: 16px;
    height: 16px;
}

/* No Posts */
.no-posts {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.no-posts-content {
    text-align: center;
    max-width: 500px;
}

.no-posts h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.no-posts p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.back-home-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.back-home-btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cult-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .thats-cult-page {
        padding: 0 0 60px 0;
    }

    .page-hero {
        margin-top: 60px;
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cult-filters {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .cult-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cult-post-image {
        height: 220px;
    }
    
    .cult-post-title {
        font-size: 1.2rem;
    }
    
    .pagination-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .page-hero {
        margin-top: 55px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cult-post-content {
        padding: 20px;
    }
    
    .cult-post-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .no-posts h2 {
        font-size: 1.8rem;
    }
}