/*
 * Content and showcase pages: blog, case studies, news, events, downloads,
 * FAQs, projects, clients, testimonials, certificates, gallery.
 * Requested with front_need('css_content'); builds on the tokens and
 * components in site.css. Prefix: vs-ct-.
 */

/* ------------------------------------------------------------ common */
.vs-ct-h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin: 0 0 1.25rem; }
.vs-ct-block { margin-top: 2rem; }
.vs-ct-more { text-align: center; margin: 2.5rem 0 0; }
.vs-ct-back { margin: 2.5rem 0 0; }
.vs-ct-back a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.vs-ct-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; background: var(--c-grey-100); color: var(--c-grey-600); font-size: .75rem; font-weight: 600; }

.vs-ct-empty { text-align: center; padding: 3.5rem 1.5rem; border: 1px dashed var(--c-grey-300); border-radius: var(--radius); background: var(--c-grey-50); color: var(--c-grey-600); }
.vs-ct-empty > .bi { display: block; font-size: 2.5rem; color: var(--c-signal-500); margin-bottom: .75rem; }
.vs-ct-empty p { margin: 0 auto; max-width: 520px; }

.vs-ct-note { display: flex; align-items: flex-start; gap: .6rem; margin: 2rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--c-grey-50); border-left: 3px solid var(--c-steel-500); color: var(--c-steel-700); font-size: .95rem; }
.vs-ct-note:first-child { margin-top: 0; margin-bottom: 1.75rem; }
.vs-ct-note .bi { margin-top: .2rem; color: var(--c-steel-500); }
.vs-ct-alert { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: #FDECEC; border-left: 3px solid var(--c-danger); color: #8A1C1C; }
.vs-ct-alert .bi { margin-top: .15rem; }

/* filter pills and tabs */
.vs-ct-filter { margin-bottom: 2.25rem; }
.vs-ct-filter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.vs-ct-filter a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--c-grey-300); border-radius: 999px; background: #fff; color: var(--c-steel-900); font-weight: 500; font-size: .92rem; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.vs-ct-filter a:hover { border-color: var(--c-signal-500); color: var(--c-signal-600); }
.vs-ct-filter a[aria-current] { background: var(--c-steel-900); border-color: var(--c-steel-900); color: #fff; }
.vs-ct-filter a[aria-current] .vs-ct-count { background: rgba(255, 255, 255, .16); color: #fff; }

.vs-ct-tabs { display: flex; gap: .25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--c-grey-300); overflow-x: auto; }
.vs-ct-tabs a { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--c-grey-600); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.vs-ct-tabs a:hover { color: var(--c-steel-900); }
.vs-ct-tabs a[aria-current] { color: var(--c-steel-900); border-bottom-color: var(--c-signal-500); }

/* sidebars */
.vs-ct-side { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 992px) { .vs-ct-side--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.vs-ct-side__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 -.75rem; color: var(--c-steel-900); }
.vs-ct-search .form-label { font-weight: 600; color: var(--c-steel-900); font-size: .95rem; }
.vs-ct-search__row { display: flex; gap: .5rem; }
.vs-ct-search__row .form-control { min-height: 44px; border-radius: var(--radius-sm); }
.vs-ct-search__row .form-control:focus { border-color: var(--c-signal-500); box-shadow: 0 0 0 .2rem rgba(242, 107, 29, .2); }
.vs-ct-search__row .vs-btn { min-height: 44px; }

.vs-ct-cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-grey-100); }
.vs-ct-cats li { border-bottom: 1px solid var(--c-grey-100); }
.vs-ct-cats a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; color: var(--c-steel-900); text-decoration: none; font-weight: 500; }
.vs-ct-cats a:hover, .vs-ct-cats a[aria-current] { color: var(--c-signal-600); }
.vs-ct-cats a[aria-current] .vs-ct-count { background: var(--c-signal-500); color: #fff; }

.vs-ct-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vs-ct-tags a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--c-grey-50); border: 1px solid var(--c-grey-100); color: var(--c-steel-700); font-size: .85rem; font-weight: 500; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.vs-ct-tags a:hover { background: var(--c-signal-50); border-color: var(--c-signal-500); color: var(--c-signal-600); }

.vs-ct-ask { padding: 1.5rem; border-radius: var(--radius); background: var(--c-steel-900); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.vs-ct-ask p { margin: 0 0 1rem; }
.vs-ct-ask__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: .5rem !important; }
.vs-ct-ask--wide { margin-top: 3rem; display: grid; gap: .25rem 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) {
  .vs-ct-ask--wide { grid-template-columns: 1fr auto; padding: 1.75rem 2rem; }
  .vs-ct-ask--wide .vs-btn { grid-column: 2; grid-row: 1 / span 2; }
  .vs-ct-ask--wide p { margin-bottom: 0; }
}

.vs-ct-toc { padding: 1.25rem 1.4rem; border: 1px solid var(--c-grey-100); border-left: 3px solid var(--c-signal-500); border-radius: var(--radius); background: #fff; }
.vs-ct-toc__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--c-grey-600); margin: 0 0 .6rem; }
.vs-ct-toc ol { margin: 0; padding-left: 1.2rem; }
.vs-ct-toc li { margin: .35rem 0; font-size: .95rem; }
.vs-ct-toc li::marker { color: var(--c-signal-600); font-weight: 700; }
.vs-ct-toc a { color: var(--c-steel-900); text-decoration: none; }
.vs-ct-toc a:hover { color: var(--c-signal-600); text-decoration: underline; }
.vs-ct-toc--inline { margin-bottom: 2rem; }

.vs-ct-facts { margin: 0; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--c-grey-50); }
.vs-ct-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--c-grey-100); }
.vs-ct-facts > div:last-child { border-bottom: 0; }
.vs-ct-facts dt { font-weight: 500; color: var(--c-grey-600); font-size: .9rem; }
.vs-ct-facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--c-steel-900); font-size: .95rem; }
.vs-ct-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.vs-ct-actions:empty { display: none; }
.vs-ct-fullbtn { width: 100%; }

/* ----------------------------------------------------- article pages */
.vs-ct-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.5rem; color: var(--c-grey-600); font-size: .92rem; }
.vs-ct-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.vs-ct-meta .bi { color: var(--c-signal-500); }
.vs-ct-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; background: var(--c-grey-100); }
.vs-ct-figure img { display: block; width: 100%; height: auto; }
.vs-ct-body h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.vs-ct-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-grey-100); }
.vs-ct-foot + .vs-ct-foot { margin-top: 0; padding-top: 1rem; border-top: 0; }
.vs-ct-foot__label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--c-grey-600); min-width: 5rem; }
.vs-ct-share { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.vs-ct-share a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-grey-300); color: var(--c-steel-700); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.vs-ct-share a:hover { background: var(--c-steel-900); border-color: var(--c-steel-900); color: #fff; }

/* case study steps */
.vs-ct-step { position: relative; padding: 0 0 2.25rem 0; scroll-margin-top: calc(var(--header-h) + 1rem); }
.vs-ct-step + .vs-ct-step { padding-top: 2.25rem; border-top: 1px solid var(--c-grey-100); }
.vs-ct-step__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.vs-ct-step__num { flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; background: var(--c-grey-50); color: var(--c-signal-500); font-size: 1.4rem; }
.vs-ct-step__title { margin: 0; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
.vs-ct-step__idx { color: var(--c-signal-500); margin-right: .25rem; }
.vs-ct-step--result { margin-top: .5rem; padding: 2rem; border: 0; border-radius: var(--radius); background: var(--c-steel-900); color: rgba(255, 255, 255, .82); }
.vs-ct-step + .vs-ct-step--result { padding-top: 2rem; border-top: 0; }
.vs-ct-step--result .vs-ct-step__title, .vs-ct-step--result .vs-rich h2, .vs-ct-step--result .vs-rich h3, .vs-ct-step--result strong { color: #fff; }
.vs-ct-step--result .vs-ct-step__num { background: var(--c-signal-500); color: #fff; }
.vs-ct-step--result .vs-rich a { color: #fff; }
.vs-ct-step--result .vs-rich th { background: rgba(255, 255, 255, .06); color: #fff; }

/* ----------------------------------------------------------- events */
.vs-ct-events { display: grid; gap: 1rem; }
.vs-ct-event { position: relative; display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid var(--c-grey-100); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.vs-ct-event:hover { border-color: transparent; box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.vs-ct-event__date { flex-shrink: 0; width: 76px; padding: .6rem 0; border-radius: var(--radius-sm); background: var(--c-steel-900); color: #fff; text-align: center; line-height: 1.1; }
.vs-ct-event__day { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; }
.vs-ct-event__mon { display: block; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-signal-500); }
.vs-ct-event__yr { display: block; font-size: .75rem; color: rgba(255, 255, 255, .6); margin-top: .15rem; }
.vs-ct-event__body { flex: 1; min-width: 0; }
.vs-ct-event__body .vs-card__meta { margin-bottom: .2rem; }
.vs-ct-event__title { font-size: 1.3rem; margin: 0 0 .4rem; }
.vs-ct-event__title a { color: var(--c-steel-900); text-decoration: none; }
.vs-ct-event:hover .vs-ct-event__title a { color: var(--c-signal-600); }
.vs-ct-event__facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; color: var(--c-grey-600); font-size: .9rem; }
.vs-ct-event__facts span { display: inline-flex; align-items: center; gap: .35rem; }
.vs-ct-event__text { margin: .6rem 0 0; color: var(--c-text); font-size: .95rem; }
.vs-ct-event__go { align-self: center; color: var(--c-grey-300); font-size: 1.3rem; transition: color .2s, transform .2s var(--ease); }
.vs-ct-event:hover .vs-ct-event__go { color: var(--c-signal-500); transform: translateX(4px); }
@media (max-width: 575.98px) {
  .vs-ct-event { gap: 1rem; padding: 1rem; }
  .vs-ct-event__date { width: 62px; }
  .vs-ct-event__day { font-size: 1.5rem; }
  .vs-ct-event__go { display: none; }
}

/* -------------------------------------------------------- downloads */
.vs-ct-dlgroup + .vs-ct-dlgroup { margin-top: 3rem; }
@media (max-width: 575.98px) {
  .vs-ct-dlgroup .vs-download { flex-wrap: wrap; }
  .vs-ct-dlgroup .vs-download__body { flex-basis: calc(100% - 3rem); }
  .vs-ct-dlgroup .vs-download .vs-btn { flex-basis: 100%; }
}
.vs-ct-doc { padding: 1.5rem; border: 1px solid var(--c-grey-100); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.vs-ct-doc__cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 1.25rem; border-radius: var(--radius-sm); background: var(--c-grey-50); overflow: hidden; }
.vs-ct-doc__cover img { width: 100%; height: 100%; object-fit: contain; }
.vs-ct-doc__icon { font-size: 4.5rem; color: var(--c-danger); }
.vs-ct-doc .vs-ct-facts { padding: .5rem 1rem; }
.vs-ct-doc__text { margin: 1.25rem 0 0; color: var(--c-grey-600); }
.vs-ct-ready { text-align: center; }
.vs-ct-ready__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 1rem; border-radius: 50%; background: #E8F7EE; color: var(--c-success); font-size: 2.4rem; }
.vs-ct-ready p { color: var(--c-grey-600); max-width: 480px; margin: 0 auto 1.5rem; }
.vs-ct-ready .vs-ct-ready__more { margin: 1.5rem auto 0; }

/* ------------------------------------------------------------- FAQs */
.vs-ct-faqgroup { scroll-margin-top: calc(var(--header-h) + 1rem); }
.vs-ct-faqgroup + .vs-ct-faqgroup { margin-top: 3rem; }
.vs-ct-faqgroup .vs-ct-h2 { margin-bottom: .5rem; }

/* ------------------------------------------------------ certificates */
.vs-ct-certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vs-ct-certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .vs-ct-certs { grid-template-columns: repeat(3, 1fr); } }
.vs-ct-cert { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-grey-100); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.vs-ct-cert:hover { border-color: transparent; box-shadow: var(--shadow-raised); }
.vs-ct-cert__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 1.25rem; background: var(--c-grey-50); position: relative; }
.vs-ct-cert__img img { max-height: 100%; width: auto; object-fit: contain; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.vs-ct-cert__img:hover img { transform: scale(1.03); }
.vs-ct-cert__icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--c-grey-50); color: var(--c-signal-500); font-size: 3.5rem; }
.vs-ct-cert__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.4rem; }
.vs-ct-cert__name { font-size: 1.3rem; margin: 0; }
.vs-ct-cert__org { margin: 0; color: var(--c-grey-600); font-size: .92rem; }
.vs-ct-cert__facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; font-size: .88rem; }
.vs-ct-cert__facts > div { display: flex; gap: .35rem; }
.vs-ct-cert__facts dt { font-weight: 500; color: var(--c-grey-600); }
.vs-ct-cert__facts dd { margin: 0; font-weight: 600; color: var(--c-steel-900); }
.vs-ct-cert__text { margin: 0; font-size: .95rem; }
.vs-ct-cert__body .vs-btn { margin-top: auto; }

/* ----------------------------------------------------------- clients */
.vs-ct-logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-ct-logo__img img { max-width: 100%; height: auto; }
@media (min-width: 768px) { .vs-ct-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .vs-ct-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.vs-ct-logo { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem 1.25rem; background: #fff; border: 1px solid var(--c-grey-100); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.vs-ct-logo:hover { border-color: transparent; box-shadow: var(--shadow-raised); }
.vs-ct-logo > a { display: contents; color: inherit; text-decoration: none; }
.vs-ct-logo__img { display: flex; align-items: center; justify-content: center; height: 72px; width: 100%; margin-bottom: .9rem; }
.vs-ct-logo__img img { max-height: 64px; max-width: 160px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.vs-ct-logo:hover .vs-ct-logo__img img { filter: none; opacity: 1; }
.vs-ct-logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--c-steel-700); line-height: 1.2; }
.vs-ct-logo__name { font-weight: 600; color: var(--c-steel-900); font-size: .92rem; }
.vs-ct-logo__meta { font-size: .8rem; color: var(--c-grey-600); }

/* ------------------------------------------------------ testimonials */
.vs-ct-quotes { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vs-ct-quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .vs-ct-quotes { grid-template-columns: repeat(3, 1fr); } }
.vs-ct-quotes .vs-quote { max-width: none; margin: 0; height: 100%; padding: 1.75rem; }
.vs-ct-quote-video { align-self: flex-start; margin-top: 1rem; }

/* ----------------------------------------------------------- gallery */
.vs-ct-album { gap: 1rem; }
@media (min-width: 1200px) { .vs-ct-album { grid-template-columns: repeat(4, 1fr); } }
.vs-ct-video { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-grey-100); border-radius: var(--radius); overflow: hidden; }
.vs-ct-video .vs-video { border-radius: 0; box-shadow: none; }
.vs-ct-video .vs-play { width: 64px; height: 64px; font-size: 1.8rem; }
.vs-ct-video__player { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--c-steel-900); }
.vs-ct-video__cap { padding: 1.1rem 1.25rem 1.3rem; }
.vs-ct-video__title { font-size: 1.15rem; margin: 0 0 .3rem; }
.vs-ct-video__meta { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--c-grey-600); }
.vs-ct-video__text { margin: .5rem 0 0; font-size: .92rem; color: var(--c-grey-600); }

@media (prefers-reduced-motion: reduce) {
  .vs-ct-event, .vs-ct-event__go, .vs-ct-cert__img img { transition: none; }
  .vs-ct-event:hover, .vs-ct-event:hover .vs-ct-event__go { transform: none; }
}
@media print {
  .vs-ct-side, .vs-ct-share, .vs-ct-filter, .vs-ct-tabs { display: none !important; }
}
