/*
Theme Name: AdSense Blog Child
Template: generatepress
Version: 1.0.0
*/

:root {
  --blog-ink: #1f2933;
  --blog-muted: #667085;
  --blog-line: #e5e7eb;
  --blog-soft: #f7fafc;
  --blog-accent: #0f766e;
  --blog-accent-dark: #115e59;
  --blog-warm: #f59e0b;
}

body {
  color: var(--blog-ink);
  background: #f5f7f8;
  font-size: 17px;
  line-height: 1.78;
}

a { color: var(--blog-accent-dark); }
a:hover { color: #0b4f49; }

.site-header {
  border-bottom: 1px solid var(--blog-line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.site-branding .main-title a {
  font-weight: 800;
}

.inside-article,
.sidebar .widget,
.comments-area {
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.entry-title {
  line-height: 1.25;
  letter-spacing: 0;
}

.entry-content h2 {
  position: relative;
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  padding: 0.72em 0.9em 0.72em 1em;
  border-left: 6px solid var(--blog-accent);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.11), rgba(245, 158, 11, 0.08));
  color: #14312f;
  font-size: 1.45rem;
  font-weight: 800;
}

.entry-content h3 {
  margin-top: 1.8em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid rgba(15, 118, 110, 0.18);
  font-size: 1.2rem;
  font-weight: 750;
}

.entry-content p {
  margin-bottom: 1.15em;
}

.entry-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.96rem;
}

.entry-content th,
.entry-content td {
  padding: 0.85em 1em;
  border-right: 1px solid var(--blog-line);
  border-bottom: 1px solid var(--blog-line);
  vertical-align: top;
}

.entry-content th:last-child,
.entry-content td:last-child { border-right: 0; }
.entry-content tr:last-child td { border-bottom: 0; }

.entry-content th {
  background: #0f766e;
  color: #fff;
  font-weight: 800;
  text-align: left;
}

.entry-content tr:nth-child(even) td {
  background: #f8fbfb;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.2em;
  border-left: 5px solid var(--blog-warm);
  border-radius: 8px;
  background: #fff8e6;
  color: #344054;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}

.entry-content li + li {
  margin-top: 0.35em;
}

.wp-block-button__link,
.read-more.button {
  border-radius: 8px;
  background: var(--blog-accent);
  font-weight: 750;
}

.wp-block-button__link:hover,
.read-more.button:hover {
  background: var(--blog-accent-dark);
}

/* Hide the featured/main image shown above the post title. */
.featured-image,
.post-image,
.page-header-image,
.page-header-image-single,
.single .inside-article > .featured-image,
.single .inside-article > .post-image {
  display: none !important;
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .inside-article,
  .sidebar .widget,
  .comments-area {
    border-radius: 0;
    box-shadow: none;
  }
  .entry-content h2 {
    font-size: 1.24rem;
    padding: 0.68em 0.78em;
  }
  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

