/* ==============================================================================
   CatchON TV - Native Blog Styling (Clean & Fully Matched to Site Theme)
   ============================================================================== */

/* Blog Toolbar (Search & Filter) */
.dt-sc-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #f7f7fa;
  border: 1px solid #e9e9f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 35px;
}

.dt-sc-blog-search {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.dt-sc-blog-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: #ffffff;
  border: 1px solid #dcdce6;
  border-radius: 25px;
  color: #1a1a1a;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.dt-sc-blog-search input:focus {
  border-color: #e7422f;
  box-shadow: 0 0 0 3px rgba(231, 66, 47, 0.15);
}

.dt-sc-blog-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888899;
  font-size: 14px;
}

.dt-sc-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dt-sc-cat-chip {
  display: inline-block;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #dcdce6;
  border-radius: 20px;
  color: #444455;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dt-sc-cat-chip:hover,
.dt-sc-cat-chip.active {
  background: #e7422f;
  border-color: #e7422f;
  color: #ffffff !important;
}

/* Articles Grid */
.dt-sc-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Blog Card */
.dt-sc-blog-card {
  background: #ffffff;
  border: 1px solid #e9e9f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.dt-sc-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #e0e0ea;
}

.dt-sc-blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f0f0f5;
  overflow: hidden;
  display: block;
}

.dt-sc-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dt-sc-blog-card:hover .dt-sc-blog-thumb img {
  transform: scale(1.05);
}

.dt-sc-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e7422f;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dt-sc-blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dt-sc-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777788;
  font-size: 12px;
  margin-bottom: 10px;
}

.dt-sc-blog-card-meta i {
  color: #e7422f;
  margin-right: 4px;
}

.dt-sc-blog-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}

.dt-sc-blog-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dt-sc-blog-card-title a:hover {
  color: #e7422f;
}

.dt-sc-blog-card-excerpt {
  color: #555566;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.dt-sc-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f5;
  padding-top: 16px;
  margin-top: auto;
}

.dt-sc-blog-read-btn {
  background: #e7422f;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.dt-sc-blog-read-btn:hover {
  background: #1a1a1a;
  color: #ffffff !important;
}

/* Sidebar Widgets */
.dt-sc-blog-sidebar-widget {
  background: #ffffff;
  border: 1px solid #e9e9f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.dt-sc-widget-title {
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7422f;
  display: inline-block;
}

.dt-sc-recent-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f5;
}

.dt-sc-recent-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dt-sc-recent-thumb {
  width: 65px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f5;
  flex-shrink: 0;
}

.dt-sc-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-sc-recent-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.dt-sc-recent-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.dt-sc-recent-title a:hover {
  color: #e7422f;
}

.dt-sc-recent-date {
  color: #888899;
  font-size: 11px;
}

/* CTA Widget */
.dt-sc-blog-cta {
  background: linear-gradient(135deg, #0d0d14 0%, #1a1a26 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  margin-bottom: 25px;
}

.dt-sc-blog-cta h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.dt-sc-blog-cta p {
  color: #cccccc;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.dt-sc-blog-cta a.dt-sc-btn {
  background: #e7422f;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
}

.dt-sc-blog-cta a.dt-sc-btn:hover {
  background: #ffffff;
  color: #1a1a1a;
}

/* Single Article Styling */
.dt-sc-single-article {
  background: #ffffff;
  border: 1px solid #e9e9f0;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.dt-sc-single-article h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0 0 15px;
}

.dt-sc-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #777788;
  font-size: 13px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f5;
}

.dt-sc-single-meta i {
  color: #e7422f;
  margin-right: 5px;
}

.dt-sc-single-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.dt-sc-single-body {
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.85;
}

.dt-sc-single-body h2,
.dt-sc-single-body h3,
.dt-sc-single-body h4 {
  color: #1a1a1a;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.dt-sc-single-body p {
  margin-bottom: 20px;
}

.dt-sc-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.dt-sc-single-body blockquote {
  border-left: 4px solid #e7422f;
  background: #fafafc;
  padding: 15px 20px;
  margin: 25px 0;
  font-style: italic;
  color: #333333;
}

.dt-sc-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f5;
}

.dt-sc-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f5;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dt-sc-share-btn:hover {
  background: #e7422f;
  color: #ffffff;
}

@media (max-width: 768px) {
  .dt-sc-blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .dt-sc-single-article {
    padding: 20px;
  }
  .dt-sc-single-article h1 {
    font-size: 24px;
  }
}

/* Header Responsive Button Styling */
header .site-header__links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

header .site-header__links a,
header .site-header__links .dt-sc-button {
  width: auto !important;
  min-width: 105px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 30px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
  header #AccessibleNav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }
  header #AccessibleNav .logo {
    max-width: 160px !important;
    margin-right: auto !important;
  }
  header #AccessibleNav .mobile-nav-container {
    margin-left: auto !important;
  }
  header .site-header__links {
    width: 100% !important;
    order: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 8px 0 4px 0 !important;
    gap: 10px !important;
  }
  header .site-header__links a,
  header .site-header__links .dt-sc-button {
    width: auto !important;
    min-width: 100px !important;
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
  }
}

@media screen and (max-width: 480px) {
  header .site-header__links {
    gap: 8px !important;
  }
  header .site-header__links a,
  header .site-header__links .dt-sc-button {
    min-width: unset !important;
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

