/*
 * Custom styles for Bootstrap 5.2 Blog template
 */

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333333;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .blog-header-logo {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.blog-header {
    border-bottom: 1px solid #e5e5e5;
    line-height: 1;
}

.blog-header-logo {
    font-size: 2.25rem;
    color: #212529;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.blog-header-logo:hover {
    color: #0d6efd;
    text-decoration: none;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .95rem;
    color: #495057;
    font-weight: 500;
}

.nav-scroller .nav-link:hover,
.nav-scroller .nav-link.active {
    color: #0d6efd;
}

.blog-post {
    margin-bottom: 3.5rem;
}

.blog-post-title {
    margin-bottom: .35rem;
    font-size: 2.25rem;
    font-weight: 700;
}

.blog-post-title a {
    color: #212529;
    text-decoration: none;
}

.blog-post-title a:hover {
    color: #0d6efd;
}

.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #6c757d;
    font-size: .9rem;
}

.blog-post-meta a {
    color: #495057;
    text-decoration: none;
}

.blog-post-content {
    line-height: 1.75;
    font-size: 1.05rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

.blog-post-content blockquote {
    padding-left: 1rem;
    border-left: 4px solid #0d6efd;
    color: #495057;
    font-style: italic;
    margin: 1.5rem 0;
}

.blog-pagination {
    margin-bottom: 3rem;
}

.blog-footer {
    padding: 2.5rem 0;
    color: #6c757d;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    margin-top: 4rem;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

.card-post {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}
