:root {
  --bg: #121417;
  --surface: #181c23;
  --surface-2: #1f242d;
  --border: #2d3748;
  --border-strong: #3d4656;
  --text: #d1d5db;
  --muted: #9ca3af;
  --muted-dark: #6b7280;
  --white: #ffffff;
  --accent: #ff4757;
  --accent-dark: #d93645;
  --blue: #1e90ff;
  --green: #2ed573;
  --orange: #ffa502;
  --focus: #7dd3fc;
  --radius: 8px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--white);
}

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--white);
  color: #111827;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge.red { background: var(--accent); }
.badge.blue { background: var(--blue); }
.badge.green { background: #1faa5f; }
.badge.orange { background: #d98200; }

.top-header {
  background: #0b0d0e;
  color: var(--white);
  border-bottom: 2px solid var(--accent);
}

.top-header-content {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo a {
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.logo a span {
  color: var(--accent);
}

.trending-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.trending-title {
  color: var(--accent);
  font-weight: 800;
}

.trending-bar a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-box {
  position: relative;
  min-width: 0;
}

.search-box input {
  width: 230px;
  max-width: 34vw;
  height: 40px;
  padding: 0 42px 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--white);
}

.search-box input::placeholder,
.search-form input::placeholder,
.widget-newsletter input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f8794;
}

.search-box button {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--white);
  cursor: pointer;
}

.icon-btn:hover {
  background: #2a303a;
}

.main-nav {
  position: relative;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  min-height: 51px;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0 16px;
  border-bottom: 3px solid transparent;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.media-card-button {
  appearance: none;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.hero-main,
.sub-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-main {
  width: 100%;
  height: 380px;
  min-height: 0;
}

.hero-main img,
.sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-main:hover img,
.sub-card:hover img {
  transform: scale(1.035);
}

.hero-overlay,
.card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.96));
}

.hero-overlay {
  padding: 76px 22px 22px;
}

.hero-title {
  max-width: 820px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 850;
  line-height: 1.25;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #c6ccd5;
  font-size: 0.78rem;
}

.hero-sub {
  display: flex;
  min-width: 0;
  height: 380px;
  flex-direction: column;
  gap: 10px;
}

.sub-card {
  width: 100%;
  height: 120px;
  min-height: 0;
  flex: 0 0 120px;
}

.card-overlay {
  padding: 44px 12px 12px;
}

.sub-card-title {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  margin-bottom: 44px;
}

.content-area,
.sidebar,
.article-container,
.page-content-container {
  min-width: 0;
}

.section-title {
  margin-bottom: 16px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-header .section-title {
  margin: 0;
  padding: 0;
  border: 0;
}

.btn-reset,
.btn-secondary,
.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
}

.btn-reset:hover,
.btn-secondary:hover,
.btn-back:hover {
  background: #2a303a;
}

.featured-horizontal {
  display: grid;
  grid-template-columns: minmax(220px, 45%) minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.horiz-image img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.horiz-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  padding: 26px;
}

.horiz-details h2 {
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.35;
}

.horiz-details p {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn-action,
.btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.btn-action:hover,
.btn-block:hover {
  background: var(--accent-dark);
}

.btn-block {
  width: 100%;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.post-card-button {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.post-thumb {
  position: relative;
  height: 185px;
  overflow: hidden;
}

.post-thumb img {
  height: 100%;
  object-fit: cover;
}

.post-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.post-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.post-content h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.post-content p {
  flex: 1;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  color: var(--muted-dark);
  font-size: 0.74rem;
}

.read-more {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
}

.pagination button:hover,
.pagination button.active {
  border-color: var(--accent);
  background: var(--accent);
}

.widget {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.widget-title,
.footer-col h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 850;
  text-transform: uppercase;
}

.widget-note {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-form {
  display: flex;
  min-width: 0;
}

.search-form input,
.widget-newsletter input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--white);
}

.search-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border-radius: 5px 0 0 5px;
}

.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex: 0 0 44px;
  border-radius: 0 5px 5px 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 5px;
  color: var(--white);
  font-size: 1rem;
}

.social-links .fb { background: #3b5998; }
.social-links .tw { background: #0a0a0a; border: 1px solid var(--border-strong); }
.social-links .ig { background: #c13584; }
.social-links .yt { background: #d80000; }

.pop-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 13px;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pop-item:last-child {
  margin-bottom: 0;
}

.pop-item img {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  object-fit: cover;
}

.pop-info {
  min-width: 0;
}

.pop-info h3 {
  margin-bottom: 4px;
  color: #e2e8f0;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pop-date {
  color: var(--muted-dark);
  font-size: 0.69rem;
}

.widget-newsletter p {
  color: var(--muted);
  font-size: 0.82rem;
}

.widget-newsletter input {
  height: 42px;
  margin: 12px 0 8px;
  padding: 0 11px;
  border-radius: 5px;
}

.form-status {
  min-height: 1.35em;
  margin-top: 8px;
  color: #9fe8bd;
  font-size: 0.8rem;
}

.article-container,
.page-content-container {
  margin-top: 30px;
  margin-bottom: 44px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: visible;
}

.page-content-container {
  max-width: 960px;
}

.page-content-container h1,
.page-content-container h2,
.page-content-container h3,
.article-header h1,
.article-content h2,
.article-content h3,
.article-share h2 {
  color: var(--white);
  overflow-wrap: anywhere;
}

.page-content-container h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.page-content-container h2 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
}

.page-content-container h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.page-content-container p,
.page-content-container li {
  color: #c9ced6;
}

.page-content-container p {
  margin-bottom: 14px;
}

.lead {
  color: #e2e8f0 !important;
  font-size: 1.07rem;
}

.divider {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: var(--border);
}

.custom-list,
.article-content ul,
.article-content ol {
  margin: 10px 0 20px 1.25rem;
}

.custom-list li,
.article-content li {
  margin-bottom: 8px;
}

.notice-box,
.article-note {
  margin: 20px 0;
  padding: 15px 17px;
  border: 1px solid #39506e;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: #151d28;
  color: #cfd9e6;
}

.article-note.warning {
  border-color: #674d27;
  border-left-color: var(--orange);
  background: #211b13;
}

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

.article-header h1 {
  max-width: 980px;
  margin: 12px 0 14px;
  font-size: clamp(1.75rem, 4.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-featured-image {
  overflow: hidden;
  max-height: 520px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: #0d0f12;
}

.article-featured-image img {
  width: 100%;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
}

.article-content {
  max-width: 850px;
  min-width: 0;
  margin-inline: auto;
  color: #d7dbe1;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.82;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-content > p:first-child {
  color: #edf0f4;
  font-size: 1.1em;
}

.article-content p {
  margin-bottom: 1.15em;
}

.article-content h2 {
  margin: 1.85em 0 0.65em;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.article-content h3 {
  margin: 1.45em 0 0.55em;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.3;
}

.article-content strong {
  color: var(--white);
}

.article-content table {
  width: 100%;
  margin: 20px 0 26px;
  border-collapse: collapse;
  border: 1px solid var(--border-strong);
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: #222934;
  color: var(--white);
}

.article-content td {
  background: #15191f;
}

.article-share {
  max-width: 850px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-share h2 {
  margin-bottom: 4px;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.article-share > p {
  color: var(--muted);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.share-btn.fb {
  background: #3b5998;
}

.share-btn.copy {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.share-btn:hover {
  filter: brightness(1.08);
}

body.modal-open {
  overflow: hidden;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 8, 0.82);
  cursor: pointer;
}

.account-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  background: #171b21;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.account-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--white);
  cursor: pointer;
}

.account-modal-close:hover {
  background: #2a303a;
}

.account-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.9rem;
}

.account-modal-kicker {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-modal-panel h2 {
  max-width: 500px;
  padding-right: 42px;
  color: var(--white);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.2;
}

.account-modal-intro {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.registration-form {
  display: grid;
  gap: 15px;
}

.registration-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row {
  min-width: 0;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-row input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #11151a;
  color: var(--white);
}

.form-row input::placeholder {
  color: #727b88;
}

.form-row input[aria-invalid="true"] {
  border-color: var(--accent);
}

.registration-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #c8ced7;
  font-size: 0.84rem;
  cursor: pointer;
}

.registration-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.registration-consent a {
  color: #ff8c98;
  text-decoration: underline;
}

.registration-status {
  min-height: 1.4em;
  color: #9fe8bd;
  font-size: 0.84rem;
}

.registration-status.error {
  color: #ff9ca6;
}

.registration-submit {
  width: 100%;
}

.icon-btn.has-profile {
  position: relative;
  color: #b9ffd2;
}

.icon-btn.has-profile::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--surface-2);
  border-radius: 50%;
  background: var(--green);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px max(18px, calc((100vw - 1200px) / 2 + 15px));
  border-top: 1px solid var(--accent);
  background: rgba(11, 13, 14, 0.98);
  box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.35);
}

.cookie-copy {
  max-width: 820px;
}

.cookie-copy strong {
  color: var(--white);
}

.cookie-copy p {
  margin-top: 3px;
  color: #bcc3cc;
  font-size: 0.82rem;
}

.cookie-copy a {
  color: #ff8c98;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.main-footer {
  padding-top: 42px;
  border-top: 1px solid var(--border);
  background: #0b0d0e;
  color: var(--muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
}

.footer-col h2 {
  font-size: 0.88rem;
}

.footer-col p {
  margin-top: 14px;
  font-size: 0.84rem;
}

.footer-disclaimer {
  color: #737b87;
  font-size: 0.76rem !important;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 15px 0;
  background: #050607;
  color: #7d8591;
  font-size: 0.76rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  margin-top: 24px;
}

.contact-card,
.contact-form {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #15191f;
}

.contact-card h2,
.contact-form h2 {
  margin-top: 0;
}

.contact-form label {
  display: block;
  margin: 14px 0 6px;
  color: var(--white);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px 12px;
  border-radius: 5px;
}

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

@media (max-width: 992px) {
  .trending-bar {
    display: none;
  }

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

  .hero-main {
    height: 380px;
  }

  .hero-sub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 155px;
    height: 155px;
  }

  .sub-card {
    height: 155px;
    min-height: 0;
    flex-basis: auto;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .widget {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .top-header-content {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .logo {
    flex: 1 1 auto;
  }

  .header-actions {
    width: 100%;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
    max-width: none;
  }

  .nav-shell {
    min-height: auto;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .menu-toggle {
    display: inline-flex;
    align-self: flex-start;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-top: 8px;
    flex-direction: column;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 4px;
  }

  .hero-main {
    height: 330px;
  }

  .hero-sub {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 155px);
    height: auto;
  }

  .sub-card {
    height: 155px;
    min-height: 0;
  }

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

  .featured-horizontal {
    grid-template-columns: 1fr;
  }

  .horiz-image img {
    min-height: 220px;
    max-height: 300px;
  }

  .posts-grid,
  .sidebar,
  .footer-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1200px);
  }

  .article-container,
  .page-content-container {
    margin-top: 18px;
    padding: 18px;
  }

  .hero-main {
    height: 285px;
  }

  .hero-overlay {
    padding: 62px 15px 15px;
  }

  .meta {
    gap: 5px 10px;
  }

  .horiz-details {
    padding: 20px;
  }

  .filter-header {
    align-items: stretch;
    flex-direction: column;
  }

  .article-meta {
    flex-direction: column;
    gap: 4px;
  }

  .article-featured-image img {
    min-height: 210px;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .social-links {
    grid-template-columns: repeat(4, minmax(42px, 1fr));
  }

  .account-modal {
    padding: 10px;
  }

  .account-modal-panel {
    max-height: 94vh;
    padding: 22px 18px;
  }
}



/* SkillForge Master visual system */
:root{
  --bg:#090b14;--surface:#111421;--surface-2:#171b2b;--border:#292f46;--border-strong:#3b4260;
  --text:#e8eaf3;--muted:#a4abc0;--muted-dark:#737b96;--white:#fff;--accent:#8b5cf6;--accent-dark:#6d3ce8;
  --blue:#22d3ee;--green:#18c99a;--orange:#ff8a3d;--focus:#67e8f9;--radius:14px;--shadow:0 22px 60px rgba(0,0,0,.34)
}
body{font-family:"Barlow",sans-serif;background:radial-gradient(circle at 15% 0%,rgba(139,92,246,.16),transparent 31%),var(--bg)}
h1,h2,h3,.logo a,.hero-title,.sub-card-title,.section-title,.widget-title,.nav-links a{font-family:"Oxanium",sans-serif}
.top-header{background:rgba(8,9,17,.94);border-bottom:1px solid rgba(139,92,246,.5);backdrop-filter:blur(18px)}
.logo a{letter-spacing:.01em}.logo a span{color:var(--accent)}
.main-nav{background:#0d0f1a;border-bottom:1px solid var(--border)}
.nav-links a{font-size:.79rem;letter-spacing:.03em}.nav-links a:hover{background:linear-gradient(180deg,rgba(139,92,246,.12),rgba(34,211,238,.05));color:#fff}
.hero-section{padding-top:28px}.hero-main,.sub-card,.post-card,.featured-horizontal,.widget{border:1px solid var(--border);box-shadow:var(--shadow);background:linear-gradient(180deg,rgba(23,27,43,.96),rgba(13,15,26,.96))}
.hero-main,.sub-card,.post-card,.featured-horizontal{border-radius:18px;overflow:hidden}.hero-main:after,.sub-card:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 55%,rgba(139,92,246,.16));pointer-events:none}
.hero-overlay,.card-overlay{background:linear-gradient(180deg,transparent 12%,rgba(5,6,13,.94) 100%)}
.badge{border-radius:999px;padding:6px 11px;letter-spacing:.08em}.badge.red{background:#7c3aed}.badge.blue{background:#087da0}.badge.green{background:#0f8e6d}.badge.orange{background:#bd5a16}
.btn-action,.btn-block{background:linear-gradient(135deg,#8b5cf6,#6d3ce8 55%,#22d3ee);border-radius:10px;box-shadow:0 12px 30px rgba(109,60,232,.25)}
.btn-action:hover,.btn-block:hover{transform:translateY(-2px);filter:brightness(1.08)}
.section-title:before,.widget-title:before{background:linear-gradient(180deg,#8b5cf6,#22d3ee);border-radius:999px}
.search-box input,.search-form input,.widget-newsletter input,.contact-form input,.contact-form textarea{background:#0d101b;border-color:var(--border);border-radius:10px}
.sidebar .widget{border-radius:16px}.main-footer{background:#080a12;border-top:1px solid rgba(139,92,246,.35)}
.cookie-banner{background:rgba(14,16,28,.97);border:1px solid var(--border-strong);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.article-content h2{color:#f5f3ff}.article-note{border-left-color:var(--accent);background:rgba(139,92,246,.09)}
@media(max-width:780px){.top-header-content{min-height:64px}.hero-section{padding-top:18px}.nav-links{background:#0d0f1a}.hero-main,.sub-card,.post-card,.featured-horizontal,.widget{border-radius:13px}}

/* SkillForge Master — light editorial theme */
:root{--bg:#f6f8fc;--surface:#ffffff;--surface-2:#eef3f8;--border:#dce4ec;--border-strong:#c5d0dc;--text:#243142;--muted:#64748b;--muted-dark:#8492a6;--white:#ffffff;--accent:#2563eb;--accent-dark:#1d4ed8;--blue:#0ea5e9;--green:#10b981;--orange:#f59e0b;--focus:#38bdf8;--shadow:0 18px 45px rgba(31,65,104,.10);}
body{font-family:"Manrope","Segoe UI",sans-serif;background:linear-gradient(180deg,#fbfdff 0%,#f3f7fb 100%);color:var(--text);}
h1,h2,h3,h4,.logo a,.section-title,.widget-title{font-family:"Sora","Segoe UI",sans-serif;letter-spacing:-.02em;}
a:hover{color:var(--accent);}
.top-header{background:rgba(255,255,255,.94);color:var(--text);border-bottom:1px solid var(--border);backdrop-filter:blur(16px);}
.logo a{color:#172033}.logo a span{color:var(--accent)}
.trending-bar{color:var(--muted)}.trending-bar a:hover{color:var(--accent)}
.search-box input,.icon-btn{background:#f2f6fb;color:var(--text);border-color:var(--border)}
.main-nav{background:#ffffff;border-bottom:1px solid var(--border);box-shadow:0 8px 24px rgba(20,48,80,.05)}
.nav-menu a{color:#334155}.nav-menu a:hover,.nav-menu a.active{color:var(--accent)}
.hero-main,.sub-card,.featured-horizontal,.post-card,.widget,.article-container,.contact-card,.legal-card{background:#fff;border-color:var(--border);box-shadow:var(--shadow)}
.hero-overlay,.card-overlay{background:linear-gradient(180deg,transparent 20%,rgba(15,23,42,.88) 100%)}
.hero-title,.sub-card-title{color:#fff}.meta{color:#e2e8f0}
.section-title,.widget-title,.article-header h1,.horiz-details h2,.post-title{color:#172033}
.horiz-details p,.post-excerpt,.widget-note,.article-meta{color:var(--muted)}
.search-form input,.widget-newsletter input,.contact-form input,.contact-form textarea{background:#f8fafc;color:var(--text);border-color:var(--border)}
.btn-action,.btn-block,.pagination button.active{background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff}
.btn-action:hover,.btn-block:hover{filter:brightness(.96)}
.footer{background:#eaf0f6;color:#475569;border-top:1px solid var(--border)}
.footer a:hover{color:var(--accent)}
.cookie-banner{background:#fff;color:var(--text);border:1px solid var(--border);box-shadow:0 18px 50px rgba(15,23,42,.16)}
.article-content{color:#334155}.article-content h2{color:#172033}.article-note{background:#eff6ff;border-color:#93c5fd}.article-note.warning{background:#fff7ed;border-color:#fdba74}
@media(max-width:860px){.nav-menu{background:#fff;border-color:var(--border);box-shadow:var(--shadow)}}
