/* ==========================================================================
   Blog Index Styles - Elegant Digital Invitation
   ========================================================================== */

.blog-header {
    background: linear-gradient(135deg, rgba(139, 30, 63, 0.06) 0%, rgba(212, 175, 55, 0.08) 100%), #FDF8F3;
    padding: 60px 0 45px;
    border-bottom: 1px solid rgba(139, 30, 63, 0.08);
    position: relative;
}

.blog-header .badge-tag {
    display: inline-block;
    background: rgba(139, 30, 63, 0.1);
    color: var(--maroon);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--maroon-dark);
    margin-bottom: 12px;
}

.blog-header p {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 500;
}

.featured-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 30, 63, 0.08);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 30, 63, 0.12);
}

.featured-img-container {
    min-height: 280px;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-img-container img {
    transform: scale(1.04);
}

.featured-content {
    padding: 35px 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(139, 30, 63, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(139, 30, 63, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-thumb {
    height: 190px;
    background: linear-gradient(135deg, #f7ece9 0%, #f0ded6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.blog-card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-thumb i.placeholder-icon {
    font-size: 3rem;
    color: var(--maroon);
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.category-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--maroon);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-meta span {
    margin-right: 12px;
}

.blog-meta i {
    color: var(--gold);
    margin-right: 4px;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--maroon);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 500;
    flex-grow: 1;
}

.read-more-link {
    color: var(--maroon);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.read-more-link:hover {
    color: var(--maroon-dark);
    gap: 10px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
    border: 1px solid rgba(139, 30, 63, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.widget-title:after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    bottom: 0;
    left: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.category-list a:hover, .category-list a.active {
    color: var(--maroon);
    font-weight: 700;
}

.category-list .badge {
    background-color: rgba(139, 30, 63, 0.08);
    color: var(--maroon);
    font-weight: 600;
    font-size: 0.75rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    color: white;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
}

.cta-box h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.btn-gold {
    background-color: var(--gold);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.custom-pagination nav svg {
    width: 18px;
    height: 18px;
}

.custom-pagination nav .flex {
    justify-content: center;
}
