/*
Theme Name: Newsmag OBD Claro
Description: Newsmag için mobil öncelikli OBD2 arama ve makale tasarımı.
Author: OBD Claro
Template: Newsmag
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: newsmag-obd
License: GPL-2.0-or-later
*/

body.obd-page {
  --obd-ink: #1d1d1f; --obd-blue: #0066cc; --obd-muted: #6e6e73;
  --obd-red: #ff3b30; --obd-green: #34c759; --obd-line: #e8e8ed;
  margin: 0; background: #fff; color: var(--obd-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.obd-page *, .obd-page *::before, .obd-page *::after { box-sizing: border-box; }
.obd-page a { color: var(--obd-blue); text-decoration: none; }
.obd-page a:hover { text-decoration: none; }
.obd-page :focus-visible { outline: 3px solid var(--obd-blue); outline-offset: 5px; }
.obd-page button, .obd-page input { font: inherit; }
.obd-page button, .obd-page a { touch-action: manipulation; }
.obd-page h1, .obd-page h2, .obd-page h3, .obd-page p { font-family: inherit; }
.obd-page p { margin: 0; }
.obd-page svg { display: block; flex: none; }
.obd-shell { min-height: 100vh; display: flex; flex-direction: column; }
.obd-header { width: min(1120px, 100%); margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.obd-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 650; letter-spacing: -.8px; }
.obd-page .obd-brand { color: var(--obd-ink); }
.obd-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--obd-blue); border: 1.5px solid #0066cc35; border-radius: 12px; }
.obd-brand-dot { color: var(--obd-blue); }
.obd-header-link { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.obd-home { flex: 1; width: min(800px, 100%); margin: 0 auto; padding: 62px 24px 96px; }
.obd-hero { text-align: center; }
.obd-eyebrow { color: var(--obd-blue); font-size: 12px; font-weight: 650; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 22px !important; }
.obd-page .obd-hero h1 { margin: 0; font-size: clamp(38px, 6.2vw, 68px); line-height: 1.07; font-weight: 650; letter-spacing: -2.4px; color: var(--obd-ink); }
.obd-hero h1 span { color: var(--obd-blue); }
.obd-hero-description { max-width: 530px; margin: 26px auto 38px !important; color: var(--obd-muted); font-size: 18px; line-height: 1.6; }
.obd-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border: 1px solid #d5d5db; border-radius: 16px; background: #fff; box-shadow: 0 6px 28px #1d1d1f06; }
.obd-search:focus-within { border-color: var(--obd-blue); box-shadow: 0 0 0 3px #0066cc0c; }
.obd-search-icon { margin-left: 12px; color: #8a8a90; }
.obd-page .obd-search input[type="text"] { flex: 1 1 100px; width: auto; min-width: 0; height: 48px; border: 0; padding: 8px; margin: 0; box-shadow: none; background: transparent; color: var(--obd-ink); font-size: 20px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; border-radius: 12px; outline: 0; }
.obd-search input::placeholder { color: #96969c; opacity: 1; text-transform: none; }
.obd-page .obd-search button { display: inline-flex; flex: 1 0 100%; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 12px; background: var(--obd-blue); color: #fff; font-weight: 600; cursor: pointer; }
.obd-search button:hover { background: #005bb7; }
.obd-search-help { margin: 12px 0 0 !important; color: var(--obd-muted); font-size: 13px; text-align: center; }
.obd-popular { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 26px; }
.obd-popular-label { width: 100%; color: var(--obd-muted); font-size: 13px; margin-bottom: 2px; }
.obd-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--obd-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; }
.obd-pill:hover { background: #f5f5f7; }
.obd-benefits { display: grid; grid-template-columns: 1fr; gap: 22px; border-top: 1px solid var(--obd-line); padding-top: 30px; margin-top: 66px; }
.obd-benefit { display: flex; align-items: flex-start; gap: 14px; }
.obd-benefit-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; color: var(--obd-blue); background: #f5f8fc; border-radius: 12px; }
.obd-benefit strong { display: block; font-size: 14px; font-weight: 600; }
.obd-benefit p { font-size: 13px; color: var(--obd-muted); margin-top: 3px; }
.obd-footer { width: min(1120px, 100%); margin: auto auto 0; border-top: 1px solid var(--obd-line); padding: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; color: var(--obd-muted); font-size: 12px; }
.obd-main { flex: 1; width: min(784px, 100%); margin: 0 auto; padding: 28px 24px 80px; }
.obd-breadcrumb { display: flex; gap: 12px; align-items: center; margin-bottom: 30px; color: var(--obd-muted); font-size: 13px; }
.obd-breadcrumb .obd-current { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obd-article-kicker { display: flex; align-items: center; gap: 8px; color: var(--obd-muted); font-size: 12px; margin-bottom: 14px; }
.obd-article-kicker span:first-child { color: var(--obd-blue); font-weight: 600; }
.obd-page .obd-title { margin: 0 0 28px; color: var(--obd-ink); font-size: clamp(36px, 6vw, 60px); line-height: 1.12; letter-spacing: -2px; font-weight: 650; overflow-wrap: anywhere; }
.obd-title .obd-code { display: block; color: var(--obd-blue); }
.obd-summary { border-radius: 16px; padding: 24px; background: #f5f5f7; font-size: 18px; line-height: 1.65; }
.obd-summary-label { display: block; color: var(--obd-muted); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 7px; }
.obd-toc { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 38px; }
.obd-page .obd-content { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.obd-content > :first-child { margin-top: 0; }
.obd-page .obd-content h2 { font-size: clamp(24px, 4vw, 30px); line-height: 1.25; font-weight: 650; letter-spacing: -.7px; color: var(--obd-ink); margin: 42px 0 16px; scroll-margin-top: 30px; }
.obd-page .obd-content h3 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 28px 0 14px; }
.obd-page .obd-content p { margin: 0 0 20px; font-size: 16px; line-height: 1.75; }
.obd-content a { text-decoration: underline; text-underline-offset: 3px; }
.obd-content strong { font-weight: 650; }
.obd-page .obd-content ul, .obd-page .obd-content ol { list-style: none; padding: 0; margin: 18px 0 28px; }
.obd-page .obd-content li { position: relative; margin: 15px 0; padding-left: 36px; font-size: 16px; line-height: 1.75; }
.obd-content ul li::before { content: "!"; position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 23px; height: 23px; background: #fff1f0; color: #b42318; border-radius: 8px; font-size: 13px; font-weight: 700; }
.obd-content ol li::before { content: "✓"; position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 23px; height: 23px; background: #effbf2; color: var(--obd-green); border-radius: 8px; font-size: 16px; font-weight: 700; }
.obd-content li p { margin-bottom: 8px; }
.obd-content img, .obd-content video, .obd-content iframe { max-width: 100%; }
.obd-content img { height: auto; }
.obd-content .ad-slot { display: flex; min-height: 160px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; margin: 38px 0; padding: 20px; background: #fafafa; border: 1px dashed #e3e3e8; border-radius: 12px; text-align: center; }
.obd-content .ad-slot span { text-transform: uppercase; font-size: 10px; letter-spacing: 1.5px; color: var(--obd-muted); }
.obd-content .ad-slot p { margin: 0; font-size: 13px; color: var(--obd-muted); }
.obd-note { display: flex; gap: 12px; margin: 38px 0 24px; padding: 18px 20px; border-radius: 12px; background: #f5f8fc; color: #505056; font-size: 14px; line-height: 1.65; }
.obd-note svg { color: var(--obd-blue); margin-top: 2px; }
.obd-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.obd-results { display: grid; gap: 16px; }
.obd-result { padding: 24px; border: 1px solid var(--obd-line); border-radius: 16px; }
.obd-page .obd-result h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -.5px; }
.obd-page .obd-result p { margin: 0; color: var(--obd-muted); font-size: 16px; line-height: 1.6; }
.obd-pagination { margin-top: 30px; }
.obd-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--obd-line); margin-right: 4px; }
.obd-page .obd-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.obd-skip { position: absolute; top: -100px; left: 16px; z-index: 99999; padding: 12px; background: #fff; }
.obd-skip:focus { top: 12px; }
@media (min-width: 640px) {
  .obd-header { padding-top: 34px; padding-bottom: 34px; }
  .obd-home { padding-top: 84px; padding-bottom: 108px; }
  .obd-search { flex-wrap: nowrap; }
  .obd-page .obd-search button { flex: 0 0 auto; }
  .obd-popular-label { width: auto; margin: 0 4px 0 0; }
  .obd-benefits { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 74px; }
  .obd-main { padding-top: 40px; }
}
@media (max-width: 380px) {
  .obd-header, .obd-main, .obd-home { padding-left: 20px; padding-right: 20px; }
  .obd-page .obd-hero h1 { font-size: 34px; letter-spacing: -1.7px; }
  .obd-brand { font-size: 20px; }
  .obd-header-link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .obd-page * { scroll-behavior: auto !important; } }

.obd-institutional-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 16px; }
.obd-page .obd-institutional-links a { color: var(--obd-muted); font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }


