/* Source From Turkiye - SEO Optimized Static Site */
:root {
  --primary: #0f766e;
  --primary-light: #2dd4bf;
  --primary-dark: #115e59;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-sidebar: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --sidebar-width: 280px;
  --header-height: 64px;
  --content-max: 800px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

html[lang="ar"] body {
  font-family: 'Noto Sans Arabic', var(--font-sans);
  text-align: right;
}

html[lang="ur"] body,
html[lang="sd"] body,
html[lang="ps"] body {
  font-family: 'Noto Sans Arabic', var(--font-sans);
  text-align: right;
}

html[lang="pt"] body,
html[lang="ru"] body,
html[lang="id"] body,
html[lang="fa"] body,
html[lang="sw"] body,
html[lang="ha"] body,
html[lang="tl"] body,
html[lang="jv"] body,
html[lang="yo"] body,
html[lang="ku"] body,
html[lang="so"] body,
html[lang="uz"] body,
html[lang="ceb"] body,
html[lang="ig"] body,
html[lang="zu"] body,
html[lang="ms"] body {
  font-family: 'Noto Sans', var(--font-sans);
}

html[lang="th"] body {
  font-family: 'Noto Sans Thai', var(--font-sans);
}

html[lang="hi"] body,
html[lang="mr"] body,
html[lang="bho"] body,
html[lang="ne"] body {
  font-family: 'Noto Sans Devanagari', var(--font-sans);
}

html[lang="bn"] body {
  font-family: 'Noto Sans Bengali', var(--font-sans);
}

html[lang="pa"] body {
  font-family: 'Noto Sans Gurmukhi', var(--font-sans);
}

html[lang="te"] body {
  font-family: 'Noto Sans Telugu', var(--font-sans);
}

html[lang="ta"] body {
  font-family: 'Noto Sans Tamil', var(--font-sans);
}

html[lang="am"] body {
  font-family: 'Noto Sans Ethiopic', var(--font-sans);
}

html[lang="gu"] body {
  font-family: 'Noto Sans Gujarati', var(--font-sans);
}

html[lang="kn"] body {
  font-family: 'Noto Sans Kannada', var(--font-sans);
}

html[lang="ml"] body {
  font-family: 'Noto Sans Malayalam', var(--font-sans);
}

html[lang="or"] body {
  font-family: 'Noto Sans Oriya', var(--font-sans);
}

html[lang="my"] body {
  font-family: 'Noto Sans Myanmar', var(--font-sans);
}

html[lang="zh"] body,
html[lang="yue"] body,
html[lang="wuu"] body {
  font-family: 'Noto Sans SC', var(--font-sans);
}

html[lang="ja"] body {
  font-family: 'Noto Sans JP', var(--font-sans);
}

html[lang="ko"] body {
  font-family: 'Noto Sans KR', var(--font-sans);
}

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

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

/* Layout */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.logo-text span:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.logo-text span:last-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.nav-section {
  padding: 0 12px;
  margin-bottom: 8px;
}

.nav-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 8px 12px;
}

.nav-list {
  list-style: none;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.nav-link.active {
  background: rgba(124, 58, 237, 0.12);
  color: var(--primary);
}

.nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Collapsible Navigation */
.nav-item.has-subitems > .nav-link {
  cursor: pointer;
  position: relative;
}

.nav-item.has-subitems > .nav-link::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-left: auto;
}

.nav-item.has-subitems.expanded > .nav-link::after {
  transform: rotate(45deg);
}

.nav-subitems {
  list-style: none;
  margin-left: 30px;
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-item.has-subitems.expanded > .nav-subitems {
  max-height: 1000px;
}

.nav-subitem {
  margin-bottom: 2px;
}

.nav-sublink {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.nav-sublink:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.06);
}

.nav-sublink.active {
  color: var(--primary);
  font-weight: 500;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.language-switches {
  display: block;
}

.language-dropdown {
  position: relative;
}

.language-dropdown summary {
  list-style: none;
}

.language-dropdown summary::-webkit-details-marker {
  display: none;
}

.language-current {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.language-current::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.15s ease;
}

.language-dropdown[open] .language-current::after {
  transform: rotate(225deg);
}

.language-current-code {
  width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.language-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  display: grid;
  gap: 4px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-switch:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.lang-switch[aria-current="true"] {
  background: rgba(124, 58, 237, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.lang-code {
  width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 24px;
}

.content-wrapper-wide {
  max-width: 1180px;
  margin-left: 0;
  margin-right: auto;
}

.content-with-rail {
  display: block;
  direction: ltr;
}

.primary-content {
  min-width: 0;
}

.primary-content,
.ad-rail {
  direction: ltr;
}

html[dir="rtl"] .primary-content,
html[dir="rtl"] .ad-rail {
  direction: rtl;
}

.ad-rail {
  display: none;
}

.tr2b-ad {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  isolation: isolate;
}

.tr2b-ad::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(135deg, var(--ad-a), var(--ad-b));
  z-index: -2;
}

.tr2b-ad::after {
  content: 'TR2B';
  position: absolute;
  right: -14px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  z-index: -1;
}

.tr2b-ad-glow {
  position: absolute;
  right: 16px;
  top: 48px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
}

.tr2b-ad-glow::before,
.tr2b-ad-glow::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tr2b-ad-glow::before {
  inset: 12px;
}

.tr2b-ad-glow::after {
  inset: 26px;
  background: rgba(255, 255, 255, 0.22);
}

.tr2b-ad-kicker {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tr2b-ad-title {
  display: block;
  max-width: 180px;
  margin-top: 12px;
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.06;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tr2b-ad-text {
  display: block;
  max-width: 194px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tr2b-ad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  margin-top: auto;
}

.tr2b-ad-footer span,
.tr2b-ad-footer b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 122px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  line-height: 1.15;
  overflow: hidden;
  text-align: center;
}

.tr2b-ad-footer span {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
}

.tr2b-ad-footer b {
  color: var(--ad-a);
  background: #ffffff;
  font-weight: 900;
}

.tr2b-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.26);
}

.tr2b-ad-violet { --ad-a: #7c3aed; --ad-b: #1d4ed8; }
.tr2b-ad-blue { --ad-a: #1d4ed8; --ad-b: #0f766e; }
.tr2b-ad-green { --ad-a: #047857; --ad-b: #65a30d; }
.tr2b-ad-amber { --ad-a: #b45309; --ad-b: #dc2626; }
.tr2b-ad-cyan { --ad-a: #0891b2; --ad-b: #2563eb; }
.tr2b-ad-orange { --ad-a: #c2410c; --ad-b: #be123c; }
.tr2b-ad-pink { --ad-a: #be185d; --ad-b: #7c3aed; }
.tr2b-ad-slate { --ad-a: #334155; --ad-b: #0f766e; }

.tr2b-inline-ad-wrap {
  margin: 34px 0;
}

.tr2b-inline-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  isolation: isolate;
}

.tr2b-inline-ad::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.34), transparent 31%),
    linear-gradient(135deg, var(--ad-a), var(--ad-b));
  z-index: -2;
}

.tr2b-inline-ad::after {
  content: 'TR2B';
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  z-index: -1;
}

.tr2b-inline-orbit {
  position: absolute;
  right: 42px;
  top: 22px;
  width: 102px;
  height: 102px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  pointer-events: none;
}

.tr2b-inline-orbit::before,
.tr2b-inline-orbit::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tr2b-inline-orbit::before {
  inset: 16px;
}

.tr2b-inline-orbit::after {
  inset: 34px;
  background: rgba(255, 255, 255, 0.18);
}

.tr2b-inline-copy,
.tr2b-inline-cta {
  position: relative;
  z-index: 1;
}

.tr2b-inline-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tr2b-inline-kicker {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tr2b-inline-title {
  max-width: 520px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.08;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tr2b-inline-text {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.42;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tr2b-inline-cta {
  display: grid;
  gap: 8px;
  min-width: 144px;
  max-width: 190px;
}

.tr2b-inline-cta span,
.tr2b-inline-cta b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.15;
  overflow: hidden;
  text-align: center;
}

.tr2b-inline-cta span {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.16);
}

.tr2b-inline-cta b {
  color: var(--ad-a);
  background: #ffffff;
  font-weight: 900;
}

.tr2b-inline-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* Article */
.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-meta time {
  white-space: nowrap;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-secondary);
}

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

.article-content strong {
  color: var(--text);
  font-weight: 600;
}

.article-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: #1d4ed8;
}

.article-content .tr2b-inline-ad,
.article-content .tr2b-inline-ad:hover {
  color: #ffffff;
  text-decoration: none;
}

.article-content .tr2b-inline-title {
  color: #ffffff;
}

.article-content .tr2b-inline-cta b {
  color: var(--ad-a);
}

.source-license {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-hero,
.article-content figure {
  margin: 28px 0;
}

.article-hero img,
.article-content figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-hero figcaption,
.article-content figure figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.kz-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.kz-icon-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.kz-icon-card svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.kz-icon-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(124, 58, 237, 0.1);
}

.kz-icon-title {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.kz-icon-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.kz-insight-panel {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.kz-insight-panel p:last-child {
  margin-bottom: 0;
}

.kz-check-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.kz-check-list li {
  position: relative;
  padding-left: 26px;
}

.kz-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

html[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--border);
}

html[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: var(--sidebar-width);
}

html[dir="rtl"] .nav-item.has-subitems > .nav-link::after,
html[dir="rtl"] .language-current::after {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .nav-subitems {
  margin-left: 0;
  margin-right: 30px;
}

html[dir="rtl"] .article-content ul,
html[dir="rtl"] .article-content ol {
  padding-left: 0;
  padding-right: 24px;
}

html[dir="rtl"] .article-content blockquote {
  border-left: 0;
  border-right: 4px solid var(--primary);
  padding-left: 0;
  padding-right: 20px;
}

html[dir="rtl"] .kz-insight-panel {
  border-left: 1px solid var(--border);
  border-right: 4px solid var(--primary);
}

html[dir="rtl"] .kz-check-list li {
  padding-left: 0;
  padding-right: 26px;
}

html[dir="rtl"] .kz-check-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .mobile-menu-btn {
  left: auto;
  right: 16px;
}

/* Home Page */
.hero {
  text-align: left;
  padding: 54px 0 44px;
  margin-bottom: 48px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-button:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.hero-button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.hero-button-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.seo-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}

.home-section {
  margin-bottom: 44px;
}

.home-section-title {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.3;
}

.seo-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.seo-card:hover {
  border-color: var(--primary-light);
}

.seo-card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.seo-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.landing-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.landing-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.landing-crosslinks a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-category-list {
  display: grid;
  gap: 12px;
  padding-left: 0 !important;
  list-style: none;
}

.landing-category-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.landing-category-list a {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.landing-category-list span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

.quality-detail-list {
  display: grid;
  gap: 10px;
  padding-left: 0 !important;
  list-style: none;
}

.quality-detail-list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.quality-detail-list strong {
  color: var(--text);
}

html[dir="rtl"] .quality-detail-list {
  padding-right: 0 !important;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.45;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
}

.category-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.category-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.category-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.category-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.category-card:hover .category-card-link svg {
  transform: translateX(4px);
}

/* Article List */
.article-list {
  list-style: none;
}

.article-list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.article-list-link {
  display: block;
}

.article-list-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.15s ease;
}

.article-list-link:hover .article-list-title {
  color: var(--primary);
}

.article-list-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 280px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  html[dir="rtl"] .sidebar {
    transform: translateX(100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.open {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  html[dir="rtl"] .main-content {
    margin-right: 0;
  }

  .content-wrapper {
    padding: 80px 16px 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.2rem;
  }

  .seo-entry-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .tr2b-inline-ad {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .tr2b-inline-ad::after {
    right: 10px;
    bottom: -12px;
    font-size: 3.6rem;
  }

  .tr2b-inline-orbit {
    right: 18px;
    top: 18px;
    width: 78px;
    height: 78px;
  }

  .tr2b-inline-title,
  .tr2b-inline-text {
    max-width: 100%;
  }

  .tr2b-inline-cta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 100%;
    min-width: 0;
  }

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

  .kz-icon-grid {
    grid-template-columns: 1fr;
  }

  .language-menu {
    top: calc(100% + 8px);
    bottom: auto;
  }
}

@media (min-width: 1440px) {
  .content-wrapper-wide {
    padding-left: 48px;
    padding-right: 32px;
  }

  .content-with-rail {
    display: grid;
    grid-template-columns: minmax(0, var(--content-max)) 250px;
    align-items: start;
    gap: 42px;
  }

  .ad-rail {
    position: sticky;
    top: 28px;
    display: grid;
    gap: 18px;
    width: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-actions {
    display: grid;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .tr2b-inline-ad-wrap {
    margin: 28px 0;
  }

  .tr2b-inline-ad {
    padding: 16px;
  }

  .tr2b-inline-title {
    font-size: 1.25rem;
  }

  .tr2b-inline-text {
    font-size: 0.9rem;
  }

  .tr2b-inline-cta {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .sidebar,
  .mobile-menu-btn,
  .language-dropdown,
  .lang-switch {
    display: none !important;
  }

  .main-content {
    margin-left: 0;
  }

  .content-wrapper {
    max-width: 100%;
    padding: 0;
  }
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-icon svg circle {
  animation: spin 20s linear infinite;
}
