/*
Theme Name: Nhà cái riêng biệt
Theme URI: 
Description: Day la child theme cua Pt theme
Author: Pt developer
Author URI: 
Version: 1.0
Template: pt-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --color-yellow: #f0ad4e;
  --color-yellow-rgb: 240 173 78;
  --color-green: #96c052;
  --color-green-rgb: 150 192 82;
  --color-red: #cf142b;
  --color-red-rgb: 207 20 43;
  --font-family: "Roboto", sans-serif;

  --size-l1: 2.4rem;
  --size-l2: 2rem;
  --size-l3: 1.7rem;
  --size-l4: 1.25rem;
  --size-sm: 14px;

  --sticky-top: 20px;

  font-size: 16px;
}

body {
  background-color: var(--bg-theme);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
i,
b,
strong,
span,
a,
div {
  font-family: var(--font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}


iframe {
  max-width: 100%;
}

p,
ul,
li {
  font-weight: 300;
}

.gap-y {
  --bs-gutter-y: 1.5rem;
}



/* Element - Slider ----- */
.slider .slider_button {
  background-color: rgb(46 46 46 / 50%);
  transition: 320ms all;
  border-radius: 50%;
  padding: 4px;
  font-size: 28px;
  line-height: 1;
}

.slider .slider_button:hover {
  background-color: var(--primary-color);
}

.slider .slider_dot {
  height: 4px;
  width: 20px;
  margin: 0 3px;
}



/* Box- Product Vertical ---- */

/* Element - Box Post loop --- */
.blog-post-box {
  box-shadow: none;
}

.blog-post-box .blog_load {
  display: none;
}

.blog-post-box:hover .box_img img {
  transform: scale(1.05);
}

.blog-post-box .box_text {
  background-color: transparent;
  padding: 16px 0 10px;
}

.blog-post-box .blog_title {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

.blog-post-box .blog_title a {
  transition: 320ms all;
}

.blog-post-box:hover .blog_title a {
  color: var(--primary-color);
}


.blog-post-box .blog_except {
  -webkit-line-clamp: 2;
  font-size: 0.925rem;
  opacity: 0.8;
  transition: 320ms all;
}

.blog-post-box:hover .blog_except {
  opacity: 1;
}

.blog-post-box .blog_except p {
  margin-bottom: 0;
}

/* Archive - Page ----- */
.archive-header .page-title {
  font-size: var(--size-l3);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  color: var(--primary-color);
}

body:is(.blog, .archive, .search) main:not(.page_full-width) {
  padding: 40px 0;
}

body.search .page-title {
  text-transform: unset;
  font-size: var(--size-l4);
  font-weight: 400;
}

body:is(.blog, .archive, .search) .archive-loop {
  --bs-gutter-y: 30px;
  --bs-gutter-x: 25px;
}

body:is(.blog, .archive, .search) .sidebar_wrap {
  padding-top: 12px;
}

.sidebar_wrap .widget-title {
  font-size: 1.1rem;
  text-transform: unset;
  font-weight: 400;
  display: block;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-color);

}

.sidebar_wrap .blog-post-box .blog_time {
  display: none;
}

.sidebar_wrap .blog_title a {
  -webkit-line-clamp: 2;
  font-weight: 300;
  color: var(--text-basic);
}

.sidebar_wrap .blog-post-box:hover img {
  transform: none;
}

.widget_blog_thumbnail_widget li {
  --blog-img-height: 65%;
}

.widget_blog_thumbnail_widget li {
  margin-bottom: 20px;
}

.widget_blog_thumbnail_widget .blog-post_vertical .box_text {
  padding: 0 0 0 12px;
}

.sidebar_wrap .blog-post_vertical .blog_title {
  font-size: calc(1rem - 1px);
}

.sidebar_wrap .cat-item {
  padding-bottom: 10px;
}

.sidebar_wrap .cat-item~.cat-item {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.sidebar_wrap .cat-item a {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-basic);
  transition: 320ms all;
}

.sidebar_wrap .cat-item a:hover {
  color: var(--primary-color);
}

.sidebar_wrap .cat-item.current-cat>a {
  font-weight: 300;
  color: var(--primary-color);
}


/* Single post --- */
.box-the-content {
  text-align: justify;
}

.blog_single .col_content {
  text-align: justify;
}

body.single-post main:not(.page_full-width) {
  padding: 40px 0;
}

.article_header {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.article_header-text {
  margin-left: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.article_header h1 {
  text-align: left;
  font-size: var(--size-l3);
  border: 0;
  padding-bottom: 0;
}

.article_header-img,
.article_header-meta {
  display: none;
}

.article_header-cate>span {
  display: none;
}

.article_header-cate a {
  color: var(--primary-color);
}

.article_header-cate a:hover {
  text-decoration: underline 1px;
  text-underline-offset: 3px;
}

.article_header-cate {
  opacity: 1;
  font-size: 1.1rem;
  font-weight: 500;
  order: -1;
  margin-bottom: 12px;
  line-height: 1.5;
}

.article_relate-title {
  display: block;
  position: relative;
  z-index: 10;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--size-l4);
  margin-bottom: 30px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border-color);
}

.article_relate-loop .row {
  --bs-gutter-y: 30px;
}


/* Loader  */
.loader {
  width: 30px;
  height: 30px;
  border: 3px solid var(--border-color);
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*
* Responsive
*/
@media only screen and (max-width: 768px) {
  :root {
    --size-l1: 2.4rem;
    --size-l2: 1.9rem;
    --size-l3: 1.6rem;
    --size-l4: 1.2rem;
    --size-l4: 13px;
    font-size: 15px;
  }

}

@media only screen and (max-width: 575px) {
  :root {
    --size-l1: 2rem;
    --size-l2: 1.6rem;
    --size-l3: 1.45rem;
    --size-l4: 1.2rem;
  }

}