@charset "utf-8";

/*
  Jetsion website redesign stylesheet
  Modernized layout, color system, and responsive behavior while keeping the original markup intact.
*/
:root {
  --brand-primary: #0b6dff;
  --brand-secondary: #00c1a2;
  --brand-accent: #ffb347;
  --surface: #f5f7fb;
  --surface-alt: #ffffff;
  --surface-muted: #eef2ff;
  --text-dark: #111827;
  --text-light: #6b7280;
  --text-subtle: #94a3b8;
  --border-soft: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 25px 65px rgba(15, 23, 42, 0.14);
  --page-background: radial-gradient(circle at 10% 20%, rgba(0, 97, 255, 0.08), transparent),
    radial-gradient(circle at 90% 10%, rgba(255, 179, 71, 0.12), transparent),
    #f3f6fc;
}

[data-theme="dark"] {
  --surface: #050b16;
  --surface-alt: #0f172a;
  --surface-muted: #111c32;
  --text-dark: #f3f4f6;
  --text-light: #cbd5f5;
  --text-subtle: #94a3b8;
  --border-soft: #17233f;
  --shadow-soft: 0 20px 60px rgba(3, 7, 18, 0.6);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.55);
  --shadow-strong: 0 25px 80px rgba(0, 0, 0, 0.65);
  --page-background: radial-gradient(circle at 20% 20%, rgba(14, 116, 144, 0.25), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.25), transparent 55%),
    #020617;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--page-background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-secondary);
}

p {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.callout-card {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  margin: 16px 0;
}

.callout-card p {
  font-size: 1rem;
  color: #333;
  padding: 8px 0;
  margin: 0;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn.outline {
  border-color: rgba(11, 109, 255, 0.4);
  color: var(--brand-primary);
  background: transparent;
}

.btn.ghost {
  color: var(--text-dark);
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: var(--surface-alt);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 109, 255, 0.08), rgba(0, 193, 162, 0.08));
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(240px, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: clamp(190px, 22vw, 280px);
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-eyebrow {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-tagline {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: 0;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  color: var(--text-light);
  padding: 8px 0;
  letter-spacing: 0.03em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--text-dark);
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.02);
  color: var(--text-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-size: 1.1rem;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.1);
  color: #f8fafc;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--brand-primary);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
  display: none;
  fill: currentColor;
}

.theme-toggle-icon svg.is-active {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.05rem;
}

.hero-panel,
.info-card,
.contact-card,
.contact-form,
.support-card,
.blog-card,
.quote-card,
.subscribe-panel,
.faq-item {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2rem);
}

.hero-panel {
  box-shadow: var(--shadow-strong);
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-checklist li::before {
  content: "✔";
  color: var(--brand-secondary);
  font-size: 0.9rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.metrics-grid span {
  display: block;
}

.metrics-grid .metric-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.metrics-grid .metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.info-grid,
.feature-grid,
.support-grid,
.contact-grid,
.blog-grid,
.gallery-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-card h3,
.support-card h3,
.blog-card h3,
.contact-card h3 {
  margin-top: 0;
}

.info-card p,
.support-card p,
.blog-card p,
.contact-card p,
.quote-card p {
  margin-bottom: 0.5rem;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.media-gallery figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.media-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  padding-left: 24px;
  border-left: 2px solid rgba(11, 109, 255, 0.2);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-secondary));
  left: -6px;
  top: 8px;
}

.timeline-item h3 {
  margin-bottom: 0.25rem;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.quote-card strong {
  font-size: 1.1rem;
}

.blog-card img,
.support-card img,
.contact-card img {
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .tag-row,
.support-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.5rem 0;
}

.blog-card .tag-row span,
.support-card .tag-row span {
  border-radius: var(--radius-md);
  padding: 4px 10px;
  background: rgba(11, 109, 255, 0.08);
  color: var(--brand-primary);
  font-size: 0.85rem;
}

.subscribe-panel {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.subscribe-panel form,
.contact-form form {
  display: grid;
  gap: 12px;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.subscribe-panel input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.subscribe-panel input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(11, 109, 255, 0.15);
}

[data-theme="dark"] .subscribe-panel input,
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: var(--surface-muted);
  color: var(--text-dark);
}

.contact-grid {
  margin-top: 1.5rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.support-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.support-steps span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(11, 109, 255, 0.08);
  color: var(--brand-primary);
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.faq-item {
  border-left: 4px solid rgba(11, 109, 255, 0.35);
}

.faq-item h4 {
  margin-top: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.hero-content p {
  max-width: 520px;
}

.hero-media {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.hero-media img {
  border-radius: var(--radius-md);
}

.media-caption {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 109, 255, 0.15);
  min-width: 160px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.card-media {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-date {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  background: rgba(11, 109, 255, 0.08);
  color: var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 4px 10px;
  font-size: 0.85rem;
}

.text-link {
  font-weight: 600;
}

.news-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-inline {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-inline label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  flex: 1;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 10px 14px;
}

.search-box button {
  border: none;
  border-radius: var(--radius-md);
  background: var(--brand-primary);
  color: #fff;
  padding: 0 18px;
  font-weight: 600;
  cursor: pointer;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.timeline-card header {
  margin-bottom: 1rem;
}

.timeline-card h3 {
  margin-bottom: 0.5rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.media-grid a {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(11, 109, 255, 0.15);
  display: block;
}

.media-grid.single {
  grid-template-columns: minmax(0, 420px);
}

.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-embed {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.media-embed iframe {
  width: 100%;
  height: 320px;
  border: none;
}

.cta-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cta-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-card .qr {
  width: 140px;
  height: auto;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  margin-top: auto;
  background: #0b1a2f;
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: #fff;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox-overlay img {
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.lightbox-overlay.is-open {
  display: flex;
  cursor: zoom-out;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.clr {
  clear: both;
}

.main {
  width: 100%;
  padding-bottom: 4rem;
}

/* Header */
.header {
  background: linear-gradient(120deg, rgba(11, 109, 255, 0.08), rgba(0, 193, 162, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.header_resize {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo img {
  width: min(320px, 60vw);
  height: auto;
}

/* Navigation */
.menu_nav {
  margin-left: auto;
}

.menu_nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(11, 109, 255, 0.08);
}

.menu_nav li {
  margin: 0;
}

.menu_nav a {
  display: block;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
}

.menu_nav li.active a,
.menu_nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: var(--shadow-soft);
}

/* Content wrappers */
.content {
  padding: 40px 0 0;
}

.content_resize {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 32px;
}

.content .mainbar,
.content .sidebar {
  margin: 0;
  padding: 0;
}

.content .mainbar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}

.article h2 {
  color: var(--brand-primary);
}

.article .date a {
  font-weight: 600;
  color: var(--brand-secondary);
}

.article img {
  border-radius: var(--radius-md);
  margin: 16px 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.article .spec {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  margin-top: 24px;
  text-align: right;
}

.article .rm {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article .rm::after {
  content: "→";
  font-size: 0.9em;
}

/* Sidebar */
.content .sidebar {
  position: sticky;
  top: 32px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gadget {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
}

.gadget h2 {
  font-size: 1.3rem;
  color: var(--text-dark);
}

ul.sb_menu,
ul.ex_menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul.sb_menu a,
ul.ex_menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid transparent;
}

ul.sb_menu a:hover,
ul.ex_menu a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(11, 109, 255, 0.08);
}

/* Pagination */
.content p.pages {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 16px;
}

.content p.pages span,
.content p.pages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  margin: 0 4px;
}

.content p.pages span,
.content p.pages a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* Comments */
.comment {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.comment img.userpic {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 16px;
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Feature band */
.fbg {
  margin-top: 64px;
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(11, 109, 255, 0.08), rgba(0, 193, 162, 0.08));
}

.fbg_resize {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.fbg .col {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
}

.fbg h2 {
  color: var(--brand-primary);
}

.fbg ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fbg ul li a {
  color: var(--text-dark);
  font-weight: 500;
}

.fbg ul li a:hover {
  color: var(--brand-secondary);
}

/* Footer */
.footer {
  background: #0b1a2f;
  color: rgba(255, 255, 255, 0.78);
  padding: 32px 0 48px;
}

.footer_resize {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  color: #fff;
  font-weight: 500;
}

ul.fmenu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

ul.fmenu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

ul.fmenu a:hover,
ul.fmenu li.active a {
  background: rgba(255, 255, 255, 0.25);
}

/* Forms */
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

ol li {
  margin-bottom: 18px;
}

ol li label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

input.text,
ol li textarea,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input.text:focus,
ol li textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(11, 109, 255, 0.15);
}

ol li .send,
button,
input[type="submit"] {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
ol li .send:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* Search */
.searchform {
  margin-left: auto;
}

#formsearch {
  display: flex;
  gap: 12px;
  align-items: center;
}

#formsearch span {
  flex: 1;
}

#formsearch .editbox_search {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 10px 14px;
  width: 100%;
}

#formsearch .button_search {
  border: none;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  cursor: pointer;
}

/* Utility */
.content .mainbar img.fl {
  float: left;
  margin: 0 16px 16px 0;
}

.fbg img,
.content .mainbar img,
.sidebar img {
  border: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .content_resize {
    grid-template-columns: 1fr;
  }

  .content .sidebar {
    position: static;
  }

  .menu_nav ul {
    width: 100%;
  }

  .menu_nav {
    width: 100%;
  }

  .menu_nav a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .hero-media {
    padding: 12px;
  }

  .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .media-embed iframe {
    height: 220px;
  }

  .header_resize {
    padding: 24px 0 16px;
  }

  .article {
    padding: 24px;
  }

  .gadget {
    padding: 20px;
  }

  .menu_nav ul {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
  }

  .menu_nav a {
    border: 1px solid rgba(11, 109, 255, 0.2);
    border-radius: var(--radius-md);
  }
}
