/* =========================================
   Blog Feature Styles
   ========================================= */

/* Homepage Section: Market Trends */
.latest-trends-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    /* Match Company Profile padding */
    /* Center content vertically with equal padding */
}

.latest-trends-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.latest-trends-section .section-description {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2rem;
    /* Match Company Profile margin */
}

/* Glow Button */
.btn-glow {
    background-color: #2563eb;
    /* Primary Blue */
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    border: 2px solid transparent;
}

.btn-glow:hover {
    background-color: white;
    color: #2563eb;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.8);
    transform: translateY(-2px);
}

/* Blog Page Styles */

/* Horizontal Blog Card Design */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
    max-width: 900px;
    /* Constrain width for list view */
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
    min-height: 240px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    /* Accent border on hover */
}

.blog-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 40%;
    /* Fixed width for image side */
    min-width: 300px;
}

.blog-img {
    height: 100%;
    width: 100%;
    background-color: #f1f5f9;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    /* Left align on image */
    right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 6px;
    /* Squarer badge */
    font-size: 0.75rem;
    font-weight: 700;
    color: #0b1120;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-date-badge i {
    color: #d97706;
}

.blog-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.blog-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
    font-size: 1.05rem;
}

.card-footer {
    border-top: none;
    /* Clean look */
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.read-more-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2563eb;
    /* Blue action color */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.blog-card:hover .read-more-text {
    color: #1e40af;
    letter-spacing: 1px;
}

.icon-circle {
    display: none;
    /* Hide icon circle for this layout, simple text link is cleaner or just arrow */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .blog-card {
        flex-direction: column;
        min-height: auto;
    }

    .blog-img-wrapper {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }

    .blog-content {
        width: 100%;
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.5rem;
    }
}