/* 14-subject-related-bareacts.css | Drug Law India split CSS | generated from cleaned production CSS */
/* ==================================================
   Drug Law India - Subject Related Bare Acts Block
   For subject archive pages
================================================== */

body.dli-subject-archive-page .dli-subject-related-bareacts {
  margin: 34px 0 34px;
  padding: 26px;
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 32px rgba(9, 35, 64, 0.07);
}

body.dli-subject-archive-page .dli-subject-related-bareacts .dli-subject-section-head {
  margin: 0 0 20px;
  max-width: 860px;
}

body.dli-subject-archive-page .dli-subject-related-bareacts .dli-section-kicker,
body.dli-subject-archive-page .dli-subject-related-bareacts .dli-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.09);
  color: #0f766e;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.dli-subject-archive-page .dli-subject-related-bareacts .dli-section-kicker::before,
body.dli-subject-archive-page .dli-subject-related-bareacts .dli-section-label::before {
  content: "§";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

body.dli-subject-archive-page .dli-subject-related-bareacts h2 {
  margin: 0 0 8px;
  color: #0b2545;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 850;
}

body.dli-subject-archive-page .dli-subject-related-bareacts .dli-subject-section-head p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

body.dli-subject-archive-page .dli-related-bareacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.dli-subject-archive-page .dli-related-bareact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(9, 35, 64, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.dli-subject-archive-page .dli-related-bareact-card::before {
  content: "Bare Act";
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #8a650f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.dli-subject-archive-page .dli-related-bareact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 14px 34px rgba(9, 35, 64, 0.09);
}

body.dli-subject-archive-page .dli-related-bareact-card h3 {
  margin: 0 0 10px;
  color: #0b2545;
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 850;
}

body.dli-subject-archive-page .dli-related-bareact-card h3 a {
  color: #0b2545;
  text-decoration: none;
}

body.dli-subject-archive-page .dli-related-bareact-card h3 a:hover {
  color: #0f766e;
}

body.dli-subject-archive-page .dli-related-bareact-card p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.65;
}

body.dli-subject-archive-page .dli-related-bareact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

body.dli-subject-archive-page .dli-related-bareact-link:hover {
  background: #0b2545;
  color: #ffffff !important;
  text-decoration: none;
}

/* Tablet */
@media (max-width: 980px) {
  body.dli-subject-archive-page .dli-related-bareacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 680px) {
  body.dli-subject-archive-page .dli-subject-related-bareacts {
    margin: 26px 0 28px;
    padding: 20px;
    border-radius: 22px;
  }

  body.dli-subject-archive-page .dli-related-bareacts-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body.dli-subject-archive-page .dli-related-bareact-card {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }

  body.dli-subject-archive-page .dli-subject-related-bareacts h2 {
    font-size: 25px;
  }
}
