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

: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;
}

/* ── Solution type card grid ── */
.st-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}

/* Centre the 5th card when it sits alone in the last row */
.st-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.75rem);
  justify-self: center;
}

.st-card {
  border: 1px solid var(--gray-200); border-radius: 10px;
  overflow: hidden; background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.st-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.st-card-img {
  width: 100%; height: 220px; object-fit: cover; display: block;
}

.st-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; flex: 1;
}

.st-card-title {
  font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem;
}

.st-card-desc {
  font-size: .95rem; color: var(--gray-600); line-height: 1.65;
  margin-bottom: 1.2rem; flex: 1;
}

.st-card-link {
  color: var(--blue); text-decoration: none;
  font-size: .9rem; font-weight: 600;
  transition: opacity .2s ease;
}
.st-card-link:hover { opacity: .7; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-card:last-child:nth-child(odd) {
    grid-column: auto; max-width: 100%; justify-self: auto;
  }
}
