/**
 * MAT — ortak bileşen sınıfları
 */
.mat-main {
  min-height: 60vh;
  background: var(--mat-bg, #f7f5f1);
}

.mat-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mat-space-4, 16px);
  padding-right: var(--mat-space-4, 16px);
}

.mat-section {
  padding-top: var(--mat-space-7, 48px);
  padding-bottom: var(--mat-space-7, 48px);
}

@media (max-width: 768px) {
  .mat-section {
    padding-top: var(--mat-space-6, 32px);
    padding-bottom: var(--mat-space-6, 32px);
  }
}

.mat-page-header {
  margin-bottom: var(--mat-space-5, 24px);
}

.mat-page-header__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mat-accent-2, #8c7a5b);
  margin-bottom: var(--mat-space-2, 8px);
}

.mat-page-header__title {
  font-family: var(--mat-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--mat-text, #181818);
  line-height: 1.2;
  margin: 0 0 var(--mat-space-2, 8px);
}

.mat-page-header__desc {
  color: var(--mat-muted, #6b6b6b);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0;
}

.mat-card {
  background: var(--mat-surface, #fff);
  border: 1px solid var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-lg, 16px);
  box-shadow: var(--mat-shadow-sm);
  transition: box-shadow var(--mat-duration) var(--mat-ease),
    transform var(--mat-duration) var(--mat-ease);
}

.mat-card:hover {
  box-shadow: var(--mat-shadow-md);
}

.mat-card__body {
  padding: var(--mat-space-5, 24px);
}

.mat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mat-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.65rem 1.25rem;
  border-radius: var(--mat-radius-md, 12px);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--mat-duration) var(--mat-ease),
    color var(--mat-duration) var(--mat-ease),
    border-color var(--mat-duration) var(--mat-ease),
    box-shadow var(--mat-duration) var(--mat-ease);
}

.mat-btn--primary {
  background: var(--mat-accent-1, #e50914);
  color: #fff;
  border-color: var(--mat-accent-1, #e50914);
}

.mat-btn--primary:hover {
  background: #b20710;
  color: #fff;
}

.mat-btn--ghost {
  background: transparent;
  color: var(--mat-accent-1, #2f3a34);
  border-color: var(--mat-border, #e7e2d9);
}

.mat-btn--ghost:hover {
  border-color: var(--mat-accent-2, #8c7a5b);
  color: var(--mat-accent-1, #2f3a34);
}

.mat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--mat-radius-pill);
  background: rgba(47, 58, 52, 0.08);
  color: var(--mat-accent-1, #2f3a34);
}

.mat-badge--accent2 {
  background: rgba(140, 122, 91, 0.12);
  color: var(--mat-accent-2, #8c7a5b);
}

.mat-input,
.mat-select {
  width: 100%;
  font-family: var(--mat-font-body);
  font-size: 0.9375rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-sm, 8px);
  background: var(--mat-surface, #fff);
  color: var(--mat-text, #181818);
  transition: border-color var(--mat-duration) var(--mat-ease),
    box-shadow var(--mat-duration) var(--mat-ease);
}

.mat-input:focus,
.mat-select:focus {
  outline: none;
  border-color: var(--mat-accent-2, #8c7a5b);
  box-shadow: 0 0 0 3px rgba(140, 122, 91, 0.2);
}

.mat-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--mat-space-4, 16px);
  margin-bottom: var(--mat-space-5, 24px);
}

.mat-stat-card {
  background: var(--mat-surface, #fff);
  border: 1px solid var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-lg, 16px);
  padding: var(--mat-space-5, 24px);
  box-shadow: var(--mat-shadow-sm);
}

.mat-stat-card__label {
  font-size: 0.8125rem;
  color: var(--mat-muted, #6b6b6b);
  margin-bottom: var(--mat-space-2, 8px);
}

.mat-stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mat-text, #181818);
  font-variant-numeric: tabular-nums;
}

.mat-empty-state {
  text-align: center;
  padding: var(--mat-space-7, 48px) var(--mat-space-4, 16px);
  border: 1px dashed var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-lg, 16px);
  background: rgba(255, 255, 255, 0.6);
}

.mat-empty-state__icon {
  font-size: 2rem;
  color: var(--mat-accent-2, #8c7a5b);
  margin-bottom: var(--mat-space-3, 12px);
  opacity: 0.85;
}

.mat-empty-state__title {
  font-family: var(--mat-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mat-text, #181818);
  margin-bottom: var(--mat-space-2, 8px);
}

.mat-empty-state__text {
  color: var(--mat-muted, #6b6b6b);
  font-size: 0.9375rem;
  max-width: 28rem;
  margin: 0 auto var(--mat-space-4, 16px);
  line-height: 1.55;
}

.mat-alert {
  border-radius: var(--mat-radius-md, 12px);
  padding: var(--mat-space-4, 16px);
  border: 1px solid var(--mat-border, #e7e2d9);
  background: var(--mat-surface, #fff);
}

.mat-alert--success {
  border-color: rgba(47, 58, 52, 0.25);
  background: rgba(47, 58, 52, 0.06);
}

.mat-alert--info {
  border-color: rgba(140, 122, 91, 0.35);
  background: rgba(140, 122, 91, 0.08);
}

.mat-form-section {
  border: 1px solid var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-lg, 16px);
  background: var(--mat-surface, #fff);
  margin-bottom: var(--mat-space-5, 24px);
  overflow: hidden;
}

.mat-form-section__head {
  padding: var(--mat-space-4, 16px) var(--mat-space-5, 24px);
  border-bottom: 1px solid var(--mat-border, #e7e2d9);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mat-text, #181818);
}

.mat-form-section__body {
  padding: var(--mat-space-5, 24px);
}

.mat-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mat-space-3, 12px);
  align-items: flex-end;
  padding: var(--mat-space-4, 16px);
  background: var(--mat-surface, #fff);
  border: 1px solid var(--mat-border, #e7e2d9);
  border-radius: var(--mat-radius-lg, 16px);
  margin-bottom: var(--mat-space-5, 24px);
}

.mat-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--mat-muted, #6b6b6b);
  margin-bottom: var(--mat-space-3, 12px);
  list-style: none;
  padding: 0;
}

.mat-breadcrumb a {
  color: var(--mat-accent-1, #2f3a34);
  text-decoration: none;
}

.mat-breadcrumb a:hover {
  text-decoration: underline;
}

/* Üst bilgi şeridi (ön yüz) */
.mat-top-strip {
  position: relative;
  z-index: 1070;
  background: var(--mat-surface, #fff);
  border-bottom: 1px solid var(--mat-border, #e7e2d9);
  font-size: 0.8125rem;
  color: var(--mat-muted, #6b6b6b);
  padding: 0.45rem 0;
}

.mat-top-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.mat-top-strip a {
  color: var(--mat-accent-1, #2f3a34);
  font-weight: 600;
  text-decoration: none;
}

.mat-top-strip a:hover {
  text-decoration: underline;
}

/* Üyelik / blog bölümleri */
.mat-membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--mat-space-5, 24px);
}

.mat-membership-item {
  padding: var(--mat-space-5, 24px);
  border-radius: var(--mat-radius-lg, 16px);
  border: 1px solid var(--mat-border, #e7e2d9);
  background: var(--mat-surface, #fff);
  box-shadow: var(--mat-shadow-sm);
}

.mat-membership-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--mat-radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 58, 52, 0.08);
  color: var(--mat-accent-1, #2f3a34);
  font-size: 1.25rem;
  margin-bottom: var(--mat-space-3, 12px);
}

.mat-blog-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--mat-space-5, 24px);
}

.mat-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--mat-radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--mat-border, #e7e2d9);
  background: var(--mat-surface, #fff);
  box-shadow: var(--mat-shadow-sm);
  transition: box-shadow var(--mat-duration) var(--mat-ease);
}

.mat-blog-card:hover {
  box-shadow: var(--mat-shadow-md);
}

.mat-blog-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(
    145deg,
    rgba(47, 58, 52, 0.12) 0%,
    rgba(140, 122, 91, 0.15) 100%
  );
  overflow: hidden;
}

.mat-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mat-blog-card__body {
  padding: var(--mat-space-4, 16px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mat-blog-card__title {
  font-family: var(--mat-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 var(--mat-space-2, 8px);
}

.mat-blog-card__title a {
  color: var(--mat-text, #181818);
  text-decoration: none;
}

.mat-blog-card__title a:hover {
  color: var(--mat-accent-1, #2f3a34);
}

.mat-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--mat-muted, #6b6b6b);
  line-height: 1.55;
  margin-bottom: var(--mat-space-4, 16px);
  flex: 1;
}
