/* Turkish B2B - SEO Optimized Static Site */
:root {
  --primary: #0f766e;
  --primary-rgb: 15, 118, 110;
  --primary-light: #dc6b2f;
  --primary-dark: #134e4a;
  --accent: #ca8a04;
  --bg: #ffffff;
  --bg-secondary: #f5faf8;
  --bg-sidebar: #f4f8f7;
  --text: #20242c;
  --text-secondary: #5f6b7a;
  --text-muted: #8a95a5;
  --border: #d7e3df;
  --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="pt"] body,
html[lang="ru"] body,
html[lang="id"] body,
html[lang="fa"] body {
  font-family: 'Noto Sans', var(--font-sans);
}

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

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

html[lang="zh"] 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(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.nav-link.active {
  background: rgba(var(--primary-rgb), 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(var(--primary-rgb), 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(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.lang-switch[aria-current="true"] {
  background: rgba(var(--primary-rgb), 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(var(--primary-rgb), 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;
  min-width: 0;
}

.main-layout {
  width: 100%;
}

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

.tr2b-ad-sidebar {
  display: none;
  contain: layout paint;
}

.tr2b-ad-card {
  position: relative;
  display: grid;
  align-content: start;
  width: 250px;
  height: 250px;
  overflow: hidden;
  padding: 16px 16px 58px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(145deg, var(--ad-panel), var(--ad-accent));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  contain: layout paint;
  isolation: isolate;
  min-width: 0;
}

.tr2b-ad-card::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.tr2b-ad-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 14px;
  transform: rotate(12deg);
  z-index: -1;
}

.tr2b-ad-label {
  justify-self: start;
  margin-bottom: 10px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tr2b-ad-kicker {
  display: block;
  margin-bottom: 7px;
  max-width: 168px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tr2b-ad-card strong {
  display: -webkit-box;
  max-width: 190px;
  max-height: 4.12em;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.34rem;
  font-weight: 850;
  line-height: 1.03;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tr2b-ad-copy {
  margin-top: 8px;
  max-height: 36px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.tr2b-ad-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 58px;
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tr2b-ad-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: var(--radius);
  color: var(--ad-panel);
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.tr2b-article-ad {
  margin: 24px 0 34px;
  max-width: 100%;
  contain: layout paint;
}

.tr2b-article-ad-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.32fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
  min-height: 148px;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, var(--ad-panel), var(--ad-accent));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  contain: layout paint;
  text-decoration: none;
  isolation: isolate;
}

.tr2b-article-ad-link::before {
  content: "";
  position: absolute;
  right: clamp(-52px, -6vw, -26px);
  top: -64px;
  width: 176px;
  height: 176px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
}

.tr2b-article-ad-main,
.tr2b-article-ad-side {
  min-width: 0;
}

.tr2b-article-ad-main {
  display: grid;
  align-content: center;
  gap: 9px;
}

.tr2b-article-ad-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.tr2b-article-ad-label,
.tr2b-article-ad-kicker,
.tr2b-article-ad-badge {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.tr2b-article-ad-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tr2b-article-ad-kicker {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 850;
}

.tr2b-article-ad-link strong {
  display: block;
  max-width: 640px;
  color: #ffffff;
  font-size: 1.46rem;
  font-weight: 850;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.tr2b-article-ad-copy {
  display: block;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tr2b-article-ad-badge {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: var(--radius);
  color: var(--ad-panel);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 850;
}

.tr2b-article-ad-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 12px;
}

.tr2b-article-ad-mark {
  display: inline-flex;
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.tr2b-article-ad-mark svg {
  width: 100%;
  height: 100%;
}

.tr2b-article-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--ad-panel);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.tr2b-article-ad-cta::after {
  content: "->";
  margin-left: 8px;
}

/* 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: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--primary-dark);
}

.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(var(--primary-rgb), 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);
}

.editorial-section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.editorial-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.method-grid,
.next-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}

.method-grid div,
.next-step-card {
  display: block;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.method-grid strong,
.next-step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.method-grid span,
.next-step-card em {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
}

.next-step-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.content-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.content-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.55;
}

.content-table th,
.content-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  color: var(--text);
  background: var(--bg-secondary);
  font-weight: 800;
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.detail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0 !important;
  margin: 20px 0 28px;
  list-style: none;
}

.detail-chip-list li {
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg-secondary);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}

.template-box {
  margin: 24px 0 30px;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius);
  background: #fffdf9;
}

.template-box h3 {
  margin-top: 0;
  color: var(--text);
}

.template-box p {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.template-box p:last-child {
  margin-bottom: 0;
}

.conversion-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: center;
  margin: 42px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(220, 107, 47, 0.09)),
    var(--bg-secondary);
}

.conversion-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.conversion-cta h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.3;
}

.conversion-cta p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

.conversion-actions {
  display: grid;
  gap: 10px;
}

.conversion-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.conversion-actions a + a {
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border);
}

.sector-specific-notes {
  margin: 30px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--bg-secondary);
}

.sector-specific-notes h2 {
  margin-top: 0;
}

.article-sources {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.article-index {
  margin-top: 44px;
}

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(var(--primary-rgb), 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;
}

@media (min-width: 1500px) {
  .main-layout {
    display: grid;
    grid-template-columns: minmax(0, var(--content-max)) 250px;
    gap: 42px;
    align-items: start;
    width: fit-content;
    max-width: calc(var(--content-max) + 292px);
    margin: 0;
    padding: 0 24px;
  }

  .content-wrapper {
    padding-right: 0;
    padding-left: 0;
  }

  .tr2b-ad-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
    width: 250px;
    padding-top: 40px;
  }
}

/* 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;
    width: 100%;
  }

  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;
  }

  .method-grid,
  .next-step-grid {
    grid-template-columns: 1fr;
  }

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

  .tr2b-article-ad-link {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  .tr2b-article-ad-side {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: stretch;
  }

  .tr2b-article-ad-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .tr2b-article-ad-cta {
    width: 100%;
  }

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

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

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

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

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

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

  .hero-actions {
    display: grid;
  }

  .tr2b-article-ad-link {
    padding: 14px;
  }

  .tr2b-article-ad-link strong {
    font-size: 1.18rem;
  }

  .tr2b-article-ad-copy {
    font-size: 0.86rem;
  }

  .tr2b-article-ad-side {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .tr2b-article-ad-mark {
    display: none;
  }

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

/* 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;
}
