/* LoopingCloud listing detail page. Every colour comes from the site theme: brand navy (flips to cyan in dark mode), red accent, deep navy. */
.ld2, .ld2-bar, .ld2-lb {
    --ld2-ink: var(--brand-navy, #00275e);
    --ld2-on-ink: #fff;
    --ld2-deep: #0a1b33;
    --ld2-navy-soft: #16325c;
    --ld2-accent: var(--lc-red, #fe2c57);
    --ld2-accent-dark: var(--lc-red-dark, #cb2346);
    --ld2-card: var(--bs-card-bg, #fff);
    --ld2-tint: rgba(0, 39, 94, 0.05);
    --ld2-line: rgba(0, 39, 94, 0.14);
    --ld2-muted: var(--bs-secondary-color, #5a6e7c);
    --ld2-radius: 16px;
    --ld2-shadow: 0 1px 2px rgba(0, 39, 94, 0.06), 0 8px 24px rgba(0, 39, 94, 0.07);
}

[data-bs-theme="dark"] .ld2, [data-bs-theme="dark"] .ld2-bar, [data-bs-theme="dark"] .ld2-lb {
    --ld2-on-ink: #0a1b33;
    --ld2-tint: rgba(37, 245, 239, 0.06);
    --ld2-line: rgba(37, 245, 239, 0.2);
    --ld2-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ld2 { padding-bottom: 5rem; }
.ld2 h1, .ld2 h2, .ld2 h3 { color: var(--ld2-ink); }
.ld2 .breadcrumb { font-size: 0.85rem; }
.ld2 .breadcrumb a { color: var(--ld2-ink); }
.ld2 .breadcrumb-item.active { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ---------- gallery ---------- */
.ld2-gallery { position: relative; display: grid; gap: 6px; height: clamp(250px, 44vw, 540px); border-radius: var(--ld2-radius); overflow: hidden; background: var(--ld2-tint); grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ld2-gallery-n1 { grid-template-columns: 2fr 1fr; }
.ld2-gallery-n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.ld2-gallery-n3, .ld2-gallery-n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ld2-cell { position: relative; padding: 0; border: 0; background: var(--ld2-tint); overflow: hidden; cursor: zoom-in; display: block; min-height: 0; }
.ld2-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ld2-cell:hover img { transform: scale(1.04); }
.ld2-cell:focus-visible { outline: 3px solid var(--ld2-accent); outline-offset: -3px; }
.ld2-cell-main { grid-row: 1 / 3; }
.ld2-gallery-n0 .ld2-cell-main { grid-row: auto; }
.ld2-gallery-n3 .ld2-cell-3 { grid-column: 3; grid-row: 1 / 3; }
.ld2-gallery-n1 .ld2-cell-1 { grid-row: 1 / 3; }
.ld2-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 39, 94, 0.62); color: #fff; font-weight: 700; font-size: 1.05rem; }
.ld2-overlay-chips { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.ld2-chip-solid { background: var(--ld2-deep); color: #fff; font-weight: 700; font-size: 0.75rem; padding: 0.35rem 0.75rem; border-radius: 999px; letter-spacing: 0.02em; }
.ld2-chip-solid.is-accent { background: var(--ld2-accent); }
.ld2-chip-solid.is-warn { background: var(--ld2-accent-dark); }
.ld2-gallery-actions { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.ld2-pill-btn { background: rgba(255, 255, 255, 0.96); color: #00275e; border: 0; border-radius: 999px; padding: 0.5rem 0.95rem; font-weight: 700; font-size: 0.85rem; box-shadow: 0 2px 10px rgba(0, 39, 94, 0.25); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: background 0.2s ease, color 0.2s ease; }
.ld2-pill-btn:hover { background: var(--ld2-accent); color: #fff; }
.ld2-empty { height: clamp(220px, 34vw, 380px); border-radius: var(--ld2-radius); overflow: hidden; background: var(--ld2-tint); }
.ld2-empty img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

/* ---------- header ---------- */
.ld2-head { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: flex-end; margin: 1.5rem 0 1rem; }
.ld2-head h1 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.ld2-address { color: var(--ld2-muted); margin: 0; }
.ld2-address i { color: var(--ld2-accent); }
.ld2-price-block { text-align: right; }
.ld2-price { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1; color: var(--ld2-ink); letter-spacing: -0.02em; }
.ld2-price small { font-size: 1rem; font-weight: 500; color: var(--ld2-muted); }
.ld2-price-sub { margin-top: 0.4rem; color: var(--ld2-muted); font-size: 0.9rem; display: flex; gap: 0.5rem 1rem; flex-wrap: wrap; justify-content: flex-end; }
.ld2-price-sub strong { color: var(--ld2-ink); }
.ld2-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.65rem; }
.ld2-tag { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--ld2-tint); color: var(--ld2-ink); border: 1px solid var(--ld2-line); }
.ld2-tag.is-type { background: var(--ld2-ink); color: var(--ld2-on-ink); border-color: transparent; }
.ld2-tag.is-sale { background: rgba(254, 44, 87, 0.1); color: var(--ld2-accent-dark); border-color: rgba(254, 44, 87, 0.35); }
[data-bs-theme="dark"] .ld2-tag.is-sale { color: #ff8da4; }

/* ---------- stat strip ---------- */
.ld2-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 1rem; }
.ld2-stat { background: var(--ld2-card); border: 1px solid var(--ld2-line); border-radius: 14px; padding: 0.85rem 1rem; display: flex; gap: 0.75rem; align-items: center; min-width: 0; }
.ld2-stat i { font-size: 1.2rem; color: var(--ld2-accent); width: 1.6rem; text-align: center; flex: none; }
.ld2-stat-value { font-weight: 800; font-size: 1.05rem; line-height: 1.15; overflow-wrap: anywhere; color: var(--ld2-ink); }
.ld2-stat-label { font-size: 0.72rem; color: var(--ld2-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- section nav ---------- */
.ld2-nav { position: sticky; top: 0; z-index: 30; background: var(--bs-body-bg, #fff); border-bottom: 1px solid var(--ld2-line); margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -0.5); padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5); }
.ld2-nav-inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.ld2-nav-inner::-webkit-scrollbar { display: none; }
.ld2-nav a { flex: none; padding: 0.85rem 0.95rem; font-weight: 700; font-size: 0.92rem; color: var(--ld2-muted); text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.2s ease; }
.ld2-nav a:hover { color: var(--ld2-accent); }
.ld2-nav a.is-active { color: var(--ld2-ink); border-bottom-color: var(--ld2-accent); }
.ld2-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; padding-left: 1rem; flex: none; }
.ld2-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ld2-line); background: var(--ld2-card); color: var(--ld2-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.ld2-icon-btn:hover { border-color: var(--ld2-accent); color: var(--ld2-accent); }
.ld2-icon-btn[aria-pressed="true"] { color: var(--ld2-accent); border-color: var(--ld2-accent); }
.ld2-icon-btn[aria-pressed="true"] i::before { content: "\f004"; font-weight: 900; }

/* ---------- layout ---------- */
.ld2-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; margin-top: 1.5rem; align-items: start; }
.ld2-side { position: sticky; top: 4.25rem; display: grid; gap: 1rem; }
@media (max-width: 991.98px) {
    .ld2-layout { grid-template-columns: minmax(0, 1fr); }
    .ld2-side { position: static; order: 2; }
    .ld2-price-block { text-align: left; }
    .ld2-price-sub { justify-content: flex-start; }
}

.ld2-section { scroll-margin-top: 4.5rem; margin-bottom: 2.25rem; }
.ld2-section > h2, .ld2-h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 1rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.6rem; }
.ld2-section > h2 i, .ld2-h2 i { color: var(--ld2-accent); font-size: 1.05rem; }
.ld2-card { background: var(--ld2-card); border: 1px solid var(--ld2-line); border-radius: var(--ld2-radius); padding: 1.35rem; box-shadow: var(--ld2-shadow); }
.ld2-card + .ld2-card { margin-top: 1rem; }
.ld2-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 0.85rem; }

/* ---------- facts ---------- */
.ld2-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0; margin: 0; }
.ld2-fact { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--ld2-line); margin-right: 1.25rem; }
.ld2-fact dt { font-weight: 500; color: var(--ld2-muted); font-size: 0.9rem; }
.ld2-fact dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; color: var(--ld2-ink); }

/* ---------- description ---------- */
.ld2-clamp { position: relative; overflow: hidden; max-height: 11.5em; transition: max-height 0.3s ease; }
.ld2-clamp.is-open { max-height: none; }
.ld2-clamp:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(to bottom, transparent, var(--ld2-card)); pointer-events: none; }
.ld2-link-btn { background: none; border: 0; padding: 0.6rem 0 0; color: var(--ld2-accent); font-weight: 800; cursor: pointer; }
.ld2-link-btn:hover { color: var(--ld2-accent-dark); }
.ld2-highlights { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--ld2-line); }
.ld2-highlights-title { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ld2-muted); }
.ld2-highlights-title i { color: var(--ld2-accent); }
.ld2-highlight-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 0.75rem; }
.ld2-highlight { display: flex; align-items: center; gap: 0.8rem; min-width: 0; padding: 0.7rem 0.9rem; background: var(--ld2-tint); border: 1px solid var(--ld2-line); border-radius: 14px; }
.ld2-highlight-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; font-size: 1rem; color: var(--ld2-accent); background: color-mix(in srgb, var(--ld2-accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ld2-accent) 22%, transparent); }
.ld2-highlight-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ld2-highlight-text small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ld2-muted); }
.ld2-highlight-text strong { font-size: 0.95rem; font-weight: 700; color: var(--ld2-ink); overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .ld2-highlight-grid { grid-template-columns: 1fr; } }

/* ---------- investment snapshot ---------- */
.ld2-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ld2-metric { border-radius: 14px; padding: 1rem; background: linear-gradient(145deg, var(--ld2-deep), var(--ld2-navy-soft)); color: #fff; border-bottom: 3px solid var(--ld2-accent); }
.ld2-metric-value { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
[data-bs-theme="dark"] .ld2-metric-value { color: #25f5ef; }
.ld2-metric-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.8; margin-top: 0.3rem; }
.ld2-market { margin-top: 1rem; }
.ld2-market-bar { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ld2-ink), var(--ld2-navy-soft) 45%, var(--ld2-accent)); margin: 0.9rem 0 0.4rem; }
[data-bs-theme="dark"] .ld2-market-bar { background: linear-gradient(90deg, #25f5ef, #16325c 55%, var(--ld2-accent)); }
.ld2-market-pin { position: absolute; top: -5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ld2-accent); transform: translateX(-50%); box-shadow: 0 2px 6px rgba(0, 39, 94, 0.35); }
.ld2-market-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ld2-muted); }

/* ---------- tables / chart ---------- */
.ld2 .table { --bs-table-bg: transparent; --bs-table-border-color: var(--ld2-line); margin-bottom: 0; }
.ld2 .table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ld2-ink); font-weight: 800; white-space: nowrap; }
.ld2-chart { width: 100%; height: auto; display: block; margin-bottom: 1rem; }
.ld2-chart text { fill: var(--ld2-muted); font-size: 11px; font-family: inherit; }
.ld2-chart .bar-gross { fill: var(--ld2-ink); opacity: 0.28; }
[data-bs-theme="dark"] .ld2-chart .bar-gross { fill: #25f5ef; opacity: 0.4; }
.ld2-chart .bar-noi { fill: var(--ld2-accent); }
.ld2-chart .grid { stroke: var(--ld2-line); stroke-width: 1; }
.ld2-legend { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--ld2-muted); margin-bottom: 0.4rem; }
.ld2-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.35rem; }

/* ---------- features ---------- */
.ld2-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.55rem 1.5rem; }
.ld2-features li { display: flex; gap: 0.6rem; align-items: flex-start; overflow-wrap: anywhere; }
.ld2-features li::before { content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome; font-weight: 900; color: var(--ld2-accent); font-size: 0.8rem; margin-top: 0.3rem; }
.ld2-features li.is-extra { display: none; }
.ld2-features.is-open li.is-extra { display: flex; }

/* ---------- location ---------- */
.ld2-map { height: 360px; border-radius: 14px; overflow: hidden; background: var(--ld2-tint); z-index: 0; }
.ld2-nearby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.ld2-nearby a { border: 1px solid var(--ld2-line); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--ld2-ink); background: var(--ld2-card); transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.ld2-nearby a:hover { border-color: var(--ld2-accent); background: var(--ld2-accent); color: #fff; }
.ld2-nearby i { margin-right: 0.4rem; color: var(--ld2-accent); }
.ld2-nearby a:hover i { color: #fff; }

/* ---------- sidebar ---------- */
.ld2-contact { background: var(--ld2-card); border: 1px solid var(--ld2-line); border-radius: var(--ld2-radius); box-shadow: var(--ld2-shadow); overflow: hidden; border-top: 4px solid var(--ld2-accent); }
.ld2-contact-head { padding: 1.25rem 1.35rem 0; }
.ld2-eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--ld2-muted); }
.ld2-contact-price { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--ld2-ink); }
.ld2-contact-price small { font-size: 0.9rem; font-weight: 500; color: var(--ld2-muted); }
.ld2-lister { display: flex; gap: 0.85rem; align-items: center; padding: 1rem 1.35rem; }
.ld2-lister img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ld2-tint); border: 2px solid var(--ld2-line); }
.ld2-lister-name { font-weight: 800; line-height: 1.2; }
.ld2-lister-name a { color: var(--ld2-ink); text-decoration: none; }
.ld2-lister-name a:hover { color: var(--ld2-accent); }
.ld2-lister-sub { font-size: 0.85rem; color: var(--ld2-muted); }
.ld2-contact-actions { padding: 0 1.35rem 1.35rem; display: grid; gap: 0.6rem; }

.ld2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 12px; padding: 0.8rem 1rem; font-weight: 800; border: 2px solid transparent; text-decoration: none; cursor: pointer; font-size: 0.95rem; line-height: 1.2; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.ld2-btn:hover { transform: translateY(-1px); }
.ld2 .ld2-btn-primary, .ld2-bar .ld2-btn-primary { background: var(--ld2-ink); border-color: var(--ld2-ink); color: var(--ld2-on-ink) !important; }
.ld2 .ld2-btn-primary:hover, .ld2-bar .ld2-btn-primary:hover { background: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff !important; }
.ld2 .ld2-btn-accent, .ld2-bar .ld2-btn-accent { background: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff !important; }
.ld2 .ld2-btn-accent:hover, .ld2-bar .ld2-btn-accent:hover { background: var(--ld2-accent-dark); border-color: var(--ld2-accent-dark); color: #fff !important; }
.ld2 .ld2-btn-outline { background: transparent; border-color: var(--ld2-ink); color: var(--ld2-ink) !important; }
.ld2 .ld2-btn-outline:hover { background: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff !important; }
.ld2-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 1.35rem 1.35rem; }
.ld2-quick button { border: 1px solid var(--ld2-line); background: var(--ld2-tint); border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.8rem; font-weight: 700; color: var(--ld2-ink); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.ld2-quick button:hover { border-color: var(--ld2-accent); background: var(--ld2-accent); color: #fff; }
.ld2-calc { background: var(--ld2-card); border: 1px solid var(--ld2-line); border-radius: var(--ld2-radius); padding: 1.25rem 1.35rem; box-shadow: var(--ld2-shadow); }
.ld2-calc-result { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--ld2-ink); }
.ld2-calc-result small { font-size: 0.9rem; font-weight: 500; color: var(--ld2-muted); }
.ld2-calc label { font-size: 0.75rem; font-weight: 700; color: var(--ld2-muted); margin-bottom: 0.2rem; }
.ld2-calc .form-control { padding: 0.45rem 0.6rem; font-weight: 700; border-color: var(--ld2-line); color: var(--ld2-ink); }
.ld2-calc .form-control:focus { border-color: var(--ld2-accent); box-shadow: 0 0 0 0.2rem rgba(254, 44, 87, 0.18); }
.ld2-calc a { color: var(--ld2-accent); font-weight: 700; }

/* ---------- faq ---------- */
.ld2-faq details { border: 1px solid var(--ld2-line); border-radius: 12px; padding: 0.9rem 1.1rem; background: var(--ld2-card); }
.ld2-faq details + details { margin-top: 0.6rem; }
.ld2-faq details[open] { border-color: var(--ld2-accent); }
.ld2-faq summary { cursor: pointer; font-weight: 800; color: var(--ld2-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ld2-faq summary::-webkit-details-marker { display: none; }
.ld2-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--ld2-accent); }
.ld2-faq details[open] summary::after { content: "\2212"; }
.ld2-faq p { margin: 0.7rem 0 0; color: var(--ld2-muted); }

/* ---------- misc ---------- */
.ld2-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem 1.5rem; font-size: 0.88rem; }
.ld2-info dt { font-weight: 700; color: var(--ld2-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ld2-info dd { margin: 0; font-weight: 800; color: var(--ld2-ink); }
.ld2-banner { border-radius: 14px; padding: 0.9rem 1.1rem; background: rgba(254, 44, 87, 0.08); border: 1px solid rgba(254, 44, 87, 0.4); display: flex; gap: 0.7rem; align-items: center; margin-bottom: 1rem; color: var(--bs-body-color); }
.ld2-banner i { color: var(--ld2-accent); }
.ld2-banner a { color: var(--ld2-accent); font-weight: 700; }
.ld2-explore { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ld2-explore a { display: inline-block; border: 1px solid var(--ld2-ink); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--ld2-ink); text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.ld2-explore a:hover { background: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff; }

/* the shared services tables use Bootstrap utility colours; bring them onto the theme */
.ld2 #opportunities .text-success, .ld2 #opportunities .text-primary, .ld2 #opportunities .text-warning { color: var(--ld2-accent) !important; }
.ld2 #opportunities h2 { color: var(--ld2-ink); }

/* ---------- mobile bar ---------- */
.ld2-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: none; gap: 8px; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--bs-body-bg, #fff); border-top: 1px solid var(--ld2-line); box-shadow: 0 -6px 20px rgba(0, 39, 94, 0.14); }
.ld2-bar .ld2-btn { flex: 1; padding: 0.7rem 0.5rem; }
@media (max-width: 991.98px) { .ld2-bar { display: flex; } }

/* ---------- lightbox ---------- */
.ld2-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 10, 24, 0.96); display: none; flex-direction: column; color: #fff; }
.ld2-lb.is-open { display: flex; }
.ld2-lb-top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; }
.ld2-lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.ld2-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.ld2-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background 0.2s ease; }
.ld2-lb-nav:hover { background: var(--ld2-accent); }
.ld2-lb-prev { left: 12px; }
.ld2-lb-next { right: 12px; }
.ld2-lb-thumbs { display: flex; gap: 6px; padding: 0.75rem 1rem 1rem; overflow-x: auto; justify-content: safe center; }
.ld2-lb-thumbs button { flex: none; width: 76px; height: 52px; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; background: #0a1b33; opacity: 0.6; cursor: pointer; }
.ld2-lb-thumbs button.is-active { border-color: var(--ld2-accent); opacity: 1; }
.ld2-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld2-lb .ld2-icon-btn { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: transparent; }
.ld2-lb .ld2-icon-btn:hover { background: var(--ld2-accent); color: #fff; }

/* ---------- documents, links, contacts ---------- */
.ld2-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; align-items: stretch; margin-top: 1rem; }
.ld2-cols > .ld2-res { display: flex; flex-direction: column; margin-top: 0; }
.ld2-res { padding: 1.25rem; }
.ld2-res-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.ld2-res-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.ld2-res-count { font-size: 0.8rem; color: var(--ld2-muted); }
.ld2-res-chip { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font-size: 1.1rem; background: linear-gradient(135deg, var(--ld2-accent), var(--ld2-accent-dark)); box-shadow: 0 6px 14px rgba(254, 44, 87, 0.28); }
.ld2-res-chip.is-links, .ld2-res-chip.is-people { background: linear-gradient(135deg, var(--ld2-deep), var(--ld2-navy-soft)); box-shadow: 0 6px 14px rgba(0, 39, 94, 0.3); }
[data-bs-theme="dark"] .ld2-res-chip.is-links, [data-bs-theme="dark"] .ld2-res-chip.is-people { background: linear-gradient(135deg, #25f5ef, #16d6d0); color: #0a1b33; box-shadow: 0 6px 14px rgba(37, 245, 239, 0.25); }

.ld2-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.75rem; }
.ld2-tile { --c: var(--ld2-muted); position: relative; display: flex; align-items: center; gap: 0.85rem; height: 100%; padding: 0.85rem 0.95rem; border-radius: 14px; border: 1px solid var(--ld2-line); background: var(--ld2-card); text-decoration: none; color: var(--bs-body-color); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.ld2-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
a.ld2-tile:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 10px 24px rgba(0, 39, 94, 0.14); color: var(--bs-body-color); }
.ld2-tile-icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.ld2-tile-body { min-width: 0; display: grid; gap: 0.1rem; }
.ld2-tile-name { font-weight: 800; color: var(--ld2-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; line-height: 1.25; }
.ld2-tile-meta { font-size: 0.75rem; color: var(--ld2-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.ld2-tile-go { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); transition: background 0.2s ease, color 0.2s ease; }
a.ld2-tile:hover .ld2-tile-go { background: var(--c); color: #fff; }
.k-pdf { --c: var(--ld2-accent); }
.k-ppt { --c: var(--ld2-accent-dark); }
.k-word, .k-image { --c: var(--ld2-navy-soft); }
.k-excel { --c: var(--ld2-ink); }
[data-bs-theme="dark"] .k-word, [data-bs-theme="dark"] .k-image, [data-bs-theme="dark"] .k-excel { --c: #25f5ef; }
[data-bs-theme="dark"] a.ld2-tile:hover .ld2-tile-go { color: #0a1b33; }

.ld2-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ld2-link { --c: var(--ld2-ink); display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.85rem; border-radius: 14px; text-decoration: none; color: var(--ld2-ink); border: 1px solid var(--ld2-line); background: var(--ld2-card); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.ld2-link:hover { transform: translateY(-2px); border-color: var(--ld2-accent); box-shadow: 0 8px 20px rgba(0, 39, 94, 0.12); color: var(--ld2-ink); }
.ld2-link-icon { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ld2-on-ink); background: var(--ld2-ink); font-size: 1.05rem; transition: background 0.2s ease, color 0.2s ease; }
.ld2-link:hover .ld2-link-icon { background: var(--ld2-accent); color: #fff; }
.ld2-link-label { font-weight: 800; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ld2-link-go { color: var(--ld2-muted); font-size: 0.85rem; transition: color 0.2s ease, transform 0.2s ease; }
.ld2-link:hover .ld2-link-go { color: var(--ld2-accent); transform: translate(2px, -2px); }

.ld2-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: 1fr; }
.ld2-person { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.85rem; border: 1px solid var(--ld2-line); border-radius: 14px; background: var(--ld2-card); flex-wrap: wrap; }
.ld2-avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: 0.03em; color: #fff; background: linear-gradient(135deg, var(--ld2-deep), var(--ld2-navy-soft)); border: 2px solid var(--ld2-accent); }
.ld2-person-body { display: grid; min-width: 0; flex: 1 1 120px; }
.ld2-person-name { font-weight: 800; overflow-wrap: anywhere; line-height: 1.2; color: var(--ld2-ink); }
.ld2-person-role { font-size: 0.82rem; color: var(--ld2-muted); }
.ld2 a.ld2-call { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 800; font-size: 0.85rem; text-decoration: none; color: var(--ld2-on-ink) !important; background: var(--ld2-ink); white-space: nowrap; transition: background 0.2s ease, transform 0.2s ease; }
.ld2 a.ld2-call:hover { background: var(--ld2-accent); color: #fff !important; transform: translateY(-1px); }

@media (max-width: 767.98px) {
    .ld2-gallery, .ld2-gallery-n1, .ld2-gallery-n2, .ld2-gallery-n3, .ld2-gallery-n4 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .ld2-gallery .ld2-cell:not(.ld2-cell-main) { display: none; }
    .ld2-gallery .ld2-cell-main { grid-row: auto; }
    .ld2-card { padding: 1.05rem; }
    .ld2-lb-nav { width: 40px; height: 40px; }
}
@media (max-width: 575.98px) { .ld2-tiles { grid-template-columns: 1fr; } .ld2 a.ld2-call { width: 100%; justify-content: center; } }

@media (prefers-reduced-motion: no-preference) {
    html:has(.ld2) { scroll-behavior: smooth; }
}

@media print {
    .ld2-nav, .ld2-side, .ld2-bar, .ld2-gallery-actions, .ld2-lb { display: none !important; }
    .ld2-layout { display: block; }
    .ld2-clamp { max-height: none; }
    .ld2-clamp::after { display: none; }
}

.ld2-dot-gross { background: var(--ld2-ink); opacity: 0.28; }
[data-bs-theme="dark"] .ld2-dot-gross { background: #25f5ef; opacity: 0.4; }
.ld2-dot-noi { background: var(--ld2-accent); }

.ld2 #opportunities .btn-primary { --bs-btn-bg: var(--ld2-accent); --bs-btn-border-color: var(--ld2-accent); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--ld2-accent-dark); --bs-btn-hover-border-color: var(--ld2-accent-dark); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ld2-accent-dark); --bs-btn-active-border-color: var(--ld2-accent-dark); font-weight: 800; background-color: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff; }
.ld2 #opportunities .btn-primary:hover { background-color: var(--ld2-accent-dark); border-color: var(--ld2-accent-dark); }

.ld2-ph-down { color: #5eeaa0; }
.ld2-ph-up { color: #ffb4c0; }
.ld2-ph-flat { font-size: 1rem; }
.ld2-ph-chart { margin: 1.25rem 0 0; padding: 0.75rem 0.75rem 0.5rem; border-radius: 12px; background: var(--ld2-tint); }
.ld2-ph-chart svg { display: block; width: 100%; height: 170px; overflow: visible; }
.ld2-ph-line { stroke: var(--ld2-accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ld2-ph-dot { fill: var(--ld2-card); stroke: var(--ld2-ink); stroke-width: 2; }
[data-bs-theme="dark"] .ld2-ph-dot { stroke: #25f5ef; }
.ld2-ph-scale { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 0.5rem; font-size: 0.78rem; color: var(--ld2-muted); }
.ld2-ph-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.ld2-ph-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; padding: 0.65rem 0.85rem; border: 1px solid var(--ld2-line); border-radius: 12px; }
.ld2-ph-list li > i { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ld2-tint); color: var(--ld2-ink); }
.ld2-ph-list time { font-size: 0.82rem; color: var(--ld2-muted); white-space: nowrap; }
.ld2-ph-note { margin-top: 1rem; font-size: 0.8rem; color: var(--ld2-muted); }
@media (max-width: 575.98px) { .ld2-ph-list li { grid-template-columns: auto 1fr; } .ld2-ph-list time { grid-column: 2; } }

.ld2-nb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.ld2-nb-tab { border: 1px solid var(--ld2-line); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--ld2-ink); background: var(--ld2-card); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.ld2-nb-tab i { margin-right: 0.4rem; color: var(--ld2-accent); }
.ld2-nb-tab:hover { border-color: var(--ld2-accent); }
.ld2-nb-tab[aria-selected="true"] { background: var(--ld2-accent); border-color: var(--ld2-accent); color: #fff; }
.ld2-nb-tab[aria-selected="true"] i { color: #fff; }
.ld2-nb-tab:focus-visible { outline: 3px solid var(--ld2-accent); outline-offset: 2px; }
.ld2-nb-frame { height: 420px; }
