/*
Theme Name: KTG-Industrial
Author: the MangoAds Team
Description: KTG-Industrial THEME
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: KTG-Industrial
*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #b6b6b6;
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #b6b6b6;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #b6b6b6;
}
.content-detail .container{
    overflow:hidden;
}
/* Scrollbar styles */
@media only screen and (min-width:768px) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 4px;
  }
  ::-webkit-scrollbar-track {
  /* border: 1px solid yellowgreen; */
  /* border-radius: 10px; */
  background-color :#EEE
  }
  ::-webkit-scrollbar-thumb {
  background: #959595;  
  border-radius: 10px;
  }
  /* ::-webkit-scrollbar-thumb:hover {
  background: #88ba1c;  
  } */
}

/*Latest News*/
.latest_news {
    margin: 50px 0;
    text-align: center;
    padding: 0 20px;
}

.latest_news h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    color: #454545;
    font-family: "League Spartan", sans-serif;
}

.latest-news-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-card {
    width: 30%;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    text-align: left;
}

.news-date {
    font-size: 14px;
    color: #777;
}

.news-title {
    font-size: 18px;
    margin: 10px 0;
}

.news-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.news-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background: #E71C23;
    text-decoration: none;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #cc5200;
}

@media (max-width: 1024px) {
    .latest-news-container {
        justify-content: center;
        gap: 15px;
    }

    .news-card {
        width: 45%; 
    }
}

/* Responsive - Mobile (Dưới 768px) */
@media (max-width: 767px) {
    .latest_news h3 {
        font-size: 26px;
    }

    .latest-news-container {
        flex-direction: column; 
        align-items: center;
    }

    .news-card {
        width: 90%;
    }

    .news-thumbnail img {
        height: 160px;
    }

    .news-content {
        padding: 12px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-excerpt {
        font-size: 13px;
    }

    .read-more-btn {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 14px;
    }
}

/*End Latest News*/

/*3 Col Widget Footer*/
.new-widget-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.new-widget-row .widget-area {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height:240px;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .new-widget-row {
        flex-direction: column;
        align-items: center;
    }
    
    .new-widget-row .col-12 {
        width: 80%;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .new-widget-row .col-12 {
        width: 100%;
    }
}

/*End 3 Col Widget Footer*/

/* Author Box Styles */
.author-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin-top: 40px;
    border: 1px solid #ddd;
}

.author-box-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.author-avatar {
    flex-shrink: 0;
    margin-right: 15px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.author-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.author-social {
    margin-top: 10px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}

.social-links li {
    display: inline-block;
}

.social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a img {
    width: 32px;
    height: 32px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .author-avatar {
        margin-bottom: 10px;
    }
}
/*Css license*/
#license-popup {
    position: fixed !important;
    z-index: 99999 !important;
}

/*Banner*/
.banner-slider .item-banner .title-item-banner p {
    position: absolute;
    top: 35%;
    left: 50%;
    text-align: center;
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 24px !important;
    font-weight: 700;
    line-height: 122%;
    color: #fff;
    z-index: 99;
    width: 100%;
    font-family: "League Spartan", sans-serif;
}
@media (min-width: 1400px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 48px !important;
    }
}
@media (min-width: 1200px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 36px !important;
    }
}
@media (min-width: 992px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 32px !important;
    }
}
@media (min-width: 768px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 28px !important;
        max-width: 606px;
        top: 50%;
    }
}

@media (min-width: 1400px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 48px !important;
    }
}
@media (min-width: 1200px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 36px !important;
    }
}
@media (min-width: 992px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 32px !important;
    }
}
@media (min-width: 768px) {
    .banner-slider .item-banner .title-item-banner p {
        font-size: 28px !important;
        max-width: 606px;
        top: 50%;
    }
}
/*Orther Article Slide*/
.scroll-table{
  overflow: hidden;
  width: 100%;
  position: relative;
}

.scroll-table .row {
  display: flex;
  transition: transform 0.5s ease;
  flex-wrap: nowrap;
}

.scroll-table .col-4 {
  flex: 0 0 auto;
  margin-right: 20px;
}

.slider-controls {
  text-align: center;
  margin-bottom: 10px;
  position: absolute;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  width: 100%;
  bottom: 50%;
}

.slider-controls button {
  background: #ccc;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
}
/*End Orther Article Slide*/

/*Page author*/
.authorme-avatar img {
    border-radius: 50%;
    width: 289px;
    height: 289px;
    object-fit: cover;
}
.authorme-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*Css table*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    border: 1px solid #ddd;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

strong {
    font-size: 18px;
    color: #333;
}
/*Css Bullet Point*/
ul {
    list-style-type: disc; /* Dấu chấm mặc định */
    padding-left: 20px; /* Khoảng cách từ viền trái */
    margin: 20px 0; /* Khoảng cách trên dưới */
}

ul li {
    margin: 8px 0; /* Khoảng cách giữa các mục trong danh sách */
    font-size: 16px;
    line-height: 1.6; /* Giúp nội dung thoáng hơn */
}

/*Css footer*/
.col-12.ft-left,.col-12.ft-right {
    max-width: 50%;
    flex: 0 0 50%;
}

.page-detail .content-detail img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .col-12.ft-left,.col-12.ft-right {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
@media (max-width: 992px) {
    .new-widget-row {
        flex-direction: row;
        align-items: center;
        max-width: 100%;
    }
}

@media only screen and (max-width: 435px) {
    .new-widget-row {
        gap: 10px;
    }
    .content-detail .wp-caption{
        width:100% !important;
    }
}
