/* General Body Style for the blog*/
body {
    background-color: #f4f4f4;
    line-height: 1.6;
}

.blog_header {
    font-size: 36px;
    color: #1E3A61; 
    margin-bottom: 20px;
    text-align: center;
}

/* Image Container Style */
.image-container {
    width: 100%;
    height: 250px;
    max-width: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.image-style-publication {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Style */
.card {
    --border-radius: 12px;
    --secondary-color: #1E3A61;
    max-width: 90%;
    padding: 1.5rem;
    margin: 20px auto;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.1);
}

/* Title and Content Styling */
.card-para {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding-left: 1rem;
}

.card__title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.card__content {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.card__date {
    font-size: 0.9rem;
    color: #888;
}

/* Arrow and Interaction Styles */
.card__arrow {
    background-color: var(--primary-color);
    padding: 0.6rem;
    border-radius: 50%;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__arrow svg {
    transition: transform 0.3s ease;
}

.card:hover .card__arrow {
    background-color: var(--secondary-color);
}

.card:hover .card__arrow svg {
    transform: translateX(5px);
}

/* Responsive Grid for Smaller Screens */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
        max-width: 95%;
        padding: 1rem;
    }

    .image-container {
        max-width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }

    .card__title {
        font-size: 1.4rem;
    }

    .card__content {
        font-size: 0.95rem;
    }

    .card__date {
        font-size: 0.85rem;
    }

    .card__arrow {
        bottom: 1rem;
        right: 1rem;
    }
}
