/* Tips-pagina (page-tips.php) — overgenomen uit
   ClaudeDesignReference/design/Tips.html. */

/* ─── Intro ─────────────────────────── */
.ti-intro {
    padding: 56px 0 48px;
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: end;
}

.ti-intro h1 {
    font-family: var(--display);
    font-size: var(--font-size-hero);
    line-height: 0.95;
    margin: 16px 0 18px;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.ti-intro h1 em { color: var(--plum); }

.ti-intro p.lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 0 18px;
    text-wrap: pretty;
}

.ti-intro .jumps {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.ti-intro .jump {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    border: 1.5px solid var(--ink);
    transition: all 0.15s;
}

.ti-intro .jump:hover {
    background: var(--ink);
    color: var(--paper);
}

.ti-intro .jump .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Uitgeverij-card (kleinere variant van summary-card) */
.uitg-card {
    background: var(--paper);
    border: 1.5px solid var(--rule);
    border-radius: 10px;
    padding: 28px 32px;
    position: relative;
    box-shadow: 5px 7px 0 rgba(26, 26, 26, 0.06);
}

.uitg-card::before {
    content: 'voor uitgeverijen';
    position: absolute;
    top: -10px;
    left: 30px;
    background: var(--terracotta);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    transform: rotate(-2deg);
}

.uitg-card h3 {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.15;
    margin: 8px 0 10px;
}

.uitg-card h3 em { color: var(--plum); }

.uitg-card p {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 14px;
}

.uitg-card .row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
}

.uitg-card .row a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
}

.uitg-card .row a:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

/* ─── Super-headings ──────────────── */
.super-h {
    margin: 64px 0 32px;
    padding-top: 32px;
    border-top: 2.5px solid var(--ink);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: end;
}

.super-h .lbl {
    font-family: var(--display);
    font-style: italic;
    font-size: 22px;
    color: var(--ochre);
    padding-bottom: 14px;
    white-space: nowrap;
}

.super-h .name {
    font-family: var(--display);
    font-size: var(--font-size-hero);
    line-height: 0.95;
    margin: 0;
    letter-spacing: -0.025em;
}

.super-h .name em { color: var(--plum); }
.super-h.cadeau .name em { color: var(--plum); }

/* ─── Filter (compact variant) ─── */
.ti-filter {
    padding: 16px 0 28px;
    border-bottom: 1.5px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ti-filter .chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

/* `.chip-btn` styling wordt gedeeld met archive-agenda.css.
   Voor pagina's die alleen page-tips.css laden, hier een minimale herhaling. */
.ti-filter .chip-btn {
    font-family: var(--serif);
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid var(--rule);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s;
}

.ti-filter .chip-btn:hover { background: var(--bg-2); }

.ti-filter .chip-btn.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* ─── Featured ────────────────────── */
.featured {
    margin: 32px 0 48px;
    padding: 56px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.featured.boeken {
    background:
        radial-gradient(ellipse 50% 60% at 20% 30%, rgba(178, 93, 69, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 50% at 85% 80%, rgba(233, 211, 106, 0.32), transparent 70%);
}

.featured.cadeau {
    background:
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(196, 168, 208, 0.36), transparent 70%),
        radial-gradient(ellipse 50% 50% at 15% 80%, rgba(178, 93, 69, 0.22), transparent 70%);
    grid-template-columns: 1fr 1.1fr;
}

.featured::before {
    content: 'nieuwste';
    position: absolute;
    top: -10px;
    left: 48px;
    background: var(--plum);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 3px;
    transform: rotate(-2deg);
}

.featured .collage {
    position: relative;
    aspect-ratio: 4 / 3;
}

.featured .collage .b {
    position: absolute;
    aspect-ratio: 3 / 4;
    filter: drop-shadow(8px 12px 0 rgba(26, 26, 26, 0.08)) drop-shadow(0 4px 8px rgba(26, 26, 26, 0.12));
}

.featured .collage .b svg,
.featured .collage .b img {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    display: block;
}

.featured .collage .b1 { left: 0;   top: 18%; width: 30%; transform: rotate(-8deg); z-index: 2; }
.featured .collage .b2 { left: 22%; top: 0;   width: 30%; transform: rotate(3deg);  z-index: 3; }
.featured .collage .b3 { left: 44%; top: 8%;  width: 30%; transform: rotate(-3deg); z-index: 4; }
.featured .collage .b4 { left: 66%; top: 22%; width: 30%; transform: rotate(6deg);  z-index: 2; }

.featured .collage .tape {
    position: absolute;
    top: 8%;
    left: 38%;
    width: 80px;
    height: 22px;
    background: rgba(196, 168, 208, 0.7);
    transform: rotate(-4deg);
    z-index: 5;
}

.featured .info .rubriek { margin-bottom: 14px; }

.featured .info h2 {
    font-family: var(--display);
    font-size: 48px;
    line-height: 1.02;
    margin: 8px 0 16px;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.featured .info h2 a {
    color: inherit;
    text-decoration: none;
}

.featured .info h2 a:hover { color: var(--terracotta); }

.featured .info h2 em { color: var(--plum); }

.featured .info .deck {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0 0 20px;
    max-width: 50ch;
}

.featured .info .meta {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--ink-mute);
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.featured .info .meta strong {
    color: var(--plum);
    font-weight: 500;
}

/* Cadeau-mosaic */
.gift-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 1 / 1;
}

.gift-cell {
    border-radius: 6px;
    overflow: hidden;
    background: var(--paper);
    border: 1.5px solid var(--rule);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 6px 0 rgba(26, 26, 26, 0.06);
}

.gift-cell .pic { flex: 1; }

.gift-cell .pic svg,
.gift-cell .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gift-cell .info {
    padding: 12px 14px;
    border-top: 1px solid var(--rule);
}

.gift-cell .info .t {
    font-family: var(--display);
    font-size: 14px;
    line-height: 1.15;
}

.gift-cell .info .t em {
    color: var(--terracotta);
}

.gift-cell .info .p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 11px;
    color: var(--ochre);
    margin-top: 2px;
}

/* ─── Collections grid (Boekentips) ─── */
.collections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}

.coll {
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.coll .stack {
    position: relative;
    aspect-ratio: 4 / 3;
    filter: drop-shadow(6px 10px 0 rgba(26, 26, 26, 0.06));
}

.coll .stack .b {
    position: absolute;
    aspect-ratio: 3 / 4;
    width: 38%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(26, 26, 26, 0.12);
}

.coll .stack .b svg,
.coll .stack .b img {
    width: 100%;
    height: 100%;
    display: block;
}

.coll .stack .b1 { left: 4%;  top: 16%; transform: rotate(-6deg); z-index: 2; }
.coll .stack .b2 { left: 32%; top: 4%;  transform: rotate(2deg);  z-index: 3; }
.coll .stack .b3 { left: 58%; top: 14%; transform: rotate(-3deg); z-index: 2; }

.coll .stack .badge {
    position: absolute;
    top: 0;
    right: 4px;
    background: var(--paper);
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
    color: var(--ink);
    border: 1px solid var(--ink);
    transform: rotate(4deg);
    z-index: 5;
}

.coll .info { display: flex; flex-direction: column; gap: 4px; }

.coll .info .meta {
    font-family: var(--serif);
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.coll .info .meta .cnt { color: var(--terracotta); }

.coll .info h3 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.1;
    margin: 0;
}

.coll .info h3 em { color: var(--plum); }

.coll .info p {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.coll .info .read {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--ink);
    margin-top: 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    align-self: flex-start;
    padding-bottom: 1px;
}

.coll:hover .info .read {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

/* ─── Cadeau-grid (mixed sizes) ─────── */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 36px 28px;
}

.gift-guide {
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.gift-guide .visual {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 5px 8px 0 rgba(26, 26, 26, 0.06);
}

.gift-guide .visual svg,
.gift-guide .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gift-guide .visual .corner-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--paper);
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid var(--ink);
}

.gift-guide .visual .badge-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--plum);
    color: var(--paper);
    font-family: var(--display);
    font-style: italic;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 999px;
}

.gift-guide h3 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.1;
    margin: 0;
}

.gift-guide h3 em { color: var(--plum); }

.gift-guide .deck {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.gift-guide .footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 13px;
    color: var(--ink-mute);
    font-style: italic;
    margin-top: auto;
}

.gift-guide .footer .price-range {
    background: var(--bg-2);
    color: var(--plum);
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--rule);
    font-style: normal;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.gift-guide.col-6  { grid-column: span 6; }
.gift-guide.col-4  { grid-column: span 4; }
.gift-guide.col-12 {
    grid-column: span 12;
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
}

.gift-guide.col-12 .visual { flex: 1; aspect-ratio: 21 / 9; }

.gift-guide.col-12 .text {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.gift-guide.col-12 h3 { font-size: 38px; }
.gift-guide.col-6  h3 { font-size: 28px; }

/* ─── Partners (uniform met agenda) ── */
.partners {
    margin: 96px 0 0;
    padding: 56px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.3;
}

.partners::after {
    content: '';
    position: absolute;
    right: 80px;
    bottom: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--plum);
    opacity: 0.5;
}

.partners > * { position: relative; z-index: 1; }

.partners .eyebrow { color: var(--yellow); }

.partners h3 {
    font-family: var(--display);
    font-size: 42px;
    line-height: 1.05;
    margin: 10px 0 14px;
    letter-spacing: -0.015em;
}

.partners h3 em { color: var(--pink); }

.partners p {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0 0 16px;
    max-width: 46ch;
}

.partners .btn {
    border-color: var(--paper);
    color: var(--paper);
    background: transparent;
}

.partners .btn.filled {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
}

.partners .btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ─── News (gedeeld met home/agenda) ── */
.news {
    margin: 64px 0 0;
    padding: 64px 56px;
    background: var(--plum);
    color: var(--paper);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.news h2 {
    font-family: var(--display);
    font-size: 42px;
    line-height: 1.05;
    margin: 0 0 12px;
}

.news h2 em { color: var(--yellow); }

.news p {
    margin: 0;
    font-size: 17px;
    opacity: 0.85;
    line-height: 1.5;
}

.news .cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.news-btn {
    display: inline-block;
    background: var(--terracotta);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 17px;
    padding: 16px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid var(--terracotta);
    transition: all 0.15s;
}

.news-btn:hover {
    background: var(--paper);
    color: var(--terracotta);
}

.news-btn--soon {
    background: transparent;
    color: var(--paper);
    border-color: rgba(251, 246, 234, 0.4);
    font-style: italic;
    cursor: not-allowed;
}

.news-btn--soon:hover {
    background: transparent;
    color: var(--paper);
}

.news .via {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    opacity: 0.6;
}

/* ─── Responsive ─────────────────── */
@media (max-width: 1024px) {
    .ti-intro,
    .featured,
    .featured.cadeau,
    .partners,
    .news {
        /* minmax(0, 1fr) i.p.v. 1fr — voorkomt dat de form-min-content de track wijd uitrekt */
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ti-intro h1 { font-size: 64px; }
    .super-h .name { font-size: 64px; }
    .super-h { grid-template-columns: 1fr; gap: 8px; }

    .collections { grid-template-columns: repeat(2, 1fr); }
    .gift-grid { grid-template-columns: repeat(6, 1fr); }

    .gift-guide.col-12 { flex-direction: column; }
    .gift-guide.col-12 .visual { aspect-ratio: 4 / 3; }
    .gift-guide.col-12 .text { flex: 0 0 auto; }
    .gift-guide.col-6 { grid-column: span 6; }
    .gift-guide.col-4 { grid-column: span 3; }
    .gift-guide.col-12 { grid-column: span 6; }

    .featured { padding: 36px 28px; }

    /* Featured collage: absolute-positioned covers → grid, anders overlappen ze op smal scherm */
    .featured .collage { aspect-ratio: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .featured .collage .b,
    .featured .collage .b1,
    .featured .collage .b2,
    .featured .collage .b3,
    .featured .collage .b4 { position: static; width: auto; transform: none; }
    .featured .collage .tape { display: none; }
}

@media (max-width: 768px) {
    .ti-intro h1,
    .super-h .name { font-size: 48px; }

    .collections,
    .gift-grid { grid-template-columns: 1fr; gap: 32px; }

    .gift-guide.col-6,
    .gift-guide.col-4,
    .gift-guide.col-12 { grid-column: span 1; flex-direction: column; }

    .featured .collage { grid-template-columns: repeat(2, 1fr); }

    .gift-mosaic { aspect-ratio: auto; }
    .featured { padding: 32px 20px; }
    .partners { padding: 32px 24px; }
    .news { padding: 40px 28px; }
}
