/* ==========================================================================
   anasayfa-onecikan.css — Ana sayfa "Öne Çıkan" = günün panosu (2026-12-01)
   Bileşen: anasayfa-onecikan.asp (+ içinde anasayfa-tarihte-bugun.asp). Yalnız Default.asp yükler.
   Üç AYRI nesne, kart ızgarası değil:
     .oc-site  kurdeleli beyaz yaprak: tarayıcı penceresi (günün sitesi) + metin
     .oc-not   yapışkan not (günün terimi), hafif eğik, raptiyeli
     .oc-yil   dev içi boş yıl rakamı (bilişim tarihinden)
   Altında .tb-serit (tarihte bugün; burada iç kutuları kaldırılır) ve .oc-sayilar (tek satır).
   Renkler --ds-* token'larından; vurgu var(--color-primary), koyu temada lila #c9a3bd.
   Gövde metni açıkta tam siyah, koyuda tam beyaz. Not kağıdı iki temada da açık zemindir,
   üstündeki metin siyah kalır. Tema tuzakları: kök yazı %62,5 (px), a rengi tema tarafından ezilir.
   ========================================================================== */
.oc {
  --oc-vurgu: var(--color-primary, #503b4b);
  --oc-vurgu-ustu: #fff;
  --oc-vurgu-koyu: #32242f;
  --oc-krom: #eef0f3;
  --oc-kenar: #d5d9df;
  --oc-not: #fff1ad;
  --oc-not-golge: rgba(70, 52, 0, .5);
  padding: clamp(52px, 3vw + 34px, 88px) 0;
  color: var(--ds-metin);
}
body.active-dark-mode .oc {
  --oc-vurgu: #c9a3bd;
  --oc-vurgu-ustu: #1a1418;
  --oc-vurgu-koyu: #8d6f84;
  --oc-krom: #1c1f23;
  --oc-kenar: #33383e;
  --oc-not: #ecd98a;
  --oc-not-golge: rgba(0, 0, 0, .8);
}

/* ---------- Başlık ---------- */
.oc-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 34px; }
.oc-etiket {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--oc-vurgu);
}
.oc-etiket::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.oc .oc-baslik { margin: 8px 0 0; font-size: clamp(24px, 1.2vw + 17px, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--ds-metin); }
.oc-gun { display: inline-flex; align-items: center; gap: 12px; color: var(--ds-metin); }
.oc-gun b { font-size: 46px; line-height: .9; font-weight: 800; letter-spacing: -2px; color: transparent; -webkit-text-stroke: 1.5px var(--ds-metin); font-variant-numeric: tabular-nums; }
.oc-gun span { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; font-weight: 700; }
.oc-gun small { font-size: 13.5px; font-weight: 400; color: var(--ds-soluk); }

/* ---------- Pano ---------- */
.oc-pano { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px 34px; align-items: stretch; }
.oc-site { grid-column: 1; grid-row: 1 / span 2; }
.oc-not { grid-column: 2; grid-row: 1; }
.oc-yil { grid-column: 2; grid-row: 2; }
.oc-pano.oc-tek-yan .oc-not, .oc-pano.oc-tek-yan .oc-yil { grid-row: 1 / span 2; }
.oc-pano.oc-sitesiz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oc-pano.oc-sitesiz .oc-not { grid-column: 1; grid-row: 1; }
.oc-pano.oc-sitesiz .oc-yil { grid-column: 2; grid-row: 1; }
.oc-pano.oc-sitesiz.oc-tek-yan .oc-not, .oc-pano.oc-sitesiz.oc-tek-yan .oc-yil { grid-column: 1 / -1; }

/* ---------- Günün sitesi ---------- */
.oc-site {
  position: relative; display: grid; grid-template-columns: minmax(0, 49%) minmax(0, 1fr); gap: 30px; align-items: center;
  padding: 30px 32px 32px; background: var(--ds-yuzey); border: 1px solid var(--ds-cizgi); border-radius: 20px; box-shadow: var(--ds-golge);
}
.oc-kurdele {
  position: absolute; top: 24px; left: -10px; z-index: 2; padding: 8px 18px 8px 20px; border-radius: 0 7px 7px 0;
  background: var(--oc-vurgu); color: var(--oc-vurgu-ustu); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.2;
  text-transform: uppercase; box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .6);
}
.oc-kurdele::before {
  content: ""; position: absolute; left: 0; top: 100%; border-style: solid; border-width: 0 10px 9px 0;
  border-color: transparent var(--oc-vurgu-koyu) transparent transparent;
}
.oc-pencere {
  display: block; border: 1px solid var(--oc-kenar); border-radius: 12px; overflow: hidden; background: var(--oc-krom);
  box-shadow: 0 22px 36px -26px rgba(16, 24, 40, .55); transition: transform .22s ease, box-shadow .22s ease;
}
a.oc-pencere:hover { transform: translateY(-3px); box-shadow: 0 28px 40px -26px rgba(16, 24, 40, .6); }
.oc-pencere-cubuk { display: flex; align-items: center; gap: 6px; padding: 9px 12px; }
.oc-pencere-cubuk i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--oc-kenar); }
.oc-pencere-cubuk i:first-child { background: var(--oc-vurgu); }
.oc-pencere-adres {
  flex: 1; min-width: 0; margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: var(--ds-yuzey);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.5; color: var(--ds-soluk);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oc-pencere img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.oc-pencere-bos {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--ds-yuzey);
  font-size: 58px; font-weight: 800; color: var(--oc-vurgu);
}
.oc-bekle .oc-pencere { border: 2px dashed var(--oc-vurgu); box-shadow: none; }
.oc-bekle .oc-pencere-bos i { opacity: .55; }

.oc-site-sol { min-width: 0; margin-top: 40px; }
.oc-bekle .oc-site-sol { margin-top: 0; }
.oc .oc-kucukler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.oc .oc-kucukler li { margin: 0; }
.oc .oc-kucukler a { display: block; color: var(--ds-metin); text-decoration: none; }
.oc-kucuk-kare {
  display: block; border: 1px solid var(--oc-kenar); border-radius: 8px; overflow: hidden; background: var(--oc-krom);
  transition: transform .2s ease, box-shadow .2s ease;
}
.oc-kucuk-kare img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.oc-kucuk-kare b { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; font-size: 26px; color: var(--oc-vurgu); }
.oc .oc-kucukler a:hover .oc-kucuk-kare { transform: translateY(-2px); box-shadow: 0 12px 20px -14px rgba(16, 24, 40, .5); }
.oc-kucuk-ad { display: block; margin-top: 7px; font-size: 13px; line-height: 1.3; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc .oc-kucukler a:hover .oc-kucuk-ad { color: var(--oc-vurgu); }

.oc-site-metin { min-width: 0; }
.oc .oc-site-ust { margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--ds-soluk); }
.oc .oc-site-ad { margin: 0 0 14px; font-size: 30px; line-height: 1.14; font-weight: 800; letter-spacing: -.6px; color: var(--ds-metin); }
.oc .oc-site-ad a {
  color: inherit; text-decoration: none; background: linear-gradient(var(--oc-vurgu), var(--oc-vurgu)) 0 100% / 0 2px no-repeat;
  transition: background-size .2s ease;
}
.oc .oc-site-ad a:hover, .oc .oc-site-ad a:focus-visible { background-size: 100% 2px; color: inherit; }
.oc .oc-site-ne { margin: 0 0 8px; font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--ds-metin); }
.oc-site-ne span { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--oc-vurgu); }
.oc .oc-site-ac { margin: 0 0 20px; font-size: 15px; line-height: 1.62; color: var(--ds-metin); }
.oc-site-eylem { display: flex; flex-wrap: wrap; gap: 10px; }
.oc .oc-dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 19px;
  border: 1.5px solid var(--oc-vurgu); border-radius: 21px; background: transparent; color: var(--oc-vurgu);
  font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s;
}
.oc-dugme i { font-size: 12px; }
.oc .oc-dugme:hover, .oc .oc-dugme:focus-visible, .oc .oc-dugme.dolu { background: var(--oc-vurgu); color: var(--oc-vurgu-ustu); }
.oc .oc-dugme.dolu:hover { filter: brightness(1.12); }

/* ---------- Ortak küçük parçalar ---------- */
.oc-rozet { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--oc-vurgu); }
.oc .oc-git { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--oc-vurgu); text-decoration: none; }
.oc-git i { font-size: 11px; transition: transform .2s; }
.oc .oc-git:hover { color: var(--oc-vurgu); text-decoration: underline; text-underline-offset: 3px; }
.oc-git:hover i { transform: translateX(3px); }

/* ---------- Günün terimi: yapışkan not ---------- */
.oc-not {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px 30px 26px;
  background: var(--oc-not); background-image: linear-gradient(175deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%);
  color: #000; border-radius: 3px 3px 26px 3px / 3px 3px 12px 3px; transform: rotate(-1.1deg);
  box-shadow: 0 22px 30px -24px var(--oc-not-golge), 0 2px 4px rgba(0, 0, 0, .06);
}
.oc-not::before {     /* raptiye */
  content: ""; position: absolute; top: 11px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a98aa1 0, #503b4b 55%, #32242f 100%); box-shadow: 0 3px 4px rgba(0, 0, 0, .3);
}
.oc-not .oc-rozet, .oc .oc-not .oc-git { color: #503b4b; }
.oc .oc-not-ad { margin: 12px 0 8px; font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.4px; color: #000; overflow-wrap: anywhere; }
.oc .oc-not-ad a { color: #000; text-decoration: none; }
.oc .oc-not-ad a:hover { color: #503b4b; }
.oc .oc-not-ozet { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #000; }

/* ---------- Bilişim tarihinden: dev içi boş yıl ---------- */
.oc-yil {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px 30px;
  background: var(--ds-yuzey); border: 1px solid var(--ds-cizgi); border-radius: 20px;
}
.oc .oc-yil-rakam {
  font-size: 78px; line-height: .9; font-weight: 800; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1.6px var(--ds-metin);
  font-variant-numeric: tabular-nums; text-decoration: none; writing-mode: vertical-rl; transform: rotate(180deg); transition: -webkit-text-stroke-color .2s;
}
.oc .oc-yil-rakam:hover { -webkit-text-stroke-color: var(--oc-vurgu); color: transparent; }
.oc .oc-yil-ad { margin: 10px 0 8px; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.2px; color: var(--ds-metin); }
.oc .oc-yil-ad a { color: var(--ds-metin); text-decoration: none; }
.oc .oc-yil-ad a:hover { color: var(--oc-vurgu); }
.oc .oc-yil-ozet { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ds-metin); }

/* ---------- Tarihte bugün (anasayfa-gunluk.css üzerine): iç kutular yok, sütun çizgileri var ---------- */
.oc .tb-serit { margin-top: 30px; padding: 28px 30px; border-radius: 20px; gap: 22px 34px; align-items: center; }
.oc .tb-serit .tb-liste { gap: 0; }
.oc .tb-serit .tb-olay { padding: 6px 0 6px 24px; border: 0; border-left: 1px solid var(--ds-cizgi); border-radius: 0; background: transparent; }
.oc .tb-serit .tb-rozet { background: transparent; color: var(--oc-vurgu); padding: 0; font-size: 11px; font-weight: 800; letter-spacing: .11em; border-radius: 0; }

/* ---------- Sayılar: tek satır ---------- */
.oc .oc-sayilar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--oc-kenar); border-bottom: 1px solid var(--oc-kenar); }
.oc .oc-sayilar li { margin: 0; }
.oc .oc-sayilar li + li { border-left: 1px solid var(--oc-kenar); }
.oc .oc-sayilar a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 20px 22px; color: var(--ds-metin); text-decoration: none; transition: background .15s; }
.oc .oc-sayilar a:hover { background: rgba(80, 59, 75, .06); color: var(--ds-metin); }
body.active-dark-mode .oc .oc-sayilar a:hover { background: rgba(255, 255, 255, .05); }
.oc-sayilar i { flex: none; width: 24px; text-align: center; font-size: 19px; color: var(--oc-vurgu); }
.oc-sayilar b { font-size: 27px; line-height: 1; font-weight: 800; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.oc-sayilar span { font-size: 14px; line-height: 1.3; }

/* ---------- Dar ekran ---------- */
@media (max-width: 1199.98px) {
  .oc-site { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .oc-site-sol { max-width: 460px; }
}
@media (max-width: 991.98px) {
  .oc-pano, .oc-pano.oc-sitesiz { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .oc-site, .oc-not, .oc-yil,
  .oc-pano.oc-sitesiz .oc-not, .oc-pano.oc-sitesiz .oc-yil,
  .oc-pano.oc-tek-yan .oc-not, .oc-pano.oc-tek-yan .oc-yil { grid-column: 1; grid-row: auto; }
  .oc-site { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 26px; }
  .oc-site-sol { max-width: none; }
  .oc .tb-serit .tb-olay { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--ds-cizgi); }
  .oc .tb-serit .tb-liste { gap: 14px 24px; }
  .oc .oc-sayilar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc .oc-sayilar li:nth-child(3) { border-left: 0; }
  .oc .oc-sayilar li:nth-child(n + 3) { border-top: 1px solid var(--oc-kenar); }
}
@media (max-width: 767.98px) {
  .oc-bas { margin-bottom: 26px; }
  .oc-gun b { font-size: 38px; }
  .oc-site { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px 24px; }
  .oc-kurdele { top: 20px; }
  .oc .oc-site-ad { font-size: 26px; }
  .oc-not { padding: 32px 22px 22px; transform: rotate(-.6deg); }
  .oc .oc-not-ad { font-size: 24px; }
  .oc-yil { gap: 16px; padding: 22px 20px; }
  .oc .oc-yil-rakam { font-size: 60px; letter-spacing: -3px; }
  .oc .tb-serit { padding: 22px 20px; }
  .oc .oc-sayilar a { padding: 16px 12px; gap: 10px; flex-wrap: wrap; }
  .oc-sayilar b { font-size: 23px; }
  .oc-sayilar span { flex-basis: 100%; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .oc-pencere, .oc-kucuk-kare, .oc .oc-site-ad a, .oc-git i { transition: none; }
  a.oc-pencere:hover, .oc .oc-kucukler a:hover .oc-kucuk-kare { transform: none; }
  .oc-not { transform: none; }
}
