/* ==========================================================================
   KRAPIVA FEST — ESPORTS & DIGITAL CULTURE PORTAL
   Theme: SquadForce Cyber Gaming Aesthetic (1-in-1 Authentic Reproduction)
   Matches https://wp.nkdev.info/squadforce/
   Version: 3.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* SquadForce Signature Palette */
  --nk-color-main-1: #dd163b;
  --nk-color-main-1-hover: #eb3154;
  --nk-color-main-1-rgb: 221, 22, 59;
  
  --nk-color-dark-1: #181c23;
  --nk-color-dark-2: #292e38;
  --nk-color-dark-3: #2f3541;
  --nk-color-dark-4: #313947;
  
  --nk-bg-main: #181c23;
  --nk-bg-card: #292e38;
  --nk-bg-card-hover: #313743;
  --nk-bg-topbar: #11151a;
  --nk-bg-darker: #0c1013;
  
  --nk-border-color: #2f3541;
  --nk-border-dark: #212932;
  --nk-border-light: #3b4454;
  
  /* Text */
  --nk-text-heading: #ffffff;
  --nk-text-body: #a0a7ab;
  --nk-text-muted: #707c88;
  --nk-text-light: #e6ebf0;
  --nk-text-link: #ffffff;
  --nk-text-link-hover: #dd163b;

  /* Typography */
  --nk-font-heading: 'Montserrat', sans-serif;
  --nk-font-body: 'Open Sans', sans-serif;

  /* Layout */
  --nk-container-max: 1464px;
  --nk-radius: 4px;
}

/* --------------------------------------------------------------------------
   02. Reset & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  background-color: var(--nk-bg-main);
  color: var(--nk-text-body);
  font-family: var(--nk-font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Background Glows */
.nk-page-background-top,
.nk-page-background-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.65;
}
.nk-page-background-top { top: 0; }
.nk-page-background-bottom { bottom: 0; }

/* Sticky Footer Architecture */
.nk-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.nk-main {
  flex: 1 0 auto;
  position: relative;
  width: 100%;
  z-index: 1;
}

.nk-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* SquadForce Spacing Utility Classes */
.nk-gap { height: 10px; }
.nk-gap-1 { height: 15px; }
.nk-gap-2 { height: 30px; }
.nk-gap-3 { height: 45px; }
.nk-gap-4 { height: 60px; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--nk-font-heading);
  color: var(--nk-text-heading);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1, .h1 { font-size: 42px; font-weight: 800; }
h2, .h2 { font-size: 32px; font-weight: 700; }
h3, .h3 { font-size: 24.5px; font-weight: 700; }
h4, .h4 { font-size: 18.5px; font-weight: 700; }
h5, .h5 { font-size: 14.3px; font-weight: 600; }
h6, .h6 { font-size: 12.3px; font-weight: 600; }

p {
  margin-bottom: 1.35rem;
}

a {
  color: var(--nk-text-link);
  text-decoration: none;
  transition: 0.15s color, 0.15s background-color;
}

a:hover, a:focus {
  color: var(--nk-text-link-hover);
}

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

ul, ol {
  list-style: none;
}

.text-white { color: #ffffff !important; }
.text-main-1 { color: #dd163b !important; }
.has-inline-color { color: #dd163b !important; }
.squadforce-decoration-none { text-decoration: none !important; }
.float-right { float: right !important; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Grid & Containers (Bootstrap 4 compatible) */
.container {
  width: 100%;
  max-width: var(--nk-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row.vertical-gap {
  margin-top: -30px;
}
.row.vertical-gap > [class*="col"] {
  margin-top: 30px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-5 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-7 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-8 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

.col-lg-2 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-3 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-4 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-6 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-8 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-9 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}

/* --------------------------------------------------------------------------
   03. Top Contacts Bar (nk-contacts-top)
   -------------------------------------------------------------------------- */
.nk-contacts-top {
  padding: 10px 0;
  font-size: 0.85rem;
  color: #fff;
  background-color: var(--nk-bg-topbar);
  border-bottom: 1px solid var(--nk-border-color);
  position: relative;
  z-index: 1002;
}

.nk-contacts-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nk-contacts-left {
  display: flex;
  align-items: center;
}

.nk-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nk-social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.85;
  transition: 0.15s all;
}

.nk-social-links li a:hover {
  opacity: 1;
  color: var(--nk-color-main-1);
  transform: translateY(-1px);
}

.nk-social-links li a svg,
.nk-social-links-2 li a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nk-contacts-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nk-contacts-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nk-contacts-icons li {
  display: flex;
  align-items: center;
}

.nk-contacts-icons li a,
.nk-contacts-icons li button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0.85;
  transition: 0.15s all;
}

.nk-contacts-icons li a:hover,
.nk-contacts-icons li button:hover {
  opacity: 1;
  color: var(--nk-color-main-1);
}

.nk-contacts-icons svg,
.nk-contacts-icons .fa,
.nk-contacts-icons .fas {
  width: 16px;
  height: 16px;
  font-size: 15px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   04. Main Navigation Bar (nk-navbar-top)
   -------------------------------------------------------------------------- */
.nk-navbar {
  position: relative;
  z-index: 1001;
  background-color: var(--nk-bg-main);
  transition: 0.2s background-color;
  border-bottom: 1px solid var(--nk-border-color);
}

.nk-navbar-top {
  padding: 0;
}

.nk-navbar-sticky {
  position: sticky;
  top: 0;
}

.nk-nav-table {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nk-nav-logo {
  display: flex;
  align-items: center;
  padding: 18px 0;
}

.nk-nav-logo img {
  width: 197px;
  height: auto;
  display: block;
}

.nk-nav-main {
  display: flex;
  align-items: center;
}

.nk-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nk-nav > li {
  position: relative;
}

.nk-nav > li > a {
  display: block;
  padding: 26px 14px;
  font-family: var(--nk-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  position: relative;
  transition: 0.15s color;
}

.nk-nav > li:hover > a,
.nk-nav > li.active > a {
  color: var(--nk-color-main-1);
}

.nk-nav > li.active > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--nk-color-main-1);
}

/* Dropdown */
.nk-nav li .dropdown,
.nk-nav li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #181c23;
  border: 1px solid var(--nk-border-color);
  border-top: 2px solid var(--nk-color-main-1);
  padding: 10px 0;
  margin: 0;
  display: none;
  z-index: 1003;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.nk-nav li:hover > .dropdown,
.nk-nav li:hover > ul.sub-menu {
  display: block;
  animation: nkDropFade 0.2s ease-in-out;
}

@keyframes nkDropFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nk-nav li .dropdown li a,
.nk-nav li ul.sub-menu li a {
  display: block;
  padding: 8px 20px;
  font-family: var(--nk-font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  transition: 0.15s all;
}

.nk-nav li .dropdown li a:hover,
.nk-nav li ul.sub-menu li a:hover {
  color: var(--nk-color-main-1);
  padding-left: 25px;
  background-color: #1f242c;
}

/* Mobile Toggle */
.nk-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nk-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.25s all;
}

@media (max-width: 991px) {
  .nk-nav-main { display: none; }
  .nk-nav-toggle { display: block; }
}

/* --------------------------------------------------------------------------
   05. Mobile Navigation Drawer & Modals
   -------------------------------------------------------------------------- */
.nk-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1009;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s all;
}

.nk-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nk-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: #181c23;
  border-left: 1px solid var(--nk-border-color);
  z-index: 1010;
  overflow-y: auto;
  transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 24px 20px;
}

.nk-mobile-drawer.active {
  right: 0;
}

.nk-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nk-border-color);
  margin-bottom: 20px;
}

.nk-mobile-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nk-mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--nk-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid #212932;
}

.nk-mobile-nav a:hover {
  color: var(--nk-color-main-1);
  padding-left: 6px;
}

.sub-menu-mobile {
  padding-left: 15px;
  background-color: #13171d;
  margin-bottom: 5px;
}

.sub-menu-mobile a {
  font-size: 0.8rem;
  color: #a0a7ab;
  padding: 8px 0;
  border-bottom: 1px solid #1a2027;
}

/* Modals (Search & Login) */
.nk-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 16, 19, 0.88);
  backdrop-filter: blur(4px);
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s all;
}

.nk-modal.active,
.nk-modal.show {
  opacity: 1;
  visibility: visible;
}

.nk-modal-content,
.nk-modal .modal-content {
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: var(--nk-radius);
  padding: 30px;
  width: 90%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.nk-modal-close,
.nk-modal .close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.15s all;
}

.nk-modal-close:hover,
.nk-modal .close:hover {
  color: var(--nk-color-main-1);
  opacity: 1;
}

.nk-form-control,
.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #181c23;
  border: 1px solid var(--nk-border-color);
  border-radius: var(--nk-radius);
  color: #fff;
  font-family: var(--nk-font-body);
  font-size: 0.95rem;
  transition: 0.15s border-color;
  outline: none;
}

.nk-form-control:focus,
.form-control:focus {
  border-color: var(--nk-color-main-1);
}

/* --------------------------------------------------------------------------
   06. Decorated Title (is-style-squadforce-decorated)
   -------------------------------------------------------------------------- */
.is-style-squadforce-decorated,
.nk-decorated-title,
.nk-decorated-h {
  display: flex;
  align-items: center;
  margin-top: 45px;
  margin-bottom: 28px;
  font-family: var(--nk-font-heading);
  font-size: 24.5px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.is-style-squadforce-decorated::before,
.nk-decorated-title::before,
.nk-decorated-h::before {
  content: "";
  display: block;
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  margin-right: 20px;
  border-bottom: 4px solid #2f3541;
  transform: translateY(-2px);
}

.is-style-squadforce-decorated::after,
.nk-decorated-title::after,
.nk-decorated-h::after {
  content: "";
  display: block;
  flex: 100;
  margin-left: 20px;
  border-bottom: 4px solid #2f3541;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   07. SquadForce Breadcrumbs (nk-breadcrumbs)
   -------------------------------------------------------------------------- */
.nk-breadcrumbs-bar {
  background-color: #11151a;
  border-bottom: 1px solid var(--nk-border-color);
  padding: 14px 0;
  margin-bottom: 35px;
}

.nk-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-family: var(--nk-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nk-breadcrumbs li a {
  color: #8a99a8;
  transition: 0.15s color;
}

.nk-breadcrumbs li a:hover {
  color: var(--nk-color-main-1);
}

.nk-breadcrumbs-separator {
  color: #3b4454;
  margin: 0 4px;
}

.nk-breadcrumbs li span {
  color: #fff;
  position: relative;
  padding-bottom: 2px;
}

.nk-breadcrumbs li:last-child span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--nk-color-main-1);
}

/* --------------------------------------------------------------------------
   08. Hero Image Slider (nk-image-slider)
   -------------------------------------------------------------------------- */
.nk-image-slider {
  position: relative;
  overflow: hidden;
  background-color: #292e38;
  border-bottom: 3px solid var(--nk-color-main-1);
  border-radius: var(--nk-radius);
  margin-bottom: 35px;
}

.nk-slider-track {
  position: relative;
  width: 100%;
}

.nk-slider-item {
  position: relative;
  width: 100%;
  height: 520px;
  display: none;
}

.nk-slider-item.active {
  display: block;
  animation: nkSliderFade 0.45s ease-in-out;
}

@keyframes nkSliderFade {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

.nk-slider-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nk-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 19, 0.9) 0%, rgba(12, 16, 19, 0.55) 50%, rgba(12, 16, 19, 0.2) 100%);
}

.nk-slider-content,
.nk-image-slider-content {
  position: absolute;
  top: 40px;
  left: 45px;
  max-width: 540px;
  background-color: rgba(24, 28, 35, 0.95);
  border-left: 4px solid var(--nk-color-main-1);
  border-radius: var(--nk-radius);
  padding: 30px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nk-slider-title {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 800;
}

.nk-slider-desc {
  font-size: 0.92rem;
  color: var(--nk-text-body);
  line-height: 1.65;
  margin-bottom: 20px;
}

.nk-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 3;
}

.nk-slider-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(24, 28, 35, 0.9);
  border: 1px solid var(--nk-border-color);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: 0.15s all;
}

.nk-slider-arrow:hover {
  background-color: var(--nk-color-main-1);
  border-color: var(--nk-color-main-1);
}

.nk-slider-dots,
.nk-image-slider-thumbs {
  position: absolute;
  right: 30px;
  bottom: 25px;
  display: flex;
  gap: 8px;
  z-index: 3;
  background-color: rgba(24, 28, 35, 0.95);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--nk-border-color);
}

.nk-slider-dot {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nk-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background-color: #2f3541;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.15s all;
}

.nk-slider-dot.active {
  background-color: var(--nk-color-main-1);
  box-shadow: 0 0 10px rgba(221, 22, 59, 0.5);
}

@media (max-width: 767px) {
  .nk-slider-item { height: 460px; }
  .nk-slider-arrow { display: none; }
  .nk-slider-content, .nk-image-slider-content {
    left: 15px;
    right: 15px;
    top: 20px;
    padding: 20px;
    max-width: none;
  }
  .nk-slider-title { font-size: 1.2rem; }
  .nk-slider-dots { right: 15px; bottom: 15px; }
}

/* --------------------------------------------------------------------------
   08b. SquadForce Console / Platform Strip (ghostkit-icon-box)
   -------------------------------------------------------------------------- */
.ghostkit-grid {
  width: 100%;
  margin-bottom: 35px;
}

.ghostkit-grid-inner {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.ghostkit-col {
  padding: 0 15px;
}

.ghostkit-col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.ghostkit-col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.ghostkit-icon-box {
  display: flex;
  align-items: center;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  padding: 20px 24px;
  transition: 0.2s all;
}

.ghostkit-icon-box:hover {
  border-color: #3b4454;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ghostkit-icon-box-icon {
  color: #eeeeee;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s color;
}

.ghostkit-icon-box:hover .ghostkit-icon-box-icon {
  color: var(--nk-color-main-1);
}

.ghostkit-icon-box-content {
  margin-left: 18px;
}

.nk-feature-title {
  font-family: var(--nk-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px 0;
}

.nk-feature-title a {
  color: var(--nk-color-main-1);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.15s color;
}

.nk-feature-title a:hover {
  color: var(--nk-color-main-1-hover);
}

@media (max-width: 767px) {
  .ghostkit-col-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
}

/* --------------------------------------------------------------------------
   09. News Box Widget (nk-news-box)
   -------------------------------------------------------------------------- */
.nk-news-box {
  height: 425px;
  overflow: hidden;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  display: flex;
  margin-bottom: 35px;
}

.nk-news-box-list {
  width: 50%;
  height: 100%;
  overflow-y: auto;
}

.nk-news-box-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #242932;
  transition: 0.15s background-color, 0.15s color;
}

.nk-news-box-item:hover {
  background-color: #2f3541;
}

.nk-news-box-item.nk-news-box-item-active {
  background-color: var(--nk-color-main-1);
  color: #fff;
}

.nk-news-box-item-img {
  width: 95px;
  height: 65px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.nk-news-box-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s transform;
}

.nk-news-box-item:hover .nk-news-box-item-img img {
  transform: scale(1.08);
}

.nk-news-box-item-title {
  font-family: var(--nk-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px 0;
  color: #fff;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nk-news-box-item-date {
  font-size: 0.78rem;
  color: #8a99a8;
}

.nk-news-box-item.nk-news-box-item-active .nk-news-box-item-date {
  color: #ffffff;
}

.nk-news-box-item-categories {
  display: inline-block;
  margin-bottom: 4px;
}

.nk-news-box-item-categories a,
.nk-news-box-item-categories span {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--nk-font-heading);
  text-transform: uppercase;
  color: #fff;
  border-radius: 3px;
}

.nk-news-box-each-info {
  width: 50%;
  height: 100%;
  border-left: 1px solid var(--nk-border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  background-color: #232832;
  overflow: hidden;
}

.nk-news-box-each-info .nk-news-box-item-image {
  height: 195px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  position: relative;
}

.nk-news-box-each-info .nk-news-box-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nk-news-box-each-info .nk-news-box-item-image .nk-news-box-item-categories {
  position: absolute;
  top: 10px;
  left: 10px;
}

.nk-news-box-each-info .nk-news-box-item-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
}

.nk-news-box-each-info .nk-news-box-item-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--nk-text-body);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nk-news-box-each-info .nk-news-box-item-more {
  display: inline-block;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .nk-news-box {
    flex-direction: column;
    height: auto;
  }
  .nk-news-box-list {
    width: 100%;
    height: 250px;
  }
  .nk-news-box-each-info {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--nk-border-color);
  }
}

/* --------------------------------------------------------------------------
   10. Blog Posts & Visual Portfolio List Cards (nk-blog-post / vp-portfolio)
   -------------------------------------------------------------------------- */
.nk-blog-post {
  background-color: var(--nk-bg-card);
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: 0.2s all;
}

.nk-blog-post:hover {
  border-color: #3b4454;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.nk-post-img {
  position: relative;
  display: block;
  overflow: hidden;
  height: 200px;
  background-color: #181c23;
}

.nk-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s transform;
}

.nk-blog-post:hover .nk-post-img img {
  transform: scale(1.06);
}

/* SquadForce Corner Badges */
.nk-post-categories {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.nk-post-categories span,
.nk-post-categories a {
  display: inline-block;
  padding: 3px 12px;
  font-family: var(--nk-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.nk-post-comments-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-weight: 700;
  font-family: var(--nk-font-heading);
  font-size: 0.8rem;
  line-height: 28px;
  text-align: center;
  background-color: #ffffff;
  color: #181c23 !important;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.nk-post-content {
  padding: 22px;
}

.nk-post-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.nk-post-title a {
  color: #fff;
  transition: 0.15s color;
}

.nk-post-title a:hover {
  color: var(--nk-color-main-1);
}

.nk-post-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #8a99a8;
  margin-bottom: 12px;
}

.nk-post-by img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--nk-color-main-1);
}

.nk-post-by a {
  color: #fff;
  font-weight: 600;
}

.nk-post-text {
  font-size: 0.88rem;
  color: var(--nk-text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.nk-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nk-post-date {
  font-size: 0.8rem;
  color: #8a99a8;
}

.nk-post-date .fa,
.nk-post-date svg {
  margin-right: 5px;
}

/* --------------------------------------------------------------------------
   11. CyberPress Matches (cyberpress-block-matches)
   -------------------------------------------------------------------------- */
.cyberpress-block-matches {
  margin-bottom: 35px;
}

.cyberpress-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.cyberpress-match {
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  padding: 20px 24px;
  transition: 0.2s all;
}

.cyberpress-match:hover {
  border-color: #3b4454;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cyberpress-match-participants {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  grid-gap: 15px;
}

.cyberpress-match-participant {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cyberpress-match-participant-thumbnail {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cyberpress-match-participant-thumbnail img {
  max-width: 65px;
  max-height: 65px;
  object-fit: contain;
}

.cyberpress-match-participant-title {
  font-family: var(--nk-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.cyberpress-match-participant-title a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cyberpress-match-participant-title a:hover {
  color: var(--nk-color-main-1);
}

.cyberpress-flag-img {
  width: 18px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
}

.cyberpress-match-participant-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.cyberpress-match-participant-time-start {
  font-size: 0.82rem;
  color: #8a99a8;
  font-family: var(--nk-font-heading);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cyberpress-match-points {
  font-family: var(--nk-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.cyberpress-match-points.points-vs {
  font-size: 1.8rem;
  color: var(--nk-color-main-1);
}

.cyberpress-match-info {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #222731;
  font-size: 0.82rem;
  color: #8a99a8;
  text-align: center;
}

.cyberpress-tournament-inline-link {
  color: #fff;
  font-weight: 600;
}

.cyberpress-tournament-inline-link:hover {
  color: var(--nk-color-main-1);
}

@media (max-width: 600px) {
  .cyberpress-match-participants {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  .cyberpress-match-points { font-size: 1.6rem; }
}

/* Now Playing Highlight Banner */
.nk-now-playing-banner {
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 25px;
}

.ghostkit-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #181c23;
  overflow: hidden;
  border-radius: 4px;
}

.ghostkit-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ghostkit-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(221, 22, 59, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 25px rgba(221, 22, 59, 0.6);
  cursor: pointer;
  transition: 0.2s transform;
}

.ghostkit-video:hover .ghostkit-video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

/* --------------------------------------------------------------------------
   12. Tabbed News & Filter Controls (vp-filter)
   -------------------------------------------------------------------------- */
.vp-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.vp-filter__item {
  display: inline-block;
}

.vp-filter__item a {
  display: block;
  padding: 8px 18px;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  font-family: var(--nk-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  transition: 0.15s all;
  letter-spacing: 0.5px;
}

.vp-filter__item a:hover,
.vp-filter__item.vp-filter__item-active a {
  background-color: var(--nk-color-main-1);
  border-color: var(--nk-color-main-1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(221, 22, 59, 0.4);
}

/* Stretched Horizontal Post */
.nk-stretch-first-post {
  display: flex;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 25px;
}

.nk-stretch-first-post .nk-post-img {
  width: 38%;
  height: auto;
  min-height: 220px;
}

.nk-stretch-first-post .nk-post-content {
  width: 62%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .nk-stretch-first-post {
    flex-direction: column;
  }
  .nk-stretch-first-post .nk-post-img,
  .nk-stretch-first-post .nk-post-content {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   13. Gallery Grid (vp-portfolio__items-style-squadforce-gallery)
   -------------------------------------------------------------------------- */
.nk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

.nk-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 195px;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
}

.nk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s transform;
}

.nk-gallery-item:hover img {
  transform: scale(1.08);
}

.nk-gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(221, 22, 59, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.25s opacity;
  padding: 15px;
  text-align: center;
  cursor: pointer;
}

.nk-gallery-item:hover .nk-gallery-overlay {
  opacity: 1;
}

.nk-gallery-zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--nk-color-main-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.nk-gallery-zoom svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nk-gallery-title {
  font-family: var(--nk-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 767px) {
  .nk-gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nk-gallery-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion (nk-accordion)
   -------------------------------------------------------------------------- */
.nk-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.nk-accordion-item {
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  overflow: hidden;
  background-color: #292e38;
}

.nk-accordion-header {
  padding: 16px 22px;
  font-family: var(--nk-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  background-color: #292e38;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.15s all;
}

.nk-accordion-item:hover .nk-accordion-header {
  background-color: #313743;
}

.nk-accordion-item.active .nk-accordion-header {
  background-color: var(--nk-color-main-1);
  color: #fff;
}

.nk-accordion-arrow {
  font-size: 0.85rem;
  transition: 0.2s transform;
}

.nk-accordion-item.active .nk-accordion-arrow {
  transform: rotate(90deg);
}

.nk-accordion-body {
  display: none;
  padding: 22px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--nk-text-body);
  background-color: #232832;
}

.nk-accordion-item.active .nk-accordion-body {
  display: block;
}

/* --------------------------------------------------------------------------
   15. Sidebar & Highlighted Widgets (nk-widget-highlighted)
   -------------------------------------------------------------------------- */
.nk-sidebar {
  position: relative;
}

.nk-widget {
  margin-bottom: 35px;
  background-color: #292e38;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  overflow: hidden;
}

.nk-widget-highlighted .nk-widget-title,
.nk-widget .nk-widget-title {
  position: relative;
  padding: 22px 24px;
  margin: 0;
  background-color: #2f3541;
  font-family: var(--nk-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.nk-widget-highlighted .nk-widget-title > span,
.nk-widget .nk-widget-title > span {
  display: inline-block;
  padding-right: 20px;
  background-color: #2f3541;
  position: relative;
  z-index: 2;
}

.nk-widget-highlighted .nk-widget-title::after,
.nk-widget .nk-widget-title::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  right: 24px;
  left: 24px;
  height: 3px;
  background-color: #ffffff;
  opacity: 0.8;
  z-index: 1;
}

.nk-widget-content {
  padding: 24px;
}

/* Social Widget Buttons (4x2 grid) */
.nk-social-links-3.nk-social-links-cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nk-social-links-3 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  background-color: #181c23;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  color: #fff;
  transition: 0.15s all;
}

.nk-social-links-3 li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nk-social-links-3 li a:hover {
  background-color: var(--nk-color-main-1);
  border-color: var(--nk-color-main-1);
  transform: translateY(-2px);
}

/* Widget Top Recent Posts */
.nk-widget-post-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #232832;
}

.nk-widget-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nk-widget-post-thumb {
  width: 85px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.nk-widget-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s transform;
}

.nk-widget-post-item:hover .nk-widget-post-thumb img {
  transform: scale(1.08);
}

.nk-widget-post-title {
  font-family: var(--nk-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.nk-widget-post-title a {
  color: #fff;
  transition: 0.15s color;
}

.nk-widget-post-title a:hover {
  color: var(--nk-color-main-1);
}

.nk-widget-post-date {
  font-size: 0.78rem;
  color: #8a99a8;
}

/* Widget Categories */
.nk-widget-categories {
  margin: 0;
  padding: 0;
}

.nk-widget-categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #232832;
  font-family: var(--nk-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nk-widget-categories li a {
  color: var(--nk-text-body);
  transition: 0.15s all;
}

.nk-widget-categories li a:hover {
  color: #fff;
  padding-left: 6px;
}

.nk-widget-categories li span {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #181c23;
  color: var(--nk-color-main-1);
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   16. Buttons & Badges (Authentic Squadforce)
   -------------------------------------------------------------------------- */
.nk-btn, .button, .ghostkit-button {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--nk-font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 0;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: 0.15s all;
  letter-spacing: 0.5px;
}

.nk-btn.nk-btn-rounded {
  border-radius: 25px;
}

.nk-btn-color-white {
  background-color: #ffffff;
  color: #181c23 !important;
}

.nk-btn-color-white:hover,
.nk-btn-hover-color-main-1:hover {
  background-color: var(--nk-color-main-1) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(221, 22, 59, 0.5);
}

.nk-btn-color-dark-3, .nk-btn-secondary {
  background-color: #2f3541;
  color: #fff;
}

.nk-btn-color-dark-3:hover, .nk-btn-secondary:hover {
  background-color: var(--nk-color-main-1);
  color: #fff;
}

.nk-btn-color-main-1, .nk-btn-primary {
  background-color: var(--nk-color-main-1);
  color: #fff;
}

.nk-btn-color-main-1:hover, .nk-btn-primary:hover {
  background-color: var(--nk-color-main-1-hover);
  color: #fff;
  box-shadow: 0 4px 15px rgba(221, 22, 59, 0.45);
}

.nk-btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.nk-btn-outline:hover {
  background-color: var(--nk-color-main-1);
  border-color: var(--nk-color-main-1);
  color: #fff;
}

.nk-btn-sm {
  padding: 7px 16px;
  font-size: 0.78rem;
}

.nk-btn-lg {
  padding: 13px 28px;
  font-size: 0.95rem;
}

.nk-btn-block {
  display: block;
  width: 100%;
}

/* Badges */
.nk-badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--nk-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.nk-badge-tech, .nk-badge-danger { background-color: var(--nk-color-main-1); }
.nk-badge-esports { background-color: #e69500; }
.nk-badge-online { background-color: #0084ff; }
.nk-badge-events { background-color: #00bd68; }
.nk-badge-igaming { background-color: #0099cc; }

/* --------------------------------------------------------------------------
   17. Inner Article Typography & Decision Support Blocks
   -------------------------------------------------------------------------- */
.nk-article-header {
  margin-bottom: 30px;
}

.nk-article {
  min-width: 0;
}

.nk-article-header h1 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.nk-article-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 26px;
  font-family: "IBM Plex Mono", monospace;
}

.nk-article-meta-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  min-height: 72px;
  padding: 14px 16px 15px;
  background: #0b0c0a;
}

.nk-article-meta-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #46505f;
}

.nk-article-meta-item:first-child::before,
.nk-article-meta-item:last-child::before {
  background: var(--nk-color-main-1);
}

.nk-article-meta-label {
  color: #8f9baa;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nk-article-meta-value {
  display: block;
  color: #ffffff;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.nk-article-meta time {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .nk-article-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

.entry-title, .nk-article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.nk-article-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e6ebf0;
  margin-bottom: 24px;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--nk-text-light);
  min-width: 0;
  overflow-wrap: break-word;
}

.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.entry-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 22px;
  color: #ffffff;
  line-height: 1.35;
  clear: both;
}

.entry-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 38px;
  margin-bottom: 18px;
  color: #ffffff;
  line-height: 1.4;
  clear: both;
}

.entry-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 14px;
  color: #ffffff;
  clear: both;
}

.entry-content p {
  margin-bottom: 1.45rem;
  line-height: 1.8;
}

.entry-content a {
  color: var(--nk-color-main-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:hover {
  color: var(--nk-color-main-1-hover);
  text-decoration: none;
}

.entry-content strong {
  color: #ffffff;
  font-weight: 700;
}

.entry-content code {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.88em;
  background-color: #14181f;
  color: #ff6b81;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--nk-border-color);
}

/* --------------------------------------------------------------------------
   Article Lists (SquadForce Diamond Bullets & Counters)
   -------------------------------------------------------------------------- */
.entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 22px 0 28px 0;
}

.entry-content ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.72;
  color: var(--nk-text-light);
}

.entry-content ul > li::before {
  content: "◆";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--nk-color-main-1);
  font-size: 0.72rem;
  line-height: 1.72;
}

.entry-content ol {
  list-style: none;
  counter-reset: nk-article-counter;
  padding-left: 0;
  margin: 22px 0 28px 0;
}

.entry-content ol > li {
  counter-increment: nk-article-counter;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.72;
  color: var(--nk-text-light);
}

.entry-content ol > li::before {
  content: counter(nk-article-counter) ".";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--nk-color-main-1);
  font-family: var(--nk-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Checklists (.nk-checklist)
   -------------------------------------------------------------------------- */
.nk-checklist {
  background-color: #20252e;
  border: 1px solid var(--nk-border-color);
  border-left: 4px solid var(--nk-color-main-1);
  border-radius: 4px;
  padding: 26px 30px 22px 30px;
  margin: 36px 0;
  clear: both;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nk-checklist-title {
  font-family: var(--nk-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nk-checklist-title::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--nk-color-main-1);
  color: #ffffff;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.nk-checklist ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.nk-checklist ul > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.68;
  color: var(--nk-text-light);
}

.nk-checklist ul > li:last-child {
  margin-bottom: 0;
}

.nk-checklist ul > li::before {
  content: "✔";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--nk-color-main-1);
  font-size: 0.9rem;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Callout Alert Box (.nk-alert, .nk-info-box)
   -------------------------------------------------------------------------- */
.nk-alert, .nk-info-box {
  background-color: #20252e;
  border-left: 4px solid var(--nk-color-main-1);
  border-top: 1px solid var(--nk-border-color);
  border-right: 1px solid var(--nk-border-color);
  border-bottom: 1px solid var(--nk-border-color);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 36px 0;
  clear: both;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.nk-alert-title, .nk-info-box-title {
  font-family: var(--nk-font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.nk-alert p:last-child,
.nk-info-box p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Article value blocks: one purpose-built format per long-form guide
   -------------------------------------------------------------------------- */
.nk-value-block {
  clear: both;
  margin: 42px 0;
  padding: 26px;
  overflow: hidden;
  color: var(--nk-text-light);
  background: #0b0c0a;
  border: 1px solid #303846;
  border-top: 3px solid var(--nk-color-main-1);
}

.entry-content .nk-value-block h2 {
  clear: none;
  margin: 0 0 10px;
  padding: 0;
  color: #ffffff;
  border: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.34rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.nk-value-block__intro {
  margin: 0 0 22px;
  color: #aab4c0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.nk-value-block strong {
  color: #ffffff;
}

.nk-value-block a {
  color: #ff6b84;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nk-value-block__source {
  margin: 22px 0 0;
  padding-top: 14px;
  color: #8793a0;
  border-top: 1px solid #303846;
  font-size: 0.76rem;
  line-height: 1.55;
}

.nk-gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #303846;
}

.nk-gate-grid article {
  padding: 18px;
  background: #121510;
}

.nk-gate-grid b,
.nk-fit-sequence b,
.nk-incident-runway b,
.nk-dependency-chain b {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.nk-gate-grid p,
.nk-fit-sequence p,
.nk-incident-runway p,
.nk-dependency-chain p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.nk-route-tree,
.nk-incident-runway,
.nk-help-ladder,
.nk-certificate-anatomy,
.nk-dependency-chain {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value-step;
}

.nk-route-tree li {
  position: relative;
  margin-left: 15px;
  padding: 0 0 20px 34px;
  border-left: 1px solid #46505f;
}

.nk-route-tree li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.nk-route-tree li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--nk-color-main-1);
}

.nk-route-tree span {
  display: block;
  margin-top: 5px;
  color: #9ba7b4;
  font-size: 0.86rem;
  line-height: 1.55;
}

.nk-symptom-matrix {
  width: 100%;
  border-collapse: collapse;
}

.nk-symptom-matrix th,
.nk-symptom-matrix td {
  padding: 13px 14px;
  border: 1px solid #303846;
  text-align: left;
  vertical-align: top;
}

.nk-symptom-matrix th {
  color: #ffffff;
  background: #171b18;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nk-symptom-matrix td {
  font-size: 0.84rem;
  line-height: 1.5;
}

.nk-fit-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fit-step;
}

.nk-fit-sequence li {
  position: relative;
  min-height: 142px;
  padding: 44px 16px 16px;
  background: #121510;
  border: 1px solid #303846;
  counter-increment: fit-step;
}

.nk-fit-sequence li::before {
  content: "0" counter(fit-step);
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--nk-color-main-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.nk-telemetry-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid #303846;
}

.nk-telemetry-legend > div {
  padding: 18px;
  border-right: 1px solid #303846;
}

.nk-telemetry-legend > div:last-child {
  border-right: 0;
}

.nk-telemetry-legend dt {
  margin-bottom: 8px;
  color: var(--nk-color-main-1);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.nk-telemetry-legend dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.nk-incident-runway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #46505f;
}

.nk-incident-runway li {
  position: relative;
  padding: 28px 14px 0 0;
  counter-increment: value-step;
}

.nk-incident-runway li::before {
  content: counter(value-step);
  position: absolute;
  top: -13px;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
  background: var(--nk-color-main-1);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.nk-clause-docket details {
  border-top: 1px solid #303846;
}

.nk-clause-docket details:last-child {
  border-bottom: 1px solid #303846;
}

.nk-clause-docket summary {
  padding: 14px 0;
  color: #ffffff;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.nk-clause-docket p {
  margin: 0 0 16px;
  color: #9ba7b4;
  font-size: 0.86rem;
}

.nk-redundancy-map {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.nk-redundancy-map > div {
  display: grid;
  gap: 10px;
}

.nk-redundancy-map span {
  display: grid;
  min-height: 58px;
  padding: 12px;
  place-items: center;
  color: #dfe5eb;
  background: #121510;
  border: 1px solid #303846;
  text-align: center;
  font-size: 0.79rem;
  line-height: 1.4;
}

.nk-redundancy-map .nk-redundancy-map__core span {
  border-color: var(--nk-color-main-1);
}

.nk-bitrate-meter {
  display: grid;
  gap: 14px;
}

.nk-bitrate-meter__row {
  display: grid;
  grid-template-columns: 110px 1fr 76px;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
}

.nk-bitrate-meter__track {
  height: 9px;
  background: #242a32;
}

.nk-bitrate-meter__fill {
  height: 100%;
  background: var(--nk-color-main-1);
}

.nk-bitrate-meter__fill--720 { width: 24%; }
.nk-bitrate-meter__fill--1080 { width: 50%; }
.nk-bitrate-meter__fill--1440 { width: 100%; }

.nk-rights-stack {
  display: grid;
  gap: 8px;
}

.nk-rights-stack article {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 18px;
  padding: 14px 16px;
  background: #121510;
  border-left: 4px solid #46505f;
}

.nk-rights-stack article:nth-child(2) { border-left-color: #7b3441; }
.nk-rights-stack article:nth-child(3) { border-left-color: var(--nk-color-main-1); }
.nk-rights-stack article:nth-child(4) { border-left-color: #ffffff; }

.nk-rights-stack p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.nk-severity-ramp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nk-severity-ramp article {
  padding: 18px;
  border: 1px solid #303846;
}

.nk-severity-ramp article:nth-child(2) { border-top: 3px solid #a74659; }
.nk-severity-ramp article:nth-child(3) { border: 3px solid var(--nk-color-main-1); }

.nk-severity-ramp h3 {
  clear: none;
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 0.94rem;
}

.nk-severity-ramp p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.nk-signal-scorecard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nk-signal-scorecard li {
  padding: 16px;
  background: #121510;
  border-bottom: 3px solid #46505f;
  font-size: 0.82rem;
  line-height: 1.5;
}

.nk-signal-scorecard strong {
  display: block;
  margin-bottom: 7px;
  font-family: "IBM Plex Mono", monospace;
}

.nk-preservation-record {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 0;
  border-top: 1px solid #303846;
}

.nk-preservation-record dt,
.nk-preservation-record dd {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #303846;
}

.nk-preservation-record dt {
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.nk-preservation-record dd {
  border-left: 1px solid #303846;
  font-size: 0.84rem;
}

.nk-meeting-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #303846;
}

.nk-meeting-sheet > div {
  min-height: 88px;
  padding: 14px 16px;
  background: #121510;
}

.nk-meeting-sheet b {
  display: block;
  margin-bottom: 16px;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.nk-meeting-sheet span {
  display: block;
  color: #8f9baa;
  border-bottom: 1px dashed #46505f;
  font-size: 0.8rem;
}

.nk-capacity-formula {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.nk-capacity-formula__equation,
.nk-capacity-formula__example {
  padding: 20px;
  background: #121510;
  border: 1px solid #303846;
}

.nk-capacity-formula__equation code {
  display: block;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  white-space: normal;
}

.nk-capacity-formula p {
  margin: 8px 0 0;
  font-size: 0.84rem;
}

.nk-dependency-chain {
  display: flex;
  gap: 1px;
  background: #303846;
}

.nk-dependency-chain li {
  flex: 1 1 0;
  padding: 18px;
  background: #121510;
}

.nk-certificate-anatomy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nk-certificate-anatomy li {
  position: relative;
  min-height: 86px;
  padding: 15px 15px 15px 48px;
  background: #121510;
  border: 1px solid #303846;
  counter-increment: value-step;
  font-size: 0.84rem;
  line-height: 1.5;
}

.nk-certificate-anatomy li::before {
  content: counter(value-step);
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--nk-color-main-1);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.nk-transaction-states {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.nk-transaction-states span {
  position: relative;
  flex: 1 1 130px;
  padding: 14px;
  color: #ffffff;
  background: #121510;
  border: 1px solid #303846;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-align: center;
}

.nk-transaction-states span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 9px;
  border-top: 1px solid var(--nk-color-main-1);
}

.nk-jurisdiction-layers {
  display: grid;
  gap: 6px;
}

.nk-jurisdiction-layers div {
  padding: 13px 16px;
  color: #dfe5eb;
  background: #121510;
  border-left: 4px solid #46505f;
  font-size: 0.84rem;
}

.nk-jurisdiction-layers div:nth-child(2) { margin-left: 5%; border-left-color: #773442; }
.nk-jurisdiction-layers div:nth-child(3) { margin-left: 10%; border-left-color: #a74659; }
.nk-jurisdiction-layers div:nth-child(4) { margin-left: 15%; border-left-color: var(--nk-color-main-1); }

.nk-help-ladder {
  display: grid;
  gap: 9px;
}

.nk-help-ladder li {
  position: relative;
  padding: 15px 16px 15px 54px;
  background: #121510;
  border: 1px solid #303846;
  counter-increment: value-step;
  font-size: 0.86rem;
}

.nk-help-ladder li::before {
  content: counter(value-step);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: 38px;
  place-items: center;
  color: #ffffff;
  background: var(--nk-color-main-1);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .nk-value-block {
    margin: 34px 0;
    padding: 20px;
  }

  .nk-gate-grid,
  .nk-fit-sequence,
  .nk-telemetry-legend,
  .nk-severity-ramp,
  .nk-signal-scorecard,
  .nk-certificate-anatomy,
  .nk-meeting-sheet,
  .nk-capacity-formula {
    grid-template-columns: minmax(0, 1fr);
  }

  .nk-incident-runway,
  .nk-dependency-chain,
  .nk-redundancy-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .nk-incident-runway {
    gap: 14px;
    border-top: 0;
  }

  .nk-incident-runway li {
    padding: 10px 0 10px 42px;
    border-left: 1px solid #46505f;
  }

  .nk-incident-runway li::before {
    top: 10px;
  }

  .nk-telemetry-legend > div {
    border-right: 0;
    border-bottom: 1px solid #303846;
  }

  .nk-telemetry-legend > div:last-child {
    border-bottom: 0;
  }

  .nk-rights-stack article,
  .nk-preservation-record {
    grid-template-columns: minmax(0, 1fr);
  }

  .nk-preservation-record dd {
    border-left: 0;
  }

  .nk-bitrate-meter__row {
    grid-template-columns: 82px 1fr 68px;
  }
}

/* --------------------------------------------------------------------------
   Blockquotes
   -------------------------------------------------------------------------- */
.entry-content blockquote {
  position: relative;
  margin: 36px 0;
  padding: 22px 28px 22px 56px;
  background-color: #20252e;
  border-left: 4px solid var(--nk-color-main-1);
  border-radius: 4px;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #ffffff;
  clear: both;
}

.entry-content blockquote::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: 10px;
  font-size: 3.2rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--nk-color-main-1);
  opacity: 0.7;
}

.entry-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--nk-color-main-1);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Data Tables (.nk-table-responsive, .nk-table)
   -------------------------------------------------------------------------- */
.nk-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 36px 0;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  background-color: #20252e;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  clear: both;
  scrollbar-gutter: stable;
}

.nk-table-responsive::-webkit-scrollbar {
  height: 6px;
}

.nk-table-responsive::-webkit-scrollbar-track {
  background: #14181f;
}

.nk-table-responsive::-webkit-scrollbar-thumb {
  background: var(--nk-color-main-1);
  border-radius: 3px;
}

.cyberpress-table, .nk-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background-color: transparent;
  border: none;
  margin: 0;
}

.cyberpress-table th, .nk-table th {
  background-color: #171b22;
  color: #ffffff;
  font-family: var(--nk-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 18px;
  text-align: left;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--nk-color-main-1);
  white-space: nowrap;
}

.cyberpress-table td, .nk-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #282f3a;
  font-size: 0.92rem;
  color: var(--nk-text-light);
  vertical-align: middle;
  line-height: 1.55;
}

.cyberpress-table tr:nth-child(even) td, .nk-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.02);
}

.cyberpress-table tr:hover td, .nk-table tr:hover td {
  background-color: rgba(221, 22, 59, 0.08);
  color: #ffffff;
}

.cyberpress-table td strong, .nk-table td strong {
  color: #ffffff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Figures & Image Placement (.img-align-center, .img-align-left, .img-align-right)
   -------------------------------------------------------------------------- */
figure {
  margin: 36px 0;
}

figure img {
  border-radius: 4px;
  border: 1px solid var(--nk-border-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: block;
  max-width: 100%;
  height: auto;
}

figcaption {
  font-size: 0.84rem;
  color: #8a99a8;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
  padding: 0 10px;
}

/* Centered Hero Image */
figure.img-align-center {
  text-align: center;
  margin: 36px auto;
  max-width: 100%;
  clear: both;
}

figure.img-align-center img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Floated Left & Right (Desktop & Tablets >= 768px) */
@media (min-width: 768px) {
  figure.img-align-left {
    float: left;
    margin: 8px 30px 22px 0;
    max-width: 46%;
    clear: left;
  }

  figure.img-align-left img {
    width: 100%;
    height: auto;
  }

  figure.img-align-right {
    float: right;
    margin: 8px 0 22px 30px;
    max-width: 46%;
    clear: right;
  }

  figure.img-align-right img {
    width: 100%;
    height: auto;
  }
}

/* Responsive Behavior on Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
  figure.img-align-left,
  figure.img-align-right {
    float: none;
    max-width: 100%;
    margin: 26px auto;
    clear: both;
    text-align: center;
  }

  figure.img-align-left img,
  figure.img-align-right img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Author Box (.nk-author-box & .nk-post-author)
   -------------------------------------------------------------------------- */
.nk-post-author,
.nk-author-box {
  display: flex;
  align-items: center;
  gap: 22px;
  background-color: #20252e;
  border: 1px solid var(--nk-border-color);
  border-left: 4px solid var(--nk-color-main-1);
  border-radius: 4px;
  padding: 24px 28px;
  margin-top: 45px;
  margin-bottom: 30px;
  clear: both;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.nk-post-author img,
.nk-author-avatar img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--nk-color-main-1);
  object-fit: cover;
  display: block;
  box-shadow: 0 0 12px rgba(221, 22, 59, 0.35);
}

.nk-post-author-name,
.nk-author-name {
  font-family: var(--nk-font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.nk-post-author-desc,
.nk-author-info p {
  font-size: 0.9rem;
  color: var(--nk-text-body);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contacts: editorial authors in a single-column roster
   -------------------------------------------------------------------------- */
.nk-contact-authors {
  margin: 48px 0;
}

.nk-contact-authors__header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nk-border-color);
}

.nk-contact-authors__header h2 {
  margin-bottom: 8px;
}

.nk-contact-authors__header p {
  max-width: 680px;
  margin: 0;
  color: var(--nk-text-body);
}

.nk-contact-authors__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.nk-contact-author {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: #11151a;
  border: 1px solid var(--nk-border-color);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.nk-contact-author:hover {
  background: #161b21;
  border-color: rgba(var(--nk-color-main-1-rgb), 0.72);
}

.nk-contact-author__portrait {
  position: relative;
  align-self: start;
  width: 112px;
  margin: 0;
}

.nk-contact-author__portrait::after {
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  border: 1px solid rgba(var(--nk-color-main-1-rgb), 0.72);
  box-shadow: 0 0 20px rgba(var(--nk-color-main-1-rgb), 0.16);
  pointer-events: none;
}

.nk-contact-author__portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 1px solid var(--nk-border-light);
  filter: saturate(0.88) contrast(1.04);
}

.nk-contact-author__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.nk-contact-author__heading h3 {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.14rem;
  line-height: 1.35;
  color: #fff;
}

.nk-contact-author__heading > span {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--nk-text-muted);
  font-variant-numeric: tabular-nums;
}

.nk-contact-author__topics {
  margin: 0 0 14px;
  color: var(--nk-text-body);
}

.nk-contact-author__topics strong {
  color: var(--nk-text-light);
}

.nk-contact-author__articles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--nk-border-color);
  list-style: none;
}

.nk-contact-author__articles li {
  margin: 0;
}

.nk-contact-author__articles a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--nk-text-light);
  text-decoration: underline;
  text-decoration-color: rgba(var(--nk-color-main-1-rgb), 0.72);
  text-underline-offset: 4px;
}

.nk-contact-author__articles a:hover,
.nk-contact-author__articles a:focus-visible {
  color: var(--nk-color-main-1-hover);
}

@media (max-width: 575.98px) {
  .nk-contact-authors {
    margin: 38px 0;
  }

  .nk-contact-author {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .nk-contact-author__portrait {
    grid-column: 1;
    grid-row: 1;
    width: 96px;
  }

  .nk-contact-author__portrait img {
    width: 96px;
    height: 96px;
  }

  .nk-contact-author__content {
    grid-column: 1;
    grid-row: 2;
  }

  .nk-contact-author__heading {
    display: block;
  }

  .nk-contact-author__heading > span {
    display: block;
    margin-top: 5px;
  }

  .nk-contact-author__articles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .nk-post-author,
  .nk-author-box {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }
}

/* --------------------------------------------------------------------------
   18. Footer & Copyright (Exact SquadForce 2-column layout)
   -------------------------------------------------------------------------- */
.nk-footer {
  background-color: #11151a;
  border-top: 1px solid var(--nk-border-color);
  position: relative;
  z-index: 10;
}

.nk-footer-widgets {
  padding: 55px 0 35px 0;
}

.nk-footer-widget-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Accessibility & SEO Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ghostkit-form-field {
  margin-bottom: 15px;
}

.ghostkit-form-field textarea {
  width: 100%;
  height: 110px;
  padding: 12px 16px;
  background-color: #181c23;
  border: 1px solid var(--nk-border-color);
  border-radius: 4px;
  color: #fff;
  font-family: var(--nk-font-body);
  font-size: 0.92rem;
  outline: none;
  resize: vertical;
}

.ghostkit-form-field textarea:focus {
  border-color: var(--nk-color-main-1);
}

.nk-copyright {
  background-color: #0c1013;
  border-top: 1px solid #1a2027;
  padding: 22px 0;
  font-size: 0.85rem;
  color: #707c88;
}

.nk-copyright .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.nk-copyright-left {
  color: #8a99a8;
}

.nk-copyright-left a {
  color: #fff;
  font-weight: 600;
}

.nk-copyright-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nk-social-links-2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.nk-social-links-2 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a99a8;
  transition: 0.15s color;
}

.nk-social-links-2 li a:hover {
  color: var(--nk-color-main-1);
}

.nk-copyright-right a {
  color: #8a99a8;
  transition: 0.15s color;
}

.nk-copyright-right a:hover {
  color: var(--nk-color-main-1);
}

@media (max-width: 767px) {
  .nk-copyright .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Scrolled Navbar */
.nk-navbar.nk-navbar-scrolled {
  background-color: rgba(24, 28, 35, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Custom Scrollbar for News Box */
.nk-news-box-list::-webkit-scrollbar {
  width: 6px;
}
.nk-news-box-list::-webkit-scrollbar-track {
  background: #181c23;
}
.nk-news-box-list::-webkit-scrollbar-thumb {
  background: #2f3541;
  border-radius: 3px;
}
.nk-news-box-list::-webkit-scrollbar-thumb:hover {
  background: var(--nk-color-main-1);
}

/* Decorated Heading nowrap */
.is-style-squadforce-decorated > span {
  white-space: nowrap;
}
@media (max-width: 767px) {
  .is-style-squadforce-decorated > span {
    white-space: normal;
  }
}
