/* Fatar FB Uudised v2 - täislaius 3 veergu */

.fatar-fb-voog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 24px 0;
}

@media (max-width: 900px) {
    .fatar-fb-voog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .fatar-fb-voog { grid-template-columns: 1fr; }
}

/* Kaart */
.fatar-fb-kaart {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.fatar-fb-kaart:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

/* Pilt - proportsionaalne 16:9 */
.fatar-fb-pilt-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.fatar-fb-pilt {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e8f5e9;
    transition: transform 0.3s ease;
}

.fatar-fb-pilt-link:hover .fatar-fb-pilt {
    transform: scale(1.03);
}

.fatar-fb-pilt--puudub {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2d7a2d, #4caf50);
}

/* Sisu */
.fatar-fb-sisu {
    padding: 18px 4px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fatar-fb-kuupaev {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.fatar-fb-pealkiri {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.fatar-fb-pealkiri a {
    color: #1a1a1a;
    text-decoration: none;
}

.fatar-fb-pealkiri a:hover {
    color: #2d7a2d;
}

.fatar-fb-tekst {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fatar-fb-nupp {
    display: inline-block;
    color: #2d7a2d !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    border: none;
    background: none;
    transition: color 0.2s;
}

.fatar-fb-nupp:hover {
    color: #1a4e1a !important;
    text-decoration: underline !important;
}

.fatar-fb-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    color: #856404;
}

/* Laadi juurde nupp */
.fatar-fb-nupp-wrap {
    text-align: center;
    margin-top: 36px;
}

.fatar-fb-laadi-nupp {
    display: inline-block;
    background: #2d7a2d;
    color: #fff;
    border: none;
    padding: 13px 36px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fatar-fb-laadi-nupp:hover {
    background: #235e23;
}
