/* Modern redesign for the Home page. Everything here is scoped under .modernHomePage so it can never affect
   any other page that reuses the same .card/.ptfgCardHeader/.ptfgButtonBlue classes. */

.modernHomePage {
  padding-top: 2px;
}

.modernHomePage #pageTitle {
  font-size: 27px;
  margin-bottom: 22px;
}

.modernHomePage .homePageSubtitle {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 22px 0;
}

.modernHomePage .row {
  margin: 0;
}

/* Remove Bootstrap's column gutter padding so cards line up flush with the page title above them. */
.modernHomePage .col-sm-11 {
  padding-left: 0;
  padding-right: 0;
}

/* Note: .card-header is a sibling of .card in the markup (not nested inside it), so both need matching
   borders/widths to visually read as one card. Uses the same .col-sm-11 column (no extra max-width cap)
   as the Rules pages so Home's cards match their width. */
.modernHomePage .card {
  border: 1px solid #e2e6f2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.08);
  margin-top: 0;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.modernHomePage .card-header {
  box-sizing: border-box;
  background: #f4f6fb;
  border: 1px solid #e2e6f2;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 14px 22px;
}

.modernHomePage .ptfgCardHeader {
  color: #0b1a67 !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.modernHomePage .homeCommissionersMsgHeader::before {
  content: "\1F4AC";
  display: inline-block;
  margin-right: 4px;
  font-size: 1.3em;
  vertical-align: middle;
  margin-top: -7px;
}

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

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

/* .card-text is nested inside .card-block in this app's markup (not a sibling), so only .card-block gets
   padding -- giving both would double it up. */
.modernHomePage .card-block {
  padding: 18px 22px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.modernHomePage .card-text {
  padding: 0;
  margin: 0;
}

.modernHomePage .ptfgCardBody {
  margin: 0 !important;
}

.modernHomePage .signUpToday {
  margin-bottom: 20px;
}

.modernHomePage .signUpToday .btn,
.modernHomePage .card-block .btn.ptfgButtonBlue {
  background-color: #0b1a67;
  border: none;
  border-radius: 999px;
  padding: 9px 26px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(11, 26, 103, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modernHomePage .signUpToday .btn:hover,
.modernHomePage .card-block .btn.ptfgButtonBlue:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(11, 26, 103, 0.38);
  color: #fff;
}

.modernHomePage .card-block sup a {
  font-size: 11px;
}

.modernHomePage .homeNoMessagePlaceholder {
  font-style: italic;
  color: #8b93a7;
}

.modernHomePage .homeNoteCallout {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fff8e8;
  border-left: 4px solid #e8a83c;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b4d10;
}

.modernHomePage .homeNoteCallout:first-child {
  margin-top: 0;
}

.modernHomePage .homeNoteCalloutLabel {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #a6720f;
  margin-right: 6px;
}
