/* ==========================================================================
   Cocoon Compatibility Layer for v3-Brand Editorial Articles (hiyori / SOLA)
   Ensures PetFoodPro font, generous spacing, zero AI boxes, and crisp tables
   render identically inside Xserver WordPress Cocoon (Parent or Child Theme).
   ========================================================================== */

body,
.entry-content,
.entry-title,
.site-name-text {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  color: #1f2937;
}

.entry-content p,
.entry-content .art-lead {
  font-size: 0.98rem;
  line-height: 2.05;
  margin-top: 0;
  margin-bottom: 28px;
  color: #1f2937;
}

.entry-content .art-lead-list {
  margin: 0 0 28px;
  padding-left: 1.35em;
  font-size: 0.96rem;
  line-height: 1.95;
}

.entry-content .art-lead-list li {
  margin-bottom: 10px;
}

/* Override Cocoon default H2/H3 boxes cleanly (zero AI boxes) */
.entry-content h2 {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--accent, #1d5c42) !important;
  border-radius: 0 !important;
  padding: 0 0 10px 0 !important;
  margin: 56px 0 24px !important;
  font-size: clamp(1.22rem, 2.2vw, 1.46rem);
  font-weight: 700;
  line-height: 1.5;
  color: #111827;
}

.entry-content h3 {
  background: transparent !important;
  border: none !important;
  border-left: 3px solid var(--accent, #1d5c42) !important;
  border-radius: 0 !important;
  padding: 2px 0 2px 12px !important;
  margin: 38px 0 16px !important;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
}

.entry-content .hl-marker {
  background: linear-gradient(transparent 58%, #fff099 58%);
  font-weight: 700;
  color: #111827;
  padding: 0 2px;
}

.entry-content .txt-accent {
  color: #c2411f;
  font-weight: 700;
}

.entry-content .txt-voice {
  font-style: normal;
  color: #b5441c;
  font-weight: 600;
}

.entry-content .txt-brand {
  color: var(--accent, #1d5c42);
  font-weight: 700;
}

/* Prevent Cocoon header/sidebar chrome on custom full-bleed front page & singular pages */
body.n4s-front-page,
body.n4s-singular-page {
  margin: 0;
  background: #ffffff;
}

/* Clean editorial Contact Form 7 styling */
.n4s-singular-page .wpcf7 form {
  margin-top: 24px;
}

.n4s-singular-page .wpcf7 input[type="text"],
.n4s-singular-page .wpcf7 input[type="email"],
.n4s-singular-page .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.96rem;
  font-family: inherit;
  box-sizing: border-box;
  margin-top: 6px;
}

.n4s-singular-page .wpcf7 input[type="submit"] {
  background: var(--accent, #1d5c42);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
}
