/*
Theme Name: Öğrenci İstanbul
Author: Öğrenci İstanbul
Description: İstanbul öğrencileri için özel, mobil uyumlu rehber teması.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ogrenci-istanbul
*/

:root {
	--ink: #18283a;
	--muted: #61748a;
	--blue: #1d5f9e;
	--blue-deep: #164a7c;
	--blue-soft: #e8f1f8;
	--mist: #f4f8fb;
	--line: #dce6ee;
	--white: #fff;
	--radius: 18px;
	--shadow: 0 15px 45px rgba(28, 73, 107, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #79acd7; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--blue); color: white; }
.skip-link:focus { top: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 100px; background: var(--blue-soft); color: var(--blue-deep); font-size: .75rem; font-weight: 700; line-height: 1.3; }
.pill-muted { background: #edf0f3; color: #627080; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; border: 1px solid transparent; border-radius: 10px; padding: 11px 20px; font-size: .91rem; font-weight: 750; line-height: 1.2; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 18px rgba(29, 95, 158, .16); }
.button-primary:hover { background: var(--blue-deep); }
.button-quiet { background: transparent; color: var(--blue-deep); border-color: var(--line); }
.button-quiet:hover { background: var(--blue-soft); }
.button-light { background: white; color: var(--blue-deep); }

/* Header */
.site-header { position: relative; z-index: 20; background: white; border-bottom: 1px solid #ebf0f3; }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { width: clamp(174px, 17vw, 250px); height: auto; }
.brand .custom-logo-link { display: block; }
.site-nav-list { display: flex; align-items: center; gap: clamp(12px, 1.55vw, 26px); list-style: none; padding: 0; margin: 0; }
.site-nav-list a { display: block; padding: 12px 0; color: #344559; font-size: .83rem; font-weight: 680; white-space: nowrap; transition: color .2s; }
.site-nav-list a:hover, .site-nav-list a[aria-current="page"], .site-nav-list .current-menu-item a { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

/* Home */
.hero { overflow: hidden; background: linear-gradient(120deg, #f9fcfe 0%, #f3f8fc 55%, #edf5fa 100%); }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 32px; }
.hero-copy { position: relative; z-index: 2; padding: 64px 0 72px; }
.hero-eyebrow { margin-bottom: 23px; }
.eyebrow-line { width: 22px; height: 2px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 660px; margin-bottom: 23px; font-size: clamp(2.9rem, 5vw, 5rem); font-weight: 780; line-height: 1.09; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; }
.hero-copy > p { max-width: 510px; margin-bottom: 29px; color: var(--muted); font-size: 1.09rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 36px; color: #6b7b8d; font-size: .83rem; }
.hero-note-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #dcefe9; color: #27765d; font-size: .8rem; font-weight: 800; }
.hero-art { position: relative; height: 488px; align-self: end; margin-bottom: 34px; }
.art-circle { position: absolute; border-radius: 50%; }
.art-circle-one { width: 420px; height: 420px; top: 10px; right: -28px; background: #dbeaf5; }
.art-circle-two { width: 270px; height: 270px; top: 92px; right: 50px; background: #bdd7e9; opacity: .6; }
.art-skyline { position: absolute; display: flex; align-items: flex-end; gap: 8px; left: 8%; right: 0; bottom: 86px; height: 230px; border-bottom: 9px solid #90b4d1; opacity: .78; }
.building { width: 17%; height: 42%; display: block; background: #a7c4db; border-radius: 7px 7px 0 0; }
.building::before { content: ''; display: block; width: 55%; height: 30%; margin: 22px auto; border-top: 5px solid #e7f1f8; border-bottom: 5px solid #e7f1f8; }
.b1 { height: 49%; }.b2 { height: 72%; }.b3 { height: 62%; }.b4 { height: 87%; }.b5 { height: 54%; }.b6 { height: 64%; }
.art-book { position: absolute; left: 22%; bottom: 44px; width: 58%; height: 154px; filter: drop-shadow(0 17px 18px rgba(29, 82, 128, .18)); transform: rotate(-7deg); }
.book-left, .book-right { position: absolute; bottom: 0; width: 50%; height: 96%; background: #fff; border: 11px solid #2166a2; border-bottom-width: 14px; }
.book-left { left: 0; transform: skewY(9deg); border-radius: 8px 2px 4px 19px; }
.book-right { right: 0; transform: skewY(-9deg); border-radius: 2px 8px 19px 4px; }
.book-spine { position: absolute; z-index: 2; left: 48.5%; bottom: 0; width: 3%; height: 88%; background: #2166a2; }
.art-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 16px; background: white; border: 1px solid #edf2f5; border-radius: 11px; box-shadow: var(--shadow); color: #405d78; font-size: .79rem; font-weight: 700; }
.art-label-top { top: 57px; left: 1%; transform: rotate(-6deg); }
.art-label-top span { color: #e7ac5a; }
.art-label-bottom { right: -2%; bottom: 51px; transform: rotate(4deg); }
.art-label-bottom span { color: #82b9a6; }
.section { padding: 86px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.16; letter-spacing: -.045em; }
.section-heading p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: .93rem; line-height: 1.7; }
.section-paths { background: white; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.path-card { position: relative; min-height: 282px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c5dbe9; }
.path-number { color: #8fa1b1; font-size: .75rem; font-weight: 750; letter-spacing: .11em; }
.path-icon { display: grid; place-items: center; width: 65px; height: 65px; margin-top: 22px; margin-bottom: 15px; border-radius: 16px; font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.path-university .path-icon { color: #2e6898; background: #e8f3fa; }
.path-dorm .path-icon { color: #40827e; background: #e6f4f0; }
.path-library .path-icon { color: #af783d; background: #f8f1e5; }
.path-event .path-icon { color: #8b69a1; background: #f2edf8; }
.path-card h3 { margin: 0 0 7px; font-size: 1.19rem; letter-spacing: -.025em; }
.path-card p { max-width: 180px; margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.55; }
.path-arrow { position: absolute; right: 24px; bottom: 20px; color: var(--blue); font-size: 1.3rem; }
.section-featured { background: var(--mist); }
.section-more { align-self: center; color: var(--blue); font-size: .89rem; font-weight: 750; white-space: nowrap; }
.section-more span { margin-left: 7px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { overflow: hidden; border: 1px solid #e2eaf0; border-radius: var(--radius); background: white; box-shadow: 0 4px 12px rgba(42, 76, 104, .025); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card-visual { position: relative; display: grid; place-items: center; height: 170px; overflow: hidden; background: linear-gradient(130deg, #dfedf7, #eef6fa 70%); }
.guide-card-visual::before { content: ''; position: absolute; width: 200px; height: 200px; right: -52px; top: -80px; border: 25px solid rgba(255,255,255,.55); border-radius: 50%; }
.guide-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-symbol { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 22px; border: 2px solid rgba(33, 102, 162, .22); color: #3572a5; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 700; transform: rotate(-6deg); }
.guide-card-body { padding: 23px 24px 24px; }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.guide-card-top .eyebrow { font-size: .69rem; }
.guide-card h3 { min-height: 2.8em; margin: 0 0 8px; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; }
.guide-card h3 a:hover { color: var(--blue); }
.guide-card p { min-height: 3.3em; margin: 0 0 18px; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.guide-card .card-date { min-height: 0; margin-bottom: 6px; color: var(--blue-deep); font-weight: 700; }
.text-link { color: var(--blue); font-size: .84rem; font-weight: 750; }
.text-link span { margin-left: 6px; }
.section-transport { padding-top: 0; background: var(--mist); }
.transport-banner { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 320px; overflow: hidden; padding: 46px 58px; border-radius: 24px; background: #225f96; color: white; }
.transport-banner .eyebrow { margin-bottom: 10px; color: #c4e3f6; }
.transport-banner h2 { max-width: 550px; margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.1; letter-spacing: -.04em; }
.transport-banner p { max-width: 500px; margin-bottom: 22px; color: #e0ebf5; font-size: .95rem; }
.transport-mark { position: relative; align-self: center; margin-right: 64px; color: rgba(255,255,255,.14); font-family: Georgia, serif; font-size: 10rem; font-weight: 800; line-height: .66; letter-spacing: -.12em; transform: rotate(-8deg); }
.transport-mark span { margin-left: 75px; }

/* Archives and detail */
.page-intro { padding: 67px 0 62px; background: linear-gradient(120deg, #f4f9fc, #edf5fa); }
.page-intro .eyebrow { margin-bottom: 13px; }
.page-intro h1 { margin-bottom: 13px; font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: 1.1; letter-spacing: -.05em; }
.page-intro p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }
.page-intro .button { margin-top: 17px; }
.listing-section { padding-top: 42px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 18px; margin-bottom: 50px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 26px rgba(36, 84, 122, .045); }
.filter-bar label { display: block; min-width: 170px; flex: 1; }
.filter-bar label.filter-search { flex: 2; min-width: 220px; }
.filter-bar label > span { display: block; margin-bottom: 5px; color: #8292a2; font-size: .67rem; font-weight: 800; letter-spacing: .13em; }
.filter-bar input, .filter-bar select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d9e4eb; border-radius: 8px; background: #fafcfd; color: var(--ink); font-size: .89rem; }
.filter-bar .button { min-height: 44px; margin-bottom: 0; font-size: .82rem; }
.results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.results-heading h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.03em; }
.results-heading span { color: var(--muted); font-size: .86rem; }
.source-note { margin: 30px 0 0; color: #8493a1; font-size: .81rem; }
.empty-note { padding: 48px; border: 1px dashed #c8dce9; border-radius: var(--radius); background: #f8fbfd; color: var(--muted); }
.empty-note h2, .empty-note h3 { color: var(--ink); }
.pagination, .page-numbers { margin-top: 34px; }
.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.page-numbers a, .page-numbers span { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 6px; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); font-weight: 700; }
.page-numbers .current { color: white; background: var(--blue); border-color: var(--blue); }
.breadcrumb { display: flex; align-items: center; gap: 12px; padding-top: 34px; color: #73869a; font-size: .81rem; }
.breadcrumb a:hover { color: var(--blue); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 70px; padding-top: 34px; padding-bottom: 100px; }
.detail-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.detail-main h1 { margin-bottom: 27px; font-size: clamp(2.3rem, 4.1vw, 3.9rem); line-height: 1.15; letter-spacing: -.045em; }
.detail-image { overflow: hidden; margin-bottom: 29px; border-radius: var(--radius); background: var(--mist); }
.detail-image img { width: 100%; max-height: 450px; object-fit: cover; }
.prose { color: #3b4f61; font-size: 1rem; line-height: 1.9; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.3; letter-spacing: -.03em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.verification { margin-top: 35px; padding: 18px 20px; border-radius: 11px; background: #eef6f4; color: #496d65; font-size: .86rem; }
.verification span { margin-right: 6px; font-weight: 800; }
.verification a { font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.detail-aside { padding-top: 13px; }
.fact-panel { position: sticky; top: 26px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 30px rgba(31, 77, 108, .05); }
.fact-panel h2 { margin-bottom: 21px; font-size: 1.15rem; letter-spacing: -.025em; }
.fact { padding: 13px 0; border-top: 1px solid #eaf0f3; }
.fact span { display: block; margin-bottom: 4px; color: #8393a0; font-size: .74rem; font-weight: 700; }
.fact strong { display: block; color: #354a5c; font-size: .91rem; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.fact-link { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-size: .84rem; font-weight: 750; text-align: center; }
.fact-link:hover { background: #d8e9f6; }
.page-body { max-width: 850px; padding-top: 48px; padding-bottom: 110px; }

/* Footer */
.site-footer { background: #153e65; color: #dae9f5; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr 1fr; gap: 85px; padding-top: 68px; padding-bottom: 56px; }
.footer-logo img { width: 242px; }
.site-footer p { max-width: 360px; margin: 20px 0 0; color: #b9d2e4; font-size: .89rem; line-height: 1.75; }
.site-footer h2 { margin: 2px 0 20px; color: white; font-size: .92rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer li a { color: #b9d2e4; font-size: .88rem; }
.site-footer li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 27px; border-top: 1px solid rgba(255,255,255,.15); color: #9cbdd4; font-size: .76rem; }

@media (max-width: 1080px) {
	.site-nav-list { gap: 12px; }
	.site-nav-list a { font-size: .76rem; }
	.hero-grid { min-height: 530px; }
	.hero-art { transform: scale(.88); transform-origin: right bottom; }
	.path-card { padding: 20px; }
}
@media (max-width: 860px) {
	.header-inner { min-height: 76px; }
	.menu-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 22px rgba(20, 60, 90, .1); }
	.site-nav.is-open { display: block; }
	.site-nav-list { display: block; }
	.site-nav-list a { padding: 10px 0; font-size: .94rem; }
	.hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 0; }
	.hero-copy { padding: 64px 0 0; }
	.hero-art { width: 560px; max-width: 100%; height: 350px; justify-self: center; transform: scale(.8); transform-origin: center bottom; margin: -20px 0 0; }
	.path-grid { grid-template-columns: repeat(2, 1fr); }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.detail-layout { grid-template-columns: 1fr; gap: 30px; }
	.detail-aside { padding-top: 0; }
	.fact-panel { position: static; }
	.footer-grid { gap: 30px; }
}
@media (max-width: 600px) {
	.container { width: min(100% - 32px, 1160px); }
	.brand img { width: 194px; }
	.hero-copy { padding-top: 48px; }
	.hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
	.hero-copy > p { font-size: 1rem; }
	.hero-actions { align-items: stretch; }
	.hero-actions .button { width: 100%; justify-content: space-between; }
	.hero-note { margin-top: 22px; }
	.hero-art { width: 100%; height: 270px; transform: scale(.68); transform-origin: center bottom; margin: -24px 0 0; }
	.art-label-top { left: 0; }
	.art-label-bottom { right: 0; }
	.section { padding: 64px 0; }
	.section-heading { display: block; }
	.section-heading p { margin-top: 13px; }
	.path-grid { gap: 10px; }
	.path-card { min-height: 225px; padding: 16px; }
	.path-icon { width: 47px; height: 47px; margin-top: 14px; margin-bottom: 11px; font-size: 1.5rem; border-radius: 12px; }
	.path-card h3 { font-size: 1rem; }
	.path-card p { font-size: .75rem; }
	.path-arrow { right: 14px; bottom: 12px; }
	.card-grid { grid-template-columns: 1fr; }
	.guide-card h3 { min-height: 0; }
	.guide-card p { min-height: 0; }
	.section-more { display: inline-block; margin-top: 16px; }
	.transport-banner { min-height: 0; padding: 36px 28px; }
	.transport-banner h2 { font-size: 2.1rem; }
	.transport-mark { display: none; }
	.page-intro { padding: 49px 0; }
	.filter-bar { display: grid; margin-bottom: 37px; }
	.filter-bar label { min-width: 0; }
	.filter-bar .button { width: 100%; justify-content: space-between; }
	.detail-layout { padding-bottom: 68px; }
	.detail-main h1 { font-size: 2.5rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 54px; }
	.footer-bottom { flex-direction: column; gap: 5px; }
}
