/* Modernized What's New page. Scoped under .modernWhatsNewPage so it never affects other pages that reuse
   the same .card/.card-header/.card-block/.ptfgCardBody/.ptfgWhiteOnBlue/.ptfgWhiteOnRed/.ptfgWhiteOnGreen
   classes used elsewhere in the app. */

.modernWhatsNewPage .row {
  margin: 0;
}

.modernWhatsNewPage .col-sm-11 {
  padding-left: 0;
  padding-right: 0;
}

/* Neutralize the per-entry .row/.col-sm-10 nested inside the outer .col-sm-11 container so each entry
   fills the full width of the panel instead of computing 10/12 of its own (already narrowed) parent.
   Also cancels application.css's global ".whatsNewRow { max-width: 1000px; }" rule. */
.modernWhatsNewPage .whatsNewRow {
  margin: 0;
  max-width: none;
}

.modernWhatsNewPage .whatsNewRow > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.modernWhatsNewPage .whatsNewHeaderCard {
  border: 1px solid #e2e6f2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.08);
  margin-bottom: 20px;
}

.modernWhatsNewPage .whatsNewHeaderCard > .card-header {
  background: #f4f6fb;
  border-bottom: 1px solid #e2e6f2;
  padding: 14px 22px;
}

.modernWhatsNewPage .whatsNewHeaderCard > .card-block {
  padding: 18px 22px;
}

.modernWhatsNewPage #pageTitle {
  margin: 0;
  font-size: 20px;
}

.modernWhatsNewPage #pageTitle::before {
  content: "\1F4E2";
  display: inline-block;
  margin-right: 10px;
}

.modernWhatsNewPage .whatsNewLegend {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #eaf2fc;
  border-left: 4px solid #1c5bc4;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #1c3f66;
}

/* Note: .card-header is a sibling of .card in this page's markup (not nested inside it), so both need
   matching borders/radius to visually read as one card -- same layout quirk as the Home page. Both are
   full-width (no max-width cap) so entries expand to fill the outer panel like other modernized pages. */
.modernWhatsNewPage .whatsNewRow .card-header {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.modernWhatsNewPage .whatsNewRow .card {
  box-sizing: border-box;
  border: 1px solid #e2e6f2;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(11, 26, 103, 0.06);
  margin-bottom: 20px;
  background: #fff;
}

.modernWhatsNewPage .whatsNewRow .card-block {
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.modernWhatsNewPage .whatsNewRow .card-text.ptfgCardBody {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
