/* Disclaimer Responsive Styles */
@media (max-width: 1200px) {
  #disclaimer-content {
    max-width: 90vw !important;
    width: 90vw !important;
    padding: 24px 4vw 18px 4vw !important;
  }
}
@media (max-width: 900px) {
  #disclaimer-content {
    max-width: 98vw !important;
    width: 98vw !important;
    padding: 18px 2vw 16px 2vw !important;
  }
}
@media (max-width: 600px) {
  #disclaimer-content {
    max-width: 99vw !important;
    width: 99vw !important;
    min-width: 0 !important;
    padding: 12px 2vw 12px 2vw !important;
    font-size: 0.97rem;
  }
  #disclaimer-content h2 {
    font-size: 1.1rem !important;
  }
  #disclaimer-content div[style*='font-size:1rem'] {
    font-size: 0.93rem !important;
    max-height: 38vh !important;
  }
  #disclaimer-content button {
    width: 100%;
    margin: 8px 0 0 0 !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
    display: block;
  }
  #disclaimer-content > div[style*='text-align:right'] {
    text-align: center !important;
    margin-top: 12px !important;
  }
}

/* Service detail page: the CKEditor bullet list (.service-description ul) reuses the
   theme's .list-style-one gold-check look (see style.css). This only adds the 3-up
   grid layout - fills left-to-right, row by row - stepping down on narrow screens. */
.service-description ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  margin: 20px 0;
}

@media (max-width: 991px) {
  .service-description ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .service-description ul {
    grid-template-columns: 1fr;
  }
}

/* Courses catalog cards reuse the theme's .project-block-one portfolio block, which
   hides the title/instructor/price until hover and drops them onto the bare thumbnail.
   For a catalog the text has to be readable at rest, so pin it visible over a dark
   bottom-up gradient that works on both the placeholder and real uploaded thumbnails.
   Scoped to .courses-grid so the gallery grid keeps its hover-reveal behaviour. */
.courses-grid .project-block-one .inner-box .image-box img {
  opacity: 1;
}

.courses-grid .project-block-one .inner-box:hover .image-box img {
  opacity: 0.08;
}

.courses-grid .project-block-one .content-box {
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 32, 76, 0.92) 0%, rgba(0, 32, 76, 0.55) 55%, rgba(0, 32, 76, 0.12) 100%);
}

.courses-grid .project-block-one .content-box .text h4,
.courses-grid .project-block-one .content-box .text h4 a {
  top: 0;
  opacity: 1;
  color: #fff;
}

.courses-grid .project-block-one .content-box .text p {
  color: #fff;
  opacity: 0.95;
}

.courses-grid .project-block-one .content-box .view-btn a {
  opacity: 1;
}
