.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.iframe-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Style the table */
table {
 border-collapse: collapse;
 border-spacing: 0;
 width: 100%;
 border: 1px solid #ddd;
}

/* Style table headers and table data */
th, td {
 text-align: center;
 padding: 16px;
}

th:first-child, td:first-child {
 text-align: left;
}

/* Zebra-striped table rows */
tr:nth-child(even) {
 background-color: #f2f2f2
}

.fa-check {
 color: green;
}

.fa-remove {
 color: red;
}

/* Footer */
.footer {
  bottom: 0;
  width: 100%;
  /* height: 60px; */
  /* Set the fixed height of the footer here */
  margin: 0 !important;
}

.footer-bottom {
  width: auto;
  padding: 21px 0;
}

.m-0 {
  margin: 0 !important;
}

.position-absolute {
  position: absolute !important;
}

/* Responsive side padding for full-width layouts */
.page-wrap {
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .page-wrap {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 1200px) {
  .page-wrap {
    padding-left: 120px;
    padding-right: 120px;
  }
}

/* Device cards (always-visible overlay like the reference image) */
.device-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-bottom: 24px;
}

.device-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 1200px) {
  .device-card img { height: 280px; }
}

.device-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.0) 75%);
  display: flex;
  align-items: flex-end;
  /* Allow clicks to pass through to the image link underneath */
  pointer-events: none;
}

.device-card .content {
  color: #fff;
  padding: 14px 16px 18px;
}

.device-card .title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.device-card .subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.95;
}

.device-card .source-link {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
}

.device-card .source-link:hover {
  background: rgba(0,0,0,0.75);
  color: #fff;
}

/* ===== Hero (full-bleed) ===== */
.intro-hero-bleed {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 480px;
  margin: 0 0 24px 0;
  overflow: hidden;
}

.intro-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  filter: saturate(0.95);
  display: block;
}

.intro-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.0) 100%);
  pointer-events: none;
}

.intro-hero-bleed .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy { color: #fff; max-width: 560px; }
.hero-copy .intro-title { color: #fff; font-size: 44px; font-weight: 700; margin-bottom: 10px; }
.hero-copy .intro-subtitle { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 16px; }

.btn-hero-primary {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}
.btn-hero-primary:hover { background: #eaeaea; color: #000; border-color: #eaeaea; }

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.8);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

.intro-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}
.intro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
  background: rgba(255,255,255,0.45);
}
.intro-dot.active { background: #fff; }

@media (max-width: 767px) {
  .hero-copy .intro-title { font-size: 34px; }
  .intro-hero-bleed { height: 60vh; min-height: 380px; }
}