/* ============================================
   Estilei Theme — Additional Component Styles
   ============================================ */

.estilei-post-card {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.estilei-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.estilei-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.estilei-post-card .content {
    padding: 1.5rem;
}

.estilei-post-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--estilei-black);
    margin-bottom: 0.5rem;
}

.estilei-post-card h2 a {
    transition: color 0.2s;
}

.estilei-post-card h2 a:hover {
    color: var(--estilei-primary);
}

.estilei-post-card .excerpt {
    color: #71717a;
    font-size: 0.875rem;
    line-height: 1.6;
}

.estilei-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-bottom: 0.75rem;
}

.estilei-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.estilei-pagination a,
.estilei-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.estilei-pagination a {
    background: #fff;
    border: 1px solid #e4e4e7;
    color: #52525b;
}

.estilei-pagination a:hover {
    border-color: var(--estilei-primary);
    color: var(--estilei-primary);
}

.estilei-pagination .current {
    background: var(--estilei-primary);
    color: #fff;
    border: 1px solid var(--estilei-primary);
}

.estilei-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 4rem 1.5rem;
}

.estilei-404 h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--estilei-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.estilei-404 p {
    color: #71717a;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.estilei-search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 24rem;
    margin: 0 auto 3rem;
}

.estilei-search-form input {
    flex: 1;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.estilei-search-form input:focus {
    border-color: var(--estilei-primary);
}

.estilei-search-form button {
    background: var(--estilei-primary);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.estilei-search-form button:hover {
    background: var(--estilei-primary-dark);
}
