/*
Theme Name: Compare Decisions Classic Pages
Theme URI: https://comparedecisions.com
Author: CompareDecisions.com
Description: A modern editorial block theme for comparing products, services, and life decisions.
Version: 0.1.2
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: comparedecisions
*/

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { text-underline-offset: .18em; }
.cd-shadow { box-shadow: 0 18px 50px rgba(21, 43, 41, .09); }
.cd-card { transition: transform .2s ease, box-shadow .2s ease; }
.cd-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(21,43,41,.11); }
.cd-kicker { letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
.cd-pill { border: 1px solid #d9e4df; border-radius: 999px; padding: .35rem .75rem; }
.wp-block-navigation a { text-decoration: none; }
.wp-block-button__link { transition: transform .2s ease, opacity .2s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); opacity: .92; }
.cd-classic-header { align-items: center; background: #FBF7EF; border-bottom: 1px solid #D9E4DF; display: flex; gap: 1.5rem; justify-content: space-between; padding: 1.25rem clamp(1.25rem, 5vw, 5rem); }
.cd-classic-header nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.cd-classic-header a { color: #17302D; text-decoration: none; }
.cd-brand { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 700; }
.cd-classic-hero { background: #DFF3EA; padding: 6rem max(1.25rem, calc((100% - 760px) / 2)); text-align: center; }
.cd-classic-hero h1 { font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.05; margin: .35rem auto 1rem; max-width: 850px; }
.cd-classic-hero > p:not(.cd-kicker) { color: #60736F; font-size: 1.2rem; margin: 0 auto 1.75rem; max-width: 700px; }
.cd-classic-section { margin: 0 auto; max-width: 1180px; padding: 4rem 1.25rem; }
.cd-classic-section h2 { font-family: Georgia, serif; font-size: 2.25rem; text-align: center; }
.cd-classic-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.cd-classic-cards article { background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(21,43,41,.09); padding: 2rem; }
.cd-classic-cards h3 { font-family: Georgia, serif; font-size: 1.5rem; }
.cd-classic-cards a, .cd-classic-method a { color: #1E6258; font-weight: 700; }
.cd-classic-method { text-align: center; }
.cd-classic-page { margin: 0 auto; max-width: 820px; padding: 4rem 1.25rem 5rem; }
.cd-classic-page h1, .cd-classic-page h2, .cd-classic-page h3 { font-family: Georgia, serif; color: #17302D; }
.cd-classic-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: 0; }
.cd-classic-page h2 { font-size: 2rem; margin-top: 2.75rem; }
.cd-classic-page p, .cd-classic-page li { font-size: 1.08rem; line-height: 1.7; }
.cd-button { background: #1E6258; border-radius: 999px; color: #fff !important; display: inline-block; padding: .75rem 1.2rem; text-decoration: none; }
.cd-classic-footer { background: #17302D; color: #fff; padding: 2rem 1.25rem; text-align: center; }
@media (max-width: 700px) {
  .cd-hero { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .cd-hero h1 { font-size: 2.55rem !important; }
  .cd-classic-header { align-items: flex-start; flex-direction: column; }
  .cd-classic-cards { grid-template-columns: 1fr; }
}
