/* Liwathon Group, design direction A ("Navy & Teal"): Community page only.
   Loaded after site.css. Uses the master tokens from site.css; adds no new colours.
   Prefix: .c- (community). Section keys reuse .key-energy / .key-minerals (--card-key). */

/* ---------------------------------------------------------------- section keys */
.c-place.key-minerals { --rule: var(--lw-color-minerals); --eyebrow: var(--lw-color-minerals-text); }

/* ---------------------------------------------------------------- hero
   Consistency pass (15 Oct): the standard photo hero of the info pages (.hero.hero--page, as on About),
   greyed under the navy scrim. The lighthouse stands left of centre in the frame: phones crop to it; from
   1024 px the frame fills the width, so only the vertical position matters. */
.c-page-hero { --pos: 16% 60%; }
@media (min-width: 1024px) { .c-page-hero { --pos: 50% 62%; } }

/* ---------------------------------------------------------------- intro: three place cards (jump links) */
.c-cards { list-style: none; margin: var(--lw-space-8) 0 0; padding: 0; display: grid; gap: var(--lw-gutter); }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--lw-color-border); border-top: 3px solid var(--card-key, var(--lw-color-energy)); box-shadow: var(--lw-shadow-card);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.c-card:hover { box-shadow: var(--lw-shadow-lift); }
.c-card:focus-within { outline: 2px solid var(--lw-color-focus); outline-offset: 3px; }
.c-card .icon-badge { margin-bottom: 8px; }
.c-card__biz { font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--lw-color-energy-text); }
.c-card.key-minerals .c-card__biz { color: var(--lw-color-minerals-text); }
.c-card__title { font-size: 20px; line-height: 1.3; }
.c-card__title a { color: inherit; text-decoration: none; }
.c-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.c-card__title a:focus-visible { outline: none; }
.c-card:hover .c-card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.c-card__text { font-size: 15px; line-height: 1.55; }
.c-card__go { margin-top: auto; padding-top: 8px; font-size: var(--lw-size-md); font-weight: 700; color: var(--lw-color-link); }
.c-card__go::after { content: " \2193"; }
@media (max-width: 767px) {
  .c-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 8px; align-content: start; padding: 24px 20px 22px; }
  .c-card > * { grid-column: 2; }
  .c-card .icon-badge { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 768px) { .c-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- place sections */
.c-place { scroll-margin-top: calc(var(--lw-header-h) + 8px); }
.c-place__grid { display: grid; gap: var(--lw-space-7); }
.c-place__text, .c-place__aside { min-width: 0; }
.c-biz { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--lw-color-heading); }
.c-biz .key { width: 10px; height: 10px; }
.c-place__body { margin-top: 26px; }
.c-inline-link { margin-top: 22px; }

.c-place__aside { display: grid; gap: 24px; align-content: start; }
.c-fig { margin: 0; }
.c-fig .media { aspect-ratio: 3 / 2; border-bottom: 3px solid var(--card-key, var(--lw-color-energy)); }
.c-fig--inset { width: 70%; justify-self: end; margin-top: -4px; }
.c-place--reverse .c-fig--inset { justify-self: start; }
/* the photo-slot marker (future fire-truck photo) is .photo-slot in site.css */

/* related news: full-width foot row under each place */
.c-related { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--lw-color-border-strong); }
.c-related__title { font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--lw-color-text-muted); }
.c-related__list { list-style: none; margin: 0; padding: 0; display: grid; }
.c-related__list li { display: grid; gap: 4px; align-content: start; padding: 14px 0; border-top: 1px solid var(--lw-color-border); }
.c-related__list li:last-child { border-bottom: 1px solid var(--lw-color-border); }
.c-related__list a { font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--lw-color-heading); text-decoration: none; }
.c-related__list a:hover { color: var(--lw-color-link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.c-related__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (min-width: 768px) {
  .c-related__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--lw-space-6); }
  .c-related__list li, .c-related__list li:last-child { border: 0; padding: 0; }
}
@media (min-width: 1024px) {
  .c-related { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--lw-gutter); row-gap: 14px; margin-top: 8px; }
  .c-related__title { grid-column: 1 / span 3; grid-row: 1; }
  .c-related .c-related__links { grid-column: 1 / span 3; grid-row: 2; flex-direction: column; align-items: flex-start; align-self: start; }
  .c-related__list { grid-column: 4 / -1; grid-row: 1 / span 2; padding-top: 2px; }
}

/* the single investment statement (Great Inagua) */
.c-invest { margin-top: 32px; padding: 26px 24px 28px; background: var(--lw-color-dark); color: #fff; border-left: 4px solid var(--lw-color-minerals); }
.c-invest__label { margin-bottom: 10px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--lw-color-on-dark-accent); }
.c-invest__text { font-size: var(--lw-size-lg); line-height: 1.5; color: #fff; }
.c-invest__text strong { color: #fff; font-weight: 900; }
.c-invest__note { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--lw-color-on-dark-muted); }
.c-invest__note a { font-weight: 700; }
.c-legal { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--lw-color-text-muted); }

/* recognition card (Muuga) */
.c-award { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 22px 24px; background: #fff; border: 1px solid var(--lw-color-border); }
.c-award h3 { margin: 2px 0 6px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--lw-color-text-muted); }
.c-award p { font-size: 15px; line-height: 1.55; }

@media (max-width: 1023px) { .c-fig--inset { width: auto; justify-self: stretch; margin-top: 0; } }
@media (min-width: 600px) and (max-width: 1023px) {
  .c-place__aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (min-width: 1024px) {
  .c-place__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--lw-gutter); align-items: start; }
  .c-place__text { grid-column: 1 / span 6; grid-row: 1; }
  .c-place__aside { grid-column: 8 / span 5; grid-row: 1; }
  .c-place--reverse .c-place__text { grid-column: 7 / span 6; }
  .c-place--reverse .c-place__aside { grid-column: 1 / span 5; }
  .c-invest { padding: 30px 32px 32px; }
}

/* ---------------------------------------------------------------- values strip + closing band */
.c-strip { padding-block: 32px; background: #fff; border-bottom: 1px solid var(--lw-color-border); }
.c-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.c-strip p { flex: 1 1 320px; font-size: var(--lw-size-lg); line-height: 1.5; color: var(--lw-color-heading); }
.c-strip .link-arrow { flex: none; }
.cta-band p.c-cta-note { margin-top: 12px; font-size: 15px; color: var(--lw-color-on-dark-muted); }
.cta-band p.c-cta-note a { font-weight: 700; }
