/* Google Fonts: Inter & Lora */
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
}

/* Lora font cho headings hoặc các phần tử cần serif */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
}

.tg_content_news_de_bg_left_inner em,
.tg_content_news_de_bg_left_inner i,
.tg_content em, .tg_content i,
  p em, p i, div p em, div p i {
    font-style: italic;
}

.tg_content_news_de_bg_left_inner strong,
.tg_content_news_de_bg_left_inner b,
.tg_content strong, .tg_content b,
p strong, p b, div p strong, div p b {
  font-weight: bold;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

header, footer {
  background: #f8f9fb;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.nav {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #222;
}
.nav a:hover {
  color: #0073aa;
}

.btn {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.btn:hover {
  background: #005d87;
}


/* contact form 7 */
.wpcf7-file {
  display: none !important;
}

/*.btn-type1 {
  padding: 1.7rem !important;
  background: #f5cc3c !important;
  font-weight: 600 !important;
  position: relative !important;
} */

.wpcf7-response-output {
  border: none !important;
  margin: 0 0 1.5em !important;
  padding: 1.2rem 1.6rem !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  line-height: 1.5 !important;
}

/* Thông báo thành công - màu xanh nhạt */
.wpcf7-mail-sent-ok {
  background: #E8F4F8 !important;
  color: #0C5776 !important;
  border: 1px solid #B8DDE8 !important;
}

/* Thông báo lỗi - màu đỏ nhạt */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: #FFEBE8 !important;
  color: #C41E1E !important;
  border: 1px solid #F5C2C7 !important;
}

/* Thông báo đang gửi - màu vàng nhạt */
.wpcf7-spam-blocked {
  background: #FFF8E1 !important;
  color: #856404 !important;
  border: 1px solid #FFE69C !important;
}

.wpcf7-not-valid-tip {
  margin-top: 4px !important;
}

.wpcf7-form-control.wpcf7-submit {
  text-align: center;
} 

/* Form register footer mail  */
.tg_footer_general_left_form_group .mycom_arr_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #48A9F4;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
}

.tg_footer_general_left_form_group .mycom_arr_btn span {
  color: #48A9F4;
}

.mycom_arr_btn {
  width: 70px !important;
  border-bottom: none !important;
  padding: 0 0 2.6rem 0 !important;
}

.footer_form_container {
  margin-top: 5rem !important;
  display: flex;
  justify-content: space-between !important;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.5) !important;
  padding-bottom: 2.6rem !important;
}

.footer_input_email {
  padding-bottom: 0px !important;
}

.mycom_arr_btn {
  padding-bottom: 0px !important;
}

.wpcf7-spinner {
  display: none !important;
}

.footer_form_container input,
.tg_footer_general_left_form_group.footer_form_container input {
  border-bottom: none !important;
}

.footer_form_container .mycom_arr_btn,
.footer_form_container button {
  border-bottom: none !important;
}

.tg_footer_general_left_form_group input {
  padding-right: 0 !important;
}

.form-register-footer .wpcf7,
.form-register-footer .wpcf7 input,
.form-register-footer .wpcf7 select,
.form-register-footer .wpcf7 textarea,
.form-register-footer .wpcf7 button,
.form-register-footer .wpcf7 label,
.form-register-footer .wpcf7 ::placeholder {
  font-family: "Inter", sans-serif !important;
}

@media (max-width: 1024px) {
  .footer_form_container {
    padding-bottom: 1.4rem !important;
  }
}

/* ============================================
   WordPress Image Alignment Support
   ============================================ */

/* Căn giữa hình ảnh */
.aligncenter,
.tg_content_news_de_bg_left_inner .aligncenter,
.tg_content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

/* Căn trái hình ảnh - cho phép text bao quanh bên phải */
.alignleft,
.tg_content_news_de_bg_left_inner .alignleft,
.tg_content .alignleft {
  float: left;
  margin: 0.5em 2em 1.5em 0;
  clear: left;
}

/* Căn phải hình ảnh - cho phép text bao quanh bên trái */
.alignright,
.tg_content_news_de_bg_left_inner .alignright,
.tg_content .alignright {
  float: right;
  margin: 0.5em 0 1.5em 2em;
  clear: right;
}

/* Không có căn lề - để hình ảnh theo flow tự nhiên */
.alignnone,
.tg_content_news_de_bg_left_inner .alignnone,
.tg_content .alignnone {
  margin: 1em 0;
  clear: both;
}

/* Hỗ trợ figure với caption */
.wp-caption,
.tg_content_news_de_bg_left_inner .wp-caption,
.tg_content .wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption.alignleft,
.tg_content_news_de_bg_left_inner .wp-caption.alignleft,
.tg_content .wp-caption.alignleft {
  float: left;
  margin: 0.5em 2em 1.5em 0;
}

.wp-caption.alignright,
.tg_content_news_de_bg_left_inner .wp-caption.alignright,
.tg_content .wp-caption.alignright {
  float: right;
  margin: 0.5em 0 1.5em 2em;
}

.wp-caption.aligncenter,
.tg_content_news_de_bg_left_inner .wp-caption.aligncenter,
.tg_content .wp-caption.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.wp-caption img,
.tg_content_news_de_bg_left_inner .wp-caption img,
.tg_content .wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.wp-caption-text,
.tg_content_news_de_bg_left_inner .wp-caption-text,
.tg_content .wp-caption-text {
  font-size: 0.9em;
  color: #666;
  text-align: center;
  padding: 0.5rem 0;
  margin: 0;
  font-style: italic;
}

/* Đảm bảo hình ảnh trong content responsive */
.tg_content_news_de_bg_left_inner img,
.tg_content img {
  max-width: 100%;
  height: auto;
}

/* Clear float cho các phần tử sau hình ảnh float */
.tg_content_news_de_bg_left_inner::after,
.tg_content::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive: Tắt float trên mobile */
@media (max-width: 767px) {
  .alignleft,
  .alignright,
  .tg_content_news_de_bg_left_inner .alignleft,
  .tg_content_news_de_bg_left_inner .alignright,
  .tg_content .alignleft,
  .tg_content .alignright,
  .wp-caption.alignleft,
  .wp-caption.alignright,
  .tg_content_news_de_bg_left_inner .wp-caption.alignleft,
  .tg_content_news_de_bg_left_inner .wp-caption.alignright,
  .tg_content .wp-caption.alignleft,
  .tg_content .wp-caption.alignright {
    float: none;
    display: block;
    margin: 1em auto;
    max-width: 100%;
  }
}

.cursor-pointer {
  cursor: pointer;
}

.container_form_footer {
  position: relative;
}

.footer_form_loading {
  position: absolute;
  top: 7%;
  right: 5%;
}

.icon-loading {
  color: #fff !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.wpcf7-submit.mycom_bg_btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  line-height: 1.2;
}