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

/*************** ADD CUSTOM CSS HERE.   ***************/
/* --- Import font Inter từ Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* --- Áp dụng font cho toàn bộ body --- */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
}

footer.entry-meta {
  display: none;
}
.author .archive-page-header {
  display: none;
}

.archive .archive-page-header .page-title {
	display: none;
}

.yoast-breadcrumb {
  margin-bottom: 15px;
}

h6.entry-category {
  display: none;
}

.author-box {
  background: radial-gradient(rgba(97, 164, 59, 0.3), #fffcfc);
  display: flex;
  justify-content: center;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
}

.author-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  align-items: center;
  gap: 10px;
}

table.alignleft {
	display: table;
}

table td, 
table th {
	border: 1px solid #ececec;
}

@media (min-width: 600px) {
  .author-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
}

.author-info-l {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* breakpoint w600: min-width 600px */
@media (min-width: 600px) {
  .author-info-l {
    width: fit-content;
    flex-direction: column;
    gap: 5px;
  }
}

.author-avatar-link {
  position: relative;
  display: block;
  margin-bottom: 10px;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 70px;
  border-radius: 50%;
  border: 1px solid #61a43b; /* thay --cps bằng màu bạn muốn */
  padding: 5px;
}

/* breakpoint w600: min-width 600px */
@media (min-width: 600px) {
  .author-avatar-link {
    max-width: 100px;
  }
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  border-radius: 5px;
  background-color: var(--fs-color-primary);
  padding: 2px 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.avatar-img-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 99px;
  overflow: hidden;
}

.author-name-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.author-name {
  margin-top: 5px;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgb(33 43 54);
}

.author-post-count {
  font-size: 13px;
}

.author-description svg {
  fill: var(--fs-color-primary);
}

body .ftwp-in-post#ftwp-container-outer.ftwp-float-none #ftwp-contents {
  width: 100%;
}

.author-social {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
}

#nav-below {
  display: none;
}

.related-posts-container {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 600px) {
  .related-posts-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.related-post-item a {
  display: flex;
  width: 100%;
  gap: 10px;
  color: var(--textGray);
}

.related-post-thumb {
  width: 35%;
  border-radius: 8px;
  overflow: hidden;
}

.related-post-thumb img {
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.related-post-content h4 {
  font-size: 14px;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-post-content {
  width: 65%;
}

.related-post-author,
.related-post-date {
  font-size: 12px;
}

.taxonomy-description ul,
.taxonomy-description ol {
	padding-left: 20px;
}

section.no-results  {
	display: none;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  body .uuthe .large-3 {
    flex-basis: 50%;
    max-width: 50%;
  }
}
