/*
 Theme Name: CP Home Service
 Theme URI: https://cphomeservice.com
 Description: Simple starter theme for CP Home Service handyman and exterior cleaning services.
 Author: CP Home Service
 Version: 1.0
 Text Domain: cp-home-service
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #0b3c5d;
    color: #ffffff;
    padding: 1.5rem 1.25rem;
}

.site-header .branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 1.5rem;
}

.site-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0;
}

.site-description {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: #e4ebf5;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: #ffffff;
}

.hero {
    background: linear-gradient(135deg, #0b3c5d, #186a8a);
    color: #ffffff;
    padding: 3.5rem 1.25rem 3rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.hero p.lead {
    font-size: 1.05rem;
    max-width: 32rem;
}

.hero-highlight {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-primary {
    background: #f6c34a;
    color: #1f2933;
}

.btn-primary:hover {
    background: #ffd56f;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.06);
}

.hero-side {
    background: rgba(15, 52, 78, 0.85);
    padding: 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.hero-side h2 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.hero-side ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.hero-side li {
    margin-bottom: 0.4rem;
}

.hero-side .note {
    font-size: 0.8rem;
    opacity: 0.85;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.section-header {
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.4rem;
    margin: 0 0 0.3rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #6b7b93;
    margin: 0;
}

.columns-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Lists & feature items */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.feature-list strong {
    display: block;
    font-size: 0.95rem;
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    border-radius: 1.1rem;
    border: 1px solid #d8e2ec;
    padding: 1.25rem 1.15rem 1.1rem;
    background: #f9fbff;
}

.pricing-card.highlight {
    border-color: #f6c34a;
    background: #fffaf0;
}

.pricing-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}

.pricing-price {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.pricing-note {
    font-size: 0.8rem;
    color: #6b7b93;
    margin-bottom: 0.75rem;
}

.pricing-card ul {
    padding-left: 1.1rem;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #0b3c5d;
    color: #fff;
    margin-bottom: 0.35rem;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
}

.step {
    padding: 0.9rem 0.9rem 0.85rem;
    border-radius: 0.9rem;
    background: #f5f7fa;
    border: 1px dashed #d8e2ec;
    font-size: 0.9rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

/* FAQ */
.faq-item + .faq-item {
    margin-top: 0.9rem;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

/* Footer */
.site-footer {
    padding: 1.75rem 1.25rem 2.25rem;
    background: #102a43;
    color: #d9e2ec;
    font-size: 0.85rem;
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

.site-footer a {
    color: #f6c34a;
}

.footer-col {
    max-width: 340px;
}

/* Responsive tweaks */
@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.6rem;
    }
}
.entry-content {
  line-height: 1.7;
  font-size: 1rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.5rem;
}

.entry-content ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
/* -------------------------------------------------------------
   BLOG PAGE LAYOUT
--------------------------------------------------------------*/
.cp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cp-blog-card {
  background: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.cp-blog-thumb {
  display: block;
}

.cp-blog-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.cp-blog-card-content {
  padding: 1.25rem 1.25rem 1.5rem;
}

.cp-blog-meta {
  font-size: 0.85rem;
  color: #6b7b93;
  margin-bottom: 0.5rem;
}

.cp-blog-title {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.cp-blog-title a {
  color: #102a43;
  text-decoration: none;
}

.cp-blog-title a:hover {
  text-decoration: underline;
}

.cp-blog-excerpt {
  color: #334e68;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.cp-pagination {
  margin-top: 2rem;
  text-align: center;
}

.cp-pagination .nav-links {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cp-pagination a,
.cp-pagination span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d8e2ec;
  text-decoration: none;
  color: #102a43;
}

.cp-pagination .current {
  background: #0b3c5d;
  color: #ffffff;
  border-color: #0b3c5d;
}
.cp-single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.cp-single-thumb img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
