/*
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.   ***************/

body {
  font-family: 'Google Sans Flex', Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
th,
td,
tr {
  font-family: 'Google Sans Flex', Arial, sans-serif !important;
}

:root {
  --getis-font-size-body: 16px;
  --getis-font-size-h1: 40px;
  --getis-font-size-h2: 28px;
  --getis-font-size-h3: 22px;
  --getis-font-size-h4: 18px;
  --getis-line-height-body: 1.7;
  --getis-line-height-heading: 1.25;
}

body {
  font-size: var(--getis-font-size-body);
  line-height: var(--getis-line-height-body);
}

h1 {
  font-size: var(--getis-font-size-h1) !important;
  line-height: var(--getis-line-height-heading);
}

h2 {
  font-size: var(--getis-font-size-h2) !important;
  line-height: var(--getis-line-height-heading);
}

h3 {
  font-size: var(--getis-font-size-h3) !important;
  line-height: 1.3;
}

h4 {
  font-size: var(--getis-font-size-h4) !important;
  line-height: 1.35;
}

p,
a,
li,
th,
td {
  font-size: var(--getis-font-size-body) !important;
  line-height: var(--getis-line-height-body);
}

th,
td {
  line-height: 1.55;
}

.uppercase,
h6,
span.widget-title,
th {
  text-transform: none !important;
}

.nav > li > a,
.header-nav > li > a,
.header-main .nav > li > a,
.header-bottom .nav > li > a,
.nav-dropdown a,
.nav-sidebar a,
.mobile-sidebar a,
.off-canvas a,
.ux-menu-link__link {
  font-family: 'Google Sans Flex', Arial, sans-serif !important;
  letter-spacing: 0;
}

.e1 > .slider:not(.flickity-enabled) > .row {
  display: flex !important;
  width: 100%;
}

.e1 > .slider:not(.flickity-enabled) {
  min-height: 620px;
  opacity: 0;
}

.e1 > .slider.flickity-enabled {
  opacity: 1;
  transition: opacity .18s ease;
}

/* Rating and comments */
.kk-star-ratings {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100% - 30px, 1170px);
  margin: 34px auto 0 !important;
  padding: 18px 22px;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: 0 6px 20px rgba(0, 40, 72, .07);
}

.kk-star-ratings::before {
  content: "Đánh giá bài viết";
  color: #17324a;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.kk-star-ratings .kksr-stars {
  flex: 0 0 auto;
}

.kk-star-ratings .kksr-star {
  transition: transform .15s ease;
}

.kk-star-ratings .kksr-star:hover {
  transform: translateY(-2px) scale(1.06);
}

.kk-star-ratings .kksr-legend {
  margin: 0 !important;
  color: #465866;
  font-size: 14px !important;
  line-height: 1.4;
  white-space: nowrap;
}

#comments.comments-area {
  width: min(100% - 30px, 1170px);
  margin: 18px auto 48px;
  padding: 28px 30px;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  background: #fff;
}

#comments .comments-title,
#comments #reply-title {
  margin: 0 0 24px;
  color: #17324a;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

#comments .comment-list {
  margin: 0;
}

#comments .comment-list > li {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid #e8edf1;
}

#comments .comment-list > li:first-child {
  padding-top: 0;
}

#comments .comment-inner {
  padding: 0;
}

#comments .comment-author,
#comments cite.fn {
  color: #17324a;
  font-style: normal;
  font-weight: 700;
}

#comments .says {
  display: none;
}

#comments .comment-content {
  margin-top: 7px;
  color: #303a42;
  font-size: 15px;
  line-height: 1.7;
}

#comments .comment-content p:last-child {
  margin-bottom: 0;
}

#comments .comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: #70808c;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

#comments .comment-meta .edit-link.ml-half {
  margin-left: auto;
  text-align: right;
}

#comments .comment-meta .edit-link.ml-half strong {
  display: inline-block;
}

#comments .comment-meta a {
  color: inherit;
}

#comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #c9d5de;
  border-radius: 6px;
  color: #004c84 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

#comments .comment-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #c9d5de;
  border-radius: 6px;
  color: #004c84 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

#comments .comment-reply-link:hover,
#comments .comment-reply-link:focus,
#comments .comment-edit-link:hover,
#comments .comment-edit-link:focus {
  border-color: #004c84;
  background: #004c84;
  color: #fff !important;
}

#comments .children {
  margin: 18px 0 0 22px;
  padding-left: 20px;
  border-left: 2px solid #dbe5ec;
}

#comments #respond {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e1e6eb;
}

#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"],
#comments textarea {
  border: 1px solid #cfd9e1;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

#comments input[type="text"]:focus,
#comments input[type="email"]:focus,
#comments input[type="url"]:focus,
#comments textarea:focus {
  border-color: #004c84;
  box-shadow: 0 0 0 3px rgba(0, 76, 132, .1);
}

#comments .form-submit {
  text-align: left;
}

#comments .form-submit #submit {
  min-height: 42px;
  margin: 0;
  padding: 0 20px;
  border-radius: 6px;
  background: #004c84;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media only screen and (max-width: 549px) {
  :root {
    --getis-font-size-body: 15px;
    --getis-font-size-h1: 30px;
    --getis-font-size-h2: 24px;
    --getis-font-size-h3: 20px;
    --getis-font-size-h4: 17px;
  }

  .e1 > .slider:not(.flickity-enabled) {
    min-height: 560px;
  }

  .kk-star-ratings {
    flex-direction: column;
    gap: 9px;
    width: calc(100% - 20px);
    margin-top: 24px !important;
    padding: 16px 12px;
    text-align: center;
  }

  .kk-star-ratings::before {
    font-size: 14px;
  }

  .kk-star-ratings .kksr-legend {
    white-space: normal;
  }

  #comments.comments-area {
    width: calc(100% - 20px);
    margin-top: 12px;
    padding: 20px 14px;
  }

  #comments .comments-title,
  #comments #reply-title {
    margin-bottom: 18px;
    font-size: 18px;
  }

  #comments .comment-list > li {
    padding: 16px 0;
  }

  #comments .comment-content {
    font-size: 14px;
    line-height: 1.65;
  }

  #comments .comment-meta {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  #comments .comment-meta .edit-link.ml-half {
    margin-left: auto;
    text-align: right;
  }

  #comments .reply {
    float: none !important;
  }

  #comments .children {
    margin-left: 8px;
    padding-left: 12px;
  }

  #comments .form-submit #submit {
    width: 100%;
  }
}

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


}

/* Press logos */
.getis-press-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
  margin: 8px 0 24px;
}

.getis-press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 2 / 1;
  padding: 14px;
  border: 1px solid #e2e7eb;
  border-radius: 6px;
  background: #fff;
}

.getis-press-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 180px;
  object-fit: contain;
}

@media only screen and (max-width: 549px) {
  .getis-press-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

  .getis-press-logo {
    padding: 10px;
  }
}
