/* CIAMSS Frequently Asked Questions v1.0 */
:root {
  --navy: #062f5f;
  --navy-dark: #031f42;
  --navy-mid: #0a4278;
  --gold: #f2cb67;
  --cream: #fbf8f2;
  --panel: #f5f8fc;
  --text: #182230;
  --muted: #4d5968;
  --border: #d8e0ea;
  --white: #fff;
  --shadow: 0 8px 22px rgba(3,31,66,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #eef2f6 url('../images/bkgrd.jpg'); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: var(--navy); }
a:hover, a:focus { color: #7d273b; }
.container { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: .75rem 1rem; background: #fff; color: #000; }
.skip-link:focus { left: 1rem; top: 1rem; }
.ciamss-site-header { padding-top: 20px; }
.ciamss-logo img { width: 580px; max-width: 100%; }
.hero { position: relative; width: min(1180px, calc(100% - 34px)); margin: 0 auto; overflow: hidden; color: #fff; background: radial-gradient(circle at 84% 48%, rgba(23,93,155,.50) 0 2%, transparent 2.5%), repeating-radial-gradient(circle at 84% 48%, rgba(35,103,162,.24) 0 2px, transparent 3px 28px), repeating-conic-gradient(from 4deg at 84% 48%, rgba(38,112,177,.18) 0 4deg, transparent 4deg 15deg), linear-gradient(105deg, #052b57 0%, #07396e 58%, #041f42 100%); border: 1px solid #113f70; border-radius: 16px; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; top: -90px; right: -90px; width: 520px; height: 520px; border: 1px solid rgba(121,176,223,.20); border-radius: 50%; box-shadow: 0 0 0 40px rgba(28,91,148,.08), 0 0 0 95px rgba(28,91,148,.06), 0 0 0 150px rgba(28,91,148,.05); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 34px 0 36px; }
.eyebrow, .section-kicker { margin: 0 0 5px; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 800; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; }
.hero p:last-child { max-width: 830px; margin: 10px 0 0; color: #eef5fb; font-size: 1.08rem; }
.faq-layout { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 26px; align-items: start; padding: 36px 0 52px; }
.faq-directory { position: sticky; top: 18px; padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.faq-directory h2 { margin: 0 0 14px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.faq-directory nav { display: grid; gap: 8px; }
.faq-directory a { padding: 10px 11px; border-radius: 7px; color: var(--navy); background: #f5f8fc; font-weight: 700; line-height: 1.35; text-decoration: none; }
.faq-directory a:hover, .faq-directory a:focus { background: #eaf1f8; color: #7d273b; }
.faq-tools, .faq-section, .contact-card { margin-bottom: 22px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.faq-tools h2, .faq-section h2, .contact-card h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; }
.faq-tools label { display: block; margin: 18px 0 6px; color: var(--navy); font-weight: 700; }
.faq-tools input { width: 100%; padding: 12px 14px; border: 1px solid #aebbc9; border-radius: 8px; font: inherit; }
.faq-tools input:focus { outline: 3px solid rgba(10,66,120,.18); border-color: var(--navy-mid); }
.faq-tool-actions { display: flex; gap: 14px; margin-top: 12px; }
.text-button { padding: 0; border: 0; color: var(--navy); background: transparent; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.faq-status { min-height: 1.4em; margin: 9px 0 0; color: var(--muted); }
.faq-section-heading { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item { border: 1px solid #dbe3ec; border-radius: 9px; background: #fff; overflow: hidden; }
.faq-item[open] { border-color: #9eb4cc; box-shadow: 0 5px 14px rgba(3,31,66,.07); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; color: var(--navy); background: #f7f9fc; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item summary:focus { background: #edf3f8; }
.faq-marker { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); }
.faq-marker::before, .faq-marker::after { content: ""; position: absolute; top: 10px; left: 6px; width: 10px; height: 2px; background: #fff; }
.faq-marker::after { transform: rotate(90deg); transition: transform .18s ease; }
.faq-item[open] .faq-marker::after { transform: rotate(0); }
.faq-answer { padding: 3px 18px 16px; color: #2d3748; }
.faq-answer p { margin: 13px 0 0; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(105deg, #052b57, #073f78); }
.contact-card h2 { color: #fff; }
.contact-card p { margin: 7px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: 5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button-gold { background: var(--gold); color: #062b56; }
.button-gold:hover, .button-gold:focus { background: #ffdc82; color: #062b56; }
.site-footer { color: #fff; background: #042651; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; padding: 28px 0 22px; }
.site-footer h2 { margin: 0 0 8px; font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }
.site-footer p { margin: 0; }
.copyright { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: .86rem; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-directory { position: static; } .faq-directory nav { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hero { width: min(100% - 16px, 1180px); border-radius: 12px; } .hero-inner { padding: 27px 0 29px; } .faq-layout { width: min(100% - 16px, 1180px); padding-top: 22px; } .faq-directory nav { grid-template-columns: 1fr; } .faq-tools, .faq-section, .contact-card { padding: 20px 16px; } .faq-item summary { padding: 14px; } .faq-answer { padding: 2px 14px 14px; } .contact-card { align-items: flex-start; flex-direction: column; } .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq-marker::after { transition: none; } }
@media print { .ciamss-primary-navigation, .faq-directory, .faq-tools, .contact-card, .site-footer { display: none !important; } .hero, .faq-section { color: #000; background: #fff; border: 1px solid #999; box-shadow: none; } .faq-item { break-inside: avoid; } .faq-answer { display: block !important; } }
