/* =========================================================
   HOTMAGAZINE HOME6 THEME - FAITHFUL ADAPTATION FOR DAILYFINANCE.ID
   ========================================================= */

/* Typography & Base */
body {
  font-family: 'Lato', 'Plus Jakarta Sans', sans-serif;
  color: #555555;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #222222;
}

/* Category Colors */
a.category-post {
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  background: #f44336;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
a.category-post:hover {
  opacity: 0.8;
}
a.category-post.world, a.category-post.finance { background: #33a3f1; }
a.category-post.travel { background: #f58021; }
a.category-post.sport { background: #4c60f6; }
a.category-post.tech, a.category-post.transport { background: #74b430; }
a.category-post.fashion, a.category-post.innovation { background: #aa35d6; }
a.category-post.food, a.category-post.protection { background: #00b4d8; }
a.category-post.video { background: #d6ac1b; }
a.category-post.business { background: #ef4444; }

/* Top Line */
.top-line {
  padding: 8px 0;
  background: #111111;
  color: #aaaaaa;
  font-size: 12px;
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}
.top-line ul.top-line-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.top-line ul.top-line-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-line ul.top-line-list li a {
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-line ul.top-line-list li a:hover {
  color: #ffffff;
}
.top-line .city-weather {
  color: #dddddd;
  font-weight: 700;
}
.top-line .cel-temperature {
  color: #38bdf8;
  font-weight: 700;
}
.top-line ul.social-icons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.top-line ul.social-icons li a {
  color: #999999;
  font-size: 13px;
  transition: color 0.2s ease;
  text-decoration: none;
}
.top-line ul.social-icons li a:hover {
  color: #38bdf8;
}

/* Header & Logo Advertisement */
.logo-advertisement {
  background: #222222;
  padding: 25px 0;
  border-bottom: 1px solid #2a2a2a;
}
.logo-advertisement .logo-box {
  display: flex;
  align-items: center;
  gap: 22px;
}
.navbar-brand-hm {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.navbar-brand-hm .brand-hot {
  color: #f44336;
  margin-right: 2px;
}
.navbar-brand-hm .brand-mag {
  color: #ffffff;
  font-weight: 300;
}
.navbar-brand-hm .brand-id {
  color: #38bdf8;
  font-weight: 700;
}
.brand-tagline-hm {
  font-size: 10.5px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.35;
  padding-left: 20px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.22);
  max-width: 185px;
  display: flex;
  align-items: center;
}

.advertisement-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.advertisement-box .ad-label {
  font-size: 10px;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 3px;
  letter-spacing: 0.05em;
}
.ad-slot-728 {
  width: 728px;
  height: 90px;
  background: #18191b;
  border: 1px dashed #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.ad-slot-728:hover {
  border-color: #38bdf8;
}

/* Category Color Ribbon Strip */
.category-rainbow-strip {
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, 
    #f44336 0%, #f44336 14%, 
    #33a3f1 14%, #33a3f1 28%, 
    #f58021 28%, #f58021 42%, 
    #74b430 42%, #74b430 57%, 
    #aa35d6 57%, #aa35d6 71%, 
    #4c60f6 71%, #4c60f6 85%, 
    #d6ac1b 85%, #d6ac1b 100%
  );
}

/* Main Navigation Bar (White Bar) */
.nav-list-container {
  background: #ffffff;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
  z-index: 99;
}
.nav-list-container .navbar-nav-hm {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.nav-list-container .navbar-nav-hm > li {
  position: relative;
}
.nav-list-container .navbar-nav-hm > li > a {
  display: block;
  padding: 16px 14px;
  color: #222222;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
.nav-list-container .navbar-nav-hm > li > a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.nav-list-container .navbar-nav-hm > li > a:hover {
  color: #f44336;
}
.nav-list-container .navbar-nav-hm > li > a.home:before { background: #f44336; }
.nav-list-container .navbar-nav-hm > li > a.world:before { background: #33a3f1; }
.nav-list-container .navbar-nav-hm > li > a.travel:before { background: #f58021; }
.nav-list-container .navbar-nav-hm > li > a.tech:before { background: #74b430; }
.nav-list-container .navbar-nav-hm > li > a.fashion:before { background: #aa35d6; }
.nav-list-container .navbar-nav-hm > li > a.sport:before { background: #4c60f6; }
.nav-list-container .navbar-nav-hm > li > a.tools:before { background: #d6ac1b; }

.search-box-hm {
  display: flex;
  align-items: center;
  position: relative;
}
.search-box-hm input {
  padding: 7px 12px;
  padding-right: 32px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  outline: none;
  width: 170px;
  transition: all 0.2s ease;
}
.search-box-hm input:focus {
  border-color: #f44336;
  width: 210px;
}
.search-box-hm button {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 0;
}
.search-box-hm button:hover {
  color: #f44336;
}

/* SECTION 1: HEADING NEWS 4 (Dark Hero Section) */
section.heading-news4 {
  background: #222222;
  padding-top: 20px;
  padding-bottom: 40px;
}

/* Ticker News Box */
.ticker-news-box {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  height: 42px;
}
.ticker-news-box span.breaking-news {
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 18px;
  background: #f44336;
  height: 100%;
  white-space: nowrap;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  z-index: 2;
}
.ticker-news-box span.breaking-news:after {
  content: '';
  position: absolute;
  right: -9px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  background: #f44336;
  transform: rotate(45deg);
  border-radius: 3px;
  z-index: 1;
}

.ticker-content-track {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  margin-left: 20px;
  padding-right: 18px;
  font-size: 12px;
  color: #cccccc;
  position: relative;
  z-index: 1;
}
.ticker-content-track .time-news {
  color: #f44336;
  font-weight: 700;
  margin-right: 8px;
}
.ticker-content-track a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 700;
  margin-right: 6px;
  transition: color 0.2s ease;
}
.ticker-content-track a:hover {
  color: #ffffff;
}

/* 4-Column Hero News Grid */
.hero-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.news-post.image-post4 {
  background: #18191b;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #2d2e30;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.news-post.image-post4:hover {
  transform: translateY(-4px);
  border-color: #f44336;
}

.news-post.image-post4 .post-gallery {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0f172a;
}
.news-post.image-post4 .post-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-post.image-post4:hover .post-gallery img {
  transform: scale(1.06);
}
.news-post.image-post4 .post-gallery a.category-post {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.news-post.image-post4 .post-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #18191b;
}
.news-post.image-post4 .post-content h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.news-post.image-post4 .post-content h2 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-post.image-post4 .post-content h2 a:hover {
  color: #f44336;
}

/* Post Tags Meta */
ul.post-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #888888;
  margin-top: auto;
}
ul.post-tags li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
ul.post-tags li a {
  color: #888888;
  text-decoration: none;
}
ul.post-tags li a:hover {
  color: #ffffff;
}

/* SECTION TITLE BARS (HotMagazine Signature Style) */
.title-section {
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.title-section h1 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  color: #222222;
}
.title-section h1 span {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid #f44336;
  margin-bottom: -1px;
  position: relative;
}
.title-section h1 span.world { border-bottom-color: #33a3f1; }
.title-section h1 span.travel { border-bottom-color: #f58021; }
.title-section h1 span.tech { border-bottom-color: #74b430; }
.title-section h1 span.fashion { border-bottom-color: #aa35d6; }
.title-section h1 span.sport { border-bottom-color: #4c60f6; }

/* Dark Title Section for Dark Sections */
.heading-dark .title-section {
  border-bottom-color: #333333;
}
.heading-dark .title-section h1 {
  color: #ffffff;
}

/* SECTION 2: TODAY'S FEATURED (Light Section) */
section.features-today {
  padding: 35px 0 30px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.news-post.standard-post {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-post.standard-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.news-post.standard-post .post-gallery {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: #0f172a;
}
.news-post.standard-post .post-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-post.standard-post:hover .post-gallery img {
  transform: scale(1.05);
}
.news-post.standard-post .post-gallery a.category-post {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.news-post.standard-post .post-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-post.standard-post .post-content h2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0 0 10px;
}
.news-post.standard-post .post-content h2 a {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-post.standard-post .post-content h2 a:hover {
  color: #f44336;
}
.news-post.standard-post .post-tags li {
  color: #888888;
}

/* SECTION 3: BLOCK WRAPPER (2 Columns + Leaderboard Ad) */
section.block-wrapper {
  padding: 35px 0;
  background: #ffffff;
}

.advertisement-banner-row {
  margin-bottom: 30px;
  text-align: center;
}
.ad-banner-center {
  display: inline-block;
  max-width: 100%;
}
.ad-banner-center span.ad-label {
  display: block;
  font-size: 10px;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Grid Box 2 Columns */
.news-post.image-post2 {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 230px;
  background: #0f172a;
}
.news-post.image-post2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-post.image-post2 .hover-box {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
}
.news-post.image-post2 .hover-box h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.news-post.image-post2 .hover-box h2 a {
  color: #ffffff;
  text-decoration: none;
}
.news-post.image-post2 .hover-box h2 a:hover {
  color: #38bdf8;
}

/* Small List Posts */
.small-list-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.small-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.small-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.small-post-thumb {
  width: 80px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0f172a;
}
.small-post-content {
  flex-grow: 1;
  min-width: 0;
}
.small-post-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  margin: 0 0 4px;
}
.small-post-title a {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}
.small-post-title a:hover {
  color: #f44336;
}

/* SECTION 4: INTERACTIVE UTILITY TOOLS (Dark Showcase Section) */
section.interactive-tools-section {
  background: #222222;
  padding: 40px 0;
  color: #ffffff;
}
.tool-box-card {
  background: #18191b;
  border: 1px solid #333333;
  border-radius: 4px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.25s ease;
}
.tool-box-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.tool-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #262729;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  color: #38bdf8;
}
.tool-box-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.tool-box-desc {
  font-size: 12px;
  color: #999999;
  line-height: 1.5;
  margin-bottom: 14px;
}
.tool-box-action {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* SECTION 5: LATEST ARTICLES + SIDEBAR */
.sidebar {
  padding-left: 10px;
}
.widget {
  margin-bottom: 35px;
}
.widget h1 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #222222;
}
.widget h1 span {
  display: inline-block;
  border-bottom: 2px solid #f44336;
  padding-bottom: 10px;
  margin-bottom: -11px;
}

/* Social Widget */
.widget.social-widget ul.social-share-boxes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.social-share-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 4px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}
.social-share-box.telegram { background: #0088cc; }
.social-share-box.whatsapp { background: #25d366; }
.social-share-box.ojk-call { background: #dc2626; }
.social-share-box.rss-feed { background: #f59e0b; }

/* Tabs Widget (Popular / Trending) */
.tab-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tab-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.tab-post-num {
  font-size: 18px;
  font-weight: 900;
  color: #cccccc;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.tab-post-item:nth-child(1) .tab-post-num { color: #f44336; }
.tab-post-item:nth-child(2) .tab-post-num { color: #f58021; }
.tab-post-item:nth-child(3) .tab-post-num { color: #33a3f1; }

.tab-post-thumb {
  width: 68px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.tab-post-title {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.tab-post-item:hover .tab-post-title {
  color: #f44336;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags-cloud a {
  display: inline-block;
  padding: 4px 10px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.tags-cloud a:hover {
  background: #f44336;
  color: #ffffff;
  border-color: #f44336;
}

/* Pagination */
.pagination-box-hm {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination-box-hm a, .pagination-box-hm span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #333333;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.pagination-box-hm a:hover, .pagination-box-hm span.active {
  background: #f44336;
  color: #ffffff;
  border-color: #f44336;
}

/* FOOTER */
footer.hotmagazine-footer {
  background: #1b1d1f;
  color: #aaaaaa;
  padding-top: 50px;
  border-top: 3px solid #f44336;
}
footer.hotmagazine-footer h1 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
footer.hotmagazine-footer p {
  font-size: 13px;
  line-height: 1.7;
  color: #888888;
}
footer.hotmagazine-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.hotmagazine-footer .footer-links li {
  padding: 5px 0;
  border-bottom: 1px solid #282a2d;
}
footer.hotmagazine-footer .footer-links li:last-child {
  border-bottom: none;
}
footer.hotmagazine-footer .footer-links li a {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}
footer.hotmagazine-footer .footer-links li a:hover {
  color: #38bdf8;
}

.footer-bottom-line {
  background: #111111;
  padding: 18px 0;
  margin-top: 40px;
  border-top: 1px solid #222222;
  font-size: 12px;
  color: #666666;
}

/* RESPONSIVE BREAKPOINTS (MATCHING HOTMAGAZINE EXACTLY) */
@media (max-width: 991px) {
  .hero-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-slot-728 {
    display: none;
  }
  .advertisement-box {
    display: none;
  }
}

@media (max-width: 767px) {
  .top-line {
    display: none;
  }
  .logo-advertisement {
    padding: 15px 0;
  }
  .hero-news-grid {
    grid-template-columns: 1fr;
  }
  .nav-list-container {
    padding: 8px 0;
  }
  .search-box-hm {
    margin-top: 10px;
    width: 100%;
  }
  .search-box-hm input {
    width: 100% !important;
  }
  .sidebar {
    padding-left: 0;
    margin-top: 30px;
  }
}

/* Marquee Scrolling Animation for Breaking News Ticker */
@keyframes tickerMarquee {
  0%, 8% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-content-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.ticker-marquee-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerMarquee 28s linear infinite;
}
.ticker-marquee-inner:hover {
  animation-play-state: paused;
}

/* Mobile Tweaks */
@media (max-width: 576px) {
  .ticker-news-box {
    height: 38px;
    margin-bottom: 16px;
  }
  .ticker-news-box span.breaking-news {
    padding: 0 10px;
    font-size: 10px;
  }
  .ticker-content-track {
    margin-left: 24px;
    padding-right: 10px;
    font-size: 11px;
  }
  .navbar-toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-brand-hm {
    font-size: 26px;
  }
}

/* =========================================================
   SINGLE POST PAGE STYLES (HOTMAGAZINE SINGLE-POST ADAPTATION)
   ========================================================= */

.single-post-box {
  background: #ffffff;
  padding: 25px 0;
  margin-bottom: 30px;
}

/* Breadcrumb */
.breadcrumb-hm {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #888888;
}
.breadcrumb-hm li a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-hm li a:hover {
  color: #f44336;
}
.breadcrumb-hm li.active {
  color: #999999;
}
.breadcrumb-hm .sep {
  color: #cccccc;
}

/* Title Post */
.single-post-box .title-post {
  margin-bottom: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.single-post-box .title-post h1 {
  font-size: 26px;
  font-weight: 800;
  color: #222222;
  line-height: 1.35;
  margin: 0 0 12px;
}

/* Share Post Box */
.single-post-box .share-post-box {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.share-post-box .share-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.share-post-box ul.share-buttons-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.share-post-box ul.share-buttons-list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.share-post-box ul.share-buttons-list li a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.share-btn-wa { background: #25d366; }
.share-btn-tg { background: #0088cc; }
.share-btn-tw { background: #000000; }
.share-btn-fb { background: #1877f2; }
.share-btn-copy { background: #475569; cursor: pointer; }

/* Featured Image & Caption */
.single-post-box .post-gallery {
  margin-bottom: 24px;
}
.single-post-box .post-gallery img {
  width: 100%;
  border-radius: 6px;
  max-height: 460px;
  object-fit: cover;
}
.single-post-box .post-gallery .image-caption {
  display: block;
  font-size: 12px;
  font-style: italic;
  color: #777777;
  text-align: center;
  margin-top: 8px;
}

/* Post Content Body */
.single-post-box .post-content {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
}
.single-post-box .post-content p {
  margin-bottom: 18px;
}
.single-post-box .post-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}
.single-post-box .post-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 10px;
}
.single-post-box .post-content ul, 
.single-post-box .post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.single-post-box .post-content li {
  margin-bottom: 8px;
}
.single-post-box .post-content blockquote {
  padding: 20px;
  padding-left: 24px;
  border-left: 4px solid #f44336;
  background: #f8fafc;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #1e293b;
}

/* Executive Summary Box (GEO / AI Overview) */
.single-post-box .executive-summary-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 24px;
}
.executive-summary-box .summary-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1e40af;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

/* Post Tags Cloud Box */
.single-post-box .post-tags-box {
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags-box .tags-title {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin-right: 6px;
}
.post-tags-box a.tag-pill {
  padding: 4px 10px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.post-tags-box a.tag-pill:hover {
  background: #f44336;
  color: #ffffff;
}

/* Prev / Next Posts Navigation */
.prev-next-posts-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 0;
}
.prev-post-card, .next-post-card {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.prev-post-card:hover, .next-post-card:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.prev-post-card img, .next-post-card img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.prev-next-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
}
.prev-next-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-top: 3px;
}
.prev-post-card:hover .prev-next-title, .next-post-card:hover .prev-next-title {
  color: #f44336;
}

/* Author Box */
.about-author-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 35px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0f172a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}
.author-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.author-info p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Related Posts Section */
.related-posts-section {
  margin-bottom: 30px;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.related-post-thumb {
  height: 130px;
  width: 100%;
  object-fit: cover;
}
.related-post-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.related-post-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}
.related-post-title a {
  color: #1e293b;
  text-decoration: none;
}
.related-post-title a:hover {
  color: #f44336;
}

/* Responsive adjustments for single post */
@media (max-width: 767px) {
  .single-post-box .title-post h1 {
    font-size: 21px;
    line-height: 1.35;
  }
  .single-post-box .share-post-box {
    flex-direction: column;
    align-items: stretch;
  }
  .share-post-box ul.share-buttons-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .share-post-box ul.share-buttons-list li a {
    justify-content: center;
  }
  .prev-next-posts-box {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .about-author-box {
    flex-direction: column;
    text-align: center;
  }
  .author-avatar {
    margin: 0 auto;
  }
}

/* Safety rules to prevent any child element overflow in post-content */
.single-post-box .post-content .d-flex {
  flex-wrap: wrap !important;
}

.related-post-card {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.related-post-thumb {
  width: 100% !important;
  max-width: 100% !important;
}

.single-post-box .table-responsive {
  max-width: 100%;
  overflow-x: auto;
}

html, body, #container {
  overflow-x: hidden;
  max-width: 100%;
}

/* Active navbar state styling */
.nav-list-container .navbar-nav-hm > li > a.active {
  font-weight: 700 !important;
}
.nav-list-container .navbar-nav-hm > li > a.home.active {
  color: #f44336 !important;
  border-bottom: 2px solid #f44336;
}
.nav-list-container .navbar-nav-hm > li > a.world.active {
  color: #33a3f1 !important;
  border-bottom: 2px solid #33a3f1;
}
.nav-list-container .navbar-nav-hm > li > a.food.active {
  color: #0d9488 !important;
  border-bottom: 2px solid #0d9488;
}
.nav-list-container .navbar-nav-hm > li > a.tech.active {
  color: #74b430 !important;
  border-bottom: 2px solid #74b430;
}
.nav-list-container .navbar-nav-hm > li > a.sport.active {
  color: #4c60f6 !important;
  border-bottom: 2px solid #4c60f6;
}
.nav-list-container .navbar-nav-hm > li > a.travel.active {
  color: #f58021 !important;
  border-bottom: 2px solid #f58021;
}
.nav-list-container .navbar-nav-hm > li > a.fashion.active {
  color: #aa35d6 !important;
  border-bottom: 2px solid #aa35d6;
}
.nav-list-container .navbar-nav-hm > li > a.tools.active {
  color: #d6ac1b !important;
  border-bottom: 2px solid #d6ac1b;
}
