/*
Theme Name: Cansev Teacher
Theme URI: https://www.cansevteacher.com
Author: Cansev Teacher
Description: İngilizce öğrenci ve öğretmen sitesi. Sol menü, tek sütun içerik. MEB İngilizce Dersi Öğretim Programı'na göre 2–12. sınıf temaları, ÇYDEM, LGS ve YDT bölümleri.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cansevteacher
*/

:root {
  --ct-menu: #1E2A5A;
  --ct-accent: #C2410C;
  --ct-cydem: #0F766E;
  --ct-bg: #F6F7FB;
  --ct-card: #FFFFFF;
  --ct-line: #E4E7F0;
  --ct-ink: #1F2433;
  --ct-navy: #1E2A5A;
  --ct-muted: #4A5068;
  --ct-soft: #5A6078;
  --ct-chip: #F1F3F9;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ct-bg); color: var(--ct-ink); font-family: Nunito, system-ui, sans-serif; }
a { color: var(--ct-navy); }
a:hover { color: var(--ct-accent); }
h1, h2, h3 { font-family: Fredoka, Nunito, sans-serif; color: var(--ct-navy); }

.ct-skip { position: absolute; left: -9999px; }
.ct-skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }

.ct-layout { display: flex; flex-wrap: wrap; min-height: 100vh; }

/* SOL MENÜ */
.ct-side { flex: 1 1 260px; max-width: 100%; background: var(--ct-menu); color: #fff; padding: 28px 20px; display: flex; flex-direction: column; gap: 22px; }
.ct-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.ct-brand:hover { color: #fff; }
.ct-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--ct-accent); display: flex; align-items: center; justify-content: center; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 22px; flex: 0 0 auto; }
.ct-logo img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.ct-brand-name { display: block; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
.ct-brand-sub { display: block; font-size: 13px; color: #C9D0EA; }
.ct-search { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #C9D0EA; }
.ct-search input { height: 44px; border-radius: 10px; border: 0; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ct-ink); width: 100%; }
.ct-group { display: flex; flex-direction: column; gap: 4px; }
.ct-group-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #C9D0EA; padding: 0 14px; }
.ct-link { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 14px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.ct-link:hover { background: rgba(255,255,255,.10); color: #fff; }
.ct-link.is-active { background: rgba(255,255,255,.18); font-weight: 800; }
.ct-link.is-home { min-height: 44px; font-weight: 800; }
.ct-badge { font-size: 11px; font-weight: 800; background: var(--ct-accent); color: #fff; border-radius: 999px; padding: 2px 8px; }
.ct-badge.is-soon { background: rgba(255,255,255,.22); }
.ct-drop { border-radius: 12px; }
.ct-drop > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: 16px; color: #fff; }
.ct-drop > summary::-webkit-details-marker { display: none; }
.ct-drop > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.ct-drop[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.ct-drop > summary:hover { background: rgba(255,255,255,.10); }
.ct-drop > summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ct-drop-body { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 8px 12px; }
.ct-drop.is-cydem { background: var(--ct-cydem); }
.ct-drop.is-cydem > summary:hover { background: rgba(255,255,255,.12); }
.ct-drop.is-cydem .ct-drop-body { padding-right: 6px; }
.ct-side { gap: 12px; }
.ct-side > .ct-search, .ct-side > .ct-brand { margin-bottom: 8px; }
.ct-cydem { display: flex; flex-direction: column; gap: 14px; background: var(--ct-cydem); border-radius: 14px; padding: 16px 8px 12px; }
.ct-cydem-title { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 17px; color: #fff; padding: 0 14px; }
.ct-cydem .ct-group-title { color: #D3F2EC; }
.ct-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.ct-login { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #fff; color: var(--ct-navy); text-decoration: none; font-weight: 800; }

/* TEK SÜTUN İÇERİK */
.ct-main { flex: 999 1 560px; min-width: 0; padding: 48px 32px 80px; }
.ct-col { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.ct-card { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.ct-hero { border-radius: 24px; padding: 44px 40px; gap: 18px; }
.ct-hero h1 { margin: 0; font-weight: 700; font-size: 48px; line-height: 1.1; }
.ct-hero p, .ct-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ct-muted); }
.ct-tag { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--ct-accent); background: #FFF1EA; border-radius: 999px; padding: 6px 14px; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--ct-accent); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; }
.ct-btn:hover { color: #fff; filter: brightness(.94); }
.ct-btn.is-soft { background: #EEF1FA; color: var(--ct-navy); }
.ct-section { display: flex; flex-direction: column; gap: 16px; }
.ct-section > h2 { margin: 0; font-weight: 600; font-size: 30px; }
.ct-card h3 { margin: 0; font-weight: 600; font-size: 22px; }
.ct-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ct-muted); }
.ct-card-head { display: flex; align-items: center; gap: 14px; }
.ct-dot { width: 14px; height: 14px; border-radius: 999px; flex: 0 0 auto; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ct-chip); color: var(--ct-navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.ct-chip.is-dark { background: var(--ct-navy); color: #fff; }
.ct-chip.is-dark:hover { color: #fff; }
.ct-feature h3 { font-family: Nunito, sans-serif; font-size: 18px; font-weight: 800; }

/* SINIF SAYFASI */
.ct-crumb { font-size: 14px; color: var(--ct-soft); display: flex; gap: 8px; flex-wrap: wrap; }
.ct-crumb strong { color: var(--ct-navy); }
.ct-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-pill { font-size: 14px; font-weight: 700; color: var(--ct-navy); background: #EEF1FA; border-radius: 999px; padding: 6px 14px; }
.ct-pill.is-strong { color: #fff; font-weight: 800; }
.ct-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding: 0 16px; border-radius: 12px; border: 1px solid #D5DAE8; background: #fff; color: var(--ct-navy); text-decoration: none; font-weight: 800; font-size: 15px; }
.ct-tab.is-active { background: var(--ct-accent); border-color: var(--ct-accent); color: #fff; }
.ct-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-radius: 18px; padding: 20px 24px; text-decoration: none; color: var(--ct-ink); }
.ct-banner strong { display: block; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; }
.ct-banner span.ct-banner-text { font-size: 15px; color: var(--ct-muted); }
.ct-banner .ct-btn { min-height: 44px; }
.ct-banner.is-lgs { background: #FFF1EA; border: 1px solid #F6C9B2; }
.ct-banner.is-lgs strong { color: #9A3412; }
.ct-banner.is-ydt { background: #F3EEFF; border: 1px solid #D6C8F7; }
.ct-banner.is-ydt strong { color: #5B21B6; }
.ct-banner.is-ydt .ct-btn { background: #6D28D9; }
.ct-theme-head { display: flex; align-items: flex-start; gap: 16px; }
.ct-num { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 22px; }
.ct-theme-sub { font-size: 15px; color: var(--ct-soft); }
.ct-subs { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5; color: #3A4058; }
.ct-note { background: #EEF1FA; border-radius: 18px; padding: 20px 24px; }
.ct-note h3 { margin: 0 0 6px; font-family: Nunito, sans-serif; font-size: 17px; font-weight: 800; }
.ct-note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ct-muted); }

/* KONU VİDEOLARI */
.ct-chip.is-video { gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; background: #B91C1C; color: #fff; }
.ct-chip.is-video:hover { background: #991B1B; color: #fff; }
.ct-vhead { display: flex; flex-direction: column; gap: 6px; }
.ct-vhead h1 { margin: 0; font-size: 44px; line-height: 1.1; }
.ct-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ct-player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 8px 0 #B45309; }
.ct-player iframe, .ct-player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-player-poster { padding: 0; cursor: pointer; background: #111; }
.ct-player-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 60px; border-radius: 16px; background: #E11D1D; display: flex; align-items: center; justify-content: center; }
.ct-vlist { gap: 10px; }
.ct-vlist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ct-vlist-head h2 { margin: 0; font-family: Nunito, sans-serif; font-size: 19px; font-weight: 800; }
.ct-vlist-head span { font-size: 14px; color: var(--ct-soft); }
.ct-vlist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ct-vitem { width: 100%; display: flex; align-items: center; gap: 16px; padding: 8px; border: 2px solid transparent; border-radius: 14px; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--ct-ink); }
.ct-vitem:hover { background: #F6F7FB; }
.ct-vitem.is-active { background: #FFF1E6; border-color: #E8A06A; }
.ct-vitem img { width: 168px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: 0 0 auto; background: #E4E7F0; }
.ct-vitem strong { display: block; font-size: 16px; line-height: 1.35; }
.ct-vitem span span { font-size: 14px; color: var(--ct-soft); }
.ct-vmore { margin-top: 6px; font-weight: 700; color: #B45309; text-decoration: none; }
.ct-back { font-weight: 800; text-decoration: none; }
@media (max-width: 560px) { .ct-vitem img { width: 120px; } .ct-vhead h1 { font-size: 32px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* WORDPRESS İÇERİK */
.ct-entry { line-height: 1.7; font-size: 17px; }
.ct-entry img { max-width: 100%; height: auto; }
.ct-entry h1 { font-size: 40px; margin: 0 0 16px; }

.ct-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ct-line); font-size: 14px; color: var(--ct-soft); }

@media (max-width: 700px) {
  .ct-main { padding: 28px 16px 60px; }
  .ct-hero { padding: 28px 22px; }
  .ct-hero h1 { font-size: 34px; }
}
