/* ============================================================
   BLOGS — Listing Page & Inner Page Styles
   ============================================================ */

/* ---- HERO ---- */
.blogs-hero {
    position: relative;
    width: 100%;
    height: 340px;
    background: url("/Images/blogs_banner.png") center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.blogs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.28) 60%,
        transparent 100%
    );
}

.blogs-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.blogs-hero-content h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.1;
}

.blogs-hero-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ---- LISTING SECTION ---- */
.blogs-section {
    background: #0c0c0c;
    padding: 56px 0 80px;
}

.blogs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ---- CARD ---- */
.blog-card {
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0 0 12px;
}

.blog-card-summary {
    font-size: 0.875rem;
    color: #bdbdbd;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.blog-card-meta {
    margin-bottom: 18px;
}

.blog-card-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #aaa;
}

.blog-card-date svg {
    flex-shrink: 0;
    color: #c9a86a;
}

.blog-card-btn {
    display: inline-block;
    background: #c9a86a;
    color: #000;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 22px;
    text-align: center;
    letter-spacing: 0.04em;
    transition: background 0.2s ease;
    cursor: pointer;
}

.blog-card:hover .blog-card-btn {
    background: #d4b97a;
}

.blogs-empty {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    font-size: 1rem;
}

/* ============================================================
   INNER BLOG PAGE STYLES
   ============================================================ */
.blog-inner-hero {
    position: relative;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.blog-inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.22) 70%,
        transparent 100%
    );
}

.blog-inner-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 800px;
}

.blog-inner-hero-content .blog-inner-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.blog-inner-hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
}

.blog-inner-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.blog-inner-body p {
    font-size: 1rem;
    line-height: 0.35;
    color: #bdbdbd;
    margin-bottom: 22px;
}

.blog-inner-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #c9a86a;
    text-transform: uppercase;
    margin: 36px 0 14px;
    letter-spacing: 0.02em;
}

.blog-inner-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 26px 0 10px;
}

.blog-inner-body ul,
.blog-inner-body ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

.blog-inner-body ul li,
.blog-inner-body ol li {
    font-size: 1rem;
    line-height: 1.8;
    color: #bdbdbd;
    margin-bottom: 8px;
}

.blog-inner-body .blog-inner-image {
    width: 100%;
    border-radius: 4px;
    margin: 28px 0;
    object-fit: cover;
    max-height: 420px;
}

.blog-inner-body blockquote {
    border-left: 4px solid #c9a86a;
    margin: 28px 0;
    padding: 14px 24px;
    background: #1a1a1a;
    font-style: italic;
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9a86a;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.blog-back-link:hover {
    color: #d4b97a;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blogs-hero-content {
        padding: 0 24px;
    }
    .blog-inner-hero-content {
        padding: 0 24px;
    }
}

@media (max-width: 580px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    .blogs-hero {
        height: 260px;
    }
    .blogs-hero-content h1 {
        font-size: 1.8rem;
    }
    .blog-inner-hero {
        height: 280px;
    }
    .blog-inner-hero-content h1 {
        font-size: 1.4rem;
    }
}
