/* ===== TENDERS BOARD ===== */
.tender-board {
  background: #f7f5f0;
  padding: 3.5rem 1.5rem 4rem;
}

.tender-board-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.tender-board-header {
  max-width: 720px;
  margin: 0 auto 2.3rem;
  text-align: center;
}

.tender-board-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #155b3c;
}

.tender-board-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #495c53;
}

/* Layout */
.tender-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
}

/* Sidebar */
.tender-sidebar {
  border-right: 1px solid rgba(0,0,0,.08);
  padding-right: 1.2rem;
}

.tender-sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #0e75c2;
  margin-bottom: .9rem;
}

.tender-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 420px;
  overflow-y: auto;
}

.tender-item {
  background: #0e75c2;
  color: #fff;
  padding: .7rem .85rem;
  border: none;
  text-align: left;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.tender-item:hover,
.tender-item.active {
  background: #ff7a1a;
  border-left-color: #fff;
}

/* Content */
.tender-content {
  max-height: 480px;
  overflow-y: auto;
}

.tender-detail-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #155b3c;
}

.tender-section h4 {
  text-transform: uppercase;
  font-size: .96rem;
  color: #0e75c2;
}

.tender-download {
  color: chocolate;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
  .tender-board-layout {
    grid-template-columns: 1fr;
  }

  .tender-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding-bottom: 1rem;
  }

  .tender-content {
    max-height: none;
  }
}

/* =====================================================
   TENDER DETAIL SPACING – RIGHT PANEL
   Prevents content stacking
===================================================== */

/* Space between major sections */
.tender-detail {
  gap: 1.6rem; /* increases vertical rhythm */
}

/* Space above each section heading */
.tender-section {
  margin-top: 1.2rem;
}

/* Strong visual separation for headings */
.tender-section h4 {
  margin-bottom: 0.6rem;
  padding-top: 0.4rem;
}

/* Paragraph breathing room */
.tender-section p {
  margin-bottom: 0.4rem;
}

/* Lists spacing */
.tender-section ul {
  margin-top: 0.4rem;
}

/* Final note spacing */
.tender-note {
  margin-top: 1.5rem;
}
