@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --forest: #123f35;
  --forest-deep: #0b3028;
  --gold: #c69b43;
  --gold-light: #e4c77b;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --ink: #18332d;
  --stone: #5a6862;
  --line: #d9cdb0;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, [role="button"], .gold-btn, .cream-btn, .text-btn { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 94%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  backdrop-filter: blur(10px);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--gold);
}
.bar {
  width: min(var(--wrap), calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}
.brand img { width: 8.25rem; height: 8.25rem; object-fit: contain; flex: none; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.05;
}
.brand em {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--stone);
  font-family: var(--sans);
}
.desk { display: none; align-items: center; gap: 0.05rem; margin-left: auto; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; flex: none; }
.desk + .bar-end { margin-left: 0.35rem; }
.nav-link, .drop > button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  font: 600 calc(0.7rem + 1px)/1 var(--sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 0.38rem;
  white-space: nowrap;
}
.nav-link.is-on, .drop.is-on > button { color: var(--forest); box-shadow: inset 0 -2px 0 var(--gold); }
.drop { position: relative; flex: none; display: flex; align-items: center; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 15.5rem;
  padding: 0.4rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  z-index: 30;
}
.drop.open .drop-menu, .drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
.drop-menu a {
  text-decoration: none;
  padding: 0.7rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--ink);
}
.drop-menu a:hover { background: var(--cream); color: var(--forest); }
.gold-btn, .cream-btn, .text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  border: 0;
  font: 700 0.78rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gold-btn { background: var(--gold); color: var(--forest-deep); }
.gold-btn:hover { background: var(--gold-light); }
.cream-btn { background: var(--cream); color: var(--forest); }
.cream-btn:hover { background: white; }
.text-btn { background: transparent; color: var(--forest); border: 1px solid var(--line); }
.menu-btn {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.4rem 1rem 1rem;
  max-height: calc(100dvh - 6rem);
  overflow: auto;
}
.mobile[hidden] { display: none; }
.mobile .nav-link, .mobile .drop > button {
  display: flex;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
}
.mobile .drop-menu {
  position: static;
  display: grid;
  border: 0;
  border-top: 0;
  background: transparent;
  min-width: 0;
  padding: 0 0 0.4rem 0.6rem;
}
.mobile .drop:hover .drop-menu { display: grid; }
.mobile .gold-btn { margin-top: 0.8rem; width: 100%; }

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
  min-height: 26rem;
}
.page-hero { min-height: 18rem; }
.page-hero.short { min-height: 12rem; }
.hero img, .page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.hero img.on, .page-hero img { opacity: 1; }
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 48, 40, 0.9) 0%, rgba(11, 48, 40, 0.62) 48%, rgba(11, 48, 40, 0.28) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
}
.page-hero .hero-copy { padding: 3.2rem 0 2.4rem; }
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--cream);
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead, .page-hero .lead { color: color-mix(in srgb, var(--cream) 88%, white); font-size: 1.05rem; max-width: 38rem; }
.lede { color: var(--stone); max-width: 42rem; }
.hero .row, .page-hero .row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent);
  background: rgba(11, 48, 40, 0.35);
  color: var(--cream);
  font-size: 1.6rem;
}
.arrow.prev { left: 0.6rem; }
.arrow.next { right: 0.6rem; }
.dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.dots button {
  width: 44px;
  height: 8px;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--cream) 35%, transparent);
}
.dots button.on { background: var(--gold); }

.quote {
  background: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
}
.quote p {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: var(--forest);
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest-deep);
  color: var(--cream);
}
.stats div { padding: 1.4rem 0.8rem; text-align: center; }
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--gold-light);
}
.stats span { display: block; margin-top: 0.35rem; color: color-mix(in srgb, var(--cream) 75%, transparent); font-size: 0.92rem; }
.block { padding: 3.5rem 0 1rem; }
.block h2, .prose h1, .band h2 { margin: 0.2rem 0 0.8rem; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--forest); }
.lede { color: var(--stone); }
.boards, .cards, .grid, .gallery, .accounts { display: grid; gap: 1rem; }
.boards { margin: 1.6rem 0 2.5rem; }
.board, .card, .story, .accounts article {
  background: var(--paper);
  border: 1px solid var(--line);
}
.board, .card { padding: 1.2rem 1.15rem 0.9rem; }
.board h3, .card h3, .story h2, .story h3 { margin: 0 0 0.35rem; color: var(--forest); font-size: 1.7rem; }
.board p, .card p, .story p { margin: 0.3rem 0; color: var(--stone); }
.board ul { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.board a, .more {
  text-decoration: none;
  color: var(--forest);
  font-weight: 600;
}
.board li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid var(--line);
}
.board li a::before {
  content: "";
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
  margin-right: 0.65rem;
  flex: none;
}
.story { text-decoration: none; color: inherit; }
.story img, .gallery img, .band img { width: 100%; height: 12rem; object-fit: cover; }
.story div { padding: 0.95rem 1rem 1.15rem; }
.meta { color: var(--gold); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.split-head, .split { display: grid; gap: 1rem; align-items: end; }
.split-head { margin-bottom: 1rem; }
.band {
  margin-top: 2rem;
  background: var(--forest);
  color: var(--cream);
}
.band .split { padding: 2.2rem 0; align-items: center; }
.band h2, .band p { color: var(--cream); }
.band p { color: color-mix(in srgb, var(--cream) 82%, white); }
.prose { padding: 2.4rem 0 3.5rem; max-width: 48rem; }
.prose p, .prose li { color: var(--stone); }
.prose h2 { font-size: 2rem; margin: 1.6rem 0 0.5rem; }
.prose h3 { font-size: 1.4rem; margin: 1.2rem 0 0.4rem; color: var(--forest); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose blockquote { margin: 1.2rem 0; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--forest); font-family: var(--display); font-size: 1.5rem; line-height: 1.25; }
.prose a { color: var(--forest); }
.note {
  background: color-mix(in srgb, var(--gold) 12%, var(--paper));
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1rem;
  color: var(--ink);
}
.faculties {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.faculties li {
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--gold);
}
.accounts article { padding: 1rem 1.1rem; }
.iban { font-family: var(--display); font-size: 1.45rem; color: var(--forest); margin: 0.2rem 0; }
.gallery { padding-bottom: 3rem; }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); }
.gallery figcaption { padding: 0.8rem 0.9rem 1rem; }
.gallery figcaption span { display: block; color: var(--stone); }
.contact { display: grid; gap: 1.6rem; padding: 2.2rem 0 3.5rem; align-items: start; }
.contact-side { min-width: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.facts span { display: block; color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.facts p { margin: 0.25rem 0 0; }
.facts a { color: var(--forest); }
.map { margin-top: 1.2rem; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--forest-deep); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.55); }
.captcha { margin: 0.2rem 0 0.9rem; }
.captcha img, .captcha-fallback { display: block; width: 168px; height: 52px; border: 1px solid var(--line); background: var(--cream); letter-spacing: 0.2em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact form, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.1rem;
}
label { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; font-size: 0.86rem; font-weight: 700; color: var(--forest); }
label.check { display: flex; align-items: center; gap: 0.55rem; }
label.check input { width: auto; }
input, textarea, select {
  width: 100%;
  font: 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}
textarea { resize: vertical; }
.error { color: #8a2e24; min-height: 1.2em; }

.site-footer { position: relative; background: var(--forest-deep); color: var(--cream); margin-top: 2rem; }
.pattern {
  position: absolute;
  inset: 0;
  background: url("/media/pattern.jpg") center/cover;
  opacity: 0.08;
  pointer-events: none;
}
.foot-map { display: grid; gap: 1.2rem 1.5rem; }
.foot {
  position: relative;
  display: grid;
  gap: 1.8rem;
  padding: 2.4rem 0 1.6rem;
  grid-template-columns: 1fr;
}
.foot a { display: block; text-decoration: none; padding: 0.2rem 0; color: var(--cream); }
.foot p { color: color-mix(in srgb, var(--cream) 78%, white); }
.foot-brand strong, .foot-brand em { color: var(--cream); }
.desk .drop:nth-last-child(-n+3) .drop-menu { left: auto; right: 0; }
.foot-brand .mark {
  width: 8.25rem;
  height: 8.25rem;
  padding: 0.2rem;
  border-radius: 1.15rem;
  background: var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
  flex: none;
  display: grid;
}
.foot-brand .mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.legal a { color: var(--gold-light); text-decoration: none; }
.foot .eyebrow { color: var(--gold-light); }
.legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.8rem 0 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  color: color-mix(in srgb, var(--cream) 70%, white);
  font-size: 0.88rem;
}
.quiet { opacity: 0.7; }

.admin-body { background: var(--cream); }
.admin-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--forest-deep);
  color: var(--cream);
}
.admin-bar a, .admin-bar button { color: var(--cream); background: none; border: 0; font: inherit; }
.admin-wrap { width: min(68rem, calc(100% - 1.5rem)); margin: 1.2rem auto 3rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.admin-nav a {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.list { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.list a { background: var(--paper); border: 1px solid var(--line); padding: 0.75rem 0.9rem; text-decoration: none; }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .boards, .cards.four { grid-template-columns: 1fr 1fr; }
  .gallery, .accounts { grid-template-columns: 1fr 1fr; }
  .contact, .split, .split-head { grid-template-columns: 1fr 1fr; }
  .faculties { grid-template-columns: 1fr 1fr; }
  .brand em { display: block; }
}
@media (min-width: 1100px) {
  .menu-btn, .mobile { display: none !important; }
  .desk { display: flex; }
  .bar-end { margin-left: 0; }
  .boards, .grid, .cards.four { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1.6fr; }
  .foot-map { grid-template-columns: repeat(3, 1fr); }
  .faculties { grid-template-columns: 1fr 1fr 1fr; }
  .hero { min-height: 32rem; }
}
@media (max-width: 719px) {
  .brand img, .foot-brand .mark { width: 5.75rem; height: 5.75rem; }
  .brand strong { font-size: 1.12rem; }
  .brand em { display: none; }
  .bar-cta { display: none; }
  .hero-copy { padding-top: 3.2rem; }
  .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { transition: none; }
}

.notice-rail { border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.notice-pill {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  min-height: 2.6rem;
  padding: 0.45rem 1.1rem;
  border: 0;
  background: var(--forest);
  color: var(--cream);
  font: 600 0.92rem/1.2 var(--sans);
  text-align: center;
}
.notice-pill + .notice-pill { border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.notice-pill span {
  flex: none;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.notice-pill strong {
  flex: none;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
}
.notice-pill em { flex: none; font-style: normal; color: var(--gold-light); }
.notice-dialog {
  width: min(42rem, calc(100% - 1.5rem));
  max-height: min(40rem, calc(100% - 2rem));
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(11, 48, 40, 0.28);
}
.notice-dialog::backdrop { background: rgba(11, 48, 40, 0.58); }
.notice-dialog article { padding: 0 1.5rem 1.4rem; overflow: auto; max-height: min(36rem, calc(100vh - 4rem)); }
.notice-dialog h2 { margin: 0.15rem 0 0.8rem; font-size: clamp(2rem, 4vw, 2.7rem); }
.notice-dialog .prose { font-size: 1.02rem; }
.notice-dialog .gold-btn { margin-top: 0.4rem; }
.notice-close {
  display: block;
  margin: 0.75rem 0.75rem 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
}
@media (max-width: 719px) {
  .notice-pill { row-gap: 0.15rem; }
  .notice-pill strong { white-space: normal; }
}

/* Haber görselleri (panelde boyut + konum seçilir) */
img.pos-top { object-position: center top; }
img.pos-bottom { object-position: center bottom; }
.post-img { margin: 1.4rem 0; }
.post-img img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: var(--paper); }
.post-img figcaption { margin-top: 0.45rem; color: var(--stone); font-size: 0.92rem; line-height: 1.4; border-left: 2px solid var(--gold); padding-left: 0.6rem; }
.post-img--full { width: 100%; }
.post-img--large { width: 75%; }
.post-img--medium { width: 50%; }
.post-img--small { width: 33%; }
.post-img--center { margin-inline: auto; }
.prose .post-img--left { float: left; margin: 0.3rem 1.4rem 1rem 0; }
.prose .post-img--right { float: right; margin: 0.3rem 0 1rem 1.4rem; }
.post-img--full.post-img--left, .post-img--full.post-img--right { float: none; margin-inline: 0; }
.post-img--wide { width: min(64rem, calc(100vw - 2rem)); max-width: none; position: relative; left: 50%; transform: translateX(-50%); clear: both; }
.post-gallery { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.2rem 1.4rem; margin: 2rem 0 1rem; }
.post-gallery .post-img { margin: 0; float: none; }
.post-gallery .post-img--full, .post-gallery .post-img--wide { flex: 0 0 100%; }
.post-gallery .post-img--wide { flex-basis: auto; width: min(64rem, calc(100vw - 2rem)); }
.post-gallery .post-img--large { flex: 0 0 75%; }
.post-gallery .post-img--medium { flex: 0 0 calc(50% - 0.7rem); }
.post-gallery .post-img--small { flex: 0 0 calc(33.333% - 0.94rem); }
.post-gallery .post-img--center { margin-inline: auto; }
.post-gallery .post-img--left { margin-right: auto; }
.post-gallery .post-img--right { margin-left: auto; }
.post-back { clear: both; margin-top: 2rem; }
@media (max-width: 719px) {
  .post-img--large, .post-img--medium { width: 100%; }
  .post-img--small { width: 50%; }
  .prose .post-img--left, .prose .post-img--right { float: none; margin-inline: auto; }
  .post-gallery .post-img--large, .post-gallery .post-img--medium { flex-basis: 100%; }
  .post-gallery .post-img--small { flex-basis: calc(50% - 0.7rem); }
  .post-gallery .post-img--left, .post-gallery .post-img--right { margin-inline: 0; }
}
