/* Subpages of the Instated V2 design study, 1 November 2026.
   Same tokens as the homepage: dark surfaces, cyan/blue accents, light opt-in sections. */
.v2-subpage { padding-top: 112px !important; }
.v2-back-link { display: inline-flex; gap: 8px; margin-bottom: 36px; color: #bdbdbd; font-size: 14px; text-decoration: none; }
.v2-back-link:hover { color: var(--instated-cyan); }

/* Page hero */
.v2-page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }
.v2-page-title { margin: 24px 0 0; font-family: var(--_typography---font-family--heading-font-family); font-size: clamp(42px, 5vw, 72px); line-height: 1.06; letter-spacing: -.055em; font-weight: 500; color: #f7f8f7; text-wrap: balance; }
.v2-page-hero-aside { display: grid; gap: 28px; justify-items: start; }
.v2-page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v2-page-hero-image { display: block; width: 100%; height: clamp(260px, 34vw, 480px); object-fit: cover; border-radius: 12px; margin-top: 64px; }
.v2-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.v2-hero-meta li { padding: 7px 12px; border: 1px solid #3a3a3a; border-radius: 999px; font-size: 13px; color: #d4d4d4; }

/* Card grid */
.v2-card-grid { display: grid; gap: 20px; margin-top: 56px; }
.v2-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v2-info-card { display: flex; flex-direction: column; padding: 30px; border-radius: 12px; background: #1a1a1a; color: #f7f8f7; text-decoration: none; border: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.dark-gray-900 .v2-info-card { background: #232323; }
.v2-info-card--link:hover, .v2-info-card--link:focus-visible { border-color: rgb(0 210 255 / .35); }
.v2-info-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; margin-bottom: 36px; }
.v2-info-number { color: var(--instated-cyan); font-size: 14px; }
.v2-info-mark { width: 10px; height: 10px; background: var(--instated-gradient); }
.v2-info-card h3 { margin: 0; font-size: 25px; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.v2-info-card p { margin-top: 16px; line-height: 1.65; flex: 1; }
.v2-info-card .v2-tags { margin-bottom: 0; }
.v2-info-label { margin-top: 28px; padding-top: 20px; border-top: 1px solid #3b3b3b; font-size: 14px; }

/* Accordion lists on the darkest surface */
.dark-gray-900 .v2-service { background: #232323; }

/* Tags as a block */
.v2-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 40px 0 0; list-style: none; }
.v2-tag-cloud li { padding: 12px 18px; border-radius: 999px; background: #232323; border: 1px solid #333; font-size: 16px; color: #f2f2f2; }

/* Quote with portrait */
.v2-portrait-quote { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 40px; border-radius: 16px; background: #232323; margin-top: 64px; }
.v2-portrait-quote img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.v2-portrait-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--_typography---font-family--heading-font-family); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -.035em; color: #f7f8f7; }
.v2-portrait-quote figcaption { margin-top: 28px; color: #bdbdbd; font-size: 15px; }
.v2-portrait-quote figcaption strong { display: block; color: #f7f8f7; font-weight: 500; }

/* Story: text with image */
.v2-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.v2-story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 12px; }
.v2-story-body p { font-size: 18px; line-height: 1.75; color: #c9c9c9; margin-bottom: 20px; }
.v2-story-body h2 { margin: 24px 0 28px; }

/* Figures */
.v2-figure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.v2-figure { padding: 30px; border-radius: 12px; background: #232323; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.v2-figure strong { font-family: var(--_typography---font-family--heading-font-family); font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: #f7f8f7; }

/* Testimonials */
.v2-quote-grid { display: grid; gap: 20px; margin-top: 56px; }
.v2-quote-card { display: flex; flex-direction: column; margin: 0; padding: 30px; border-radius: 12px; background: #232323; color: #f7f8f7; }
.v2-stars { color: #f6c343; letter-spacing: 3px; font-size: 15px; }
.v2-quote-card blockquote { margin: 22px 0 28px; padding: 0; border: 0; flex: 1; }
.v2-quote-card blockquote p { font-size: 17px; line-height: 1.65; color: #e6e6e6; }
.v2-quote-card figcaption { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid #3b3b3b; font-size: 14px; color: #bdbdbd; }
.v2-quote-card figcaption strong { color: #f7f8f7; font-weight: 500; font-size: 16px; }

/* Call to action */
.v2-cta-card { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; padding: 56px; border-radius: 16px; }
.v2-cta-card h2 { font-family: var(--_typography---font-family--heading-font-family); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; margin: 32px 0 20px; max-width: 760px; }
.v2-cta-card .font-regular { max-width: 560px; }
.v2-cta-card .v2-audience-actions { padding-top: 0; margin-top: 0; }

/* Contact */
.v2-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.v2-contact-intro { margin-top: 24px; max-width: 480px; }
.v2-contact-list { display: grid; gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.v2-contact-list li { display: grid; gap: 4px; padding: 20px 22px; border-radius: 12px; background: #232323; }
.v2-contact-list span { font-size: 13px; color: #9e9e9e; }
.v2-contact-list a, .v2-contact-list p { margin: 0; color: #f7f8f7; font-size: 18px; text-decoration: none; }
.v2-contact-list a:hover { color: var(--instated-cyan); }

/* Forms */
.v2-form { padding: 40px; border-radius: 16px; background: #232323; color: #f7f8f7; }
.v2-form-title { font-size: 30px; letter-spacing: -.035em; margin: 0 0 10px; }
.v2-form > .font-regular { margin-bottom: 28px; }
.v2-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.v2-field { display: grid; gap: 8px; }
.v2-field--wide { grid-column: 1 / -1; }
.v2-field label { font-size: 14px; color: #d4d4d4; }
.v2-field :is(input, select, textarea) { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid #3d3d3d; background: #1a1a1a; color: #f7f8f7; font: inherit; font-size: 16px; }
.v2-field textarea { min-height: 140px; resize: vertical; }
.v2-field input[type="file"] { padding: 11px; }
.v2-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--instated-cyan); outline-offset: 1px; border-color: transparent; }
.v2-form.is-checked .v2-field :is(input, select, textarea):invalid { border-color: #f97066; }
.v2-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #c9c9c9; line-height: 1.5; cursor: pointer; }
.v2-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--instated-cyan); }
.v2-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.v2-form-submit { cursor: pointer; font: inherit; }
.v2-form-status { margin: 0; font-size: 14px; color: #bdbdbd; }

/* Vacancy overview and detail */
.v2-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; }
.v2-filter-bar[hidden] { display: none; }
.v2-filter-bar button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--light-line, #3b3b3b); background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.v2-filter-bar button[aria-pressed="true"] { background: var(--instated-blue); border-color: var(--instated-blue); color: #fff; }
.v2-filter-status { margin-left: auto; font-size: 14px; color: var(--light-muted, #bdbdbd); }
.v2-vacancy-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.v2-vacancy-list > [hidden] { display: none; }
.v2-filter-empty { margin-top: 28px; }
.v2-vacancy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.v2-vacancy-body h2 { font-size: 28px; letter-spacing: -.03em; margin: 48px 0 16px; }
.v2-vacancy-body h2:first-child { margin-top: 0; }
.v2-vacancy-body p, .v2-vacancy-body li { font-size: 17px; line-height: 1.75; }
.v2-contact-card { position: sticky; top: 120px; display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--light-line, #dde3ea); }
.v2-contact-card img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; }
.v2-contact-card h3 { margin: 0; font-size: 20px; }
.v2-contact-card p { margin: 0; }
.v2-contact-card a:not(.primary-button) { color: var(--instated-blue); text-decoration: none; font-size: 15px; }
.v2-apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }

/* Light variants of the new components */
.section[data-theme="light"] :is(.v2-info-card, .v2-quote-card, .v2-figure) { background: var(--light-card); color: var(--light-text); border-color: var(--light-line); box-shadow: 0 1px 2px rgb(16 24 40 / .04), 0 8px 24px rgb(16 24 40 / .05); }
.section[data-theme="light"] .v2-info-card--link:hover { border-color: rgb(58 123 213 / .55); }
.section[data-theme="light"] .v2-info-number { color: var(--instated-blue); }
.section[data-theme="light"] .v2-info-label { border-top-color: var(--light-line); color: var(--instated-blue); }
.section[data-theme="light"] .v2-tags li { border-color: var(--light-line); color: var(--light-muted); }
.section[data-theme="light"] .v2-quote-card blockquote p { color: #2b3440; }
.section[data-theme="light"] .v2-quote-card figcaption { border-top-color: var(--light-line); color: var(--light-muted); }
.section[data-theme="light"] :is(.v2-quote-card figcaption strong, .v2-figure strong) { color: var(--light-text); }
.section[data-theme="light"] .v2-service { background: var(--light-card); border-color: var(--light-line); }
.section[data-theme="light"] .v2-service-number { color: #7a828c; }
.section[data-theme="light"] .v2-service:is([data-accordion-open="true"], [open]:not([data-accordion-open])) :is(.v2-service-number, h3) { color: var(--instated-blue); }
.section[data-theme="light"] .v2-plus { border-color: var(--light-line); }
.section[data-theme="light"] .v2-tag-cloud li { background: var(--light-card); border-color: var(--light-line); color: var(--light-text); }
.section[data-theme="light"] :is(.v2-vacancy-body p, .v2-vacancy-body li, .v2-story-body p) { color: #3d4652; }
.section[data-theme="light"] .v2-contact-card .font-regular { color: var(--light-muted); }

@media (max-width: 991px) {
  .v2-page-hero-grid, .v2-story, .v2-contact-grid, .v2-vacancy-layout, .v2-apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2-card-grid--3, .v2-card-grid--4, .v2-vacancy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-portrait-quote { grid-template-columns: 200px 1fr; gap: 32px; padding: 28px; }
  .v2-cta-card { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .v2-story img { aspect-ratio: 4 / 3; max-height: 520px; }
  .v2-contact-card { position: static; }
}
@media (max-width: 767px) {
  .v2-subpage { padding-top: 96px !important; }
  .v2-page-title { font-size: clamp(36px, 10vw, 48px); }
  .v2-page-hero-image { margin-top: 40px; }
  .v2-card-grid--2, .v2-card-grid--3, .v2-card-grid--4, .v2-vacancy-list, .v2-figure-grid, .v2-form-grid { grid-template-columns: 1fr; }
  .v2-card-grid, .v2-figure-grid { margin-top: 36px; }
  .v2-info-card { padding: 24px; }
  .v2-portrait-quote { grid-template-columns: 1fr; }
  .v2-portrait-quote img { max-width: 220px; }
  .v2-cta-card { padding: 28px 24px; }
  .v2-form { padding: 24px; }
  .v2-filter-status { margin-left: 0; width: 100%; }
  .v2-figure { min-height: 170px; }
}
.v2-apply-heading { margin-top: 24px; }

/* ---- V3: ideas from personnelsearch.nl, 1 November 2026 ---- */
.v2-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v2-inline-link { color: var(--instated-cyan); text-decoration: none; }

/* Google score as proof */
.v2-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #d4d4d4; font-size: 14px; text-decoration: none; }
.v2-rating strong { color: #f7f8f7; font-weight: 600; }
.v2-rating-stars { color: #f6c343; letter-spacing: 2px; }
.v2-rating:hover strong { color: var(--instated-cyan); }
.v2-blue-card .v2-rating, .v2-cta-card .v2-rating { color: rgb(255 255 255 / .86); }
.v2-blue-card .v2-rating strong { color: #fff; }

/* "Ik zoek…" choice tiles */
.v2-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.v2-choice { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 40px; border-radius: 16px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.v2-choice:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.v2-choice h3 { margin: auto 0 14px; padding-top: 48px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.035em; color: #fff; max-width: 440px; }
.v2-choice .font-regular { max-width: 460px; }
.v2-choice-arrow { position: absolute; top: 32px; right: 32px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #193d70; }
.v2-choice-label { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: #fff; font-weight: 500; }
.v2-choice-label .v2-arrow { width: 18px; }
.v2-choice-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.v2-choice-chips a { padding: 10px 16px; border-radius: 999px; border: 1px solid #3d3d3d; color: #f2f2f2; font-size: 14px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.v2-choice-chips a:hover { border-color: var(--instated-cyan); background: #26343d; }

/* CTA side column */
.v2-cta-side { display: grid; gap: 20px; justify-items: start; }

/* Call and callback strip above the footer */
.v2-callbar { padding-block: 36px; margin-top: 20px; }
.v2-callbar-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.v2-callbar-kicker { margin: 0 0 6px; font-size: 14px; color: var(--light-muted); }
.v2-callbar-title { margin: 0; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; color: var(--light-text); }
.v2-callbar-title a { color: var(--instated-blue); text-decoration: none; white-space: nowrap; }
.v2-callback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v2-callback input { width: 190px; min-height: 50px; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--light-line); background: #fff; color: var(--light-text); font: inherit; font-size: 15px; }
.v2-callback input:focus-visible { outline: 2px solid var(--instated-blue); outline-offset: 1px; }
.v2-callback.is-checked input:invalid { border-color: #d92d20; }
.v2-callback .v2-form-status { flex-basis: 100%; color: var(--light-muted); }
.v2-callback .v2-form-status:empty { display: none; }

/* Vacancy card with labels and a direct apply action */
.v2-vacancy-card--actions { position: relative; }
.v2-vacancy-card--actions h3 a { color: inherit; text-decoration: none; }
.v2-card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.v2-card-link:focus-visible { outline: none; }
.v2-vacancy-card--actions:has(.v2-card-link:focus-visible) { outline: 2px solid var(--instated-cyan); outline-offset: 2px; }
.v2-vacancy-card--actions:hover .v2-card-arrow { background: var(--instated-cyan); color: #fff; }
.v2-vacancy-card--actions .font-regular { margin-bottom: 20px !important; }
.v2-vacancy-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; list-style: none; }
.v2-vacancy-tags li { padding: 5px 10px; border-radius: 999px; border: 1px solid #3b3b3b; font-size: 12px; color: #c9c9c9; }
.v2-vacancy-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid #3b3b3b; margin-top: auto; font-size: 14px; }
.v2-vacancy-actions .v2-vacancy-label { text-decoration: none; }
.v2-apply-link { padding: 9px 16px; border-radius: 999px; background: var(--instated-gradient); color: #101010; font-weight: 500; text-decoration: none; }
.v2-apply-link:hover { filter: brightness(1.08); }
.section[data-theme="light"] .v2-vacancy-tags li { border-color: var(--light-line); color: var(--light-muted); }
.section[data-theme="light"] .v2-vacancy-actions { border-top-color: var(--light-line); }
.section[data-theme="light"] .v2-vacancy-card--actions:hover .v2-card-arrow { background: var(--instated-blue); }

/* Steps on the submit-vacancy page */
.v2-steps { display: grid; gap: 14px; padding: 0; margin: 36px 0 32px; list-style: none; }
.v2-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 22px; border-radius: 12px; background: #232323; }
.v2-steps h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; }
.v2-steps .font-regular { margin: 0; font-size: 15px; }

/* Phone icon and button side by side */
.nav__btn-wrap { display: flex; align-items: center; gap: 18px; }

/* WhatsApp on phones only */
.v2-whatsapp { display: none; }

@media (max-width: 991px) {
  .nav__btn-wrap { flex-direction: column; align-items: stretch; gap: 14px; }
  .v2-choice-grid { grid-template-columns: 1fr; }
  .v2-callbar-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .v2-choice { min-height: 0; padding: 28px 24px; }
  .v2-choice h3 { padding-top: 40px; }
  .v2-choice-arrow { top: 24px; right: 24px; width: 40px; height: 40px; }
  .v2-callback input { width: 100%; }
  .v2-callback .v2-form-submit { width: 100%; justify-content: center; }
  .v2-whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--instated-gradient); color: #fff; box-shadow: 0 10px 28px rgb(0 0 0 / .35); }
  body:has(.instated-nav[data-nav-status="active"]) .v2-whatsapp { display: none; }
}

/* ---- V3 round 2: menu, homepage person card, rating, legal page ---- */
.nav__phone { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); color: #f7f8f7; text-decoration: none; transition: border-color .2s, color .2s; }
.nav__phone:hover { border-color: var(--instated-cyan); color: var(--instated-cyan); }
.nav__phone-label { display: none; }
.nav__btn-wrap { gap: 10px; }
.v2-hero-rating { margin-top: 28px; }
.v2-hero-rating .v2-rating { color: rgb(255 255 255 / .85); }
.v2-person-card { display: grid; gap: 18px; justify-items: start; }
.v2-person { display: flex; align-items: center; gap: 16px; }
.v2-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid rgb(0 210 255 / .5); }
.v2-person p { display: grid; gap: 2px; margin: 0; font-size: 14px; color: #bdbdbd; }
.v2-person strong { color: #f7f8f7; font-size: 17px; font-weight: 500; }
.v2-notice { margin-top: 24px; max-width: 720px; padding: 16px 20px; border-radius: 12px; border: 1px solid rgb(246 195 67 / .45); background: rgb(246 195 67 / .08); color: #f1e3b8; font-size: 14px; line-height: 1.6; }
.v2-legal { max-width: 780px; }
.v2-legal h2 { font-size: 28px; letter-spacing: -.03em; margin: 48px 0 16px; color: var(--light-text); }
.v2-legal h2:first-child { margin-top: 0; }
.v2-legal h3 { font-size: 19px; margin: 28px 0 8px; color: var(--light-text); }
.v2-legal p { font-size: 16px; line-height: 1.75; color: #3d4652; margin-bottom: 14px; }
@media (max-width: 1240px) and (min-width: 992px) { .nav__phone { width: 44px; height: 44px; } }
@media (max-width: 991px) {
  .nav__phone { width: auto; height: 50px; display: flex; justify-content: center; gap: 10px; border-radius: 999px; }
  .nav__phone-label { display: inline; }
}
/* Five menu items, a phone icon and a button: tighten spacing on narrower desktops. */
@media (max-width: 1360px) and (min-width: 1281px) { .instated-v4 .nav__link { padding-inline: 10px; } }
@media (max-width: 1280px) and (min-width: 1101px) {
  .instated-v4 .nav__link { font-size: 14px; padding-inline: 7px; }
  .instated-v4 .nav__logo .brand-logo { width: 144px; }
}
@media (max-width: 1100px) and (min-width: 992px) {
  .instated-v4 .nav__logo .brand-logo { width: 124px; }
  .instated-v4 .nav__link { padding-inline: 5px; }
  .instated-v4 .nav__btn { padding-inline: 14px; }
}
@media (max-width: 1040px) and (min-width: 992px) { .instated-v4 .nav__phone { display: none; } }

/* Footer links: same fix as the buttons. Inline spans cannot translate, so the
   first label stayed in place while its animated copy slid over it on hover. */
.instated-v4 .footer-link:has(.footer-text) { display: grid; height: auto; overflow: hidden; }
.instated-v4 .footer-text { display: block; grid-area: 1 / 1; position: static; line-height: 1.5; }

/* Phones: sections run edge to edge. The rounded "cards", side gutters and
   dark bands between blocks are kept for tablet and desktop only. */
@media (max-width: 767px) {
  .instated-v4 .main { padding-inline: 0; gap: 0; }
  .instated-v4 .hero-area-wrap { padding: 0; margin-bottom: 0; }
  .instated-v4 .home-hero-area { border-radius: 0; }
  .instated-v4 .footer-area { padding: 0; }
  .instated-v4 .main > .section,
  .instated-v4 .main > .v2-callbar,
  .instated-v4 .footer-area > .section { border-radius: 0; }
  .instated-v4 .v2-callbar { margin-top: 0; }
  /* The first block runs under the floating menu bar, like the home hero. */
  .instated-v4 :is(.v2-subpage, .v2-reading-page) { padding-top: 0 !important; }
  .instated-v4 :is(.v2-subpage, .v2-reading-page) > .section:first-child { padding-top: 96px; }
  /* Without the dark bands, a hairline keeps same-colour blocks apart. */
  .instated-v4 .main > .section + .section,
  .instated-v4 .main + .main > .section,
  .instated-v4 .main + .footer-area > .section { border-top: 1px solid rgb(255 255 255 / .07); }
  .instated-v4 .main .section[data-theme="light"] { border-top-color: rgb(16 24 40 / .08); }
}
