/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@font-face {
  font-family: "GTWalsheimPro";
  src: url(/fonts/GTWalsheimPro-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GTWalsheimPro";
  src: url(/fonts/GTWalsheimPro-Medium.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "GTWalsheimPro";
  src: url(/fonts/GTWalsheimPro-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "GTWalsheimPro", sans-serif;
}
.navbar-brand img {
  width: 80px;
}
.navbar {
  padding: 8px 0;
  background-color: var(--secondary-color) !important;
  border-bottom: 0.2px solid #ccc;
}
.navbar .nav-link {
  font-size: 14px;
  padding: 10px 5px !important;
}
.navbar .submenu .nav-link {
  padding: 10px 25px !important;
}
.hero {
  height: 100vh;
}
.hero-content {
  margin-top: 100px;
}
.hero img {
  width: 60%;
  position: absolute;
  align-self: flex-end;
  bottom: 0;
  right: 0;
}
#loading-icon img,
.footer-logo img {
  width: 120px !important;
}
.page-header {
  padding-top: 150px;
}

.gallery {
  column-count: 4;
  column-gap: 0;
}

.gallery img {
  width: 100%;
  display: block;
  margin: 0 0 0;
  break-inside: avoid;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination a {
  padding: 8px 16px;
  margin: 0 4px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #f2f2f2;
}

.pagination .current {
  color: #fff;
  background-color: var(--accent-color);
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  margin: 0 4px;
}

.pagination .previous_page,
.pagination .next_page {
  color: #fff;
  background-color: var(--accent-color);
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
}

.pagination .previous_page:hover,
.pagination .next_page:hover {
  background-color: var(--accent-color);
}

.article-pagination-section {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}

.article-pagination-meta {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5c6b7a;
}

.article-pagination {
  margin: 0;
}

.article-pagination a {
  color: #333 !important;
}

.article-pagination a:hover {
  color: #333 !important;
}

.article-pagination .current {
  color: #fff !important;
}

.article-pagination .previous_page,
.article-pagination .next_page {
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
}

.article-pagination .previous_page:hover,
.article-pagination .next_page:hover {
  color: #fff !important;
}

.article-pagination .previous_page::before {
  content: "<- ";
}

.article-pagination .next_page::after {
  content: " ->";
}

.post-summary {
  margin: 18px 0 26px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e7e7e7;
  border-left: 4px solid var(--accent-color);
  border-radius: 10px;
}

.post-summary .summary-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.post-summary p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--primary-color);
}

  /* About section: force numbered standards to stack and allow normal body text. */
  .about-us-body .clinical-standard-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: block;
  }

  .about-us-body .clinical-standard-list li {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    padding-left: 30px;
  }

  .about-us-body .clinical-standard-list li:last-child {
    margin-bottom: 0;
  }

  .about-us-body .clinical-standard-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: var(--accent-color);
    position: absolute;
    top: 2px;
    left: 0;
    line-height: 1;
  }

  .about-us-body .clinical-standard-title {
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: none;
  }

  .about-us-body .clinical-standard-description {
    margin: 0;
    font-weight: 400;
    color: var(--text-color);
    text-transform: none;
  }

/* responsive */
@media (max-width: 1200px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 991px) {
  .hero {
    height: auto;
  }
  .hero img {
    position: static;
    width: 100%;
    margin-top: 20px;
  }
  .pagination a,
  .pagination .previous_page,
  .pagination .next_page,
  .pagination .current {
    padding: 4px 8px;
    font-size: 12px;
  }

  .post-summary {
    padding: 14px 16px;
  }

  .post-summary p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (min-width: 768px) {
  .col-5-responsive {
    width: 20%;
  }
}
