/*
Theme Name: Kato
Description: Custom WordPress theme for NCP website
Version: 1.0.0
Author: NCP Team
Text Domain: kato
*/

/* Container */
html {
  margin: 0 !important;
}
.subscribe-form {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  border-bottom: 1px solid #ccc;
}

/* Input */
.subscribe-input {
  width: 100%;
  padding: 12px 20px 12px 0; /* top right bottom left */
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #000;
}

/* Button */
.subscribe-button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #223035; /* Màu nền đậm */
  color: #fff;
  border: none;
  border-radius: 999px; /* Bo tròn */
  padding: 10px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-button:hover {
  background-color: #000; /* Hover đổi màu */
}

.subscribe-button i {
  margin-left: 8px;
}

.cf7-input,
.cf7-textarea {
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
  width: 100%;
  outline: none;
}

.cf7-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.cf7-button:hover {
  background-color: #111827;
}

.cf7-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cf7-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.main-item::before {
  content: "";
  display: block;
  width: 60px;
  height: 20px;
  position: absolute;
  left: 10px;
  bottom: -15px;
}

.header-menu li {
  position: relative;
}

.header-menu li ul {
  position: absolute;
  left: 0;
  top: 100%;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  min-width: 220px;
  padding: 8px 0;
  z-index: 50;
}

.header-menu li:hover > ul {
  display: block;
}

.header-menu li ul li a {
  display: block;
  padding: 8px 16px;
  color: #1f2937;
  text-decoration: none;
}

.header-menu li ul li a:hover {
  background: #f3f4f6;
  color: #47d7ac;
}
/* Container pagination */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* Các số trang */
.page-numbers a,
.page-numbers span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #444;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* Hover effect */
.page-numbers a:hover {
  background-color: #47d7ac; /* xanh đậm */
  color: #fff;
  border-color: #47d7ac;
}

/* Trang hiện tại */
.page-numbers .current {
  background-color: #47d7ac;
  color: #fff;
  border-color: #47d7ac;
  font-weight: 600;
}

/* Nút prev/next */
.page-numbers .prev,
.page-numbers .next {
  font-weight: 600;
}

/* Responsive nhỏ hơn 480px */
@media (max-width: 480px) {
  .page-numbers a,
  .page-numbers span {
    padding: 6px 10px;
    font-size: 13px;
  }
}

footer .widget-title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #85979b;
}

footer .widget_nav_menu li {
  margin-bottom: 10px;
}
footer .widget_nav_menu li:hover {
  color: #85979b;
  transform: translateX(5px);
  transition: all ease-in 0.25s;
}
