/* ============================================================
   Coinliva - Default blog theme for CoinlivaCMS
   Author: Coinliva
   Shares the same aesthetic as the dashboard: calm cream background,
   gold & navy accents, thin borders, Inter typography.
   ============================================================ */

:root {
  /* Palette - same as dashboard */
  --rb-bg:           #f7f8fb;
  --rb-surface:      #ffffff;
  --rb-sunken:       #f0f2f6;
  --rb-text:         #0b1220;
  --rb-text-muted:   #5b6473;
  --rb-text-subtle:  #8a93a4;
  --rb-border:       rgba(15, 23, 42, 0.08);
  --rb-border-strong: rgba(15, 23, 42, 0.14);

  /* Vurgular */
  --rb-accent:       #d7b46a;    /* gold */
  --rb-accent-2:     #c8a155;    /* gold hover */
  --rb-primary:      #2f6bff;    /* mavi (link/aksiyon) */
  --rb-primary-2:    #5ea0ff;

  /* Brand stripes (gradient line above cards) */
  --rb-stripe: linear-gradient(90deg, var(--rb-accent), var(--rb-primary));

  /* Radius & shadow */
  --rb-radius-sm:  10px;
  --rb-radius:     16px;
  --rb-radius-lg:  22px;
  --rb-shadow-sm:  0 1px 2px rgba(9, 17, 31, 0.04);
  --rb-shadow:     0 10px 30px rgba(9, 17, 31, 0.06);
  --rb-shadow-lg:  0 18px 50px rgba(9, 17, 31, 0.10);

  --rb-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rb-text);
  background: #eef2f8;
  background-image: linear-gradient(180deg, #ffffff 0px, #ffffff 230px, #eef2f8 780px);
  background-repeat: no-repeat;
  min-height: 100vh;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--rb-text);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--rb-primary); }

.rb-container {
  max-width: var(--rb-container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   Header — sade beyaz, ince alt border
   ============================================================ */
.rb-header {
  background: var(--rb-surface);
  border-bottom: 1px solid var(--rb-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.rb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 30px;
}
.rb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--rb-text);
  letter-spacing: -0.01em;
}
.rb-logo:hover { color: var(--rb-text); }
.rb-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rb-accent), var(--rb-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.18);
}
.rb-logo img { max-height: 40px; width: auto; border-radius: 8px; }

.rb-nav { display: flex; gap: 0; align-items: center; }
.rb-nav > a,
.rb-nav > .rb-nav-dropdown { display: inline-flex; align-items: center; }
.rb-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--rb-text);
  padding: 8px 0;
  position: relative;
}
/* coinliva: orange square separator between items (except the first) */
.rb-nav > a:not(:first-child)::before,
.rb-nav > .rb-nav-dropdown::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin: 0 18px;
  background: #f47c2c;
  border-radius: 1px;
}
.rb-nav a:hover { color: var(--rb-primary); }
.rb-nav a.is-active { color: var(--rb-text); }
.rb-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #f47c2c;
  border-radius: 2px;
}

/* Ust menu "Hakkinda/About" acilir menusu */
.rb-nav-dropdown { position: relative; }
.rb-nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 0; padding: 8px 0;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--rb-text); cursor: pointer;
  transition: color .15s;
}
.rb-nav-dropdown-trigger:hover { color: var(--rb-primary); }
.rb-nav-dropdown-trigger svg { opacity: .7; transition: transform .15s; }
.rb-nav-dropdown:hover .rb-nav-dropdown-trigger svg,
.rb-nav-dropdown.is-open .rb-nav-dropdown-trigger svg { transform: rotate(180deg); }
.rb-nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 180px; background: var(--rb-surface);
  border: 1px solid var(--rb-border); border-radius: 10px;
  padding: 5px; box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  display: none; z-index: 100;
}
/* Invisible hover bridge over the gap so the menu doesn't close while the
   cursor travels from the trigger down to the items. */
.rb-nav-dropdown-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.rb-nav-dropdown:hover .rb-nav-dropdown-menu,
.rb-nav-dropdown:focus-within .rb-nav-dropdown-menu,
.rb-nav-dropdown.is-open .rb-nav-dropdown-menu { display: block; }
.rb-nav-dropdown-menu a {
  display: block; padding: 9px 13px; border-radius: 7px;
  text-decoration: none; font-size: 13.5px; color: var(--rb-text);
}
.rb-nav-dropdown-menu a::after { display: none; }
.rb-nav-dropdown-menu a:hover { background: var(--rb-sunken); color: var(--rb-text); }

.rb-header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.rb-icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--rb-text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all .15s;
}
.rb-icon-btn:hover {
  background: var(--rb-sunken);
  color: var(--rb-text);
  border-color: var(--rb-border);
}
.rb-icon-btn svg { width: 18px; height: 18px; }

/* ============================================================
   Content page layout
   ============================================================ */
.rb-page {
  padding: 40px 0 80px;
}

.rb-breadcrumbs {
  font-size: 13px;
  color: var(--rb-text-subtle);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rb-breadcrumbs a { color: var(--rb-text-muted); }
.rb-breadcrumbs a:hover { color: var(--rb-text); }
.rb-breadcrumbs .sep { opacity: .4; }
.rb-breadcrumbs .current { color: var(--rb-text); }

.rb-page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.rb-main-col { min-width: 0; }
.rb-sidebar { position: sticky; top: 90px; }

/* Sidebar hidden: content full width */
.rb-page-wrap.rb-no-sidebar { grid-template-columns: 1fr; }
.rb-page-wrap.rb-no-sidebar .rb-main-col { max-width: 100%; }

.rb-page-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--rb-text);
}
.rb-page-subtitle {
  color: var(--rb-text-muted);
  margin: 0 0 32px;
  font-size: 15px;
}

/* ============================================================
   Card grid (home, archive)
   ============================================================ */
.rb-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.rb-articles.cols-1 { grid-template-columns: 1fr; }

.rb-card {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.rb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rb-stripe);
  opacity: 0;
  transition: opacity .2s;
}
.rb-card:hover {
  border-color: var(--rb-border-strong);
  box-shadow: var(--rb-shadow);
  transform: translateY(-2px);
}
.rb-card:hover::before { opacity: 1; }

.rb-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--rb-sunken);
  overflow: hidden;
}
.rb-card-thumb .rb-thumb-bg,
.rb-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.rb-card:hover .rb-card-thumb .rb-thumb-bg,
.rb-card:hover .rb-card-thumb img {
  transform: scale(1.04);
}
.rb-card-thumb.is-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(215,180,106,.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47,107,255,.16), transparent 55%),
    var(--rb-sunken);
  color: var(--rb-text-subtle);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 0.02em;
}

.rb-card-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: var(--rb-surface);
  color: var(--rb-text);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--rb-border);
  box-shadow: var(--rb-shadow-sm);
}

.rb-card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.rb-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--rb-text);
}
.rb-card-title a { color: inherit; }
.rb-card-title a:hover { color: var(--rb-primary); }

.rb-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rb-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rb-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--rb-text-subtle);
  margin-top: auto;
  padding-top: 6px;
}
.rb-card-meta svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .8; }
.rb-card-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Empty state */
.rb-empty {
  text-align: center;
  padding: 80px 30px;
  color: var(--rb-text-muted);
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
}
.rb-empty h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--rb-text);
  margin: 0 0 6px;
}
.rb-empty p { margin: 0; font-size: 14.5px; }

/* Pagination */
.rb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.rb-pagination a,
.rb-pagination span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--rb-border);
  background: var(--rb-surface);
  color: var(--rb-text-muted);
  transition: all .15s;
}
.rb-pagination a:hover {
  color: var(--rb-text);
  border-color: var(--rb-border-strong);
}
.rb-pagination .rb-page-current {
  background: linear-gradient(135deg, var(--rb-primary), #1c4fe0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.22);
}

/* ============================================================
   Single post page
   ============================================================ */
.rb-single { position: relative; }

.rb-single-hero {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}
.rb-single-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rb-stripe);
}
.rb-single-featured {
  aspect-ratio: 21 / 9;
  background: var(--rb-sunken);
  overflow: hidden;
  position: relative;
}
.rb-single-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-single-featured.is-empty {
  background:
    radial-gradient(circle at 25% 30%, rgba(215,180,106,.22), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(47,107,255,.20), transparent 50%),
    var(--rb-sunken);
}
.rb-single-hero-body {
  padding: 36px 40px 32px;
}
.rb-single-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rb-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.rb-single-cat::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--rb-accent);
  border-radius: 2px;
}
.rb-single-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--rb-text);
  margin: 0 0 20px;
}
.rb-single-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--rb-text-subtle);
  padding-top: 18px;
  border-top: 1px solid var(--rb-border);
}
.rb-single-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rb-single-meta svg { width: 14px; height: 14px; opacity: .8; }
.rb-single-meta strong {
  color: var(--rb-text);
  font-weight: 600;
}

/* Left sticky share column */
.rb-share-side {
  position: absolute;
  left: -76px;
  top: 60px;
  width: 48px;
  display: none; /* mobil-default */
}
@media (min-width: 1280px) {
  .rb-share-side { display: block; }
}
.rb-share-side-inner {
  position: sticky;
  top: 100px;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--rb-shadow-sm);
}
.rb-share-side a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--rb-text-muted);
  transition: all .15s;
}
.rb-share-side a:hover {
  background: var(--rb-sunken);
  color: var(--rb-text);
}
.rb-share-side svg { width: 16px; height: 16px; }

/* Article content */
.rb-single-body {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 40px 48px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--rb-text);
}
.rb-single-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--rb-text-muted);
  font-weight: 400;
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rb-border);
}
.rb-single-body p { margin: 0 0 22px; }
.rb-single-body h2, .rb-single-body h3, .rb-single-body h4 {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--rb-text);
  margin: 36px 0 14px;
  line-height: 1.3;
}
.rb-single-body h2 { font-size: 26px; }
.rb-single-body h3 { font-size: 21px; }
.rb-single-body h4 { font-size: 17px; }
.rb-single-body img {
  border-radius: var(--rb-radius-sm);
  margin: 10px 0 24px;
}
.rb-single-body a:not(.rb-btn) {
  color: var(--rb-primary);
  border-bottom: 1px solid rgba(47,107,255,0.25);
}
.rb-single-body a:not(.rb-btn):hover {
  border-bottom-color: var(--rb-primary);
}
.rb-single-body blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--rb-accent);
  color: var(--rb-text);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
}
.rb-single-body code {
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', Menlo, Monaco, monospace;
  font-size: 13.5px;
  color: var(--rb-text);
}
.rb-single-body pre {
  background: #0c1322;
  color: #e2e8f0;
  border-radius: var(--rb-radius-sm);
  padding: 20px 24px;
  overflow: auto;
  line-height: 1.6;
  font-size: 13.5px;
  margin: 0 0 24px;
  font-family: 'JetBrains Mono', Menlo, Monaco, monospace;
}
.rb-single-body pre code { background: none; border: 0; padding: 0; color: inherit; }
.rb-single-body ul, .rb-single-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
}
.rb-single-body ul li, .rb-single-body ol li {
  padding-bottom: 6px;
}
.rb-single-body ul li { list-style: disc; }
.rb-single-body ol li { list-style: decimal; }
.rb-single-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 28px;
  font-size: 14.5px;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  overflow: hidden;
}
.rb-single-body table th,
.rb-single-body table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rb-border);
}
.rb-single-body table th {
  background: var(--rb-sunken);
  font-weight: 600;
  color: var(--rb-text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rb-single-body table tr:last-child td { border-bottom: 0; }
.rb-single-body table tr:nth-child(even) td { background: rgba(15, 23, 42, 0.015); }

.rb-single-body hr {
  border: 0;
  height: 1px;
  background: var(--rb-border);
  margin: 32px 0;
}

/* Callout / info box */
.rb-callout {
  background: var(--rb-sunken);
  border-left: 3px solid var(--rb-accent);
  border-radius: 0 var(--rb-radius-sm) var(--rb-radius-sm) 0;
  padding: 18px 22px;
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rb-text);
}
.rb-callout-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: var(--rb-accent-2);
  margin: 0 0 6px;
}
.rb-callout p:last-child { margin-bottom: 0; }
.rb-callout.is-info  { border-left-color: var(--rb-primary); }
.rb-callout.is-info  .rb-callout-title { color: var(--rb-primary); }
.rb-callout.is-warn  { border-left-color: #e8a635; background: rgba(232, 166, 53, 0.06); }
.rb-callout.is-warn  .rb-callout-title { color: #b07418; }
.rb-callout.is-ok    { border-left-color: #10b981; background: rgba(16, 185, 129, 0.06); }
.rb-callout.is-ok    .rb-callout-title { color: #047857; }

/* Image placeholder (enriches content even without a real image) */
.rb-figure {
  margin: 10px 0 24px;
}
.rb-figure-img {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 30%, rgba(215,180,106,.20), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47,107,255,.18), transparent 55%),
    var(--rb-sunken);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  display: grid;
  place-items: center;
  color: var(--rb-text-subtle);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.rb-figure figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--rb-text-subtle);
  margin-top: 10px;
  font-style: italic;
}

/* Steps (numbered card list) */
.rb-steps {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: rbstep;
}
.rb-steps li {
  list-style: none !important;
  padding: 16px 18px 16px 56px !important;
  background: var(--rb-sunken);
  border-radius: var(--rb-radius-sm);
  position: relative;
  counter-increment: rbstep;
  font-size: 14.5px;
  line-height: 1.6;
}
.rb-steps li::before {
  content: counter(rbstep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rb-accent), var(--rb-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.rb-steps li strong { display: block; margin-bottom: 4px; color: var(--rb-text); }

/* Bottom share box */
.rb-share-bottom {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 26px 30px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rb-share-bottom-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rb-text);
}
.rb-share-buttons { display: flex; gap: 8px; align-items: center; }
.rb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  color: var(--rb-text-muted);
  transition: all .15s;
}
.rb-share-btn:hover {
  color: var(--rb-text);
  border-color: var(--rb-border-strong);
  transform: translateY(-1px);
}
.rb-share-btn svg { width: 16px; height: 16px; }

.rb-permalink {
  display: flex;
  align-items: center;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  flex: 1 1 260px;
}
.rb-permalink input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--rb-text-muted);
  font-family: 'JetBrains Mono', Menlo, monospace;
  outline: none;
  min-width: 0;
}
.rb-permalink-copy {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--rb-border);
  padding: 0 14px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--rb-text-muted);
  transition: all .15s;
  flex-shrink: 0;
}
.rb-permalink-copy:hover {
  background: var(--rb-surface);
  color: var(--rb-primary);
}
.rb-permalink-copy.is-copied { color: #10b981; }
.rb-permalink-copy svg { width: 16px; height: 16px; }

/* Author box */
.rb-author-box {
  margin-top: 30px;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.rb-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rb-sunken);
}
.rb-author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.rb-author-avatar-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rb-accent), var(--rb-primary));
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}
.rb-author-body { flex: 1; }
.rb-author-body small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: var(--rb-accent-2);
  margin-bottom: 4px;
}
.rb-author-body h4 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--rb-text);
}
.rb-author-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--rb-text-muted);
}

/* Related articles */
.rb-related {
  margin-top: 48px;
}
.rb-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rb-text-muted);
  margin: 0 0 20px;
}
.rb-section-title::before,
.rb-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rb-border);
}
.rb-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Comments */
.rb-comments {
  margin-top: 48px;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 32px 36px;
}
.rb-comments-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.rb-comments-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--rb-text);
}
.rb-comments-count {
  font-size: 12px;
  background: var(--rb-sunken);
  color: var(--rb-text-muted);
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 600;
}
.rb-comments-empty {
  padding: 30px 0;
  text-align: center;
  color: var(--rb-text-subtle);
  font-size: 14px;
}

.rb-flash {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.rb-flash-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.rb-flash-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.rb-flash-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.rb-comments-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.rb-comment {
  display: flex;
  gap: 14px;
}
.rb-comment.is-reply {
  margin-top: 18px;
}
.rb-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rb-accent), var(--rb-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.rb-comment-body {
  flex: 1;
  min-width: 0;
}
.rb-comment-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.rb-comment-author {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--rb-text);
}
.rb-comment-author a {
  color: var(--rb-text);
  border-bottom: 1px dashed var(--rb-border-strong);
}
.rb-comment-author a:hover {
  color: var(--rb-primary);
  border-bottom-color: var(--rb-primary);
}
.rb-comment-time {
  font-size: 12px;
  color: var(--rb-text-subtle);
}
.rb-comment-content {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rb-text);
  word-wrap: break-word;
}
.rb-comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rb-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color .15s;
}
.rb-comment-reply-btn svg { width: 13px; height: 13px; }
.rb-comment-reply-btn:hover { color: var(--rb-primary); }

.rb-comment-replies {
  margin-top: 18px;
  padding-left: 0;
  border-left: 2px solid var(--rb-border);
  padding-left: 20px;
}

/* Yorum formu */
.rb-comment-form-wrap {
  border-top: 1px solid var(--rb-border);
  padding-top: 26px;
  margin-top: 6px;
  position: relative;
}
.rb-comment-form-title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--rb-text);
}
.rb-comment-form-title strong {
  color: var(--rb-primary);
  font-weight: 700;
}
.rb-cancel-reply-btn {
  position: absolute;
  top: 26px;
  right: 0;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  color: var(--rb-text-muted);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.rb-cancel-reply-btn:hover {
  background: var(--rb-surface);
  color: var(--rb-text);
  border-color: var(--rb-border-strong);
}

.rb-comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rb-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rb-form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rb-text-muted);
}
.rb-required { color: #dc2626; }
.rb-form-field input,
.rb-form-field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  background: var(--rb-sunken);
  color: var(--rb-text);
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.rb-form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.rb-form-field input:focus,
.rb-form-field textarea:focus {
  border-color: var(--rb-primary);
  background: var(--rb-surface);
}
.rb-form-actions {
  margin-top: 6px;
}
.rb-form-actions .rb-btn {
  font-size: 14.5px;
  padding: 12px 26px;
}

@media (max-width: 720px) {
  .rb-comments { padding: 24px 20px; }
  .rb-form-row { grid-template-columns: 1fr; }
  .rb-comment-replies { padding-left: 14px; }
}

/* ============================================================
   Sidebar (right column)
   ============================================================ */
.rb-widget {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.rb-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rb-stripe);
  opacity: 0.7;
}
.rb-widget-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rb-text-muted);
  margin: 0 0 16px;
}

.rb-search-form {
  position: relative;
}
.rb-search-form input {
  width: 100%;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  color: var(--rb-text);
  padding: 11px 44px 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.rb-search-form input:focus {
  border-color: var(--rb-primary);
  background: var(--rb-surface);
}
.rb-search-form input::placeholder { color: var(--rb-text-subtle); }
.rb-search-form button {
  position: absolute;
  right: 4px; top: 4px;
  width: 34px; height: 34px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--rb-text-muted);
  border-radius: 8px;
}
.rb-search-form button:hover { color: var(--rb-text); background: var(--rb-sunken); }
.rb-search-form button svg { width: 16px; height: 16px; }

.rb-widget-list { display: flex; flex-direction: column; gap: 14px; }
.rb-widget-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rb-widget-item-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--rb-sunken);
  border: 1px solid var(--rb-border);
}
.rb-widget-item-thumb.is-empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(215,180,106,.22), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(47,107,255,.20), transparent 60%),
    var(--rb-sunken);
}
.rb-widget-item-body { flex: 1; min-width: 0; }
.rb-widget-item-body h5 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--rb-text);
}
.rb-widget-item-body h5 a:hover { color: var(--rb-primary); }
.rb-widget-item-body time {
  font-size: 11.5px;
  color: var(--rb-text-subtle);
}

.rb-cat-list { list-style: none; padding: 0; margin: 0; }
.rb-cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rb-border);
  font-size: 14px;
}
.rb-cat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rb-cat-list li:first-child { padding-top: 0; }
.rb-cat-list li a {
  color: var(--rb-text);
  font-weight: 500;
}
.rb-cat-list li a:hover { color: var(--rb-primary); }
.rb-cat-list li span {
  font-size: 12px;
  background: var(--rb-sunken);
  color: var(--rb-text-muted);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============================================================
   Footer
   ============================================================ */
.rb-footer {
  background: var(--rb-surface);
  border-top: 1px solid var(--rb-border);
  padding: 50px 0 24px;
  margin-top: 60px;
}
.rb-footer-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.rb-footer-widget h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rb-text-muted);
  margin: 0 0 14px;
}
.rb-footer-widget p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--rb-text-muted);
  line-height: 1.7;
}
.rb-footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rb-footer-widget ul li {
  padding: 4px 0;
}
.rb-footer-widget ul li a {
  font-size: 14px;
  color: var(--rb-text-muted);
}
.rb-footer-widget ul li a:hover {
  color: var(--rb-text);
}
.rb-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--rb-text);
  margin-bottom: 12px;
}
.rb-footer-brand .rb-logo-mark { width: 32px; height: 32px; font-size: 14px; }

.rb-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.rb-footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  display: grid; place-items: center;
  color: var(--rb-text-muted);
  transition: all .15s;
}
.rb-footer-social a:hover {
  color: var(--rb-text);
  border-color: var(--rb-border-strong);
  transform: translateY(-1px);
}
.rb-footer-social svg { width: 16px; height: 16px; }

.rb-footer-bottom {
  border-top: 1px solid var(--rb-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--rb-text-subtle);
}

/* Back to top */
.rb-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border-strong);
  color: var(--rb-text);
  border-radius: 12px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
  z-index: 99;
  cursor: pointer;
  box-shadow: var(--rb-shadow);
}
.rb-back-to-top.is-visible { opacity: 1; visibility: visible; }
.rb-back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--rb-primary);
  color: var(--rb-primary);
}
.rb-back-to-top svg { width: 18px; height: 18px; }

/* ============================================================
   404
   ============================================================ */
.rb-404 {
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 80px 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.rb-404::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rb-stripe);
}
.rb-404 h1 {
  font-size: 88px;
  font-weight: 700;
  margin: 0 0 10px;
  background: linear-gradient(135deg, var(--rb-accent), var(--rb-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
}
.rb-404 p {
  font-size: 16px;
  color: var(--rb-text-muted);
  max-width: 420px;
  margin: 0 auto 28px;
}
.rb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--rb-primary), #1c4fe0);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.25);
}
.rb-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(47, 107, 255, 0.35);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
  .rb-page-wrap { grid-template-columns: 1fr; gap: 30px; }
  .rb-sidebar { position: static; }
  .rb-share-side { display: none !important; }
  .rb-single-body { padding: 30px 28px; }
  .rb-single-hero-body { padding: 28px 28px 26px; }
  .rb-single-title { font-size: 30px; }
  .rb-footer-widgets { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .rb-container { padding: 0 20px; }
  .rb-header-inner { padding: 14px 0; gap: 12px; flex-wrap: wrap; }
  .rb-nav { gap: 18px; order: 3; width: 100%; padding-top: 8px; border-top: 1px solid var(--rb-border); }
  .rb-articles { grid-template-columns: 1fr; gap: 18px; }
  .rb-related-grid { grid-template-columns: 1fr; }
  .rb-page-title { font-size: 26px; }
  .rb-single-title { font-size: 24px; }
  .rb-single-body { padding: 24px 20px; font-size: 15.5px; }
  .rb-single-hero-body { padding: 22px 20px; }
  .rb-author-box { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .rb-share-bottom { flex-direction: column; align-items: stretch; }
  .rb-permalink { max-width: 100%; }
  .rb-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
  .rb-footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   Admin Bar (for logged-in users)
   ============================================================ */
body.has-rb-admin-bar { padding-top: 40px; }
body.has-rb-admin-bar .rb-header { top: 40px; }

.rb-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #0b1220;
  color: #e2e8f0;
  z-index: 9999;
  font-size: 13px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.rb-admin-bar a, .rb-admin-bar button { color: #e2e8f0; }
.rb-admin-bar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  gap: 4px;
  max-width: 1340px;
  margin: 0 auto;
}
.rb-ab-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 4px;
  height: 100%;
  text-decoration: none;
  font-weight: 600;
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  margin-right: 6px;
}
.rb-ab-brand:hover { color: #fff; }
.rb-ab-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d7b46a, #2f6bff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.rb-ab-brand-label { font-size: 13px; }

.rb-ab-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  height: 100%;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: #cbd5e1;
  transition: all .12s;
  position: relative;
}
.rb-ab-link:hover { background: rgba(148, 163, 184, 0.1); color: #fff; }
.rb-ab-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.rb-ab-edit-link { color: #d7b46a; }
.rb-ab-edit-link:hover { color: #f0d394; }

.rb-ab-dropdown { position: relative; height: 100%; }
.rb-ab-caret { width: 11px !important; opacity: 0.7; margin-left: 2px; transition: transform .15s; }
.rb-ab-dropdown.is-open .rb-ab-caret { transform: rotate(180deg); }
.rb-ab-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  display: none;
}
.rb-ab-dropdown.is-open .rb-ab-dropdown-menu { display: block; }
.rb-ab-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  color: #cbd5e1;
}
.rb-ab-dropdown-menu a:hover { background: rgba(148, 163, 184, 0.12); color: #fff; }

.rb-ab-spacer { flex: 1; }

.rb-ab-badge {
  background: #d7b46a;
  color: #0b1220;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  text-align: center;
}

.rb-ab-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 14px;
  height: 100%;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
  margin-left: 6px;
}
.rb-ab-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7b46a, #2f6bff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}
.rb-ab-username {
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
}
.rb-ab-logout {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  margin-left: 4px;
  transition: background .12s;
}
.rb-ab-logout:hover { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.rb-ab-logout svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .rb-ab-brand-label, .rb-ab-edit-link span, .rb-ab-username { display: none; }
  .rb-ab-dropdown-menu { left: auto; right: 0; }
  .rb-ab-link { padding: 0 9px; }
}

/* ============================================================
   Language switcher (frontend)
   ============================================================ */
.rb-lang-switcher { position: relative; }
.rb-lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--rb-border);
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  font: inherit; color: var(--rb-text); font-size: 13px;
  transition: border-color .15s, background .15s;
}
.rb-lang-trigger:hover { border-color: var(--rb-border-strong); background: var(--rb-sunken); }
.rb-lang-flag { font-size: 14px; line-height: 1; }
.rb-lang-code { font-weight: 600; }
.rb-lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 140px; background: var(--rb-surface);
  border: 1px solid var(--rb-border); border-radius: 10px;
  padding: 5px; box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  display: none; z-index: 100;
}
.rb-lang-switcher.is-open .rb-lang-menu { display: block; }
.rb-lang-menu a {
  display: block; padding: 9px 13px; border-radius: 7px;
  text-decoration: none; font-size: 13.5px; color: var(--rb-text);
}
.rb-lang-menu a:hover { background: var(--rb-sunken); }
.rb-lang-menu a.is-active { background: var(--rb-sunken); font-weight: 600; }

/* Single post page - tag list */
.rb-single-tags {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 36px 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
}
.rb-single-tags-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rb-text-subtle);
  flex-shrink: 0;
  padding-top: 5px;
}
.rb-single-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rb-single-tag {
  display: inline-block;
  padding: 5px 13px;
  background: var(--rb-sunken);
  border: 1px solid var(--rb-border);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: var(--rb-text-muted);
  transition: all .15s;
  font-weight: 500;
}
.rb-single-tag:hover {
  background: var(--rb-primary);
  border-color: var(--rb-primary);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .rb-single-tags {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================================
   COINLIVA / FOXIZ-STYLE HOME PAGE  (homeMode = blocks)
   Fonts: Inter (body), Afacad (headings), Roboto (meta)
   Accent: coinliva orange #f47c2c
   ============================================================ */
:root {
  --rb-cat: #f47c2c;            /* coinliva orange — category badge & section accent */
  --rb-cat-2: #ff8a3d;
  --rb-head-font: 'Afacad', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rb-meta-font: 'Roboto', 'Inter', sans-serif;
}

/* Foxiz feel: headings in Afacad, larger and tighter */
.rb-hero-title, .rb-fcard-title, .rb-section-title,
.rb-card-title { font-family: var(--rb-head-font); }

/* Home page block spacing */
.rb-home-block { margin: 0 0 40px; }
.rb-home-block:last-of-type { margin-bottom: 8px; }

/* ---- Section heading (Foxiz heading-layout: orange line + Show More) ---- */
.rb-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin: 0 0 20px;
  border-bottom: 2px solid var(--rb-border);
  padding-bottom: 12px;
}
.rb-section-title {
  position: relative; margin: 0;
  font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--rb-text);
  padding-left: 14px;
}
.rb-section-title::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 24px; border-radius: 3px;
  background: linear-gradient(180deg, var(--rb-cat), var(--rb-cat-2));
}
.rb-section-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--rb-meta-font);
  font-size: 13px; font-weight: 500; color: var(--rb-text-muted);
  white-space: nowrap;
}
.rb-section-more:hover { color: var(--rb-cat); }
.rb-section-more svg { transition: transform .15s; }
.rb-section-more:hover svg { transform: translateX(2px); }

/* ---- Grid sistemleri ---- */
.rb-grid { display: grid; gap: 24px; }
.rb-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* ---- Foxiz card (rb-fcard) ---- */
.rb-fcard {
  display: flex; flex-direction: column;
  background: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rb-fcard:hover {
  border-color: var(--rb-border-strong);
  box-shadow: var(--rb-shadow);
  transform: translateY(-2px);
}
.rb-fcard-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 10; background: var(--rb-sunken);
  overflow: hidden;
}
.rb-fcard-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.rb-fcard:hover .rb-fcard-bg { transform: scale(1.05); }
.rb-fcard-thumb.is-empty {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(244,124,44,.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47,107,255,.14), transparent 55%),
    var(--rb-sunken);
}
.rb-fcard-initial { font-size: 44px; font-weight: 800; color: var(--rb-text-subtle); }

/* Orange category badge (coinliva p-categories) */
.rb-fcard-cat {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  background: var(--rb-cat); color: #fff;
  font-family: var(--rb-meta-font);
  font-size: 11px; font-weight: 500; text-transform: capitalize;
  letter-spacing: .01em;
  padding: 4px 10px; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(244,124,44,.35);
}

.rb-fcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.rb-fcard-title {
  margin: 0; font-size: 18px; font-weight: 600; line-height: 1.28;
  letter-spacing: -0.005em; color: var(--rb-text);
}
.rb-fcard-title a { color: inherit; }
.rb-fcard-title a:hover { color: var(--rb-cat); }
.rb-fcard-excerpt {
  margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--rb-text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rb-fcard-meta {
  display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 4px;
  font-family: var(--rb-meta-font);
  font-size: 12px; font-weight: 300; color: var(--rb-text-subtle);
}
.rb-fcard-meta .rb-by { font-weight: 500; color: var(--rb-text-muted); }
.rb-fcard-meta .rb-dot { opacity: .6; }

/* ---- Overlay card (hero — title over the image) ---- */
.rb-fcard-overlay { border: 0; }
.rb-fcard-overlay .rb-fcard-thumb { aspect-ratio: 16 / 9; border-radius: var(--rb-radius); }
.rb-fcard-overlay .rb-fcard-thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(8,12,22,.86) 0%, rgba(8,12,22,.35) 42%, rgba(8,12,22,0) 70%);
}
.rb-fcard-overlaybody {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px;
}
.rb-fcard-overlay .rb-fcard-title { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.22; }
.rb-fcard-overlay .rb-fcard-meta { color: rgba(255,255,255,.82); }
.rb-fcard-overlay .rb-fcard-meta .rb-by { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .rb-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .rb-hero-grid { grid-template-columns: 1fr; }
  .rb-grid-4, .rb-grid-3 { grid-template-columns: 1fr; }
  .rb-section-title { font-size: 22px; }
  .rb-fcard-overlay .rb-fcard-title { font-size: 20px; }
}

/* Foxiz heading font — site-wide consistency (page/widget/footer headings) */
.rb-page-title, .rb-widget-title, .rb-footer-widget h4,
.rb-single-title, .rb-archive-title { font-family: var(--rb-head-font); }

/* ============================================================
   COINLIVA FONT SYSTEM (exact) — loaded last so it wins
   body/h1: Inter · h2-h6 + card/section headings: Afacad
   meta/category/menu: Roboto
   ============================================================ */
body { font-size: 16px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

h1, .rb-page-title, .rb-single-title { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.022em; }
h2, h3, h4, h5, h6,
.rb-fcard-title, .rb-section-title, .rb-card-title, .rb-widget-title,
.rb-footer-widget h4, .rb-archive-title { font-family: 'Afacad', 'Inter', sans-serif; }

/* Afacad imagery large; headings a bit tighter/heavier like coinliva */
.rb-fcard-title { font-weight: 600; letter-spacing: -0.005em; }
.rb-fcard-overlay .rb-fcard-title { font-weight: 700; }

/* Menu + meta + category = Roboto (coinliva) */
.rb-nav a, .rb-nav-dropdown-trigger { font-family: 'Roboto', 'Inter', sans-serif; font-weight: 600; }
.rb-fcard-meta, .rb-card-meta, .rb-fcard-cat, .rb-card-cat { font-family: 'Roboto', 'Inter', sans-serif; }

/* ---- News module heading (NOT category, tag only) ---- */
.rb-section-head-label {
  justify-content: flex-start;
  border-bottom: 2px solid var(--rb-text);
  padding-bottom: 0; margin-bottom: 22px;
}
.rb-section-label {
  display: inline-block;
  font-family: 'Afacad', 'Inter', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--rb-text);
  border: 1px solid var(--rb-border-strong);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 18px;
  margin-bottom: -2px;
  background: var(--rb-surface);
}

/* ---- Quick links bar (most-used tags — coinliva 🔥) ---- */
.rb-quicklinks {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 6px;
  padding: 11px 0 13px;
  border-top: 1px solid var(--rb-border);
  font-family: 'Roboto', 'Inter', sans-serif;
}
/* Custom-menu dropdown parent: highlight when itself or a child is the active page */
.rb-nav-dropdown-trigger.is-active { color: var(--rb-text); }

/* Infinite scroll loader */
.rb-infinite-loader { display: none; align-items: center; justify-content: center; padding: 24px 0; }
.rb-infinite-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--rb-border);
  border-top-color: var(--rb-cat, #f47c2c);
  animation: rb-spin 0.7s linear infinite;
}
@keyframes rb-spin { to { transform: rotate(360deg); } }

/* Continuous reading — appended "next" articles on single pages */
.rb-next-article { margin-top: 44px; }
.rb-next-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 26px; color: var(--rb-text-subtle);
  font: 600 12px/1 'Roboto', sans-serif; text-transform: uppercase; letter-spacing: 0.12em;
}
.rb-next-divider::before, .rb-next-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--rb-border);
}
.rb-next-article .rb-single-title a { color: inherit; text-decoration: none; }
.rb-next-article .rb-single-title a:hover { color: var(--rb-primary); }
.rb-quicklinks-fire { font-size: 15px; line-height: 1; margin-right: 4px; }
.rb-quicklinks a {
  font-size: 13.5px; font-weight: 500; color: var(--rb-text-muted);
  padding: 3px 9px; border-radius: 6px;
  position: relative;
}
.rb-quicklinks a:not(:last-child)::after {
  content: '/'; position: absolute; right: -5px; color: var(--rb-border-strong); font-weight: 400;
}
.rb-quicklinks a:hover { color: var(--rb-cat); }

/* ---- Archive (category / tag) heading + long description ---- */
.rb-archive-header { text-align: center; margin: 8px 0 34px; }
.rb-archive-title { font-size: 40px; margin: 0 0 16px; }
.rb-archive-desc {
  max-width: 820px; margin: 0 auto; text-align: left;
  font-size: 15.5px; line-height: 1.8; color: var(--rb-text-muted);
}
.rb-archive-desc p { margin: 0 0 12px; }
.rb-archive-desc p:last-child { margin-bottom: 0; }
.rb-archive-desc strong, .rb-archive-desc b { color: var(--rb-text); font-weight: 700; }
.rb-archive-desc a { color: var(--rb-primary); text-decoration: underline; }
@media (max-width: 680px) {
  .rb-archive-title { font-size: 30px; }
  .rb-archive-desc { text-align: left; font-size: 14.5px; }
}

/* ============================================================
   EXACT TYPOGRAPHY/COLOR FROM THE FOXIZ BACKUP (precise values)
   matches the redux_options_foxiz backup. Loaded last => wins.
   ============================================================ */
:root {
  --rb-cat: #f47c2c;          /* global_color */
  --rb-cat-2: #ff8a3d;
  --rb-review: #ffad21;       /* review_color */
}

/* Body: Inter 400 16px (font_body) */
body { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; }

/* h1: Inter 600 42px/43px (font_h1) */
h1, .rb-page-title, .rb-single-title, .rb-archive-title {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 42px; line-height: 1.024; letter-spacing: -0.022em;
}
/* h2: Afacad 600 31px (font_h2) */
h2 { font-family: 'Afacad', sans-serif; font-weight: 600; font-size: 31px; line-height: 1.1; }
/* h3: Afacad 500 20px · h4: Afacad 500 18px */
h3 { font-family: 'Afacad', sans-serif; font-weight: 500; font-size: 20px; line-height: 1.25; }
h4, h5, h6 { font-family: 'Afacad', sans-serif; font-weight: 500; }

/* Card heading = entry-title (Afacad 600, coinliva) */
.rb-fcard-title, .rb-card-title, .rb-section-title, .rb-widget-title, .rb-footer-widget h4 {
  font-family: 'Afacad', sans-serif; font-weight: 600; letter-spacing: -0.004em;
}
.rb-fcard-title { font-size: 19px; line-height: 1.18; }
.rb-fcard-overlay .rb-fcard-title { font-size: 26px; font-weight: 600; line-height: 1.05; }  /* headline benzeri */

/* Menu: Roboto 500 15px (font_main_menu) · alt menu Roboto 400 14px */
.rb-nav a, .rb-nav-dropdown-trigger { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 15px; }
.rb-nav-dropdown-menu a, .rb-lang-menu a { font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 14px; }

/* Category badge: Roboto 400 11px capitalize (font_ecat) */
.rb-fcard-cat, .rb-card-cat {
  font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 11px;
  text-transform: capitalize; letter-spacing: 0;
}
/* Meta: Roboto 300 ~11.5px (font_emeta) · author Roboto 500 (font_eauthor) */
.rb-fcard-meta, .rb-card-meta { font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 11.5px; }
.rb-fcard-meta .rb-by { font-weight: 500; }

/* Excerpt: Inter 300 14px (font_excerpt) · renk #666 */
.rb-fcard-excerpt, .rb-card-excerpt { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 14px; line-height: 1.5; color: #666666; }

/* Quick links: Roboto (coinliva qlink h5 Roboto) */
.rb-quicklinks a { font-family: 'Roboto', sans-serif; font-weight: 500; }

/* Links orange (hyperlink_color #f47c2c) */
.rb-fcard-title a:hover, .rb-card-title a:hover,
.rb-quicklinks a:hover, .rb-section-more:hover, .rb-archive-desc a { color: var(--rb-cat); }

@media (max-width: 1024px) { h1, .rb-page-title, .rb-archive-title { font-size: 36px; } h2 { font-size: 25px; } }
@media (max-width: 767px)  { h1, .rb-page-title, .rb-archive-title { font-size: 28px; } h2 { font-size: 21px; } .rb-fcard-overlay .rb-fcard-title { font-size: 21px; } }

/* ============================================================
   FOOTER LOGO + ARCHIVE DESCRIPTION (coinliva exact)
   ============================================================ */
/* Footer logo gorseli */
.rb-footer-logo-img { max-height: 40px; width: auto; }

/* Archive heading centered (coinliva .archive-top-title) */
.rb-archive-header { text-align: center; padding-top: 30px; margin-bottom: 20px; }
.rb-archive-header .rb-archive-title { margin: 0; }

/* Category description — full, no scroll (coinliva .archive-bottom-description) */
.rb-catdesc {
  max-width: 1200px; margin: 20px auto 40px; padding: 0 15px;
  font-size: 16px; line-height: 1.8; color: #111827;
}
.rb-catdesc p { margin: 0 0 12px; }
.rb-catdesc p:last-child { margin-bottom: 0; }
.rb-catdesc strong, .rb-catdesc b { font-weight: 700; }
.rb-catdesc a { color: var(--rb-cat); text-decoration: underline; }

/* Tag description — SCROLLABLE box (coinliva .category-description-box/scroll) */
.rb-tagdesc-box {
  max-width: 820px; margin: 0 auto 36px; padding: 0 15px; color: #111827;
}
.rb-tagdesc-scroll {
  max-height: 90px; overflow-y: auto; margin-top: 8px; padding-right: 10px;
  font-size: 15px; line-height: 1.8;
}
.rb-tagdesc-scroll p { margin: 0 0 10px; }
.rb-tagdesc-scroll strong, .rb-tagdesc-scroll b { font-weight: 700; }
.rb-tagdesc-scroll a { color: var(--rb-cat); text-decoration: underline; }
.rb-tagdesc-scroll::-webkit-scrollbar { width: 6px; }
.rb-tagdesc-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* ============================================================
   Sidebar reklam widget'i — "The Best Platforms" (coinliva ad widget)
   Inside posts + at the top of the sidebar on category/tag pages.
   Renkler tema degiskenlerinden (blue #2f6bff -> gold #d7b46a).
   ============================================================ */
.rb-adwidget { margin-bottom: 24px; }
.rb-adwidget-title {
  font-family: var(--rb-head-font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rb-text);
  margin: 0 0 16px;
}
.rb-adwidget-title::after {
  content: " //";
  color: var(--rb-accent);
  font-weight: 800;
  font-style: italic;
}

.coinliva-ad-widget,
.coinliva-ad-widget * { box-sizing: border-box; }
.coinliva-ad-widget { font-family: inherit; }
.coinliva-ad-widget__card {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  padding: 16px;
  margin: 0 0 14px;
  border: 1px solid var(--rb-border);
  border-radius: 16px;
  background: var(--rb-surface);
  text-decoration: none !important;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.coinliva-ad-widget__card:last-child { margin-bottom: 0; }
.coinliva-ad-widget__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--rb-primary), var(--rb-accent));
}
.coinliva-ad-widget__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--rb-border-strong);
}
.coinliva-ad-widget__card img {
  display: block;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  object-fit: cover;
}
.coinliva-ad-widget__content { min-width: 0; }
.coinliva-ad-widget__content h4 {
  margin: 0;
  font-family: var(--rb-head-font);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--rb-text);
}
.coinliva-ad-widget__content p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rb-text-muted);
}
@media (max-width: 767px) {
  .coinliva-ad-widget__card { gap: 14px; padding: 14px; border-radius: 15px; }
  .coinliva-ad-widget__card img { width: 60px; height: 60px; min-width: 60px; border-radius: 12px; }
  .coinliva-ad-widget__content h4 { font-size: 15px; }
  .coinliva-ad-widget__content p { font-size: 13px; }
}

/* ============================================================
   Single post — COINLIVA STYLE (open title + tagline + meta row,
   image below the title)
   ============================================================ */
.rb-single-head { margin: 4px 0 24px; }
.rb-single-head .rb-single-title {
  font-family: var(--rb-head-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--rb-text);
  margin: 0 0 16px;
}
.rb-single-tagline {
  font-size: 19px;
  line-height: 1.6;
  color: var(--rb-text-muted);
  font-weight: 400;
  margin: 0 0 20px;
}
.rb-single-head .rb-single-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--rb-text-subtle);
  padding: 0;
  border: 0;
}
.rb-single-head .rb-single-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.rb-single-head .rb-single-meta svg { width: 15px; height: 15px; opacity: .85; }
.rb-meta-author strong { color: var(--rb-text); font-weight: 600; }
.rb-meta-cat {
  border: 1px solid var(--rb-border-strong);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rb-text);
}
.rb-meta-upd { color: var(--rb-text-subtle); font-style: italic; }

/* Featured now sits below the title, full width (overrides the old hero rule) */
.rb-single > .rb-single-featured {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--rb-radius);
  overflow: hidden;
  margin: 0 0 30px;
  background: var(--rb-sunken);
}
.rb-single > .rb-single-featured img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Contents / Icindekiler (coinliva ToC) */
.rb-toc {
  border: 1px solid var(--rb-border);
  border-radius: 14px;
  background: var(--rb-surface);
  box-shadow: var(--rb-shadow-sm);
  padding: 6px 12px 12px;
  margin: 12px 0 32px;
}
.rb-toc-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 4px 12px; margin-bottom: 6px;
  border-bottom: 1px solid var(--rb-border);
}
.rb-toc-title {
  font-family: var(--rb-head-font);
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--rb-text-muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.rb-toc-title svg { width: 17px; height: 17px; color: var(--rb-accent); flex: 0 0 auto; }
.rb-toc-toggle {
  border: 0; background: transparent;
  cursor: pointer; font-size: 13px; color: var(--rb-text-subtle);
  line-height: 1; width: 28px; height: 28px; border-radius: 8px;
  display: inline-grid; place-items: center;
  transition: background .15s, color .15s;
}
.rb-toc-toggle:hover { background: var(--rb-sunken); color: var(--rb-text); }
.rb-toc-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px 16px;
}
.rb-toc.is-collapsed .rb-toc-list { display: none; }
.rb-toc-list li { min-width: 0; }
.rb-toc-list a {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 9px 10px; border-radius: 9px;
  color: var(--rb-text); text-decoration: none;
  font-size: 14px; line-height: 1.5;
  transition: background .15s, color .15s;
}
.rb-toc-list a::before {
  content: ""; flex: 0 0 auto;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rb-border-strong);
  margin-top: .58em;
  transition: background .15s, transform .15s;
}
.rb-toc-list a:hover { background: var(--rb-sunken); color: var(--rb-primary); }
.rb-toc-list a:hover::before { background: var(--rb-accent); transform: scale(1.6); }

/* Keep heading anchors from hiding under the sticky header */
.rb-single-body h2[id] { scroll-margin-top: 90px; }

@media (max-width: 767px) {
  .rb-single-head .rb-single-title { font-size: 28px; }
  .rb-single-tagline { font-size: 16px; }
  .rb-toc-list { grid-template-columns: 1fr; }
}

a.rb-meta-cat { text-decoration: none; transition: border-color .15s, color .15s; }
a.rb-meta-cat:hover { border-color: var(--rb-primary); color: var(--rb-primary); }
.rb-card-author { color: var(--rb-text-muted); font-weight: 500; }
.rb-card-author::after { content: "//"; margin: 0 2px 0 6px; color: var(--rb-text-subtle); font-weight: 400; }

.rb-meta-date{display:inline-flex;align-items:center;gap:4px}
.rb-meta-date svg{opacity:.65}

/* === Coinliva (Foxiz) eslestirme — TEK BLOK === */
:root{--rb-container:1320px}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif}

/* H1 (single/page title) = Inter */
h1,.rb-page-title,.rb-single-title{font-family:'Inter',sans-serif;font-weight:600;letter-spacing:-0.022em}

/* H2 + card/block headings = Afacad */
h2,h3,h4,h5,h6,
.rb-fcard-title,.rb-card-title,.rb-section-title,.rb-archive-title,.rb-widget-title,.rb-footer-widget h4{
  font-family:'Afacad','Inter',sans-serif;
}

/* Card heading sizes (coinliva ratio) */
.rb-fcard-title{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-0.01em}
.rb-grid-3 .rb-fcard-title{font-size:22px}
.rb-fcard-overlay .rb-fcard-title{font-size:28px;font-weight:700;line-height:1.16}
@media(max-width:680px){.rb-fcard-title{font-size:20px}.rb-fcard-overlay .rb-fcard-title{font-size:22px}}

/* Category badge + meta = Roboto (Foxiz exact) */
.rb-fcard-cat,.rb-card-cat{font-family:'Roboto',sans-serif;font-weight:400;font-size:11px;text-transform:capitalize;letter-spacing:-0.15px}
.rb-fcard-meta,.rb-card-meta{font-family:'Roboto',sans-serif;font-weight:300;font-size:11px}
/* === Sidebar coinliva eslestirme === */
.rb-page-wrap{grid-template-columns:minmax(0,1fr) 340px}
.rb-widget-title{font-family:'Afacad','Inter',sans-serif;font-size:18px;font-weight:600;text-transform:none;letter-spacing:-0.01em;line-height:1.3;color:var(--rb-text)}
.rb-widget-title::after{content:" //";color:var(--rb-accent);font-weight:800;font-style:italic}
.rb-widget-list{gap:18px}
.rb-widget-item-thumb{width:78px;height:78px;border-radius:8px}
.rb-widget-item-body h5{font-family:'Afacad','Inter',sans-serif;font-size:15.5px;font-weight:600;line-height:1.32;margin:0 0 5px}
.rb-widget-item-body time{display:inline-flex;align-items:center;gap:4px;font-family:'Roboto',sans-serif;font-size:11px;font-weight:300}
.rb-widget-item-body time svg{opacity:.6}
/* wider sidebar (340 -> 370) */
.rb-page-wrap{grid-template-columns:minmax(0,1fr) 370px;gap:34px}
/* remove the floating share buttons on the left */
.rb-share-side{display:none!important}

/* make the title area the same white card as the content box */
.rb-single-head{
  background:var(--rb-surface);
  border:1px solid var(--rb-border);
  border-radius:var(--rb-radius);
  padding:36px 48px;
}
@media(max-width:720px){.rb-single-head{padding:24px 20px}}

/* === Author page card === */
.rb-author-header{display:flex;gap:24px;align-items:flex-start;background:var(--rb-surface);border:1px solid var(--rb-border);border-radius:var(--rb-radius);box-shadow:var(--rb-shadow-sm);padding:28px 32px;margin-bottom:32px}
.rb-author-avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:1px solid var(--rb-border)}
.rb-author-info{min-width:0}
.rb-author-eyebrow{font-family:'Roboto',sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--rb-accent)}
.rb-author-name{margin:4px 0 10px!important}
.rb-author-bio{color:var(--rb-text-muted);font-size:15px;line-height:1.65;margin:0 0 14px;max-width:70ch}
.rb-author-follow{display:inline-flex;align-items:center;gap:7px;background:var(--rb-text);color:#fff;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:opacity .15s}
.rb-author-follow:hover{opacity:.85;color:#fff}
@media(max-width:600px){.rb-author-header{flex-direction:column;gap:16px;padding:22px 20px}.rb-author-avatar{width:80px;height:80px}}
/* === Single card: title+image+body in one white card === */
.rb-single-card{
  background:var(--rb-surface);
  border:1px solid var(--rb-border);
  border-radius:var(--rb-radius);
  padding:40px 48px;
  margin-bottom:28px;
  overflow:hidden;
}
.rb-single-head,
.rb-single-body{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
}
.rb-single-head{margin-bottom:22px}
.rb-single-featured{margin:0 0 26px;border-radius:12px;overflow:hidden}
.rb-single-featured img{display:block;width:100%;height:auto}
@media(max-width:720px){.rb-single-card{padding:24px 20px}}
:root{--rb-container:1360px}
/* === Footer menu — animated gold underline (instead of chevron) === */
.rb-footer-widget ul{display:flex;flex-direction:column;gap:1px;align-items:flex-start}
.rb-footer-widget ul li{padding:0;margin:0}
.rb-footer-widget ul li a{
  position:relative;display:inline-block;
  padding:6px 1px;font-size:14.5px;color:var(--rb-text-muted);
  text-decoration:none;transition:color .18s ease;
}
.rb-footer-widget ul li a::after{
  content:"";position:absolute;left:0;bottom:3px;height:2px;width:0;
  background:var(--rb-accent);border-radius:2px;transition:width .25s ease;
}
.rb-footer-widget ul li a:hover{color:var(--rb-text)}
.rb-footer-widget ul li a:hover::after{width:100%}
/* === Author profile 4-up grid (title+date only) === */
.rb-author-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.rb-ag-card{background:var(--rb-surface);border:1px solid var(--rb-border);border-radius:14px;overflow:hidden;box-shadow:var(--rb-shadow-sm);transition:box-shadow .18s ease,transform .18s ease}
.rb-ag-card:hover{box-shadow:var(--rb-shadow);transform:translateY(-3px)}
.rb-ag-thumb{display:block;aspect-ratio:16/10;background:var(--rb-sunken) center/cover no-repeat;position:relative}
.rb-ag-thumb.is-empty{display:grid;place-items:center}
.rb-ag-ini{font-family:var(--rb-head-font);font-size:34px;font-weight:700;color:var(--rb-text-subtle)}
.rb-ag-body{padding:14px 16px 16px}
.rb-ag-title{font-family:var(--rb-head-font);font-size:16px;line-height:1.32;font-weight:600;margin:0 0 9px}
.rb-ag-title a{color:var(--rb-text);text-decoration:none}
.rb-ag-title a:hover{color:var(--rb-primary)}
.rb-ag-date{display:inline-flex;align-items:center;gap:5px;font-family:'Roboto',sans-serif;font-size:12px;color:var(--rb-text-subtle)}
.rb-ag-date svg{opacity:.6}
@media(max-width:1000px){.rb-author-grid{grid-template-columns:repeat(2,1fr);gap:18px}}
@media(max-width:560px){.rb-author-grid{grid-template-columns:1fr}}
/* === Foxiz-style DARK MODE (dark slate, not pure black) === */
:root[data-theme="dark"]{
  --rb-surface:#1e222b;
  --rb-sunken:#262b35;
  --rb-text:#e7e9ee;
  --rb-text-muted:#a3acbd;
  --rb-text-subtle:#7c8595;
  --rb-border:rgba(255,255,255,0.09);
  --rb-border-strong:rgba(255,255,255,0.16);
}
[data-theme="dark"] body{ background:#15181f; background-image:none; }
[data-theme="dark"] .rb-toc{ background:#222732; }
[data-theme="dark"] .rb-toc-list li::before{ background:#2d3442; color:#cfd8e6; }
.rb-theme-toggle .rb-icon-moon{display:none}
[data-theme="dark"] .rb-theme-toggle .rb-icon-sun{display:none}
[data-theme="dark"] .rb-theme-toggle .rb-icon-moon{display:inline-block}

/* === TABLE STANDARD — light + dark === */
.rb-single-body table{ width:100%; border-collapse:collapse; table-layout:fixed; margin:18px 0 28px; font-family:Arial,Helvetica,sans-serif; font-size:14.5px; border:1px solid #e0e0e0; border-radius:8px; overflow:hidden; }
.rb-single-body table th,.rb-single-body table td{ padding:12px 16px; text-align:left; border:1px solid #e0e0e0; word-break:break-word; }
.rb-single-body table th{ background:#0d5db0 !important; color:#fff !important; font-weight:600; }
.rb-single-body table td{ background:#fff !important; color:#111827 !important; }
.rb-single-body table tbody tr:nth-child(even) td{ background:#f9f9f9 !important; }
@media(max-width:600px){ .rb-single-body table{ display:block; overflow-x:auto; white-space:nowrap; } }
[data-theme="dark"] .rb-single-body table{ border-color:rgba(255,255,255,0.12); }
[data-theme="dark"] .rb-single-body table th{ background:#0a4a8f !important; color:#fff !important; }
[data-theme="dark"] .rb-single-body table td{ background:#1e222b !important; color:#e7e9ee !important; border-color:rgba(255,255,255,0.10) !important; }
[data-theme="dark"] .rb-single-body table tbody tr:nth-child(even) td{ background:#242a34 !important; }

/* === Stretch the author card to full width (so the bio isn't cramped) === */
.rb-author-header{width:100%}
.rb-author-info{flex:1 1 auto;min-width:0}
.rb-author-bio{max-width:none}
/* single page featured image: 16:9 (1200x675), full width */
.rb-single-featured{
  aspect-ratio:16/9 !important;
  width:100%;
  border-radius:var(--rb-radius);
  overflow:hidden;
  margin:0 0 28px;
}
.rb-single-featured img{ width:100%; height:100%; object-fit:cover; display:block; }
/* === Table of contents (ToC) — clean look, dark-compatible === */
.rb-toc{ background:var(--rb-sunken); border:1px solid var(--rb-border); border-radius:14px; padding:18px 24px 20px; }
.rb-toc-head{ margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid var(--rb-border); }
.rb-toc-title{ font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--rb-text-muted); font-weight:700; }
.rb-toc-title::before{ content:none; }
.rb-toc-list{ list-style:none; grid-template-columns:1fr 1fr; gap:2px 36px; }
.rb-toc-list li::marker{ content:""; }
.rb-toc-list li{ align-items:center; gap:12px; padding:8px 0; border-bottom:0; line-height:1.35; }
.rb-toc-list li::before{ background:#f47c2c; color:#fff; width:23px; height:23px; border-radius:6px; font-size:11.5px; font-weight:700; margin-top:0; }
.rb-toc-list a{ color:var(--rb-text); font-weight:500; font-size:14px; text-decoration:none; }
.rb-toc-list a::before{ content:none; }
.rb-toc-list a:hover{ color:#f47c2c; }

/* === Content links: BOLD + ORANGE === */
.rb-single-body a:not(.rb-btn){ color:#f47c2c; font-weight:700; border-bottom:1px solid rgba(244,124,44,0.45); text-decoration:none; }
.rb-single-body a:not(.rb-btn):hover{ color:#e06a1c; border-bottom-color:#f47c2c; }
/* === Post-footer author box: X button + name link === */
.rb-author-body h4 a{color:inherit;text-decoration:none}
.rb-author-body h4 a:hover{color:var(--rb-primary)}
.rb-author-box-x{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-top:12px;border-radius:10px;background:var(--rb-sunken);border:1px solid var(--rb-border);color:var(--rb-text-muted);text-decoration:none;transition:all .15s}
.rb-author-box-x:hover{color:var(--rb-text);border-color:var(--rb-border-strong);transform:translateY(-1px)}
.rb-author-box-x svg{width:16px;height:16px}
/* Search toggle — hidden by default, expands on click */
.rb-search-form {
  display: flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width .28s ease, opacity .2s ease;
}
.rb-search-form.is-open {
  width: 220px;
  opacity: 1;
}
.rb-search-form input {
  width: 100%;
  border: 1px solid var(--rb-border, #d7b46a);
  background: var(--rb-surface, #fff);
  color: var(--rb-text, #111);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
}
