/* Font Styles */
.nav-link {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
}

.b {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
}

.tt {
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

/* Navbar trong suốt mờ */
.navbar-custom {
  background: rgba(255, 255, 255, 0.1); /* nền trắng mờ */
  backdrop-filter: blur(12px); /* hiệu ứng mờ */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

/* Đổi màu chữ navbar sang đen/xám đậm để nổi bật trên nền sáng */
.navbar-nav .nav-link {
  color: #222; /* hoặc #333, #111 nếu bạn muốn đậm hơn */
  font-weight: 500;
  padding: 8px 16px;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff; /* màu xanh dương nổi bật khi hover */
  text-shadow: 0 0 2px rgba(0, 123, 255, 0.4);
}

.navbar-nav .nav-link.active {
  color: #d63384; /* màu hồng nổi bật */
  font-weight: 600;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgb(14, 139, 69);
  margin-right: 10px;
}

/* Post Card Styles */
.post-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700; /* Bold */
  text-decoration: none; /* remove underline if any */
}

.post-card:hover {
  color: rgb(8, 177, 250);
}

.post-card:hover .post-link {
  color: rgb(8, 177, 250);
}

/* Post List Styles */
#post-list .col {
  display: none;
}

#post-list .col.visible {
  display: block;
}

/* Post Image Styles */
.post-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  margin-left: 20px;
}

a.t1 {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.t1 * {
  text-decoration: none !important;
  color: inherit;
}

/* Post Title and Link Styles */
.post-title {
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.post-link {
  text-decoration: none;
  color: #0d6efd;
}

.post-link:hover {
  text-decoration: none; /* no underline on hover */
}

/* Post Date Styles */
.post-date {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  text-decoration: none;
}

/* Footer Styles */
.footer {
  background-color: #9f9cab;
  color: white;
  padding: 40px 20px;
}

.footer-content1 {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content1 h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Contact Info Styles */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ffcc00;
}

/* Footer Address Styles */
.footer-address {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .bao {
    width: 100%;
    height: auto;
  }

  .ttkhac {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column-reverse;
  }

  .xt {
    padding: 0;
    margin: 0;
  }
}
