/* Twofold SEM: finishing touches for SEM's designed blocks. Only SEM's own twofold- classes; every block reads well without this file. The client's colours come as --twofold-* on :root. */
.twofold-block .wp-block-button__link{transition:filter .15s ease}
.twofold-block .wp-block-button__link:hover,.twofold-block .wp-block-button__link:focus{filter:brightness(1.08)}
.twofold-checks{list-style:none;padding-left:0}
.twofold-checks>li{position:relative;padding-left:1.75em}
.twofold-checks>li+li{margin-top:.4em}
.twofold-checks>li::before{content:"";position:absolute;left:0;top:.2em;width:1.15em;height:1.15em;background-color:var(--twofold-accent,currentColor);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.twofold-steps{list-style:none;padding-left:0;counter-reset:twofold-step}
.twofold-steps>li{position:relative;padding-left:2.6em;min-height:1.8em;counter-increment:twofold-step}
.twofold-steps>li+li{margin-top:.75em}
.twofold-steps>li::before{content:counter(twofold-step);position:absolute;left:0;top:-.05em;width:1.8em;height:1.8em;border-radius:50%;background-color:var(--twofold-dark,currentColor);color:var(--twofold-on-dark,#fff);font-weight:700;font-size:.9em;line-height:1.8em;text-align:center}
.wp-block-table.twofold-table table{border-collapse:separate;border-spacing:0;width:100%;border:1px solid var(--twofold-line,#e2e8f0);border-radius:var(--twofold-radius,8px);overflow:hidden}
.wp-block-table.twofold-table thead{border-bottom:0}
.wp-block-table.twofold-table th,.wp-block-table.twofold-table td{padding:.75em 1em;border:0;border-bottom:1px solid var(--twofold-line,#e2e8f0);text-align:left;vertical-align:top}
.wp-block-table.twofold-table thead th{background-color:var(--twofold-dark,#111827);color:var(--twofold-on-dark,#fff);font-size:.8em;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.wp-block-table.twofold-table tbody tr:last-child td{border-bottom:0}
.wp-block-table.twofold-table tbody td:first-child{font-weight:700;color:var(--twofold-dark,inherit)}
.wp-block-table.twofold-table.is-style-stripes{border-bottom:0}
.wp-block-table.twofold-table.is-style-stripes tbody tr:nth-child(odd){background-color:var(--twofold-tint,#f3f4f6)}
.wp-block-columns.twofold-block{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:1.25rem}
.wp-block-columns.twofold-block>.wp-block-column{margin:0}
.twofold-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em}
.twofold-grid>*{margin:0!important}
.twofold-grid>:first-child{grid-column:1/-1}
.twofold-accordion details{border-bottom:1px solid var(--twofold-line,#e2e8f0);padding:.9em 0}
.twofold-accordion details>summary{cursor:pointer;list-style:none;position:relative;padding-right:2em;font-weight:700;color:var(--twofold-dark,inherit)}
.twofold-accordion details>summary::-webkit-details-marker{display:none}
.twofold-accordion details>summary::after{content:"+";position:absolute;right:.25em;top:-.1em;font-size:1.4em;font-weight:400;line-height:1;color:var(--twofold-accent,currentColor);transition:transform .15s ease}
.twofold-accordion details[open]>summary::after{transform:rotate(45deg)}
.twofold-accordion details>:not(summary){margin-top:.6em}
.twofold-pills{list-style:none;padding-left:0;display:flex;flex-wrap:wrap;gap:.5em}
.twofold-pills>li{margin:0}
.twofold-pills>li>a{display:inline-block;padding:.45em 1em;border-radius:999px;background-color:var(--twofold-accent,#1f2937);color:var(--twofold-on-accent,#fff);font-weight:600;text-decoration:none}
.twofold-pills>li>a:hover,.twofold-pills>li>a:focus{filter:brightness(1.08)}
.twofold-cta-photo>.wp-block-columns,.twofold-promo>.wp-block-columns{align-items:stretch;margin:0}
.twofold-photo>.wp-block-image{height:100%;margin:0}
.twofold-photo img{display:block;width:100%;height:100%;min-height:12em;object-fit:cover}
.twofold-rating{letter-spacing:.02em}
.twofold-faq-list>.wp-block-group:last-child{border-bottom:1px solid var(--twofold-line,#e2e8f0)}
.twofold-dots{list-style:none;padding-left:0}
.twofold-dots>li{position:relative;padding-left:1.3em}
.twofold-dots>li+li{margin-top:.4em}
.twofold-dots>li::before{content:"";position:absolute;left:.15em;top:calc(.8em - 3.5px);width:7px;height:7px;border-radius:50%;background-color:var(--twofold-accent,currentColor)}
.twofold-checks.twofold-inline{display:flex;flex-wrap:wrap;gap:.35em 1.4em}
.twofold-checks.twofold-inline>li+li{margin-top:0}
body .twofold-heading{color:var(--twofold-dark,inherit);font-weight:800}
body h2.twofold-heading{font-size:1.75em;line-height:1.25}
body h3.twofold-heading{font-size:1.2em;line-height:1.35}
body p.twofold-lead{font-size:1.2em;line-height:1.6}
.twofold-editorial h3{font-size:1.1em;line-height:1.3}
.twofold-editorial.twofold-cta h3,.twofold-editorial.twofold-promo h3{font-size:1.75em;line-height:1.2;font-weight:800}
.twofold-editorial.twofold-cta,.twofold-editorial.twofold-promo{box-shadow:0 18px 40px -18px color-mix(in srgb,var(--twofold-dark,#111827) 45%,transparent)}
.twofold-editorial .twofold-kicker::before{content:"";display:inline-block;width:26px;height:2px;margin-right:10px;vertical-align:middle;background-color:currentColor}
.twofold-editorial .wp-block-button:not(.twofold-arrow):not(.is-style-outline)>.wp-block-button__link{padding:.95em 1.75em;font-weight:800}
.twofold-editorial .twofold-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75em 1.25em}
.twofold-editorial .twofold-cta-actions>*{margin:0!important}
.twofold-editorial .twofold-call a{font-weight:800;text-decoration:none}
.twofold-editorial .twofold-photo{position:relative}
.twofold-editorial .twofold-photo::after{content:"";position:absolute;inset:0;border-radius:var(--twofold-radius,8px);background:linear-gradient(180deg,transparent 45%,color-mix(in srgb,var(--twofold-dark,#111827) 55%,transparent));pointer-events:none}
.twofold-editorial .twofold-photo>.twofold-badge{position:absolute;left:1em;bottom:1em;z-index:1;width:auto;max-width:calc(100% - 2em);height:auto;margin:0!important;box-shadow:0 8px 24px -6px rgba(0,0,0,.35)}
.twofold-editorial .twofold-badge>p{margin:0}
.twofold-editorial .twofold-arrow>.wp-block-button__link{padding:0;border-radius:0;box-shadow:none;background-image:none;font-weight:800;text-decoration:none}
.twofold-editorial .twofold-arrow>.wp-block-button__link::after{content:" \2192"}
.twofold-editorial.twofold-figure .wp-block-image{max-width:520px}
.twofold-editorial.twofold-figure img{width:100%;aspect-ratio:3/2;object-fit:cover}
.twofold-editorial .twofold-thumb img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:640px){.twofold-grid{grid-template-columns:1fr}body h2.twofold-heading{font-size:1.5em}.twofold-editorial.twofold-cta h3,.twofold-editorial.twofold-promo h3{font-size:1.45em}.twofold-block{margin-top:1.75rem!important;margin-bottom:1.75rem!important}}
body a.twofold-link:not(.twofold-pills a){color:var(--twofold-link,inherit);font-size:inherit;text-decoration:underline;text-underline-offset:.15em}
body a.twofold-link:not(.twofold-pills a):hover,body a.twofold-link:not(.twofold-pills a):focus{color:var(--twofold-link-hover,inherit)}
body .twofold-block a.twofold-link:not(.twofold-pills a),body .twofold-block a.twofold-link:not(.twofold-pills a):hover,body .twofold-block a.twofold-link:not(.twofold-pills a):focus{color:inherit}
body .twofold-editorial .twofold-call a:not(.twofold-pills a):hover,body .twofold-editorial .twofold-call a:not(.twofold-pills a):focus{color:var(--twofold-accent,inherit)}
