/* ── Tiivistelmä artikkelista v3.4 ── */

/* Jakopainikkeet */
.ta33-share {
    text-align: center;
    margin: 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.ta33-share a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: background .2s, transform .15s;
}
.ta33-share a:hover,
.ta33-share a:focus {
    background: #d6111e;
    transform: translateY(-1px);
    outline: 2px solid #ddc76d;
    outline-offset: 2px;
}

/* Tiivistelmälaatikko */
.ta33-summary {
    background: linear-gradient(135deg, #d6111e, #ddc76d);
    border-radius: 14px;
    margin: 28px 0;
    padding-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
    overflow: hidden;
}

/* Otsikkorivi */
.ta33-header {
    background: #000;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .4px;
}
.ta33-header-text {
    flex: 1;
}
.ta33-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.ta33-close:hover,
.ta33-close:focus {
    color: #ddc76d;
    background: rgba(255,255,255,.1);
    outline: 2px solid #ddc76d;
}

/* Korttiruudukko */
.ta33-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
}
@media (min-width: 600px) {
    .ta33-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .ta33-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Yksittäinen kortti */
.ta33-card {
    background: rgba(0, 0, 0, .2);
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 3px solid #ddc76d;
    transition: background .2s;
}
.ta33-card:hover {
    background: rgba(0, 0, 0, .3);
}
.ta33-hidden {
    display: none;
}
.ta33-title {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
}
.ta33-title:hover,
.ta33-title:focus {
    color: #ddc76d;
    text-decoration: underline;
    outline: 2px solid #ddc76d;
    outline-offset: 2px;
    border-radius: 2px;
}
.ta33-excerpt {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* Näytä lisää -painike */
.ta33-toggle-wrap {
    text-align: center;
    padding-bottom: 4px;
}
.ta33-toggle {
    background: #000;
    color: #fff;
    border: 1px solid #ddc76d;
    padding: 7px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s, color .2s;
}
.ta33-toggle:hover,
.ta33-toggle:focus {
    background: #ddc76d;
    color: #000;
    outline: 2px solid #fff;
}

/* Avaa uudelleen -nappula */
.ta33-reopen {
    display: inline-block;
    margin: 8px 0;
    color: #d6111e;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .2s;
}
.ta33-reopen:hover,
.ta33-reopen:focus {
    background: #fff0f0;
    outline: 2px solid #d6111e;
}
