.breaking-bar {
  background: #0f172a;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.breaking-bar .container {
  display: flex;
  gap: 12px;
  align-items: center;
}
.breaking-bar a {
  color: #fff;
  text-decoration: underline;
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.filter-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.calendar-list {
  margin: 0;
  padding-left: 18px;
}
.calendar-list li {
  margin: 6px 0;
}

.toc-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.toc-card a {
  color: #0f172a;
}
.save-post.active {
  background: #0f172a;
  color: #fff;
}
.related-posts .job-item {
  align-items: center;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-search input {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-width: 180px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.social-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.social-icon svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
.social-icon.facebook { color: #1877f2; }
.social-icon.instagram { color: #e1306c; }
.social-icon.telegram { color: #229ed9; }
.social-icon.youtube { color: #ff0000; }
.social-icon.twitter { color: #0f172a; }
.social-icon.linkedin { color: #0a66c2; }

@media (max-width: 900px) {
  .filter-form {
    grid-template-columns: 1fr;
  }
  .header-search input {
    min-width: 120px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-social {
    gap: 8px;
  }
  .social-icon {
    width: 18px;
    height: 18px;
  }
  .social-icon svg {
    width: 9px;
    height: 9px;
  }
}
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
  padding-top: 14px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}
/* Base */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.layout-split {
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .layout-split {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.9fr);
  }
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0ecff;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 600;
}

.section {
  padding: 40px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: 24px;
}

.muted {
  color: var(--muted);
}

/* Header */
.topbar {
  background: var(--text);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 32px;
  width: auto;
  display: none;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
  }

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

@media (max-width: 640px) {
  .nav {
    padding: 12px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    padding-bottom: 6px;
  }

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

  .nav-links a {
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-search input,
  .hero-search select {
    min-width: 100%;
  }
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.nav-links a.active {
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #e0ecff, #f7f8fb);
  padding: 48px 0;
}

.hero-content {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 12px 0;
}

.hero p {
  margin: 0 0 18px 0;
  color: var(--muted);
}

.hero-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-search input,
.hero-search select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 200px;
}

/* Lists */
.job-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.job-item:last-child {
  border-bottom: none;
}

.job-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.job-meta span {
  font-size: 12px;
  color: var(--muted);
}

.sidebar {
  display: grid;
  gap: 16px;
}

/* Ad slots */
.ad-slot {
  border: 1px dashed #cbd5f5;
  background: #f8fafc;
  color: #5b6b8b;
  padding: 16px;
  text-align: center;
  border-radius: 12px;
  font-size: 13px;
}

.ad-slot strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2a44;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 36px 0;
}

.footer a {
  color: #cbd5f5;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer .flex a[data-social] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer .flex a[data-social]::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer .flex a[data-social="facebook"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5f5'><path d='M13.5 9H16V6h-2.5C11.6 6 10 7.6 10 9.5V12H8v3h2v6h3v-6h2.3l.7-3H13V9.5c0-.3.2-.5.5-.5Z'/></svg>");
}

.footer .flex a[data-social="instagram"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5f5'><path d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4Zm10 2H7a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-5 3.5A3.5 3.5 0 1 1 8.5 12 3.5 3.5 0 0 1 12 8.5Zm0 2A1.5 1.5 0 1 0 13.5 12 1.5 1.5 0 0 0 12 10.5Zm4.8-2.4a.9.9 0 1 1 .9-.9.9.9 0 0 1-.9.9Z'/></svg>");
}

.footer .flex a[data-social="telegram"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5f5'><path d='M20.6 4.3a1.2 1.2 0 0 0-1.2-.2L4.9 9.9a1.2 1.2 0 0 0 .1 2.3l3.8 1.2 1.5 4.5a1.2 1.2 0 0 0 2 .5l2.3-2 4.1 3a1.2 1.2 0 0 0 1.9-.7l2.4-13.1a1.2 1.2 0 0 0-.4-1.3Zm-3.1 3.4-6.7 6.1a1 1 0 0 0-.3.9l.3 2.3-1.2-3.6 7.9-5.7Z'/></svg>");
}

.footer .flex a[data-social="youtube"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5f5'><path d='M22 12.1a3.2 3.2 0 0 0-2.2-3.1C18.2 8.6 12 8.6 12 8.6s-6.2 0-7.8.4A3.2 3.2 0 0 0 2 12.1a35 35 0 0 0 0 3.8 3.2 3.2 0 0 0 2.2 3.1c1.6.4 7.8.4 7.8.4s6.2 0 7.8-.4A3.2 3.2 0 0 0 22 15.9a35 35 0 0 0 0-3.8ZM10 15.5v-7l6 3.5Z'/></svg>");
}

/* Forms */
input, textarea, select {
  font-family: inherit;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.tag {
  background: #ecfdf3;
  color: #047857;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

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

.share-buttons a {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  background: #ffffff;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-buttons svg {
  width: 18px;
  height: 18px;
}

.share-buttons a[data-share="whatsapp"] svg {
  fill: #25d366;
}

.share-buttons a[data-share="facebook"] svg {
  fill: #1877f2;
}

.share-buttons a[data-share="x"] svg {
  fill: #111827;
}

.share-buttons a[data-share="linkedin"] svg {
  fill: #0a66c2;
}

.share-buttons a:hover {
  border-color: transparent;
}

.share-buttons a[data-share="whatsapp"]:hover {
  background: #25d366;
}

.share-buttons a[data-share="facebook"]:hover {
  background: #1877f2;
}

.share-buttons a[data-share="x"]:hover {
  background: #111827;
}

.share-buttons a[data-share="linkedin"]:hover {
  background: #0a66c2;
}

.share-buttons a:hover svg {
  fill: #ffffff;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.table th {
  color: var(--muted);
  font-weight: 600;
}

[data-job-content] img {
  max-width: 100%;
  border-radius: 12px;
  margin: 12px 0;
}

/* Utilities */
.flex {
  display: flex;
  gap: 12px;
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
