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

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


/*=======================================================================*/

/* Breadcrumb Container - Soft style */
.large-12.col-breadcrumbs {
  background: #f9f9f9;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Breadcrumb Link - Flat modern */
.large-12.col-breadcrumbs a {
  color: #005bb5;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.large-12.col-breadcrumbs a:hover {
  color: #d63031;
  text-decoration: underline;
}


/* Home Icon - Phiên bản viền mảnh tối giản */
.rank-math-breadcrumb a:first-child::before {
  content: "\f015"; /* FontAwesome: fa-home */
  font-family: "FontAwesome";
  display: inline-block;
  color: #cd1508;
  border: 1px solid #cd1508;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.rank-math-breadcrumb a:first-child:hover::before {
  background-color: #cd1508;
  color: #fff;
}

/*=======================================================================*/

/* Widget box style */
.widget {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease-in-out;
}

.widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Tiêu đề widget */
.widget-title {
  font-size: 18px;
  font-weight: 600;
  border-left: 4px solid #cd1508;
  padding-left: 10px;
  margin-bottom: 15px;
  color: #333;
}

/* Danh sách trong widget */
.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  border-bottom: 1px dashed #ddd;
  padding: 8px 0;
}

.widget ul li a {
  color: #0f3e66;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget ul li a:hover {
  color: #cd1508;
  font-weight: 500;
}

/* Tags widget đẹp */
.tagcloud a {
  display: inline-block;
  background: #f2f2f2;
  color: #555;
  padding: 6px 10px;
  border-radius: 5px;
  margin: 4px;
  font-size: 13px !important;
  transition: 0.3s;
}

.tagcloud a:hover {
  background: #cd1508;
  color: #fff;
}


/*=======================================================================*/

/* Bài viết liên quan - phiên bản tối giản */
.flat-random-post-box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 40px 0;
  box-shadow: none;
}

.flat-random-post-box p {
  font-size: 17px;
  margin-bottom: 14px;
  color: #222;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.flat-random-post-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flat-random-post-box li {
  padding: 10px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 15px;
  color: #444;
}

.flat-random-post-box li:last-child {
  border-bottom: none;
}

.flat-random-post-box a {
  color: #1a73e8;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.flat-random-post-box a:hover {
  color: #d32f2f;
  text-decoration: underline;
}