/* src/index.css */
html, body, #root {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden; /* prevent horizontal scrollbars */
  box-sizing: border-box;
  font-size: 62.5%;
  /* font-size: clamp(41.67%, 5vw, 62.5%); */
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* removes bottom space in inline-block images */
}

.mr-image{
  margin-right: 1.2rem;
}

@media (min-width: 1024px) and (max-width: 1920px) {

   /* html {
    font-size: 41.67%
  }

  .responsive-img {
    height: 80%;
    width: 80%;
    object-fit: contain;
    margin-right: 0.1rem;
  }  */

}/* --- FAQ Layout Styling --- */

/* Left panel (Frequently Asked Questions section) */
.faq-sidebar {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
  }
  
  /* Right side container for questions */
  .accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0; /* Removes padding between questions */
  }
  
  /* Each question box */
  .accordion-block {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 0;
  }
  
  /* Question text */
  .accordion-title {
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;
  }
  
  /* Answer text */
  .accordion-content {
    /* padding: 12px 16px; */
    border-top: 1px solid #eee;
  }
  /* Resource Center Page */
.resource-center-page {
  display: flex;
  flex-direction: row;
  background: #fff;
  padding: 3rem 0;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

/* ── LEFT SIDEBAR ── */
.resource-center-left-container {
  flex-shrink: 0;
  width: 28rem;
  min-width: 28rem;
  text-align: left;
  padding-right: 2rem;
}

/* Search */
.search-component {
  margin-bottom: 2rem;
}

.search-title {
  font-weight: 700;
  font-size: 1.8rem;
  font-family: "Noto Sans", sans-serif;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 1.6rem;
}

.search-component label {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
}

.searchbox-component {
  width: 100%;
  height: 4rem;
  border: 1px solid #a3a3a3;
  border-radius: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.4rem;
  color: #333;
  padding: 0 3.6rem 0 1rem;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}

.searchbox-component:focus {
  border-color: #a3a3a3;
  outline: none;
}

.form-control-search {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #1a1a1a;
  font-size: 1.6rem;
  cursor: pointer;
  pointer-events: none;
}

/* Filter by Date */
.resource-center-left-container h1.mt-2 {
  font-weight: 700;
  font-size: 1.8rem;
  font-family: "Noto Sans", sans-serif;
  color: #1a1a1a;
  margin-top: 0.8rem;
  margin-bottom: 1.6rem;
}

.parent-custom-dpr {
  margin-bottom: 2rem;
}

.parent-custom-dpr .form-inline {
  display: block;
}

.parent-custom-dpr .form-group {
  display: none; /* hidden datepicker trigger */
}

.custom-date-picker-range-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.from-date-block {
  width: 40%;
  padding: 0;
}

.col-2.toLabel {
  width: 16%;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.4rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to-date-block {
  width: 40%;
  padding: 0;
}

.form-control.dp-from-date,
.form-control.dp-to-date {
  width: 100%;
  height: 4rem;
  border: 1px solid #a3a3a3;
  border-radius: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.3rem;
  color: #333;
  padding: 0 0.6rem 0 2rem;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}

.form-control.dp-from-date:focus,
.form-control.dp-to-date:focus {
  border-color: #1976d2;
  outline: none;
}

.calendar-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.4rem center;
  background-size: 1.4rem;
}

/* Archive / Recent Posts */
.archive-component {
  margin-top: 0;
}

.archive-component h2 {
  font-weight: 700;
  font-size: 1.8rem;
  font-family: "Noto Sans", sans-serif;
  color: #1a1a1a;
  margin-top: 1.6rem;
  margin-bottom: 1.2rem;
}

.recent-post-container {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.recent-post-container:last-child {
  border-bottom: none;
}

.recent-post-container img {
  width: 141px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.recent-post-text-container {
  flex: 1;
}

.recent-post-text-container h3.date {
  font-size: 1.3rem;
  font-family: "Noto Sans", sans-serif;
  color: #555;
  margin: 0 0 0.4rem 0;
  font-weight: 400;
}

.recent-post-text-container h4 {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "Noto Sans", sans-serif;
  color: #333;
  margin: 0;
}

/* ── RIGHT MAIN CONTENT ── */
.resource-center-right-container {
  flex: 1;
  min-width: 0;
  margin-left: 5rem;
}

.tab-hdr {
  margin-bottom: 1.2rem;
  text-align: left;
}

.tab-hdr span {
  font-weight: 700;
  font-size: 2.2rem;
  font-family: "Noto Sans", sans-serif;
  color: #1a1a2e;
  border-bottom: 3px solid #be0028;
  display: inline-block;
  padding-bottom: 4px;
}

/* Tab Group */
.mat-mdc-tab-group {
  margin-top: 1.6rem;
}

.mat-mdc-tab-header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 2.4rem;
}

.mat-mdc-tab-list {
  display: flex;
  gap: 0;
}

.mdc-tab {
  flex: 1;
  padding: 1.2rem 2rem;
  background: none;
  border: none;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  position: relative;
  text-align: center;
  outline: none;
}

.mdc-tab--active {
  color: #1a1a2e;
}

.mdc-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
}

.mdc-tab--active .mdc-tab-indicator {
  background: #1a1a2e;
}

.mat-mdc-tab-body-wrapper {
  display: block;
}

.mat-mdc-tab-body {
  display: none;
}

.mat-mdc-tab-body.mat-mdc-tab-body-active {
  display: block;
}

/* Cards grid */
.mat-mdc-tab-body-content .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-md-12.col-lg-6.col-sm-12 {
  width: 50%;
  padding: 0 12px;
  margin-bottom: 2.4rem;
  box-sizing: border-box;
}

.video-container {
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
}

.thumbnail-container {
  position: relative;
  overflow: hidden;
}

.thumbnail-container .media-item {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.thumbnail-container .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
}

.video-container:hover .overlay {
  background: rgba(0, 0, 0, 0.08);
}

.video-description-container {
  padding: 1.6rem;
  text-align: center;
}

.video-description-container h3.date {
  font-size: 1.3rem;
  font-family: "Noto Sans", sans-serif;
  color: #555;
  margin: 0 0 0.6rem 0;
  font-weight: 400;
}

.video-description-container h4.mb-3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Noto Sans", sans-serif;
  color: #333;
  margin: 0 0 1.2rem 0;
}

.video-description-container p {
  margin: 0 0 0.8rem 0;
  font-size: 1.3rem;
  font-family: "Noto Sans", sans-serif;
  color: #666;
}

.readMore {
  font-size: 1.4rem;
  font-weight: 600;
  color: #be0028;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  text-decoration: none;
}

.readMore:hover {
  text-decoration: underline;
}

/* Pagination */
.cx-sorting.bottom.pagination-block {
  margin-top: 2.4rem;
}

.resource-center-pagination-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.show-results {
  font-size: 1.4rem;
  font-family: "Noto Sans", sans-serif;
  color: #555;
}

.cx-pagination {
  display: flex;
  gap: 0.4rem;
}

.cx-pagination button {
  min-width: 3.2rem;
  height: 3.2rem;
  border: 1px solid #ddd;
  background: #fff;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 2px;
  color: #333;
}

.cx-pagination button.active {
  background: #be0028;
  border-color: #be0028;
  color: #fff;
}

.cx-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Mobile */
.archive-component.mobile-view {
  display: none;
}

.deskyop-view {
  display: block;
}

/* No results */
.no-results {
  color: #999;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.4rem;
}

/* Clear all */
.clear-all-dates {
  font-size: 1.4rem;
  color: #be0028;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-left: 1rem;
}

.clear-all-dates:hover {
  text-decoration: underline;
}

.filter-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  margin-bottom: 1.6rem;
}

.filter-date-header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
  font-family: "Noto Sans", sans-serif;
  color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
  .resource-center-page {
    flex-direction: column;
  }

  .resource-center-left-container {
    width: 100%;
    min-width: 100%;
    padding-right: 0;
  }

  .resource-center-right-container {
    margin-left: 0;
    margin-top: 2rem;
    width: 100%;
  }

  .col-md-12.col-lg-6.col-sm-12 {
    width: 100%;
  }

  .archive-component.mobile-view {
    display: block;
    width: 100%;
    padding: 0;
  }

  .deskyop-view {
    display: none;
  }
}
.numerical-sub {
    font-size: 1.2rem;
    
}

@media (max-width: 90rem) {
    .numerical-sub {
        font-size: 1rem;
    }
}

.connect-cust-logo {
    width: 28rem;
    height: 2.36rem;
    padding-left: 0;
    &:hover {
        cursor: pointer;
    }
}

@media (max-width: 90rem) {
    .connect-cust-logo {
        width: 19rem;
        height: 1.6rem;
        padding-left: 0rem;
    }
}

.dksh-logo-mobile {
    max-width: 14.9rem;
    max-height: 4.6rem;
    width: 14.9rem;
    &:hover {
        cursor: pointer;
    }
}

 @media (max-width: 90rem) {
    .dksh-logo-mobile {
        width: 9.9rem !important;
        max-width: 9.9rem !important;
        height: 3rem !important;
        padding-right: 0rem;
    }
}

.no-cursor {
    cursor: default !important;
}

/* Thin scrollbar styling (Webkit browsers: Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 6px;              /* thin vertical scrollbar */
  height: 6px;             /* thin horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: transparent; /* track color */
}

::-webkit-scrollbar-thumb {
  background: #999;        /* thumb color */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox support */
* {
  scrollbar-width: thin;         /* makes it thin */
  scrollbar-color: #999 transparent;
}

.scroll-left {
  direction: rtl;      /* put scrollbar on the left */
  overflow-y: auto;    /* enable vertical scrolling */
}

.scroll-left > * {
  direction: ltr;      /* restore content direction */
}

em.search-results-highlight {
  font-weight: bold;
  font-style: normal; /* removes default italic */
}