/* unifi.html — product sections (styles first written for the former unifi-overview page) */

.uo-hero { background: #0b0d12 url(../../images/products/unifi-background-2x.webp) center center / cover no-repeat; }

.uo-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--am-blue, #2250fc); margin-bottom: 6px; }


.uo-point { height: 100%; padding: 20px 20px 22px; border-radius: 12px; background: #f4f6fa; }
.uo-num { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--am-blue, #2250fc); }
.uo-point p { font-weight: 600; line-height: 1.6; color: #101828; }

.uo-tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.uo-tags li { padding: 4px 12px; border-radius: 999px; background: #eef1f6; font-size: 13px; }
.background-grey .uo-tags li { background: #fff; }

#problems .heading-text { margin-bottom: 56px; }
/* hybrid-cloud block: text, then the device composition; text matches the section lead */
.uo-hybrid p { font-size: 18px; line-height: 1.7; }
/* ui.com Lottie animations (1460 x 720 stage); each box matches its cropped data-lottie-viewbox */
/* hero: copy on the left, "simple setup & management" on the right (desktop only) */
.uo-hero-grid { display: flex; align-items: center; gap: 4vw; }
.uo-hero-grid .hero-copy { flex: 1 1 auto; }
.uo-hero-anim { flex: 0 0 46%; max-width: 680px; aspect-ratio: 930 / 720; }
@media (max-width: 991.98px) { .uo-hero-anim { display: none; } }
/* hybrid-cloud block: "scales wide and tall" */
.uo-scale-anim { max-width: 800px; aspect-ratio: 980 / 720; margin: 32px auto; }

/* hero clip at the top of each solution card (unifi.html) */
/* negative margins cancel the card padding (42px 36px) so the clip runs edge to edge */
.uo-card-media { aspect-ratio: 16 / 9; margin: -42px -36px 28px; overflow: hidden; background: #0b0d12; }
.uo-card-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.unifi-feature-card h3 a { color: inherit; }
/* the card fills its column (height: 100%), so its own 50px bottom margin ended up as empty space
   inside the card; space the rows on the column instead */
.unifi-page #section1 .icon-box.unifi-feature-card { margin-bottom: 0; }
.unifi-page #section1 .row > [class*="col-"] { margin-bottom: 24px; }

/* image tiles */
.uo-gallery { margin-top: 8px; }
.uo-shot { margin: 0; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.uo-shot img { width: 100%; height: auto; }
.uo-shot--alpha { background: #f2f4f7; padding: 16px; }
.uo-shot--alpha img { width: auto; max-width: 100%; max-height: 320px; }
.uo-shot--tall img { max-height: 420px; width: auto; max-width: 100%; }
.uo-video { background: #000; }
.uo-video video { display: block; width: 100%; height: auto; }
.uo-logos { margin: 0; }
.uo-chart { margin: 16px 0 0; }
.uo-chart img { border-radius: 10px; }

/* advantage tabs: one row, labels never break; scroll sideways on narrow screens */
.uo-tabs .nav-justified { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.uo-tabs .nav-justified::-webkit-scrollbar { display: none; }
.uo-tabs .nav-justified .nav-link { flex: 1 0 auto; white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: 13px; }
.uo-tab-content { padding-top: 20px; }
.uo-tab-lead { margin-bottom: 12px; }

/* product feature tabs (unifi.html): vertical tabs on desktop, Polo "Tabs - Clean" style that wraps onto rows on smaller screens */
.uo-gw .nav-tabs .nav-link { font-size: 14px; padding: 10px 14px; }
.uo-gw .tab-content { padding-top: 0; }
.uo-gw .uo-shot { border-radius: 0; }
.uo-gw-desc { margin: 16px 0 0; }
/* YouTube thumbnail that opens the video in a new tab */
.uo-yt { position: relative; display: block; }
.uo-yt img { display: block; width: 100%; height: auto; }
.uo-yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(0, 0, 0, .65); transition: background .2s; }
.uo-yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.uo-yt:hover .uo-yt-play, .uo-yt:focus-visible .uo-yt-play { background: #f00; }
.uo-yt-frame { width: 100%; aspect-ratio: 16 / 9; }
.uo-yt-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 991.98px) {
  .tabs.tabs-vertical.uo-gw .nav-tabs { flex-direction: row !important; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
  .tabs.tabs-vertical.uo-gw .nav-tabs .nav-link { padding: 6px 10px; font-size: 13px; white-space: nowrap; border: 1px solid transparent; border-radius: .42rem; }
  .tabs.tabs-vertical.uo-gw .nav-tabs .nav-link.active { border-color: #e4e6ef; background-color: #fff; }
}

/* digital signage: example deployment diagrams side by side, caption below */
.uo-ds-setup { margin: 0 0 24px; }
.uo-ds-setup img { display: block; width: 100%; height: auto; }
.uo-ds-setup figcaption { margin-top: 12px; font-size: 14px; color: #475467; }
.uo-ds-setup figcaption strong { display: block; margin-bottom: 4px; font-size: 15px; color: #101828; }

/* digital signage: Display Cast Lite / Pro comparison */
.uo-spec-wrap { max-width: 860px; margin: 16px auto 0; }
.uo-spec-table { margin: 0; font-size: 14px; }
.uo-spec-table th, .uo-spec-table td { padding: 12px 14px; vertical-align: middle; }
.uo-spec-table thead th { font-weight: 700; color: #101828; border-bottom-width: 2px; }
.uo-spec-table tbody th { width: 22%; font-weight: 600; color: #101828; white-space: nowrap; }
.uo-spec-table td { width: 39%; color: #475467; }

/* product lineup grids: Polo grid-filter + grid-layout (Isotope), "masonry title" items */
.uo-prod-filter { margin: 64px 0 24px; }
.uo-products .portfolio-item.no-overlay .portfolio-description h3 { text-transform: none; } /* keep official product-name casing */
@media (max-width: 575.98px) {
  .uo-products.portfolio-4-columns .portfolio-item { width: 50%; }
}

/* cost tables */
.uo-cost-table { margin: 0; background: #fff; }
.uo-cost-table th, .uo-cost-table td { vertical-align: middle; padding: 10px 14px; }
.uo-cost-table td:last-child, .uo-cost-table th:last-child { font-weight: 700; color: var(--am-blue, #2250fc); }
.uo-cost-table tfoot th { background: #eef3ff; }

h5.uo-subhead { margin: 64px 0 28px; font-weight: 700; text-align: center; }
.uo-feature { display: flex; gap: 14px; padding: 18px; }
.uo-feature h6 { font-weight: 700; }
.uo-feature p { font-size: 14px; color: #475467; }
.uo-feature-tag { font-size: 12px; font-weight: 700; color: var(--am-blue, #2250fc); }
.uo-check { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--am-blue, #2250fc); position: relative; }
.uo-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--am-blue, #2250fc); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.uo-support-icon { width: 56px; height: 56px; object-fit: contain; }

/* demos */
.uo-demo + .uo-demo { margin-top: 48px; }
.uo-demo h5 { font-weight: 700; }

/* call to action */
.uo-cta { background: #0b0d12; color: #fff; }
.uo-cta h2 { color: #fff; }
.uo-cta-list { list-style: none; padding: 0; margin: 24px auto 32px; max-width: 560px; text-align: left; }
.uo-cta-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.uo-cta-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--am-blue, #2250fc); }

/* case studies: three columns from lg up; shorter photos to suit the narrower cards */
.unifi-case-col .site-case-body h4 { font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
@media (min-width: 992px) {
  .unifi-case-col .site-case-media img { height: 200px; }
}
