/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.19.5
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/

/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  position: relative;
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

:root {
  --white-color: white;
  --black-color: black;
  --primary-color: rgba(233, 129, 74, 1);
  --slide-btn-color: rgba(233, 129, 74, 1);
  --primary-bg: red;
  --footer-color: rgba(172, 38, 38, 1);
}

a {
  text-decoration: none !important;
  color: inherit;
  line-height: inherit;
  font-size: inherit;
}

#main-news-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* Cột trái lớn hơn phải */
  gap: 20px;
  /* max-width: 1400px; */
  margin: 68px 207px;
  align-items: start;
}

/* Cột trái */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cột phải */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-single {
  padding: 20px 322px;
}

/* Bài viết lớn */
.news-item.large {
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-item.large img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.news-item.large h2 {
  margin: 10px;
  font-size: 22px;
  font-weight: bold;
}

.news-item.large p {
  margin: 0 10px 15px;
  color: #555;
}

/* Grid bài viết nhỏ */
.small-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.small-news-grid .news-item {
  background: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.small-news-grid .news-item:hover {
  transform: translateY(-3px);
}

.small-news-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-title {
  padding: 8px 10px;
  font-size: 16px;
  color: #333;
  margin: 0;
}

/* Banner */
.banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.sidebar-section+.sidebar-section {
  margin-top: 20px;
}

.sidebar-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.sidebar-section ul {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
}

.sidebar-section a {
  color: #0073aa;
  text-decoration: none;
}

.sidebar-section a:hover {
  text-decoration: underline;
}

.sidebar-section img {
  width: 100%;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 992px) {
  #main-news-section {
    grid-template-columns: 1fr;
  }

  .small-news-grid {
    grid-template-columns: 1fr;
  }
}

.custom-gap-row .col-inner {
  padding-right: 25px;
  /* khoảng cách cột trái */
}

.custom-gap-row .col-inner:last-child {
  padding-right: 0;
  /* cột cuối không cần padding */
}

.header-inner,
#masthead {
  display: none;
}

.dropdown-toggle::after {
  display: none !important;
}

.detail-form {
  padding: 20px;
  margin-top: 40px;
}

.detail-form .title {
  max-width: 353px;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.detail-form .title h2 {
  text-align: center;
  display: inline-block;
  font-weight: 600;
  font-size: 32px;
  padding-bottom: 16px;
  position: relative;
  border-bottom: none;
  /* cần để ::after định vị */
}

.detail-form .title h2::after {
  content: "";
  /* bắt buộc phải có content */
  position: absolute;
  left: 50%;
  bottom: 0;
  /* cách đáy của h2 */
  transform: translateX(-50%);
  /* căn giữa */
  width: 60px;
  /* chiều dài dòng kẻ */
  height: 4px;
  /* độ dày dòng kẻ */
  background-color: #ffc251;
  /* màu của dòng kẻ */
}

.detail-form .list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-form .list .step {
  margin-top: 20px;
}

.detail-form .list .step .icon {
  width: 52px;
  height: 52px;
  border-radius: 100%;
  background-color: rgba(233, 129, 74, 1);
  font-size: 32px;
  font-weight: 500;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.detail-form .list .step .step-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-form .list .step .step-header span {
  font-weight: 600;
  color: rgba(233, 129, 74, 1);
  font-size: 24px;
}

.detail-form .list .step .content {
  padding: 12px;
  border-radius: 6px;
  background-color: var(--white-color);
  min-height: 108px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.detail-form .list .step .content h1,
.detail-form .list .step .content h2,
.detail-form .list .step .content h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.detail-form .list .step .content a {
  color: #0073aa;
  text-decoration: underline;
}

.detail-form .list .step .content ul,
.detail-form .list .step .content ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.detail-form .list .step .content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

@media (min-width: 576px) {
  .detail-form .title {
    max-width: 896px;
    margin: 0 auto;
  }
}

@media (min-width: 991px) {
  .detail-form .list {
    max-width: 1060px;
    margin: 0 auto;
  }
}

.absolute-footer,
.footer-1 {
  display: none;
}