/* ─────────────────────────────────────────────────────────────────────────
   Tuinadvies overview — filter + sort + responsive card grid
   ───────────────────────────────────────────────────────────────────────── */

.tuinadvies-overview-wrap { padding-top: 32px; padding-bottom: 80px; }

/* ─── Toolbar ─────────────────────────────────────────────────────────── */
.ta-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin: 8px 0 28px;
}
.ta-toolbar-form {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.ta-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}
.ta-toolbar-label {
    font-family: "Red Hat Display", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #072E19;
    opacity: 0.7;
}
.ta-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url('/assets/site/img/main/arrow_down.svg') no-repeat right 14px center;
    background-size: 12px auto;
    border: 1px solid rgba(7, 46, 25, 0.2);
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    color: #072E19;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ta-select:hover, .ta-select:focus {
    border-color: #D39E45;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 158, 69, 0.15);
}
.ta-toolbar-submit {
    background: #D39E45;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 600;
    cursor: pointer;
}
.ta-toolbar-count {
    font-family: "Red Hat Display", sans-serif;
    font-size: 13px;
    color: #072E19;
    opacity: 0.7;
    letter-spacing: 0.04em;
}

/* ─── Empty state ─────────────────────────────────────────────────────── */
.ta-empty {
    margin: 60px 0;
    text-align: center;
    color: #072E19;
    opacity: 0.7;
    font-family: "Red Hat Display", sans-serif;
}

/* ─── Card grid ───────────────────────────────────────────────────────── */
.ta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 40px;
    margin-bottom: 64px;
}
.ta-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Thumbnail with gold border */
.ta-card-thumb-link {
    display: block;
    text-decoration: none;
    margin-bottom: 22px;
}
.ta-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #003E1F;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #D39E45;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(7, 46, 25, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
/* Type label — top-right of the thumbnail, green leaf-shape with gold serif. */
.ta-card-type {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #003E1F;
    color: #D39E45;
    font-family: "Young Serif", Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 8px 18px;
    /* TR + BL corners fully rounded → leaf shape. */
    border-radius: 0 50% 0 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.ta-card-thumb-link:hover .ta-card-thumb {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(7, 46, 25, 0.15);
}

.ta-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ta-card-title {
    font-family: "Young Serif", Georgia, serif;
    color: #003E1F;
    font-size: 24px;
    line-height: 1.22;
    margin: 0 0 14px;
    font-weight: 400;
}
.ta-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ta-card-title a:hover { color: #D39E45; }

.ta-card-desc {
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #244439;
    margin: 0 0 22px;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Lees meer button uses the site-wide .common_anchor style.
   Keep .ta-card-cta only as a positioning hook (push to bottom of card). */
.ta-card-cta {
    margin-top: auto;
    align-self: flex-start;
}

/* ─── Pagination ──────────────────────────────────────────────────────── */
.ta-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0;
    flex-wrap: wrap;
}
.ta-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(7, 46, 25, 0.18);
    border-radius: 8px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #072E19;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ta-page:hover {
    background: #FFF7E6;
    border-color: #D39E45;
    color: #072E19;
}
.ta-page-active {
    background: #003E1F;
    border-color: #003E1F;
    color: #fff;
}
.ta-page-active:hover {
    background: #003E1F;
    border-color: #003E1F;
    color: #fff;
}
.ta-page-prev, .ta-page-next { padding: 0 18px; }

/* ─── Tablet (incl. iPad Pro / 1024-wide devices) ─────────────────────── */
@media (max-width: 1199px) {
    .ta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 28px;
    }
    .ta-card-title { font-size: 22px; }
    .ta-card-desc  { font-size: 15px; -webkit-line-clamp: 3; }
}

/* ─── Phone ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .tuinadvies-overview-wrap { padding-top: 16px; padding-bottom: 48px; }
    .ta-toolbar {
        gap: 14px;
        margin: 8px 0 20px;
    }
    .ta-toolbar-form {
        width: 100%;
        gap: 12px;
    }
    .ta-toolbar-group { min-width: 0; flex: 1 1 calc(50% - 6px); }
    .ta-select { padding: 11px 36px 11px 14px; font-size: 13px; }

    .ta-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 36px;
    }
    .ta-card-thumb-link { margin-bottom: 18px; }
    .ta-card-title { font-size: 20px; margin-bottom: 10px; }
    .ta-card-desc  { font-size: 14px; -webkit-line-clamp: 3; margin-bottom: 18px; }

    .ta-page { min-width: 34px; height: 34px; font-size: 13px; padding: 0 10px; }
    .ta-page-prev, .ta-page-next { padding: 0 14px; }
}
