/* F1 – optional editorial sections. Player styles are not affected. */
.f1-section { --f1-bg: #f0eee9; --f1-ink: #141619; --f1-muted: #64625c; --f1-line: rgba(20,22,25,.2); background: var(--f1-bg); color: var(--f1-ink); padding-block: clamp(48px,6vw,88px); }
.f1-testimonials { --f1-bg: #e8e6df; }
.f1-section__layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: clamp(28px,6vw,100px); }
.f1-section__title { margin: 0; font-weight: 600; font-size: clamp(24px,2.7vw,36px); line-height: 1.12; text-transform: uppercase; letter-spacing: -.015em; overflow-wrap: anywhere; }
.f1-testimonials__list { display: grid; gap: 32px; min-width: 0; }
.f1-testimonial { margin: 0; padding-top: 22px; border-top: 1px solid var(--f1-line); }
.f1-testimonial blockquote { margin: 0; }
.f1-testimonial blockquote p { margin: 0; font-size: clamp(18px,1.7vw,23px); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.f1-testimonial figcaption { margin-top: 18px; font-size: 14px; line-height: 1.5; }
.f1-testimonial figcaption strong { display: block; font-weight: 600; }
.f1-testimonial figcaption span { display: block; color: var(--f1-muted); overflow-wrap: anywhere; }
.f1-faq__item { border-top: 1px solid var(--f1-line); }
.f1-faq__item:last-child { border-bottom: 1px solid var(--f1-line); }
.f1-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; cursor: pointer; list-style: none; font-weight: 500; font-size: clamp(16px,1.3vw,19px); line-height: 1.4; overflow-wrap: anywhere; }
.f1-faq__item summary::-webkit-details-marker { display: none; }
.f1-faq__item summary span { width: 14px; height: 14px; position: relative; flex: 0 0 14px; }
.f1-faq__item summary span::before, .f1-faq__item summary span::after { content: ''; position: absolute; inset: 6px 0 auto; height: 1px; background: currentColor; }
.f1-faq__item summary span::after { transform: rotate(90deg); }
.f1-faq__item[open] summary span::after { transform: none; }
.f1-faq__answer { padding: 0 36px 24px 0; font-size: 16px; line-height: 1.65; color: var(--f1-muted); white-space: pre-line; overflow-wrap: anywhere; }
.f1-preview { position: sticky; top: 0; z-index: 100; margin: 0; padding: 12px 20px; background: #141619; color: #f0eee9; border-bottom: 2px solid #b59a70; font-size: 14px; }
:root[data-theme="dark"] .f1-section { --f1-bg: #1a1d21; --f1-ink: #f0eee9; --f1-muted: #bebcb6; --f1-line: rgba(240,238,233,.2); }
:root[data-theme="dark"] .f1-testimonials { --f1-bg: #141619; }
:root[data-theme="studio"] .f1-section { --f1-bg: #30312d; --f1-ink: #e8e5dd; --f1-muted: #b5b2a9; --f1-line: rgba(232,229,221,.2); }
:root[data-theme="studio"] .f1-testimonials { --f1-bg: #252522; }
@media (prefers-color-scheme: dark) {
 :root:not([data-theme]) .f1-section { --f1-bg: #1a1d21; --f1-ink: #f0eee9; --f1-muted: #bebcb6; --f1-line: rgba(240,238,233,.2); }
 :root:not([data-theme]) .f1-testimonials { --f1-bg: #141619; }
}
@media (max-width: 760px) { .f1-section__layout { grid-template-columns: minmax(0,1fr); } }

/* Testimonials: one full quotation, with the same Archivo body type as the site.
   Increased selector specificity intentionally takes precedence over type-scale.css. */
.f1-testimonials .f1-testimonials__carousel { min-width: 0; border-top: 1px solid var(--f1-line); }
.f1-testimonials .f1-testimonials__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; align-items: start;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; min-width: 0; -webkit-overflow-scrolling: touch;
}
.f1-testimonials .f1-testimonials__list:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.f1-testimonials .f1-testimonial { min-width: 0; padding: 24px 2px 28px; border: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.f1-testimonials .f1-testimonial blockquote p {
  font-family: var(--f-sans); font-stretch: 100%; font-style: normal; font-weight: 400;
  font-size: clamp(18px, 1.35vw, 21px); line-height: 1.65; letter-spacing: 0;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.f1-testimonials .f1-testimonial figcaption { margin-top: 24px; font-family: var(--f-sans); font-size: 15px; line-height: 1.6; font-style: normal; }
.f1-testimonials .f1-testimonial figcaption strong { font-weight: 600; }
.f1-testimonials .f1-testimonial figcaption span { font-size: 14px; }
.f1-testimonials__controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; border-top: 1px solid var(--f1-line); }
.f1-testimonials__controls[hidden] { display: none; }
.f1-testimonials__position { font-family: var(--f-sans); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--f1-muted); }
.f1-testimonials__arrows { display: flex; gap: 10px; }
.f1-testimonials__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--f1-line); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.f1-testimonials__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.f1-testimonials__arrow:hover:not(:disabled) { background: var(--f1-ink); color: var(--f1-bg); }
.f1-testimonials__arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.f1-testimonials__arrow:disabled { opacity: .3; cursor: default; }
.f1-testimonials__carousel[data-enhanced] .f1-testimonials__list { scrollbar-width: none; }
.f1-testimonials__carousel[data-enhanced] .f1-testimonials__list::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .f1-testimonials .f1-testimonial { padding-top: 20px; }
  .f1-testimonials .f1-testimonial blockquote p { font-size: 18px; line-height: 1.6; }
}
