/* Ana sayfa (ziyaretçi ve öğrenci) */
.as { --red: #D33A2C; }
.as .kk { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.as .pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 17px; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.as .pill-w { background: #fff; color: var(--ink); }
.as .pill-w:hover { background: #E9EDF8; color: var(--ink); }
.as .pill-g { border-color: rgba(255,255,255,.55); color: #fff; }
.as .pill-g:hover { border-color: #fff; color: #fff; }
.as .pill-a { background: var(--accent); color: #fff; }
.as .pill-a:hover { background: var(--accent-dark); color: #fff; }

/* Açılış */
.as-hero { position: relative; min-height: 760px; color: #fff; overflow: hidden; display: flex; flex-direction: column; background: #12141A; }
.as-hero.kisa { min-height: 560px; }
.as-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: as-kb 28s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes as-kb { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.as-hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,12,18,.88) 0%, rgba(10,12,18,0) 24%),
  linear-gradient(90deg, rgba(10,12,18,.95) 0%, rgba(10,12,18,.84) 42%, rgba(10,12,18,.42) 100%),
  linear-gradient(0deg, rgba(10,12,18,.72) 0%, rgba(10,12,18,0) 40%); }
.as-hero-body { position: relative; z-index: 2; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; padding-top: 140px; padding-bottom: 72px; }
.as-hero-body.tek { grid-template-columns: minmax(0, 46em); }
.as-live { display: inline-flex; align-items: center; gap: 10px; background: rgba(211,58,44,.16); border: 1px solid rgba(255,120,105,.55); color: #FFD9D4; border-radius: 999px; padding: 7px 16px 7px 12px; font-size: 15px; font-weight: 500; text-decoration: none; margin-bottom: 22px; }
.as-live:hover { color: #fff; }
.as-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5A4E; flex: none; animation: as-pulse 1.8s infinite; }
@keyframes as-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,78,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,90,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,78,0); } }
.as-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.08; color: #fff; }
.as-lead { font-size: 21px; line-height: 1.6; color: #D7DBE3; max-width: 36em; margin: 24px 0 34px; }
.as-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Açılıştaki beyaz kart (haftanın haberi / ödev) */
.as-card { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.2deg); animation: as-rise .9s cubic-bezier(.2,.8,.2,1) both .2s; }
a.as-card:hover { color: var(--ink); }
@keyframes as-rise { from { opacity: 0; transform: translateY(30px) rotate(1.2deg); } to { opacity: 1; transform: translateY(0) rotate(1.2deg); } }
.as-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.as-card .b { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.as-card h3 { font-size: 25px; line-height: 1.25; }
.as-badge { align-self: flex-start; background: #FBEFD2; color: #7A4F00; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.as-meta { font-size: 15px; color: var(--muted); }

/* Haber bandı */
.as-ticker { display: flex; align-items: stretch; background: var(--ink); color: #fff; overflow: hidden; border-top: 3px solid var(--red); }
.as-ticker .lbl { flex: none; background: var(--red); padding: 14px 22px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; }
.as-ticker .rail { flex: 1; overflow: hidden; display: flex; align-items: center; }
.as-ticker .move { display: flex; gap: 48px; white-space: nowrap; padding-left: 48px; animation: as-tick var(--sure, 48s) linear infinite; }
.as-ticker:hover .move, .as-ticker:focus-within .move { animation-play-state: paused; }
@keyframes as-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.as-ticker .move a { text-decoration: none; font-size: 17px; color: #E9EBF0; }
.as-ticker .move a:hover { color: #fff; text-decoration: underline; }
.as-ticker .move b { color: #fff; font-weight: 600; margin-right: 10px; }
.as-ticker .sep { color: #7C8290; }

/* Sayılar */
.as-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-bottom: 1px solid var(--line); }
.as-stat { padding: 44px 28px 40px; border-right: 1px solid var(--line); }
.as-stat:last-child { border-right: 0; }
.as-stat b { display: block; font-family: var(--serif); font-size: 58px; line-height: 1; font-weight: 600; }
.as-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Bölümler */
.as-sec { padding: 84px 0; }
.as-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.as-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; }
.as-more { font-weight: 600; text-decoration: none; font-size: 17px; }

/* Haberler */
.as-news { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
.as-news.tek { grid-template-columns: minmax(0, 1fr); }
.as-big { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 520px; color: #fff; text-decoration: none; background: #222; }
.as-big:hover { color: #fff; }
.as-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.as-big:hover img, .as-small:hover img { transform: scale(1.04); }
.as-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,14,.88) 0%, rgba(8,10,14,.2) 60%, rgba(8,10,14,0) 100%); }
.as-big .b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 34px; display: flex; flex-direction: column; gap: 10px; }
.as-big h3 { font-size: 38px; line-height: 1.15; color: #fff; }
.as-big .as-meta { color: #CDD2DB; }
.as-side { display: flex; flex-direction: column; gap: 28px; }
.as-small { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border-radius: 16px; overflow: hidden; padding-right: 18px; border: 1px solid var(--line); }
.as-small:hover { color: var(--ink); border-color: var(--ink-2); }
.as-small .ph { height: 150px; overflow: hidden; aspect-ratio: auto; display: block; }
.as-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.as-small h3 { font-size: 21px; line-height: 1.3; margin-bottom: 6px; }

/* Kurlar */
.as-kurlar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.as-kur-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.as-kur { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); background: var(--paper); }
.as-kur:hover { color: var(--ink); border-color: var(--ink-2); }
.as-kur.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.as-kur.on:hover { color: #fff; }
.as-kur h3 { font-size: 28px; line-height: 1.2; }
.as-kur .as-meta { color: inherit; opacity: .75; }
.as-prog { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 6px 0 4px; }
.as-prog i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); }
.as-prog i.f { background: #7FA0FF; }
.as-prog i.n { background: #fff; animation: as-blink 1.6s ease-in-out infinite; }
@keyframes as-blink { 50% { opacity: .4; } }
.as-state { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; }

/* Öğrenci: bu hafta */
.as-week { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.as-week.tek { grid-template-columns: minmax(0, 46em); }
.as-week h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 10px 0 18px; }
.as-week ul { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.as-ex { display: flex; flex-direction: column; gap: 12px; }
.as-ex a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.as-ex a:hover { border-color: var(--ink-2); color: var(--ink); }
.as-ex strong { font-family: var(--serif); font-size: 20px; display: block; margin: 6px 0 4px; }

/* Kapanış */
.as-close { position: relative; overflow: hidden; color: #fff; text-align: center; background: #0C1228; }
.as-close img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.as-close::after { content: ""; position: absolute; inset: 0; background: rgba(12,18,40,.86); }
.as-close .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.as-close h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; max-width: 16ch; color: #fff; }
.as-close p { color: #CFD5E3; font-size: 20px; max-width: 34em; }

.as-reveal { animation: as-up .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes as-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body.home .site-foot { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .as-hero-bg, .as-ticker .move, .as-dot, .as-prog i.n, .as-card, .as-reveal { animation: none !important; }
  .as-ticker .rail { overflow-x: auto; }
}

@media (max-width: 760px) {
  .as-hero { min-height: 0; }
  .as-hero-body { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 150px; padding-bottom: 40px; }
  .as-lead { font-size: 18px; margin: 18px 0 26px; }
  .as-card { transform: none; animation: none; }
  .as-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-stat { padding: 28px 18px; border-bottom: 1px solid var(--line); }
  .as-stat:nth-child(2n) { border-right: 0; }
  .as-stat b { font-size: 42px; }
  .as-sec { padding: 56px 0; }
  .as-news { grid-template-columns: minmax(0, 1fr); }
  .as-big { min-height: 380px; }
  .as-big h3 { font-size: 28px; }
  .as-big .b { padding: 22px; }
  .as-small { grid-template-columns: 110px minmax(0, 1fr); }
  .as-small .ph { height: 110px; }
  .as-small h3 { font-size: 18px; }
  .as-week { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .as-close .wrap { padding-top: 72px; padding-bottom: 72px; }
  .as-ticker .lbl { padding: 12px 14px; font-size: 12px; }
}
.as-ilerleme { margin-top: 14px; color: #C9D0DC; font-size: 17px; }
.as-sayac { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #EAF5EE; color: #0F6E3C; }
.as-sayac.acil { background: #FBE6E3; color: #A3261B; }
