/* ── Blog Single Sayfa ──────────────────────────────────── */
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.blog-single-content { min-width: 0; }
.blog-single-sidebar {
  position: sticky;
  top: 116px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Article body typography */
.article-body { line-height: 1.85; color: var(--text); font-size: 16px; }
.article-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; margin: 40px 0 16px; color: var(--text); padding-bottom: 12px; border-bottom: 2px solid var(--light); position: relative; }
.article-body h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--grad); }
.article-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin: 32px 0 12px; color: var(--text); }
.article-body p { margin-bottom: 20px; color: #374151; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; color: #374151; line-height: 1.8; }
.article-body a { color: var(--blue); text-decoration: underline; transition: color .2s; }
.article-body a:hover { color: var(--blue-dark); }
.article-body strong { font-weight: 700; color: var(--text); }
.article-body blockquote { border-left: 4px solid var(--blue); padding: 16px 20px; background: var(--off); border-radius: 0 12px 12px 0; margin: 24px 0; font-style: italic; color: #374151; }
.article-body img { max-width: 100%; border-radius: 12px; margin: 24px 0; }
.article-body code { background: rgba(26,109,255,0.08); border: 1px solid rgba(26,109,255,0.15); border-radius: 4px; padding: 2px 6px; font-family: monospace; font-size: 14px; color: var(--blue); }
.article-body pre { background: #0f1f38; border-radius: 12px; padding: 20px; overflow-x: auto; margin: 24px 0; }
.article-body pre code { background: none; border: none; color: #e2e8f0; }

@media (max-width: 768px) {
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-single-sidebar { position: static; order: 1; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 17px; }
}


/* ── SIDEBAR ────────────────────────────────────────────── */
.service-sidebar {
  position: sticky;
  top: 116px; /* nav + 20px */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar Form */
.sidebar-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 40px rgba(26,109,255,0.07);
}
.sidebar-form-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 4px;
}
.sidebar-form-title svg {
  stroke: var(--blue);
  flex-shrink: 0;
}
.sidebar-form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.sb-form-group {
  margin-bottom: 11px;
}
.sb-input {
  width: 100%;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.sb-input::placeholder {
  color: #b0bac8;
}
.sb-input:focus {
  border-color: var(--blue);
  background: #fff;
}
select.sb-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.sb-submit {
  width: 100%;
  padding: 13px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  transition: opacity .2s, transform .2s;
}
.sb-submit:hover {
  opacity: .88;
  transform: translateY(-1px);
}
.sb-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* Sidebar Services */
.sidebar-services-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.sidebar-services-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-services-list {
  list-style: none;
}
.sidebar-services-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s, padding-left .2s;
}
.sidebar-services-list li:last-child a {
  border-bottom: none;
}
.sidebar-services-list li a::after {
  content: '›';
  color: var(--border);
  font-size: 16px;
  transition: color .15s, transform .2s;
}
.sidebar-services-list li a:hover {
  background: var(--off);
  color: var(--blue);
  padding-left: 26px;
}
.sidebar-services-list li a:hover::after {
  color: var(--blue);
  transform: translateX(2px);
}
.sidebar-services-list li a.active {
  background: linear-gradient(to right, rgba(26,109,255,0.06), transparent);
  color: var(--blue);
  font-weight: 700;
  border-left: 3px solid var(--blue);
  padding-left: 19px;
}
.sidebar-services-list li a.active::after {
  color: var(--blue);
}

/* Sidebar Contact */
.sidebar-contact-card {
  background: linear-gradient(135deg, #0a1628, #0f2d6b);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sidebar-contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-contact-icon svg {
  stroke: rgba(255,255,255,0.8);
}
.sidebar-contact-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sidebar-contact-val {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: color .2s;
}
.sidebar-contact-val:hover {
  color: var(--cyan);
}
