.no-js .top-bar {
  display: none;
}

.documentviewer {
	width:100%; height:600px;
}

@media only screen and (max-width:600px) {
  .mobileadjust {margin-left:-9%;}
}

@media screen and (min-width: 40em) {
  .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  }
}

@media screen and (max-width: 450px) {
	.documentviewer {
		width:100%; height:400px;
	}
}

@media (prefers-color-scheme: light) {
  .page-wrapper {
      background-color: white;
  }
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
  .page-wrapper {
      background-color: #212121;
      color: white;
  }
  .page-wrapper p {
      color:#e0e0e0;
  }
  .page-wrapper blockquote {
      background-color: #424242;
  }
  .page-wrapper table tbody tr:nth-child(even) {
      background-color:#424242 !important;
  }
  .page-wrapper table tbody tr:nth-child(odd) {
      background-color:#616161 !important;
  }
  table > thead:first-child, table > tbody:first-child tr:first-child {
      background-color: #212121 !important;
  }
  .page-content h2 {
      color:#bdbdbd;
  }
  .page-content h3 {
      color:#bdbdbd;
  }
  .page-content ul li {
      color:#e0e0e0;
  }
  .page-content h4 {
      color:#bdbdbd;
  }
}
.ir-policy-header-bar {
    width: 100%;
    height: 120px;
    background-color: #008e88;
}
canvas.ir-protected-image,
img.ir-protected-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ── Social Feed ────────────────────────────────────────── */
.ir-social-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s ease;
}
.ir-social-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.ir-social-card__thumb {
    display: block;
    overflow: hidden;
    max-height: 220px;
}
.ir-social-card__thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.ir-social-card__img--placeholder {
    height: 80px;
    background: #008e88;
}
.ir-social-card__body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ir-social-card__date {
    font-size: .8rem;
    color: #888;
    display: block;
    margin-bottom: .4rem;
}
.ir-social-card__title {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
    line-height: 1.35;
}
.ir-social-card__title a {
    color: inherit;
    text-decoration: none;
}
.ir-social-card__title a:hover {
    color: #008e88;
}
.ir-social-card__excerpt {
    font-size: .9rem;
    color: #555;
    flex: 1;
    margin: 0 0 .8rem;
}
.ir-social-card__btn {
    align-self: flex-start;
}

/* ── Training Videos Modal ────────────────────────────────────────── */
.ir-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ir-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.ir-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ir-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ir-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.ir-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ir-modal-close:hover {
    color: #333;
}

.ir-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.ir-training-videos-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ir-product-section {
    border-top: 2px solid #008e88;
    padding-top: 1.5rem;
}

.ir-product-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #008e88;
}

.ir-video-group {
    margin-bottom: 1.5rem;
}

.ir-video-group h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.ir-video-group:last-child {
    margin-bottom: 0;
}

.ir-video-card {
    display: inline-block;
    width: calc(25% - 0.75rem);
    margin-right: 1rem;
    margin-bottom: 1rem;
    vertical-align: top;
}

.ir-video-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.ir-video-card a:hover {
    transform: translateY(-4px);
}

.ir-video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.ir-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ir-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ir-video-card a:hover .ir-play-icon {
    opacity: 1;
}

.ir-video-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ir-video-card {
        width: calc(50% - 0.5rem);
    }

    .ir-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .ir-video-card {
        width: 100%;
        margin-right: 0;
    }

    .ir-modal-header {
        padding: 1rem;
    }

    .ir-modal-body {
        padding: 1rem;
    }
}