/* ===========================================
   DF Blog Post Fields - 案内ボックス用CSS
   /wp-content/plugins/df-blog-post-fields/assets/post-fields.css
   =========================================== */

/* tighten the gap between the WP post title and our injected content
   (featured image + heading), which is the first thing inside the
   article body */
.article-body > *:first-child {
    margin-top: 0;
}

.article-header + .article-body {
    margin-top: 0;
}

.df-post-footer-center {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.df-post-footer-center .wp-block-image {
    margin: 0;
}

.df-post-footer-center img {
    max-width: 100%;
    height: auto;
}

.df-space-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
}

.df-space-footer-grid .wp-block-image {
    flex: 0 0 calc(25% - 12px);
    max-width: 220px;
    min-width: 120px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .df-space-footer-grid .wp-block-image {
        flex: 0 0 calc(50% - 8px);
    }
}

.df-post-footer-staff {
    margin-top: 28px;
}

.df-post-footer-back-link {
    display: inline-block;
    background: #fff8f0;
    border: 1px solid #ffd9a8;
    border-radius: 6px;
    padding: 8px 18px;
    color: #ff8c00;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.df-post-footer-back-link:hover {
    background: #ffe9cc;
}
