@media (min-width: 1400px) {

}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }  
}

@media (min-width: 992px) {
  .position-lg-absolute {
    position: absolute !important;
  }
  .article.card-1 .card-body {
    margin: -100px 26px 0;
    padding: 40px;
    gap: 50px;
  }
  .article.card-11 .card-body {
    padding: 15px 10px 10px;
  }
  .article.card-breaking .card-img-top {
    max-width: 380px;
  }
  .block-subscribe {
    padding: 50px 40px 40px 50px;
  }
  .block-brand {
    padding: 50px 60px;
  }
  .block-newsletter {
    padding: 70px 250px;
  }
  .block-newsletter.style-2 {
    padding: 85px 250px;
  }
  .author-card {
    padding: 54px;
  }
  .sec-1-single-2 .block-banner .card-title {
    padding-top: 100px;
    padding-bottom: 125px;
  }
  .card-portfolio-group:nth-child(odd) {
    margin-top: 30px;
  }
}

@media (min-width: 768px) {
  .article .book-mark {
    top: 10px;
    right: 10px;
  }
  .article.card-2 .card-corner {
    border: none;
  }
  .article.card-2 .card-corner .curve-one {
    top: -16px;
    right: 0px;
    border: none;
  }
  .article.card-2 .card-corner .curve-two {
    bottom: 0px;
    left: -16px;
    border: none;
  }
  .article.card-2 .card-body {
    max-width: 70%;
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
  }
  .article.card-4 .card-body {
    padding: 60px 54px 35px 54px;
  }
  .article.card-9 .card-img-top {
    max-width: 260px;
    min-width: 260px;
    overflow: hidden;
  }
  .article.card-breaking .card-img-top {
    max-height: 100%;
  }
  .blockquote {
    padding: 40px 40px 40px 110px;
  }
  .sec-5-home-1 .swiper-btn {
    width: 100%;
    top: -80px;
    right: 0;
    justify-content: end;
  }
}

@media (min-width: 576px) {
  .btn-scroll-top.active-progress {
    /*opacity: 1;*/
  } 
}

/* Desktop Firsy */
@media (max-width: 1399px) {

}

@media (max-width: 1199px) {

}

@media (max-width: 991px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 14px;
  }
  p {
    font-size: 12px;
  }
  .brand {
    width: 175px;
    height: 59px;
    max-width: 175px;
    max-height: 59px;
  }
  .section-title h5 {font-size: 23px;}
  .ds-2 {
    font-size: 48px;
  }
  .ds-4 {
    font-size: 42px;
  }
  .ds-6 {
    font-size: 34px;
  }
  .pb-300 {
    padding-bottom: 250px;
  }
  .sec-1-home-1 {
    padding-top: 60px;
    padding-bottom: 40px;
    background-position: top center;
    background-repeat: no-repeat;
  }
  .col-lg-4 .article.card-10.style-2 {
    width: 350px;
    max-width: 350px;
  }
  .col-lg-4 .article.card-10.style-2 .card-body {
    width: 100%;
  }
  .navbar {
    min-height: 60px;
  }
  .sidebar-left .sidebar-nav .menu-item {
    padding: 5px 0;
  }
  .sidebar-left .sidebar-nav .menu-item .collapse-menu .menu-item .nav-link {
      padding: 0;
  }
  .sidebar-left .sidebar-nav .menu-item .collapse-menu .menu-item {
      margin-bottom: 0;
  }
  .block-card-swiper {
    aspect-ratio: 5/4;
    border-radius: 0;
  }
  .slider-content .article {
    padding: 30px 15px;
  }
  .slider-content .article h2 {
    font-size: 1rem;
    line-height: normal;
  }
  .article.card-breaking {
      margin-bottom: 15px;
  }
  .article.card-7 .card-body .thumbnail img {
    min-width: 165px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
  }
  .article.card-7 .card-body .title {
    font-size: 0.8531rem;
    margin-top: 10px;
    line-height: 1rem;
  }
  .post-header .card-title h1 {
    font-size: 1.327rem;
  }
  .post-header .author-icon {
    width: 20px;
    height: 20px;
  }
  .latest-news-popup {
    width: 100%;
    padding: 10px 14px;
  }
  .latest-news-popup.show {
    bottom: 10px;
  }
  .latest-news-popup .news-title {
      font-size: 13px;
  }
  .card-recommend .card-title h6 {
    font-size: 0.9rem !important;
  }
  .post-detail p, .post-detail li {
      font-size: 1rem;
      line-height: 1.65rem;
  }
  .post-detail ol, .post-detail ul {
    padding-left: 30px;
  }
  .icon-46 {
    height: 36px;
    line-height: 36px;
  }
  .sec-various .rounded {
    border-radius: 0;
  }
  .card-recommend a.card-title {
      display: flex;
      width: calc(100% - 100px);
  }
  .btn-scroll-top {
    width: 42px;
    height: 42px;
    right: 1rem;
    bottom: 1rem;
  }
  .btn-scroll-top:after {
    width: 42px;
    height: 42px;
  }
  .modal-dialog {
    max-width: 336px;
  }
  .post-header figure figcaption {
    font-size: 0.775rem;
  }
}

@media (max-width: 767px) {
  .img-custom-anim-right,
  .img-custom-anim-left,
  .img-custom-anim-top {
    animation: none;
    opacity: 1;
  }
  .post-detail .ad-inside_article_1 img, .post-detail .ad-inside_article_2 img {
    max-width: 336px;
  }
  .article.card-6 {
    gap: 10px;
  }
  .article.card-breaking .thumbnail {
    width: 100px;
    min-height: 100px;
  }
  .article.card-breaking .thumbnail img {
    min-height: 100px !important;
  }
  .article.card-breaking .card-body {width: calc(100% - 100px);}
  .article.card-breaking .card-body .card-title {
    font-size: 0.9rem;
  }
  .badge.fs-8 {
    font-size: 10px;
    padding: 0 5px;
    border-radius: 3px;
  }
  .card-recommend .hover-effect-30 a {
    width: 100px;
    height: 100px;
  }
  .card-recommend img {
    height: 100px;
  }
  .article.card-6 .thumbnail img, .article.card-breaking .thumbnail img, .article.card-5 .thumbnail img, .card-recommend img {
    width: 100px;
  }
  .card-5, .card-recommend {
    display: flex;
    gap: 10px;
  }
  .card-5 .card-corner {
    display: none;
  }
  .article.card-5 .thumbnail {
    max-width: 100px;
    min-height: 100px;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 23px;
  }
  h3 {
    font-size: 19px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
  p {
    font-size: 12px;
  }  
  p {
    font-size: 12px;
  }
  .fs-5 {
    font-size: 14px;
  }
  .fs-8 {
    font-size: 13px;
  }
  .ds-2 {
    font-size: 32px;
  }
  .ds-4 {
    font-size: 42px;
  }
  .ds-6 {
    font-size: 24px;
  }
  .sidebar-left {
    max-width: 370px;
    width: 370px;
    padding: 0 20px;
  }
  .pb-300 {
    padding-bottom: 150px;
  }
  .sec-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
