/* Modül sayfaları — haberler, rehber, ortak satın alma */

.page-module {
  background: #f5f3ef;
}

.page-module .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero */
.page-hero--rich {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(2rem, 5vw, 3.25rem) 1.25rem;
}

.page-hero--compact {
  padding: clamp(1.5rem, 4vw, 2.25rem) 1.25rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4a3d28 0%, #6b5536 35%, #8b7349 70%, #7d6340 100%);
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 30% 20%, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.page-hero--rich h1 {
  margin: 0 0 0.5rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.1;
}

.page-hero-sub,
.page-hero--rich #pageHeroSubtitle,
.page-hero--rich .page-hero-sub {
  margin: 0;
  font-size: 1rem;
  opacity: 0.92;
}

.page-hero-intro {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Stats — modül menü çubuğunda (sekmelerin yanında) */
.module-menu-row {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 48px;
}

.page-stats-menu {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.page-stats-inner--menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.page-stats-inner--menu .page-stat-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.page-stats-inner--menu .page-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.page-stats-inner--menu .page-stat-icon svg {
  width: 16px;
  height: 16px;
}

.page-stats-inner--menu .page-stat-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.page-stats-inner--menu .page-stat-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-stat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(154, 123, 79, 0.12);
  color: var(--gold-dark);
}

.page-stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.page-stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tabs */
.page-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 88;
  background: var(--gold-bar);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-tabs-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  min-width: min-content;
}

.page-tabs .tab-btn,
.page-filter-tabs .filter-btn {
  flex: 1;
  min-width: max-content;
  padding: 0.9rem 1.15rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.page-tabs .tab-btn:hover,
.page-filter-tabs .filter-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.page-tabs .tab-btn.active,
.page-filter-tabs .filter-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-bottom-color: #fff;
}

/* Rehber filter bar */
.page-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 88;
  background: var(--gold-bar);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-filter-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-filter-tabs {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  min-width: min-content;
}

.page-filter-panel {
  background: var(--gold-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.page-filter-panel-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem 1rem;
}

.page-search--filter {
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
}

.page-filter-panel .filter-options {
  max-height: 140px;
}

.page-filter-panel .filter-chip {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

/* Shell & toolbar */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.page-toolbar-left {
  min-width: 0;
}

.page-result-count {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.page-toolbar-hint {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.page-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.page-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  min-width: min(100%, 280px);
  flex: 1 1 220px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.page-search--compact {
  min-width: 180px;
  flex: 1 1 160px;
}

.page-search svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.page-search input {
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  width: 100%;
  min-width: 0;
  background: transparent;
}

.page-select {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.page-select select {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--surface);
  min-width: 140px;
}

.page-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.page-search-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Empty & loading */
.page-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px dashed var(--border);
}

.page-empty-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold);
  opacity: 0.7;
}

.page-empty-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.page-empty-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-loading-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: page-spin 0.7s linear infinite;
}

@keyframes page-spin {
  to { transform: rotate(360deg); }
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

/* —— Ortak satın alma (proc-page) —— */
.page-proc {
  background: #f3f1ec;
}

.proc-page {
  padding-bottom: 2.5rem;
}

.proc-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.proc-tabs {
  background: var(--gold-bar);
}

.proc-tabs-scroll {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.proc-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.proc-tabs .tab-btn {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.proc-tabs .tab-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.proc-tabs .tab-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-bottom-color: #fff;
}

.proc-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.proc-toolbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.proc-result {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  flex: 0 0 auto;
  min-width: 5rem;
}

.proc-toolbar-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 240px;
  min-width: 0;
}

.proc-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  background: #f8f7f4;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: text;
}

.proc-search svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.proc-search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  min-width: 0;
  outline: none;
}

.proc-select {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 0 1 180px;
  min-width: 140px;
}

.proc-select-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.proc-select select {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.88rem;
  background: #f8f7f4;
  width: 100%;
}

.proc-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 2rem;
}

.proc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
}

.proc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.proc-card:hover,
.proc-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  outline: none;
}

.proc-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(139, 115, 73, 0.35), 0 14px 32px rgba(0, 0, 0, 0.08);
}

.proc-card.status-active {
  --proc-accent: #2d7a3a;
  --proc-accent-bg: rgba(45, 122, 58, 0.1);
}

.proc-card.status-closing {
  --proc-accent: #b45309;
  --proc-accent-bg: rgba(180, 83, 9, 0.12);
}

.proc-card.status-closed {
  --proc-accent: #6b7280;
  --proc-accent-bg: rgba(107, 114, 128, 0.12);
  opacity: 0.92;
}

.proc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem 0;
}

.proc-card-deadline {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--proc-accent-bg, rgba(139, 115, 73, 0.1));
  color: var(--proc-accent, var(--gold-dark));
  white-space: nowrap;
}

.proc-card-deadline--urgent {
  background: rgba(180, 83, 9, 0.15);
  color: #9a3412;
}

.proc-card-body {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 1rem 0;
  flex: 1;
  min-width: 0;
}

.proc-card-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #fff;
}

.proc-card-logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: #f0eeea;
}

.proc-card-content {
  flex: 1;
  min-width: 0;
}

.proc-card-cat {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}

.proc-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.proc-card-company {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proc-card-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proc-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.proc-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  background: #f5f3ef;
  border-radius: 6px;
  color: var(--text-muted);
  max-width: 100%;
}

.proc-card-chip svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.proc-card-chip strong {
  font-weight: 600;
  color: var(--text);
}

.proc-card-budget {
  margin-left: auto;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

.proc-card-arrow {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.proc-empty {
  margin-top: 1rem;
}

/* Shared proc meta (modal) */
.proc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.proc-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.proc-meta-value {
  font-weight: 600;
  color: var(--text);
}

.proc-deadline-urgent {
  color: #b45309;
}

@media (min-width: 600px) {
  .proc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .proc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proc-toolbar-inner {
    flex-wrap: nowrap;
  }

  .proc-toolbar-fields {
    justify-content: flex-end;
  }
}

/* —— Haberler (news-page) —— */
.page-news {
  background: #f3f1ec;
}

.news-page {
  padding-bottom: 2.5rem;
}

.news-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.news-tabs {
  background: var(--gold-bar);
}

.news-tabs-scroll {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.news-tabs .tab-btn {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.news-tabs .tab-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.news-tabs .tab-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-bottom-color: #fff;
}

.news-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.news-toolbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.news-toolbar-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.news-result {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.news-filter-hint {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.news-sort-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.news-sort select {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.news-loading {
  margin: 2rem auto;
  text-align: center;
}

.news-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.news-feed {
  min-width: 0;
}

.news-featured-slot {
  margin-bottom: 1.15rem;
}

.news-featured-slot .news-card--featured {
  display: flex;
  flex-direction: column;
}

.news-card-flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  background: var(--gold-dark);
  color: #fff;
}

.news-aside {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.news-aside-heading,
.news-aside-title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.news-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.news-aside-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.news-aside-item:hover {
  background: #f8f7f4;
}

.news-aside-item img {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #e8e4de;
}

.news-aside-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.news-aside-item-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

.news-aside-item-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-aside-item-date {
  font-size: 0.72rem;
  color: var(--text-light);
}

.news-aside-card {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.news-aside-card-text {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.news-aside-btn {
  display: block;
  text-align: center;
  width: 100%;
}

.news-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  background: #f8f7f4;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: text;
}

.news-search svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.news-search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  min-width: 0;
  outline: none;
}

.news-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.news-card--compact .news-card-excerpt {
  display: none;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  outline: none;
}

.news-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(139, 115, 73, 0.35), 0 14px 32px rgba(0, 0, 0, 0.08);
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e4de;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
}

.news-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}

.news-card-readtime {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(139, 115, 73, 0.1);
  color: var(--gold-dark);
  white-space: nowrap;
}

.news-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-card-excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.news-card--featured .news-card-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
}


@media (min-width: 600px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr 300px;
    gap: 1.75rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-featured-slot .news-card--featured {
    flex-direction: row;
  }

  .news-featured-slot .news-card--featured .news-card-media {
    flex: 0 0 52%;
    aspect-ratio: auto;
    min-height: 280px;
  }

  .news-featured-slot .news-card--featured .news-card-body {
    padding: 1.35rem 1.5rem;
    justify-content: center;
  }

  .news-featured-slot .news-card--featured .news-card-title {
    font-size: 1.55rem;
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
  }

  .news-featured-slot .news-card--featured .news-card-excerpt {
    -webkit-line-clamp: 4;
  }

  .news-toolbar-inner {
    flex-wrap: nowrap;
  }

  .news-search {
    max-width: 280px;
    margin-left: auto;
  }
}

@media (min-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* —— Haber detay (haber.php) —— */
.page-news-detail {
  background: #f3f1ec;
}

.news-article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.75rem;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.news-breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

.news-breadcrumb a:hover {
  text-decoration: underline;
}

.news-article-hero {
  margin-bottom: 1.5rem;
  width: 100%;
}

.news-article-cover {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  height: clamp(300px, 40vw, 520px);
  min-height: 300px;
  background: #e8e4de;
}

.news-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-article-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.news-article-cover-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.35rem 1.5rem;
  color: #fff;
}

.news-article-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  background: var(--gold-dark);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.news-article-badge:hover {
  background: #6d5a38;
  transform: translateY(-1px);
}

.news-article-title--hero {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.news-article-hero-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  color: var(--text-light);
}

.news-article-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-article-meta svg {
  flex-shrink: 0;
  color: var(--gold-dark);
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.news-share-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.news-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: #f8f7f4;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.news-share-btn:hover {
  background: #fff;
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.news-share-btn svg {
  flex-shrink: 0;
}

.news-article-lead {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--surface);
  border-left: 4px solid var(--gold-dark);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.news-article-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.news-article-main {
  min-width: 0;
}

.news-article-content {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.news-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 68ch;
}

.news-article-body p {
  margin: 0 0 1.15rem;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

.news-article-rich h2,
.news-article-rich h3,
.news-article-rich h4 {
  margin: 1.5rem 0 0.65rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.news-article-rich h2 { font-size: 1.45rem; }
.news-article-rich h3 { font-size: 1.2rem; }
.news-article-rich h4 { font-size: 1.05rem; }

.news-article-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.25rem 0;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-article-rich ul,
.news-article-rich ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.news-article-rich li {
  margin-bottom: 0.35rem;
}

.news-article-rich blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1.15rem;
  border-left: 4px solid var(--gold-dark);
  background: #f8f7f4;
  border-radius: 0 10px 10px 0;
  color: var(--text-muted);
  font-style: italic;
}

.news-article-rich table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
}

.news-article-rich th,
.news-article-rich td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.news-article-rich th {
  background: #f3f1ec;
  font-weight: 700;
}

.news-article-rich a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-article-rich hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.news-article-rich p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.85;
  color: var(--gold-dark);
}

.news-article-dropcap::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.85;
  color: var(--gold-dark);
}

.news-article-nav {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.news-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-nav-link:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.news-nav-link--next {
  text-align: right;
}

.news-nav-link--empty {
  display: none;
}

.news-nav-dir {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.news-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.news-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-sidebar-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.15rem 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.news-sidebar-card--cta {
  background: linear-gradient(145deg, #faf9f6 0%, #f0ebe3 100%);
}

.news-summary-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-summary-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
}

.news-summary-list dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.news-summary-list dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.news-summary-list a {
  color: var(--gold-dark);
  text-decoration: none;
}

.news-summary-list a:hover {
  text-decoration: underline;
}

.news-sidebar-more {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
}

.news-sidebar-more:hover {
  text-decoration: underline;
}

.news-aside-item.is-current {
  background: rgba(139, 115, 73, 0.1);
  pointer-events: none;
}

@media (min-width: 640px) {
  .news-article-nav {
    grid-template-columns: 1fr 1fr;
  }

  .news-nav-link--empty {
    display: block;
    visibility: hidden;
  }
}

@media (min-width: 900px) {
  .news-article-cover {
    height: clamp(340px, 44vw, 540px);
  }

  .news-article-hero-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .news-article-meta {
    flex: 1 1 auto;
  }

  .news-share {
    flex: 0 0 auto;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid var(--border);
    padding-left: 1.25rem;
  }

  .news-article-layout {
    grid-template-columns: 1fr 320px;
    gap: 1.75rem;
  }

  .news-article-content {
    padding: 2rem 1.85rem;
  }

  .news-article-sidebar {
    position: sticky;
    top: 72px;
  }
}

@media (max-width: 599px) {
  .news-article-cover {
    border-radius: 14px;
    height: clamp(220px, 56vw, 360px);
    min-height: 220px;
  }

  .news-article-cover-inner {
    padding: 1rem;
  }

  .news-article-title--hero {
    font-size: 1.35rem;
  }

  .news-share-btns {
    width: 100%;
  }

  .news-share-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* —— Rehber (rehber-page) —— */
.page-rehber {
  background: #f3f1ec;
}

.rehber-page {
  padding-bottom: 2.5rem;
}

.rehber-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rehber-tabs {
  background: var(--gold-bar);
}

.rehber-tabs-scroll {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rehber-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.rehber-tabs .filter-btn {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.rehber-tabs .filter-btn:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.rehber-tabs .filter-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-bottom-color: #fff;
}

.rehber-filter-panel {
  background: #f8f7f4;
  border-bottom: 1px solid var(--border);
}

.rehber-filter-panel-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0.85rem;
}

.rehber-filter-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.65rem;
}

.rehber-filter-search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  width: 100%;
  outline: none;
}

.rehber-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: 130px;
  overflow-y: auto;
}

.rehber-filter-chips .filter-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.rehber-filter-chips .filter-chip:hover {
  border-color: var(--gold);
}

.rehber-filter-chips .filter-chip.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.rehber-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.rehber-toolbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.rehber-toolbar-meta {
  flex: 1 1 160px;
  min-width: 0;
}

.rehber-result {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.rehber-hint {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rehber-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  background: #f8f7f4;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: text;
}

.rehber-search svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.rehber-search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  min-width: 0;
  outline: none;
}

.rehber-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 2rem;
}

.rehber-loading {
  text-align: center;
  padding: 2rem;
}

.rehber-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.member-card:hover,
.member-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  outline: none;
}

.member-card-header {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1rem 0.75rem;
  align-items: flex-start;
}

.member-photo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8e4de;
  border: 2px solid var(--border);
}

.member-head {
  flex: 1;
  min-width: 0;
}

.member-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.member-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.member-role-line {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.member-company-line {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-card-body {
  padding: 0 1rem 0.75rem;
}

.member-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  background: #f5f3ef;
  border-radius: 6px;
  color: var(--text-muted);
  max-width: 100%;
}

.member-chip svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.member-chip strong {
  color: var(--text);
  font-weight: 600;
}

.member-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.member-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.member-tag-pill {
  font-size: 0.68rem;
  padding: 0.18rem 0.45rem;
  background: var(--chip-bg);
  border-radius: 4px;
  color: var(--text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-link {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.rehber-modal-bar {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
}

@media (min-width: 600px) {
  .rehber-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-photo {
    width: 72px;
    height: 72px;
  }
}

@media (min-width: 1024px) {
  .rehber-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .member-photo {
    width: 76px;
    height: 76px;
  }

  .rehber-toolbar-inner {
    flex-wrap: nowrap;
  }

  .rehber-search {
    max-width: 400px;
  }
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

.status-active {
  background: rgba(34, 139, 34, 0.12);
  color: #1d6b1d;
}

.status-closing {
  background: rgba(193, 122, 46, 0.15);
  color: #9a5a14;
}

.status-closed {
  background: rgba(120, 120, 120, 0.15);
  color: #555;
}

.member-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(154, 123, 79, 0.15);
  color: var(--gold-dark);
}

/* Modals */
.modal-article,
.modal-proc,
.modal-member {
  max-width: 640px;
  width: calc(100% - 2rem);
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-article {
  max-width: 720px;
  border-radius: 16px;
}

.modal-proc {
  max-width: 680px;
}

.proc-modal-bar {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
}

.modal-article .modal-body,
.modal-proc .modal-body,
.modal-member .modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.modal-article .modal-body {
  padding: 0;
}

.news-modal-bar {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 1rem 1.25rem;
}

.news-modal-eyebrow {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.news-modal-heading {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-modal-bar .modal-close {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.article-detail {
  margin: 0;
}

.article-detail-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  overflow: hidden;
  background: #e8e4de;
}

.article-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-detail-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.article-detail-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(139, 115, 73, 0.92);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.article-detail-inner {
  padding: 1.35rem 1.5rem 1.75rem;
}

.article-detail-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.article-detail-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-detail-meta svg {
  flex-shrink: 0;
  color: var(--gold-dark);
  opacity: 0.85;
}

.article-detail-meta time {
  font-weight: 500;
  color: var(--text);
}

.article-detail-title {
  margin: 0 0 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.article-detail-lead {
  margin: 0 0 1.15rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
}

.article-detail-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.article-detail-body p {
  margin: 0 0 1rem;
}

.article-detail-body p:last-child {
  margin-bottom: 0;
}

.proc-publisher {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.proc-publisher-main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.proc-publisher-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #fff;
}

.proc-publisher-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: var(--chip-bg);
}

.proc-publisher-company {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.proc-contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.proc-contact-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.proc-contact-name {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.proc-contact-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.proc-contact-link {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.2rem;
}

.proc-contact-link:hover {
  text-decoration: underline;
}

.proc-author-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(139, 115, 73, 0.06);
  border-radius: 0 8px 8px 0;
}

.proc-author-message-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.proc-author-message-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.proc-section-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proc-attachments {
  margin-bottom: 1.25rem;
}

.proc-file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proc-file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.proc-file-item:hover {
  border-color: var(--accent);
  background: rgba(139, 115, 73, 0.04);
}

.proc-file-item--muted {
  opacity: 0.65;
  cursor: default;
}

.proc-file-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.proc-file-meta {
  flex: 1;
  min-width: 0;
}

.proc-file-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proc-file-size {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.proc-file-dl {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.proc-btn-mail {
  flex: 0 1 auto;
}

.proc-modal-header {
  margin-bottom: 1rem;
}

.proc-modal-title {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.proc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--bg);
  border-radius: 10px;
}

.proc-detail-grid .proc-meta-item {
  grid-column: span 1;
}

.proc-detail-grid .proc-meta-item.span-2 {
  grid-column: 1 / -1;
}

.proc-modal-desc {
  margin: 0 0 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.proc-modal-desc--rich {
  color: var(--text);
}

.proc-modal-desc--rich p {
  margin: 0 0 0.75rem;
}

.proc-author-message--html {
  font-size: 0.92rem;
  line-height: 1.55;
}

.proc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.proc-modal-footer {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.proc-modal-footer .proc-modal-actions {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.proc-closed-note {
  padding: 0.85rem 1rem;
  background: var(--chip-bg);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.modal-member .modal-profile {
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.modal-actions-row a {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
}

.member-modal-footer {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.member-modal-footer .modal-actions-row {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.member-modal-footer:empty {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .page-tabs,
  .page-filter-bar {
    position: static;
    box-shadow: none;
  }

  .proc-sticky,
  .news-sticky,
  .rehber-sticky {
    position: static;
    box-shadow: none;
  }

  .news-toolbar-inner,
  .rehber-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search,
  .rehber-search {
    width: 100%;
    flex: 1 1 auto;
  }

  .module-menu-row {
    flex-wrap: wrap;
  }

  .page-stats-menu {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    justify-content: center;
  }

  .page-stats-inner--menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .news-main,
  .rehber-main {
    padding: 1rem 1rem 1.5rem;
  }

  #articleModal:not(.hidden) {
    align-items: flex-end;
    padding: 0;
  }

  .modal-article {
    width: 100%;
    max-width: 100%;
    max-height: min(92vh, 100dvh);
    margin: 0;
    border-radius: 16px 16px 0 0;
    animation: procSheetIn 0.28s ease;
  }

  .article-detail-inner {
    padding: 1.15rem 1.15rem 1.5rem;
  }

  .article-detail-cover {
    max-height: 220px;
  }

  .news-modal-heading {
    font-size: 0.88rem;
  }

  #modalBackdrop:not(.hidden) {
    align-items: flex-end;
    padding: 0;
  }

  .modal-member {
    width: 100%;
    max-width: 100%;
    max-height: min(92vh, 100dvh);
    margin: 0;
    border-radius: 16px 16px 0 0;
    animation: procSheetIn 0.28s ease;
  }

  .member-modal-footer .modal-actions-row {
    flex-direction: column;
  }

  .member-modal-footer .modal-actions-row a {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .member-modal-footer .btn-primary,
  .member-modal-footer .btn-outline {
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
  }

  .proc-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .proc-toolbar-fields {
    flex-direction: column;
    width: 100%;
  }

  .proc-search,
  .proc-select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .proc-main {
    padding: 1rem 1rem 1.5rem;
  }

  .proc-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .proc-card-budget {
    margin-left: 0;
  }

  .page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .page-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-search,
  .page-search--compact {
    min-width: 0;
    width: 100%;
  }

  .page-select select {
    width: 100%;
  }

  .page-search-btn {
    width: 100%;
    justify-content: center;
  }

  .proc-detail-grid {
    grid-template-columns: 1fr;
  }

  .proc-publisher-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .proc-contact-row {
    flex-direction: column;
    text-align: center;
  }

  .proc-modal-footer .proc-modal-actions {
    flex-direction: column;
  }

  .proc-modal-footer .btn-primary,
  .proc-modal-footer .btn-outline {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    justify-content: center;
    text-align: center;
  }

  #procModal:not(.hidden) {
    align-items: flex-end;
    padding: 0;
  }

  .modal-proc {
    width: 100%;
    max-width: 100%;
    max-height: min(92vh, 100dvh);
    margin: 0;
    border-radius: 16px 16px 0 0;
    animation: procSheetIn 0.28s ease;
  }

  @keyframes procSheetIn {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

@media (max-width: 480px) {
  .member-card-header {
    padding: 0.85rem 0.85rem 0.65rem;
  }

  .member-photo {
    width: 56px;
    height: 56px;
  }

  .news-card--featured {
    flex-direction: column;
  }

  .news-card--featured .news-card-media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
