.author,
.byline,
.post-meta-author,
.entry-author {
display: none;
}

/* ═══ ClearPath Mobile Optimization ═══
   Paste into: Appearance → Additional CSS
   (WordPress.com Customizer)
   ──────────────────────────────────────── */

/* ── Base: readable on all screens ── */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

/* ── Images: never break mobile layout ── */
img,
video,
iframe,
embed,
object {
  max-width: 100% !important;
  height: auto !important;
}

/* ── Tables: horizontal scroll instead of overflow ── */
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* ── Site header: stack on mobile ── */
@media (max-width: 768px) {
  .site-header .site-branding,
  .site-header .site-title {
    text-align: center;
    width: 100%;
  }

  .site-header .site-description {
    font-size: 14px;
  }

  /* Navigation: full width links */
  .main-navigation,
  .primary-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-navigation ul,
  .primary-navigation ul {
    flex-direction: column;
    gap: 8px;
    padding: 0;
  }

  .main-navigation li,
  .primary-navigation li {
    width: 100%;
    text-align: center;
  }

  /* Content area */
  .entry-content,
  .post-content,
  .page-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .entry-title,
  .post-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    padding: 0 16px;
  }

  /* ── Headings: prevent long words from mid-word wrapping ── */
  h1, .wp-block-heading,
  .a8c-text-title,
  .wp-block-cover h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .wp-block-media-text h2.wp-block-heading {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .wp-block-media-text h4.wp-block-heading {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  /* Site title on homepage */
  .site-title,
  .site-title a {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  /* Dr.Deal hero links in top banner */
  .cp-hero-links {
    font-size: 14px !important;
  }

  /* Sidebar: stack below content */
  .widget-area,
  .sidebar {
    width: 100% !important;
    float: none !important;
    padding: 16px !important;
  }

  /* Featured images */
  .post-thumbnail img,
  .wp-post-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  /* Block editor content */
  .wp-block-columns {
    flex-direction: column !important;
  }

  .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .wp-block-image img {
    width: 100% !important;
    height: auto !important;
  }

  /* Comments */
  .comment-body {
    padding: 12px !important;
  }

  .comment-list {
    padding-left: 0 !important;
  }

  /* Footer */
  .site-footer {
    padding: 20px 16px !important;
    text-align: center;
  }

  .site-footer .widget-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* ── ClearPath hero links styling ── */
.cp-hero-links a {
  color: #1a2744 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.cp-hero-links a:hover {
  color: #b8943e !important;
}

/* ── ClearPath banner styles (for sidebar/in-post widgets) ── */
.clearpath-banner {
  background: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.clearpath-banner h3 {
  color: #b8943e !important;
  font-size: 18px !important;
  margin: 0 0 8px 0 !important;
}

.clearpath-banner p {
  color: #ccc !important;
  font-size: 14px !important;
  margin: 0 0 16px 0 !important;
}

.clearpath-banner a.cp-btn {
  display: inline-block;
  background: #b8943e;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}

.clearpath-banner a.cp-btn:hover {
  opacity: 0.9;
}

.clearpath-deals-link {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  text-align: center;
}

.clearpath-deals-link a {
  color: #1a2744 !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 15px;
}

.clearpath-deals-link a:hover {
  color: #b8943e !important;
}

.clearpath-deals-link p {
  color: #666;
  font-size: 13px;
  margin: 6px 0 0 0 !important;
}
