/* preview on home + listing grid */
.blog-preview-section,
.blog-listing-section,
.blog-details-section {
    position: relative;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card .thumb {
    display: block;
}

.blog-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card .content {
    padding: 18px 18px 20px;
}

.blog-card .meta {
    font-size: 14px;
    color: #6f6f6f;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.blog-card .meta .dot {
    opacity: .5;
}

.blog-card .post-title {
    font-size: 20px;
    margin: 0 0 8px;
}

.blog-card .post-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card .excerpt {
    color: #666;
    margin: 0 0 10px;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

/* details */
.breadcrumb {
    --bs-breadcrumb-divider: '>';
}

.breadcrumb a {
    text-decoration: none;
}

.post-header .post-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.post-header .meta {
    color: #6f6f6f;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.post-content {
    color: #333;
    font-size: 18px;
    line-height: 1.7;
}

.post-content h2 {
    font-size: 24px;
    margin: 24px 0 12px;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-share .share-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f3f3;
    transition: transform .2s ease;
}

.post-share .share-links a:hover {
    transform: translateY(-2px);
}

/* ratios */
.ratio {
    position: relative;
    width: 100%;
}

.ratio-4x3::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.ratio-16x9::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.ratio>* {
    position: absolute;
    inset: 0;
}

/* mobile */
@media (max-width: 667px) {

    .blog-preview-section.pt-90,
    .blog-listing-section.pt-90,
    .blog-details-section.pt-90 {
        padding-top: 60px !important;
    }

    .blog-preview-section.pb-90,
    .blog-listing-section.pb-90,
    .blog-details-section.pb-90 {
        padding-bottom: 60px !important;
    }

    .post-header .post-title {
        font-size: 26px;
    }
}