/* =====================================================================
   Rivora · Referanslar (views/content/references.tpl, references-detail.tpl)
   Köşe dili: yalnız sağ üst + sol alt yuvarlak. Gölge yok, üzerine gelince zıplama yok.
   Kategori rengi: --ref-accent (WISECP referans kategorisi rengi; yoksa site ikincil rengi)
   ===================================================================== */
.rv-ref-page { --ref-accent: var(--secondary-color); }

/* ---------- Üst alan ---------- */
.rv-ref-hero { position: relative; padding: 78px 0 100px; overflow: hidden; isolation: isolate; text-align: center; color: var(--header-text, #ffffff); }
/* Arka plan: eğik proje duvarı / görsel + perde (sabit, hareket etmez) */
.rv-ref-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: linear-gradient(165deg, color-mix(in srgb, var(--primary-color) 88%, #020617) 0%, color-mix(in srgb, var(--primary-color) 55%, #020617) 100%); }
.rv-ref-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-ref-wall { position: absolute; left: 50%; top: 50%; width: 1900px; transform: translate(-50%, -46%) perspective(1600px) rotateX(32deg) rotateZ(-14deg); transform-origin: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.rv-ref-wall-in { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.rv-ref-tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0 12px 0 12px; background: rgba(255, 255, 255, 0.05); opacity: 0.6; }
.rv-ref-tile:nth-child(3n+2) { opacity: 0.42; }
.rv-ref-tile:nth-child(4n+1) { opacity: 0.72; }
.rv-ref-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rv-ref-tile.is-ph { background: linear-gradient(rgba(255, 255, 255, 0.09) 0 14%, rgba(255, 255, 255, 0.035) 14%); }
.rv-ref-tile.is-ph i { position: absolute; left: 9%; height: 7%; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.rv-ref-tile.is-ph i:nth-child(1) { top: 28%; width: 46%; background: rgba(255, 255, 255, 0.16); }
.rv-ref-tile.is-ph i:nth-child(2) { top: 44%; width: 70%; }
.rv-ref-tile.is-ph i:nth-child(3) { top: 62%; width: 26%; height: 11%; background: color-mix(in srgb, var(--btn-primary) 55%, transparent); }
.rv-ref-tile.is-ph:nth-child(5n+3) i:nth-child(3) { background: color-mix(in srgb, var(--secondary-color) 60%, transparent); }
.rv-ref-bg-scrim { position: absolute; inset: 0;
    background:
        radial-gradient(48% 62% at 50% 50%, color-mix(in srgb, var(--primary-color) 58%, #020617) 0%, color-mix(in srgb, var(--primary-color) 50%, rgba(2, 6, 23, 0.86)) 45%, transparent 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--primary-color) 70%, #020617) 0%, transparent 22%, transparent 70%, color-mix(in srgb, var(--primary-color) 55%, #020617) 100%); opacity: 0.94; }
.rv-ref-bg-img + .rv-ref-bg-scrim { background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 90%, transparent) 0%, color-mix(in srgb, var(--primary-color) 74%, #020617) 100%); opacity: 1; }
.rv-ref-hero::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: var(--btn-primary); pointer-events: none; }
.rv-ref-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.rv-ref-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 0 8px 0 8px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #ffffff;
    background: color-mix(in srgb, var(--ref-accent) 28%, transparent); border: 1px solid color-mix(in srgb, var(--ref-accent) 55%, transparent);
}
.rv-ref-hero-badge img { width: 14px; height: 14px; object-fit: contain; }
.rv-ref-hero-badge svg, .rv-ref-hero-badge i { color: var(--btn-primary); }
.rv-ref-hero-title { max-width: 880px; margin: 0 0 14px; font-size: 48px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: #ffffff; text-wrap: balance; }
.rv-ref-hero-title .text-gradient { background: linear-gradient(90deg, var(--btn-primary) 0%, color-mix(in srgb, var(--secondary-color) 45%, #ffffff) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rv-ref-hero-lead { max-width: 700px; margin: 0; font-size: 17.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.rv-ref-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.rv-ref-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(820px, 100%); margin: 36px 0 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0 12px 0 12px; background: color-mix(in srgb, var(--primary-color) 40%, rgba(2, 6, 23, 0.55)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.rv-ref-stats.n-1 { grid-template-columns: minmax(0, 1fr); width: min(260px, 100%); }
.rv-ref-stats.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(480px, 100%); }
.rv-ref-stats.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(660px, 100%); }
.rv-ref-stats > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 16px; }
.rv-ref-stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.rv-ref-stats dd { margin: 0; font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -0.8px; color: #ffffff; font-variant-numeric: tabular-nums; }
.rv-ref-stats dt { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.62); }
.rv-ref-hero-badge, .rv-ref-hero-title, .rv-ref-hero-lead, .rv-ref-hero-actions, .rv-ref-stats { animation: rvRefRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rv-ref-hero-badge { animation-delay: 0.04s; }
.rv-ref-hero-title { animation-delay: 0.08s; }
.rv-ref-hero-lead { animation-delay: 0.16s; }
.rv-ref-hero-actions, .rv-ref-stats { animation-delay: 0.24s; }
@keyframes rvRefRise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Butonlar */
.rv-ref-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 0 10px 0 10px;
    font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rv-ref-btn svg { transition: transform 0.2s ease; }
.rv-ref-btn:hover svg { transform: translateX(3px); }
.rv-ref-btn.is-primary { color: #ffffff; background: var(--btn-primary); }
.rv-ref-btn.is-primary:hover { color: #ffffff; background: color-mix(in srgb, var(--btn-primary) 86%, #000000); }
.rv-ref-btn.is-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }
.rv-ref-btn.is-ghost:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); }
.rv-ref-btn:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 3px; }

/* ---------- Liste ---------- */
.rv-ref-list { padding: 80px 0 90px; }
.rv-ref-head { margin-bottom: 36px; animation: none; }
.rv-ref-head .section-subtitle { margin-bottom: 0; }
.rv-ref-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.rv-ref-filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.rv-ref-chip {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border: 1px solid #dfe6ef; border-radius: 0 8px 0 8px;
    font: inherit; font-size: 13.5px; font-weight: 700; color: #334155; background: #ffffff; cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.rv-ref-chip:hover { border-color: color-mix(in srgb, var(--ref-accent) 55%, #dfe6ef); color: var(--primary-color); }
.rv-ref-chip i { font-size: 14px; color: var(--ref-accent); }
.rv-ref-chip img { width: 16px; height: 16px; object-fit: contain; }
.rv-ref-chip b { min-width: 26px; padding: 3px 7px; border-radius: 0 6px 0 6px; font-size: 11.5px; font-weight: 800; text-align: center; color: #64748b; background: #f1f5f9; }
.rv-ref-chip.is-active { border-color: var(--primary-color); color: #ffffff; background: var(--primary-color); }
.rv-ref-chip.is-active i { color: var(--btn-primary); }
.rv-ref-chip.is-active b { color: #ffffff; background: rgba(255, 255, 255, 0.16); }
.rv-ref-chip:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; }
.rv-ref-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; min-width: 220px; margin: 0; }
.rv-ref-search svg { position: absolute; left: 14px; color: #94a3b8; pointer-events: none; }
.rv-ref-search input {
    width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid #dfe6ef; border-radius: 0 8px 0 8px; font: inherit; font-size: 14px; color: #0f172a; background: #ffffff;
    box-shadow: none; outline: none; transition: border-color 0.18s ease;
}
.rv-ref-search input:focus { border-color: var(--secondary-color); }
.rv-ref-search input::placeholder { color: #94a3b8; }

.rv-ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rv-ref-grid[hidden] { display: none; }

/* Kart */
.rv-rc {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e3e9f1; border-radius: 0 10px 0 10px; background: #ffffff;
    color: inherit; text-decoration: none; transition: border-color 0.2s ease;
}
.rv-rc[hidden] { display: none; }
.rv-rc:hover { color: inherit; border-color: color-mix(in srgb, var(--ref-accent) 60%, #e3e9f1); }
.rv-rc:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 3px; }
.rv-rc-media { display: block; padding: 14px 14px 0; background: linear-gradient(160deg, color-mix(in srgb, var(--ref-accent) 12%, #f4f7fb) 0%, #f4f7fb 70%); }
.rv-rc-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border: 1px solid #e3e9f1; border-bottom: 0; border-radius: 0 8px 0 0; background: #ffffff; }
.rv-rc-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.rv-rc-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.rv-rc-dots i:first-child { background: #fca5a5; }
.rv-rc-dots i:nth-child(2) { background: #fcd34d; }
.rv-rc-dots i:last-child { background: #86efac; }
.rv-rc-addr { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; height: 20px; padding: 0 10px; border-radius: 0 5px 0 5px; font-size: 11px; font-weight: 600; color: #64748b; background: #f1f5f9; }
.rv-rc-addr svg { flex-shrink: 0; color: #10b981; }
.rv-rc-addr span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-rc-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #e3e9f1; border-bottom: 0; background: #f8fafc; }
.rv-rc-shot > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 4.5s ease; }
.rv-rc:hover .rv-rc-shot > img { object-position: bottom center; }
.rv-rc-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    background: radial-gradient(70% 80% at 50% 30%, color-mix(in srgb, var(--ref-accent) 16%, #ffffff) 0%, #f8fafc 100%); }
.rv-rc-ph-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 0 14px 0 14px; font-size: 26px; color: #ffffff; background: var(--ref-accent); }
.rv-rc-ph-img { width: 64px; height: 64px; object-fit: contain; }
.rv-rc-ph-lines { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rv-rc-ph-lines i { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ref-accent) 22%, #e2e8f0); }
.rv-rc-ph-lines i:nth-child(1) { width: 120px; } .rv-rc-ph-lines i:nth-child(2) { width: 160px; opacity: 0.7; } .rv-rc-ph-lines i:nth-child(3) { width: 90px; opacity: 0.5; }
.rv-rc-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; border-top: 1px solid #e3e9f1; }
.rv-rc-cat { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ref-accent); }
.rv-rc-cat img { width: 14px; height: 14px; object-fit: contain; }
.rv-rc-title { display: block; margin-bottom: 6px; font-size: 18.5px; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; color: var(--primary-color); }
.rv-rc-desc { display: -webkit-box; margin-bottom: 18px; font-size: 14px; line-height: 1.6; color: #64748b; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-rc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #e3e9f1; font-size: 14px; font-weight: 800; color: var(--primary-color); transition: color 0.2s ease; }
.rv-rc-more svg { transition: transform 0.2s ease; }
.rv-rc:hover .rv-rc-more { color: var(--ref-accent); }
.rv-rc:hover .rv-rc-more svg { transform: translateX(4px); }

.rv-ref-none { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px; border: 1px dashed #d5dde8; border-radius: 0 10px 0 10px; text-align: center; color: #64748b; }
.rv-ref-none[hidden] { display: none; }
.rv-ref-none p { margin: 0; font-size: 15px; font-weight: 600; }
.rv-ref-none-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 0 10px 0 10px; color: var(--secondary-color); background: color-mix(in srgb, var(--secondary-color) 10%, #ffffff); }
.rv-ref-count { margin: 28px 0 0; font-size: 13px; font-weight: 600; text-align: center; color: #94a3b8; }
.rv-ref-count:empty { display: none; }

/* Henüz referans yok */
.rv-ref-empty { display: flex; flex-direction: column; align-items: center; max-width: 720px; margin: 0 auto; padding: 56px 28px; border: 1px solid #e3e9f1; border-radius: 0 12px 0 12px; text-align: center; background: #ffffff; }
.rv-ref-empty-art { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.rv-ref-empty-win { position: relative; display: block; width: 92px; height: 64px; border: 1px solid #dfe6ef; border-radius: 0 8px 0 8px; background: linear-gradient(#f1f5f9 0 14px, #ffffff 14px); }
.rv-ref-empty-win.is-mid { width: 120px; height: 84px; border-color: color-mix(in srgb, var(--secondary-color) 45%, #dfe6ef); background: linear-gradient(color-mix(in srgb, var(--secondary-color) 14%, #ffffff) 0 16px, #ffffff 16px); }
.rv-ref-empty-win i { position: absolute; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; }
.rv-ref-empty-win i:nth-child(1) { left: 7px; } .rv-ref-empty-win i:nth-child(2) { left: 15px; } .rv-ref-empty-win i:nth-child(3) { left: 23px; }
.rv-ref-empty-win.is-mid i { top: 6px; background: var(--secondary-color); opacity: 0.6; }
.rv-ref-empty-win::after { content: ""; position: absolute; left: 10px; right: 26px; bottom: 12px; height: 6px; border-radius: 3px; background: #e2e8f0; box-shadow: none; }
.rv-ref-empty h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; color: var(--primary-color); }
.rv-ref-empty p { max-width: 520px; margin: 0 0 26px; font-size: 15.5px; line-height: 1.7; color: #64748b; }

/* Alt çağrı kutusu */
.rv-ref-cta-wrap { padding: 0 0 90px; }
.rv-ref-cta {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding: 44px 48px; overflow: hidden; border-radius: 0 14px 0 14px; color: #ffffff;
    background:
        radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--secondary-color) 35%, transparent) 0%, transparent 60%),
        linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 68%, #020617) 100%);
}
.rv-ref-cta-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); pointer-events: none; }
.rv-ref-cta-text { position: relative; flex: 1 1 420px; min-width: 0; }
.rv-ref-cta h2 { margin: 0 0 10px; font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -0.5px; color: #ffffff; text-wrap: balance; }
.rv-ref-cta h2 .text-gradient { background: none; -webkit-text-fill-color: currentColor; color: var(--btn-primary); }
.rv-ref-cta p { max-width: 620px; margin: 0; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.rv-ref-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Proje detayı ---------- */
.rv-ref-detail { padding: 70px 0 80px; }
.rv-rd { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.rv-rd-main { min-width: 0; }
.rv-rd-shot { margin: 0 0 36px; padding: 16px 16px 0; border: 1px solid #e3e9f1; border-radius: 0 12px 0 12px; overflow: hidden;
    background: linear-gradient(160deg, color-mix(in srgb, var(--ref-accent) 12%, #f4f7fb) 0%, #f4f7fb 70%); }
.rv-rd-shot .rv-rc-bar { height: 34px; }
.rv-rd-shot-view { max-height: 620px; overflow-y: auto; border: 1px solid #e3e9f1; border-bottom: 0; background: #ffffff; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ref-accent) 45%, #cbd5e1) transparent; }
.rv-rd-shot-view::-webkit-scrollbar { width: 8px; }
.rv-rd-shot-view::-webkit-scrollbar-thumb { border-radius: 8px; background: color-mix(in srgb, var(--ref-accent) 45%, #cbd5e1); }
.rv-rd-shot img { display: block; width: 100%; height: auto; }
.rv-rd-prose { font-size: 16px; line-height: 1.8; color: #334155; }
.rv-rd-prose > :first-child { margin-top: 0; }
.rv-rd-prose h2, .rv-rd-prose h3, .rv-rd-prose h4 { margin: 1.6em 0 0.6em; font-weight: 800; line-height: 1.3; letter-spacing: -0.3px; color: var(--primary-color); }
.rv-rd-prose h2 { font-size: 26px; } .rv-rd-prose h3 { font-size: 21px; } .rv-rd-prose h4 { font-size: 18px; }
.rv-rd-prose p { margin: 0 0 1.1em; }
.rv-rd-prose a { font-weight: 700; color: var(--secondary-color); }
.rv-rd-prose ul, .rv-rd-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc outside; }
.rv-rd-prose ol { list-style-type: decimal; }
.rv-rd-prose li { margin-bottom: 0.4em; }
.rv-rd-prose li::marker { color: var(--ref-accent); }
.rv-rd-prose img { max-width: 100%; height: auto; border-radius: 0 10px 0 10px; }
.rv-rd-prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--ref-accent); border-radius: 0 10px 0 0; background: #f6f9fc; font-size: 17px; color: #0f172a; }
.rv-rd-noc { color: #94a3b8; }
.rv-rd-aside { position: sticky; top: 100px; }
.rv-rd-card { padding: 24px; border: 1px solid #e3e9f1; border-radius: 0 12px 0 12px; background: #ffffff; }
.rv-rd-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf2f7; }
.rv-rd-card-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 0 8px 0 8px; color: #ffffff; background: var(--ref-accent); }
.rv-rd-card-head strong { font-size: 16.5px; font-weight: 800; line-height: 1.35; color: var(--primary-color); }
.rv-rd-facts { margin: 0; padding: 6px 0; }
.rv-rd-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed #e3e9f1; }
.rv-rd-facts dt { font-size: 13px; font-weight: 600; color: #64748b; }
.rv-rd-facts dd { min-width: 0; margin: 0; font-size: 14px; font-weight: 700; text-align: right; color: #0f172a; overflow-wrap: anywhere; }
.rv-rd-facts dd .rv-rc-cat { margin: 0; }
.rv-rd-facts a { color: var(--secondary-color); text-decoration: none; }
.rv-rd-facts a:hover { text-decoration: underline; }
.rv-rd-block { padding: 18px 0 4px; }
.rv-rd-block h2 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; color: #94a3b8; }
.rv-rd-checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rv-rd-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #334155; }
.rv-rd-ok { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 0 5px 0 5px; color: #10b981; background: rgba(16, 185, 129, 0.12); }
.rv-rd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv-rd-tags li { padding: 6px 11px; border: 1px solid #e3e9f1; border-radius: 0 6px 0 6px; font-size: 12.5px; font-weight: 700; color: #334155; background: #f8fafc; }
.rv-rd-cta { width: 100%; margin-top: 22px; }
.rv-rd-back { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #64748b; text-decoration: none; }
.rv-rd-back:hover { color: var(--primary-color); }
.rv-ref-related { padding-top: 70px; background: #f4f7fb; border-top: 1px solid #e6ecf3; }
.rv-ref-related + .rv-ref-cta-wrap { padding-top: 0; background: #f4f7fb; }

/* ---------- Giriş efekti ---------- */
.rv-ref-js .rv-ref-page [data-rv-reveal]:not(.is-inview), .rv-ref-js [data-rv-reveal].rv-ref-grid:not(.is-inview) .rv-rc { opacity: 0; transform: translateY(14px); }
.rv-ref-page [data-rv-reveal] { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-ref-grid[data-rv-reveal] .rv-rc { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease; }
.rv-ref-grid[data-rv-reveal] .rv-rc:nth-child(3n+2) { transition-delay: 0.08s, 0.08s, 0s; }
.rv-ref-grid[data-rv-reveal] .rv-rc:nth-child(3n+3) { transition-delay: 0.16s, 0.16s, 0s; }
.rv-ref-js .rv-ref-grid[data-rv-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rv-ref-hero-badge, .rv-ref-hero-title, .rv-ref-hero-lead, .rv-ref-hero-actions, .rv-ref-stats { animation: none; }
    .rv-ref-js .rv-ref-page [data-rv-reveal]:not(.is-inview), .rv-ref-js [data-rv-reveal].rv-ref-grid:not(.is-inview) .rv-rc { opacity: 1; transform: none; }
    .rv-rc-shot > img { transition: none; }
}

/* ---------- Gece modu ---------- */
[data-bs-theme="dark"] .rv-ref-chip, [data-bs-theme="dark"] .rv-ref-search input { color: #cbd5e1; background: #0f1b2b; border-color: #233247; }
[data-bs-theme="dark"] .rv-ref-chip b { color: #94a3b8; background: #18273a; }
[data-bs-theme="dark"] .rv-ref-chip:hover { color: #ffffff; }
[data-bs-theme="dark"] .rv-ref-chip.is-active { color: #ffffff; background: color-mix(in srgb, var(--primary-color) 70%, #38bdf8); border-color: transparent; }
[data-bs-theme="dark"] .rv-rc, [data-bs-theme="dark"] .rv-ref-empty, [data-bs-theme="dark"] .rv-rd-card { background: #152232; border-color: #1e293b; }
[data-bs-theme="dark"] .rv-rc:hover { border-color: color-mix(in srgb, var(--ref-accent) 55%, #1e293b); }
[data-bs-theme="dark"] .rv-rc-media, [data-bs-theme="dark"] .rv-rd-shot { background: linear-gradient(160deg, color-mix(in srgb, var(--ref-accent) 16%, #0f1b2b) 0%, #0f1b2b 70%); border-color: #1e293b; }
[data-bs-theme="dark"] .rv-rc-bar { background: #18273a; border-color: #233247; }
[data-bs-theme="dark"] .rv-rc-addr { color: #94a3b8; background: #0f1b2b; }
[data-bs-theme="dark"] .rv-rc-shot, [data-bs-theme="dark"] .rv-rd-shot-view { border-color: #233247; background: #0f1b2b; }
[data-bs-theme="dark"] .rv-rc-ph { background: radial-gradient(70% 80% at 50% 30%, color-mix(in srgb, var(--ref-accent) 20%, #152232) 0%, #0f1b2b 100%); }
[data-bs-theme="dark"] .rv-rc-ph-lines i { background: color-mix(in srgb, var(--ref-accent) 25%, #233247); }
[data-bs-theme="dark"] .rv-rc-body { border-color: #1e293b; }
[data-bs-theme="dark"] .rv-rc-title, [data-bs-theme="dark"] .rv-rc-more, [data-bs-theme="dark"] .rv-ref-empty h3, [data-bs-theme="dark"] .rv-rd-card-head strong,
[data-bs-theme="dark"] .rv-rd-prose h2, [data-bs-theme="dark"] .rv-rd-prose h3, [data-bs-theme="dark"] .rv-rd-prose h4, [data-bs-theme="dark"] .rv-rd-facts dd { color: #f1f5f9; }
[data-bs-theme="dark"] .rv-rc-desc, [data-bs-theme="dark"] .rv-ref-empty p, [data-bs-theme="dark"] .rv-ref-none, [data-bs-theme="dark"] .rv-rd-facts dt { color: #94a3b8; }
[data-bs-theme="dark"] .rv-rc-more, [data-bs-theme="dark"] .rv-rd-facts > div { border-color: #233247; }
[data-bs-theme="dark"] .rv-ref-none { border-color: #233247; }
[data-bs-theme="dark"] .rv-ref-empty-win { border-color: #2b3d55; background: linear-gradient(#1b2b3f 0 14px, #152232 14px); }
[data-bs-theme="dark"] .rv-ref-empty-win::after { background: #233247; }
[data-bs-theme="dark"] .rv-rd-prose, [data-bs-theme="dark"] .rv-rd-checks li, [data-bs-theme="dark"] .rv-rd-tags li { color: #cbd5e1; }
[data-bs-theme="dark"] .rv-rd-prose blockquote { color: #e2e8f0; background: #0f1b2b; }
[data-bs-theme="dark"] .rv-rd-card-head { border-color: #1e293b; }
[data-bs-theme="dark"] .rv-rd-tags li { background: #0f1b2b; border-color: #233247; }
[data-bs-theme="dark"] .rv-ref-related, [data-bs-theme="dark"] .rv-ref-related + .rv-ref-cta-wrap { background: #0b1626; border-color: #1e293b; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199.98px) {
    .rv-ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-ref-grid[data-rv-reveal] .rv-rc:nth-child(n) { transition-delay: 0s; }
    .rv-rd { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
    .rv-ref-wall { width: 1500px; }
}
@media (max-width: 991.98px) {
    .rv-rd { grid-template-columns: minmax(0, 1fr); }
    .rv-rd-aside { position: static; }
    .rv-ref-search { flex: 1 1 100%; }
}
@media (max-width: 767.98px) {
    .rv-ref-hero { padding: 48px 0 70px; }
    .rv-ref-wall { width: 1100px; transform: translate(-50%, -46%) perspective(1200px) rotateX(30deg) rotateZ(-14deg); }
    .rv-ref-wall-in { gap: 14px; }
    .rv-ref-hero-title { font-size: 32px; letter-spacing: -0.6px; }
    .rv-ref-hero-lead { font-size: 15.5px; }
    .rv-ref-stats, .rv-ref-stats.n-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .rv-ref-stats.n-1 { grid-template-columns: minmax(0, 1fr); }
    .rv-ref-stats > div + div { border-left: 0; }
    .rv-ref-stats > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
    .rv-ref-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .rv-ref-stats.n-3 > div:last-child { grid-column: 1 / -1; border-left: 0; }
    .rv-ref-stats dd { font-size: 24px; }
    .rv-ref-hero-actions { width: 100%; }
    .rv-ref-hero-actions .rv-ref-btn { flex: 1 1 100%; }
    .rv-ref-list { padding: 56px 0 64px; }
    .rv-ref-head { margin-bottom: 26px; }
    .rv-ref-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .rv-ref-filters::-webkit-scrollbar { display: none; }
    .rv-ref-chip { flex-shrink: 0; }
    .rv-ref-search { min-width: 0; }
    .rv-ref-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .rv-ref-empty { padding: 40px 20px; }
    .rv-ref-cta-wrap { padding-bottom: 64px; }
    .rv-ref-cta { padding: 32px 22px; }
    .rv-ref-cta h2 { font-size: 24px; }
    .rv-ref-cta-actions, .rv-ref-cta-actions .rv-ref-btn { width: 100%; }
    .rv-ref-detail { padding: 44px 0 56px; }
    .rv-rd-shot { padding: 10px 10px 0; margin-bottom: 26px; }
    .rv-rd-shot-view { max-height: 420px; }
    .rv-rd-prose { font-size: 15px; }
}
