/* The Company Banner's promotional content (VTC Studio Banner module, Management 2026-11-16; vtc/_banner_promo.php).
   On a published company website the banner carries a headline and a short line over the company's own picture (or its
   banner). Readability never depends on the photo: a fixed dark gradient sits under the words. The accent rule uses the
   company's own accent (--accent from its theme or Studio accent). A separate file on purpose: chrome.css is also
   changed by another pending branch (feature/profile-studio-redesign). Hard corners, like the rest of the site. */

.vc-chrome .vc-cover.has-promo { min-height: clamp(220px, 24vw, 340px); overflow: hidden; }
.vc-chrome .vc-cover.has-promo > img { position: absolute; inset: 0; height: 100% !important; max-height: none !important; }
.vc-chrome .vc-cover.has-promo .vc-cover-scrim { z-index: 2; }

.vc-promo { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; line-height: 1.3; }
.vc-promo-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-promo-shade {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(10, 10, 11, 0.78) 0, rgba(10, 10, 11, 0.55) 45%, rgba(10, 10, 11, 0.15) 100%),
        linear-gradient(0deg, rgba(10, 10, 11, 0.55) 0, transparent 60%);
}
.vc-promo.is-center .vc-promo-shade { background: radial-gradient(90% 120% at 50% 70%, rgba(10, 10, 11, 0.72) 0, rgba(10, 10, 11, 0.35) 70%, rgba(10, 10, 11, 0.2) 100%); }
.vc-promo-txt {
    position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.4rem;
    max-width: min(46rem, 100%); padding: clamp(1.1rem, 3vw, 2.4rem) clamp(1rem, 4vw, 3rem) clamp(4.2rem, 6vw, 5.4rem);
}
.vc-promo.is-center { justify-content: center; }
.vc-promo.is-center .vc-promo-txt { align-items: center; text-align: center; margin: 0 auto; }
.vc-promo-h {
    margin: 0; color: #fff; font: 700 clamp(1.5rem, 3.2vw, 2.6rem)/1.08 'Rajdhani', system-ui, sans-serif; letter-spacing: 0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); overflow-wrap: anywhere;
}
.vc-promo-h::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 0.55rem; background: var(--accent, #ff9900); }
.vc-promo.is-center .vc-promo-h::after { margin-left: auto; margin-right: auto; }
.vc-promo-h.is-empty { color: rgba(255, 255, 255, 0.55); font-style: italic; }
.vc-promo-line { margin: 0; max-width: 38rem; color: rgba(255, 255, 255, 0.9); font-size: clamp(0.92rem, 1.4vw, 1.08rem); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); overflow-wrap: anywhere; }

/* The editor's Banner module: the same banner as a static preview card. */
.vcs-banner-edit-note { margin: 0 0 0.6rem; color: var(--ams-dim, #9a9a9a); font-size: 0.82rem; }
.vcs-banner-edit-note > i { color: var(--acc, var(--accent, #ff9900)); margin-right: 0.35rem; }
.vc-promo.is-preview { position: relative; min-height: 200px; background: #121214; border: 1px solid var(--ams-line, rgba(99, 99, 99, 0.25)); }
.vc-promo.is-preview .vc-promo-txt { padding-bottom: clamp(1.1rem, 3vw, 2rem); }

@media (max-width: 767.98px) {
    .vc-chrome .vc-cover.has-promo { min-height: 200px; }
    .vc-promo-txt { padding: 1rem 1rem 3.4rem; }
    .vc-promo-line { font-size: 0.9rem; }
}
