/*------- HEADER ---------*/
/*------- FOOTER ---------*/
/*------- breadrumb ---------*/
/*------- Pagination ---------*/
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
/*========================================================*/
/*============	    INDUSTRY MODULE STYLE      ===========*/
/*========================================================*/
#main .box_mid {
  background: #ffffff;
  padding: 60px 0;
}

.content_flex {
  display: flex;
  flex-direction: row;
  column-gap: 40px;
}
.content_flex .content_left {
  flex: 1;
  min-width: 0;
}
.content_flex .content_right {
  width: 330px;
  flex-shrink: 0;
}

/* ===== ARCHIVE GRID ===== */
.grid_industry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 40px;
  margin-bottom: 40px;
}

/* ===== CARD STYLING ===== */
.industry-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.industry-card .i-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 460/280;
}
.industry-card .i-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.industry-card .i-desc {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.industry-card .i-desc .i-title {
  margin: 0 0 12px 0;
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  line-height: 1.3em;
  font-weight: 700;
}
.industry-card .i-desc .i-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}
.industry-card .i-desc .i-title a:hover {
  color: #d50e0a;
}
.industry-card .i-desc .i-short {
  font-size: 15px;
  line-height: 1.6em;
  color: #606060;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4.8em;
}
.industry-card .i-desc .i-more {
  margin-top: auto;
}
.industry-card .i-desc .i-more .read-more-link {
  color: #d50e0a;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  column-gap: 6px;
  transition: color 0.3s ease;
}
.industry-card .i-desc .i-more .read-more-link i {
  transition: transform 0.3s ease;
}
.industry-card .i-desc .i-more .read-more-link:hover {
  color: rgb(244.4170403587, 33.8161434978, 29.5829596413);
}
.industry-card .i-desc .i-more .read-more-link:hover i {
  transform: translateX(4px);
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.industry-card:hover .i-image img {
  transform: scale(1.05);
}

/* ===== PAGINATION ===== */
.industry-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.industry-pagination .pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  column-gap: 8px;
}
.industry-pagination .pagination li, .industry-pagination .pagination a, .industry-pagination .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #444;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.industry-pagination .pagination a:hover {
  color: #ffffff;
  background: #d50e0a;
  border-color: #d50e0a;
}
.industry-pagination .pagination .active, .industry-pagination .pagination .current {
  color: #ffffff;
  background: #d50e0a;
  border-color: #d50e0a;
  cursor: default;
}

/* ===== SIDEBAR ===== */
.widget-industry {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}
.widget-industry .box_sidebar_category {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.widget-industry .box_sidebar_category .box_sidebar_title {
  background: #d50e0a;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.widget-industry .box_sidebar_category .box_sidebar_content {
  padding: 20px;
}
.widget-industry .box_sidebar_category .box_sidebar_content .list_sidebar_categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.widget-industry .box_sidebar_category .box_sidebar_content .list_sidebar_categories li a {
  display: block;
  padding: 12px 18px;
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.widget-industry .box_sidebar_category .box_sidebar_content .list_sidebar_categories li a:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
  padding-left: 22px;
}
.widget-industry .box_sidebar_category .box_sidebar_content .list_sidebar_categories li.active a {
  background: #d50e0a;
  border-color: #d50e0a;
  color: #ffffff;
}
.widget-industry .box_sidebar_category .box_sidebar_content .list_sidebar_categories li.active a:hover {
  padding-left: 18px;
  background: #d50e0a;
}
.widget-industry .box-adv-banner {
  width: 100%;
}
.widget-industry .box-adv-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ===== SINGLE DETAIL PAGE ===== */
.industry-detail .entry-title {
  font-family: "Lora", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #111111;
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.25em;
}
.industry-detail .entry-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.industry-detail .entry-image img {
  width: 100%;
  height: auto;
  display: block;
}
.industry-detail .entry-content {
  margin-top: 35px;
  font-size: 16px;
  line-height: 1.75em;
  color: #333333;
}
.industry-detail .entry-content p {
  margin-bottom: 20px;
}
.industry-detail .entry-content h2, .industry-detail .entry-content h3 {
  font-family: "Lora", Georgia, serif;
  color: #111111;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
}
.industry-detail .entry-content h2 {
  font-size: 26px;
  line-height: 1.3em;
}
.industry-detail .entry-content h3 {
  font-size: 22px;
  line-height: 1.3em;
}
.industry-detail .entry-content ul, .industry-detail .entry-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}
.industry-detail .entry-content ul li, .industry-detail .entry-content ol li {
  margin-bottom: 8px;
  line-height: 1.6em;
}
.industry-detail .entry-content ul li {
  list-style-type: square;
  color: #444;
}
.industry-detail .entry-content ul li::marker {
  color: #d50e0a;
}

.industry-related .related-title {
  border-bottom: 2px solid #d50e0a;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 0;
}

/* ===== RESPONSIVENESS ===== */
@media (max-width: 991px) {
  .content_flex {
    flex-direction: column;
    row-gap: 50px;
  }
  .content_flex .content_right {
    width: 100%;
  }
  .grid_industry {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .grid_industry {
    grid-template-columns: 1fr;
  }
  .industry-detail .entry-title {
    font-size: 28px;
  }
}