/* TeeTime Golf Pass help centre: Direction A (Jony, draft 2026-10-23).
   Replaces the whole CSS tab. Rollback: customer-service-agent
   reference/customer-service/helpcentre/2026-10-23/theme-baseline/stylesheet.css
   Icons: Font Awesome Free 6 (CC BY 4.0), fontawesome.com. Built by build.py; edit src/, not this file. */

/* =====================================================================
   SHARED BASE (both directions)
   Values from ~/brand/visual/tokens.json. Fonts: website row of
   ~/brand/visual/VISUAL-BRAND.md (League Spartan headlines + body,
   Poppins for buttons and UI). Open Sans and Inter are gone.
   Selectors: live DOM of help.teetimegolfpass.com, 2026-10-23.
   Prefix "portal.portalContainer" (specificity 0,1,1) so these beat
   Desk's own grid rules, some of which carry !important.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

portal.portalContainer {
  --ttgp-navy: #023047;
  --ttgp-orange: #FA8500;
  --ttgp-teal: #039CBB;
  --ttgp-green: #3AAF56;
  --ttgp-light-blue: #D9F2FF;
  --ttgp-white: #FFFFFF;
  --ttgp-light-grey: #E4E3E3;
  --ttgp-off-white: #F9F8F8;
  --ttgp-dark-grey: #858585;
  --fg-2: #35596C;
  --cta-bg-hover: #E07700;
  --font-head: 'League Spartan', sans-serif;
  --font-ui: 'Poppins', sans-serif;

  /* Desk's own variables */
  --color-brand: #FFFFFF;
  --color-brand1: #039CBB;
  --color-hoverblue1: #023047;
}

/* ---------- Type ---------- */
body, .body, portal.portalContainer {
  font-family: var(--font-head) !important;
  color: var(--ttgp-navy);
  -webkit-font-smoothing: antialiased;
}
portal.portalContainer h1, portal.portalContainer h2, portal.portalContainer h3,
portal.portalContainer h4, portal.portalContainer h5, portal.portalContainer h6 {
  font-family: var(--font-head) !important;
  color: var(--ttgp-navy) !important;
  letter-spacing: 0 !important;
}
::selection { background: var(--ttgp-light-blue); color: #023047; }

/* ---------- Header ---------- */
portal.portalContainer #headerContainer,
portal.portalContainer .Header__header,
portal.portalContainer .Header__headerBg,
portal.portalContainer .Header__bgColor {
  background: var(--ttgp-navy) !important;
  background-image: none !important;
  opacity: 1 !important;
}
portal.portalContainer .Header__logo {
  max-height: 40px !important;
  width: auto !important;
}
portal.portalContainer .Header__logoimg { background: transparent !important; }

/* Nav: Poppins, white, light-blue on hover (orange stays for the CTA) */
portal.portalContainer .Header__menuList,
portal.portalContainer .Header__menuList a.Header__link {
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #FFFFFF !important;
}
portal.portalContainer .Header__menuList:hover,
portal.portalContainer .Header__menuList:hover a.Header__link { color: var(--ttgp-light-blue) !important; }
@media (min-width: 1025px) {
  portal.portalContainer .Header__menuList.Header__navactive { border-bottom: 2px solid #FFFFFF !important; }
}

/* "Get Your Pass": solid orange pill (Kelvin 2026-10-23: "Get Your Pass should be in orange"),
   same 8px radius as Add Ticket. */
portal.portalContainer .Header__nav a[href*="teetimegolfpass.com/golf-pass"] {
  background: #FA8500 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  display: inline-block !important;
}
portal.portalContainer .Header__nav a[href*="teetimegolfpass.com/golf-pass"]:hover {
  background: #E07800 !important;
  color: #FFFFFF !important;
}

/* Home welcome title */
portal.portalContainer .Header__welcomeTitle {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 1.15 !important;
  color: #FFFFFF !important;
  letter-spacing: 0 !important;
}
portal.portalContainer .Header__welcomeDescription { color: rgba(255,255,255,0.8) !important; }

/* ---------- Search + Add Ticket ----------
   GEOFFREY'S HEADER FIX (2026-10-23): Add Ticket matched to the 53px search
   box. Reconcile with the block he pastes; keep one copy. */
portal.portalContainer .Header__searchSubCont,
portal.portalContainer .Header__searchLink,
portal.portalContainer #searchContainer { background: transparent !important; }

portal.portalContainer .SearchBox__searchpart,
portal.portalContainer #autoSearchContainer {
  height: 53px !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--ttgp-navy) !important;
  font-family: var(--font-ui) !important;
  font-size: 16px !important;
  box-shadow: none !important;
}
portal.portalContainer #autoSearchContainer { padding-left: 48px !important; }
portal.portalContainer .SearchBox__searchpart { position: relative !important; }
portal.portalContainer .SearchBox__searchpart::before {
  content: "";
  position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--fg-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z%22/%3E%3C/svg%3E") center / contain no-repeat;
  z-index: 2; pointer-events: none;
}
portal.portalContainer #autoSearchContainer::placeholder { color: var(--fg-2) !important; opacity: 1; }
portal.portalContainer #autoSearchContainer:focus {
  outline: 3px solid rgba(3, 156, 187, 0.45) !important;
  outline-offset: 2px !important;
}

portal.portalContainer #plusBtn,
portal.portalContainer .Header__panelbtns,
portal.portalContainer .Header__cdstretchynav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
portal.portalContainer #plusBtn a.Header__containerLink,
portal.portalContainer .Header__containerUl a {
  height: 53px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 24px !important;
  background: var(--ttgp-orange) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
portal.portalContainer #plusBtn a.Header__containerLink:hover,
portal.portalContainer .Header__containerUl a:hover { background: var(--cta-bg-hover) !important; }
portal.portalContainer .Header__tClr { color: #FFFFFF !important; font-family: var(--font-ui) !important; }
portal.portalContainer .Header__dropicon { display: none !important; }

/* ---------- Breadcrumbs (on navy) ---------- */
portal.portalContainer .Header__breadcrumbs,
portal.portalContainer .BreadCrumbs__breadCrumbText,
portal.portalContainer .BreadCrumbs__breadCrumbText span {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  color: #FFFFFF !important;
}
portal.portalContainer .BreadCrumbs__breadCrumbsLink { color: rgba(255,255,255,0.75) !important; }
portal.portalContainer .BreadCrumbs__breadCrumbsLink:hover { color: #FFFFFF !important; text-decoration: underline !important; }

/* ---------- Layout ---------- */
portal.portalContainer #layoutContainer { min-height: auto !important; }
portal.portalContainer .Layout__layout1 img,
portal.portalContainer [data-id="column1"] img { max-width: 100% !important; height: auto !important; }
portal.portalContainer .Layout__layout1 { overflow-x: hidden !important; }  /* not the container: it would clip the B strip */

/* Home: the green "Knowledge Base" tab becomes a plain section heading,
   and the grid/list toggle goes (one layout, designed on purpose). */
portal.portalContainer .ModuleCategoryContainer__viewpanel { display: none !important; }
portal.portalContainer .ModuleCategoryContainer__tabs { text-align: left !important; margin: 8px 0 20px !important; }
portal.portalContainer .ModuleCategoryContainer__tabs .Button__tagPrimary {
  background: transparent !important;
  border: 0 !important; box-shadow: none !important;
  padding: 0 !important; height: auto !important; min-width: 0 !important;
  font-size: 0 !important; cursor: default !important;
}
portal.portalContainer .ModuleCategoryContainer__tabs .Button__tagPrimary::after {
  content: "Browse help topics";
  font-family: var(--font-head);
  font-weight: 700; font-size: 28px; line-height: 1.2;
  color: var(--ttgp-navy);
}
portal.portalContainer .ModuleCategoryContainer__containerListView {
  background: transparent !important; border: 0 !important; padding: 0 !important;
}

/* The old "Still can't find what you're looking for? Submit a ticket" widget:
   the new footer band says it on every page, with a phone number too
   (and the widget links to the teetimegolfpass.zohodesk.com domain). */
portal.portalContainer .WidgetsContainer__lftWd:has(span.colour) { display: none !important; }

/* ---------- Popular articles (home) + article lists (category pages) ---------- */
portal.portalContainer .ArticlesContainer__title {
  font-family: var(--font-head) !important;
  font-weight: 700 !important; font-size: 28px !important; line-height: 1.2 !important;
  color: var(--ttgp-navy) !important;
  margin: 40px 0 16px !important;
}
portal.portalContainer .ArticlesContainer__title .modulesname { color: var(--ttgp-navy) !important; }
portal.portalContainer .ArticlesContainer__articleListWidget,
portal.portalContainer .ArticleListContainer__boxView {
  background: #FFFFFF !important;
  border: 1px solid var(--ttgp-light-grey) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
portal.portalContainer .ModuleItem__moduleListItem {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--ttgp-light-grey) !important;
  transition: background 0.15s !important;
}
portal.portalContainer .ModuleItem__moduleListItem:last-child { border-bottom: 0 !important; }
portal.portalContainer .ModuleItem__moduleListItem:hover { background: var(--ttgp-light-blue) !important; }
portal.portalContainer .ModuleItem__moduleListItem { padding: 0 !important; }
portal.portalContainer .ModuleItem__modulein { padding: 16px 20px !important; min-height: 0 !important; position: relative !important; }
portal.portalContainer .ModuleItem__artList { padding-right: 32px !important; }
portal.portalContainer .ModuleItem__artList a,
portal.portalContainer .ModuleItem__artList .Link__link {
  font-family: var(--font-head) !important;
  font-weight: 500 !important; font-size: 18px !important; line-height: 1.4 !important;
  color: var(--ttgp-navy) !important;
}
portal.portalContainer .ModuleItem__artList a::after {
  content: ""; position: absolute; inset: 0;  /* whole row clicks */
}
portal.portalContainer .ModuleItem__modulein::after {
  content: "";
  position: absolute; right: 20px; top: 50%; width: 10px; height: 16px; margin-top: -8px;
  background: var(--ttgp-teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 320 512%22%3E%3Cpath d=%22M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 320 512%22%3E%3Cpath d=%22M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z%22/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
portal.portalContainer .Pagination__arrows { font-family: var(--font-ui) !important; color: var(--ttgp-teal) !important; }

/* ---------- Article page ---------- */
portal.portalContainer .Readingprogress__progressBar { background: var(--ttgp-teal) !important; }

portal.portalContainer .ArticleDetailLeftContainer__box {
  border: 0 !important; box-shadow: none !important;
}
portal.portalContainer .ArticleDetailLeftContainer__kbTitle {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 40px !important; line-height: 1.15 !important;
  color: var(--ttgp-navy) !important;
  letter-spacing: 0 !important;
}
/* Close the gap between the title and the first line */
portal.portalContainer .ArticleDetailLeftContainer__partHead { margin-bottom: 0 !important; padding-bottom: 0 !important; }
portal.portalContainer .articleContent,
portal.portalContainer .ArticleDetailLeftContainer__contents { margin-top: 16px !important; padding-top: 0 !important; }
portal.portalContainer .ArticleDetailLeftContainer__contents p:empty,
portal.portalContainer .ArticleDetailLeftContainer__contents > p:first-child:empty { display: none !important; }
portal.portalContainer .ArticleDetailLeftContainer__contents p { margin: 0 0 16px !important; }
/* Phones: "On this page" would sit below the article, where it's no use */
@media (max-width: 768px) {
  portal.portalContainer .TOCContainer__tocContent { display: none !important; }
}
/* PDF and "centre view" icons go; print stays (65+ readers print things) */
portal.portalContainer .ArticleDetailLeftContainer__pdfView,
portal.portalContainer .ArticleDetailLeftContainer__IconExPrint { display: none !important; }

portal.portalContainer .ArticleDetailLeftContainer__contents,
portal.portalContainer .ArticleDetailLeftContainer__contents p,
portal.portalContainer .ArticleDetailLeftContainer__contents li,
portal.portalContainer .ArticleDetailLeftContainer__contents span,
portal.portalContainer .ArticleDetailLeftContainer__contents div {
  font-family: var(--font-head) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--ttgp-navy) !important;
}
portal.portalContainer .ArticleDetailLeftContainer__contents h2,
portal.portalContainer .ArticleDetailLeftContainer__contents h3,
portal.portalContainer .ArticleDetailLeftContainer__contents h4 {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 24px !important; line-height: 1.25 !important;
  color: var(--ttgp-navy) !important;
  margin: 32px 0 8px !important;
}
portal.portalContainer .ArticleDetailLeftContainer__contents a {
  color: var(--ttgp-teal) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
}
portal.portalContainer .ArticleDetailLeftContainer__contents img {
  border-radius: 8px !important; border: 1px solid var(--ttgp-light-grey) !important;
}

/* Tags, share icons and the like/dislike tallies go. "Was this helpful?"
   stays, minus the counts ("0 up, 2 down" on a help page reads badly). */
portal.portalContainer .tagContent,
portal.portalContainer .ArticleCmd__socialShareLt,
portal.portalContainer .ArticleCmd__txtSuccess,
portal.portalContainer .ArticleCmd__txtdanger { display: none !important; }
portal.portalContainer .ArticleCmd__articleLike {
  border-top: 1px solid var(--ttgp-light-grey) !important;
  margin-top: 32px !important; padding-top: 20px !important;
}
portal.portalContainer .ArticleCmd__helptxt,
portal.portalContainer .ArticleCmd__posttime,
portal.portalContainer .ArticleCmd__posttime span {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  color: var(--fg-2) !important;
}
portal.portalContainer .ArticleCmd__helptxt { font-weight: 600 !important; color: var(--ttgp-navy) !important; }

/* Right column: "Follow" (email subscriptions to an article) goes */
portal.portalContainer .ArticleDetailRightContainer__followContentLow { display: none !important; }
portal.portalContainer .TOCContainer__tocHeading,
portal.portalContainer .CustomWidgets__widgetTitle {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important; font-size: 12px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important;
  color: var(--fg-2) !important;
}
portal.portalContainer .TOCContainer__arrowRotOpen,
portal.portalContainer .CustomWidgets__widgetIcon { display: none !important; }
portal.portalContainer .Tree__labelTree,
portal.portalContainer .CustomWidgets__widgetContents {
  font-family: var(--font-ui) !important;
  font-size: 14px !important; line-height: 1.5 !important;
  color: var(--ttgp-navy) !important;
}
portal.portalContainer .Tree__treeItem a:hover .Tree__labelTree,
portal.portalContainer .CustomWidgets__widgetContents:hover { color: var(--ttgp-teal) !important; }
portal.portalContainer .CustomWidgets__widgetContents.CustomWidgets__active { color: var(--ttgp-teal) !important; font-weight: 600 !important; }

/* ---------- Category page sidebar ---------- */
/* Desk's stock icon, the "Follow" box and the one-item "KB Sections" tree go */
portal.portalContainer .SubscribeDepart__deplogo .SubscribeDepart__logosubscribe,
portal.portalContainer .SubscribeDepart__followContent,
portal.portalContainer .DepFollow__depFollow,
portal.portalContainer .ArticleListRightContainer__wrapper .treeView { display: none !important; }
portal.portalContainer .SubscribeDepart__depname {
  font-family: var(--font-head) !important;
  font-weight: 700 !important; font-size: 24px !important; line-height: 1.25 !important;
  color: var(--ttgp-navy) !important;
  white-space: normal !important; letter-spacing: 0 !important;
}
portal.portalContainer .SubscribeDepart__depdec {
  font-family: var(--font-head) !important;
  font-size: 16px !important; line-height: 1.5 !important;
  color: var(--fg-2) !important;
  margin: 8px 0 32px !important;
}

/* ---------- Links (Appearance sets them green; green is savings only) ---------- */
portal.portalContainer .Link__link,
portal.portalContainer .commonStyle__link { color: var(--ttgp-teal); }

/* ---------- Ticket form (ported from the March sheet, fonts + tokens fixed) ---------- */
portal.portalContainer .TicketFormLeftContainer__wrapper,
portal.portalContainer .TicketFormLeftContainer__part { background: #FFFFFF !important; }
portal.portalContainer .TicketFormLeftContainer__sectionName {
  font-family: var(--font-head) !important; color: var(--ttgp-navy) !important; font-weight: 700 !important;
}
portal.portalContainer .Form__label {
  font-family: var(--font-ui) !important; font-weight: 600 !important; color: var(--ttgp-navy) !important;
}
portal.portalContainer .Input__formInput,
portal.portalContainer .Form__input input,
portal.portalContainer .Form__input textarea,
portal.portalContainer .Form__input select {
  border: 1px solid #D1D1D1 !important;
  border-radius: 8px !important;
  font-family: var(--font-ui) !important;
  font-size: 16px !important;
  padding: 12px 16px !important;
}
portal.portalContainer .Input__formInput:focus,
portal.portalContainer .Form__input input:focus,
portal.portalContainer .Form__input textarea:focus {
  border-color: var(--ttgp-teal) !important;
  box-shadow: 0 0 0 3px rgba(3, 156, 187, 0.15) !important;
  outline: none !important;
}
portal.portalContainer .Button__tagPrimary,
portal.portalContainer .Button__primary {
  font-family: var(--font-ui) !important; font-weight: 600 !important; border-radius: 8px !important;
}

/* ---------- Footer ---------- */
portal.portalContainer .Footer__footer {
  background: var(--ttgp-navy) !important;
  padding: 0 !important;
  border-top: 0 !important;
  text-align: left !important;
  font-family: var(--font-head) !important;
}
portal.portalContainer .Footer__footer * { box-sizing: border-box; }
.ttgp-help-band {
  background: var(--ttgp-light-blue, #D9F2FF);
  color: #023047;
  padding: 32px 24px;
}
.ttgp-help-band__in {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ttgp-help-band__title {
  font-family: 'League Spartan', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2;
  color: #023047; margin: 0 0 4px;
}
.ttgp-help-band__text {
  font-family: 'League Spartan', sans-serif; font-size: 18px; line-height: 1.5; color: #35596C; margin: 0;
}
.ttgp-help-band__text a { color: #023047 !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ttgp-help-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ttgp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 53px; padding: 0 24px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px;
  text-decoration: none !important; white-space: nowrap;
}
.ttgp-btn--call { background: #023047; color: #FFFFFF !important; }
.ttgp-btn--call:hover { background: #35596C; }
.ttgp-btn--ticket { background: #FFFFFF; color: #023047 !important; border: 2px solid #023047; }
.ttgp-btn--ticket:hover { background: #023047; color: #FFFFFF !important; }
.ttgp-foot { max-width: 1100px; margin: 0 auto; padding: 40px 24px 0; }
.ttgp-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.ttgp-foot__logo img { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.ttgp-foot__tag { font-family: 'League Spartan', sans-serif; font-size: 16px; color: rgba(255,255,255,0.75); margin: 0; max-width: 300px; line-height: 1.5; }
.ttgp-foot__h { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: #FFFFFF; margin: 0 0 12px; }
.ttgp-foot__list { list-style: none; margin: 0; padding: 0; }
.ttgp-foot__list li { margin: 0 0 8px; }
.ttgp-foot__list a, .ttgp-foot__legal a {
  font-family: 'League Spartan', sans-serif; font-size: 16px; color: rgba(255,255,255,0.75) !important; text-decoration: none;
}
.ttgp-foot__list a:hover, .ttgp-foot__legal a:hover { color: #FFFFFF !important; text-decoration: underline; }
.ttgp-foot__legal {
  margin-top: 32px; padding: 16px 0 24px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: 'League Spartan', sans-serif; font-size: 14px; color: rgba(255,255,255,0.6);
}
.ttgp-foot__legal a { font-size: 14px; margin-left: 16px; }
@media (max-width: 768px) {
  .ttgp-foot__grid { grid-template-columns: 1fr 1fr; }
  .ttgp-foot__brand { grid-column: 1 / -1; }
  .ttgp-help-band__actions, .ttgp-btn { width: 100%; }
  .ttgp-foot__legal a { margin: 0 16px 0 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 768px) {
  portal.portalContainer .Header__welcomeTitle { font-size: 28px !important; }
  portal.portalContainer .ArticleDetailLeftContainer__kbTitle { font-size: 28px !important; }
  portal.portalContainer .ArticlesContainer__title,
  portal.portalContainer .ModuleCategoryContainer__tabs .Button__tagPrimary::after { font-size: 24px !important; }
  portal.portalContainer .Layout__layout1 { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; }
}

/* Reading-progress track: no white line under the header */
portal.portalContainer .Readingprogress__progressBarLine,
portal.portalContainer .Readingprogress__progressContainer { background: transparent !important; }

/* =====================================================================
   DIRECTION A: "Clubhouse cards"
   White page, white cards in an even grid. Each card: a light-blue icon
   tile, the title at full width (no squeeze beside the icon, no stretched
   letter-spacing), two lines of description, and "N Articles" with an
   arrow sitting right under it, so there's no dead gap.
   ===================================================================== */

portal.portalContainer #layoutContainer,
portal.portalContainer .Layout__oneColumn,
portal.portalContainer .Layout__twoColumn { background: #FFFFFF !important; }

/* ---------- Grid ---------- */
portal.portalContainer .kbCategory__gridView,
portal.portalContainer .ModuleCategoryContainer__gridView {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
}
portal.portalContainer #layoutContainer { padding-top: 32px !important; }
body, .body { background: #FFFFFF !important; }
@media (max-width: 991px) {
  portal.portalContainer .kbCategory__gridView,
  portal.portalContainer .ModuleCategoryContainer__gridView { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  portal.portalContainer .kbCategory__gridView,
  portal.portalContainer .ModuleCategoryContainer__gridView { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; margin-top: 20px !important; }
}

/* ---------- Card ---------- */
portal.portalContainer .WidgetsContainer__widgetCont .TitleContainer__container {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ttgp-light-grey) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(2, 48, 71, 0.06) !important;
  transition: border-color .15s, box-shadow .15s, transform .15s !important;
}
portal.portalContainer .WidgetsContainer__widgetCont .TitleContainer__container:hover {
  border-color: var(--ttgp-teal) !important;
  box-shadow: 0 8px 24px rgba(2, 48, 71, 0.10) !important;
  transform: translateY(-2px);
}
portal.portalContainer .TitleContainer__gridView { display: flex !important; flex-direction: column !important; height: 100% !important; }
portal.portalContainer .TitleContainer__gridView .TitleContainer__header {
  display: block !important; border: 0 !important; padding: 0 !important;
}

/* Icon tile (Desk's stock icon hidden; ours drawn per category below) */
portal.portalContainer .TitleContainer__headerIcon {
  position: relative !important;
  width: 48px !important; height: 48px !important;
  flex: 0 0 48px !important;
  margin: 0 0 16px !important;
  border-radius: 12px !important;
  background: var(--ttgp-light-blue) !important;
}
portal.portalContainer .TitleContainer__headerIcon .Avatar__square { display: none !important; }
portal.portalContainer .TitleContainer__headerIcon::before {
  content: ""; position: absolute; inset: 12px;
  background: var(--ttgp-navy);
  -webkit-mask: var(--ttgp-icon) center / contain no-repeat;
          mask: var(--ttgp-icon) center / contain no-repeat;
}

/* Title */
portal.portalContainer .TitleContainer__title,
portal.portalContainer .TitleContainer__list_title { display: block !important; margin: 0 !important; letter-spacing: 0 !important; }
portal.portalContainer .TitleContainer__title > a,
portal.portalContainer .TitleContainer__title .Link__link {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  color: var(--ttgp-navy) !important;
}

/* Description: two lines, then an ellipsis */
portal.portalContainer .TitleContainer__body { flex: 1 1 auto !important; line-height: 1.5 !important; }
portal.portalContainer .TitleContainer__description {
  margin: 8px 0 16px !important;
  font-family: var(--font-head) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--fg-2) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* "N Articles" + arrow */
portal.portalContainer .TitleContainer__content { margin: 0 !important; }
portal.portalContainer .TitleContainer__progressText {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--ttgp-teal) !important;
  cursor: pointer !important;
}
portal.portalContainer .TitleContainer__progressText::after,
portal.portalContainer .TitleContainer__progressText:last-child::after {
  content: "" !important;
  display: inline-block !important;
  width: 12px !important; height: 12px !important;
  margin: 0 0 0 8px !important;
  border-radius: 0 !important;
  vertical-align: -1px !important;
  background: var(--ttgp-teal) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%22/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s;
}
portal.portalContainer .TitleContainer__container:hover .TitleContainer__progressText::after { transform: translateX(3px); }

/* Whole card is the link */
portal.portalContainer .TitleContainer__boxLink { position: absolute !important; inset: 0 !important; z-index: 2 !important; }

/* ---------- Home on a phone: Desk swaps to its list view. Same cards. ---------- */
portal.portalContainer .TitleContainer__listView {
  position: relative !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ttgp-light-grey) !important;
  border-radius: 12px !important;
  margin: 0 0 12px !important;
}
portal.portalContainer .TitleContainer__listView .TitleContainer__Listcontainer {
  padding: 20px !important; gap: 16px !important; align-items: flex-start !important;
}
portal.portalContainer .TitleContainer__listView .TitleContainer__headerIcon { margin: 0 !important; }
portal.portalContainer .TitleContainer__listView .TitleContainer__title > a { font-size: 18px !important; }
portal.portalContainer .TitleContainer__listView .TitleContainer__description { margin: 4px 0 8px !important; }

/* ---------- Article page ---------- */
portal.portalContainer .ArticleDetailLeftContainer__box { padding: 8px 0 0 !important; background: transparent !important; }
portal.portalContainer .TOCContainer__tocContent,
portal.portalContainer .ArticleDetailRightContainer__widgetLt {
  border-left: 2px solid var(--ttgp-light-grey) !important;
  padding-left: 16px !important;
  margin-bottom: 32px !important;
}
portal.portalContainer .ArticleDetailRightContainer__wrapper { padding-top: 16px !important; }

/* ---------- Category icons (generated by build.py from CATEGORIES) ---------- */
portal.portalContainer .TitleContainer__container,
portal.portalContainer .TitleContainer__listView { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.gettingstarted,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/getting-started"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/getting-started"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.beforeyoubuy,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/before-you-buy"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/before-you-buy"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M384 192c0 66.8-34.1 125.6-85.8 160L85.8 352C34.1 317.6 0 258.8 0 192C0 86 86 0 192 0S384 86 384 192zM242.1 256.6c0 18.5-15 33.5-33.5 33.5c-4.9 0-9.1 5.1-5.4 8.4c5.9 5.2 13.7 8.4 22.1 8.4c18.5 0 33.5-15 33.5-33.5c0-8.5-3.2-16.2-8.4-22.1c-3.3-3.7-8.4 .5-8.4 5.4zm-52.3-49.3c-4.9 0-9.1 5.1-5.4 8.4c5.9 5.2 13.7 8.4 22.1 8.4c18.5 0 33.5-15 33.5-33.5c0-8.5-3.2-16.2-8.4-22.1c-3.3-3.7-8.4 .5-8.4 5.4c0 18.5-15 33.5-33.5 33.5zm113.5-17.5c0 18.5-15 33.5-33.5 33.5c-4.9 0-9.1 5.1-5.4 8.4c5.9 5.2 13.7 8.4 22.1 8.4c18.5 0 33.5-15 33.5-33.5c0-8.5-3.2-16.2-8.4-22.1c-3.3-3.7-8.4 .5-8.4 5.4zM96 416c0-17.7 14.3-32 32-32l64 0 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0c-8.8 0-16 7.2-16 16l0 16c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-16c0-8.8-7.2-16-16-16l-16 0c-17.7 0-32-14.3-32-32z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.teetimegolfpassappiosandroid,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/ios-android-apps"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/ios-android-apps"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M16 64C16 28.7 44.7 0 80 0L304 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L80 512c-35.3 0-64-28.7-64-64L16 64zM224 448a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM304 64L80 64l0 320 224 0 0-320z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.usingyourteetimegolfpass,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/teetime-golf-pass-digital"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/teetime-golf-pass-digital"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32L0 64 0 368 0 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 64.3-16.1c41.1-10.3 84.6-5.5 122.5 13.4c44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30l0-247.7c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0c-35.1-17.6-75.4-22-113.5-12.5L64 48l0-16z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.bestpractices,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/best-practices"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/best-practices"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M272 384c9.6-31.9 29.5-59.1 49.2-86.2c0 0 0 0 0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4c0 0 0 0 0 0c19.8 27.1 39.7 54.4 49.2 86.2l160 0zM192 512c44.2 0 80-35.8 80-80l0-16-160 0 0 16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.faqs,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/faqs"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/faqs"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.courseoperators,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/golf-courses"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/golf-courses"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 512%22%3E%3Cpath d=%22M323.4 85.2l-96.8 78.4c-16.1 13-19.2 36.4-7 53.1c12.9 17.8 38 21.3 55.3 7.8l99.3-77.2c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L512 316.8 512 128l-.7 0-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2zm22.8 124.4l-51.7 40.2C263 274.4 217.3 268 193.7 235.6c-22.2-30.5-16.6-73.1 12.7-96.8l83.2-67.3c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-72 48 0 224 28.2 0 91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c4.5-4.9 7.8-10.6 9.9-16.5c19.4 13 45.8 10.3 62.1-7.5c17.9-19.5 16.6-49.9-2.9-67.8l-134.2-123zM16 128c-8.8 0-16 7.2-16 16L0 352c0 17.7 14.3 32 32 32l32 0c17.7 0 32-14.3 32-32l0-224-80 0zM48 320a16 16 0 1 1 0 32 16 16 0 1 1 0-32zM544 128l0 224c0 17.7 14.3 32 32 32l32 0c17.7 0 32-14.3 32-32l0-208c0-8.8-7.2-16-16-16l-80 0zm32 208a16 16 0 1 1 32 0 16 16 0 1 1 -32 0z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.printedition,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/print-edition"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/print-edition"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 576 512%22%3E%3Cpath d=%22M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5l0-377.4c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8L0 454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5l0-370.3c0-12.1-6.8-23.3-18.1-27.6C529.7 45.3 482.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11L304 456c0 11.4 11.7 19.3 22.4 15.5z%22/%3E%3C/svg%3E"); }
portal.portalContainer .TitleContainer__container.accountbilling,
portal.portalContainer .TitleContainer__container:has(> a.TitleContainer__boxLink[href$="/account-billing"]),
portal.portalContainer .TitleContainer__listView:has(> a.TitleContainer__boxLink[href$="/account-billing"]) { --ttgp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 576 512%22%3E%3Cpath d=%22M64 32C28.7 32 0 60.7 0 96l0 32 576 0 0-32c0-35.3-28.7-64-64-64L64 32zM576 224L0 224 0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-192zM112 352l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm112 16c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z%22/%3E%3C/svg%3E"); }

/* Help band: "Send a ticket" is the one button; the phone is a quiet line of text
   (Kelvin 2026-10-23: don't plaster the number everywhere, keep it at the bottom for people who need it). */
.ttgp-help-band__phone { font-family: 'League Spartan', sans-serif; font-size: 15px; color: #35596C; margin: 6px 0 0; }
.ttgp-help-band__phone a { color: #35596C !important; font-weight: 600; text-decoration: underline !important; white-space: nowrap; }

