/* ==================================================
   Trade Bulletin – Issues Page
   Clean Professional Version
================================================== */

/* ===============================
   Page Container
=================================*/

.tb-issues-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* إزالة المسافات العليا الافتراضية */
.path-moit-p-trade-bulletin-issues .layout-container {
  padding-top: 0;
}


/* ===============================
   Breadcrumb
=================================*/

.tb-issues-page__breadcrumb {
  font-size: 13px;
  margin: 10px 0 15px;
  color: #777;
}

.tb-issues-page__breadcrumb a {
  text-decoration: none;
  color: #0d3c61;
  font-weight: 500;
}


/* ===============================
   Header (مُعاد تصميمه بشكل أقوى)
=================================*/

.tb-issues-page__header {
  text-align: center;
  margin: 0 0 24px;
  padding: 40px 20px;
  background: linear-gradient(
    to bottom,
    rgba(13,60,97,0.07),
    rgba(13,60,97,0.01)
  );
  border-radius: 12px;
}

.tb-issues-page__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0d3c61;
}

.tb-issues-page__description {
  font-size: 15px;
  color: #555;
  max-width: 620px;
  margin: 0 auto;
}


/* ===============================
   Filter (نسخة أنيقة)
=================================*/

.tb-issues-filter-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px 0 25px;
}

.tb-issues-filter-wrapper form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.tb-issues-filter-wrapper select {
  padding: 8px 56px;
  border-radius: 8px;
  border: 1px solid #d6d6d6;
  font-size: 14px;
  background: #fff;
}

.tb-issues-filter-wrapper input[type="submit"] {
  padding: 8px 48px;
  background: #0d3c61;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
}

.tb-issues-filter-wrapper input[type="submit"]:hover {
  background: #08283f;
}


/* ===============================
   Gold Divider
=================================*/

.tb-issues-divider-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, #b88a00, transparent);
  margin: 20px 0 40px;
}


/* ===============================
   Grid
=================================*/

.tb-issues-page__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}


/* ===============================
   Card V2 (النسخة المعتمدة فقط)
=================================*/

.tb-issues-card-v2 {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tb-issues-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.tb-issues-card-v2__media {
  position: relative;
  aspect-ratio: 4 / 5;
}

.tb-issues-card-v2__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.tb-issues-card-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 10%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.1) 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: #fff;
}

.tb-issues-card-v2__meta-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.tb-issues-card-v2__year,
.tb-issues-card-v2__number {
  background: rgba(255,255,255,0.9);
  color: #111;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.tb-issues-card-v2__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tb-issues-card-v2__title {
  font-size: 17px;
  font-weight: 700;
  background: rgba(0,0,0,0.65);
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
  color: #fff;
}

.tb-issues-card-v2__date {
  font-size: 13px;
  opacity: 0.85;
}

/* نوع الإصدار */

.tb-issues-card-v2__type {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 6px;
}

/* Normal */
.tb-issues-card-v2__type--normal {
  background: #0d3c61;
  color: #fff;
}

/* Special */
.tb-issues-card-v2__type--special {
  background: #b88a00;
  color: #fff;
}

.tb-issues-card-v2__button {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 16px;
  background: #f4c430;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  width: fit-content;
  transition: 0.3s ease;
  cursor: pointer;
}

.tb-issues-card-v2__button:hover {
  background: #e0b225;
}



/* ==================================================
   Page Outer Frame (Gold Border)
================================================== */

.tb-issues-page {
  border: 1px solid rgba(184,138,0,0.28);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
  padding-top: 24px;
}



/* ==================================================
   Breadcrumb Enhancement
================================================== */
.tb-issues-page__breadcrumb {
  background: linear-gradient(
    to right,
    rgba(13,60,97,0.08),
    rgba(13,60,97,0.02)
  );
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  margin: 0 auto 24px;
  width: fit-content;
}

.tb-issues-page__breadcrumb a {
  color: #0d3c61;
  font-weight: 500;
  transition: 0.3s ease;
}

.tb-issues-page__breadcrumb a:hover {
  color: #b88a00;
}

.tb-issues-page__breadcrumb span:last-child {
  color: #b88a00;
  font-weight: 700;
}



/* ======================================
   Responsive – Mobile Optimization
====================================== */

@media (max-width: 768px) {

  /* تقليل padding الصفحة */
  .tb-issues-page {
    padding: 30px 16px;
  }

  /* تقليل الإطار الداخلي */
  .tb-issues-page {
    border-radius: 12px;
  }

  /* Breadcrumb */
  .tb-issues-page__breadcrumb {
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Header */
  .tb-issues-page__header {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

  .tb-issues-page__title {
    font-size: 22px;
    line-height: 1.4;
  }

  .tb-issues-page__description {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Filter */
  .tb-issues-filter-wrapper {
    margin: 15px 0;
  }

  .tb-issues-filter-wrapper form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .tb-issues-filter-wrapper select {
    width: 100%;
  }

  .tb-issues-filter-wrapper input[type="submit"] {
    width: 100%;
  }

  /* Divider */
  .tb-issues-divider-gold {
    margin: 20px 0;
  }

}
