:root {
  --paper: #f3efe7;
  --ink: #111;
  --muted: #5b5751;
  --rule: #1a1a1a;
  --soft: #ded7ca;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #d7d0c5;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(1500px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 28px 42px 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,.035), transparent 24%),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 7px 7px, auto;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.topline, .footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand {
  display: block;
  text-align: center;
  font-size: clamp(54px, 10vw, 138px);
  line-height: .9;
  font-weight: 900;
  margin: 24px 0 10px;
  letter-spacing: 0;
}

.tagline {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: .35em;
  margin: 0 0 18px;
}

.nav {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

.nav a {
  padding: 16px 8px;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid var(--soft);
  font-size: 14px;
}

.nav a:last-child { border-right: 0; }

.page-title h1,.article h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  margin: 10px 0 24px;
}

.lead {
  font-size: 18px;
  line-height: 1.35;
}

.lock { font-size: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--rule);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
}

.post-grid,.private-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--rule);
}

.post-card,.private-card {
  padding: 22px;
  border-right: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.thumb {
  height: 150px;
  background: linear-gradient(135deg, #263b4f, #c7a36a);
  margin-bottom: 14px;
}

.post-card h2,.private-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.page-title {
  border-bottom: 2px solid var(--rule);
  padding: 34px 0 26px;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.post-card img, .article img, .entry img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.article {
  max-width: 880px;
  margin: 34px auto;
}

.article .body-text {
  font-size: 19px;
  line-height: 1.55;
}

.login-panel {
  width: min(520px, 100%);
  margin: 70px auto;
  padding: 34px;
  border: 2px solid var(--rule);
  text-align: center;
}

.login-panel form {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.35);
  padding: 12px;
  font: inherit;
}

/* Kutucuklar yukaridaki genel kuraldan etkilenmesin */
input[type="checkbox"], input[type="radio"] {
  width: 16px;
  height: 16px;
  flex: none;
  border: 0;
  padding: 0;
  background: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 0;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.admin-tile {
  padding: 28px;
  border-right: 1px solid var(--rule);
}

.admin-tile strong {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.admin-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  padding: 30px 0;
}

.admin-lists h2 {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  text-transform: uppercase;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--soft);
  padding: 14px 0;
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row span {
  color: var(--muted);
  margin-top: 4px;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
}

.text-button.danger {
  color: #9d221f;
}

.form-page {
  padding: 34px 0;
}

.module-page {
  padding: 24px 0;
}

.module-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.module-toolbar h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: .98;
  margin: 0 0 8px;
}

.module-toolbar p {
  margin: 0;
  color: var(--muted);
}

.entry-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

.entry-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.entry-table th,
.entry-table td {
  border-bottom: 1px solid var(--soft);
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-table th {
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-table td {
  font-size: 14px;
}

.entry-table tr:last-child td {
  border-bottom: 0;
}

.thumb-col {
  width: 62px;
}

.action-col {
  width: 112px;
  text-align: right;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}

.icon-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-action.danger {
  color: #9d221f;
}

.record-thumb {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  background: rgba(0,0,0,.08);
  overflow: hidden;
}

.record-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.empty-thumb {
  background:
    linear-gradient(135deg, transparent 47%, var(--soft) 48%, var(--soft) 52%, transparent 53%),
    rgba(255,255,255,.18);
}

.cell-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.value-badge.compact {
  max-width: 100%;
  min-height: 22px;
  padding: 2px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.empty-row {
  text-align: center;
  color: var(--muted);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
}

.image-lightbox:target {
  display: grid;
}

.lightbox-dismiss {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,.52);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 2px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 7px 7px, auto;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.image-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.22);
}

.detail-modal {
  width: min(820px, 100%);
}

.detail-image {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.22);
  margin-bottom: 16px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 18px;
}

.detail-list div {
  border-top: 1px solid var(--soft);
  padding-top: 10px;
  min-width: 0;
}

.detail-list dt {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.module-new-form {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-new-form .field-body,
.module-new-form .field-notes,
.module-new-form .field-image {
  grid-column: 1 / -1;
}

.calendar-page {
  padding: 24px 0;
}

.calendar-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.calendar-toolbar h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: .98;
  margin: 0 0 8px;
}

.calendar-toolbar p {
  margin: 0;
  color: var(--muted);
}

.calendar-new-form {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  background: transparent;
  gap: 12px;
}

.calendar-new-form .field-title {
  grid-column: 1 / -1;
}

.calendar-new-form .field-description {
  grid-column: 1 / -1;
}

.calendar-new-form .field-participants {
  grid-column: 1 / -1;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, .46);
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 2px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 7px 7px, auto;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0 0 5px;
  font-size: 34px;
  line-height: 1;
}

.modal-head p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  font-size: 28px;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.editor-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.editor-form.calendar-new-form {
  max-width: none;
}

.calendar-new-form textarea {
  min-height: 82px;
}

.editor-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.inline-new-option {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
}

.inline-new-option[hidden] {
  display: none;
}

/* --- Coklu secim alani (katilimcilar) --- */
.multi-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.multi-field .field-label {
  font-weight: 700;
}

.multi-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.editor-form .multi-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid var(--rule);
  padding: 6px 10px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.editor-form .multi-option input {
  margin: 0;
  accent-color: var(--badge-color, #1f5f8b);
}

.editor-form .multi-option span {
  line-height: 1.25;
}

.editor-form .multi-option:has(input:checked) {
  background: var(--badge-color, #1f5f8b);
  border-color: var(--badge-color, #1f5f8b);
  color: #fff;
}

.multi-new {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
}

.multi-hint {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
}

/* --- Kayit filtre cubugu --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  border-bottom: 1px solid var(--soft);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.filter-bar label {
  display: grid;
  gap: 5px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 150px;
}

.filter-bar .filter-search {
  flex: 1 1 220px;
}

.filter-bar input,
.filter-bar select {
  font-size: 14px;
  text-transform: none;
  color: var(--ink);
}

.filter-bar .filter-actions {
  display: flex;
  gap: 8px;
}

.filter-count {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.inline-new-option input[type="color"],
.multi-new input[type="color"],
.option-form input[type="color"] {
  min-height: 43px;
  padding: 4px;
}

.value-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  background: var(--badge-color);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.entry {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
}

.calendar-widget {
  border: 2px solid var(--rule);
  padding: 14px;
  margin-bottom: 0;
  background: rgba(255,255,255,.22);
}

.calendar-widget-full {
  width: 100%;
}

.calendar-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.calendar-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.calendar-head span {
  font-size: 24px;
  font-weight: 900;
}

.calendar-days,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-days span {
  padding: 6px 2px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar-day {
  min-height: 76px;
  border-top: 1px solid var(--soft);
  border-right: 1px solid var(--soft);
  display: block;
  padding: 6px;
  position: relative;
  font-weight: 700;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.muted {
  color: #9a9287;
}

.calendar-day.today {
  background: var(--ink);
  color: var(--paper);
}

.calendar-day.selected {
  outline: 2px solid #9d221f;
  outline-offset: -2px;
}

.calendar-events {
  display: grid;
  gap: 3px;
  margin-top: 6px;
}

.calendar-events em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #9d221f;
  color: #fff;
  padding: 3px 5px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  line-height: 1.2;
}

.calendar-day.today .calendar-events em {
  background: var(--paper);
  color: var(--ink);
}

.calendar-selected {
  border: 2px solid var(--rule);
  padding: 12px;
  background: rgba(255,255,255,.22);
  min-height: 220px;
  max-height: 470px;
  overflow: auto;
}

.calendar-selected h3 {
  border-bottom: 1px solid var(--rule);
  margin: 0 0 8px;
  padding-bottom: 8px;
  font-size: 18px;
}

.calendar-event-detail {
  border-top: 1px solid var(--soft);
  padding: 9px 0;
}

.calendar-event-detail:first-of-type {
  border-top: 0;
}

.event-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.event-title-row strong {
  font-size: 14px;
  line-height: 1.2;
}

.event-title-row time {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.event-description {
  margin: 6px 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.calendar-event-detail .text-button {
  margin-top: 4px;
  font-size: 11px;
}

.calendar-row-actions {
  justify-content: flex-start;
  margin-top: 7px;
}

.data-console {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.data-tabs {
  border: 2px solid var(--rule);
  background: rgba(255,255,255,.22);
}

.data-tabs a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--soft);
}

.data-tabs a:last-child {
  border-bottom: 0;
}

.data-tabs a.active {
  background: var(--ink);
  color: var(--paper);
}

.data-tabs span {
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.data-panel {
  border: 2px solid var(--rule);
  background: rgba(255,255,255,.18);
}

.data-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding: 18px;
}

.data-panel-head h2 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1;
}

.data-panel-head p {
  margin: 0;
  color: var(--muted);
}

.data-field-stack {
  display: grid;
}

.data-field-card {
  padding: 18px;
  border-bottom: 1px solid var(--soft);
}

.data-field-card:last-child {
  border-bottom: 0;
}

.data-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.data-field-head h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 15px;
}

.data-field-head span {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.option-list.clean {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid var(--rule);
  padding: 5px 7px;
  background: var(--paper);
}

.swatch {
  width: 14px;
  height: 14px;
  border: 1px solid var(--rule);
  flex: 0 0 auto;
}

.chip-delete {
  border: 0;
  border-left: 1px solid var(--soft);
  background: transparent;
  padding: 0 0 0 7px;
  color: #9d221f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 11px;
}

.option-form.compact {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 56px 96px;
  gap: 8px;
}

.empty.compact {
  padding: 6px 0;
  margin: 0;
  color: var(--muted);
}

.private-card span {
  display: block;
  font-size: 13px;
  font-family: Arial, sans-serif;
  margin-bottom: 40px;
}

.flash-stack {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.flash {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  background: rgba(255,255,255,.4);
}

.footer {
  border-top: 2px solid var(--rule);
  border-bottom: 0;
  padding: 14px 0 0;
  margin-top: 22px;
  font-size: 12px;
}

.empty { padding: 24px 0; }

@media (max-width: 980px) {
  .page-shell { width: 100%; min-height: 100vh; margin: 0; padding: 18px; }
  .nav { grid-template-columns: repeat(2, 1fr); }
  .admin-actions,.admin-lists { grid-template-columns: 1fr; }
  .admin-tile { border: 0; }
  .post-grid,.private-grid { grid-template-columns: 1fr; }
  .login-panel form { grid-template-columns: 1fr; }
  .topline, .footer { flex-direction: column; align-items: center; }
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .module-toolbar { align-items: stretch; flex-direction: column; }
  .entry-table { min-width: 760px; }
  .module-new-form { grid-template-columns: 1fr; }
  .module-new-form .field-body,
  .module-new-form .field-notes,
  .module-new-form .field-image { grid-column: auto; }
  .calendar-workspace { grid-template-columns: 1fr; }
  .calendar-new-form { grid-template-columns: 1fr; }
  .calendar-new-form .field-title,
  .calendar-new-form .field-description,
  .calendar-new-form .field-participants { grid-column: auto; }
  .calendar-day { min-height: 70px; padding: 6px; }
  .modal-backdrop { padding: 14px; align-items: start; }
  .modal-panel { max-height: calc(100vh - 28px); padding: 16px; }
  .detail-list { grid-template-columns: 1fr; }
  .data-console { grid-template-columns: 1fr; }
  .data-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .data-tabs a { border-right: 1px solid var(--soft); }
  .option-form.compact { grid-template-columns: 1fr 56px; }
  .option-form.compact .button { grid-column: 1 / -1; }
}

/* Modern culture magazine redesign */
:root {
  --paper: #f7f7f2;
  --ink: #171717;
  --muted: #70716b;
  --rule: #202020;
  --soft: #d8d9d0;
  --surface: #ffffff;
  --accent-red: #c7352b;
  --accent-blue: #1f6f9f;
  --accent-green: #2f7d5a;
  --accent-gold: #b9892f;
  --accent-lilac: #8b78b6;
}

body {
  background:
    radial-gradient(circle at 18% 4%, rgba(199, 53, 43, .10), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(31, 111, 159, .12), transparent 28%),
    linear-gradient(180deg, #fbfbf7, #e7e9df);
  color: var(--ink);
}

.page-shell {
  width: min(1360px, calc(100% - 40px));
  margin: 20px auto;
  padding: 24px 32px 22px;
  background: rgba(247, 247, 242, .92);
  background-image: none;
  box-shadow: 0 24px 80px rgba(34, 36, 32, .13);
}

.masthead {
  display: grid;
  gap: 14px;
}

.topline {
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand {
  width: fit-content;
  margin: 0 auto;
  font-size: clamp(52px, 9vw, 118px);
  line-height: .82;
  letter-spacing: -0.02em;
}

.brand::after {
  content: "";
  display: block;
  width: 42%;
  height: 8px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-blue), var(--accent-green));
}

.tagline {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .28em;
  margin: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 8px 0 18px;
}

.nav a {
  border: 1px solid var(--soft);
  background: rgba(255,255,255,.58);
  padding: 9px 14px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.nav a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.kicker,
.section-index,
.post-card time,
.article time {
  display: inline-flex;
  color: var(--accent-red);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page-title h1,.article h1 {
  font-size: clamp(44px, 6vw, 82px);
  line-height: .92;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}

.lead {
  max-width: 520px;
  color: #30312d;
  font-size: 20px;
  line-height: 1.45;
}

.thumb {
  height: 210px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.thumb.cinema {
  background-image: linear-gradient(135deg, rgba(199,53,43,.18), rgba(0,0,0,.12)), url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80");
}

.thumb.music {
  background-image: linear-gradient(135deg, rgba(31,111,159,.18), rgba(0,0,0,.10)), url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=900&q=80");
}

.thumb.photography {
  background-image: linear-gradient(135deg, rgba(47,125,90,.15), rgba(0,0,0,.10)), url("https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=900&q=80");
}

.thumb.drinks-cigars {
  background-image: linear-gradient(135deg, rgba(185,137,47,.22), rgba(0,0,0,.12)), url("https://images.unsplash.com/photo-1527281400683-1aae777175f8?auto=format&fit=crop&w=900&q=80");
}

.thumb.gastronomy-travel {
  background-image: linear-gradient(135deg, rgba(139,120,182,.18), rgba(0,0,0,.10)), url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80");
}

.thumb.mag {
  background-image: linear-gradient(135deg, rgba(199,53,43,.14), rgba(31,111,159,.14)), url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=900&q=80");
}

.post-card h2,.private-card h2 {
  font-size: 26px;
  line-height: 1;
  margin: 8px 0 10px;
}

.post-card p {
  color: #393a35;
  line-height: 1.42;
}

.post-card a:not(:has(img)) {
  width: fit-content;
  border-bottom: 2px solid var(--ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-title {
  border: 0;
  padding: 44px 0 24px;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border: 0;
}

.post-card {
  border: 0;
  padding: 0;
}

.post-card img,
.article img {
  border: 0;
  aspect-ratio: 5 / 4;
}

.post-card h2 {
  font-size: 30px;
  margin-top: 10px;
}

.article {
  max-width: 980px;
  margin: 44px auto;
}

.article img {
  width: min(100%, 980px);
  max-height: 640px;
}

.article .body-text {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.7;
}

.button.dark,
.data-tabs a.active,
.calendar-day.today {
  background: var(--ink);
  color: var(--paper);
}

input,
select,
textarea,
.modal-panel,
.image-lightbox-panel {
  background-color: var(--surface);
  background-image: none;
}

.footer {
  border-top: 1px solid var(--soft);
  color: var(--muted);
  font-family: Arial, sans-serif;
}

@media (max-width: 980px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 18px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Travel & Taste magazine direction */
:root {
  --paper: #fffdf8;
  --ink: #1d1b18;
  --muted: #746f66;
  --rule: #25211d;
  --soft: #e8e1d6;
  --surface: #ffffff;
  --cream: #fbf4e8;
  --warm: #d85632;
  --olive: #6f8a4f;
  --wine: #9c2f3f;
  --sky: #5d95b8;
  --honey: #c99538;
}

body {
  background: #fdfbf6;
  color: var(--ink);
}

.page-shell {
  width: min(1320px, calc(100% - 44px));
  margin: 22px auto;
  padding: 22px 30px;
  background: var(--paper);
  box-shadow: 0 18px 70px rgba(64, 48, 30, .10);
}

.brand {
  font-size: clamp(46px, 7vw, 96px);
  letter-spacing: -0.03em;
}

.brand::after {
  width: 120px;
  height: 5px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--warm), var(--honey), var(--olive));
}

.tagline {
  color: #8a8175;
  letter-spacing: .22em;
}

.nav {
  gap: 10px;
  padding: 10px 0 22px;
}

.nav a {
  border: 1px solid #eadfce;
  border-radius: 999px;
  background: #fffaf1;
  color: #3b342d;
  padding: 10px 16px;
}

.nav a:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}

.kicker {
  color: var(--warm);
}

.thumb {
  height: 260px;
  margin: 0 0 16px;
}

.section-index {
  margin-left: 18px;
  color: var(--warm);
}

.thumb.cinema {
  background-image: linear-gradient(135deg, rgba(156,47,63,.16), rgba(0,0,0,.08)), url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=82");
}

.thumb.music {
  background-image: linear-gradient(135deg, rgba(93,149,184,.16), rgba(0,0,0,.08)), url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=900&q=82");
}

.thumb.photography {
  background-image: linear-gradient(135deg, rgba(111,138,79,.16), rgba(0,0,0,.08)), url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=900&q=82");
}

.thumb.drinks-cigars {
  background-image: linear-gradient(135deg, rgba(201,149,56,.24), rgba(0,0,0,.10)), url("https://images.unsplash.com/photo-1527281400683-1aae777175f8?auto=format&fit=crop&w=900&q=82");
}

.thumb.gastronomy-travel {
  background-image: linear-gradient(135deg, rgba(216,86,50,.20), rgba(0,0,0,.08)), url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=82");
}

.thumb.mag {
  background-image: linear-gradient(135deg, rgba(93,149,184,.14), rgba(216,86,50,.14)), url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=900&q=82");
}

.post-card {
  background: #fff;
  border: 1px solid var(--soft);
  padding-bottom: 18px;
}

.post-card time,
.post-card h2,
.post-card p,
.post-card > a:not(:has(img)) {
  margin-left: 16px;
  margin-right: 16px;
}

.post-card time {
  margin-top: 14px;
  color: var(--warm);
}

@media (max-width: 980px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 16px;
  }
}

/* Experimental zine, clean version */
:root {
  --paper: #fffefa;
  --ink: #151515;
  --muted: #6f6c63;
  --rule: #151515;
  --soft: #ecebe5;
  --surface: #ffffff;
  --zine-red: #e2442f;
  --zine-blue: #2d76b8;
  --zine-green: #718f45;
  --zine-yellow: #e5b84c;
  --zine-pink: #e8b7bc;
}

body {
  background:
    linear-gradient(90deg, rgba(21,21,21,.018) 1px, transparent 1px),
    #fffefa;
  background-size: 18px 18px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

h1,h2,h3,.brand,.zine-section strong,.post-card h2,.page-title h1 {
  font-family: Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
}

.page-shell {
  width: min(1380px, calc(100% - 36px));
  background: rgba(255, 254, 250, .985);
  box-shadow: none;
  border-left: 1px solid var(--soft);
  border-right: 1px solid var(--soft);
}

.topline {
  border-bottom: 1px solid var(--ink);
  text-align: center;
  width: 100%;
}

.brand {
  margin: 18px auto 6px;
  text-align: center;
  font-size: clamp(42px, 7.7vw, 108px);
  line-height: .75;
  letter-spacing: -0.065em;
}

.brand::after {
  display: none;
}

.tagline {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 7px 10px;
  background: #f5cf55;
  color: var(--ink);
  letter-spacing: .12em;
  transform: rotate(-1deg);
  text-transform: none;
}

.nav {
  justify-content: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 12px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.nav a {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  transform: rotate(-.4deg);
  line-height: 1.1;
  box-shadow: 0 0 0 1px transparent;
  font-size: 14px;
  padding: 11px 16px;
}

.topline,
.nav,
.zine-hero,
.zine-section,
.post-card,
.page-title,
.footer {
  border-width: 1px;
}

.nav a:last-child {
  border-right: 1px solid var(--ink);
}

.nav a:nth-child(even) {
  transform: rotate(.5deg);
}

.nav .nav-boris {
  margin-right: 0;
}

.nav a:hover {
  border-color: var(--ink);
  color: #fff;
}

.nav .nav-cinema:hover { background: #ff4b3e; }
.nav .nav-music:hover { background: #ff9f1c; }
.nav .nav-photography:hover { background: #f4d35e; color: var(--ink); }
.nav .nav-drinks-cigars:hover { background: #2fbf71; }
.nav .nav-gastronomy-travel:hover { background: #2d9cdb; }
.nav .nav-mag:hover { background: #7b61ff; }
.nav .nav-boris:hover { background: #d946ef; }

.zine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .54fr);
  grid-auto-rows: auto;
  gap: 34px;
  margin-top: 22px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--ink);
}

.zine-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
}

.zine-hero-copy h1 {
  margin: 12px 0 18px;
  max-width: 100%;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .9;
  letter-spacing: -0.025em;
  overflow-wrap: normal;
}

.zine-hero-copy p {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.45;
}

.kicker {
  padding: 6px 8px;
  background: var(--zine-blue);
  color: #fff;
  text-transform: none;
  letter-spacing: .14em;
}

.zine-hero .kicker,
.masthead .tagline {
  text-transform: none;
}

.zine-photo {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--ink);
}

.zine-photo-main {
  grid-column: 2;
  grid-row: 1;
  width: 78%;
  min-height: 290px;
  justify-self: center;
  align-self: center;
  background-image: var(--hero-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1300&q=82"));
  transform: rotate(2.2deg);
  box-shadow: 14px 14px 0 var(--zine-yellow), -10px -10px 0 #ffffff, 0 0 0 2px var(--ink);
}

.zine-sections {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  padding: 34px 8px 22px;
  overflow: visible;
}

.zine-section {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  border: 1px solid var(--ink);
  background: #fff;
  transform-origin: center;
  transition: transform .18s ease;
}

.zine-section:hover {
  transform: translateY(-4px) rotate(0deg);
}

.zine-section:nth-child(1) {
  grid-column: span 4;
  background: #ff4b3e;
  color: #fff;
  transform: rotate(-1.2deg);
}

.zine-section:nth-child(2) {
  grid-column: span 4;
  background: #ff9f1c;
  color: var(--ink);
  transform: translateY(8px) rotate(.8deg);
}

.zine-section:nth-child(3) {
  grid-column: span 4;
  background: #f4d35e;
  color: var(--ink);
  transform: rotate(-.7deg);
}

.zine-section:nth-child(4) {
  grid-column: span 4;
  background: #2fbf71;
  color: var(--ink);
  transform: translateY(6px) rotate(.9deg);
}

.zine-section:nth-child(5) {
  grid-column: span 4;
  background: #2d9cdb;
  color: #fff;
  transform: rotate(-.9deg);
}

.zine-section:nth-child(6) {
  grid-column: span 4;
  background: #7b61ff;
  color: #fff;
  transform: translateY(10px) rotate(.7deg);
}

.zine-section strong {
  display: block;
  margin: 14px 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: .88;
  letter-spacing: -0.025em;
}

.zine-section em {
  max-width: 360px;
  color: currentColor;
  font-style: normal;
  line-height: 1.35;
}

.section-index {
  margin: 0;
  color: currentColor;
  opacity: .85;
}

.page-title {
  padding-top: 34px;
}

.page-title h1 {
  font-size: clamp(58px, 9vw, 120px);
  line-height: .8;
  letter-spacing: -0.06em;
}

.post-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.post-card {
  grid-column: span 4;
  border: 1px solid var(--ink);
  background: #fff;
}

.post-card:nth-child(3n + 1) {
  transform: translateY(18px);
}

.post-card:nth-child(3n + 2) {
  background: #fff8ea;
}

.post-card img {
  aspect-ratio: 1 / 1;
}

.post-card h2 {
  font-size: 34px;
  line-height: .92;
  letter-spacing: -0.03em;
}

.footer {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

@media (max-width: 980px) {
  .brand {
    font-size: clamp(52px, 18vw, 92px);
  }

  .zine-hero,
  .zine-sections,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .zine-hero-copy,
  .zine-photo-main,
  .zine-section,
  .post-card {
    grid-column: auto !important;
    grid-row: auto;
    transform: none !important;
  }

  .zine-hero-copy h1 {
    font-size: clamp(50px, 16vw, 82px);
  }

  .zine-photo-main {
    width: 88%;
    min-height: 260px;
    transform: rotate(1deg);
  }

}

/* Final typography normalization: lowercase-safe, Turkish-safe */
body {
  font-family: "Lora", Georgia, serif;
}

h1,h2,h3,.brand,.zine-hero-copy h1,.page-title h1,.zine-section strong,.post-card h2,.article h1 {
  font-family: "Lora", Georgia, serif;
  font-variant-ligatures: common-ligatures;
}

.topline,.tagline,.nav a,.kicker,.section-index,.button,.text-button,.entry-table th,.data-field-head h3,.post-card time,.article time {
  font-family: "Lora", Georgia, serif;
  text-transform: none;
}

.tagline,
.kicker,
.section-index {
  letter-spacing: .08em;
}

.nav a {
  letter-spacing: 0;
}

.zine-hero-copy h1 {
  max-width: 100%;
  position: relative;
  z-index: 5;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .9;
}

.zine-photo-main {
  position: relative;
  z-index: 1;
}

.zine-photo-main::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.75);
  pointer-events: none;
}

@media (min-width: 981px) {
  .zine-hero-copy {
    margin-right: 0;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 14px;
  }

  .topline {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .tagline {
    max-width: 100%;
    text-align: center;
  }

  .zine-hero-copy {
    margin-right: 0;
  }

  .zine-hero-copy h1 {
    max-width: 100%;
  }
}

/* --- Takvim ay gezinme oklari --- */
.calendar-head-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--ink, #111);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.calendar-nav:hover {
  background: #111;
  color: #fff;
}

/* --- Konum alani + harita --- */
.location-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.location-search {
  position: relative;
  flex: 1;
}

.location-search .location-input {
  width: 100%;
}

.location-suggestions {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  background: var(--paper, #fff);
  border: 1px solid var(--rule);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.location-suggestions li {
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  border-bottom: 1px solid var(--soft, #eee);
}

.location-suggestions li:last-child {
  border-bottom: none;
}

.location-suggestions li:hover {
  background: #111;
  color: #fff;
}

.location-locate {
  flex: 0 0 auto;
  padding: 0 14px;
  height: 40px;
  font-size: 18px;
  line-height: 1;
}

.location-map {
  width: 100%;
  height: 260px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  z-index: 0;
}

/* --- Kayitta konum + yol tarifi baglantisi --- */
.event-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted, #555);
  text-decoration: none;
}

.event-location svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.event-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-location em {
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 700;
  color: #1f5f8b;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .04em;
}

.detail-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.detail-location em {
  font-style: normal;
  font-weight: 700;
  color: #1f5f8b;
  white-space: nowrap;
}

.detail-location:hover em,
.event-location:hover em {
  text-decoration: underline;
}

/* --- Google / Apple Takvime ekle --- */
.calendar-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 14px;
}

.add-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.add-calendar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

@media (max-width: 640px) {
  .calendar-add-row {
    flex-direction: column;
  }
  .add-calendar {
    justify-content: center;
    width: 100%;
  }
}

.location-map .leaflet-container {
  height: 100%;
  width: 100%;
}
