/* ==========================================================================
   Shared layout for inner (non-homepage) pages:
   page banner, breadcrumb, content sections, generic list/detail layout
   ========================================================================== */

.page-banner {
  background: linear-gradient(120deg, var(--idis-navy) 0%, #1b2230 100%);
  color: var(--idis-white);
  padding: 48px 0 56px;
}

/* Photo variant: a real photo behind the banner. A light tint (much lighter
   than the first attempt) keeps the photo clearly visible while still
   giving the white text enough of a dark base to read against. */
.page-banner--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 13, 22, 0.45) 0%, rgba(20, 26, 38, 0.5) 100%);
}

.page-banner--photo .container {
  position: relative;
  z-index: 1;
}

.page-banner--photo p {
  color: var(--idis-white);
}

/* Hero row variant: text on one side, a product/device image on the other
   (used when a real software/device screenshot exists, instead of a full
   photo background). */
.page-banner__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-banner__text {
  flex: 1 1 460px;
  min-width: 280px;
}

.page-banner__media {
  flex: 1 1 380px;
  min-width: 240px;
  text-align: center;
}

.page-banner__media img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .page-banner__row {
    flex-direction: column;
  }

  .page-banner__media {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Inline stat row (big number + label), used inside .photo-tile-style panels */
.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}

.stat-row__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--idis-white);
}

.stat-row__item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* Dense feature-card grid (AI Analytics / Modular Functions lists on
   solutions-suite.html) - like .card but tighter, for grids with many items. */
.compact-card {
  border: 1px solid var(--idis-border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color var(--transition);
}

.compact-card:hover {
  border-color: var(--idis-teal);
}

.compact-card__icon {
  color: var(--idis-teal);
  font-size: 18px;
  margin-bottom: 10px;
}

.compact-card h4,
.compact-card h3 {
  color: var(--idis-navy);
  font-size: 14px;
  margin-bottom: 6px;
}

.compact-card p {
  font-size: 12.5px;
  color: var(--idis-text-muted);
  margin: 0;
  line-height: 1.6;
}

.compact-card .badge-chip {
  margin-bottom: 8px;
}

/* Dark edition/tier card (solutions-suite.html) */
.tier-card {
  background: var(--idis-navy);
  color: var(--idis-white);
  border-radius: var(--radius);
  padding: 28px;
}

.tier-card__tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--idis-teal-light);
  margin-bottom: 10px;
}

.tier-card h4,
.tier-card h3 {
  color: var(--idis-white);
  font-size: 18px;
  margin-bottom: 4px;
}

.tier-card__target {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.tier-card p.tier-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.tier-card ul {
  padding-inline-start: 18px;
  margin: 0;
}

.tier-card ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b7bdc9;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #b7bdc9;
}

.breadcrumb a:hover {
  color: var(--idis-teal-light);
}

.breadcrumb__sep {
  opacity: 0.6;
}

.page-banner h1 {
  color: var(--idis-white);
  margin-bottom: 12px;
}

.page-banner p {
  color: #c7ccd6;
  max-width: 640px;
  font-size: 17px;
}

.ndaa-page-logo-wrap {
  background: var(--idis-white);
  padding: 10px 18px;
  border-radius: 6px;
  margin-top: 20px;
}

.ndaa-page-logo-wrap img {
  max-height: 40px;
  max-width: 220px;
  width: auto;
  display: block;
}

/* Generic bulleted list for inner content pages (privacy policy,
   accessibility statement, etc.) - core.css resets ul{list-style:none}
   globally, so any page needing real bullets outside the product-catalog
   pages (which pull in product.css's own .product-info-card__features)
   should use this instead of linking product.css just for one rule. */
.content-list {
  margin: 0 0 24px;
  padding-inline-start: 18px;
  list-style: disc;
}

.content-list li {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--idis-text);
}

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: #ffd479;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 16px;
}

.placeholder-note--light {
  background: #fff8e6;
  border: 1px dashed #e8c46a;
  color: #8a6a00;
}

/* Generic content layout */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--idis-bg-light);
  border-radius: var(--radius);
  padding: 20px;
}

.side-nav h4,
.side-nav h2 {
  color: var(--idis-navy);
  font-size: 14px;
  margin-bottom: 14px;
}

.side-nav ul li {
  margin-bottom: 4px;
}

.side-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--idis-text);
  font-weight: 500;
}

.side-nav a:hover,
.side-nav a.is-active {
  background: var(--idis-teal-pale);
  color: var(--idis-teal-dark);
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }
}

/* Feature list (used on solution/technology pages) */
.feature-list {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}

.feature-list__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--idis-teal-pale);
  color: var(--idis-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-list__item h4,
.feature-list__item h3 {
  margin-bottom: 4px;
  color: var(--idis-navy);
}

.feature-list__item p {
  margin: 0;
  color: var(--idis-text-muted);
}

.feature-list--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .feature-list--3col {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--idis-border);
}

.faq-item__q {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--idis-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-item__icon {
  color: var(--idis-teal);
  transition: transform var(--transition);
  flex: none;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  color: var(--idis-text-muted);
}

.faq-item.is-open .faq-item__a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* Glossary */
.glossary-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px;
  margin-bottom: 24px;
  background: var(--idis-bg-light);
  border: 1px solid var(--idis-border);
  border-radius: var(--radius);
  position: sticky;
  top: 8px;
  z-index: 2;
}

.glossary-jump__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--idis-navy);
  background: #fff;
  border: 1px solid var(--idis-border);
  text-decoration: none;
  transition: var(--transition);
}

.glossary-jump__link:hover {
  background: var(--idis-teal);
  border-color: var(--idis-teal);
  color: #fff;
}

.glossary-letter {
  font-size: 22px;
  font-weight: 700;
  color: var(--idis-teal);
  border-bottom: 2px solid var(--idis-border);
  padding-bottom: 8px;
  margin: 40px 0 8px;
  scroll-margin-top: 90px;
}

.glossary-letter:first-of-type {
  margin-top: 0;
}

.glossary-list dt {
  font-weight: 700;
  color: var(--idis-navy);
  font-size: 16px;
  margin-top: 24px;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.glossary-list dd {
  margin: 6px 0 0;
  color: var(--idis-text-muted);
}

/* Responsive YouTube video embed, used on technology pages */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--idis-border);
  background: #0a0e14;
  margin-bottom: 8px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed__caption {
  font-size: 13px;
  color: var(--idis-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Brand logo above an about-page column (IDIS / SensoGuard) */
.about-logo {
  display: block;
  max-height: 34px;
  width: auto;
  margin-bottom: 18px;
}

/* Sub-section headings inside a technology page body */
.tech-subhead {
  color: var(--idis-navy);
  font-size: 20px;
  margin: 40px 0 16px;
}

.tech-subhead:first-child {
  margin-top: 0;
}

/* Codec savings bar chart */
.savings-bars {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
}

.savings-bar {
  display: grid;
  grid-template-columns: 190px 1fr 90px;
  align-items: center;
  gap: 14px;
}

.savings-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--idis-navy);
}

.savings-bar__track {
  background: var(--idis-bg-light);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}

.savings-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--idis-teal-light), var(--idis-teal));
}

.savings-bar--best .savings-bar__fill {
  background: linear-gradient(90deg, var(--idis-teal), var(--idis-teal-dark));
}

.savings-bar__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--idis-teal-dark);
  text-align: left;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Vendor comparison table (checkmark grid) */
.compare-table-wrap {
  overflow-x: auto;
  margin: 8px 0 32px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--idis-border);
  font-size: 13px;
}

.compare-table th {
  color: var(--idis-text-muted);
  font-weight: 600;
  font-size: 12px;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: right;
  font-weight: 600;
  color: var(--idis-navy);
}

.compare-table td.is-yes {
  color: var(--idis-teal-dark);
  font-size: 16px;
}

.compare-table td.is-no {
  color: #c6cad2;
  font-size: 16px;
}

.compare-table tr.is-exclusive td:first-child {
  color: var(--idis-teal-dark);
}

.compare-table tr.is-exclusive {
  background: var(--idis-teal-pale);
}

/* Two-column pro/con comparison (conventional vs IDIS) */
.vs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 32px;
}

.vs-compare__col {
  border: 1px solid var(--idis-border);
  border-radius: var(--radius);
  padding: 22px;
}

.vs-compare__col--win {
  border-color: var(--idis-teal);
  background: var(--idis-teal-pale);
}

.vs-compare__col h4,
.vs-compare__col h3 {
  color: var(--idis-navy);
  font-size: 15px;
  margin-bottom: 14px;
}

.vs-compare__col ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--idis-text);
  margin-bottom: 10px;
}

.vs-compare__col ul li i {
  flex: none;
  font-size: 13px;
}

.vs-compare__col--win ul li i {
  color: var(--idis-teal-dark);
}

.vs-compare__col:not(.vs-compare__col--win) ul li i {
  color: #c6cad2;
}

@media (max-width: 700px) {
  .vs-compare {
    grid-template-columns: 1fr;
  }

  .savings-bar {
    grid-template-columns: 130px 1fr 60px;
  }
}

/* Brochure download CTA, used at the end of technology pages */
.tech-download {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--idis-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 40px;
  background: var(--idis-bg-light);
}

.tech-download__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--idis-white);
  border: 1px solid var(--idis-border);
  color: var(--idis-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tech-download__body {
  flex: 1;
}

.tech-download__body h4,
.tech-download__body h3 {
  color: var(--idis-navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.tech-download__body p {
  margin: 0;
  color: var(--idis-text-muted);
  font-size: 13px;
}

.tech-download__body p span {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

@media (max-width: 560px) {
  .tech-download {
    flex-direction: column;
    text-align: center;
  }
}

/* Downloads cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--idis-white);
  border: 1px solid var(--idis-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition);
}

.download-card:hover {
  border-color: var(--idis-teal);
}

.download-card.is-filtered-out {
  display: none;
}

.download-card__icon {
  width: min(56px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--idis-teal-pale);
  color: var(--idis-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.download-card h3 {
  font-size: 17px;
  margin: 0;
}

.download-card p {
  color: var(--idis-text-muted);
  font-size: 14px;
  margin: 0;
}

.download-card__meta {
  color: var(--idis-text-muted);
  font-size: 13px;
  margin: 0;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.download-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
