/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* =====================================================
   CUSTOM CSS CHO TRANG ARCHIVE (Category, Tag, Author)
   ===================================================== */

/* 1. Khối row chứa bài viết */
.archive .row.row-large {
    background: white;
    padding: 20px 0px;
}

.archive span.widget-title {
    font-size: 1em;
    font-weight: 600;
    border: solid #B61A1A;
    border-width: 0px 0 2px 0;
    color: #B61A1A;
    display: flex;
    text-align: center;
    justify-content: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* 2. Phần nội dung văn bản trong bài */
.archive .box-text.text-left {
    vertical-align: top;
    padding-top: 0px;
    padding-right: 0px;
    color: black;
    padding-left: 10px;
}

/* 3. Ẩn đường gạch (divider) dưới tiêu đề */
.archive .is-divider {
    display: none;
}

.archive #post-list .post-title a 
{
	  font-size:24px !important;
}


/* ============================================
   CUSTOM CSS TRÍCH TỪ DEVTOOLS
   ============================================ */
.other-sciences-section .is-divider
{
	display:none;
}
.header-inner
{
	    justify-content: space-around;
}

/* 1. Cột chứa ô tìm kiếm trên header */
.flex-col.hide-for-medium.flex-left,
.flex-col.hide-for-medium.flex-right
{
    max-width: max-content;
	    margin: 0px;
}

/* 2. Input trong form tìm kiếm */
.search-field.mb-0 {
    box-shadow: unset;
}

/* 3. Nút submit tìm kiếm */
.ux-search-submit {
    background: #f2f2f2;
    color: #4b4b4b;
}

/* 4. Thanh menu wide-nav dưới logo */
#wide-nav.header-bottom.wide-nav.flex-has-center.hide-for-medium {
    border-top: 1px solid #B6141A;
    border-bottom: 1px solid #B6141A;
    min-height: 40px;
}

/* 5. UL chứa menu chính */
.header-nav.header-bottom-nav.nav-center.nav-uppercase {
    /* border: 1px solid #B6141A; */ /* comment trong DevTools */
    justify-content: space-around;
}

/* 6. Link trong từng menu item */
#menu-item-626 > a.nav-top-link {
    font-weight: normal;
}








.os-big-post-bottom .box-text 
{
	padding-top:0px !important;
}

.os-big-post-bottom  .post-title a
{
	color:black !important;
}



.other-sciences-section {overflow:hidden}
.os-main-title {color:#c0392b;position:relative;text-align: center;border-bottom: 1px solid #e4e4e4;font-weight: bold;font-size: 22px;line-height: 24px;padding: 7px 0 8px 0px;margin: 0 0 14px;text-transform: uppercase;}
.os-main-title:before,.os-main-title:after {content:'';position:absolute;top:50%;width:500px;height:2px;/* background:#c0392b; */}
.os-main-title:before {left:0;transform:translateX(-100%) translateX(-20px)}
.os-main-title:after {right:0;transform:translateX(100%) translateX(20px)}

.os-big-post .post-item {border-radius:12px;overflow:hidden;/* box-shadow:0 12px 35px rgba(0,0,0,.1); */transition:.4s}
.os-big-post .post-item:hover {/* transform:translateY(-10px); *//* box-shadow:0 20px 50px rgba(0,0,0,.15); */}
.os-big-post .post-title {font-size:28px!important;font-weight:900!important;/* color:#2c3e50!important; */line-height:1.3!important;/* margin:15px 0 10px!important; */}
.os-big-post .post-excerpt {font-size:17px!important;line-height:1.6!important;color:#444!important}
.os-big-post .read-more {color:#c0392b!important;font-weight:700!important;font-size:15px!important}

.btn-view-more {background:#c0392b!important;color:#fff!important;font-weight:700!important;letter-spacing:1px;border-radius:0!important;font-size: 13px;margin: 0px;}

.os-small-posts .post-item {padding:18px 0;border-bottom:1px solid #eee}
.os-small-posts .post-item:last-child {border-bottom:none}
.os-small-posts .post-title {font-size: 13px!important;font-weight:600!important;color:#333!important;line-height:1.45!important}
.os-small-posts .post-title:hover {color:#c0392b!important}
.os-small-posts .is-divider
{
  display: none;
}
   
.os-small-posts .box-text 
{
	padding:10px 5px !important;
}


.btn-see-latest {color: black;color:#c0392b!important;/* border:2px solid #c0392b!important; */width: 100%;/* padding:14px 45px!important; */border-radius:99px!important;transition:.3s;text-transform: uppercase;font-weight: normal;font-size: 12px;background: #fbfbfb;border-top: 1px solid #f2f2f2;padding: 5px 0 6px;margin: 0px;}


@media (max-width:992px){
.os-main-row > div {padding:20px 0!important}
}
@media (max-width:767px){
.os-main-title:before,.os-main-title:after{display:none}
.os-main-title{font-size:32px}
.os-big-post .post-title{font-size:24px!important}
}











































.absolute-footer 
{
	display:none !important;
}




.footer-menu-section {
  border-top: 1px solid #e0e0e0;
  position: relative;
  border-top: 1px solid #B61A1A;
  background: #fff;
}

.footer-menu-section a 
{
	padding:0px 5px !important;
	display: flex;
	align-items: center;
	font-size: 13px;
}

.footer-menu-section .row {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Navigation Menu */
.footer-nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  flex-direction: row;
}

.footer-nav-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.footer-nav-menu ul li {
  margin: 0;
  padding: 0;
}

.footer-nav-menu ul li a {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav-menu ul li a:hover {
  color: #c62828;
  background-color: #f5f5f5;
}

.footer-nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #c62828;
  transition: width 0.3s ease;
}

.footer-nav-menu ul li a:hover::after {
  width: 60%;
}

/* Footer Copyright Section */
.footer-copyright-section {
  background-color: #b22222 !important;
}

.copyright-text p {
  color: #ffffff;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.copyright-text a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
}

.copyright-text a:hover {
  opacity: 0.8;
  border-bottom-color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-nav-menu ul {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-nav-menu ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .footer-nav-menu ul li:last-child {
    border-bottom: none;
  }
  
  .footer-nav-menu ul li a {
    padding: 15px 20px;
    width: 100%;
  }
  
  .copyright-text p {
    font-size: 12px;
    line-height: 1.8;
  }
}

/* Animation */
.footer-nav-menu ul li {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.social-icons  a 
{
	background: #c1c1c1;
    padding: 5px;
}

.single-post .row.row-large 
{
	    background: white;
    padding: 20px 0px;
}

.footer-nav-menu ul li:nth-child(1) { animation-delay: 0.1s; }
.footer-nav-menu ul li:nth-child(2) { animation-delay: 0.15s; }
.footer-nav-menu ul li:nth-child(3) { animation-delay: 0.2s; }
.footer-nav-menu ul li:nth-child(4) { animation-delay: 0.25s; }
.footer-nav-menu ul li:nth-child(5) { animation-delay: 0.3s; }
.footer-nav-menu ul li:nth-child(6) { animation-delay: 0.35s; }
.footer-nav-menu ul li:nth-child(7) { animation-delay: 0.4s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}