/* ═══════════════════════════════════════════
   EDP Belgeleri – ASAŞ
   Frame 357: 4 sütun × 2 satır grid + aksiyon ikonları
═══════════════════════════════════════════ */

:root {
  --asas-gutter: 48px;
  /* Figma: kart çerçevesi */
  --edp-card-w: 378.26934814453125px;
  --edp-card-h: 434.743408203125px;
  --edp-gap: 11.1px;
  --edp-border-b: 0.92px;
}
@media (max-width: 1199.98px) { :root { --asas-gutter: 32px; } }
@media (max-width: 991.98px) { :root { --asas-gutter: 24px; } }
@media (max-width: 767.98px) { :root { --asas-gutter: 16px; } }

/* Breadcrumb (İnsan Kaynakları referans) */
.bc-wrapper {
  width: 100%;
  padding-left: 123px;
  padding-right: 123px;
  padding-top: 30px;
  padding-bottom: 0;
}
@media (max-width: 991.98px) {
  .bc-wrapper { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 767.98px) {
  .bc-wrapper { padding-left: 24px; padding-right: 24px; }
}
.slide-breadcrumb {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  height: 25px;
  width: auto;
}
.bc-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}
.bc-item:hover { text-decoration: underline; }
.bc-current {
  color: #000000;
  font-weight: 500;
  text-transform: uppercase;
}
.bc-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.bc-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 24px;
  height: 24px;
  background: #6D7175;
  border-radius: 35px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.bc-more:hover { background: #555; }

.edp-page {
  width: 100%;
  background: #FFFFFF;
}

/* Viewport genişliği: dar layout container’da statik prototiple aynı kart genişliği */
.edp-grid {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 130px var(--asas-gutter, 48px) 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

@media (max-width: 767.98px) {
  .edp-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.edp-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--edp-gap);
  width: 100%;
  max-width: calc(4 * var(--edp-card-w) + 3 * var(--edp-gap));
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.edp-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  padding: 0;
  gap: var(--edp-gap);
  width: var(--edp-card-w);
  height: var(--edp-card-h);
  flex: 0 0 var(--edp-card-w);
  max-width: 100%;
  background: #FFFFFF;
  border-bottom: var(--edp-border-b) solid #E6E7E9;
}

.edp-card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22.2px var(--edp-gap) 0;
  gap: 19.42px;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: #FFFFFF;
}

.edp-cover {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edp-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.edp-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.7px;
  width: 100%;
  min-height: 50px;
}

.edp-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16.65px;
  line-height: 28px;
  color: #000000;
  margin: 0;
}

.edp-footer {
  width: 100%;
  height: 58.27px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--edp-gap) 0 var(--edp-gap);
  box-sizing: border-box;
}

.edp-size {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14.8px;
  line-height: 18px;
  color: #828282;
  margin: 0;
  white-space: nowrap;
}

.edp-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.edp-btn {
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  background: #DADADA;
  border: 1px solid #FFFFFF;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  color: inherit;
}

a.edp-btn {
  text-decoration: none;
}

.edp-btn:hover {
  background: #c5c5c5;
}

.edp-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.edp-btn svg {
  width: 16px;
  height: 16px;
}

/* Pagination – haberler ile aynı davranış */
.edp-pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 0;
  gap: 20px;
  width: 100%;
  max-width: calc(4 * var(--edp-card-w) + 3 * var(--edp-gap));
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #EAECF0;
  flex-wrap: wrap;
}
.edp-pagination-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
}
.edp-pagination a,
.edp-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #667085;
  text-decoration: none;
  border-radius: 8px;
}
.edp-pagination a:hover { background: #f5f5f5; }
.edp-pagination .active {
  background: rgba(209, 0, 15, 0.2);
  color: #D1000F;
}
.edp-pagination .arrow { width: 20px; height: 20px; color: #667085; }

/* Responsive: 3 / 2 / 1 sütun (yükseklik serbest) */
@media (max-width: 1199.98px) {
  .edp-row {
    max-width: calc(3 * var(--edp-card-w) + 2 * var(--edp-gap));
  }
  .edp-pagination {
    max-width: calc(3 * var(--edp-card-w) + 2 * var(--edp-gap));
  }
  .edp-card {
    width: calc((100% - 2 * var(--edp-gap)) / 3);
    flex: 0 0 calc((100% - 2 * var(--edp-gap)) / 3);
    height: auto;
    min-height: 380px;
  }
  .edp-cover {
    flex: none;
    height: 240px;
  }
}
@media (max-width: 991.98px) {
  .edp-row {
    gap: var(--edp-gap);
    max-width: calc(2 * var(--edp-card-w) + 1 * var(--edp-gap));
  }
  .edp-pagination {
    max-width: calc(2 * var(--edp-card-w) + 1 * var(--edp-gap));
  }
  .edp-card {
    width: calc((100% - var(--edp-gap)) / 2);
    flex: 0 0 calc((100% - var(--edp-gap)) / 2);
    min-height: 360px;
  }
  .edp-cover {
    height: 220px;
  }
}
@media (max-width: 767.98px) {
  .edp-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--edp-gap);
    max-width: min(var(--edp-card-w), 100%);
  }
  .edp-pagination {
    max-width: 100%;
  }
  .edp-card {
    width: 100%;
    max-width: min(var(--edp-card-w), 100%);
    flex: 0 0 auto;
    margin: 0 auto;
    min-height: 0;
  }
  .edp-cover {
    height: 220px;
  }
  .edp-footer { height: auto; padding: 12px var(--edp-gap); }
}

