:root {
  --color-brand-blue: #00a9e8;
  --color-brand-blue-dark: #006f9f;
  --color-brand-blue-soft: #e7f8ff;
  --color-brand-yellow: #fcce06;
  --color-brand-yellow-dark: #8a6c00;
  --color-brand-yellow-soft: #fff9d9;
  --color-ink: #17252f;
  --color-text: #344651;
  --color-muted: #667781;
  --color-surface: #fff;
  --color-surface-alt: #f4f8fa;
  --color-border: #d8e3e8;
  --color-success: #23845b;
  --color-warning: #a85d00;
  --color-error: #bd2c2c;
  --shadow-sm: 0 2px 10px rgba(23, 37, 47, .08);
  --shadow-md: 0 14px 36px rgba(23, 37, 47, .12);
  --radius-sm: .45rem;
  --radius-md: .85rem;
  --radius-lg: 1.25rem;
  --content-width: 760px;
  --wide-width: 1180px;
  --font-heading: "Orbitron", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --primary-color: var(--color-brand-blue);
  --secondary-color: var(--color-brand-yellow);
  --accent-color: var(--color-brand-blue-dark);
  --text-color: var(--color-text);
  --text-light-color: var(--color-muted);
  --background-color: var(--color-surface);
  --light-background-color: var(--color-surface-alt);
  --border-color: var(--color-border);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 1rem/1.75 var(--font-body);
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
img, video, svg { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: var(--color-brand-blue-dark); text-underline-offset: .16em; }
a:hover { color: #004f73; }
:focus-visible { outline: 3px solid var(--color-brand-yellow); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  font-family: var(--font-heading);
  line-height: 1.22;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); }
h3 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
p { margin: 0 0 1.35em; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  clip: auto; padding: .75rem 1rem;
  background: #fff; color: var(--color-ink);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand .top-icon-ac-guide-logo { font-size: 25px; }
.top_search_bar_container { width: min(24rem, 34vw); }
.top_search_bar { display: flex; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface-alt); }
.top_search_bar input[type="search"] { width: 100%; height: 38px; padding: .45rem .9rem; border: 0; outline: 0; background: transparent; color: var(--color-ink); font: 400 .78rem/1.2 var(--font-body); }
.top_search_bar input[type="search"]::placeholder { color: var(--color-muted); font: inherit; opacity: .85; }
.top_search_bar input[type="submit"] { padding: .7rem 1rem; border: 0; border-radius: 999px; background: var(--color-brand-blue-dark); color: #fff; cursor: pointer; }
.burger { position: relative; z-index: 130; display: inline-grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 0; background: transparent !important; color: var(--color-brand-yellow); cursor: pointer; }
.burger > span { font-size: 32px; }
.burger:hover { color: var(--color-brand-blue-dark); }
.collapsable_menu { position: fixed; z-index: 120; inset: 0; visibility: hidden; opacity: 0; background: rgba(10,28,38,.62); transition: opacity .2s, visibility .2s; }
.collapsable_menu.nav-active { visibility: visible; opacity: 1; }
.nav_active_overlay { position: absolute; top: 0; right: 0; width: min(88vw, 380px); min-height: 100vh; padding: 2rem; transform: translateX(100%); background: var(--color-surface); box-shadow: -12px 0 36px rgba(10,28,38,.25); transition: transform .25s; }
.nav-active .nav_active_overlay { transform: translateX(0); }
body.menu-open .site-header { z-index: 130; border-color: transparent; background: transparent; box-shadow: none; pointer-events: none; }
body.menu-open .site-header > :not(.burger) { visibility: hidden; }
body.menu-open .site-header .burger { visibility: visible; pointer-events: auto; }
.vertical-menu-ul { margin: 2rem 0; padding: 0; list-style: none; }
.vertical-menu-ul a { display: flex; gap: .65rem; align-items: center; padding: .8rem 0; color: var(--color-ink); font-family: var(--font-heading); font-size: .82rem; font-weight: 600; text-decoration: none; }

.main_content { width: min(100%, var(--content-width)); min-height: 70vh; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem); margin-inline: auto; }
.post-header { margin-bottom: 1.25rem; }
.post-header h1 { margin: 0 0 .15rem; color: var(--color-brand-blue); }
.post-meta { display: block; color: var(--color-muted); font-size: .9rem; }
.entry-content h2 { color: var(--color-ink); }
.entry-content h3 { color: var(--color-brand-blue-dark); }
.entry-content h4 { color: var(--color-brand-yellow-dark); }
.entry-content > * { margin-inline: auto; }
.entry-content > .alignwide { width: min(var(--wide-width), calc(100vw - 2rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content blockquote { padding: .5rem 1.25rem; border-left: 4px solid var(--color-brand-yellow); background: var(--color-brand-yellow-soft); }

.single_sidebars_left { display: none; }
.single_sidebars_right { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; border-top: 1px solid var(--color-border); background: #fff; box-shadow: 0 -5px 18px rgba(23,37,47,.12); }
.fixed_menu_icons { display: flex; justify-content: space-around; padding: .4rem; margin: 0; list-style: none; }
.fixed_menu_icons a { display: flex; min-width: 56px; flex-direction: column; align-items: center; color: var(--color-text); font: 500 .56rem/1.2 var(--font-body); text-decoration: none; }
.fixed_menu_icons span { font-size: 1.35rem; }

@font-face {
  font-family: "acguide";
  src: url("top-icons/fonts/acguide.woff") format("woff");
  font-display: swap;
}
[class^="top-icon-"], [class*=" top-icon-"] { font-family: "acguide" !important; font-style: normal; line-height: 1; }
.top-icon-ac-guide-logo .path1::before { content: "\e902"; color: var(--color-brand-yellow); }
.top-icon-ac-guide-logo .path2::before { content: "\e903"; margin-left: -7.087890625em; color: var(--color-brand-blue); }
.top-icon-ac-guide-logo .path3::before { content: "\e904"; margin-left: -7.087890625em; color: var(--color-brand-blue); }
.top-icon-acguide-cross .path1::before { content: "\e900"; color: var(--color-brand-yellow); }
.top-icon-acguide-cross .path2::before { content: "\e901"; position: absolute; margin-left: -1em; color: var(--color-brand-blue); }
.top-icon-menu::before { content: "\e914"; }

@media (min-width: 1024px) {
  body.single #primary { display: grid; width: 100%; grid-template-columns: 24% 70% 6%; align-items: start; }
  body.single #top_anchor { position: absolute; }
  .single_sidebars_left { position: sticky; top: 92px; display: flex; width: calc(100% - 28px); max-height: calc(100vh - 112px); flex-direction: column; padding: 1.25rem; margin: 20px 14px; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 30px rgba(23,37,47,.11); }
  body.single .main_content { width: 100%; max-width: none; padding-inline: clamp(1.5rem, 4vw, 4rem); margin: 0; }
  .single_sidebars_right { position: sticky; top: 92px; right: auto; bottom: auto; left: auto; width: calc(100% - 14px); height: calc(100vh - 112px); margin: 20px 14px 20px 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(23,37,47,.13); }
  .fixed_menu_icons { height: 100%; flex-direction: column; justify-content: center; gap: 1.2rem; }
  .fixed_menu_icons a { min-width: 0; font-size: .5rem; }
  .fixed_menu_icons span { font-size: 1.15rem; }
  #mobile-toc { display: none; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) { .top_search_bar_container { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
