/*
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.   ***************/
/* Wrapper */
.c-dlbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 18px;
}
.c-dlbar__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-right: 4px;
}

/* List */
.c-dlbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-dlbar__item { margin: 0 !important; padding: 0; }

/* Button */
.c-dlbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid #222;
  border-radius: 6px;
  background: #fff;
  color: #111;
  line-height: 1;
  transition: transform .08s ease, box-shadow .12s ease;
}
.c-dlbtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* Tag + icon */
.c-dlbtn__tag {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.c-dlbtn__icon { display: inline-flex; padding: 0 0px 0 10px; transform: rotate(180deg) }
.c-dlbtn__icon svg { width: 16px; height: 16px; fill: currentColor; opacity: .85; }

/* Màu theo type (gần giống ảnh mẫu) */
.c-dlbtn.is-pdf   .c-dlbtn__tag { background: #7d0d0d; } /* đỏ sẫm */
.c-dlbtn.is-mp4   .c-dlbtn__tag { background: #9b6b1a; } /* nâu vàng */
.c-dlbtn.is-word  .c-dlbtn__tag { background: #1c2e57; } /* navy */
.c-dlbtn.is-mp3   .c-dlbtn__tag { background: #1c6a36; } /* xanh lá */
.c-dlbtn.is-excel .c-dlbtn__tag { background: #107c41; } /* xanh Excel */
.c-dlbtn.is-image .c-dlbtn__tag { background: #1c2e57; } /* navy cho ảnh */
.c-dlbtn.is-file  .c-dlbtn__tag { background: #555; }    /* fallback */


/* Wrapper */
.ux-related-block {
  margin: 40px 0 30px;
}

/* Title giống phong cách ảnh: to, đậm */
.ux-related-block__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
}

/* Divider vàng nhẹ dưới tiêu đề */
.ux-related-block__divider {
  height: 2px;
  width: 160px;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, #f4c158 40%, rgba(0,0,0,0) 100%);
  margin: 10px 0 24px;
  position: relative;
}
.ux-related-block__divider::before {
  content: "";
  position: absolute;
  left: 49%;
  top: -4px;
  width: 10px;
  height: 10px;
  background: #f4c158;
  transform: rotate(45deg);
  border-radius: 1px;
  opacity: .9;
}

/* List & items */
.ux-related-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

/* Bullet kim cương vàng */
.ux-related-block__item {
  position: relative;
  padding-left: 22px;
}
.ux-related-block__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;              /* canh giữa dòng */
  width: 8px;
  height: 8px;
  background: #f4c158;
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

/* Link */
.ux-related-block__link {
  color: #222;
  text-decoration: none;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
}
.ux-related-block__link:hover {
  text-decoration: underline;
}
.page-title {
	font-size: 1.85rem;
}
#post-list .post-item .box-image .image-cover{
	padding-top: 144% !important;
}

.post-credit .pc__row { margin: 5px 0; }
.post-credit .pc__label { font-weight: 600; color:#444; }


/* Responsive nhỏ */
@media (max-width: 480px) {
  .c-dlbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .c-dlbar__title { margin-bottom: 2px; }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	#logo {
		width: 94px !important;
	}
	.banner_top img {
		height: auto !important;
	}

}