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

: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 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 table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* HAROS content table polish */
.entry-content table,
.wp-block-table table {
  width: 100%;
  margin: 1.65em 0 1.9em;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-left: 7px solid #0f766e;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  font-size: 0.97rem;
  line-height: 1.62;
}

.entry-content table caption,
.wp-block-table figcaption {
  margin-top: 0.6em;
  color: #667085;
  font-size: 0.92rem;
  text-align: left;
}

.entry-content thead th,
.wp-block-table thead th {
  background: linear-gradient(90deg, #0f766e, #115e59);
  color: #ffffff;
  font-weight: 850;
  letter-spacing: 0;
}

.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9em 1em;
  border-right: 1px solid rgba(15, 118, 110, 0.12);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  vertical-align: top;
}

.entry-content th:last-child,
.entry-content td:last-child,
.wp-block-table th:last-child,
.wp-block-table td:last-child {
  border-right: 0;
}

.entry-content tr:last-child td,
.wp-block-table tr:last-child td {
  border-bottom: 0;
}

.entry-content tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) td {
  background: rgba(15, 118, 110, 0.045);
}

.entry-content tbody tr:hover td,
.wp-block-table tbody tr:hover td {
  background: rgba(245, 158, 11, 0.09);
}

.entry-content td:first-child,
.wp-block-table td:first-child {
  font-weight: 700;
  color: #14312f;
}

.wp-block-table {
  overflow-x: auto;
}

@media (max-width: 768px) {
  .entry-content table,
  .wp-block-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .entry-content th,
  .entry-content td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 0.78em 0.86em;
  }
}/* HAROS content button polish */
.entry-content .wp-block-button__link,
.entry-content .wp-element-button,
.entry-content button,
.entry-content input[type="button"],
.entry-content input[type="submit"],
.entry-content input[type="reset"],
.read-more.button,
.button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 42px;
  padding: 0.78em 1.15em;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-element-button:hover,
.entry-content button:hover,
.entry-content input[type="button"]:hover,
.entry-content input[type="submit"]:hover,
.entry-content input[type="reset"]:hover,
.read-more.button:hover,
.button:hover,
a.button:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, 0.48);
  background: linear-gradient(135deg, #115e59, #0f766e 58%, #d97706);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  color: #ffffff !important;
}

.entry-content .wp-block-button__link:active,
.entry-content .wp-element-button:active,
.entry-content button:active,
.entry-content input[type="button"]:active,
.entry-content input[type="submit"]:active,
.entry-content input[type="reset"]:active,
.read-more.button:active,
.button:active,
a.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.10);
}

.entry-content .is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: #ffffff;
  color: #0f3f3c !important;
  border: 2px solid #0f766e;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.entry-content .is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(15, 118, 110, 0.08);
  color: #0b4f49 !important;
}

.entry-content .wp-block-buttons {
  gap: 0.7em;
  margin: 1.35em 0;
}

@media (max-width: 768px) {
  .entry-content .wp-block-button__link,
  .entry-content .wp-element-button,
  .entry-content button,
  .entry-content input[type="button"],
  .entry-content input[type="submit"],
  .entry-content input[type="reset"],
  .read-more.button,
  .button,
  a.button {
    min-height: 40px;
    padding: 0.72em 1em;
    font-size: 0.96rem;
  }
}
/* ACE blue H2 heading — 2026-07-17 */
.entry-content h2 {
  display: block;
  margin: 2.1em 0 0.9em;
  padding: 0.82em 1.05em;
  border: 0;
  border-left: 8px solid #2563eb;
  border-radius: 0 12px 12px 0;
  background: #eff6ff;
  box-shadow: none;
  color: #0f172a;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.entry-content h2::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 768px) {
  .entry-content h2 {
    padding: 0.72em 0.82em;
    border-left-width: 6px;
    border-radius: 0 9px 9px 0;
    font-size: 1.2rem;
  }
}
