.rfa-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
}

.rfa-wrapper * {
    box-sizing: border-box;
}

.rfa-layout-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rfa-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rfa-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rfa-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.rfa-image-link {
    display: block;
    margin: -18px -18px 14px;
    text-decoration: none;
}

.rfa-image {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f3f4f6;
}

.rfa-layout-list .rfa-image {
    height: 260px;
}

.rfa-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.rfa-title a {
    color: #1d4ed8;
    text-decoration: none;
}

.rfa-title a:hover {
    text-decoration: underline;
}

.rfa-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.rfa-source::after {
    content: "•";
    margin-left: 8px;
    color: #9ca3af;
}

.rfa-meta .rfa-source:last-child::after {
    content: "";
    margin-left: 0;
}

.rfa-excerpt {
    margin: 0 0 14px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.rfa-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    background: #1d4ed8;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.rfa-read-more:hover {
    background: #1e40af;
    color: #ffffff !important;
}

.rfa-message {
    padding: 14px 16px;
    background: #fff7ed;
    border-left: 4px solid #f97316;
    color: #7c2d12;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .rfa-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rfa-layout-grid {
        grid-template-columns: 1fr;
    }

    .rfa-image-link {
    display: block;
    margin: -18px -18px 14px;
    text-decoration: none;
}

.rfa-image {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f3f4f6;
}

.rfa-layout-list .rfa-image {
    height: 260px;
}

.rfa-title {
        font-size: 18px;
    }
}
