/*
 Theme Name:   Troonredes
 Theme URI:    https://troonredes.nl
 Description:  Child thema van Twenty Nineteen voor troonredes.nl
 Author:       Herko Coomans
 Template:     twentynineteen
 Version:      1.0.0
 Text Domain:  troonredes
*/

/* -------------------------------------------------------
   Thema-labels onder de troonredetekst
   ------------------------------------------------------- */
.troonrede-themas {
    margin-top: 2em;
    padding: 0.75em 1em;
    border-top: 2px solid #767676;
    font-size: 0.95em;
    line-height: 1.8;
}

.troonrede-themas strong {
    margin-right: 0.4em;
    color: #333;
}

.troonrede-themas a {
    display: inline-block;
    margin: 0.15em 0.25em;
    padding: 0.2em 0.65em;
    border: 1px solid #767676;
    border-radius: 2em;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}

.troonrede-themas a:hover,
.troonrede-themas a:focus {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* ============================================================
   Thema-archiefpagina — jaarkaarten
   ============================================================ */

.troonrede-archief-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Header */
.archief-header {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}

.archief-supertitel {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #767676;
    margin: 0 0 0.5rem;
}

.archief-titel {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #111;
    line-height: 1.2;
}

.archief-omschrijving {
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.archief-aantal {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* Kaarten-grid: 3 kolommen op breed, 2 op midden, 1 op mobiel */
.archief-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 560px) {
    .archief-grid { grid-template-columns: 1fr; }
}

/* Individuele kaart */
.archief-kaart {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    transition: box-shadow 0.15s, transform 0.15s;
}

.archief-kaart:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.kaart-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

/* Jaar: de blikvanger */
.kaart-jaar {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #111;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-family: Georgia, serif;
}

/* Excerpt */
.kaart-body {
    flex: 1;
}

.kaart-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer: monarch + lees-link */
.kaart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.8rem;
}

.kaart-monarch {
    color: #888;
    font-style: italic;
}

.kaart-lees {
    color: #333;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Paginering */
.archief-paginering {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

.archief-paginering a,
.archief-paginering span {
    display: inline-block;
    margin: 0 0.25rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.archief-paginering .current {
    background: #111;
    color: #fff;
    border-color: #111;
}

.archief-paginering a:hover {
    background: #f5f5f5;
}

.archief-leeg {
    text-align: center;
    color: #888;
    padding: 3rem 0;
}
