html {
  scroll-behavior: smooth;
}

.top-nav {
  background-color: var(--primary-blue);
  width: 100%;
  z-index: 1000;
}

header {
  background-color: var(--primary-blue);
  width: 100%;
  z-index: 990;
    padding: 0;
}

.catalog-container {
  max-width: 1200px;
  margin: 0 10px;
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
}

/* News Section Styles */
.news-section {
  padding: 40px 0px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  color: #5a9ca4;
  font-size: 24px;
  font-weight: 600;
}

.filter-options button {
  background: transparent;
  border: none;
  color: #5a9ca4;
  cursor: pointer;
  margin-left: 15px;
  font-size: 14px;
}

/* Featured News */
.featured-news {
  display: flex;
  overflow: hidden;
  margin-bottom: 30px;
}

.featured-news-image {
  flex: 0 0 60%;
}

.featured-news-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.featured-news-content {
  flex: 0 0 40%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.featured-news-content p {
  color: #666;
  margin-bottom: 20px;
}

.read-more {
  color: #5a9ca4;
  font-weight: 500;
  display: flex;
  align-items: center;
  width: fit-content;
}

.read-more i {
  margin-left: 5px;
  font-size: 12px;
}

/* Main Content Styles */
main {
  padding: 40px 0;
}

.page-title {
  color: #2b8599;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Search Container Styles */
.section-search-container {
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  overflow: hidden;
  border: 2px #2b8599 solid;
}

.section-search-box {
  position: relative;
  margin-bottom: 20px;
  flex: 1;
}

.section-search-box input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.bul-container {
  height: 45px;
}

.bul-container.mobile {
  display: none;
}

.section-search-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #777;
  font-size: 18px;
}

.section-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.bold {
  font-weight: bold;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #d8d8d8;
  font-size: 14px;
  color: #555;
  height: 30px;
}

.section-search-button {
  background-color: #2b8599;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 500;
  float: right;
  text-transform: uppercase;
  height: 100%;
  cursor: pointer;
}

.section-search-inputs {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Search Results Styles */
.search-results {
  border-radius: 8px;
  padding: 25px;
}

.search-query h2 {
  color: #2b8599;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

.results-table {
  border-top: 1px solid #eee;
}

.result-item {
  display: flex;
  padding: 15px 0;
  gap: 1rem;
  align-items: center;
}

.result-number {
  width: 30px;
  font-weight: bold;
  color: #555;
}

.result-ref {
  width: 150px;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

.result-title {
  flex: 1;
    color: #2b8599;
    font-weight: 700;
}

.result-title a {
  color: #2b8599;
  font-weight: 500;
}

.result-title a:hover {
  text-decoration: underline;
}

.result-author {
  width: 300px;
  font-size: 14px;
  color: #666;
}

.result-detail {
  width: 100px;
  text-align: right;
}

.detail-button {
  background-color: #2b8599;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 20px;
  font-size: 14px;
  cursor: pointer;
}

.detail-note {
  display: block;
  font-size: 12px;
  color: red;
  margin-top: 5px;
}

.results-summary {
  margin: 20px 0;
  text-align: right;
  color: #666;
}

.results-summary strong {
  color: #333;
}



/* Responsive Styles */
@media (max-width: 992px) {
  .result-author {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .result-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-number {
    width: 10%;
  }

  .result-ref {
    width: 90%;
    margin-bottom: 5px;
  }

  .result-title {
    width: 100%;
    margin-bottom: 5px;
  }

  .result-author {
    width: 70%;
  }

  .result-detail {
    width: 100%;
    display: flex;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .search-filters {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }


  .bul-container {
    display: none;
  }

  .bul-container.mobile {
    display: block;
    width: 100%;

    &>button {
      width: 100%;
    }
  }
}
