/* ===== COMMON ===== */
.kf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}
.kf-section-header {
    margin-bottom: 48px;
    text-align: center;
}
.kf-section-en {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .24em;
    color: #777;
}
.kf-section-title {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
    color: #222;
}
.kf-section-lead {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #777;
}
.kf-loading,
.kf-empty {
    grid-column: 1 / -1;
    padding: 50px 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: #999;
}
/* ===== FACEBOOK / FARM DIARY ===== */
.kf-diary {
    padding: 90px 0;
    background: #f7f7f3;
}
.kf-diary-list {
    display: flex;
    flex-direction: column;
    max-width: 1050px;
    margin: 0 auto;
    background: #fff;
    border-top: 1px solid #e5e5df;
}
.kf-diary-card {
    border-bottom: 1px solid #e5e5df;
}
.kf-diary-link {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 220px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    transition: background .25s ease;
}
.kf-diary-link:hover {
    background: #fafaf7;
}
.kf-diary-image {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    background: #eee;
}
.kf-diary-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.kf-diary-link:hover .kf-diary-image img {
    transform: scale(1.035);
}
.kf-diary-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 40px;
}
.kf-diary-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}
.kf-diary-date {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .08em;
    color: #999;
}
.kf-diary-category {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .08em;
    color: #777;
}
.kf-diary-title {
    margin: 0 0 13px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .03em;
    color: #222;
}
.kf-diary-text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.9;
    color: #666;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.kf-diary-read {
    margin-top: 17px;
    font-size: 11px;
    letter-spacing: .08em;
    color: #777;
}
.kf-diary-read span {
    display: inline-block;
    margin-left: 8px;
    transition: transform .25s ease;
}
.kf-diary-link:hover .kf-diary-read span {
    transform: translateX(5px);
}
/* ===== INSTAGRAM ===== */
.kf-instagram {
    padding: 90px 0 100px;
    background: #fff;
}
.kf-instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}
.kf-instagram-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eee;
}
.kf-instagram-link {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
    text-decoration: none;
}
.kf-instagram-image {
    position: absolute;
    inset: 0;
}
.kf-instagram-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.kf-instagram-card:hover .kf-instagram-image img {
    transform: scale(1.06);
}
.kf-instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 48%, rgba(0,0,0,0) 75%);
    opacity: 0;
    transition: opacity .35s ease;
}
.kf-instagram-card:hover .kf-instagram-overlay {
    opacity: 1;
}
.kf-instagram-date {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: .08em;
    color: rgba(255,255,255,.82);
}
.kf-instagram-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.kf-reel-label {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 3px;
    background: rgba(0,0,0,.70);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .10em;
}
/* ===== MORE BUTTON ===== */
.kf-section-more {
    margin-top: 48px;
    text-align: center;
}
.kf-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 240px;
    padding: 15px 28px;
    box-sizing: border-box;
    border: 1px solid #333;
    border-radius: 40px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .08em;
    transition: background .25s ease, color .25s ease;
}
.kf-more-button:hover {
    background: #333;
    color: #fff;
}
.kf-more-button span {
    display: inline-block;
    transition: transform .25s ease;
}
.kf-more-button:hover span {
    transform: translateX(5px);
}
/* ===== TABLET ===== */
@media (max-width: 900px) {
    .kf-diary-link {
        grid-template-columns: 260px minmax(0, 1fr);
    }
    .kf-diary-content {
        padding: 25px 28px;
    }
}
/* ===== SMARTPHONE ===== */
@media (max-width: 600px) {
    .kf-container {
        padding: 0 15px;
    }
    .kf-diary,
    .kf-instagram {
        padding-top: 60px;
        padding-bottom: 65px;
    }
    .kf-section-header {
        margin-bottom: 30px;
    }
    .kf-section-title {
        font-size: 25px;
    }
    .kf-section-lead {
        font-size: 13px;
    }
    .kf-diary-link {
        display: block;
        min-height: 0;
    }
    .kf-diary-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .kf-diary-content {
        padding: 22px 20px 25px;
    }
    .kf-diary-title {
        font-size: 17px;
    }
    .kf-diary-text {
        -webkit-line-clamp: 2;
    }
    .kf-instagram-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }
    .kf-instagram-overlay {
        padding: 12px;
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,0) 58%);
    }
    .kf-instagram-date {
        display: none;
    }
    .kf-instagram-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    .kf-reel-label {
        top: 8px;
        right: 8px;
        padding: 5px 7px;
        font-size: 8px;
    }
    .kf-section-more {
        margin-top: 35px;
    }
}
