/* =========================================================
   2027 Member Home - master layout
   Load AFTER 2026-styles.css. Layout only: each club sets
   its colors/fonts by overriding the --mh-* variables in
   custom-styles.css, e.g.
     .mh-dashboard { --mh-accent:#2f5d46; --mh-ink:#1d3b2a; }
   Uses its own mh- classes + CSS grid so Bootstrap 3 .row /
   .col-* rules can't interfere.
   ========================================================= */

.mh-dashboard {
  --mh-accent: #7d6f2e;
  --mh-ink: #214d32;
  --mh-text: #1f2328;
  --mh-muted: #5b5f66;
  --mh-card: #ffffff;
  --mh-line: #e4dfd1;
  --mh-rule: #eee9dc;
  --mh-chip: #f3efe2;
  --mh-radius: 14px;
  --mh-gap: 24px;
  --mh-heading-font: inherit;

  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--mh-text);
}
.mh-dashboard *, .mh-dashboard *::before, .mh-dashboard *::after { box-sizing: border-box; }

/* Inside 2026-section.css's .content-wrapper: it already sets width and side padding */
.content-wrapper .mh-dashboard { max-width: none; padding-left: 0; padding-right: 0; padding-top: 0; }

/* ---------- Welcome ---------- */
.mh-welcome { display: flex; flex-direction: column; gap: 16px; }
.mh-welcome__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
}

/* ---------- Weather chip (include_weather_chip_2027.cfm) ---------- */
.mh-weather {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 10px 16px; background: var(--mh-card); border: 1px solid var(--mh-line);
  border-radius: 12px; color: var(--mh-ink);
}
.mh-weather__icon { width: 30px; height: 30px; color: var(--mh-accent); flex-shrink: 0; }
.mh-weather__text { display: flex; flex-direction: column; line-height: 1.2; }
.mh-weather__temp { font-size: 20px; font-weight: 600; }
.mh-weather__desc { font-size: 13px; color: var(--mh-muted); }

.mh-greeting__date {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mh-accent);
}
.mh-dashboard .mh-greeting__title {
  margin: 4px 0 0; font-family: var(--mh-heading-font); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--mh-ink);
}
.mh-message {
  background: var(--mh-card); border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius); box-shadow: 0 8px 24px rgba(20, 33, 61, .08);
  padding: 20px 24px; font-size: 17px; line-height: 1.55;
}
/* Turn the include's section heading into a small label */
.mh-dashboard .mh-message .section-title {
  background: none; border: 0; padding: 0; margin: 0 0 6px; text-align: left;
  font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mh-accent);
}
.mh-dashboard .mh-message .wrapper-section,
.mh-dashboard .mh-message .section-body { background: none; border: 0; margin: 0; padding: 0; }

/* ---------- Tiles (always six) ---------- */
.mh-dashboard .mh-tiles {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.mh-tiles > li { display: flex; margin: 0; }
.mh-dashboard .mh-tile {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 112px; padding: 12px 8px; text-align: center;
  background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: var(--mh-radius);
  color: var(--mh-ink); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mh-dashboard .mh-tile:hover,
.mh-dashboard .mh-tile:focus-visible {
  border-color: var(--mh-accent); box-shadow: 0 4px 14px rgba(20, 33, 61, .08);
  color: var(--mh-ink); text-decoration: none;
}
.mh-tile__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--mh-chip); color: var(--mh-accent);
  display: flex; align-items: center; justify-content: center;
}
.mh-tile__icon svg { width: 24px; height: 24px; }

/* ---------- Section + card shell ---------- */
.mh-dashboard .mh-section-title,
.mh-dashboard .mh-card__title {
  margin: 0 0 16px; font-family: var(--mh-heading-font); font-weight: 500;
  font-size: 26px; line-height: 1.2; color: var(--mh-ink);
}
.mh-dashboard .mh-card__title { font-size: 22px; margin-bottom: 12px; }

.mh-card {
  min-width: 0; background: var(--mh-card); border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius); padding: 22px 24px;
}
/* Neutralise the old include wrappers inside a card */
.mh-dashboard .mh-card .wrapper-section {
  background: none; border: 0; box-shadow: none; margin: 0; padding: 0;
}
.mh-dashboard .mh-card .section-body,
.mh-dashboard .mh-card .section-left,
.mh-dashboard .mh-card .section-left-body { background: none; border: 0; padding: 0; margin: 0; float: none; width: auto; }
.mh-dashboard .mh-card .section-title,
.mh-dashboard .mh-card .section-left-title {
  background: none; border: 0; border-bottom: 1px solid var(--mh-rule);
  margin: 0 0 12px; padding: 0 0 12px; text-align: left;
  font-family: var(--mh-heading-font); font-size: 22px; font-weight: 500;
  letter-spacing: normal; text-transform: none; color: var(--mh-ink);
}
.mh-dashboard .mh-card .clear { display: none; }

/* Buttons inside modules (View Statement, Tee Time Booking, My Inbox...) */
.mh-dashboard .mh-card .btn,
.mh-dashboard .mh-card input[type="submit"],
.mh-dashboard .mh-card input[type="button"] {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 44px; margin-top: 12px; padding: 8px 16px; border-radius: 8px;
  border: 1.5px solid var(--mh-ink); background: var(--mh-card); color: var(--mh-ink);
  font-weight: 600; white-space: normal; text-decoration: none;
  float: none !important;            /* include_mygolf.cfm floats its buttons left */
}
/* .btn-desktop may be hidden on phones elsewhere; keep module buttons visible here */
.mh-dashboard .mh-card .btn-desktop { display: flex !important; }
.mh-dashboard .mh-card .btn:hover,
.mh-dashboard .mh-card .btn:focus-visible { background: var(--mh-ink); color: #fff; }

/* ---------- Rows inside My Golf / My Dining / My Events ----------
   Those includes print one <div> per tee time / reservation / registration,
   with a Font Awesome icon, a link and a float-right detail. */
.mh-personal .mh-card .section-body > div {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 10px 0; border-top: 1px solid var(--mh-rule); font-size: 15px;
}
/* first-of-type, not first-child: some includes (My Inbox) put a <style> block before the first row */
.mh-dashboard .mh-personal .mh-card .section-body > div:first-of-type { border-top: 0; padding-top: 0; }
.mh-personal .mh-card .section-body > div > span[style*="float"] {
  float: none !important; margin-left: auto; font-size: 14px; color: var(--mh-muted);
}
.mh-personal .mh-card .section-body > div > .fa { color: var(--mh-accent); width: 16px; text-align: center; }
.mh-personal .mh-card .section-body > div > a { font-weight: 600; color: var(--mh-ink); }
.mh-personal .mh-card .section-body > br { display: none; }   /* spacing comes from the rows */


/* ---------- My Groups (include_mygroups.cfm): bare links + <br> -> rows ---------- */
.mh-mod-mygroups .section-body > br { display: none; }
.mh-dashboard .mh-mod-mygroups .section-body > a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0;
  border-top: 1px solid var(--mh-rule); font-size: 15px; font-weight: 600;
  color: var(--mh-ink); text-decoration: none;
}
.mh-dashboard .mh-mod-mygroups .section-body > a:first-of-type { border-top: 0; padding-top: 0; }
.mh-dashboard .mh-mod-mygroups .section-body > a::before {
  content: "\f0c0"; font-family: FontAwesome; font-weight: normal;
  width: 16px; text-align: center; color: var(--mh-accent);
}
.mh-dashboard .mh-mod-mygroups .section-body > a::after {
  content: "\203A"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--mh-muted);
}
.mh-dashboard .mh-mod-mygroups .section-body > a:hover { color: var(--mh-accent); }

/* ---------- Upcoming events (include_events_2027.cfm) ---------- */
.mh-mod-events .event-wrapper {
  display: flex; align-items: center; gap: 20px;
  padding: 12px 0; border-top: 1px solid var(--mh-rule);
}
.mh-mod-events .section-left-body > .event-wrapper:first-of-type { border-top: 0; padding-top: 0; }
.mh-mod-events .event-line,
.mh-mod-events .section-left-body > .clear { display: none; }
.mh-dashboard .mh-mod-events .datebox {
  flex-shrink: 0; width: 54px; height: 56px; margin: 0; float: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: var(--mh-chip);
}
.mh-dashboard .mh-mod-events .datebox-top,
.mh-dashboard .mh-mod-events .datebox-content {
  background: none; border: 0; padding: 0; margin: 0; width: auto; line-height: 1;
}
.mh-dashboard .mh-mod-events .datebox-top {
  font-size: 11px; font-weight: 500; color: var(--mh-accent);
}
.mh-dashboard .mh-mod-events .datebox-content {
  margin-top: 4px; font-family: var(--mh-heading-font); font-size: 22px; color: var(--mh-ink);
}
.mh-mod-events .event-content { flex: 1; min-width: 0; float: none; margin: 0; padding: 0; }
/* event names match the other row links: 15px semibold ink, accent on hover */
.mh-mod-events .event-name { font-size: 15px; line-height: 1.4; }
.mh-mod-events .event-name + .event-name { margin-top: 4px; }
.mh-dashboard .mh-mod-events .event-name a { font-weight: 600; color: var(--mh-ink); text-decoration: none; }
.mh-dashboard .mh-mod-events .event-name a:hover { color: var(--mh-accent); text-decoration: none; }

/* ---------- "For you": whole card is the link, no buttons ----------
   The module's own button stays in the markup (so it keeps its URL and its
   text for screen readers) but is shrunk to nothing; its ::after is stretched
   over the whole card, so clicking anywhere on the card follows it.
   Links inside the card (a tee time, an event) sit above it and still work. */
.mh-personal .mh-card { position: relative; transition: border-color .15s ease, box-shadow .15s ease; }
.mh-dashboard .mh-personal .mh-card .section-body a { position: relative; z-index: 2; }

.mh-dashboard .mh-personal .mh-card .btn,
.mh-dashboard .mh-personal .mh-mod-account .section-body > p > a {
  position: static !important; display: block !important; width: auto; height: 0; min-height: 0;
  margin: 0 !important; padding: 0; border: 0; background: none; overflow: visible;
  font-size: 0; line-height: 0; color: transparent;
}
.mh-dashboard .mh-personal .mh-card .btn::after,
.mh-dashboard .mh-personal .mh-mod-account .section-body > p > a::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--mh-radius);
}
.mh-dashboard .mh-personal .mh-card .btn:hover,
.mh-dashboard .mh-personal .mh-card .btn:focus { background: none; }
.mh-dashboard .mh-personal .mh-card .btn:focus-visible::after,
.mh-dashboard .mh-personal .mh-mod-account .section-body > p > a:focus-visible::after {
  outline: 2px solid var(--mh-accent); outline-offset: 2px;
}
/* modules with several buttons (e.g. My Golf: booking + results): the first one is the card link */
.mh-dashboard .mh-personal .mh-card .btn ~ .btn { display: none !important; }
.mh-personal .mh-card .section-body > p { margin: 0; }

/* hover + a small arrow on cards that link somewhere */
.mh-personal .mh-card:has(.btn, .section-body > p > a):hover {
  border-color: var(--mh-accent); box-shadow: 0 4px 14px rgba(20, 33, 61, .08); cursor: pointer;
}
.mh-dashboard .mh-personal .mh-card:has(.btn, .section-body > p > a) .section-title::after {
  content: "\203A"; margin-left: auto; font-family: inherit; font-size: 24px; line-height: 1; color: var(--mh-muted);
}
.mh-personal .mh-card:has(.btn, .section-body > p > a):hover .section-title::after { color: var(--mh-accent); }

/* ---------- "For you" compact type scale ----------
   Three sizes only:
     label   12px uppercase, accent  (card title - same as Message of the day)
     primary 15px semibold, ink      (what it is: tee time, event, reservation)
     detail  14px regular, muted     (when / where / status) */
.mh-personal .mh-card { padding: 16px 18px; }
.mh-dashboard .mh-personal .mh-card .section-title {
  justify-content: flex-start; align-items: center; text-align: left; float: none; width: auto;
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mh-accent);
  border-bottom: 0; margin: 0 0 6px; padding: 0;
}
.mh-dashboard .mh-personal .mh-card:has(.btn, .section-body > p > a) .section-title::after {
  font-size: 18px; letter-spacing: 0;
}
.mh-dashboard .mh-personal .mh-card .section-body,
.mh-dashboard .mh-personal .mh-card .section-body > div { font-size: 15px; line-height: 1.4; }
.mh-dashboard .mh-personal .mh-card .section-body > div { padding: 7px 0; }
.mh-dashboard .mh-personal .mh-card .section-body > div > a,
.mh-dashboard .mh-mod-mygroups .section-body > a,
.mh-dashboard .mh-personal .mh-card .section-body > div > span:not([style*="float"]) { font-size: 15px; font-weight: 600; color: var(--mh-ink); }
.mh-dashboard .mh-personal .mh-card .section-body > div > span[style*="float"],
.mh-dashboard .mh-mod-account .account-label { font-size: 14px; }
.mh-dashboard .mh-mod-account .account-value { font-size: 15px; }
.mh-dashboard .mh-mod-account .account-label,
.mh-dashboard .mh-mod-account .account-value { padding: 5px 0; }
.mh-dashboard .mh-mod-mygroups .section-body > a { min-height: 40px; padding: 6px 0; }


/* ---------- "For you" grid: column count follows card count ---------- */
.mh-personal__grid { display: grid; grid-template-columns: 1fr; gap: var(--mh-gap); }
@media (min-width: 600px) {
  .mh-personal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .mh-personal__grid[data-count="3"],
  .mh-personal__grid[data-count="5"],
  .mh-personal__grid[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .mh-personal__grid[data-count="4"],
  .mh-personal__grid[data-count="7"],
  .mh-personal__grid[data-count="8"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Only My Account: keep it card-sized instead of stretching across the page */
@media (min-width: 600px) {
  .mh-personal__grid[data-count="1"] { grid-template-columns: minmax(0, 420px); }
}

/* ---------- Club zone ---------- */
.mh-club {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--mh-gap); align-items: start;
}
.mh-club--single { grid-template-columns: minmax(0, 1fr); }
.mh-stack { display: flex; flex-direction: column; gap: var(--mh-gap); min-width: 0; }

/* Quick links: two columns when they sit in the wide column */
.mh-links--wide .section-body { column-count: 2; column-gap: 32px; }
.mh-links--wide .section-body > * { break-inside: avoid; }
/* ---------- Quick links (include_links.cfm) ---------- */
/* The clip-art icons are CSS backgrounds on .quick-links-icon; delete this rule to keep them */
.mh-dashboard .mh-mod-links .quick-links-icon { display: none; }
.mh-mod-links .section-body > .clear { display: none; }
.mh-dashboard .mh-mod-links .quick-links { float: none; margin: 0; padding: 0; }
.mh-dashboard .mh-mod-links .quick-links-link { float: none; margin: 0; padding: 0; }
.mh-dashboard .mh-mod-links .quick-links-link a {
  display: flex; align-items: center; min-height: 44px; padding: 0;
  font-size: 16px; color: var(--mh-ink); text-decoration: none;
  border-bottom: 1px solid var(--mh-rule); font-weight: 600;
}
.mh-dashboard .mh-mod-links .quick-links-link a:hover { color: var(--mh-accent); }

/* ---------- Club news (include_news_2027.cfm) ---------- */
.mh-dashboard .mh-card .section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mh-dashboard .mh-more {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--mh-accent);
  white-space: nowrap; text-decoration: none;
}
.mh-dashboard .mh-news {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0;
  border-top: 1px solid var(--mh-rule); color: var(--mh-text); text-decoration: none;
}
.mh-dashboard .mh-news:first-child { border-top: 0; padding-top: 0; }
.mh-news__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mh-news__title { font-size: 17px; font-weight: 600; color: var(--mh-ink); }
.mh-news__date { flex-shrink: 0; font-size: 13px; color: var(--mh-muted); }
.mh-news__snippet { font-size: 15px; line-height: 1.5; color: var(--mh-muted); }
.mh-dashboard .mh-news:hover .mh-news__title { color: var(--mh-accent); text-decoration: underline; }

/* ---------- My account (include_account.cfm) ---------- */
.mh-dashboard .mh-mod-account .account-label,
.mh-dashboard .mh-mod-account .account-value { float: none; width: auto; margin: 0; padding: 8px 0; }
.mh-mod-account .section-body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.mh-mod-account .section-body > :not(.account-label):not(.account-value) { grid-column: 1 / -1; }
.mh-mod-account .account-label { font-size: 14px; color: var(--mh-muted); }
.mh-mod-account .account-value { text-align: right; font-weight: 600; color: var(--mh-ink); }
.mh-mod-account .section-body > .clear,
.mh-mod-account .section-body > br { display: none; }
.mh-mod-account .section-body > p { margin: 12px 0 0; }
/* the fallback branch prints a plain link, not a .btn: give it the same button look */
.mh-dashboard .mh-mod-account .section-body > p > a:not(.btn) {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  border-radius: 8px; border: 1.5px solid var(--mh-ink); color: var(--mh-ink);
  font-weight: 600; text-decoration: none;
}
.mh-dashboard .mh-mod-account .section-body > p > a:not(.btn):hover { background: var(--mh-ink); color: #fff; }
.mh-dashboard .mh-mod-account .btn { margin-top: 0; }

/* ---------- Message of the day: editor link ---------- */
.mh-dashboard .mh-message .buttons {
  display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--mh-accent);
}

/* ---------- Featured flyers (include_featured_2027.cfm) ----------
   Scroll-snap strip: native swipe on phones, buttons + auto-advance from the script. */
.mh-slider { display: flex; flex-direction: column; gap: 12px; }
.mh-slider__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  border-radius: 10px;
}
.mh-slider__track::-webkit-scrollbar { display: none; }
.mh-slider__track:focus-visible { outline: 2px solid var(--mh-accent); outline-offset: 2px; }
.mh-dashboard .mh-slide {
  flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
}
.mh-slide__frame {
  display: flex; align-items: center; justify-content: center;
  height: 420px; background: var(--mh-chip); border-radius: 10px; overflow: hidden;
}
.mh-dashboard .mh-slide__frame img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.mh-slide__title { font-size: 16px; font-weight: 600; color: var(--mh-ink); }
.mh-slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mh-slider__count { font-size: 14px; color: var(--mh-muted); }
.mh-slider__buttons { display: flex; gap: 6px; }
.mh-dashboard .mh-slider__btn {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--mh-line); background: var(--mh-card); color: var(--mh-ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mh-dashboard .mh-slider__btn:hover,
.mh-dashboard .mh-slider__btn:focus-visible { border-color: var(--mh-ink); }
.mh-slider__btn svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .mh-slider__track { scroll-behavior: auto; } }

/* ---------- Tablet & phone: one column, member info first ---------- */
@media (max-width: 991px) {
  .mh-club { display: flex; flex-direction: column; }
  .mh-stack { display: contents; }               /* lets cards from both columns re-order */
  .mh-mod-events        { order: 1; }
  .mh-featured          { order: 2; }
  .mh-mod-newsscroll    { order: 3; }
  .mh-mod-downloads     { order: 4; }
  .mh-mod-links         { order: 6; }
}

@media (max-width: 767px) {
  .mh-dashboard { padding: 20px 16px 32px; gap: 20px; }
  .mh-dashboard .mh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mh-dashboard .mh-tile { min-height: 92px; font-size: 14px; gap: 8px; }
  .mh-tile__icon { width: 40px; height: 40px; }
  .mh-tile__icon svg { width: 22px; height: 22px; }
  .mh-card { padding: 18px 20px; }
  .mh-message { padding: 18px 20px; font-size: 16px; }
  .mh-weather { padding: 8px 12px; gap: 10px; }
  .mh-weather__icon { width: 24px; height: 24px; }
  .mh-weather__temp { font-size: 17px; }
  .mh-dashboard .mh-section-title { font-size: 24px; }
  .mh-slide__frame { height: 400px; }
  .mh-slider__buttons { display: none; }   /* phones swipe */
  .mh-mod-events .event-wrapper { gap: 14px; }
  .mh-dashboard .mh-mod-events .datebox { width: 48px; height: 52px; }
}

@media (max-width: 599px) {
  .mh-links--wide .section-body { column-count: 1; }
}

/* ---------- "For you": one icon per card, beside the heading ----------
   Row icons are hidden; each card gets a single Font Awesome 4 icon by module. */
.mh-dashboard .mh-personal .mh-card .section-body .fa,
.mh-dashboard .mh-personal .mh-card .section-body .fas,
.mh-dashboard .mh-personal .mh-card .section-body .far { display: none; }
.mh-dashboard .mh-mod-mygroups .section-body > a::before { content: none; }

.mh-dashboard .mh-personal .mh-card .section-title::before {
  font-family: FontAwesome; font-size: 14px; font-weight: normal; letter-spacing: 0;
  width: 16px; margin-right: 8px; text-align: center; text-transform: none;
}
.mh-dashboard .mh-mod-account       .section-title::before { content: "\f0f6"; } /* statement   */
.mh-dashboard .mh-mod-mygolf        .section-title::before { content: "\f024"; } /* flag        */
.mh-dashboard .mh-mod-myevents      .section-title::before { content: "\f274"; } /* calendar (check)  */
.mh-dashboard .mh-mod-dining        .section-title::before { content: "\f0f5"; } /* knife/fork  */
.mh-dashboard .mh-mod-mygroups      .section-title::before { content: "\f0c0"; } /* people      */
.mh-dashboard .mh-mod-communication .section-title::before { content: "\f003"; } /* envelope    */
.mh-dashboard .mh-mod-programs      .section-title::before { content: "\f073"; } /* calendar    */
.mh-dashboard .mh-mod-rewards       .section-title::before { content: "\f06b"; } /* gift        */
.mh-dashboard .mh-mod-myscores      .section-title::before { content: "\f091"; } /* trophy      */

/* ---------- My Account rows (include_account_2027.cfm + *-AccInfo_2027.cfm) ----------
   Same type scale as the other "For you" cards: label 14px muted, value 15px semibold. */
.mh-dashboard .mh-mod-account .section-body { display: block; }
.mh-dashboard .mh-acct { margin: 0; padding: 0; }
.mh-dashboard .mh-acct__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-top: 1px solid var(--mh-rule);
}
.mh-dashboard .mh-acct__row:first-child { border-top: 0; padding-top: 0; }
.mh-dashboard .mh-acct dt { margin: 0; font-size: 14px; font-weight: 400; color: var(--mh-muted); }
.mh-dashboard .mh-acct dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--mh-ink); text-align: right; }
.mh-dashboard .mh-acct__note { margin: 0; font-size: 14px; line-height: 1.4; color: var(--mh-muted); }
/* The statement panel (#Results) is filled after page load by the shared
   include-BuzStatement-AccInfo.cfm / include-JStatement-AccInfo.cfm, which print a
   small table: <tr><td><p><b>Balance:</b></p></td><td><p>$0.00</p></td></tr>.
   Restyle that table into the same label/value rows. */
.mh-dashboard .mh-mod-account #Results table { display: block; width: 100%; margin: 0; border: 0; }
.mh-dashboard .mh-mod-account #Results tbody { display: block; }
.mh-dashboard .mh-mod-account #Results tr {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-top: 1px solid var(--mh-rule);
}
.mh-dashboard .mh-mod-account #Results tr:first-child { border-top: 0; padding-top: 0; }
.mh-dashboard .mh-mod-account #Results tr:not(:has(td)) { display: none; }   /* stray empty rows in the source */
.mh-dashboard .mh-mod-account #Results td { display: block; padding: 0 !important; border: 0; }
.mh-dashboard .mh-mod-account #Results td p { margin: 0; }
.mh-dashboard .mh-mod-account #Results td:first-child,
.mh-dashboard .mh-mod-account #Results td:first-child b { font-size: 14px; font-weight: 400; color: var(--mh-muted); text-align: left; }
.mh-dashboard .mh-mod-account #Results td:last-child { font-size: 15px; font-weight: 600; color: var(--mh-ink); text-align: right; }
.mh-dashboard .mh-mod-account #Results > div,
.mh-dashboard .mh-mod-account #Results > p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--mh-muted); }

/* the statement panel loads through submaster.cfm, which can add its own heading
   ("Current Account Status"): the card already has a title, so hide it */
.mh-dashboard .mh-mod-account #Results h1,
.mh-dashboard .mh-mod-account #Results h2,
.mh-dashboard .mh-mod-account #Results h3,
.mh-dashboard .mh-mod-account #Results h4,
.mh-dashboard .mh-mod-account #Results h5,
.mh-dashboard .mh-mod-account #Results .section-title,
.mh-dashboard .mh-mod-account #Results .page-title { display: none; }
.mh-dashboard .mh-mod-account #Results { min-height: 0; }

/* ---------- "News & Events" section ----------
   Its own section title (same style as "For you"), set apart with extra space,
   and every card in it gets the small gold label heading used in "For you". */
.mh-club-section { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.mh-dashboard .mh-club .mh-card .section-title,
.mh-dashboard .mh-club .mh-card .section-left-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: none; border: 0; float: none; width: auto; text-align: left;
  margin: 0 0 8px; padding: 0;
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mh-accent);
}
/* "All news ->" stays a normal small link beside the label */
.mh-dashboard .mh-club .mh-card .section-title .mh-more,
.mh-dashboard .mh-club .mh-card .section-left-title .mh-more {
  font-size: 13px; letter-spacing: 0; text-transform: none;
}
.mh-club .mh-card { padding: 18px 20px; }
/* Featured card: no heading now, so the flyer starts at the top */
.mh-dashboard .mh-featured { padding: 16px; }

/* ---------- "Club Resources" section: Quick Links + Publications side by side ---------- */
.mh-dashboard .mh-resources {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--mh-gap); align-items: start;
}
/* the old Publications table is fixed at 350px wide: let it fill the card */
.mh-dashboard .mh-mod-downloads table.DownloadsTable { width: 100% !important; background: none; border: 0; }
.mh-dashboard .mh-mod-downloads table, .mh-dashboard .mh-mod-downloads td { background: none !important; border: 0 !important; }
.mh-dashboard .mh-mod-downloads .DownloadsHeader { display: none; }
.mh-dashboard .mh-mod-downloads .DownloadsTitle { margin: 0; font-size: 15px; font-weight: 600; }
.mh-dashboard .mh-mod-downloads .DownloadsTitle a { color: var(--mh-ink); text-decoration: none; }
.mh-dashboard .mh-mod-downloads .DownloadsTitle a:hover { color: var(--mh-accent); }
.mh-dashboard .mh-mod-downloads td p { margin: 0; }

/* =========================================================
   Phones: readable type
   Desktop's compact 12 / 14 / 15px scale is bumped to 13 / 15 / 17px below 768px,
   with taller tap rows. Same selectors as the rules above, prefixed with
   "html body" so they win without !important.
   ========================================================= */
@media (max-width: 767px) {
  html body .mh-dashboard { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  /* labels: card headings, date line, Message of the day label */
  html body .mh-dashboard .mh-personal .mh-card .section-title,
  html body .mh-dashboard .mh-club .mh-card .section-title,
  html body .mh-dashboard .mh-club .mh-card .section-left-title,
  html body .mh-dashboard .mh-message .section-title,
  html body .mh-greeting__date { font-size: 13px; }
  html body .mh-dashboard .mh-personal .mh-card .section-title::before { font-size: 15px; }

  /* section titles: For you / News & Events / Club Resources */
  html body .mh-dashboard .mh-section-title { font-size: 26px; }

  /* body copy */
  html body .mh-dashboard .mh-message { font-size: 17px; }
  html body .mh-dashboard .mh-tile { font-size: 15px; }
  html body .mh-weather__desc { font-size: 14px; }

  /* primary: the item itself (tee time, event, reservation, group, news title, link, document) */
  html body .mh-dashboard .mh-personal .mh-card .section-body,
  html body .mh-dashboard .mh-personal .mh-card .section-body > div,
  html body .mh-dashboard .mh-personal .mh-card .section-body > div > a,
  html body .mh-dashboard .mh-personal .mh-card .section-body > div > span:not([style*="float"]),
  html body .mh-dashboard .mh-mod-mygroups .section-body > a,
  html body .mh-dashboard .mh-mod-events .event-name,
  html body .mh-news__title,
  html body .mh-dashboard .mh-mod-links .quick-links-link a,
  html body .mh-dashboard .mh-mod-downloads .DownloadsTitle,
  html body .mh-dashboard .mh-acct dd,
  html body .mh-dashboard .mh-mod-account #Results td:last-child { font-size: 17px; }

  /* detail: dates, times, labels, snippets, notes */
  html body .mh-dashboard .mh-personal .mh-card .section-body > div > span[style*="float"],
  html body .mh-dashboard .mh-acct dt,
  html body .mh-dashboard .mh-mod-account #Results td:first-child,
  html body .mh-dashboard .mh-mod-account #Results td:first-child b,
  html body .mh-dashboard .mh-acct__note,
  html body .mh-dashboard .mh-mod-account #Results > div,
  html body .mh-dashboard .mh-mod-account #Results > p,
  html body .mh-news__date,
  html body .mh-news__snippet,
  html body .mh-slider__count,
  html body .mh-dashboard .mh-club .mh-card .section-title .mh-more,
  html body .mh-dashboard .mh-club .mh-card .section-left-title .mh-more { font-size: 15px; }

  /* comfortable tap rows (44px+) */
  html body .mh-dashboard .mh-personal .mh-card .section-body > div { padding: 10px 0; min-height: 44px; }
  html body .mh-dashboard .mh-mod-mygroups .section-body > a,
  html body .mh-dashboard .mh-mod-links .quick-links-link a { min-height: 48px; }
  html body .mh-dashboard .mh-acct__row,
  html body .mh-dashboard .mh-mod-account #Results tr { padding: 9px 0; }

  /* date and time can wrap under a long name instead of squeezing it */
  html body .mh-dashboard .mh-personal .mh-card .section-body > div { flex-wrap: wrap; row-gap: 2px; }
}    