/* Navy section and usable, readable server-rendered fallback. */
[data-editorial] .ed-testimonials{padding-block:clamp(52px,6vw,88px);background:#111c33;color:#f7f5ef;overflow:clip}
[data-editorial] .ed-testimonials .ed-heading{max-width:760px;margin:0 auto clamp(20px,3vw,36px);text-align:center}
[data-editorial] .ed-testimonials .ed-heading h2{color:#f7f5ef;background:none;-webkit-text-fill-color:currentColor}
[data-editorial] .ed-testimonials .ed-heading .eyebrow{color:#ddc9a5;opacity:1;margin-bottom:16px}
[data-editorial] .ed-testimonials .ed-description{max-width:54ch;margin:20px auto 0;color:#c8d0df;line-height:1.65}
[data-editorial] .testimonial-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.5vw,28px)}
[data-editorial] .testimonial-card{display:flex;flex-direction:column;gap:28px;margin:0;padding:clamp(26px,3.2vw,40px);border:0;border-radius:28px;background:#1c2a43;color:#f7f5ef;box-shadow:0 14px 42px rgba(4,10,23,.1)}
[data-editorial] .testimonial-card blockquote{margin:0;font-family:inherit;font-size:clamp(20px,1.7vw,26px);font-weight:450;line-height:1.5;letter-spacing:-.025em;overflow-wrap:anywhere}
[data-editorial] .testimonial-author{display:flex;align-items:center;gap:16px;margin-top:auto;color:#f7f5ef}
[data-editorial] .testimonial-avatar{display:block;flex:none;width:56px;height:56px;object-fit:cover;border-radius:50%}
[data-editorial] .testimonial-byline{display:flex;flex-direction:column;gap:5px;min-width:0}
[data-editorial] .testimonial-byline strong{font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
[data-editorial] .testimonial-byline span{font-size:14px;line-height:1.45;color:#c8d0df;overflow-wrap:anywhere}
[data-editorial] .testimonial-draft-note{font-size:12px;font-weight:600;letter-spacing:.04em;color:#e3cda5;line-height:1.5}
[data-testimonial-source][hidden]{display:none!important}
.testimonial-carousel,.testimonial-slider-island{min-width:0;width:100%}
@media(max-width:680px){[data-editorial] .testimonial-list{grid-template-columns:1fr}[data-editorial] .testimonial-card{border-radius:22px;gap:24px}}

/* The same staggered composition is used in the site and authenticated editor. */
.stagger-testimonials{position:relative;width:100%;min-width:0;overflow:hidden;background:#111c33;color:#f7f5ef;border-radius:24px;isolation:isolate;outline:none}
.stagger-testimonials:focus-visible{outline:2px solid #ddc9a5;outline-offset:-2px}
.stagger-testimonials-stage{position:relative;width:100%;min-width:0}
.stagger-testimonial-card{position:absolute;top:24px;left:50%;display:flex;flex-direction:column;align-items:flex-start;gap:24px;box-sizing:border-box;min-height:340px;margin:0;padding:36px;border:0;border-radius:30px;background:rgba(38,55,82,.88);color:#f0f2f7;box-shadow:0 18px 48px rgba(2,8,19,.14);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transform-origin:center;transition:background-color 380ms ease,color 380ms ease,box-shadow 380ms ease}
.stagger-testimonial-card[data-active="true"]{background:#f4f0e7;color:#111c33;box-shadow:0 24px 56px rgba(2,8,19,.24)}
.stagger-testimonial-quote-icon{display:block;flex:none;color:#ddc9a5}
.stagger-testimonial-card[data-active="true"] .stagger-testimonial-quote-icon{color:#94733e}
.stagger-testimonial-card blockquote{margin:0;padding:0;font-family:inherit;font-size:clamp(20px,1.65vw,25px);font-style:normal;font-weight:450;line-height:1.52;letter-spacing:-.025em;overflow-wrap:anywhere;hyphens:auto;color:inherit}
.stagger-testimonial-author{display:flex;align-items:center;gap:14px;min-width:0;width:100%;margin-top:auto;padding-top:8px}
.stagger-testimonial-author img,.stagger-testimonial-initials{display:flex;align-items:center;justify-content:center;flex:none;width:52px;height:52px;border:0;border-radius:50%;object-fit:cover;background:rgba(255,255,255,.1);color:#f0f2f7;font-size:15px;font-weight:600;letter-spacing:-.03em}
.stagger-testimonial-card[data-active="true"] .stagger-testimonial-initials{background:#e6dfd0;color:#655334}
.stagger-testimonial-byline{display:flex;flex-direction:column;gap:4px;min-width:0}
.stagger-testimonial-byline strong{color:inherit;font-size:17px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.stagger-testimonial-byline>span{color:#c8d0df;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.stagger-testimonial-card[data-active="true"] .stagger-testimonial-byline>span{color:#586174}
.stagger-testimonial-state{margin:0;padding:5px 10px;border-radius:8px;background:rgba(221,201,165,.12);color:#e3cda5;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.025em}
.stagger-testimonial-card[data-active="true"] .stagger-testimonial-state{background:#e7decd;color:#695128}
.stagger-testimonials-controls{position:relative;z-index:20;display:flex;align-items:center;justify-content:center;gap:20px;padding:0 12px 6px}
.stagger-testimonials-controls button{display:flex;align-items:center;justify-content:center;flex:none;width:50px;height:50px;margin:0;padding:0;border:0;border-radius:50%;background:#253550;color:#f7f5ef;box-shadow:none;cursor:pointer;transition:background-color 250ms ease,color 250ms ease,transform 250ms ease}
.stagger-testimonials-controls button svg{display:block;flex:none}
.stagger-testimonials-controls button:hover:not(:disabled){background:#e3d5bb;color:#111c33;transform:translateY(-2px)}
.stagger-testimonials-controls button:active:not(:disabled){transform:translateY(0) scale(.96)}
.stagger-testimonials-controls button:focus-visible{outline:2px solid #ddc9a5;outline-offset:4px}
.stagger-testimonials-controls button:disabled{opacity:.35;cursor:default}
.stagger-testimonials-counter{display:block;min-width:62px;color:#aebad0;text-align:center;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:.05em}
.stagger-testimonials-counter strong{font-weight:600;color:#f7f5ef}
.stagger-testimonials-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){.stagger-testimonials{border-radius:18px}.stagger-testimonial-card{top:16px;min-height:300px;padding:26px;gap:22px;border-radius:24px}.stagger-testimonial-card blockquote{font-size:20px;line-height:1.5}.stagger-testimonial-author{gap:12px}.stagger-testimonial-author img,.stagger-testimonial-initials{width:46px;height:46px}.stagger-testimonial-byline strong{font-size:16px}.stagger-testimonials-controls{gap:18px}.stagger-testimonials-controls button{width:48px;height:48px}}

/* Private editor tools remain separate from visitor endorsement markup. */
[data-testimonial-editor] .testimonial-visibility{padding:20px 24px;margin-bottom:24px;border-radius:18px;background:#f3f5f8;color:#111c33}
[data-testimonial-editor] .testimonial-visibility>strong{font-size:15px;line-height:1.5;font-weight:600}
[data-testimonial-editor] .testimonial-counts{display:flex;flex-wrap:wrap;gap:20px 36px;margin:18px 0 0}
[data-testimonial-editor] .testimonial-counts>div{display:flex;flex-direction:column;gap:4px}
[data-testimonial-editor] .testimonial-counts dt{font-size:12px;line-height:1.4;color:#596579}
[data-testimonial-editor] .testimonial-counts dd{margin:0;font-size:24px;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}
[data-testimonial-editor] .testimonial-inline-preview{padding:clamp(20px,3vw,36px);margin-bottom:28px;border-radius:24px;background:#111c33;color:#f7f5ef}
[data-testimonial-editor] .testimonial-inline-preview>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;color:#f7f5ef}
[data-testimonial-editor] .testimonial-inline-preview>summary::-webkit-details-marker{display:none}
[data-testimonial-editor] .testimonial-inline-preview>summary:focus-visible{outline:2px solid #ddc9a5;outline-offset:6px;border-radius:4px}
[data-testimonial-editor] .testimonial-inline-preview[open]>summary .icon{transform:rotate(180deg)}
[data-testimonial-editor] .testimonial-inline-preview[data-motion-state="closing"]>summary .icon{transform:rotate(0deg)}
[data-testimonial-editor] .testimonial-inline-preview>summary .icon{transition:transform 340ms cubic-bezier(.22,1,.36,1)}
[data-testimonial-editor] .testimonial-inline-preview>.help{margin:14px 0 28px;max-width:76ch;line-height:1.6;color:#c8d0df}
[data-testimonial-editor] .testimonial-preview-heading{color:#f7f5ef;margin:0 auto 20px;text-align:center;max-width:680px}
[data-testimonial-editor] .testimonial-preview-heading .eyebrow{margin:0 0 12px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#ddc9a5}
[data-testimonial-editor] .testimonial-preview-heading h3{margin:0;color:#f7f5ef;font-size:clamp(26px,2.4vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.03em}
[data-testimonial-editor] .testimonial-preview-heading>p:last-child:not(.eyebrow){font-size:15px;line-height:1.6;color:#c8d0df}
[data-testimonial-editor] .testimonial-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
[data-testimonial-editor] .testimonial-preview-card{display:flex;flex-direction:column;gap:20px;margin:0;padding:24px;border-radius:22px;background:#1c2a43;color:#f7f5ef}
[data-testimonial-editor] .testimonial-preview-state{margin:0;font-size:11px;font-weight:600;line-height:1.5;color:#c8d0df}
[data-testimonial-editor] .testimonial-preview-card[data-testimonial-draft] .testimonial-preview-state{color:#e3cda5}
[data-testimonial-editor] .testimonial-preview-card blockquote{margin:0;font-size:17px;line-height:1.55;letter-spacing:-.02em;overflow-wrap:anywhere}
[data-testimonial-editor] .testimonial-preview-card figcaption{display:flex;gap:12px;align-items:center;margin-top:auto}
[data-testimonial-editor] .testimonial-preview-card figcaption img{display:block;flex:none;width:48px;height:48px;border-radius:50%;object-fit:cover}
[data-testimonial-editor] .testimonial-preview-card figcaption>div{display:flex;flex-direction:column;gap:4px;min-width:0}
[data-testimonial-editor] .testimonial-preview-card figcaption strong{font-size:14px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
[data-testimonial-editor] .testimonial-preview-card figcaption span{font-size:12px;line-height:1.5;color:#c8d0df;overflow-wrap:anywhere}
@media(max-width:580px){[data-testimonial-editor] .testimonial-inline-preview{padding:18px 12px}[data-testimonial-editor] .testimonial-inline-preview>summary,[data-testimonial-editor] .testimonial-inline-preview>.help{margin-left:6px;margin-right:6px}[data-testimonial-editor] .testimonial-visibility{padding:18px}[data-testimonial-editor] .testimonial-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}[data-testimonial-editor] .testimonial-preview-card{padding:20px}}
@media(prefers-reduced-motion:reduce){.stagger-testimonial-card,.stagger-testimonials-controls button,[data-testimonial-editor] .testimonial-inline-preview>summary .icon{transition:none}.stagger-testimonials-controls button:hover:not(:disabled){transform:none}}

.testimonial-reader{position:fixed;margin:auto;width:min(42rem,calc(100% - 32px));max-height:78dvh;padding:clamp(20px,4vw,44px);overflow:auto;border:0;border-radius:24px;background:#f5f3ee;color:#111c33;box-shadow:0 16px 85px #030a1980}
.testimonial-reader::backdrop{background:#0b1528af;backdrop-filter:blur(4px)}
.testimonial-reader header{display:flex;align-items:start;justify-content:space-between;gap:16px}.testimonial-reader h3{font-size:clamp(1.5rem,3vw,2.2rem)}
.testimonial-reader button,.testimonial-read{min-height:44px;color:inherit;background:transparent;border:0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:.2em}
.testimonial-read{align-self:flex-start}.testimonial-reader blockquote{font:inherit;margin:1rem 0 0}.testimonial-reader blockquote p+p,.testimonial-full-body p+p{margin-top:1rem}
@media(prefers-reduced-motion:no-preference){.testimonial-reader[open]{animation:reader-in .23s ease-out}@keyframes reader-in{from{opacity:.1;transform:translateY(8px)}to{opacity:1;transform:none}}}
