/* ===== MENU ĐA CẤP – NÂNG CAO ===== */
.dropdown-menu .dropdown-toggle::after {
  border-top: .3em solid transparent;
  border-right: 0;
  border-bottom: .3em solid transparent;
  border-left: .3em solid;
  float: right;
  margin-top: 15px;
}

.dropdown-menu .nav-link:hover, .dropdown-menu .dropdown-item:hover,
.nav-item.dropdown:hover > .nav-link {
  background: #0053cf !important;
  color: #fff !important;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 0px !important;
}

.dropend:hover>.nav-link, .dropend:hover > .dropdown-item {
  background: #0053cf !important  ;
  color: #fff !important;
}

.nav-link:hover, a.dropdown-item:hover ,a.dropdown-item:active{
  background: #004cbd !important;
  color: #ebebeb !important;
}

@media (min-width: 992px) {
  .dropend>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
  }

  .navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-menu .dropend:hover>.dropdown-menu {
    display: block;
  }
}

/* ===== STYLE CHUNG ===== */


#site-logo {
  max-height: 45px;
}

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
  color: #0d6efd;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #ffc107;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ===== CARD ===== */
.card {
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ratio-4x3 {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-title a {
  color: #000;
  display: block;
    padding: 12px 0px !important;
    /* TĂNG VÙNG BẤM */
    line-height: 1.4;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== BADGE / PRICE ===== */
.badge-discount {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #dc3545;
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 2;
}

.badge-type {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 2;
}

.price-tag {
  color: #d63384;
  font-weight: 700;
  font-size: 1.2rem;
}

.price-old {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 0.9rem;
  margin-right: 5px;
}

/* ===== NEWS / TEXT ===== */
.news-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
}

.tour-info {
  height: 65px;
  overflow: hidden;
}

/* ===== NEWS DETAIL ===== */
.news-title {
  font-size: 24px;
  text-transform: uppercase;
  color: #0d6efd;
}

.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.article-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
}

.article-content h3 {
  color: #0d6efd;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.article-content img {
  width: 100%;
  border-radius: 8px;
  margin: 25px 0;
}

.article-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 20px;
  margin: 25px 0;
  font-style: italic;
  color: #495057;
}

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.sidebar-widget h5 {
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.sidebar-post {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.sidebar-post:last-child {
  border-bottom: none;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.sidebar-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.sidebar-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
}

.sidebar-post-title:hover {
  color: #0d6efd;
}

.title-footer{
  font-size: 20px;
  text-transform: uppercase;
}
.social-link {
  display:inline-table;
  width: 30px;
  line-height: 30px;
}
.icon-online {
  color: #00C853;
}