/* Web/static/styles/blog.css */

.blog-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background-color: #fafafa;
}

.blog-hero h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: 0.005em;
}

.blog-hero .tagline {
    font-size: 1.4em;
    color: #6e6e73;
    max-width: 700px;
    margin: 0 auto 20px;
}

.blog-list {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-post-preview {
    margin-bottom: 60px;
    padding-bottom: 30px; /* Add some padding at the bottom */
    border-bottom: 1px solid #e0e0e0; /* Add a subtle border */
    text-align: left;
}

.blog-post-preview:last-child {
    border-bottom: none; /* Remove border from the last post */
    padding-bottom: 0;
    margin-bottom: 0;
}

.blog-post-preview h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.blog-post-preview h2 a {
      color: #000; /*  Black color for the title link */
      text-decoration: none; /* Remove underline */
}
 .blog-post-preview h2 a:hover {
        color: #007aff; /* Apple blue on hover */
}

.blog-post-preview .post-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.blog-post-preview .post-excerpt {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post-preview .read-more {
    display: inline-block; /* Make the link a block-level element */
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;       /* Add some padding */
    border-radius: 8px;     /* Rounded corners */
    transition: background-color 0.3s ease;  /* Smooth transition */
}

.blog-post-preview .read-more:hover {
     background-color: rgba(0, 122, 255, 0.1); /* Light blue background on hover */
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .blog-hero {
        padding: 60px 20px 30px;
    }

    .blog-hero h1 {
        font-size: 2.5em;
    }

    .blog-hero .tagline {
        font-size: 1.2em;
    }

    .blog-list {
        padding: 20px;
    }
      .ac-ln-menu-items {
        flex-direction: column;
        align-items: flex-start;
    }
      .ac-ln-menu-item {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .ac-ln-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .ac-ln-actions {
        margin-left: 0;
        margin-top: 10px;
    }
}