/* HC product family – text wordmarks by HospitalityCentral, 19 October 2026.
   Applies only to owned HC product slugs rendered by hc_solution_logo_markup(). */
.hc-brand-wordmark {
  box-sizing:border-box!important;
  display:inline-flex!important;
  position:relative;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  vertical-align:middle;
  gap:3px;
  width:max-content!important;
  max-width:100%!important;
  min-width:0;
  height:auto!important;
  min-height:0!important;
  padding:7px 10px!important;
  margin:0;
  background:#382435!important;
  border:0!important;
  border-radius:9px!important;
  overflow:visible!important;
  box-shadow:none!important;
  text-align:left;
  text-decoration:none!important;
  line-height:1.07;
  color:#fff!important;
}
.hc-brand-wordmark .hc-brand-wordmark-name {
  font-family:inherit;
  display:block;
  max-width:100%;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:900!important;
  font-size:clamp(17px,1.55vw,26px)!important;
  letter-spacing:-.055em!important;
  line-height:1.05!important;
  white-space:nowrap;
}
.hc-brand-wordmark .hc-brand-wordmark-by {
  display:block;
  max-width:100%;
  color:#f6d8e7!important;
  -webkit-text-fill-color:#f6d8e7!important;
  font-weight:650!important;
  font-size:10px!important;
  line-height:1.2!important;
  letter-spacing:-.015em!important;
  white-space:nowrap;
}
/* Marketing / solution cards: exactly the clean, unboxed RESTOA treatment. */
.hc-discover-card .hc-brand-wordmark,
.solutions-page .solution-row .hc-brand-wordmark,
.restoa-solution-card .hc-brand-wordmark {
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}
/* Make logos readable in narrow or table-based layouts without 38px image constraints. */
.hc-brand-wordmark.solution-logo-mini,
.hc-brand-wordmark.solution-logo-small,
.hc-brand-wordmark.solution-logo-related,
.hc-brand-wordmark.solution-logo-marketplace {
  padding:6px 8px!important;
}
.hc-brand-wordmark.solution-logo-mini .hc-brand-wordmark-name,
.hc-brand-wordmark.solution-logo-small .hc-brand-wordmark-name,
.hc-brand-wordmark.solution-logo-related .hc-brand-wordmark-name,
.hc-brand-wordmark.solution-logo-marketplace .hc-brand-wordmark-name {
  font-size:13px!important;
  letter-spacing:-.045em!important;
}
.hc-brand-wordmark.solution-logo-mini .hc-brand-wordmark-by,
.hc-brand-wordmark.solution-logo-small .hc-brand-wordmark-by,
.hc-brand-wordmark.solution-logo-related .hc-brand-wordmark-by,
.hc-brand-wordmark.solution-logo-marketplace .hc-brand-wordmark-by {font-size:8px!important;}
.hc-brand-wordmark.solution-logo-large .hc-brand-wordmark-name,
.hc-brand-wordmark.solution-logo-detail .hc-brand-wordmark-name {font-size:clamp(23px,2vw,32px)!important;}
.hc-brand-wordmark.solution-logo-large .hc-brand-wordmark-by,
.hc-brand-wordmark.solution-logo-detail .hc-brand-wordmark-by {font-size:11px!important;}
/* On the overview the name needs room to breathe; avoid the previous image slot clipping. */
.hc-discover-card .hc-logo-slot .hc-brand-wordmark {align-self:flex-start!important;}
.hc-discover-card .hc-logo-slot {overflow:visible!important;}
.hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-name {font-size:clamp(21px,1.6vw,27px)!important;}
.hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-by {font-size:10px!important;}
/* Responsive brand text on the five-column grid. */
@media(max-width:1150px){
  .hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-name {font-size:23px!important;}
}
@media(max-width:420px){
  .hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-name {font-size:clamp(19px,6.5vw,26px)!important;}
}
/* Cards where a tiny logo used to be the first grid column. */
.activity-row:has(> .hc-brand-wordmark){grid-template-columns:minmax(92px,auto) minmax(0,1fr) auto!important;}
.hc-marketplace-mini-grid-v10>a:has(> .hc-brand-wordmark){grid-template-columns:minmax(110px,auto) minmax(0,1fr) auto!important;}
.hc-marketplace-mini-grid-v10>a > .hc-brand-wordmark{align-self:start;}
.dashboard-platform-notification-v7:has(> .hc-brand-wordmark),
.platform-summary-head-v7:has(> .hc-brand-wordmark){grid-template-columns:minmax(94px,auto) minmax(0,1fr) auto!important;}
/* Keep notification rows readable on phones. */
@media(max-width:600px){
  .activity-row:has(> .hc-brand-wordmark),
  .dashboard-platform-notification-v7:has(> .hc-brand-wordmark),
  .platform-summary-head-v7:has(> .hc-brand-wordmark){grid-template-columns:minmax(0,1fr) auto!important;}
  .activity-row:has(> .hc-brand-wordmark) > .hc-brand-wordmark,
  .dashboard-platform-notification-v7:has(> .hc-brand-wordmark) > .hc-brand-wordmark,
  .platform-summary-head-v7:has(> .hc-brand-wordmark) > .hc-brand-wordmark{grid-column:1/-1!important;}
  .hc-marketplace-mini-grid-v10>a:has(> .hc-brand-wordmark){grid-template-columns:minmax(0,1fr) auto!important;}
  .hc-marketplace-mini-grid-v10>a > .hc-brand-wordmark{grid-column:1/-1!important;}
}
/* Product names carry the same typographic weight as the original RESTOA mark. */
.hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-name {font-size:clamp(23px,1.85vw,29px)!important;}
.hc-discover-card .hc-brand-wordmark--horecabrands .hc-brand-wordmark-name {font-size:clamp(19px,1.35vw,22px)!important;}
@media(max-width:600px){
 .hc-discover-card .hc-brand-wordmark .hc-brand-wordmark-name {font-size:27px!important;}
 .hc-discover-card .hc-brand-wordmark--horecabrands .hc-brand-wordmark-name {font-size:23px!important;}
}


/* 2026-10-21: targeted platform card layout repair for Mijn HospitalityCentral.
   Text wordmarks must NOT inherit the old 48x48px image size.
   This block only affects the application cards on the HC dashboard. */
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-grid-v5 > .dash-platform-v5 {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  min-height:195px!important;
  height:auto!important;
  padding:17px 17px 16px!important;
  gap:12px!important;
  overflow:hidden!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-topline {
  box-sizing:border-box!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:8px 12px!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-topline .platform-logo.hc-brand-wordmark {
  position:static!important;
  display:inline-flex!important;
  flex:0 1 auto!important;
  box-sizing:border-box!important;
  width:max-content!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:5px 0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  text-align:left!important;
  gap:3px!important;
  margin:0!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-topline .hc-brand-wordmark .hc-brand-wordmark-name {
  box-sizing:border-box!important;
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  line-height:1.13!important;
  font-size:18px!important;
  letter-spacing:-.035em!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-topline .hc-brand-wordmark .hc-brand-wordmark-by {
  display:block!important;
  max-width:100%!important;
  font-size:9px!important;
  line-height:1.3!important;
  white-space:normal!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .platform-status-pill {
  position:static!important;
  flex:0 1 auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  white-space:normal!important;
  line-height:1.3!important;
  text-align:center!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-copy {
  box-sizing:border-box!important;
  display:block!important;
  position:static!important;
  width:100%!important;
  min-width:0!important;
  flex:1 1 auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
/* The wordmark already contains the product name; prevent a second title beneath it. */
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5:has(.hc-brand-wordmark) .dash-platform-copy > h3 {
  display:none!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-copy > h3 {
  line-height:1.2!important;
  margin:0 0 7px!important;
  overflow-wrap:anywhere!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-copy .platform-tagline {
  box-sizing:border-box!important;
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  color:#f3dce7!important;
  -webkit-text-fill-color:#f3dce7!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-copy p {
  display:none!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .dash-platform-actions-v5 {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  margin:auto 0 0!important;
  padding:0!important;
  gap:7px!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .platform-main-action {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:auto!important;
  padding:9px 12px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  text-align:left!important;
}
body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-v5 .platform-main-action > b {
  flex:0 0 auto!important;
}
@media(max-width:700px){
  body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-grid-v5{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body:not(.admin-body) main .dashboard-page .hc-ecosystem-v8 .dash-platform-grid-v5 > .dash-platform-v5{
    min-height:0!important;
  }
}
