/* Shared "card" shell used across pages for callout-style boxes (Commissioner's Message, Entry Fee
   Instructions, etc.) -- ported from legacy's card_component_modern.css/home_modern.css. .card-header and
   .card are sibling elements in the markup (not nested), so both need matching borders/radius to visually
   read as one rounded card. Bootstrap 5 renamed .card-block to .card-body -- this targets the current name. */
.card-header.ptfgCardHeader {
  box-sizing: border-box;
  background: var(--ptfg-bg-card-tint);
  border: 1px solid var(--ptfg-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  color: var(--ptfg-navy);
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 14px 22px;
}

/* The header text is a real <h2> for accessibility/semantics, but Bootstrap's own heading rules (element
   selector, higher specificity than .ptfgCardHeader's two classes) otherwise override the font-weight/size
   above with their own defaults -- inheriting from the parent keeps the legacy-matching look. */
.card-header.ptfgCardHeader h2 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.card-header.ptfgCardHeader + .card {
  box-sizing: border-box;
  border: 1px solid var(--ptfg-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.08);
  margin-top: 0;
  margin-bottom: 24px;
}

.card-header.ptfgCardHeader + .card .card-body {
  padding: 18px 22px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

/* Emoji markers matching legacy's per-card icons. */
.ptfgCardHeader.homeCommissionersMsgHeader::before {
  content: "\1F4AC";
  display: inline-block;
  margin-right: 4px;
  font-size: 1.3em;
  vertical-align: middle;
  margin-top: -7px;
}

.ptfgCardHeader.homeEntryFeeHeader::before {
  content: "\1F4B0";
  display: inline-block;
  margin-right: 4px;
  font-size: 1.5em;
  vertical-align: middle;
  margin-top: -7px;
}

.ptfgCardHeader.homeBestBallHeader::before {
  content: "\2605";
  display: inline-block;
  margin-right: 4px;
  color: #8b93a7;
  font-size: 1.3em;
  vertical-align: middle;
  margin-top: -7px;
}
