/* Keçiören Hızlı Okuma — bağımsız Çayyolu tasarım sistemi */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ba-bg: #ffffff;
  --ba-soft: #fbf9f8;
  --ba-ink: #27232c;
  --ba-muted: #625a6b;
  --ba-purple: #4b2683;
  --ba-purple-dark: #241a31;
  --ba-orange: #f4862f;
  --ba-line: #e6e0e8;
  --ba-shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; background: var(--ba-bg); color: var(--ba-ink); font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(var(--ba-shell), calc(100% - 48px)); margin-inline: auto; }
.wide-shell { width: min(1680px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; z-index: 9999; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 14px; clip: auto; background: #fff; color: var(--ba-purple); }

.site-header { position: sticky; top: 0; z-index: 60; height: 80px; border-bottom: 1px solid var(--ba-line); background: #fff; }
.header-inner { height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.brand { display: inline-flex; width: 170px; align-items: center; }
.brand img { display: block; width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; color: #37313f; font-size: .9rem; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ba-purple); }
.desktop-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -27px; height: 2px; background: var(--ba-orange); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ba-purple); cursor: pointer; }
.icon-button:hover { background: #f3f0f5; }
.menu-button { display: none; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 0; border-radius: 3px; background: var(--ba-purple); color: #fff; font-weight: 700; cursor: pointer; }
.button:hover { background: #3b1d69; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .875rem; }
.button-light { background: #fff; color: var(--ba-purple); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ba-purple); font-weight: 650; }
.text-link::after { content: '\2192'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

.mobile-nav { display: none; position: fixed; z-index: 55; inset: 80px 0 auto; padding: 18px 24px 26px; border-bottom: 1px solid var(--ba-line); background: #fff; }
.mobile-nav.is-open { display: grid; }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--ba-line); font-size: 1.1rem; font-weight: 600; }
.mobile-nav .button { margin-top: 18px; border-bottom: 0; }

.search-panel { position: fixed; z-index: 80; inset: 0; display: none; align-items: flex-start; justify-content: center; padding: 120px 24px 24px; background: rgba(36,26,49,.38); }
.search-panel.is-open { display: flex; }
.search-card { width: min(680px, 100%); padding: 28px; background: #fff; }
.search-card h2 { margin: 0 0 18px; font-size: 1.7rem; font-weight: 500; }
.search-card form { display: flex; gap: 10px; }
.search-card input { flex: 1; min-width: 0; height: 52px; padding: 0 15px; border: 1px solid var(--ba-line); }
.search-close { float: right; margin: -10px -10px 8px 10px; }

.home-hero { padding: 28px 0 42px; background: #fff; }
.hero-card { min-height: 649px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 54px; padding: 48px; border: 1px solid rgba(45,29,62,.06); background: var(--ba-soft); }
.hero-location { margin: 0 0 12px; color: #7b7282; font-size: .86rem; }
.institution-name { margin: 0 0 18px; color: var(--ba-purple); font-weight: 600; }
.hero-copy h1 { max-width: 650px; margin: 0; font-size: clamp(3rem, 4.2vw, 58px); font-weight: 400; line-height: 1.01; letter-spacing: -.042em; text-wrap: balance; }
.hero-copy h1 em { color: var(--ba-purple); font-style: italic; }
.hero-lede { max-width: 620px; margin: 26px 0 0; color: #494150; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.hero-form { display: flex; flex-direction: column; padding: 30px; border: 1px solid rgba(75,38,131,.11); border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(38,23,58,.08); }
.hero-form .kicker { margin: 0 0 4px; color: #8256b6; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-form h2 { margin: 0; font-size: 1.72rem; font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.hero-form .form-intro { margin: 7px 0 18px; color: #776e7f; font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #ddd7e1; border-radius: 11px; background: #fff; color: var(--ba-ink); font-size: .82rem; outline: 0; }
.field textarea { min-height: 66px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ba-purple); box-shadow: 0 0 0 3px rgba(75,38,131,.1); }
.hero-form .button { width: 100%; margin-top: 13px; }
.privacy-note { margin: 9px 0 0; color: #8b8391; text-align: center; font-size: .68rem; }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 19px; border-top: 1px solid var(--ba-line); color: #765b8f; font-size: .78rem; }
.hero-bottom a { font-weight: 650; }

.section { padding: 86px 0; }
.section-soft { background: #f7f5f8; }
.editorial-grid { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: 74px; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 26px; }
.section-heading h2, .process-heading h2, .closing-cta h2 { margin: 0; font-size: clamp(2.25rem, 4.1vw, 4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.course-grid, .post-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 42px 28px; }
.card-image { display: block; overflow: hidden; aspect-ratio: 5 / 4; background: #ece8ef; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-image:hover img { transform: scale(1.025); }
.card-body { padding-top: 22px; }
.meta { margin: 0 0 10px; color: var(--ba-purple); font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.card-body h2, .card-body h3 { margin: 0; font-size: clamp(1.35rem,2vw,1.9rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.card-body p:not(.meta) { color: var(--ba-muted); line-height: 1.7; }
.card-body .text-link { margin-top: 6px; }
.course-archive { grid-template-columns: repeat(3, minmax(0,1fr)); }
.post-list { display: grid; }
.post-row { padding: 0 0 30px; border-bottom: 1px solid var(--ba-line); }
.post-row + .post-row { padding-top: 30px; }
.post-row h3 { margin: 0; font-size: clamp(1.4rem,2.2vw,2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.post-row > p:not(.meta) { color: var(--ba-muted); }
.migrated-prose { color: #4f4857; }
.migrated-prose p { margin: 0 0 22px; font-size: 1.02rem; line-height: 1.85; }
.migrated-prose h2 { margin: 54px 0 18px; font-size: clamp(1.8rem,3vw,2.35rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; color: var(--ba-ink); }
.migrated-prose h3 { margin: 38px 0 14px; color: var(--ba-ink); font-size: 1.28rem; }
.migrated-prose ul, .migrated-prose ol { padding-left: 1.4rem; }
.migrated-prose a { color: var(--ba-purple); text-decoration: underline; text-underline-offset: 3px; }
.migrated-prose table { width: 100%; border-collapse: collapse; }
.migrated-prose th, .migrated-prose td { padding: 13px 15px; border: 1px solid var(--ba-line); text-align: left; }

.program-intro { background: #fff; }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 45px; border-top: 1px solid var(--ba-line); }
.feature-list article { padding: 28px 28px 8px 0; }
.feature-list article + article { padding-left: 28px; border-left: 1px solid var(--ba-line); }
.feature-list span { color: var(--ba-orange); font-size: .76rem; font-weight: 800; }
.feature-list h3 { margin: 13px 0 10px; font-size: 1.25rem; font-weight: 600; }
.feature-list p { margin: 0; color: var(--ba-muted); }
.process-section { background: var(--ba-purple-dark); color: #fff; }
.process-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; margin-bottom: 45px; }
.process-heading p { margin: 0; color: #d9d0e1; }
.process-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid #66586f; list-style: none; }
.process-list li { display: flex; flex-direction: column; gap: 22px; padding: 28px 18px 10px 0; }
.process-list span { color: #ff9d55; font-size: .78rem; font-weight: 800; }
.process-list strong { font-size: 1.22rem; font-weight: 600; }
.closing-cta { padding: 70px 0; background: var(--ba-orange); color: #24160d; }
.closing-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.closing-cta h2 em { color: var(--ba-purple); font-style: italic; }

.page-hero { padding: 76px 0 64px; border-bottom: 1px solid var(--ba-line); background: var(--ba-soft); }
.breadcrumbs { margin: 0 0 24px; color: #756c7b; font-size: .82rem; }
.page-hero h1, .article-header h1 { max-width: 980px; margin: 0; font-size: clamp(2.8rem,6vw,6rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.page-hero p { max-width: 760px; margin: 25px 0 0; color: var(--ba-muted); font-size: 1.08rem; }
.content-section { padding: 76px 0 110px; }
.content-shell { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.article-header { width: min(1080px, calc(100% - 48px)); margin-inline: auto; padding: 84px 0 0; }
.article-meta { margin: 0 0 16px; color: var(--ba-purple); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.article-image { width: min(1180px, calc(100% - 48px)); margin: 50px auto 0; }
.article-image img { width: 100%; max-height: 680px; object-fit: cover; }
.article-summary { max-width: 760px; margin: 26px 0 0; color: var(--ba-muted); font-size: 1.08rem; }
.article-cta { margin-top: 54px; padding: 34px; background: var(--ba-soft); border: 1px solid var(--ba-line); }
.article-cta h2 { margin-top: 0; }
.article-cta .button { color: #fff; text-decoration: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ba-line); }
.pagination .current { background: var(--ba-purple); color: #fff; }
.empty-state { padding: 80px 0; text-align: center; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(52px, 9vw, 130px); align-items: start; }
.contact-details h2 { margin: 0 0 38px; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; }
.contact-directory { margin: 0; }
.contact-directory > div { padding: 22px 0; border-top: 1px solid var(--ba-line); }
.contact-directory dt { margin-bottom: 8px; color: #625a6b; font-size: .94rem; }
.contact-directory dd { margin: 0; font-size: 1.08rem; }
.contact-directory a { color: var(--ba-purple); }
.contact-conversation { padding-left: 64px; border-left: 1px solid var(--ba-line); }
.contact-conversation h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.contact-conversation h2 em { color: var(--ba-purple); font-style: italic; }
.contact-conversation > p { max-width: 420px; margin: 24px 0 30px; color: var(--ba-muted); }

.site-footer { padding: 64px 0 24px; background: var(--ba-purple-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr 1fr .8fr; gap: 40px; }
.footer-brand img { width: 190px; padding: 8px; background: #fff; }
.footer-brand p { max-width: 350px; color: #cfc6d9; }
.footer-grid h2 { margin: 0 0 20px; font-size: .94rem; font-weight: 600; color: #eee9f3; }
.footer-grid nav, .footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid .footer-col p { margin: 0 0 12px; color: #ddd5e5; font-size: .875rem; line-height: 1.55; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #ada4b8; font-size: .82rem; }
.whatsapp-fab { position: fixed; z-index: 40; right: 18px; bottom: 18px; min-height: 45px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border-radius: 3px; background: var(--ba-purple); color: #fff; font-size: .84rem; font-weight: 650; }

*:focus-visible { outline: 3px solid rgba(75,38,131,.4); outline-offset: 3px; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-card { grid-template-columns: 1fr; gap: 34px; }
  .editorial-grid { grid-template-columns: .8fr 1.2fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .course-archive { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  body.admin-bar .site-header { top: 46px; }
  .shell { width: calc(100% - 32px); }
  .wide-shell { width: calc(100% - 32px); }
  .brand { width: 148px; }
  .home-hero { padding: 18px 0 28px; }
  .hero-card { min-height: 0; padding: 28px 20px; }
  .hero-copy h1 { font-size: 2.55rem; line-height: 1.08; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .text-link { justify-content: center; min-height: 42px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .section { padding: 58px 0; }
  .editorial-grid, .process-heading { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-conversation { padding: 36px 0 0; border-top: 1px solid var(--ba-line); border-left: 0; }
  .section-heading h2, .process-heading h2, .closing-cta h2 { font-size: 2.1rem; }
  .course-grid, .post-grid, .feature-list, .process-list, .course-archive { grid-template-columns: 1fr; }
  .feature-list article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--ba-line); }
  .process-list { border-top: 0; }
  .process-list li { display: grid; grid-template-columns: 42px 1fr; padding: 20px 0; border-top: 1px solid #66586f; gap: 14px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 46px 0; }
  .page-hero h1, .article-header h1 { font-size: 2.5rem; line-height: 1.1; }
  .content-section { padding: 52px 0 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .whatsapp-fab { width: 46px; padding: 0; justify-content: center; }
  .whatsapp-fab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
