/* ================= GLOBAL LINK RESET ================= */

a {
  text-decoration: none;
  color: inherit;
}

/* ================= TOOLS SECTION ================= */

.tools-highlight {
  margin-bottom: 40px;
}

.tools-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-head h2 {
  font-size: 22px;
  font-weight: 700;
}

.tools-subrow {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tools-subrow p {
  font-size: 14px;
  color: #64748b;
}

.view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: #0f766e;
  transition: 0.2s;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* ================= TOOLS CARDS ================= */

.tools-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.tool-card-mini {
  flex: 0 0 140px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
  cursor: pointer;
}

.tool-card-mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.tool-icon-box {
  font-size: 28px;
  margin-bottom: 8px;
}

.tool-card-mini h3 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* ================= SECTION HEAD ================= */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
}

/* ================= BLOG GRID ================= */

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
}

/* ================= BLOG CARD ================= */

.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-card-content {
  padding: 16px;
}

.blog-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: #0f766e;
  display: none;
}

/* ================= EMPTY STATE ================= */

.muted {
  color: #94a3b8;
  font-size: 14px;
}

/* ================= BREADCRUMB ================= */

.breadcrumb-wrap {
  background: transparent;
  border-bottom: none;
  margin-bottom: 10px;
  padding: 12px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #64748b;
}

.breadcrumb a {
  color: #0f766d;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #94a3b8;
}

.breadcrumb .current {
  color: #0f172a;
  font-weight: 500;
}

/* ===== DEFAULT (DESKTOP GRID - UNCHANGED) ===== */

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ===== MOBILE YOUTUBE STYLE ===== */

@media (max-width: 768px) {

  .blogs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .blog-card {
    display: flex;
    gap: 12px;
    padding: 10px;
    align-items: flex-start;
  }

  .blog-card img {
    width: 110px;
    height: 70px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .blog-card-content {
    padding: 0;
  }

  .blog-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .blog-card p {
    font-size: 12px;
  }

}

/* ================= BLOG CARD CONTENT ALIGN ================= */

.blog-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* push Read More to bottom right */
.blog-card-content .read-more {
  margin-top: auto;
  align-self: flex-end;
  font-size: 13px;
  font-weight: 500;
  color: #0f766e;
}

.blog-card-content .read-more:hover {
  text-decoration: underline;
}