.lfr-layout-structure-item-container {padding: 0;} .lfr-layout-structure-item-row {overflow: hidden;} .portlet-borderless .portlet-content {padding: 0;}/* ── How-To Guides — CSS ── */
/* Paste into the Custom CSS panel in Liferay's Advanced tab */
/* Used by: /how-to                                          */

:root {
  --navy:      #1a2744;
  --blue:      #2d5fa3;
  --teal:      #1e7a8c;
  --gold:      #d4a84b;
  --gray-100:  #f7f8fa;
  --gray-200:  #edeef2;
  --gray-400:  #9aa0b0;
  --gray-600:  #5a6070;
  --gray-800:  #2e3340;
  --white:     #ffffff;
  --text:      #2e3340;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Segoe UI", Arial, sans-serif; }
html { scroll-behavior: smooth; }

#fragment-root, .container, .container-wide, nav, .part-header, div { color: var(--text); }

/* ── Navigation ── */
nav {
  position: sticky; top: 0; background: var(--navy); z-index: 100;
  padding: 0 2rem; display: flex; align-items: center; overflow-x: auto;
}
nav a {
  color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.1rem; white-space: nowrap; transition: opacity .2s ease;
}
nav a:hover { opacity: .7; }
.nav-brand {
  color: #fff; font-size: 15px; font-weight: 700;
  padding-right: 2rem; margin-right: .5rem;
}
.nav-back {
  color: rgba(255,255,255,.45) !important; font-size: 12px !important;
  font-weight: 600; letter-spacing: .04em; text-transform: none !important;
  padding: 1rem 1.4rem 1rem 0 !important; margin-right: .5rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.nav-back:hover { color: rgba(255,255,255,.75) !important; opacity: 1 !important; }
.nav-signin {
  margin-left: auto;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  color: #fff !important; padding: .45rem 1.2rem !important; border-radius: 4px;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em;
  text-transform: uppercase; transition: background .2s ease; white-space: nowrap;
}
.nav-signin:hover { background: rgba(255,255,255,.28) !important; opacity: 1 !important; }

/* ── Auth state: CSS-only nav switching ── */
.guest #nav-auth   { display: none; }
.signed-in #nav-guest { display: none; }

/* ── Layout ── */
.container      { max-width: 780px;  margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }

/* ── Page header band ── */
.part-header {
  background: var(--gray-100); border-top: 4px solid var(--blue);
  padding: 2.2rem 2rem 2rem; margin-bottom: .5rem;
}
.part-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .6rem;
}
.part-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.part-intro {
  font-size: 1.1rem; color: #3e4450; font-weight: 400;
  font-style: italic; max-width: 700px;
}

/* ── Coming soon notice banner ── */
.ht-notice {
  display: flex; align-items: flex-start; gap: .7rem;
  background: #eef4fb; border: 1px solid #c2d8f0; border-radius: 8px;
  padding: .9rem 1.2rem; margin: 1.5rem 0 .5rem;
  color: #1a3a6b; font-size: .9rem; line-height: 1.55;
}
.ht-notice svg { flex-shrink: 0; margin-top: 1px; color: var(--blue); }

/* ── Article group ── */
.ht-group {
  border-top: 2px solid var(--gray-200);
  padding: 2rem 0 1rem;
}
.ht-group-last { padding-bottom: 3rem; }

.ht-group-header { margin-bottom: 1.5rem; }
.ht-group-title {
  font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem;
}
.ht-group-desc {
  font-size: .95rem; color: var(--gray-600); line-height: 1.6; max-width: 680px;
}

/* ── Article card grid ── */
.ht-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* ── Individual card ── */
.ht-card {
  border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 1.2rem 1.3rem 1.4rem; background: var(--white);
  display: flex; flex-direction: column;
}

/* Pending / coming-soon state */
.ht-pending {
  background: var(--gray-100); border-style: dashed;
}

.ht-card-top {
  margin-bottom: .75rem;
}

.ht-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .2rem .6rem;
  border-radius: 3px; background: var(--gray-200); color: var(--gray-600);
}

/* Badge colour when article is live (remove .ht-pending and change badge class) */
.ht-badge-live {
  background: #e0f0eb; color: #1a6b45;
}

.ht-card-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: .4rem; line-height: 1.3;
}
.ht-pending .ht-card-title { color: var(--gray-600); }

.ht-card-desc {
  font-size: .875rem; color: var(--gray-600); line-height: 1.6; flex: 1;
}

/* Live card link (for when articles go live — add .ht-card-link inside .ht-card) */
.ht-card-link {
  display: inline-block; margin-top: 1rem;
  color: var(--blue); text-decoration: none;
  font-size: .875rem; font-weight: 600;
  transition: opacity .2s ease;
}
.ht-card-link:hover { opacity: .7; }

/* ── Mobile ── */
@media (max-width: 780px) {
  .ht-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .ht-grid { grid-template-columns: 1fr; }
}