/* Blog container styling */
.blog .inside-article,
.archive .inside-article {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .inside-article:hover,
.archive .inside-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Post title */
.blog .entry-title,
.archive .entry-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1b1b1b;
}

.blog .entry-title a,
.archive .entry-title a {
  text-decoration: none;
  color: inherit;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
  color: #0073e6;
}

/* Meta info */
.entry-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

/* Featured image */
.blog .post-image,
.archive .post-image {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.blog .post-image img,
.archive .post-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.blog .post-image:hover img,
.archive .post-image:hover img {
  transform: scale(1.05);
}

/* Excerpt text */
.blog .entry-summary,
.archive .entry-summary {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

/* Read more button */
.read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #005bb5;
}
/* Blog single post container */
.single-post .inside-article {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  max-width: 800px;
  margin: 0 auto;
}

/* Post title */
.single-post .entry-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* Post meta info */
.single-post .entry-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

/* Featured image styling */
.single-post .post-image {
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
}

.single-post .post-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Post content */
.single-post .entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

/* Headings inside content */
.single-post .entry-content h2,
.single-post .entry-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1b1b1b;
}

/* Paragraph spacing */
.single-post .entry-content p {
  margin-bottom: 20px;
}

/* Responsive video (if embedded) */
.single-post .entry-content iframe {
  max-width: 100%;
  height: auto;
}
/* Responsive table wrapper */
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
  display: block;
  max-width: 100%;
}

/* Table appearance */
.single-post .entry-content table th,
.single-post .entry-content table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e1e1e1;
}

/* Table header */
.single-post .entry-content table thead {
  background-color: #f7f7f7;
  font-weight: 600;
}

/* Zebra striping */
.single-post .entry-content table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive text */
.single-post .entry-content table {
  font-size: 16px;
  line-height: 1.6;
}

/* Make tables responsive by wrapping them */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Make sure tables don't force horizontal scroll */
.entry-content table th,
.entry-content table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
  word-break: break-word;
}

/* Table header styling */
.entry-content table thead {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* Zebra striping */
.entry-content table tr:nth-child(even) {
  background-color: #fafafa;
}

/* RESPONSIVE WRAPPER */
.entry-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

/* Optional: improve responsiveness for long words in cells */
.entry-content table td,
.entry-content table th {
  min-width: 120px;
}


/* Scroll bar on smaller screens */
@media (max-width: 600px) {
  .single-post .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
