/* ============================================
   BLOGS PAGE STYLES — Professional Redesign
   ============================================ */

/* Hero Section — matches events-hero from style.css */
.blog-hero {
    /* Uses .events-hero from style.css for gradient/pattern */
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    color: #ffe6d6;
    margin-top: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: 520px;
    line-height: 1.6;
}

/* Newsroom Section */
.newsroom-section {
    background-color: #f7f3eb;
    padding: 80px 20px;
}

.newsroom-header {
    text-align: left;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.newsroom-title {
    font-size: 32px;
    font-weight: 700;
    color: #2b2c52;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.newsroom-divider {
    width: 60px;
    height: 3px;
    background: #bb2a1d;
    margin-top: 12px;
}

/* Blog Grid */
.newsroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Blog Card — Sharp, Professional
   ============================================ */
.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #bb2a1d;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    pointer-events: none;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    pointer-events: none;
}

.blog-card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2c3e;
    margin: 0;
    line-height: 1.45;
    letter-spacing: -0.2px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.25s ease;
}

.blog-card:hover h3 {
    color: #bb2a1d;
}

/* Card Meta — SVG Icons */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #8a8a8a;
}

.blog-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: #bb2a1d;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-date,
.blog-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Excerpt */
.blog-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Read More */
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bb2a1d;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef0f3;
    pointer-events: none;
    transition: gap 0.25s ease;
    text-decoration: none;
}

.read-more-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.blog-card:hover .read-more-link {
    gap: 10px;
}

.blog-card:hover .read-more-link svg {
    transform: translateX(3px);
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 56px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.view-more-btn {
    background-color: transparent;
    color: #1a2c3e;
    border: 2px solid #1a2c3e;
    padding: 12px 36px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.view-more-btn:hover {
    background-color: #1a2c3e;
    color: #fff;
}

.view-more-btn i {
    transition: transform 0.25s ease;
    font-size: 11px;
}

.view-more-btn:hover i {
    transform: translateY(2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    color: #2b2c52;
    margin-bottom: 8px;
}

.empty-state p {
    color: #999;
}

/* Responsive — Blog Listing */
@media (max-width: 1024px) {
    .newsroom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .newsroom-section {
        padding: 56px 16px;
    }

    .newsroom-title {
        font-size: 26px;
    }

    .newsroom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-card-content h3 {
        font-size: 15px;
    }

    .view-more-btn {
        padding: 10px 28px;
        font-size: 12px;
    }
}/* ============================================
   Blog Detail Page Styles
   ============================================ */

/* Container */
.blog-detail .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.85rem;
    margin: 1.5rem 0 2rem;
    color: #8a8a8a;
    letter-spacing: 0.2px;
}
.breadcrumb a {
    color: #bb2a1d;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #1a2c3e;
    text-decoration: underline;
}

/* Blog Dashboard Grid */
.blog-dashboard {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Main Content Area */
.blog-main {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    overflow: hidden;
}

.blog-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #eef0f3;
}

.blog-detail .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: #8a8a8a;
}

.blog-category {
    background: #bb2a1d;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
}

.blog-detail .blog-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 1rem 0 0.5rem;
    color: #1a2c3e;
}

.blog-lead {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #4a5568;
    margin: 1rem 0 0;
}

/* Featured Image in detail */
.blog-detail .featured-image {
    padding: 0 2.5rem;
    margin: 1.5rem 0;
    overflow: visible;
    border-radius: 0;
}
.blog-detail .featured-image img {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
}

/* Article Content */
.blog-article {
    padding: 1.5rem 2.5rem 2.5rem;
}
.blog-article h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1a2c3e;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.blog-article p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
    color: #2d3748;
}
.blog-article strong {
    color: #bb2a1d;
}
.blog-article blockquote {
    border-left: 3px solid #bb2a1d;
    background: #fafafa;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0;
    color: #4a5568;
}
.blog-side-highlight {
    background: #fffbf5;
    border-left: 3px solid #e67e22;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0;
}
.blog-checklist {
    list-style: none;
    padding-left: 0;
}
.blog-checklist li {
    margin-bottom: 0.75rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}
.blog-checklist li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border: 2px solid #bb2a1d;
    background: transparent;
}
.conclusion {
    background: #f4f7fb;
    padding: 1.2rem 1.5rem;
    border-radius: 0;
    font-weight: 500;
    margin: 1.5rem 0;
    border-left: 3px solid #1a2c3e;
}

/* Back link */
.blog-back-link {
    margin-top: 2rem;
    text-align: left;
}
.blog-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid #1a2c3e;
    padding: 0.5rem 1.2rem;
    border-radius: 0;
    text-decoration: none;
    color: #1a2c3e;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.blog-back-link a:hover {
    background: #1a2c3e;
    color: #fff;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sidebar-card {
    background: #fff;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    border: none;
    border-top: 3px solid #bb2a1d;
}
.sidebar-card h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eef0f3;
    display: block;
    color: #1a2c3e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}
.author-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.author-info img {
    width: 56px;
    height: 56px;
    border-radius: 0;
    object-fit: cover;
}
.author-info p {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0.3rem 0 0;
    color: #4a5568;
}

/* Tag list */
.tag-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tag-list li a {
    display: inline-block;
    background: #f4f5f7;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.78rem;
    text-decoration: none;
    color: #1a2c3e;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e8eaed;
}
.tag-list li a:hover {
    background: #bb2a1d;
    color: white;
    border-color: #bb2a1d;
}

/* Recent posts */
.recent-posts {
    list-style: none;
    padding-left: 0;
}
.recent-posts li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #eef0f3;
    padding-bottom: 0.8rem;
}
.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.recent-posts li a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    transition: color 0.2s;
    line-height: 1.45;
}
.recent-posts li a:hover {
    color: #bb2a1d;
}

/* Newsletter in sidebar */
.newsletter-card p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: #666;
}
.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.sidebar-newsletter input {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 0.88rem;
}
.sidebar-newsletter input:focus {
    outline: none;
    border-color: #bb2a1d;
}
.sidebar-newsletter button {
    background: #bb2a1d;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.sidebar-newsletter button:hover {
    background: #9a1f15;
}

/* Responsive — Detail Pages */
@media (max-width: 1024px) {
    .blog-dashboard {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        order: 2;
    }

    .blog-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .blog-detail .blog-title {
        font-size: 1.7rem;
    }

    .blog-header,
    .blog-detail .featured-image,
    .blog-article {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .blog-lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .blog-detail .blog-title {
        font-size: 1.4rem;
    }

    .blog-detail .blog-meta {
        font-size: 0.72rem;
    }

    .blog-header,
    .blog-detail .featured-image,
    .blog-article {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}