/*
Theme Name: VAGCode Academy
Theme URI: https://vagcodingacademy.com/
Author: VAGCode Academy
Description: Lightweight WordPress theme for the VAGCode Academy technical service platform.
Version: 1.0.3
Text Domain: vagcode-academy
*/

:root {
  --site-blue: #234f88;
  --site-blue-dark: #122d50;
  --site-ink: #17243a;
  --site-muted: #657287;
  --site-line: #dbe3ec;
  --site-paper: #f5f7fa;
  --site-surface: #fbfcfe;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--site-ink); background: var(--site-paper); font-family: Manrope, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { z-index: 999; width: auto; height: auto; top: 8px; left: 8px; padding: 10px; clip: auto; color: white; background: var(--site-blue); }
.site-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-announcement { min-height: 34px; display: flex; align-items: center; color: rgba(255,255,255,.86); background: #1b477f; font-size: 10px; }
.site-announcement .site-shell { display: flex; justify-content: space-between; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--site-line); background: rgba(251,252,254,.96); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.site-nav { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--site-ink); font-size: 17px; font-weight: 900; line-height: 1; text-decoration: none; }
.site-logo-mark { width: 43px; height: 38px; display: grid; place-items: center; border-radius: 6px; color: white; background: var(--site-blue); font-size: 13px; }
.site-logo small { display: block; margin-top: 5px; color: var(--site-blue); font-size: 8px; letter-spacing: 1.4px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; display: inline-flex; min-height: 74px; align-items: center; color: #2d394b; font-size: 12px; font-weight: 750; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--site-blue); }
.primary-nav .current-menu-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--site-blue); }
.nav-tools { display: flex; align-items: center; gap: 13px; }
.language-link, .account-link { font-size: 11px; font-weight: 750; text-decoration: none; }
.account-link { min-height: 43px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 4px; color: white; background: var(--site-blue); }
.menu-button { width: 44px; height: 44px; display: none; place-items: center; border: 1px solid var(--site-line); border-radius: 4px; background: transparent; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; width: 19px; height: 2px; display: block; background: var(--site-ink); }
.menu-button span { margin: 4px 0; }

.site-main { min-height: 65vh; }
.entry-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 95px; }
.entry-header { margin-bottom: 34px; }
.entry-title { max-width: 930px; margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: 0; }
.entry-content > * { max-width: 1180px; }
.entry-content > p, .entry-content > ul, .entry-content > ol { max-width: 820px; }
.entry-content h2 { margin-top: 65px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.entry-content h3 { font-size: 24px; }
.entry-content p, .entry-content li { color: var(--site-muted); }
.entry-content .alignwide { max-width: 1180px; }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.single-service .entry-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 55px; }
.service-sidebar { align-self: start; position: sticky; top: 110px; padding: 25px; border: 1px solid var(--site-line); background: var(--site-surface); }

.site-footer { padding: 55px 0 22px; color: rgba(255,255,255,.68); background: #12243b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr; gap: 50px; }
.site-footer .site-logo { color: white; }
.site-footer h2 { margin: 0 0 14px; color: white; font-size: 12px; }
.site-footer p, .site-footer a { font-size: 11px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }
.footer-bottom div { display: flex; gap: 16px; }
.footer-disclaimer { max-width: 960px; margin: 22px 0 0; color: #8190a4; font-size: 11px; line-height: 1.65; }

@media (max-width: 1060px) {
  .menu-button { display: grid; }
  .primary-nav { position: absolute; top: 74px; left: 24px; right: 24px; display: none; margin: 0; padding: 12px 20px; border: 1px solid var(--site-line); background: var(--site-surface); box-shadow: 0 20px 50px rgba(24,49,82,.15); }
  .primary-nav.open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { width: 100%; min-height: 46px; }
  .primary-nav .current-menu-item > a::after { display: none; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
  .site-shell, .entry-wrap { width: min(100% - 32px, 1180px); }
  .site-announcement .site-shell { justify-content: center; }
  .site-announcement span:last-child { display: none; }
  .site-nav { min-height: 66px; gap: 10px; }
  .primary-nav { top: 66px; left: 16px; right: 16px; }
  .site-logo { font-size: 15px; }
  .site-logo-mark { width: 39px; height: 35px; }
  .account-link { display: none; }
  .entry-wrap { padding: 55px 0 75px; }
  .entry-title { font-size: 43px; }
  .single-service .entry-wrap { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
