/* AVE Europe — feuille de style du site public (version PHP) */
:root {
  --background: #ffffff; --foreground: #1f2a35; --card: #f9fbfa;
  --primary: #007c6f; --primary-foreground: #ffffff;
  --secondary: #eaf7f3; --muted: #f2f7f5; --muted-foreground: #646d74;
  --accent: #daf1eb; --border: #d9e4e1; --destructive: #d7352d;
  --hero-foreground: #ffffff; --ink: #042429; --warm: #e8ae69;
  --font-sans: 'DM Sans', Arial, sans-serif; --font-heading: 'Manrope', Arial, sans-serif;
  --shadow-menu: 0 14px 40px rgb(10 40 38 / .12);
}

/* Base (équivalent du « preflight ») */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; outline-offset: 5px; }
::selection { background: var(--accent); }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.icon { display: inline-block; flex-shrink: 0; }
svg.lucide { display: inline-block; flex-shrink: 0; stroke-width: 1.75; }

/* Utilitaires */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.bg-muted { background: var(--muted); }
.text-xs { font-size: 12px; line-height: 1.7; }
.text-11 { font-size: 11px; }
.text-10 { font-size: 10px; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; text-underline-offset: 4px; }
.block { display: block; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-7 { margin-top: 28px; } .mt-9 { margin-top: 36px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-6 { margin-bottom: 24px; }
.pb-20 { padding-bottom: 80px; }
.inline-icon { display: inline-flex; align-items: center; gap: 8px; }
.gap-md { gap: 12px; } .gap-lg { gap: 24px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border-radius: 6px; font-size: 14px; font-weight: 500; height: 36px; padding: 8px 16px; transition: background-color .2s, color .2s, border-color .2s; cursor: pointer; }
.btn svg { width: 16px; height: 16px; pointer-events: none; }
.btn-hero { background: var(--primary); color: var(--primary-foreground); border-radius: 999px; }
.btn-hero:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn-hero-outline { border: 1px solid color-mix(in srgb, var(--hero-foreground) 60%, transparent); color: var(--hero-foreground); border-radius: 999px; }
.btn-hero-outline:hover { background: color-mix(in srgb, var(--hero-foreground) 10%, transparent); }
.btn-default { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.btn-default:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn-outline { border: 1px solid var(--border); background: var(--background); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.btn-outline:hover { background: var(--accent); }
.btn-ghost:hover { background: var(--accent); }
.btn-link { color: var(--primary); padding: 0; height: auto; text-underline-offset: 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-lg { height: 48px; padding-inline: 32px; }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-icon svg { width: 22px; height: 22px; }
.btn-nav { height: 40px; padding-inline: 20px; font-size: 11px; }
.btn.text-xs { font-size: 12px; }

/* Structure */
.site-container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.top-bar { background: var(--ink); color: var(--hero-foreground); height: 34px; font-size: 11px; }
.top-bar-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { height: 100px; background: var(--background); position: relative; z-index: 30; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-original { display: block; width: 225px; height: auto; border-radius: 4px; }
.brand-original.has-bg { padding: 8px; background: var(--ink); }
.desktop-nav { display: flex; align-items: center; gap: 29px; font-size: 12px; font-weight: 600; }
.nav-link { display: flex; align-items: center; gap: 5px; padding-block: 39px; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--primary); }
.nav-group { position: relative; }
.nav-dropdown { display: none; position: absolute; top: 78px; left: -18px; min-width: 240px; padding: 12px; background: var(--background); border: 1px solid var(--border); box-shadow: var(--shadow-menu); border-radius: 6px; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 3px; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: var(--secondary); color: var(--primary); }
.mobile-nav { display: none; }

/* Accueil */
.home-hero { position: relative; min-height: 570px; height: min(650px, calc(100svh - 210px)); color: var(--hero-foreground); overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; object-position: center 52%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 88%, transparent), color-mix(in srgb, var(--ink) 62%, transparent) 38%, color-mix(in srgb, var(--ink) 7%, transparent) 76%); }
.hero-content { position: relative; height: 100%; min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 56px 74px; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-weight: 600; font-size: 11px; letter-spacing: 1.8px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.home-hero h1 { font-size: 62px; line-height: 1.13; font-weight: 600; margin: 24px 0 23px; max-width: 640px; }
.home-hero h1 em { font-style: normal; color: var(--warm); }
.hero-description { max-width: 465px; font-size: 16px; line-height: 1.75; opacity: .88; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions a { min-height: 48px; padding-inline: 24px; font-size: 12px; }
.hero-bottom { position: absolute; left: 0; bottom: 23px; width: 100%; font-size: 10px; }
.hero-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.mission-strip { border-bottom: 1px solid var(--border); background: var(--background); }
.mission-strip-inner { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); padding-block: 32px; }
.mission-brief { display: flex; align-items: center; gap: 17px; padding: 0 32px; border-right: 1px solid var(--border); }
.mission-brief:first-child { padding-left: 0; } .mission-brief:last-child { border: none; }
.mission-icon { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--secondary); color: var(--primary); }
.mission-brief h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; } .mission-brief p { font-size: 12px; color: var(--muted-foreground); }
.section-space { padding-block: 85px; }
.section-title { font-size: 36px; line-height: 1.3; font-weight: 650; margin-top: 16px; }
.section-copy { color: var(--muted-foreground); font-size: 14px; line-height: 1.9; }
.prose-light p + p { margin-top: 16px; }
.prose-light a { color: var(--primary); text-decoration: underline; }
.president-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.editorial-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.quote-block { border-left: 3px solid var(--primary); padding-left: 22px; margin-block: 25px; font-family: var(--font-heading); font-size: 19px; line-height: 1.7; font-weight: 600; }
.president-portrait { width: 48px; height: 64px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 38px; }
.value-item { border-top: 1px solid var(--border); padding-top: 22px; }
.value-item h3 { margin: 15px 0 10px; font-size: 18px; font-weight: 650; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--background); transition: transform .25s; }
.news-card:hover { transform: translateY(-4px); }
.news-card-image { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; }
.news-card h3 { font-size: 18px; line-height: 1.5; font-weight: 650; margin: 12px 0; }
.read-more { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--primary); }
.partners-title { text-align: center; margin-bottom: 40px; font-size: 11px; color: var(--muted-foreground); text-transform: uppercase; font-weight: 600; }
.partner-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; align-items: center; margin-block: 20px 40px; }
.partner-logo { height: 90px; display: flex; align-items: center; justify-content: center; }
.partner-logo img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.join-band { background: var(--secondary); padding: 55px 0; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.join-inner h2 { font-size: 30px; font-weight: 650; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--hero-foreground); padding: 58px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 45px; }
.footer-grid h3 { font-size: 12px; font-weight: 650; margin-bottom: 22px; }
.footer-grid p, .footer-grid a { font-size: 12px; line-height: 1.9; opacity: .75; }
.footer-grid a:hover { opacity: 1; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-original-logo { display: block; width: 240px; max-width: 100%; height: auto; margin-bottom: 24px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid color-mix(in srgb, var(--hero-foreground) 15%, transparent); margin-top: 45px; padding-top: 23px; font-size: 10px; opacity: .6; }

/* Pages intérieures */
.page-intro { padding-block: 65px 58px; background: var(--secondary); }
.page-intro h1 { font-size: 47px; line-height: 1.2; font-weight: 650; margin: 20px 0; }
.page-intro p { font-size: 17px; line-height: 1.8; max-width: 710px; color: var(--muted-foreground); }
.page-intro .eyebrow { font-size: 11px; color: var(--primary); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted-foreground); margin-bottom: 27px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--primary); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) 1fr; gap: 85px; }
.article-single { max-width: 860px; }
.article-body h2 { font-size: 25px; line-height: 1.4; font-weight: 650; margin: 0 0 18px; }
.article-body h3 { font-size: 18px; line-height: 1.4; font-weight: 650; margin: 0 0 12px; }
.article-body p, .article-body li { font-size: 15px; line-height: 1.95; color: var(--muted-foreground); margin-bottom: 20px; }
.article-body ul { margin: 0 0 20px 20px; list-style: disc; }
.article-body li { margin-bottom: 6px; }
.article-body a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body section { margin-bottom: 43px; }
.article-body figure { margin: 0 0 24px; }
.article-body figcaption { font-size: 11px; color: var(--muted-foreground); margin-top: 8px; }
.article-body.small p { font-size: 14px; margin-bottom: 12px; }
.article-image { width: 100%; border-radius: 6px; margin-bottom: 32px; aspect-ratio: 1.65; object-fit: cover; }
.archive-notice { margin-bottom: 36px; border-left: 2px solid var(--primary); padding-left: 16px; font-size: 12px; color: var(--muted-foreground); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.page-form { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.aside-nav { border-left: 1px solid var(--border); padding-left: 30px; }
.aside-nav h3 { font-size: 12px; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.aside-nav > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.aside-nav > a:hover, .aside-nav > a[aria-current] { color: var(--primary); }
.aside-news small { display: block; font-size: 10px; color: var(--muted-foreground); margin-bottom: 2px; }
.aside-cta { margin-top: 40px; }
.aside-cta > p { font-size: 18px; font-family: var(--font-heading); font-weight: 600; margin: 16px 0 12px; line-height: 1.4; }
.block-title { font-size: 24px; font-family: var(--font-heading); font-weight: 600; margin-bottom: 28px; line-height: 1.35; }
.fee-box { border-block: 1px solid var(--border); padding-block: 24px; margin-block: 28px; }
.fee-amount { font-size: 36px; font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.fee-amount span { font-size: 14px; font-weight: 400; color: var(--muted-foreground); }
.fee-exception { font-size: 12px; color: var(--muted-foreground); margin-top: 16px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.not-found { text-align: left; max-width: 640px; }
.not-found h1 { font-size: 42px; font-weight: 650; margin: 18px 0 12px; }

/* Contact & formulaires */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; }
.contact-item { display: flex; gap: 16px; margin: 0 0 30px; }
.contact-item h3 { font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.contact-item p, .contact-item a { font-size: 14px; line-height: 1.8; color: var(--muted-foreground); }
.contact-note { font-size: 12px; color: var(--muted-foreground); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 20px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field label, .form-field legend { font-size: 12px; font-weight: 600; }
.form-field legend { margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--border); background: var(--background); border-radius: 5px; padding: 13px 15px; font-size: 14px; color: var(--foreground); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--accent); border-color: var(--primary); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--destructive); }
.form-wide { grid-column: 1 / -1; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 400 !important; }
.choice input { width: auto; accent-color: var(--primary); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--muted-foreground); line-height: 1.6; }
.consent input { margin-top: 3px; accent-color: var(--primary); }
.consent a { color: var(--primary); text-decoration: underline; }
.field-error { color: var(--destructive); font-size: 12px; margin-top: 4px; }
.form-error-box { border-left: 2px solid var(--destructive); padding: 10px 16px; margin-bottom: 24px; font-size: 13px; background: color-mix(in srgb, var(--destructive) 6%, transparent); }
.form-success { display: flex; gap: 14px; border-left: 2px solid var(--primary); padding: 14px 18px; margin-bottom: 28px; background: var(--secondary); font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-anchor { scroll-margin-top: 30px; }
.filter-row, .pagination { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pagination { margin: 40px 0 0; }

.reveal { animation: reveal .7s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) { .home-hero { height: 640px; } }
@media (max-width: 1100px) {
  .site-container { width: calc(100% - 56px); }
  .desktop-nav { gap: 18px; font-size: 11px; }
  .president-layout { gap: 45px; }
  .home-hero h1 { font-size: 54px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 960px) { .desktop-nav { display: none; } .mobile-nav { display: block; } }
@media (max-width: 960px) {
  .mobile-menu { position: absolute; left: 0; top: 100%; width: 100%; max-height: calc(100svh - 108px); overflow: auto; background: var(--background); border-bottom: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow-menu); }
  .mobile-menu a { display: block; padding: 12px 8px; font-size: 14px; }
  .mobile-menu-title { font-weight: 700; color: var(--primary); margin-top: 10px; padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 800px) {
  .site-container { width: calc(100% - 32px); }
  .top-bar { height: 30px; } .top-bar .top-location { display: none; }
  .site-header { height: 78px; }
  .brand-original { width: 205px; }
  .home-hero { height: 610px; min-height: 0; }
  .hero-content { min-height: 0; padding-block: 50px 65px; }
  .hero-image { object-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 85%, transparent), color-mix(in srgb, var(--ink) 48%, transparent)); }
  .home-hero h1 { font-size: 44px; max-width: 450px; }
  .hero-description { font-size: 15px; max-width: 380px; }
  .hero-actions { gap: 10px; } .hero-actions a { padding-inline: 17px; font-size: 11px; }
  .hero-bottom { font-size: 9px; } .hide-sm { display: none; }
  .mission-strip-inner { grid-template-columns: 1fr; padding-block: 12px; }
  .mission-brief, .mission-brief:first-child { padding: 17px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .mission-brief:last-child { border: none; }
  .president-layout { grid-template-columns: 1fr; gap: 35px; }
  .section-space { padding-block: 55px; }
  .section-title { font-size: 29px; }
  .value-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-image { aspect-ratio: 1.9; }
  .section-heading { flex-direction: column; align-items: start; }
  .partner-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .partner-logo { height: 85px; }
  .join-inner { flex-direction: column; align-items: start; }
  .join-inner h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .page-intro { padding-block: 40px; }
  .page-intro h1 { font-size: 34px; }
  .page-intro p { font-size: 15px; }
  .article-layout, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .aside-nav { border-left: none; border-top: 1px solid var(--border); padding: 25px 0 0; }
  .contact-form { grid-template-columns: 1fr; gap: 18px; }
  .btn-lg { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: center; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .home-hero h1 { font-size: 38px; } .value-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Référencement : sommaire, guides, plan du site, recherche ---------- */
.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; }
.home-hero h1 .hero-kicker { font-size: 11px; line-height: 1.4; font-weight: 600; margin-bottom: 24px; }
.home-hero h1 .hero-title-text { display: block; }
.toc { border: 1px solid var(--border); border-radius: 6px; background: var(--card); padding: 22px 26px; margin: 0 0 40px; }
.toc-title { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary) !important; margin-bottom: 10px !important; }
.toc ol { margin: 0 0 0 20px; list-style: decimal; }
.toc li { margin-bottom: 4px !important; font-size: 14px !important; line-height: 1.7 !important; }
.toc a { text-decoration: none !important; }
.toc a:hover { text-decoration: underline !important; }
.article-body section[id] { scroll-margin-top: 24px; }
.article-body .faq-item h2 { font-size: 21px; }
.page-updated { display: flex; align-items: center; gap: 6px; font-size: 11px !important; margin-top: 32px; line-height: 1.6 !important; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.guide-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--background); transition: transform .25s, border-color .25s; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.guide-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.guide-card strong { font-size: 15px; line-height: 1.4; font-weight: 650; }
.guide-card small { font-size: 12px; line-height: 1.6; color: var(--muted-foreground); }
.home-guides-intro { max-width: 760px; margin-top: -14px; }
.related-guides .guide-grid { margin-top: 28px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-grid h2 { font-size: 18px; font-weight: 650; margin-bottom: 14px; }
.link-list { list-style: none; display: grid; gap: 8px; }
.link-list a { color: var(--primary); font-size: 14px; line-height: 1.6; }
.link-list a:hover { text-decoration: underline; }
.not-found .link-list { list-style: disc; margin-left: 20px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.search-form input { flex: 1; min-width: 200px; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; font: inherit; font-size: 15px; background: var(--background); color: var(--foreground); }
.search-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.search-results { display: grid; gap: 14px; margin-top: 24px; }
.search-result { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 6px; }
.search-result:hover { border-color: var(--primary); }
.footer-search { margin-top: 18px; display: flex; gap: 6px; }
.footer-search input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: inherit; font: inherit; font-size: 13px; }
.footer-search input::placeholder { color: currentColor; opacity: .7; }
.footer-search button { height: 36px; width: 36px; display: grid; place-items: center; border-radius: 6px; background: var(--primary); color: #fff; cursor: pointer; }
picture { display: contents; }
@media (max-width: 960px) { .guide-grid, .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .guide-grid, .sitemap-grid { grid-template-columns: 1fr; } .toc { padding: 18px; } }
#menu-toggle span { display: contents; }
#menu-toggle span[hidden] { display: none; }
