/* Taxagent.nl Plus — design layer on top of the original taxagent.nl CSS */

:root {
	--tp-olive: #778156;
	--tp-olive-dark: #5f6844;
	--tp-moss: #a8b685;
	--tp-sage: #929a73;
	--tp-sage-100: #cdd5b0;
	--tp-peach: #e3b6a0;
	--tp-peach-100: #f4dcd0;
	--tp-peach-50: #fbf1ec;
	--tp-ink: #1d1d1d;
	--tp-ink-2: #3a3a36;
	--tp-muted: #6b6860;
	--tp-line: #e6e3dd;
	--tp-paper: #f5f3ef;
	--tp-cream: #faf9f5;
	--tp-white: #fff;
	--tp-radius: 18px;
	--tp-radius-sm: 12px;
	--tp-shadow: 0 1px 2px rgba(38, 44, 24, .06), 0 8px 24px rgba(38, 44, 24, .08);
	--tp-shadow-lg: 0 2px 4px rgba(38, 44, 24, .06), 0 18px 40px rgba(38, 44, 24, .12);
	--tp-serif: Merriweather, Georgia, serif;
	--tp-sans: Inter, Arimo, system-ui, -apple-system, "Segoe UI", sans-serif;
	--tp-max: 1240px;
}

/* ---------- base ---------- */
body.tp-site {
	background-color: var(--tp-cream);
	background-image: linear-gradient(rgba(250, 249, 245, .9), rgba(250, 249, 245, .9)), var(--tp-pattern);
	background-size: auto, 220px;
	background-attachment: scroll;
	color: var(--tp-ink);
	font-family: var(--tp-sans);
	font-size: 17px;
	line-height: 1.65;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}
.tp-site a { color: inherit; }
.tp-main { flex: 1; }
.tp-container { width: 100%; max-width: calc(var(--tp-max) + 48px); margin-inline: auto; padding-inline: 24px; }
.tp-narrow { max-width: calc(820px + 48px); }
.tp-skip { position: absolute; inset-inline-start: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; transform: translateY(-200%); }
.tp-skip:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.tp-site :focus-visible { outline: 3px solid rgba(119, 129, 86, .45); outline-offset: 2px; }

/* type scale */
.tp-display, .tp-h1, .tp-h2, .tp-h3 { font-family: var(--tp-serif); color: var(--tp-ink); letter-spacing: -.01em; margin: 0; }
.tp-display { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.15; font-weight: 700; }
.tp-display span { color: var(--tp-olive); }
.tp-h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.2; font-weight: 700; }
.tp-h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.25rem); line-height: 1.25; font-weight: 700; }
.tp-h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; font-weight: 700; }
.tp-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--tp-ink-2); margin: 0; max-width: 62ch; }
.tp-lead p { margin: 0; }
.tp-muted { color: var(--tp-muted); margin: 0; }
.tp-eyebrow { font-family: var(--tp-sans); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-olive); }
.tp-eyebrow a { text-decoration: none; }
.tp-eyebrow a:hover { text-decoration: underline; }

/* buttons: keep the theme's .btn, tune sizes */
.tp-site .btn { padding: 13px 22px; border-radius: 12px; font-size: 1rem; line-height: 1.4; text-decoration: none; transition: background-color .15s, color .15s, transform .1s, box-shadow .15s; gap: 8px; }
.tp-site .btn-primary { background: var(--tp-olive); color: #fff; text-transform: none; font-size: 1rem; box-shadow: 0 6px 16px rgba(119, 129, 86, .28); }
.tp-site .btn-primary:hover { background: var(--tp-olive-dark); color: #fff; }
.tp-site .btn-outline { background: rgba(255, 255, 255, .7); border: 1.5px solid var(--tp-olive); color: var(--tp-ink); }
.tp-site .btn-outline:hover { background: var(--tp-olive); color: #fff; }
.tp-site .btn:active { transform: translateY(1px); }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* chips + meta */
.tp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tp-peach-50); color: #9a5b3e; border: 1px solid var(--tp-peach-100); font-size: .82rem; font-weight: 600; text-decoration: none; line-height: 1.2; }
.tp-chip small { font-weight: 500; opacity: .7; }
.tp-chip:hover { border-color: var(--tp-peach); }
.tp-chip.is-active { background: var(--tp-olive); color: #fff; border-color: var(--tp-olive); }
.tp-chip--light { background: #fff; color: var(--tp-ink-2); border-color: var(--tp-line); }
.tp-chip--on-media { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); border-color: transparent; backdrop-filter: blur(4px); }
.tp-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; color: var(--tp-muted); font-size: .9rem; margin: 0; }

/* ---------- header ---------- */
.tp-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(230, 227, 221, .8); }
.admin-bar .tp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header { top: 46px; } }
.tp-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.tp-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: Arimo, var(--tp-sans); font-weight: 700; font-size: 1.35rem; color: var(--tp-olive); }
.tp-logo img { width: 36px; height: 36px; }
.tp-logo--light { color: #fff; }
.tp-nav { margin-left: auto; }
.tp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.tp-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--tp-ink-2); white-space: nowrap; }
.tp-menu a:hover, .tp-menu .current-menu-item > a, .tp-menu .current_page_item > a { background: rgba(119, 129, 86, .1); color: var(--tp-olive-dark); }
.tp-menu .menu-item-has-children { position: relative; }
.tp-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.tp-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--tp-line); border-radius: 14px; box-shadow: var(--tp-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.tp-nav .menu-item-has-children:hover > .sub-menu, .tp-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tp-header__tools { display: flex; align-items: center; gap: 10px; }
.tp-lang { font-size: .95rem; }
.tp-lang select { border: 1px solid var(--tp-line); border-radius: 10px; padding: 6px 8px; background: #fff; }
.tp-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tp-burger span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; background: var(--tp-ink); border-radius: 2px; }
@media (max-width: 1023px) {
	.tp-nav { display: none; }
	.tp-burger { display: inline-flex; }
	.tp-header__tools { margin-left: auto; }
	.tp-header__inner { min-height: 64px; }
}
.tp-mobile { position: fixed; inset: 0; z-index: 60; background: rgba(29, 29, 29, .35); }
.tp-mobile[hidden] { display: none; }
.tp-mobile__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--tp-cream) var(--tp-pattern); background-size: 200px; box-shadow: var(--tp-shadow-lg); padding: 20px; overflow-y: auto; }
.tp-mobile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tp-mobile__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tp-line); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.tp-mobile .tp-menu { flex-direction: column; align-items: stretch; gap: 2px; background: rgba(255, 255, 255, .92); border-radius: 16px; padding: 8px; }
.tp-mobile .tp-menu a { font-size: 1.05rem; padding: 12px 14px; white-space: normal; }
.tp-mobile .sub-menu { list-style: none; margin: 0 0 6px 12px; padding: 0; border-left: 2px solid var(--tp-sage-100); }
.tp-mobile .menu-item-has-children > a::after { display: none; }
body.tp-menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.tp-section { padding-block: clamp(48px, 4vw + 24px, 88px); }
.tp-section--flush { padding-top: clamp(28px, 3vw, 44px); }
.tp-section--tint { background: rgba(245, 243, 239, .85); border-block: 1px solid var(--tp-line); }
.tp-section--pattern { background: linear-gradient(rgba(250, 249, 245, .78), rgba(250, 249, 245, .78)), var(--tp-pattern); background-size: auto, 240px; border-top: 1px solid var(--tp-line); }
.tp-section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.tp-section > .tp-container > .tp-h2 { margin-bottom: clamp(20px, 2.5vw, 32px); }
.tp-section__head--row { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* page header band (pages, blog, categories, articles) */
.tp-hero-band { position: relative; padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px); background: linear-gradient(180deg, rgba(250, 249, 245, .55), rgba(250, 249, 245, .95)), var(--tp-pattern); background-size: auto, 230px; border-bottom: 1px solid var(--tp-line); }
.tp-hero-band__inner, .tp-hero-band .tp-narrow { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tp-hero-band--article .tp-h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.tp-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--tp-muted); }
.tp-breadcrumbs a { text-decoration: none; }
.tp-breadcrumbs a:hover { color: var(--tp-olive-dark); text-decoration: underline; }

/* ---------- home ---------- */
.tp-home-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 80px); background: radial-gradient(1100px 500px at 85% 20%, rgba(227, 182, 160, .22), transparent 60%), linear-gradient(180deg, rgba(250, 249, 245, .35), rgba(250, 249, 245, .9)), var(--tp-pattern); background-size: auto, auto, 240px; border-bottom: 1px solid var(--tp-line); }
.tp-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-home-hero__text { display: flex; flex-direction: column; gap: 22px; }
.tp-photo-frame { position: relative; max-width: 440px; margin-inline: auto; aspect-ratio: 4 / 4.6; border-radius: 28px 28px 200px 200px; overflow: hidden; background: linear-gradient(160deg, var(--tp-sage-100), var(--tp-peach-100)); box-shadow: var(--tp-shadow-lg); }
.tp-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 767px) {
	.tp-home-hero__grid { grid-template-columns: 1fr; }
	.tp-home-hero__photo { order: -1; }
	.tp-photo-frame { max-width: 220px; border-radius: 22px 22px 120px 120px; }
	.tp-home-hero__text { text-align: left; }
	.tp-actions .btn { flex: 1 1 auto; }
}

/* calculator tiles */
.tp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .tp-tools { grid-template-columns: 1fr; } }
.tp-tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--tp-radius); background: #fff; border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; overflow: hidden; }
.tp-tool::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 170px; height: 170px; background: var(--tp-pattern); background-size: 170px; opacity: .35; pointer-events: none; z-index: 0; }
.tp-tool > * { position: relative; z-index: 1; }
.tp-tool:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-lg); border-color: var(--tp-moss); }
.tp-tool__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tp-olive); color: #fff; font-family: var(--tp-serif); font-weight: 700; font-size: 1.35rem; }
.tp-tool__title { font-family: var(--tp-serif); font-weight: 700; font-size: 1.3rem; }
.tp-tool__text { color: var(--tp-muted); }
.tp-tool__more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--tp-olive-dark); }

/* about */
.tp-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tp-about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: var(--tp-radius); box-shadow: var(--tp-shadow-lg); }
.tp-about__text { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) {
	.tp-about { grid-template-columns: 1fr; }
	.tp-about__photo { max-width: 360px; }
}
.tp-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--tp-radius-sm); background: var(--tp-peach-50); border: 1px solid var(--tp-peach-100); }
.tp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tp-stat { padding: 18px 14px; border-radius: var(--tp-radius-sm); background: #fff; border: 1px solid var(--tp-line); text-align: center; display: flex; flex-direction: column; gap: 4px; }
.tp-stat strong { font-family: var(--tp-serif); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); color: var(--tp-olive); line-height: 1.1; white-space: nowrap; }
.tp-stat span { font-size: .9rem; color: var(--tp-muted); line-height: 1.35; }

/* social */
.tp-social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tp-social-card { margin: 0; aspect-ratio: 9 / 14; border-radius: var(--tp-radius); overflow: hidden; border: 1px solid var(--tp-line); background: var(--tp-paper); box-shadow: var(--tp-shadow); }
.tp-social-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
	.tp-social-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-inline: -24px; padding-inline: 24px; scrollbar-width: thin; }
	.tp-social-card { flex: 0 0 62%; scroll-snap-align: start; }
}
.tp-social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tp-social-links a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--tp-moss); text-decoration: none; font-weight: 500; box-shadow: var(--tp-shadow); }
.tp-social-links a:hover { border-color: var(--tp-olive); }

/* ---------- cards / blog ---------- */
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tp-grid { grid-template-columns: 1fr; } }
.tp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); overflow: hidden; box-shadow: var(--tp-shadow); transition: transform .15s, box-shadow .15s; }
.tp-card:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-lg); }
.tp-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--tp-paper); }
.tp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tp-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(205, 213, 176, .55), rgba(244, 220, 208, .6)), var(--tp-pattern); background-size: auto, 180px; }
.tp-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.tp-card__title { font-family: var(--tp-serif); font-size: 1.15rem; line-height: 1.35; font-weight: 700; margin: 0; }
.tp-card__title a { text-decoration: none; }
.tp-card__title a::after { content: ""; position: absolute; inset: 0; }
.tp-card { position: relative; }
.tp-card__title a:hover { color: var(--tp-olive-dark); }
.tp-card__excerpt { margin: 0; color: var(--tp-ink-2); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-card .tp-meta { margin-top: auto; }
.tp-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 28px; }
.tp-card--featured .tp-card__media { aspect-ratio: auto; min-height: 300px; }
.tp-card--featured .tp-card__body { padding: clamp(22px, 3vw, 40px); justify-content: center; gap: 14px; }
.tp-card--featured .tp-card__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.tp-card--featured .tp-card__excerpt { -webkit-line-clamp: 5; font-size: 1.05rem; }
@media (max-width: 800px) { .tp-card--featured { grid-template-columns: 1fr; } .tp-card--featured .tp-card__media { min-height: 0; aspect-ratio: 16 / 9; } }
.tp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tp-cats .tp-chip { padding: 8px 14px; font-size: .9rem; background: #fff; color: var(--tp-ink-2); border-color: var(--tp-line); }
.tp-cats .tp-chip.is-active { background: var(--tp-olive); color: #fff; border-color: var(--tp-olive); }
.tp-empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed var(--tp-line); border-radius: var(--tp-radius); }

/* pagination */
.tp-pagination, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--tp-line); text-decoration: none; font-weight: 500; }
.nav-links .page-numbers.current { background: var(--tp-olive); color: #fff; border-color: var(--tp-olive); }
.nav-links a.page-numbers:hover { border-color: var(--tp-olive); }

/* ---------- article ---------- */
.tp-article__image { margin: 32px 0 0; border-radius: var(--tp-radius); overflow: hidden; box-shadow: var(--tp-shadow); }
.tp-article__image img { width: 100%; height: auto; max-height: 460px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 25%; display: block; }
.tp-article__content { padding-top: 32px; }
.tp-prose { font-size: 1.08rem; line-height: 1.75; color: var(--tp-ink-2); }
.tp-prose > * { margin-top: 0; margin-bottom: 0; }
.tp-prose > * + * { margin-top: 1.1em; }
.tp-prose h2 { font-family: var(--tp-serif); color: var(--tp-ink); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.3; margin: 1.8em 0 .5em; }
.tp-prose h3 { font-family: var(--tp-serif); color: var(--tp-ink); font-size: 1.25rem; line-height: 1.35; margin: 1.5em 0 .4em; }
.tp-prose a { color: var(--tp-olive-dark); text-decoration: underline; text-underline-offset: 3px; }
.tp-prose ul, .tp-prose ol { padding-left: 1.4em; }
.tp-prose ul { list-style: disc; }
.tp-prose ol { list-style: decimal; }
.tp-prose li { margin: .35em 0; }
.tp-prose li::marker { color: var(--tp-olive); }
.tp-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--tp-peach); background: var(--tp-peach-50); border-radius: 0 12px 12px 0; }
.tp-prose table { width: 100%; border-collapse: collapse; font-size: .97rem; background: #fff; border: 1px solid var(--tp-line); }
@media (max-width: 640px) { .tp-prose table { display: block; overflow-x: auto; } }
.tp-prose th, .tp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--tp-line); text-align: left; }
.tp-prose th { background: var(--tp-paper); font-weight: 600; }
.tp-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.tp-prose .tp-keypoints, .tp-prose .tp-sources { padding: 18px 22px; border-radius: var(--tp-radius-sm); border: 1px solid var(--tp-line); background: #fff; }
.tp-prose .tp-keypoints { border-color: var(--tp-sage-100); background: rgba(205, 213, 176, .2); }
.tp-prose .tp-sources { font-size: .92rem; }
.tp-prose .tp-sources h2, .tp-prose .tp-keypoints h2 { margin-top: 0; font-size: 1.1rem; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tp-disclaimer { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--tp-paper); color: var(--tp-muted); font-size: .9rem; }
.tp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-bottom: 8px; }
.tp-share span { font-weight: 600; margin-right: 4px; }
.tp-share a, .tp-share button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--tp-line); background: #fff; text-decoration: none; font: inherit; font-size: .9rem; cursor: pointer; }
.tp-share a:hover, .tp-share button:hover { border-color: var(--tp-olive); }
.tp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: var(--tp-radius); background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)), var(--tp-pattern); background-size: auto, 220px; border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow); }
.tp-cta p { margin: 8px 0 0; color: var(--tp-muted); }

/* tool / calculator page */
.tp-tool-page__content > * + * { margin-top: 1.2em; }

/* ---------- footer ---------- */
.tp-footer { margin-top: auto; background: var(--tp-olive) ; color: #fff; padding: 56px 0 28px; position: relative; overflow: hidden; }
.tp-footer::before { content: ""; position: absolute; inset: 0; background: var(--tp-pattern); background-size: 240px; opacity: .08; filter: brightness(10); pointer-events: none; }
.tp-footer .tp-container { position: relative; }
.tp-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 800px) { .tp-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.tp-footer__brand p { opacity: .85; max-width: 46ch; margin: 14px 0 18px; }
.tp-footer__title { font-family: var(--tp-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin: 0 0 12px; font-weight: 600; }
.tp-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-footer__links a { text-decoration: none; opacity: .92; }
.tp-footer__links a:hover { opacity: 1; text-decoration: underline; }
.tp-social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.tp-social img { width: 36px; height: 36px; }
.tp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; opacity: .75; }
.tp-footer__bottom p { margin: 0; }

/* calculators keep their own design; just give them breathing room */
.tp-site .nlzzp, .tp-site .takia { padding-inline: 0; }

/* certificates: show the whole document, no cropping */
.tp-certificate__image { max-width: 640px; margin-inline: auto; background: #fff; }
.tp-certificate__image img { aspect-ratio: auto; max-height: none; object-fit: contain; }

/* footer with only the brand column (menu/news/calculators hidden) */
.tp-footer__grid--solo { grid-template-columns: 1fr; }

/* ---------- calculators in the site palette (KIA, ZZP, RVO subsidies) ---------- */
.tp-site .takia {
	--takia-primary: #778156;
	--takia-primary-dark: #5f6844;
	--takia-accent: #a86a4e;
	--takia-accent-dark: #8f5840;
	--takia-ink: #1d1d1d;
	--takia-muted: #6b6860;
	--takia-line: #e6e3dd;
	--takia-bg: #ffffff;
	--takia-soft: #faf9f5;
	--takia-soft-accent: #fbf1ec;
	--takia-radius: 18px;
}
.tp-site .nlzzp {
	--nlzzp-primary: #778156;
	--nlzzp-primary-dark: #5f6844;
	--nlzzp-accent: #a86a4e;
	--nlzzp-accent-dark: #8f5840;
	--nlzzp-ink: #1d1d1d;
	--nlzzp-muted: #6b6860;
	--nlzzp-line: #e6e3dd;
	--nlzzp-bg: #ffffff;
	--nlzzp-soft: #faf9f5;
	--nlzzp-soft-accent: #fbf1ec;
	--nlzzp-radius: 18px;
}
.tp-site .tsc {
	--tsc-paper: #faf9f5;
	--tsc-ink: #1d1d1d;
	--tsc-ink-soft: #6b6860;
	--tsc-rule: #e6e3dd;
	--tsc-rule-strong: #cfcac0;
	--tsc-accent: #778156 !important; /* the plugin also sets this colour inline on .tsc */
	--tsc-accent-soft: #eef0e4;
	--tsc-radius: 12px;
}
/* colours the calculators set directly (focus rings, KIA scale, CTA hover) */
.tp-site .takia select:focus,
.tp-site .takia input[type="text"]:focus,
.tp-site .nlzzp .nlzzp-input input:focus { box-shadow: 0 0 0 3px rgba(168, 106, 78, .18); }
.tp-site .takia .takia-scale-bar [data-zone="pct"] { background: rgba(168, 106, 78, .5); }
.tp-site .takia .takia-scale-bar [data-zone="taper"] { background: linear-gradient(90deg, var(--takia-accent), rgba(119, 129, 86, .25)); }
.tp-site .takia .takia-cta a:hover,
.tp-site .nlzzp .nlzzp-cta a:hover { background: #8f5840; color: #fff; }
.tp-site .takia .takia-btn:focus-visible, .tp-site .takia .takia-add:focus-visible, .tp-site .takia .takia-type button:focus-visible,
.tp-site .takia .takia-x:focus-visible, .tp-site .takia .takia-cta a:focus-visible,
.tp-site .nlzzp .nlzzp-cta a:focus-visible, .tp-site .nlzzp .nlzzp-btn:focus-visible { outline: 3px solid rgba(119, 129, 86, .45); outline-offset: 2px; }
/* headings in the site's serif font */
.tp-site .takia h1, .tp-site .takia h2, .tp-site .takia h3,
.tp-site .nlzzp h1, .tp-site .nlzzp h2, .tp-site .nlzzp h3,
.tp-site .tsc h1, .tp-site .tsc h2, .tp-site .tsc h3 { font-family: var(--tp-serif); }
