/*
 * Dark premium cybersecurity theme for ThreatHunting.it
 * Colors based on user spec
 */

:root {
  --bg-primary: #111111;      /* main background */
  --bg-secondary: #181818;   /* secondary sections */
  --bg-card: #1c1c1c;        /* card background */
  --bg-card-dark: #242424;   /* alternative dark card */
  --color-primary: #ff3b30;  /* strong red */
  --color-secondary: #f05a28;/* orange‑red */
  --color-border: #333333;
  --color-text: #ffffff;
  --color-muted: #b8b8b8;
}

/* Global reset for dark background */
html, body {
  background-color: var(--bg-primary);
  color: var(--color-text);
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-secondary);
}

/* Navbar */
.site-header {
  background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
  transition: background 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link {
  color: var(--color-muted);
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--color-primary);
}

/* Sticky effect on scroll */
.sticky-navbar {
  background-color: rgba(17,17,17,0.95) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}
.search-overlay.show {
  display: flex;
}
.search-overlay-content {
  width: 90%;
  max-width: 800px;
}

/* Hero section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #111111, #1c1c1c);
  color: var(--color-text);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero .hero-left {
  max-width: 600px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.hero .btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.hero .btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Card styles */
.post-card {
  position: relative;
  isolation: isolate;
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.post-card-image img {
  transition: opacity 0.2s ease;
}
.badge-category {
  background: #641f26 !important;
  border: 1px solid #a84a53;
  color: #fff4f5 !important;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 1px #0008;
}
.badge-category:hover,
.badge-category:focus-visible {
  background: #7b2830 !important;
  border-color: #d16a73;
  color: #fff !important;
}
.difficulty-badge { --level-color: #f4b455; --level-bg: #f4b45518; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px 4px 5px; border: 1px solid color-mix(in srgb,var(--level-color) 45%,transparent); border-radius: 999px; background: var(--level-bg); color: var(--level-color); line-height: 1; white-space: nowrap; }.difficulty-badge svg { width: 20px; height: 23px; flex: 0 0 auto; fill: currentColor; filter: drop-shadow(0 2px 5px #0006); }.difficulty-badge .difficulty-shield-line { fill: none; stroke: #111; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }.difficulty-badge span { display: grid; gap: 2px; }.difficulty-badge small { color: #aaa; font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.difficulty-badge strong { color: currentColor; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }.difficulty-badge.difficulty-easy { --level-color: #35d6a4; --level-bg: #35d6a412; }.difficulty-badge.difficulty-intermediate { --level-color: #f4b455; --level-bg: #f4b45512; }.difficulty-badge.difficulty-pro { --level-color: #ff5964; --level-bg: #ff596412; }.difficulty-badge.difficulty-large { padding: 8px 14px 8px 8px; gap: 10px; margin-bottom: 18px; }.difficulty-badge.difficulty-large svg { width: 29px; height: 33px; }.difficulty-badge.difficulty-large small { font-size: 8px; }.difficulty-badge.difficulty-large strong { font-size: 13px; }.difficulty-filter-list a { display: flex!important; align-items: center; gap: 9px; }.difficulty-dot { width: 9px; height: 9px; border-radius: 50%; background: #f4b455; box-shadow: 0 0 0 3px #f4b45518; }.difficulty-dot.difficulty-easy { background: #35d6a4; box-shadow: 0 0 0 3px #35d6a418; }.difficulty-dot.difficulty-pro { background: #ff5964; box-shadow: 0 0 0 3px #ff596418; }

/* Featured section */
.featured-section {
  background-color: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}
.featured-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s;
}
.featured-card:hover {
  border-color: var(--color-primary);
}

/* Category feature boxes */
.category-box {
  background: var(--bg-card);
  border: 2px solid var(--color-border);
  padding: 2rem;
  text-align: center;
  border-radius: 0.75rem;
  transition: border-color 0.2s;
}
.category-box:hover {
  border-color: var(--color-primary);
}
.category-box i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Article detail */
.article-content {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--color-text);
  margin-top: 1.5rem;
}
.article-content p {
  color: var(--color-muted);
  line-height: 1.7;
}
.article-content pre {
  background: #0d0d0d;
  color: #e5e5e5;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}
.article-content code {
  background: #1a1a1a;
  color: #ff3b30;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  color: var(--color-muted);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-links h4,
.footer-brand h4 {
  color: var(--color-text);
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
  padding-top: 1rem;
}
.footer-stack { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--color-border); }.footer-stack-heading { max-width: 330px; }.footer-stack-heading h2 { margin: 5px 0 0; color: var(--color-text); font-size: 1rem; line-height: 1.4; }.footer-stack-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }.footer-stack-list a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #ffffff12; border-radius: 5px; color: #b9afb9; font-size: .68rem; text-decoration: none; transition: border-color .2s,color .2s,transform .2s; }.footer-stack-list a:hover { border-color: #ff626855; color: #fff; transform: translateY(-1px); }.tech-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: -.03em; }.tech-mark.django { background: #0c4b33; }.tech-mark.postgres { background: #336791; }.tech-mark.redis { background: #d82c20; }.tech-mark.celery { background: #37814a; }.tech-mark.gunicorn { background: #499848; }.tech-mark.nginx { background: #009639; }

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero .hero-left {
    max-width: 100%;
  }
}

/* Shared editorial layout inspired by sample-layout.webp. */
:root { --bs-primary: #ff3b30; --bs-body-color: #f5f5f5; --bs-body-bg: #1b1b1d; --bg-primary: #1b1b1d; --bg-secondary: #171719; --bg-card: #141416; }
body { font-family: Inter, sans-serif; line-height: 1.75; }
.container { max-width: 1180px; }
h1,h2,h3,h4 { font-weight: 700; letter-spacing: -.035em; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2.4rem,5vw,4rem); }
h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
p { color: var(--color-muted); }
.site-header { position: sticky; top: 0; z-index: 1020; background: #1b1b1df2; border-bottom: 1px solid #ffffff08; }
.navbar { padding: 1.2rem 0; }
.navbar-brand { font-weight: 700; letter-spacing: -.04em; }
.navbar-nav { gap: .65rem; }
.btn { border-radius: 3px; padding: .85rem 1.4rem; font-weight: 600; font-size: .85rem; }
.btn-sm { padding: .6rem 1rem; }
.btn-primary { background: #ff343b; border-color: #ff343b; color: white; box-shadow: 0 8px 30px #ff343b15; }
.btn-primary:hover { background: #e62d34; border-color: #e62d34; }
.btn-secondary { background: transparent; border-color: #777; }
.btn-secondary:hover { background: #303034; }
.btn-link,.highlight { color: #ff343b; }
.hero,.page-hero { background: radial-gradient(ellipse at 0% 0%,#61282c55,transparent 55%),#1b1b1d; }
.hero { min-height: 650px; padding: 90px 0 65px; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 65px; }
.hero h1 { font-size: clamp(2.6rem,4vw,3.8rem); }
.hero-badge,.eyebrow { display: block; color: #f4b455; font-size: .72rem; font-weight: 600; letter-spacing: .15em; margin-bottom: 1.4rem; text-transform: uppercase; }
.hero-subtitle { max-width: 650px; font-size: 1rem; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 45px; }
.stat { border-left: 1px solid #555; padding-left: 18px; }
.stat-number { display: block; font-size: 1.4rem; font-weight: 700; }
.stat-label { color: #aaa; font-size: .75rem; }
.security-visual { position: relative; height: 410px; display: grid; place-items: center; }
.security-console { width: 78%; padding: 18px 24px 30px; background: linear-gradient(145deg,#353538,#101012); border: 1px solid #646469; transform: perspective(800px) rotateY(-12deg) rotateX(5deg); box-shadow: 22px 30px 0 #0c0c0e,0 0 90px #ff343b12; }
.console-top { display: flex; gap: 5px; padding-bottom: 20px; border-bottom: 1px solid #555; }
.console-top span { width: 6px; height: 6px; background: #ff343b; border-radius: 50%; }
.console-shield { display: block; text-align: center; font-size: 100px; color: #ff343b; text-shadow: 0 0 40px #ff343b33; }
.console-lines span { display: block; height: 4px; background: #525256; margin: 10px 0; width: 70%; }
.console-lines span:nth-child(2) { width: 90%; background: #b14043; }
.console-label { font-family: 'JetBrains Mono',monospace; font-size: .65rem; letter-spacing: .15em; margin-top: 20px; color: #f4b455; }
.visual-orbit { position: absolute; width: 370px; height: 370px; border: 1px dashed #7775; border-radius: 50%; }
.visual-node { position: absolute; width: 62px; height: 62px; display: grid; place-items: center; background: #422225; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); font-size: 1.6rem; color: #ff6268; z-index: 1; }
.node-one { right: 0; top: 50px; }.node-two { left: 0; top: 15px; }.node-three { right: 15px; bottom: 40px; }
.visual-caption { position: absolute; bottom: -15px; font-size: .65rem; letter-spacing: .2em; color: #aaa; }
.page-hero { padding: 75px 0 55px; border-bottom: 1px solid #ffffff09; }
.page-hero h1 { max-width: 950px; }.hero-rule { width: 55px; height: 3px; background: #ff343b; margin-top: 30px; }
.article-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.article-tag-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border: 1px solid #ff777c66; border-radius: 999px; background: #ff343b1c; color: #ff9ba0; font-size: .68rem; font-weight: 700; letter-spacing: .035em; line-height: 1.2; text-decoration: none; }
.article-tag-badge:nth-child(4n+2) { border-color: #f4b45566; background: #f4b45518; color: #ffd88c; }
.article-tag-badge:nth-child(4n+3) { border-color: #6096ff66; background: #6096ff18; color: #9dbbff; }
.article-tag-badge:nth-child(4n+4) { border-color: #35d6a466; background: #35d6a418; color: #8aebcd; }
.article-tag-badge:hover { border-color: currentColor; color: #fff; transform: translateY(-1px); }
.article-platform-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 5px 10px; border: 1px solid currentColor; border-radius: 3px; font-size: .68rem; font-weight: 800; letter-spacing: .045em; line-height: 1.2; text-transform: uppercase; }
.platform-linux { color: #8aebcd; background: #35d6a418; }.platform-linux > span { color: #35d6a4; font: 800 .7rem 'JetBrains Mono',monospace; }
.platform-windows { color: #9dbbff; background: #6096ff18; }.windows-mark { display: grid; grid-template-columns: repeat(2,4px); grid-template-rows: repeat(2,4px); gap: 1px; }.windows-mark i { display: block; background: #6096ff; }
.section { padding: 75px 0; }.section-header { margin-bottom: 35px; }.section-header p { margin-top: 14px; }
.latest-articles-section .section-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.articles-grid,.featured-grid,.categories-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.card,.category-card,.sidebar-widget,.content-panel { background: #141416; border: 1px solid #ffffff08; border-radius: 3px; color: white; }
.card { overflow: hidden; transition: border-color .2s,transform .2s; }.card:hover,.category-card:hover { border-color: #ff343b; transform: translateY(-3px); }
.card-image { display: block; }.card-image img { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 26px; }.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .7rem; color: #aaa; margin-bottom: 18px; }
.badge { background: #ff343b17; color: #ff777c; font-size: .65rem; padding: 7px 9px; border-radius: 2px; }
.card-title { font-size: 1.25rem; }.card-title a { color: white; }.card-title a:hover { color: #ff6268; }
.card-excerpt { font-size: .85rem; }.card-footer { background: transparent; border-top: 1px solid #ffffff10; display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 0 0; font-size: .7rem; color: #aaa; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }.tag { font-size: .75rem; border: 1px solid #444; padding: 4px 9px; color: #bbb; border-radius: 2px; }
.category-card { padding: 30px; transition: .2s; }.category-icon { color: #ff343b; margin-bottom: 24px; }.category-card h3 { font-size: 1.2rem; }.category-count { color: #aaa; font-size: .8rem; }
.cta-section { background: radial-gradient(ellipse at 50% 100%,#69282d44,transparent 70%),#141416; border-top: 1px solid #333; }.cta-content { max-width: 700px; text-align: center; margin: auto; }.cta-note { font-size: .75rem; margin-top: 18px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }.newsletter-form input { flex: 1; min-width: 0; }.newsletter-form .newsletter-consent { flex: 0 0 100%; text-align: left; }.newsletter-form .newsletter-consent input { width: auto; margin-right: 6px; }
input,textarea,.form-control { background: #202023; color: white; border: 1px solid #454549; border-radius: 3px; padding: 12px 15px; }.form-control:focus { background: #242426; color: white; border-color: #ff343b; box-shadow: 0 0 0 3px #ff343b20; }input::placeholder,textarea::placeholder { color: #aaa; }
.page-header { margin-bottom: 35px; }.page-header h1 { font-size: 1.7rem; }
.search-form-large { display: flex; max-width: 760px; }.search-form-large input { flex: 1; min-width: 0; }.search-form-large select { max-width: 175px; border: 1px solid #ffffff18; border-left: 0; border-radius: 0; background: #1b191f; color: #d8d2df; padding: 0 12px; }.search-form-large button { background: #ff343b; color: white; border: 0; padding: 0 20px; }
.articles-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 40px; }.articles-layout > .sidebar:first-child { grid-column: 2; grid-row: 1; }.articles-main { grid-column: 1; grid-row: 1; }.articles-main .articles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sidebar-widget { padding: 25px; margin-bottom: 24px; }.sidebar-widget h3 { font-size: 1.15rem; margin-bottom: 20px; }.filter-list { list-style: none; padding: 0; margin: 0; }.filter-list a { display: block; padding: 9px 0; color: #aaa; font-size: .85rem; }.filter-list .active { color: #ff6268; }.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.article-meta { font-size: .8rem; color: #aaa; margin-bottom: 28px; }.featured-image { width: 100%; max-height: 500px; object-fit: cover; margin-bottom: 30px; }.article-content { padding: 0; max-width: 100%; line-height: 1.9; overflow-wrap: anywhere; }.article-content img { max-width: 100%; height: auto; }.article-content table { display: block; overflow-x: auto; }.article-content blockquote { border-left: 3px solid #ff343b; padding: 15px 25px; background: #141416; }.related-link { display: block; padding: 18px 0; border-bottom: 1px solid #333; color: #ddd; font-size: .9rem; }.related-article-link { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; }.related-link-title { line-height: 1.4; }.related-link-arrow { color: #ff6268; }.related-article-link:hover .related-link-title { color: #ff777c; }.sidebar-widget .btn { margin-top: 25px; }
.learning-path-callout { border-left: 3px solid #b5a3c4; padding: 20px 24px; margin: 0 0 28px; border-radius: 0 5px 5px 0; background: #b5a3c409; }.learning-path-callout h2 { margin: 5px 0 8px; font-size: 1.25rem; }.learning-path-callout p:not(.eyebrow) { margin-bottom: 10px; }.learning-path-callout a { color: #ff777c; font-weight: 600; }
.linux-hero { padding: 85px 0 70px; background: radial-gradient(circle at 82% 30%,#35d6a414,transparent 30%),#111114; border-bottom: 1px solid #ffffff0b; }.linux-hero-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.9fr); gap: 70px; align-items: center; }.linux-hero h1 { font-size: clamp(2.6rem,5vw,4.6rem); }.linux-hero p { max-width: 680px; line-height: 1.8; }.linux-hero-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 35px; color: #aaa; font-size: .75rem; }.linux-hero-stats strong { color: #35d6a4; font-size: 1.15rem; margin-right: 5px; }.linux-terminal { overflow: hidden; border: 1px solid #35d6a440; border-radius: 6px; background: #090b0c; box-shadow: 20px 25px 0 #080809,0 0 70px #35d6a410; transform: rotate(1deg); }.linux-terminal-bar { display: flex; align-items: center; gap: 6px; padding: 12px 15px; border-bottom: 1px solid #ffffff0d; color: #777; font: .65rem 'JetBrains Mono',monospace; }.linux-terminal-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5964; }.linux-terminal-bar i:nth-child(2) { background: #f4b455; }.linux-terminal-bar i:nth-child(3) { background: #35d6a4; }.linux-terminal-bar span { margin-left: 8px; }.linux-terminal pre { min-height: 270px; margin: 0; padding: 34px; color: #d9d9dd; background: transparent; font-size: .9rem; line-height: 2; }.linux-terminal code span { color: #35d6a4; }.linux-terminal .terminal-ok { color: #8a9690; }.linux-roadmap { padding: 55px 0; background: #171719; }.linux-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }.linux-levels li { display: flex; gap: 15px; padding: 22px; border: 1px solid #ffffff0c; border-top: 2px solid #35d6a4; background: #111114; }.linux-levels li > span { color: #35d6a4; font: .75rem 'JetBrains Mono',monospace; }.linux-levels strong { color: #eee; font-size: .85rem; }.linux-levels p { margin: 8px 0 0; color: #999; font-size: .75rem; line-height: 1.6; }.linux-tutorial-section:nth-of-type(even) { background: #111114; }.linux-tutorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }.linux-tutorial-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 17px; padding: 23px; background: #171719; border: 1px solid #ffffff0c; border-left: 2px solid #35d6a4; transition: border-color .2s,transform .2s; }.linux-tutorial-card:hover { border-color: #35d6a477; transform: translateY(-2px); }.linux-card-command { display: grid; place-items: center; width: 38px; height: 38px; color: #35d6a4; border: 1px solid #35d6a455; border-radius: 3px; font: 700 .85rem 'JetBrains Mono',monospace; }.linux-tutorial-card h3 { margin: 5px 0 10px; font-size: 1.05rem; }.linux-tutorial-card h3 a { color: #fff; }.linux-tutorial-card p { color: #aaa; font-size: .78rem; }.linux-lesson-link { color: #7fe7c7; font-size: .75rem; font-weight: 600; }.linux-empty { display: flex; align-items: center; gap: 18px; padding: 25px; border: 1px dashed #ffffff1a; color: #999; }.linux-empty > span { color: #35d6a4; font: 1.2rem 'JetBrains Mono',monospace; }.linux-empty h3 { margin: 0 0 4px; color: #ddd; font-size: 1rem; }.linux-empty p { margin: 0; font-size: .78rem; }.linux-security { border-top: 1px solid #ffffff0b; background: #151518; }
.sysadmin-hero { padding: 85px 0; background: radial-gradient(circle at 80% 25%,#6096ff17,transparent 33%),#111116; border-bottom: 1px solid #ffffff0b; }.sysadmin-hero-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 65px; align-items: center; }.sysadmin-hero h1 { font-size: clamp(2.5rem,5vw,4.5rem); }.sysadmin-hero p { max-width: 680px; line-height: 1.8; }.sysadmin-track-map { display: grid; grid-template-columns: 1fr auto 1fr; gap: 13px; padding: 30px; border: 1px solid #ffffff12; background: #15151a; transform: rotate(-1deg); }.sysadmin-track-map span { display: grid; place-items: center; min-height: 92px; border: 1px solid currentColor; font: 700 .85rem 'JetBrains Mono',monospace; }.sysadmin-track-map i { align-self: center; color: #777; font-style: normal; }.sysadmin-track-map .track-linux { color: #35d6a4; }.sysadmin-track-map .track-ccna { color: #6096ff; }.sysadmin-track-map .track-ceh { grid-column: 1; color: #ff5964; }.sysadmin-track-map strong { grid-column: 3; display: grid; place-items: center; color: #f4b455; text-align: center; font-size: .75rem; }.sysadmin-method { background: #17171c; }.sysadmin-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }.sysadmin-steps li { padding: 20px; background: #111116; border-top: 2px solid #6096ff; }.sysadmin-steps li > span { color: #6096ff; font: .7rem 'JetBrains Mono',monospace; }.sysadmin-steps strong { display: block; margin-top: 13px; }.sysadmin-steps p { margin: 7px 0 0; color: #999; font-size: .75rem; }.sysadmin-task-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.sysadmin-task-card { padding: 27px; background: #17171b; border: 1px solid #ffffff0d; border-left: 3px solid #6096ff; }.sysadmin-task-meta,.sysadmin-task-tracks { display: flex; flex-wrap: wrap; gap: 8px; }.sysadmin-task-meta span,.sysadmin-task-tracks span { padding: 5px 8px; border: 1px solid #ffffff18; color: #aaa; font-size: .62rem; }.sysadmin-task-card h3 { margin: 18px 0 12px; }.sysadmin-task-card h3 a { color: #fff; }.sysadmin-task-card > p { color: #aaa; font-size: .8rem; }.sysadmin-task-tracks { margin: 20px 0; }.sysadmin-task-card > a { color: #87acff; font-size: .78rem; font-weight: 600; }
.path-overview { padding: 48px 0; background: #111114; border-bottom: 1px solid #ffffff0b; }.path-overview-heading { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 50px; align-items: end; margin-bottom: 30px; }.path-overview-heading h2 { margin: 0; }.path-overview-heading > p { margin: 0; color: #aaa; line-height: 1.7; }.path-level-map { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }.path-level-map li { display: flex; gap: 14px; padding: 20px; background: #18181b; border: 1px solid #ffffff0c; border-top: 2px solid var(--path-color); border-radius: 4px; }.path-level-map li > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--path-color); border-radius: 50%; color: var(--path-color); font-size: .75rem; font-weight: 700; }.path-level-map strong { color: var(--path-color); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }.path-level-map p { margin: 5px 0 0; color: #aaa; font-size: .75rem; line-height: 1.55; }.path-level-map .easy { --path-color: #35d6a4; }.path-level-map .intermediate { --path-color: #f4b455; }.path-level-map .pro { --path-color: #ff5964; }.path-card-wrap { position: relative; min-width: 0; }.path-card-wrap .post-card { height: 100%; }.path-step { position: absolute; z-index: 3; top: 12px; left: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #111114e8; border: 1px solid #ffffff35; color: #fff; font-size: .68rem; font-weight: 700; box-shadow: 0 4px 15px #0008; }.path-articles .section-header .eyebrow { margin-bottom: 8px; }
.article-rating { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 25px; align-items: center; margin: 35px 0 25px; padding: 20px; border: 1px solid #ffffff12; background: #141416; }.article-rating h2 { margin: 3px 0 5px; font-size: 1.05rem; }.article-rating p { margin: 0; color: #999; font-size: .72rem; }.article-rating > a { grid-column: 1/-1; color: #ff777c; font-size: .7rem; }.article-rating-actions { display: flex; gap: 8px; }.article-rating-actions button { min-width: 64px; padding: 9px 12px; color: #ccc; background: #202023; border: 1px solid #454549; border-radius: 3px; }.article-rating-actions button:hover,.article-rating-actions button.selected { color: white; border-color: #ff5964; background: #ff343b18; }.article-rating-actions span { margin-left: 5px; font-size: .72rem; }
.comments { border-top: 1px solid #333; margin-top: 28px; padding-top: 25px; }.comments-heading { display: flex; justify-content: space-between; align-items: end; }.comments h3 { margin: 3px 0 0; font-size: 1.15rem; }.comments h3 span { color: #888; font-size: .75rem; }.comment-list { margin-top: 14px; }.comment { margin: 10px 0; padding: 14px 16px; background: #141416; border-left: 2px solid #ffffff16; }.comment header,.reply header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .7rem; }.comment header span,.reply header span { padding: 2px 5px; color: #ff969d; background: #ff343b12; border-radius: 2px; font-size: .58rem; }.comment header time,.reply header time { margin-left: auto; color: #777; }.comment .content p,.reply .content p { margin: 8px 0 0; color: #bbb; font-size: .8rem; line-height: 1.6; }.replies { margin: 12px 0 0 18px; padding-left: 12px; border-left: 1px solid #333; }.reply { padding: 10px 0; }.comments-empty { margin: 12px 0; color: #888; font-size: .78rem; }.comment-composer { margin-top: 15px; border: 1px solid #ffffff14; background: #111113; }.comment-composer summary { display: flex; justify-content: space-between; padding: 13px 15px; color: #ddd; cursor: pointer; font-size: .8rem; list-style: none; }.comment-composer summary::-webkit-details-marker { display: none; }.comment-composer[open] summary { border-bottom: 1px solid #ffffff10; }.comment-composer[open] summary span { transform: rotate(45deg); }.comment-composer form { padding: 15px; }.comment-composer input,.comment-composer textarea { width: 100%; margin: 4px 0 10px; padding: 9px 11px; font-size: .8rem; }.comment-composer textarea { min-height: 90px; }.comment-composer label { color: #bbb; font-size: .7rem; }.comment-composer label span,.comment-composer small { color: #777; font-size: .65rem; }.comment-guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.comment-guest-fields small { display: block; margin-top: -7px; }.comment-identity { margin: 0 0 12px; padding: 8px 10px; background: #ffffff08; font-size: .72rem; }.comment-submit { display: flex; justify-content: space-between; align-items: center; gap: 15px; }.comment-submit button { flex: 0 0 auto; background: #ff343b; border: 0; color: white; padding: 9px 15px; border-radius: 3px; font-size: .75rem; }.card-rating { margin-left: auto; color: #bbb; }
.content-panel { padding: 40px; max-width: 900px; }.content-panel h1 { font-size: 1.8rem; }.content-panel h3 { font-size: 1.3rem; }.content-panel form { margin-top: 30px; }
.pagination { display: flex; gap: 18px; align-items: center; margin-top: 35px; flex-wrap: wrap; }.page-link { background: #141416; color: white; border-color: #444; }.page-info { font-size: .8rem; color: #aaa; }.empty-state { padding: 50px 20px; text-align: center; }.empty-state svg { color: #ff343b; margin-bottom: 25px; }
.site-footer { padding: 65px 0 25px; }.footer-grid { grid-template-columns: 2fr repeat(4,1fr); gap: 25px; }.footer-grid h4 { font-size: .9rem; }.footer-grid p,.footer-grid li { font-size: .78rem; }.footer-grid li { margin-bottom: 10px; }.footer-logo span { font-size: 1.2rem!important; }.footer-bottom { margin-top: 50px; padding-top: 25px; }.text-primary { color: #ff6268!important; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline: 2px solid #f4b455; outline-offset: 4px; }
@media(max-width:991px) { .hero { text-align: left; min-height: auto; }.hero-layout { gap: 20px; }.security-visual { transform: scale(.85); }.articles-layout { grid-template-columns: minmax(0,1fr) 230px; gap: 24px; }.footer-grid { grid-template-columns: repeat(3,1fr); }.footer-brand { grid-column: span 2; } }
@media(max-width:767px) { .hero { padding: 55px 0; }.hero-layout { grid-template-columns: 1fr; }.security-visual { height: 350px; max-width: 430px; width: 100%; margin: auto; }.page-hero { padding: 50px 0 40px; }.section { padding: 45px 0; }.articles-grid,.featured-grid,.categories-grid,.articles-main .articles-grid { grid-template-columns: 1fr; }.articles-layout { grid-template-columns: 1fr; }.articles-layout > .sidebar:first-child,.articles-main { grid-column: auto; grid-row: auto; }.articles-layout > .sidebar:first-child { order: 2; }.latest-articles-section .section-header { align-items: flex-start; flex-direction: column; }.hero-stats { gap: 15px; }.stat { padding-left: 10px; }.stat-label { font-size: .65rem; }.newsletter-form { flex-direction: column; }.footer-grid { grid-template-columns: repeat(2,1fr); }.content-panel { padding: 25px; }.visual-orbit { width: 300px; height: 300px; } }
@media(max-width:767px) { .footer-stack { align-items: flex-start; flex-direction: column; }.footer-stack-list { justify-content: flex-start; } }
@media(max-width:767px) { .path-overview-heading { grid-template-columns: 1fr; gap: 14px; }.path-level-map { grid-template-columns: 1fr; } }
@media(max-width:767px) { .linux-hero { padding: 55px 0; }.linux-hero-layout { grid-template-columns: 1fr; gap: 45px; }.linux-terminal { transform: none; }.linux-levels,.linux-tutorial-grid { grid-template-columns: 1fr; } }
@media(max-width:767px) { .sysadmin-hero { padding: 55px 0; }.sysadmin-hero-layout,.sysadmin-task-grid { grid-template-columns: 1fr; }.sysadmin-track-map { transform: none; }.sysadmin-steps { grid-template-columns: 1fr 1fr; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none!important; scroll-behavior: auto!important; } }

/* Public account pages share the site's dark editorial layout. */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; max-width: 1060px; }
.auth-intro { padding: 30px 0; }.auth-intro h2 { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.3; }.auth-intro > p:not(.eyebrow) { margin-top: 25px; font-size: .95rem; }
.auth-intro-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }.auth-intro-topics span { color: #c5c5ca; border: 1px solid #444; padding: 6px 10px; font-size: .7rem; border-radius: 3px; }
.auth-panel { background: #141416; border: 1px solid #ffffff0c; padding: 35px; border-radius: 4px; }.auth-panel h2 { font-size: 1.5rem; }.auth-form-description { font-size: .85rem; margin: 12px 0 28px; }
.auth-field { margin-bottom: 22px; }.auth-field label { font-size: .8rem; font-weight: 500; }.auth-input { font-size: .9rem; }.auth-help { font-size: .7rem; line-height: 1.7; color: #aaa; margin-top: 8px; }.auth-help ul { margin: 5px 0 0; padding-left: 18px; }.auth-field-error { color: #ff969d; font-size: .75rem; margin-top: 8px; }
.auth-errors { padding: 14px; margin-bottom: 25px; background: #ff343b10; border: 1px solid #ff343b40; font-size: .8rem; color: #ffc0c4; border-radius: 3px; }.auth-errors ul { list-style: none; padding: 0; margin: 0; }.auth-errors .errorlist { margin: 0; }
.auth-password-toggle { display: flex; align-items: center; gap: 9px; font-size: .75rem; color: #bbb; margin-bottom: 25px; }.auth-password-toggle input { padding: 0; margin: 0; width: 15px; height: 15px; }.auth-password-toggle input:checked { background-color: #ff343b; border-color: #ff343b; }
.auth-switch { font-size: .8rem; text-align: center; margin: 25px 0 0; }.auth-switch a { color: #ff6268; }
.site-account-toggle { display: flex; align-items: center; gap: 8px; color: #ddd; background: transparent; border: 0; padding: 5px 0 5px 8px; }.site-account-toggle:hover,.site-account-toggle.show { color: white; background: transparent; }.site-account-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ff343b20; border: 1px solid #ff343b50; color: #ff777e; font-size: .7rem; }.site-account-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; }.site-account-menu .dropdown-menu { font-size: .8rem; background: #171719; border: 1px solid #444; }.site-account-menu form { margin: 0; }.site-dashboard-link { color: #ff777e!important; font-size: .8rem; }.site-account-actions .nav-link { font-size: .8rem; }
@media(min-width:1200px) { .site-header .navbar-nav { gap: .25rem; }.site-header .navbar-nav .nav-link { font-size: .8rem; }.site-header .logo-text { font-size: 1.25rem!important; }.site-header .logo-icon { width: 30px; height: 30px; } }
.site-primary-nav .nav-link { white-space: nowrap; }
.site-primary-nav button.nav-link { border: 0; background: transparent; }
.site-nav-menu { min-width: 245px; padding: 8px; background: #171719; border: 1px solid #ffffff18!important; }
.site-nav-menu .dropdown-item { display: flex; align-items: center; min-height: 38px; padding: 8px 11px; border-radius: 3px; color: #c9c9cd; font-size: .78rem; white-space: nowrap; }
.site-nav-menu .dropdown-item i { width: 18px; color: #ff777e; text-align: center; }
.site-nav-menu .dropdown-item:hover,.site-nav-menu .dropdown-item:focus { color: #fff; background: #ffffff0b; }
.site-nav-menu .dropdown-item.active { color: #fff; background: #ff343b24; }
.site-nav-menu .dropdown-header { margin: 0; padding: 7px 11px 5px; color: #8f8f96; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-nav-menu .dropdown-divider { border-color: #ffffff12; }
.author-profile { max-width: 1120px; margin: 0 auto; }.author-profile-head { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 30px; align-items: start; margin-bottom: 55px; }.author-profile-head img,.author-profile-placeholder { width: 128px; height: 128px; border-radius: 18px; object-fit: cover; }.author-profile-placeholder { display: grid; place-items: center; color: white; font-size: 2.6rem; font-weight: 700; background: linear-gradient(135deg,#ff3b30,#f05a28); }.author-profile-head h2 { margin: 5px 0 12px; }.author-profile-head p { color: #b7afc1; max-width: 720px; }.author-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; }.policy-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 50px; align-items: start; }.policy-layout .article-body { max-width: 820px; }
@media(max-width:767px) { .author-profile-head { grid-template-columns: 1fr; }.policy-layout { grid-template-columns: 1fr; }.search-form-filtered { flex-wrap: wrap; }.search-form-filtered input { flex-basis: calc(100% - 55px); }.search-form-large select { order: 3; max-width: none; width: 100%; min-height: 44px; border-left: 1px solid #ffffff18; margin-top: 7px; } }
@media(max-width:1199px) { .site-primary-nav { padding-top: 14px; }.site-primary-nav .nav-link { width: 100%; padding: 10px 0; text-align: left; }.site-primary-nav .dropdown-menu { margin: 0 0 8px; box-shadow: none!important; }.site-account-actions { padding: 15px 0 5px; }.site-account-menu .dropdown-menu { position: absolute; left: 0; right: auto; } }
@media(max-width:767px) { .auth-layout { grid-template-columns: 1fr; gap: 30px; }.auth-intro { padding: 0; }.auth-panel { padding: 25px; }.auth-page .page-hero { padding: 40px 0 30px; }.auth-intro h2 { font-size: 1.7rem; }.auth-intro-topics { margin-top: 20px; } }
@media(max-width:575px) { .article-rating { grid-template-columns: 1fr; }.article-rating > a { grid-column: auto; }.comment-guest-fields { grid-template-columns: 1fr; }.comment-submit { align-items: stretch; flex-direction: column; }.comment header time,.reply header time { width: 100%; margin-left: 0; } }
