.header,
.header-wrapper {
  max-width: 1170px;
  margin: 0 auto;
}

#top-bar {
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 6px solid var(--primary-color);
  border-bottom: 1px solid #eee;
}
#top-bar .html_top_right_text > a {
  padding-right: 10px;
  color: #111;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#top-bar .html_top_right_text > a > i {
  margin-right: 5px;
  color: var(--primary-color);
}
.header-bottom > .flex-row {
  margin-left: 0;
  padding-left: 0;
}
.header-bottom .html_topbar_right {
  padding: 15px 20px;
  margin-right: 0;
}
.header-bottom .current-home-page {
  background: #0a40de;
}
.header-bottom .current-home-page i {
  color: #f0ec00;
}
/* .header .header-bottom {
  background: none;
}
.header .stuck .header-bottom .flex-row.container {
  margin: 0;
  width: 100%;
  max-width: none;
}
.header .stuck .header-main {
  display: none;
}
.header .header-bottom > .flex-row.container {
  background: #04217e;
  padding-left: 0px;
}
.header .header-bottom .nav.header-nav li a {
  color: #fff;
}
.header .header-bottom .nav.header-nav > li.html_topbar_right:first-child {
  background: #0a40de;
  padding: 15px 20px;
}
.header .header-bottom .nav.header-nav > li.html_topbar_right:first-child a {
  color: #fffb00;
}
.header .header-bottom .nav.header-nav .searchform {
  background: #fff;
  padding: 3px;
  border-radius: 100px;
}
.header .header-bottom .nav.header-nav .searchform .search-field {
  box-shadow: none;
  border: transparent;
  background-color: transparent;
}
.header .header-bottom .nav.header-nav .searchform .ux-search-submit {
  background-color: transparent;
  border: transparent;
}
.header .header-bottom .nav.header-nav .searchform .ux-search-submit i {
  color: #04217e;
}
.header .header-bottom .nav.header-nav .searchform .ux-search-submit i:hover {
  color: red;
}
.header .header-bottom .nav.header-nav .searchform .ux-search-submit:hover {
  background: transparent;
  box-shadow: none;
} */
.title-with-logo {
  color: #0a40de;
  font-size: 30px;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  text-transform: uppercase;
}
.header-button-1 span::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f2b5";
  margin-left: 5px;
}
.footer__about-us--menu .ux-menu-link__text {
  color: #fff;
}
.footer__about-us--menu .ux-menu-link__text:hover {
  color: #fffb00;
}
.footer__about-us--menu .ux-menu-link__text::before {
  content: "•";
}
.home__blog-posts .post-item .col-inner {
  border: 1px solid #dde2f3;
}
.home__blog-posts .post-item:nth-child(even) .box {
  display: flex;
  flex-direction: column;
}
.home__blog-posts .post-item:nth-child(even) .box .box-image {
  order: 2;
  margin: 0;
}
.home__blog-posts .post-item .box .box-image {
  border: 1px solid #dde2f3;
}
.home__blog-posts .post-item:nth-child(even) .box .box-text {
  order: 1;
}
.home__blog-posts .post-item .box .box-text .post-title {
  height: 45px;
  color: #042482;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home__blog-posts .post-item .box .box-text .post-title {
  height: 45px;
  color: #042482;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home__blog-posts .post-item .box .box-text .is-divider {
  display: none;
}
.home__blog-posts .post-item .box .box-text {
  padding: 14px;
}
.home__blog-posts .post-item .box .box-text .from_the_blog_excerpt {
  height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
.home__blog-posts .post-item .box a.button {
  border-radius: 100px;
  text-transform: none;
}
.home__blog-posts .post-item .box a.button::after {
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  border: 1px solid #0a40de;
  padding: 1px;
  border-radius: 100px;
  font-size: 8px;
}
.home__blog-posts .flickity-button.flickity-prev-next-button.next {
  right: 10px;
  margin-top: -45% !important;
}
.home__blog-posts .flickity-button.flickity-prev-next-button.previous {
  right: 50px !important;
  left: auto;
  margin-top: -45% !important;
  visibility: visible !important;
}
.home__blog-posts .flickity-button.flickity-prev-next-button {
  visibility: visible !important;
}
.contact__gravity-form .gfield_required.gfield_required_text {
  display: none;
}
.contact__gravity-form .gform_button {
  background: #f0ec00 !important;
  color: #000 !important;
  font-weight: bold !important;
}
.contact__gravity-form .gform_button:hover {
  background: #04217e !important;
  color: #fff !important;
}
.contact__gravity-form .gform_fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* external css: flickity.css */

.single-post .widget_recent_entries .attachment-thumbnail,
.archive.category .widget_recent_entries .attachment-thumbnail {
  width: 100px !important;
  height: 75px !important;
}
.single-post .flatsome_recent_posts .badge,
.archive.category .flatsome_recent_posts .badge {
  width: 100px !important;
  height: 75px !important;
}
.single-post .widget_recent_entries > ul > li,
.archive.category .widget_recent_entries > ul > li {
  font-weight: bold;
}
.single-post .widget_recent_entries > ul .post-date::before,
.archive.category .widget_recent_entries > ul .post-date::before {
  font-family: "Font Awesome 5 Free";
  content: "\f017";
  color: #aaaaaa;
  font-style: normal;
  font-weight: 900;
  margin-right: 5px;
}
.single-post .widget_recent_entries > ul .post-date,
.archive.category .widget_recent_entries > ul .post-date {
  font-size: 13px;
  color: #aaaaaa;
  font-style: italic;
  font-weight: normal;
  display: block;
}
.single-post .post-title,
.archive.category .post-title {
  color: #042482;
  font-size: 18px;
  font-style: normal;
}
.archive.category .box-blog-post .is-divider {
  display: none;
}
.archive.category .from_the_blog_excerpt {
  color: #333;
}
.archive.category .page-title {
  color: #042482;
}
.widget_media_gallery .gallery-icon {
  text-align: center;
}
.widget_media_gallery .gallery-item img {
  width: 90%;
}
.widget_media_gallery .gallery{
  margin-top: 30px;
}
.widget-title {
  margin-bottom: 30px;
}
.widget-title span {
  width: 100%;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #0a40de !important;
  border-bottom: 3px solid #ececec;
  padding-bottom: 13px;
  position: relative;
  font-style: normal;
  text-transform: none;
  font-size: 22px;
}
.widget-title span::after {
  content: "";
  display: block;
  height: 3px;
  width: 200px;
  background: var(--fs-color-secondary);
  position: absolute;
  bottom: -2.5px;
}
.flatsome_recent_posts .is-divider {
  display: none;
}
.flatsome_recent_posts > ul {
  margin-top: 20px !important;
}
.member-list .box {
  height: 228px;
  padding: 15px;
}
.member-list .box img {
  width: 120px;
  height: 120px;
  border-radius: 100px;
  border: 4px solid #dddddd;
}
.member__title {
  display: flex;
  justify-content: space-between;
}
.member__title h1 {
  width: max-content;
  align-items: center;
}
.member__title button {
  background: #0a40de;
  color: #fff;
  margin-right: 0;
}
.header .nav {
  margin: 0;
}
header .nav > .menu-item {
  padding: 17px 20px;
  margin: 0;
}
header .nav > .current-menu-parent,
header .nav > .current-menu-item {
  background: #0a40de;
}

.slider-logo .carousel-cell {
  max-width: 200px !important;
  height: 115px !important;
  background: #fff;
  margin: 0 15px !important;
}

.blog-slider__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
}

.blog-slider__item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

/* Page header */
.page-banner-section .banner-box {
  position: relative;
}
.page-banner-section .banner-box img {
  min-height: 250px !important;
  object-fit: cover;
}

.page-banner-section .overlay.absolute-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.page-banner-section .banner-inner * {
  color: #fff !important;
}

/* Members */
.members-main .section-title {
  color: var(--primary-color);
}
#member-filter-form input,
#member-filter-form select,
#member-filter-form button,
#member-filter-form .btn-member-register {
  border-radius: 6px;
}
#member-filter-form .btn-member-register {
  flex: 1 1 auto;
  margin-right: 0;
}
#member-filter-form .col-search-button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.member-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 25px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
}

.member-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.member-avatar {
  margin-bottom: 20px;
}

.member-avatar img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.member-name {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.member-company {
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}
/* ======= Pagination Styling ======= */
.pagination-wrapper {
  margin-top: 30px;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 14px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.pagination-wrapper .page-numbers:hover {
  background-color: #f0f0f0;
  color: #000;
  border-color: #bbb;
}

.pagination-wrapper .page-numbers.current {
  background-color: #003366; /* màu xanh đậm */
  color: #fff;
  border-color: #003366;
  font-weight: bold;
  pointer-events: none;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
  font-weight: bold;
}
.section-title-normal {
  border-bottom: 3px solid #ececec !important;
}
.section-title-main {
  border-bottom: none !important;
  color: #0a40de;
  border-bottom: 3px solid #ececec !important;
}
.section-title-main::after {
  content: "";
  display: block;
  height: 3px;
  width: 200px;
  background: var(--fs-color-secondary);
  position: absolute;
  bottom: -2px;
  left: 0px;
}
.archive-title h2 {
  color: #0a40de;
  border-bottom: 3px solid #ececec;
  font-size: 22px;
  padding-bottom: 8px;
  position: relative;
}
.archive-title > h2:after {
  content: "";
  display: block;
  height: 3px;
  width: 200px;
  background: var(--fs-color-secondary);
  position: absolute;
  margin-top: 8px;
}
.entry-title {
  color: #0a40de;
  /* border-bottom: 2px solid #ececec; */
}
.entry-divider {
  display: none;
}

/* .entry-title:after {
  content: "";
  display: block;
  height: 3px;
  width: 200px;
  background: var(--fs-color-secondary);
  position: absolute;
  left: 30px;
} */
#post-list .post-meta::before {
  font-family: "Font Awesome 5 Free";
  content: "\f017";
  margin-right: 5px;
  opacity: 0.8;
}
.related-posts-title {
  color: #0a40de;
  border-bottom: 2px solid #ececec;
  padding-bottom: 10px;
  font-size: 22px;
  position: relative;
}
.related-posts-title:after {
  margin-top: 10px;
  content: "";
  display: block;
  height: 3px;
  width: 200px;
  background: var(--fs-color-secondary);
  position: absolute;
}
.contact-page__form-contact input{
  border: 0.5px rgba(0, 0, 0, 0.3)  solid !important;
 
}
.contact-page__form-contact textarea{
  border: 0.5px rgba(0, 0, 0, 0.3)  solid !important;
 
}
.contact-page__form-contact .gform_button{
  text-transform: capitalize !important;
  padding: 20px 40px !important;
}

.industries-page__title-line {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.industries-page__title-line--yellow {
  height: 3px;
  width: 140px;
  background-color: var(--fs-color-secondary);
}

.industries-page__title-line--gray {
  height: 3px;
  flex-grow: 1;
  background-color: #ececec;
}
.industries-page__title {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.footer__button--industry:hover{
  color: var(--fs-color-secondary) !important;
}

/* Buy Sell */

.buysell-news .is-divider {
    display: none;
}
.sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.classified-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.classified-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.classified-item h2 {
    font-size: 18px;
    margin: 10px 0;
    color: #0a40de;
}

.classified-item img {
    max-width: 100%;
    border-radius: 6px;
}

.classified-item p {
    font-weight: bold;
    color: #d10000;
    margin: 10px 0;
}

.classified-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  height: 100%;
}

.classified-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.classified-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.classified-image a {
  display: block;
}

.classified-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.classified-item:hover .classified-image img {
  transform: scale(1.05);
}

.classified-info {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.classified-info a {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.classified-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  max-height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.classified-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.classified-info p strong {
  color: #333;
}

/* Xử lý hiển thị giá */
.classified-info p:last-child {
  margin-top: auto;
  color: var(--fs-color-primary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .classified-image img {
    height: 180px;
  }
  
  .classified-info {
    padding: 12px;
  }
  
  .classified-info h3 {
    font-size: 14px;
  }
}
.tax-sell_type .sell-grid {
    margin-bottom: 30px;
}
.post-sidebar .is-divider{
  display: none;
}