/* Smoelenboek: fotolijst, overzicht en vergroting */
.avds-frame { position: relative; margin: 0; background: #fff; border: 10px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.avds-flags { display: block; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22'%3E%3Cpath d='M2 0h20l-10 20z' fill='%23ff6b35'/%3E%3Cpath d='M26 0h20l-10 20z' fill='%23ffc23d'/%3E%3Cpath d='M50 0h20l-10 20z' fill='%232aa876'/%3E%3Cpath d='M74 0h20l-10 20z' fill='%23ff8fab'/%3E%3Cpath d='M98 0h20l-10 20z' fill='%234f7cff'/%3E%3C/svg%3E") repeat-x left top; }
.avds-photo { position: relative; display: block; margin: 6px 12px 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.avds-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avds-ex { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(29, 33, 64, .85); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.avds-frame figcaption { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 16px 14px; }
.avds-cap b { display: block; font: 900 1.15rem/1.15 var(--f-d); color: var(--ink); }
.avds-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.avds-pill { padding: 3px 9px; border-radius: 999px; background: var(--cream); font-weight: 800; font-size: .72rem; color: var(--ink); }
.avds-pill--m { background: #fff1c9; color: #8a5a00; }
.avds-pill--k { background: #e3ebff; color: #2f55c9; }
.avds-year { text-align: center; }
.avds-year b { display: block; font: 900 1.6rem/1 var(--f-d); color: var(--sun); }
.avds-year small { display: block; font-size: .55rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; max-width: 90px; }
.avds-frame--big { border-width: 14px; border-radius: 28px; }
.avds-frame--big .avds-flags { height: 30px; background-size: 160px 30px; }
.avds-frame--big .avds-photo { aspect-ratio: auto; margin: 8px 18px 0; }
.avds-frame--big .avds-photo img { height: auto; }
.avds-frame--big figcaption { padding: 18px 24px 22px; }
.avds-frame--big .avds-cap b { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.avds-frame--big .avds-pill { font-size: .9rem; padding: 5px 13px; }
.avds-frame--big .avds-year b { font-size: clamp(2rem, 4vw, 3.2rem); }
.avds-frame--big .avds-year small { font-size: .7rem; max-width: none; }
/* intro / voorbeeld */
.avds-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.avds-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.avds-intro--teaser { background: var(--cream); border-radius: var(--r); padding: clamp(18px, 3vw, 36px); }
/* overzicht */
.avds-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.avds-bar input { flex: 1 1 260px; max-width: 380px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; font: 600 1rem var(--f-b); }
.avds-chips, .avds-years { display: flex; flex-wrap: wrap; gap: 6px; }
.avds-chips button, .avds-years a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 800 .85rem var(--f-b); color: var(--ink); cursor: pointer; text-decoration: none; }
.avds-chips button.on, .avds-years a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.avds-count { color: var(--muted); font-weight: 700; margin: 0 0 14px; }
.avds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.avds-grid button { all: unset; cursor: pointer; display: block; border-radius: 22px; transition: transform .15s; }
.avds-grid button:hover, .avds-grid button:focus-visible { transform: translateY(-3px) rotate(-.4deg); }
/* vergroting */
.avds-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(18, 20, 40, .88); display: flex; align-items: center; justify-content: center; padding: 18px; }
.avds-lb__in { width: min(980px, 100%); max-height: 100%; overflow: auto; }
.avds-lb__btns { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.avds-lb__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; cursor: pointer; }
@media (max-width: 860px) { .avds-intro { grid-template-columns: 1fr; } }
