/* OSR Blog — theme.json dışındaki bileşen stilleri (ana sitenin tasarım diliyle uyumlu). */

:root {
  --osr-cyan: #22d3ee;
  --osr-cyan-50: #ecfeff;
  --osr-cyan-200: #a5f3fc;
  --osr-cyan-700: #0e7490;
  --osr-slate-200: #e2e8f0;
  --osr-slate-950: #020617;
  --osr-radius: 1.5rem;
}

html { scroll-padding-top: 6rem; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:focus-visible { outline: 3px solid #06b6d4; outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--osr-cyan-200); color: var(--osr-slate-950); }

/* Üst şerit + başlık */
.osr-topbar { font-size: 13px; }
.osr-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.osr-topbar a:hover { color: var(--osr-cyan); }
.osr-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px); background: rgba(255, 255, 255, .95) !important; }
.admin-bar .osr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .osr-header { top: 46px; } }
.osr-logo img { display: block; height: 44px; width: auto; }
@media (min-width: 640px) { .osr-logo img { height: 48px; } }
.osr-header .wp-block-navigation a { text-decoration: none; }
.osr-header .wp-block-navigation-item__content { padding: .5rem .7rem; border-radius: .7rem; }
.osr-header .wp-block-navigation-item__content:hover { background: #f1f5f9; }
.osr-header .current-menu-item > .wp-block-navigation-item__content,
.osr-header .osr-nav-active > .wp-block-navigation-item__content { background: var(--osr-cyan-50); color: #155e75; }
@media (max-width: 599px) { .osr-header .osr-header-cta { display: none; } }

/* Butonlar */
.wp-element-button, .wp-block-button__link { box-shadow: 0 10px 30px -12px rgba(6, 182, 212, .7); text-decoration: none; }
.is-style-outline .wp-block-button__link { box-shadow: none; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
.osr-dark .is-style-outline .wp-block-button__link { border-color: rgba(255, 255, 255, .3); background: transparent; color: #fff; }

/* Rozet / eyebrow */
.osr-eyebrow { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--osr-cyan-200); background: var(--osr-cyan-50); color: #155e75; border-radius: 999px; padding: .35rem .85rem; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4 !important; }
.osr-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #06b6d4; }

/* Kart listeleri */
.osr-card { border: 1px solid var(--osr-slate-200); border-radius: var(--osr-radius); background: #fff; overflow: hidden; height: 100%; transition: border-color .15s, box-shadow .15s; }
.osr-card:hover { border-color: #67e8f9; box-shadow: 0 20px 40px -24px rgba(8, 145, 178, .35); }
.osr-card .wp-block-post-featured-image { margin: 0; }
.osr-card .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.osr-card .wp-block-post-title a { text-decoration: none; color: #020617; }
.osr-card .wp-block-post-title a:hover { color: var(--osr-cyan-700); }
.osr-card .wp-block-post-terms a { text-decoration: none; }
.osr-grid-bg { background-image: linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px); background-size: 44px 44px; }

/* Yazı içeriği */
.osr-content > * + * { margin-block-start: 1.15rem; }
.osr-content h2 { scroll-margin-top: 6.5rem; }
.osr-content ul li::marker, .osr-content ol li::marker { color: #0891b2; font-weight: 700; }
.osr-content li + li { margin-top: .45rem; }
.osr-content a:not(.wp-element-button):not(.wp-block-button__link) { font-weight: 600; text-underline-offset: 3px; text-decoration-color: #67e8f9; }
.osr-content .wp-block-table { overflow-x: auto; border: 1px solid var(--osr-slate-200); border-radius: 1.25rem; }
.osr-content .wp-block-table table { border-collapse: collapse; width: 100%; min-width: 560px; }
.osr-content .wp-block-table th { background: #f8fafc; text-align: left; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.osr-content .wp-block-table th, .osr-content .wp-block-table td { border: 0; border-bottom: 1px solid #f1f5f9; padding: .9rem 1.1rem; vertical-align: top; }
.osr-content .wp-block-table tr:last-child td { border-bottom: 0; }
.osr-content .wp-block-table td:first-child { font-weight: 700; color: #0f172a; }

/* Desen kutuları */
.osr-kisa-cevap { border: 1px solid var(--osr-cyan-200); background: var(--osr-cyan-50); border-radius: 1.25rem; padding: 1.25rem 1.4rem !important; }
.osr-kisa-cevap .osr-label { margin: 0; font-size: .75rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #155e75; }
.osr-kisa-cevap p:not(.osr-label) { margin-top: .5rem; font-size: 1.0625rem; font-weight: 500; color: #1e293b; }
.osr-uyari { border: 1px solid #fde68a; background: #fffbeb; border-radius: 1.25rem; padding: 1.1rem 1.3rem !important; color: #334155; }
.osr-uyari .osr-label { margin: 0; font-size: .75rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #92400e; }
.osr-kontrol { list-style: none; padding: 1.1rem 1.25rem !important; border: 1px solid var(--osr-slate-200); border-radius: 1.25rem; display: grid; gap: .6rem; }
.osr-kontrol li { position: relative; padding-left: 1.9rem; margin: 0 !important; }
.osr-kontrol li::before { content: "✓"; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #cffafe; color: #0e7490; font-size: .75rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
@media (min-width: 700px) { .osr-kontrol.is-two-col { grid-template-columns: 1fr 1fr; } }
.osr-adimlar { list-style: none; counter-reset: osr-step; padding: 0 !important; display: grid; gap: .8rem; }
.osr-adimlar > li { counter-increment: osr-step; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; border: 1px solid var(--osr-slate-200); border-radius: 1.1rem; margin: 0 !important; }
.osr-adimlar > li::before { content: counter(osr-step); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: .7rem; background: #06b6d4; color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.osr-cta { border-radius: 1.75rem; padding: clamp(1.5rem, 4vw, 2.5rem) !important; position: relative; overflow: hidden; }
.osr-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(6, 182, 212, .35), transparent 60%); pointer-events: none; }
.osr-cta > * { position: relative; z-index: 1; }
.osr-cta h2, .osr-cta h3, .osr-cta p { color: #fff; }
.osr-cta p { color: #cbd5e1; }
.osr-cta .osr-label { margin: 0; color: #67e8f9; font-size: .75rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.osr-arac { border: 1px solid var(--osr-slate-200); border-radius: 1.25rem; padding: 1rem 1.2rem !important; }
.osr-arac a { text-decoration: none; }
.osr-sss details { border-bottom: 1px solid var(--osr-slate-200); padding: 1rem 0; }
.osr-sss details:first-of-type { border-top: 1px solid var(--osr-slate-200); }
.osr-sss summary { cursor: pointer; font-weight: 700; color: #0f172a; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.osr-sss summary::-webkit-details-marker { display: none; }
.osr-sss summary::after { content: "+"; color: #0e7490; font-weight: 800; }
.osr-sss details[open] summary::after { content: "−"; }
.osr-sss details > *:not(summary) { margin-top: .6rem; color: #475569; }
.osr-kaynaklar { border: 1px solid var(--osr-slate-200); background: #f8fafc; border-radius: 1.25rem; padding: 1.2rem 1.4rem !important; font-size: .92rem; }

/* Alt alan */
.osr-footer a { color: #cbd5e1; text-decoration: none; }
.osr-footer a:hover { color: #fff; }
.osr-footer .osr-footer-title { color: #94a3b8; font-size: .75rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.osr-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.osr-wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: #10b981; color: #fff !important; padding: .8rem 1rem; font-weight: 700; font-size: .9rem; text-decoration: none !important; box-shadow: 0 20px 25px -5px rgba(6, 78, 59, .25); }
.osr-wa:hover { background: #059669; }
@media (max-width: 639px) { .osr-wa span { display: none; } }

/* Sayfalama */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { text-decoration: none; padding: .45rem .8rem; border-radius: .7rem; }
.wp-block-query-pagination .page-numbers.current { background: #020617; color: #fff; }
