/*
Theme Name: HOMECARE DIGITALGROW
Theme URI: https://homecaredigitalgrow.com
Author: HOMECARE DIGITALGROW Team
Author URI: https://homecaredigitalgrow.com
Description: Premium, production-ready healthcare and home care agency digital marketing WordPress theme. Built for home care, home health, assisted living, and hospice agencies. Features multi-step Free Marketing Audit form, Contact Messages system, responsive dark navy & cyan UI, and full Hostinger WordPress compatibility.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homecare-digitalgrow
Tags: dark-mode, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready
*/

/* ================================================================
   WordPress Standard Alignments & Captions
   ================================================================ */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border, rgba(26,43,92,0.12));
  max-width: 96%;
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-card, 0 4px 24px rgba(26,43,92,0.08));
}
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
  border-radius: var(--radius-sm, 8px);
}
.wp-caption p.wp-caption-text {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 6px 0 0;
  padding: 0 4px;
  color: var(--text-muted, #718096);
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--navy, #1a2b5c);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 196, 204, 0.4);
  clip: auto !important;
  clip-path: none;
  color: #fff;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 10px;
  line-height: normal;
  padding: 14px 24px;
  text-decoration: none;
  top: 10px;
  width: auto;
  z-index: 100000;
}

/* Sticky post indicator */
.sticky { border-left: 4px solid var(--cyan, #00c4cc); }

/* ================================================================
   WordPress Gutenberg Block Normalization
   Ensures ALL pages edited in WordPress Editor match HOMECARE DIGITALGROW
   ================================================================ */
.entry-content,
.wp-block-post-content,
.page-content-area {
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--text-primary, #1a2b5c);
  line-height: 1.8;
  font-size: 1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-heading {
  font-family: var(--font-head, 'Plus Jakarta Sans', sans-serif);
  color: var(--navy, #1a2b5c);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.wp-block-heading:first-child {
  margin-top: 0;
}

.entry-content p,
.wp-block-paragraph {
  color: var(--text-secondary, #4a5568);
  margin-bottom: 1.35em;
  line-height: 1.8;
}

.entry-content p.lead,
.wp-block-paragraph.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--navy, #1a2b5c);
  font-weight: 500;
}

.entry-content ul:not(.nav-menu),
.entry-content ol,
.wp-block-list {
  margin: 0 0 1.5em 1.5em;
  line-height: 1.8;
  color: var(--text-secondary, #4a5568);
}

.entry-content ul:not(.nav-menu) li,
.entry-content ol li,
.wp-block-list li {
  margin-bottom: 0.5em;
  padding-left: 4px;
}

.entry-content a,
.wp-block-paragraph a,
.wp-block-list a {
  color: var(--cyan-dark, #009aa0);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.entry-content a:hover,
.wp-block-paragraph a:hover,
.wp-block-list a:hover {
  color: var(--navy, #1a2b5c);
}

/* ── Gutenberg Buttons ────────────────────────────────────────── */
.wp-block-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  background: var(--lime, #7ed321);
  color: #fff !important;
  box-shadow: var(--shadow-btn, 0 8px 32px rgba(126,211,33,0.35));
  border: none;
}

.wp-block-button__link:hover {
  background: var(--lime-dark, #65ab18);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(126,211,33,0.45);
}

.is-style-outline .wp-block-button__link {
  border: 1.5px solid var(--cyan, #00c4cc) !important;
  color: var(--navy, #1a2b5c) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.is-style-outline .wp-block-button__link:hover {
  background: rgba(0, 196, 204, 0.08) !important;
  border-color: var(--cyan-dark, #009aa0) !important;
  color: var(--cyan-dark, #009aa0) !important;
}

/* ── Quotes & Separators ─────────────────────────────────────── */
.wp-block-quote {
  border-left: 4px solid var(--cyan, #00c4cc);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--bg-secondary, #f4f6fb);
  border-radius: 0 var(--radius-md, 12px) var(--radius-md, 12px) 0;
  font-style: italic;
  color: var(--text-primary, #1a2b5c);
}

.wp-block-quote p {
  color: var(--navy, #1a2b5c);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.wp-block-quote cite {
  font-size: 0.85rem;
  color: var(--text-muted, #718096);
  font-style: normal;
  font-weight: 600;
}

.wp-block-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border, rgba(26,43,92,0.12)), transparent);
  margin: 48px 0;
}

/* ── Columns & Groups ────────────────────────────────────────── */
.wp-block-columns {
  margin-bottom: 32px;
  gap: 28px;
}

.wp-block-column {
  margin-bottom: 16px;
}

.wp-block-group.has-background {
  border-radius: var(--radius-xl, 24px);
  box-shadow: var(--shadow-card, 0 4px 24px rgba(26,43,92,0.08));
  padding: 36px;
  border: 1px solid var(--border, rgba(26,43,92,0.12));
}

/* ── Tables ─────────────────────────────────────────────────── */
.wp-block-table table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #fff;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 4px 24px rgba(26,43,92,0.08));
  border: 1px solid var(--border, rgba(26,43,92,0.12));
}

.wp-block-table th,
table th {
  background: var(--navy, #1a2b5c);
  color: #fff;
  font-family: var(--font-head, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
}

.wp-block-table td,
table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border, rgba(26,43,92,0.12));
  color: var(--text-secondary, #4a5568);
  font-size: 0.92rem;
}

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

.wp-block-table tr:nth-child(even) td,
table tr:nth-child(even) td {
  background: var(--bg-secondary, #f4f6fb);
}
