/* =================================================
   HERO BLOGA (aurora-hero-split-header) — home.php
   Te klasy są współdzielone z single-post.css, ale na liście wpisów
   (home.php) wczytuje się tylko blog.css, więc hero był bez ŻADNEGO
   stylu (stąd siatka 2-kolumnowa nie działała, a obrazek renderował się
   w swoim natywnym rozmiarze pliku z pustą przestrzenią po prawej).
================================================= */
.aurora-hero-split-header {
    padding: 90px 0 110px;
    background: linear-gradient(180deg, #f8fafc 0%, #f59e0b40 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-grid-split {
        grid-template-columns: 5fr 7fr;
        align-items: center;
    }
}

.hero-label-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: #ffffff;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--aurora-accent);
    box-shadow: var(--aurora-shadow-sm);
    margin-bottom: 18px;
}

.blog-hero .entry-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--aurora-navy);
    line-height: 1.1;
    margin: 0 0 18px;
}

.blog-hero .hero-description {
    font-size: 1.05rem;
    color: var(--aurora-slate);
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}

.aurora-featured-image-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, .1);
    border: 1px solid rgba(255, 255, 255, .5);
}

.aurora-featured-image-box img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.aurora-featured-image-box:hover img { transform: scale(1.04); }

.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.placeholder-crystal-bg {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--aurora-gradient);
}

.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-wave-bottom svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .hero-image-wrapper { order: -1; }
}

/* --- AURORA BLOG GRID SYSTEM --- */
.aurora-blog-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 40px 30px;
    margin-bottom: 60px;
}

/* Tablet: 2 kolumny */
@media (min-width: 768px) {
    .aurora-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 kolumny */
@media (min-width: 1024px) {
    .aurora-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- AURORA POST CARD --- */
.aurora-post-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aurora-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Zdjęcie i Kategoria */
.post-card-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.aurora-post-card:hover .post-card-image img {
    transform: scale(1.08);
}

.post-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.post-card-category a {
    background: #f59e0b;
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FFF;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Body karty */
.post-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-meta {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.post-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.post-card-title a {
    color: var(--aurora-dark);
    text-decoration: none;
}

.post-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.post-card-link {
    margin-top: auto;
    color: #f59e0b!important;
    font-weight: 700;
    color: var(--aurora-indigo);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: gap 0.3s;
}

.post-card-link:hover {
    gap: 12px;
}

/* --- PAGINACJA --- */
.aurora-pagination-wrap .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.aurora-pagination-wrap .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f1f5f9;
    color: var(--aurora-dark);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.aurora-pagination-wrap .page-numbers.current {
    background: var(--aurora-indigo);
    color: #fff;
    border-color: var(--aurora-indigo);
}

.aurora-pagination-wrap .page-numbers:hover:not(.current) {
    border-color: var(--aurora-indigo);
    color: var(--aurora-indigo);
}