/* Layout utilities previously provided by demo-two theme CSS.
   Keep this file small; do not load the 6MB demo-two bundle. */

.hstack {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.vstack {
  display: flex;
  flex-direction: column;
}

.panel {
  position: relative;
}

.nav-x {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.gap-narrow { gap: 0.25rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

.w-8px { width: 8px; }
.h-8px { height: 8px; }
.w-24px { width: 24px; }
.h-24px { height: 24px; }
.min-h-40px { min-height: 40px; }
.min-h-48px { min-height: 48px; }
.min-h-72px { min-height: 72px; }
.max-w-xl { max-width: 1280px; }
.max-w-600px { max-width: 600px; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }

.fs-7 { font-size: 0.8125rem; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.p-narrow { padding: 0.25rem; }
.text-none { text-decoration: none !important; }
.text-inherit { color: inherit; }
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.translate-y-px { transform: translateY(1px); }
.icon-3 { font-size: 1.125rem; line-height: 1; }

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-999 { z-index: 999; }

.position-cover {
  position: absolute;
  inset: 0;
}

.media-cover,
img.media-cover,
.featured-image img.media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-image {
  position: relative;
  overflow: hidden;
}

.bg-gradient-to-t.from-black.to-transparent,
.position-cover.bg-gradient-to-t {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2) 50%, transparent);
}

.bg-gray-25 { background-color: #f4f6f8; }
.bg-gray-100 { background-color: #f1f3f5; }
.opacity-90 { opacity: 0.9; }

.uc-transition-scale-up {
  transition: transform 0.4s ease;
}
.uc-transition-toggle:hover .uc-transition-scale-up {
  transform: scale(1.06);
}

.row.child-cols-12,
.row.child-cols-6,
.row[class*="child-cols-"] {
  display: flex;
  flex-wrap: wrap;
}

.row.child-cols-12 > * {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.row.child-cols-6 > * {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
}

.col-match > * {
  display: flex;
}

.col-match > * > * {
  width: 100%;
}

.post.type-post {
  position: relative;
  overflow: hidden;
}

.grid-overlay-layout .featured-image.h-100 {
  min-height: 340px;
}

.grid-overlay-layout .row.child-cols-6 .featured-image,
.grid-overlay-layout .child-cols-6 .featured-image {
  min-height: 168px;
}

.card-img-top {
  width: 100%;
  object-fit: cover;
}

.col-lg-8 .card-img-top {
  height: 280px;
}

.col-lg-3 .card-img-top,
.col-md-6 .card-img-top {
  height: 180px;
}

.uc-search-trigger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: inherit;
  visibility: visible !important;
}

.uc-menu-trigger {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: inherit;
}

@media (max-width: 991.98px) {
  .uc-menu-trigger {
    display: inline-flex !important;
    visibility: visible !important;
  }
}

@media (min-width: 992px) {
  .uc-menu-trigger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #uc-menu-panel,
  #uc-menu-panel.uc-open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.uc-search-trigger i,
.uc-menu-trigger i,
.kt-float-btn i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.social-icon-link .fab,
.social-icon-link .fa-brands,
.social-icon-link-light .fab,
.social-icon-link-light .fa-brands,
.mobile-social-links .fab,
.mobile-social-links .fa-brands,
.social-icons .fab,
.social-icons .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block !important;
  line-height: 1;
  visibility: visible !important;
  opacity: 1 !important;
}

.social-icon-link .fab::before,
.social-icon-link .fa-brands::before,
.social-icon-link-light .fab::before,
.social-icon-link-light .fa-brands::before,
.mobile-social-links .fab::before,
.mobile-social-links .fa-brands::before,
.social-icons .fab::before,
.social-icons .fa-brands::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

@media (min-width: 576px) {
  .sm\:py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .sm\:p-4 { padding: 1.5rem !important; }
  .sm\:gap-2 { gap: 0.5rem !important; }
  .sm\:h4 { font-size: 1.5rem; }
  .sm\:h5 { font-size: 1.25rem; }
  .sm\:fs-5 { font-size: 1.25rem; }
  .sm\:w-40 { width: 40px; }
  .sm\:h-40px { height: 40px; }
  .sm\:w-500px { width: 500px; max-width: 100%; }
  .sm\:ratio-4x3 { --bs-aspect-ratio: 75%; }
}

@media (min-width: 768px) {
  .md\:d-flex { display: flex !important; }
  .md\:d-block { display: block !important; }
  .md\:d-none { display: none !important; }
  .md\:w-auto { width: auto !important; }
  .md\:child-cols-6 > * {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (min-width: 992px) {
  .lg\:d-flex { display: flex !important; }
  .lg\:min-h-100px { min-height: 100px; }
  .lg\:min-h-56px { min-height: 56px; }
  .lg\:gap-3 { gap: 1rem !important; }
  .lg\:h5 { font-size: 1.25rem; }
  .lg\:h6 { font-size: 1rem; }
  .uc-center-navbar .social-links-list {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .xl\:gap-4 { gap: 1.5rem !important; }
  .xl\:h3 { font-size: 1.75rem; }
  .xl\:h5 { font-size: 1.25rem; }
}

html.uc-dark .bg-gray-800 { background-color: #1f2937; }
html.uc-dark .dark\:bg-gray-800 { background-color: #1f2937; }
html.uc-dark .dark\:bg-gray-900 { background-color: #111827; }
html.uc-dark .dark\:text-white { color: #fff !important; }

.front-edit-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff !important;
  background: #0a73d9;
  border: 0;
  text-decoration: none !important;
  line-height: 1;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(10, 115, 217, 0.28);
}
.front-edit-news:hover,
.front-edit-news:focus {
  background: #065aa8;
  color: #fff !important;
}
.front-edit-news--icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 0.72rem;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
  flex: 0 0 auto;
  position: relative;
  z-index: 21;
}
article.post > .front-edit-news,
.front-news-edit-wrap > .front-edit-news {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  margin: 0;
}
.front-edit-news--button {
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  vertical-align: middle;
  margin-inline-start: 0.5rem;
}
.position-relative > .front-edit-news {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  margin: 0;
}
.front-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #0a73d9;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.front-admin-link:hover {
  background: #065aa8;
  color: #fff !important;
}
.front-admin-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.uc-navbar-right .front-admin-links {
  display: none;
}
@media (min-width: 992px) {
  .uc-navbar-right .front-admin-links {
    display: flex;
  }
}
@media (max-width: 1199.98px) {
  .uc-navbar-right .front-admin-link span {
    display: none;
  }
}
#uc-menu-panel .front-admin-links {
  flex-wrap: wrap;
  padding: 0.75rem 1rem 0;
}
