.layout-header .mainbar .nav-menu .link{
    font-size: 14px;
}



@media (max-width: 1600px) {
  .layout-header .mainbar .nav-brand .link {
    margin-top: 0px;
    /* width: 60px; */
  }

   .layout-header .mainbar .nav-group .btn-login {
    border-radius: 14px;
    min-width: 90px;
  }

   .layout-header .mainbar .nav-menu li + li {
    margin-left: 15px;
  }


.layout-header.tiny .mainbar .nav-group .btn-login {
  min-width: 80px;
  height: 50px;
}

  .layout-header.tiny .mainbar .nav-menu li + li {
    margin-left: 20px;
  }

  .layout-header .mainbar .nav-group .btn-login {
  font-size: 14px;
}

}



@media (max-width: 991px) {
  .layout-header .mainbar {
    align-items: end;
    padding-bottom: 10px;
    height: 60px;
  }
}

.head-banner-content {
  margin-bottom: 0px;
  padding: 15px 0;
  font-size: 18px;
  background: var(--color-gradient-overlay);
}




/* ===== Attachments Section ===== */
.attachments {
  --accent: #0d6efd;
  --accent-soft: rgba(13, 110, 253, 0.12);
  --border: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --radius: 14px;

  margin-top: 2rem;
}

/* ===== Section Title ===== */
.attachments .sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.attachments .sec-title .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ===== List ===== */
.attach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

/* ===== Item ===== */
.attach-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s ease;
}

.attach-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: var(--accent);
}

/* ===== Link ===== */
.attach-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}

/* ===== File Icon ===== */
.file-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

.file-icon.file-pdf {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.file-icon.file-pdf::after {
  content: "PDF";
}

/* ===== File Info ===== */
.file-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.file-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Download Button ===== */
.btn-download {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: all .25s ease;
  white-space: nowrap;
}

.attach-item:hover .btn-download {
  background: var(--accent);
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
  .attach-link {
    flex-wrap: wrap;
  }

  .btn-download {
    margin-left: 0;
    margin-top: 8px;
  }
}



/* ====== Gallery ====== */
.gallery-grid {
  --gap: .75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap);
}

.gallery-item {
  display: block;
  border-radius: .75rem;
  overflow: hidden;
  background: #f7f8f9;
  border: 1px solid #eee;
  transition: transform .2s, box-shadow .2s;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08)
}

.gallery-item .ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%
}

/* fallback */
.gallery-item .ratio-4x3 {
  padding-top: 15%
}

.gallery-item .ratio>img,
.gallery-item .ratio>picture>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== Small screens tweaks ====== */
/* @media (max-width: 575.98px){
  .sec-title{font-size:1.125rem}
  .attach-link{padding:.8rem .9rem}
} */


/* Pagination */
.pager-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 2rem
}

.pager {
  display: flex;
  gap: .35rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pager .page-item {
  display: inline-flex
}

.pager .page-item.disabled .page-link {
  pointer-events: none;
  opacity: .45
}

.pager .page-item.ellipsis .page-link {
  cursor: default
}

.pager .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid #e6e6e6;
  border-radius: .6rem;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: box-shadow .2s, transform .06s, background .2s;
  font-weight: 600;
}

.pager .page-link:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06)
}

.pager .page-item.active .page-link {
  background: #0b62d6;
  color: #fff;
  border-color: #0b62d6;
}

@media (max-width:575.98px) {
  .pager .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 .5rem;
    border-radius: .5rem
  }
}

.sc-profile .profile-area .body .body-card-table table td .status.-orange {
  background-color: rgba(241, 127, 40, 0.15);
  color: #f17f28;
}


@media (min-width: 1601px) {
  .layout-content .container {
    max-width: 1380px;
  }
}


.head-banner-content .title span {
	font-size: var(--typo-sm) !important;
	line-height: 1.3em;
}

/* for mobile */
@media (max-width: 575px) {
.sc-news-list.news-default .news-list.grid > li:first-child {
  grid-column: span 1;
}
}
.select2-container--default .select2-selection--single {
  height: 44px;
  padding: 6px 14px;
  /* border-radius: 10px; */
  display: flex;
  align-items: center;
}

.form-search input {
  padding: 0px 16px !important;
}

.layout-content-filter .form-search .btn span {
  margin-right: 10px;
}