/* Hero */
.newsroom-hero {
    background-color: #111;
    padding: 60px 0;
    text-align: center;
}

.newsroom-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.newsroom-hero-subtitle {
    font-size: 15px;
    color: #999;
    margin: 0;
}

/* Posts Section */
.newsroom-posts {
    padding: 48px 0 60px;
    background-color: #fafafa;
}

.newsroom-empty {
    text-align: center;
    padding: 80px 0;
    color: #aaa;
}

.newsroom-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* Grid: featured first, then cards */
.newsroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Featured Post - spans full width */
.newsroom-featured {
    grid-column: 1 / -1;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.newsroom-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.newsroom-featured-link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    text-decoration: none;
    color: inherit;
    min-height: 320px;
}

.newsroom-featured-img {
    overflow: hidden;
    height: 100%;
}

.newsroom-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.newsroom-featured-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsroom-featured-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 10px 0 14px;
    line-height: 1.4;
}

.newsroom-featured:hover .newsroom-featured-title {
    color: #C4132A;
}

.newsroom-featured-excerpt {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Date */
.newsroom-date {
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Read More */
.newsroom-readmore {
    font-size: 13px;
    font-weight: 600;
    color: #C4132A;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.newsroom-featured:hover .newsroom-readmore,
.newsroom-card:hover .newsroom-readmore {
    gap: 8px;
}

/* Regular Cards */
.newsroom-card {
    border-radius: 14px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.newsroom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #e8e8e8;
}

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

.newsroom-card-img {
    height: 200px;
    overflow: hidden;
}

.newsroom-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.newsroom-card:hover .newsroom-card-img img {
    transform: scale(1.05);
}

.newsroom-card-body {
    padding: 20px;
}

.newsroom-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 8px 0 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsroom-card:hover .newsroom-card-title {
    color: #C4132A;
}

/* Placeholder */
.newsroom-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #ccc;
    font-size: 40px;
}

/* Pagination */
.newsroom-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.newsroom-pagination .pagination {
    gap: 4px;
}

.newsroom-pagination .page-link {
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    color: #555;
    font-size: 14px;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.newsroom-pagination .page-link:hover {
    background-color: #C4132A;
    border-color: #C4132A;
    color: #fff;
}

.newsroom-pagination .page-item.active .page-link {
    background-color: #C4132A;
    border-color: #C4132A;
    color: #fff;
}

/* Blog Show - Hero */
.blogshow-hero {
    position: relative;
    height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blogshow-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(24px);
    transform: scale(1.15);
}

.blogshow-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.blogshow-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.blogshow-hero-date {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blogshow-hero-title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 20px;
    line-height: 1.35;
}

.blogshow-hero-back {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blogshow-hero-back:hover {
    color: #fff;
}

/* Sticky Header */
.blogshow-sticky-header {
    position: sticky;
    top: 52px;
    z-index: 90;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.blogshow-sticky-header.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.blogshow-sticky-header .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blogshow-sticky-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.blogshow-sticky-date {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Blog Show - Article Layout */
.blogshow-article {
    background-color: #fafafa;
    padding: 40px 0 60px;
}

.blogshow-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sticky Sidebar */
.blogshow-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.blogshow-sidebar-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.blogshow-sidebar-img img {
    width: 100%;
    height: auto;
    display: block;
}

.blogshow-sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.blogshow-meta-label {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blogshow-meta-value {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.blogshow-sidebar-action {
    margin-top: 4px;
}

.blogshow-back-link {
    font-size: 13px;
    font-weight: 600;
    color: #C4132A;
    text-decoration: none;
    padding: 8px 20px;
    border: 1.5px solid #C4132A;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-block;
}

.blogshow-back-link:hover {
    background-color: #C4132A;
    color: #fff;
}

/* Content */
.blogshow-content {
    background-color: #fff;
    border-radius: 14px;
    padding: 36px;
    border: 1px solid #f0f0f0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    min-height: 400px;
}

.blogshow-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.blogshow-content h1,
.blogshow-content h2,
.blogshow-content h3 {
    color: #222;
    margin-top: 24px;
    margin-bottom: 12px;
}

.blogshow-content p {
    margin-bottom: 16px;
}

/* Admin styles */
.card {
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    padding: 20px;
}

.show-cover-image img {
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .newsroom-hero {
        padding: 40px 0;
    }

    .newsroom-hero-title {
        font-size: 28px;
    }

    .newsroom-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .newsroom-featured-link {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .newsroom-featured-img {
        height: 220px;
    }

    .newsroom-featured-body {
        padding: 24px;
    }

    .newsroom-featured-title {
        font-size: 18px;
    }

    .newsroom-card-img {
        height: 180px;
    }

    .blogshow-hero {
        height: 260px;
    }

    .blogshow-hero-title {
        font-size: 20px;
    }

    .blogshow-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blogshow-sidebar {
        position: relative;
        top: auto;
    }

    .blogshow-content {
        padding: 24px;
        font-size: 15px;
    }
}
