/* Your custom styles */
.single .content figure figcaption.image-caption {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    text-align: center;
    margin-top: 0.6rem;
    line-height: 1.4;
    display: block;
}

/* Home page post summary thumbnail layout */
.summary-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.summary-content {
    flex: 1;
}

.home[data-home=posts] .summary .featured-image-preview {
    width: 150px;
    height: 150px;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.home[data-home=posts] .summary .featured-image-preview img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media only screen and (max-width: 680px) {
    .summary-wrapper {
        gap: 1rem;
    }
    .home[data-home=posts] .summary .featured-image-preview {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width: 480px) {
    .summary-wrapper {
        align-items: center;
    }
    .home[data-home=posts] .summary .featured-image-preview {
        width: 80px;
        height: 80px;
    }
}
