.lfr-layout-structure-item-container {padding: 0;} .lfr-layout-structure-item-row {overflow: hidden;} .portlet-borderless .portlet-content {padding: 0;}/* ============================================================
   GAITS User Guide — CSS
   Paste into the Custom CSS panel in Liferay's Advanced tab.
   Used by: /using-gaits (hub) and all three role guide pages.
   Shares the same design token palette as gaits-platform.css.
   ============================================================ */

:root {
  --navy:        #1a2744;
  --blue:        #2d5fa3;
  --teal:        #1e7a8c;
  --warm:        #c8703a;
  --gold:        #d4a84b;
  --green:       #2e7d52;
  --light-blue:  #e8f0f8;
  --light-teal:  #e6f4f6;
  --light-warm:  #faf0e8;
  --light-green: #e8f5ee;
  --gray-100:    #f7f8fa;
  --gray-200:    #edeef2;
  --gray-400:    #9aa0b0;
  --gray-600:    #5a6070;
  --gray-800:    #2e3340;
  --white:       #ffffff;
  --text:        #2e3340;
  --text-light:  #5a6070;
}

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

/* ── Navigation ── */
nav {
  position: sticky; top: 0; background: var(--navy); z-index: 100;
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; 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 a.nav-active { color: #fff; border-bottom: 2px solid var(--gold); }
.nav-brand { color: #fff; font-size: 15px; font-weight: 700; padding-right: 2rem; margin-right: .5rem; }
.nav-links { display: flex; align-items: center; flex: 1; }

/* ── Page header (replaces hero — compact, auth-only pages) ── */
.guide-header {
  background: linear-gradient(135deg, #1a2744, #2d3d6b);
  padding: 3rem 2rem 2.5rem; text-align: center;
}
.guide-header-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.guide-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: .9rem;
}
.guide-header-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.72); max-width: 600px;
  margin: 0 auto; font-weight: 300; line-height: 1.7;
}

/* ── Layout containers ── */
.ug-container       { max-width: 860px;  margin: 0 auto; padding: 0 2rem; }
.ug-container-wide  { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

section { padding: 3rem 2rem; }
section + section { border-top: 1px solid var(--gray-200); }
.section-gray { background: var(--gray-100); }

/* ── Section labels & headings ── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .6rem;
}
h2.section-heading {
  font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 1.1rem;
}
p { line-height: 1.75; margin-bottom: 1rem; color: var(--gray-800); }
p:last-child { margin-bottom: 0; }

/* ── Role entry cards (hub page) ── */
.role-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.role-entry-card {
  border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 2rem 1.8rem; background: var(--white);
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.role-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45,95,163,.13);
  opacity: 1;
}
.role-entry-card.role-user:hover    { border-color: var(--blue); }
.role-entry-card.role-mentor:hover  { border-color: var(--teal); }
.role-entry-card.role-pm:hover      { border-color: var(--warm); }

.role-entry-icon {
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.1rem;
}
.role-user   .role-entry-icon { background: var(--light-blue); }
.role-mentor .role-entry-icon { background: var(--light-teal); }
.role-pm     .role-entry-icon { background: var(--light-warm); }

.role-entry-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .4rem;
}
.role-user   .role-entry-tag { color: var(--blue); }
.role-mentor .role-entry-tag { color: var(--teal); }
.role-pm     .role-entry-tag { color: var(--warm); }

.role-entry-title {
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
  margin-bottom: .55rem; line-height: 1.3;
}
.role-entry-desc {
  font-size: .9rem; color: var(--text-light); line-height: 1.65;
  margin: 0; flex: 1;
}
.role-entry-covers {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--gray-200);
}
.role-entry-covers-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: .45rem;
}
.role-entry-covers ul {
  list-style: none; padding: 0; margin: 0;
}
.role-entry-covers ul li {
  font-size: .82rem; color: var(--text-light); line-height: 1.5;
  padding: .2rem 0 .2rem 1.1rem; position: relative;
}
.role-entry-covers ul li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--gray-400); font-size: .75rem;
}
.role-entry-link {
  display: inline-block; margin-top: 1.3rem;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
}
.role-user   .role-entry-link { color: var(--blue); }
.role-mentor .role-entry-link { color: var(--teal); }
.role-pm     .role-entry-link { color: var(--warm); }

/* ── "Not sure which role?" clarifier box ── */
.role-clarifier {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 1.4rem 1.6rem; margin-top: 2rem;
}
.role-clarifier p {
  font-size: .9rem; color: var(--text-light);
  margin: 0; line-height: 1.7;
}
.role-clarifier strong { color: var(--navy); }

/* ── Back / breadcrumb ── */
.guide-back {
  font-size: .85rem; color: var(--text-light);
  padding: 1rem 2rem 0;
  max-width: 1080px; margin: 0 auto;
}
.guide-back a { color: var(--blue); text-decoration: none; font-weight: 600; }
.guide-back a:hover { opacity: .7; }

/* ══════════════════════════════════════════════════════════
   ARTICLE STYLES (role guide pages)
   ══════════════════════════════════════════════════════════ */

/* ── Article layout ── */
.article-wrap {
  max-width: 800px; margin: 0 auto; padding: 0 2rem 4rem;
}

/* ── "On this page" quick nav ── */
.on-this-page {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 1.2rem 1.5rem; margin: 2rem 0 2.5rem;
}
.on-this-page-label {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: .6rem;
}
.on-this-page ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .3rem .8rem;
}
.on-this-page ul li { display: inline; }
.on-this-page ul li a {
  font-size: .85rem; color: var(--blue); text-decoration: none; font-weight: 600;
}
.on-this-page ul li a:hover { opacity: .7; }
.on-this-page ul li::after { content: " ·"; color: var(--gray-400); font-size: .8rem; }
.on-this-page ul li:last-child::after { content: ""; }

/* ── Article section headings ── */
.article-wrap h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
  margin: 2.8rem 0 .7rem; padding-top: .3rem;
  border-top: 2px solid var(--gray-200);
}
.article-wrap h2:first-of-type { margin-top: 1rem; border-top: none; }
.article-wrap h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin: 1.8rem 0 .5rem;
}
.article-wrap p { line-height: 1.8; margin-bottom: 1rem; color: var(--gray-800); }
.article-wrap ul, .article-wrap ol {
  padding-left: 1.4rem; margin-bottom: 1rem;
}
.article-wrap li { line-height: 1.75; color: var(--gray-800); margin-bottom: .25rem; font-size: .95rem; }

/* ── Permission level cards ── */
.permission-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin: 1.2rem 0 1.5rem;
}
.permission-card {
  border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 1.2rem 1.3rem; background: var(--white);
}
.permission-card-badge {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 3px; margin-bottom: .7rem;
}
.permission-admin   { border-top: 3px solid var(--blue); }
.permission-member  { border-top: 3px solid var(--teal); }
.permission-viewer  { border-top: 3px solid var(--gray-400); }
.permission-admin  .permission-card-badge  { background: var(--light-blue);  color: var(--blue); }
.permission-member .permission-card-badge  { background: var(--light-teal);  color: var(--teal); }
.permission-viewer .permission-card-badge  { background: var(--gray-100);    color: var(--gray-600); }
.permission-card-title {
  font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem;
}
.permission-card ul { padding-left: 1.1rem; margin: 0; }
.permission-card ul li { font-size: .82rem; color: var(--text-light); margin-bottom: .2rem; line-height: 1.55; }

/* ── Callout boxes ── */
.callout {
  border-left: 4px solid var(--teal); background: var(--light-teal);
  border-radius: 0 6px 6px 0; padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.callout p { font-size: .9rem; color: #1a5a6a; margin: 0; line-height: 1.7; }
.callout strong { color: #113a45; }

.callout-admin {
  border-left: 4px solid var(--blue); background: var(--light-blue);
  border-radius: 0 6px 6px 0; padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.callout-admin-label {
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .35rem;
}
.callout-admin p { font-size: .9rem; color: #1a3a6a; margin: 0; line-height: 1.7; }
.callout-admin ul { padding-left: 1.2rem; margin: .4rem 0 0; }
.callout-admin ul li { font-size: .88rem; color: #1a3a6a; line-height: 1.65; }

/* ── Section label within article ── */
.article-section-label {
  font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .25rem; display: block;
}

/* ── Framework reference cards (small, inline) ── */
.framework-ref-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .8rem; margin: 1.2rem 0;
}
.framework-ref-card {
  border: 1px solid var(--gray-200); border-radius: 6px;
  padding: .9rem 1rem; background: var(--white);
  text-decoration: none; color: var(--text);
  transition: border-color .2s ease, box-shadow .15s ease;
}
.framework-ref-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); opacity: 1; }
.framework-ref-card-step {
  font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .3rem;
}
.framework-ref-card-title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.framework-ref-card-desc  { font-size: .78rem; color: var(--text-light); line-height: 1.5; }
.fw-hic    { border-top: 2px solid var(--teal); }
.fw-hic    .framework-ref-card-step { color: var(--teal); }
.fw-hic:hover { border-color: var(--teal); }
.fw-veritas { border-top: 2px solid var(--warm); }
.fw-veritas .framework-ref-card-step { color: var(--warm); }
.fw-veritas:hover { border-color: var(--warm); }
.fw-hbmc   { border-top: 2px solid var(--blue); }
.fw-hbmc   .framework-ref-card-step { color: var(--blue); }
.fw-hbmc:hover { border-color: var(--blue); }
.fw-fr     { border-top: 2px solid var(--gold); }
.fw-fr     .framework-ref-card-step { color: var(--warm); }
.fw-fr:hover { border-color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .role-entry-grid { grid-template-columns: 1fr; }
  .permission-grid { grid-template-columns: 1fr; }
  .framework-ref-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 2rem 1rem; }
  .guide-header { padding: 2.2rem 1.2rem 2rem; }
  .article-wrap { padding: 0 1.2rem 3rem; }
}
