:root {
  --gold: #9a7b4f;
  --gold-dark: #7d6340;
  --gold-bar: #8b7349;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --text-light: #888;
  --bg: #f4f4f4;
  --surface: #fff;
  --border: #e5e5e5;
  --chip-bg: #f0f0f0;
  --chip-border: #d8d8d8;
  --overlay: rgba(0, 0, 0, 0.45);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --header-h: 57px;
  --bp-nav: 992px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

body.nav-open {
  overflow: hidden;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-slogan {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

@media (max-width: 992px) {
  :root {
    --header-h: 53px;
  }

  .brand-slogan {
    display: none !important;
  }

  .brand-logo {
    height: 34px;
    max-width: 140px;
  }
}

.loading-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.main-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.3;
}

.nav-link--menu {
  appearance: none;
  -webkit-appearance: none;
}

.nav-link:hover,
.nav-item--menu.is-open > .nav-link--menu,
.nav-item--menu.is-active > .nav-link--menu {
  color: var(--gold-dark);
  background: rgba(154, 123, 79, 0.1);
}

.nav-link.is-active {
  color: var(--gold-dark);
  background: rgba(154, 123, 79, 0.12);
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  opacity: 0.7;
}

.nav-item--menu.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.nav-item--menu:hover .nav-submenu,
.nav-item--menu.is-open .nav-submenu,
.nav-item--menu:focus-within .nav-submenu {
  display: block;
}

.nav-submenu-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.15s, color 0.15s;
}

.nav-submenu-link:hover {
  background: rgba(154, 123, 79, 0.1);
  color: var(--gold-dark);
}

.nav-submenu-link.is-active {
  background: rgba(154, 123, 79, 0.14);
  color: var(--gold-dark);
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 0.25rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--bg);
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Filter bar */
.filter-bar {
  background: var(--gold-bar);
  position: sticky;
  top: 57px;
  z-index: 90;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.filter-btn {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

.filter-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-bottom-color: #fff;
}

.filter-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 1rem;
  background: var(--gold-dark);
}

.filter-search {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 120px;
  overflow-y: auto;
}

.filter-chip {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-chip:hover,
.filter-chip.selected {
  background: rgba(255, 255, 255, 0.35);
}

/* Main content */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}

.content-header {
  margin-bottom: 1.25rem;
}

.page-title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-subtitle {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.member-card:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.member-card:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
  border-bottom: none;
}

.member-card:only-child {
  border-radius: var(--radius);
}

.member-card:hover {
  background: #fafafa;
}

.member-photo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8e8e8;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.member-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.member-meta strong {
  font-weight: 600;
  color: var(--text);
}

.member-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

/* FAB */
.fab-search {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(154, 123, 79, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: transform 0.2s, background 0.2s;
}

.fab-search:hover {
  background: var(--gold-dark);
  transform: scale(1.05);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 1rem;
}

.search-box {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-box svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.search-box input {
  flex: 1;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.search-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 0.25rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--bg);
}

.modal-body {
  padding: 1.25rem;
}

.modal-profile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.modal-photo {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8e8e8;
}

.modal-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}

.detail-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.detail-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-light);
  margin-top: 2px;
}

.detail-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.detail-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.copy-btn {
  border: none;
  background: var(--chip-bg);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: var(--border);
}

.modal-section-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 20px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 400;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Uygulama uyarı / başarı bildirimi */
.app-notice {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 600;
  width: min(520px, calc(100vw - 2rem));
  transform: translateX(-50%) translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.app-notice.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.app-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.18);
  border: 1px solid transparent;
}

.app-notice--success .app-notice-inner {
  background: #edf7ed;
  border-color: #a5d6a7;
  color: #1b5e20;
}

.app-notice--error .app-notice-inner {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #b71c1c;
}

.app-notice-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.app-notice--success .app-notice-icon {
  background: #2e7d32;
  color: #fff;
}

.app-notice--error .app-notice-icon {
  background: #c62828;
  color: #fff;
}

.app-notice-text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.app-notice-close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: -0.15rem 0 0;
}

.app-notice-close:hover {
  opacity: 1;
}

/* Responsive — tablet & mobile nav (≤992px) */
@media (max-width: 992px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 150;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }

  .nav-submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.35rem 0.75rem;
    min-width: 0;
    background: transparent;
  }

  .nav-item--menu:hover .nav-submenu {
    display: none;
  }

  .nav-item--menu.is-open .nav-submenu {
    display: block;
  }

  .nav-submenu-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-actions {
    order: 3;
  }

  .filter-bar {
    top: 53px;
  }

  .member-photo {
    width: 64px;
    height: 64px;
  }
}

@media (min-width: 769px) {
  .member-list {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }
}

/* Shared pages */
a.icon-btn {
  text-decoration: none;
}

.page-hero {
  background: linear-gradient(135deg, var(--gold-bar) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 2rem 1.25rem;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.tab-bar {
  background: var(--gold-bar);
  position: sticky;
  top: 57px;
  z-index: 90;
  overflow-x: auto;
}

.tab-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  min-width: min-content;
}

.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-bottom-color: #fff;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  min-width: 220px;
}

.toolbar-search input {
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.select-wrap select {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  background: var(--surface);
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(154, 123, 79, 0.1);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.card-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.modal-lg {
  max-width: 640px;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.article-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(154, 123, 79, 0.15);
  color: var(--gold-dark);
  border-radius: 4px;
}

.news-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-card-excerpt {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.article-date {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0.35rem 0 0.5rem;
}

.article-modal-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.article-modal-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Publications */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pub-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.pub-cover-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.pub-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.pub-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pub-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.pub-desc {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.pub-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}

/* Procurement */
.proc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.proc-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.2s;
}

.proc-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.proc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.proc-category {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-closing {
  background: #fff3e0;
  color: #e65100;
}

.status-closed {
  background: #f5f5f5;
  color: #757575;
}

.proc-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.proc-card-desc {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.proc-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

.proc-modal-title {
  margin: 0.5rem 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.proc-detail-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.proc-detail-list li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.proc-modal-desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.proc-closed-note {
  margin: 0;
  padding: 0.75rem;
  background: var(--chip-bg);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 1.25rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-dark);
}

.main-content,
.page-content {
  flex: 1;
}

/* Ana sayfa stilleri: css/home.css */

@media (max-width: 992px) {
  .tab-bar {
    top: 53px;
  }

  .news-grid,
  .proc-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-nav {
    gap: 0.65rem 1rem;
  }

  .toolbar-search {
    min-width: 0;
    flex: 1 1 140px;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
  }
}
