/* Scoped to blog templates so the Elementor site header/footer stay intact. */
#cdc-blog { --cdc-accent:#21b5ec; --cdc-link:#08638a; }
#cdc-blog > .site-header { background:#111; border-bottom:5px solid var(--cdc-accent); }
#cdc-blog > .site-header .hero-bg { display:none; }
#cdc-blog > .site-header .header-inner { display:block; padding-top:130px; padding-bottom:54px; }
#cdc-blog .header-inner h1 { font-size:clamp(30px,3.1vw,46px); max-width:980px; text-transform:none; line-height:1.2; }
#cdc-blog .eyebrow-tag { float:none; display:inline-block; }
#cdc-blog .post-layout { grid-template-columns:minmax(0,760px) minmax(230px,280px); gap:56px; }
#cdc-blog .post-layout > article { min-width:0; }
#cdc-blog .entry-content { max-width:none; font-size:18px; line-height:1.8; overflow-wrap:anywhere; }
#cdc-blog .entry-content > p:first-of-type { font-size:20px; line-height:1.65; color:#222; }
#cdc-blog .entry-content h2 { margin:42px 0 18px; font-size:27px; line-height:1.35; scroll-margin-top:110px; }
#cdc-blog .entry-content h3 { margin:30px 0 12px; font-size:21px; line-height:1.4; scroll-margin-top:110px; }
#cdc-blog .entry-content p { margin-bottom:18px; }
#cdc-blog .entry-content ul, #cdc-blog .entry-content ol { padding-left:25px; margin:18px 0 26px; }
#cdc-blog .entry-content ol { list-style:decimal; }
#cdc-blog .entry-content li { padding-left:5px; margin-bottom:12px; }
#cdc-blog .entry-content a, #cdc-blog .entry-content a:visited { color:var(--cdc-link)!important; text-underline-offset:4px; }
#cdc-blog .entry-content a:hover { color:#111!important; }
#cdc-blog a:focus-visible, #cdc-blog summary:focus-visible, #cdc-blog [tabindex]:focus-visible { outline:3px solid #08638a; outline-offset:5px; }
#cdc-blog .entry-content img { width:auto; max-width:100%; height:auto; margin:28px auto; }
#cdc-blog .entry-content hr { border:0; border-top:1px solid #e3e8eb; margin:28px 0; }
#cdc-blog .cdc-quick-answers { margin:30px 0; padding:28px 30px; background:#f1f8fb; border:0; border-left:4px solid var(--cdc-accent); color:#222; }
#cdc-blog .cdc-quick-answers h2 { margin:0 0 18px; font-size:23px; color:#111; }
#cdc-blog .cdc-quick-answers ul { margin-bottom:0; }
#cdc-blog .cdc-quick-answers li:last-child { margin-bottom:0; }
#cdc-blog .cdc-editorial-toc { border-top:1px solid #d8e0e4; border-bottom:1px solid #d8e0e4; padding:18px 0; margin:30px 0; }
#cdc-blog .cdc-editorial-toc summary { cursor:pointer; font-family:Montserrat,sans-serif; font-weight:700; color:#111; padding:5px 0; }
#cdc-blog .cdc-editorial-toc nav ul { margin-bottom:0; font-size:16px; }
#cdc-blog .cdc-editorial-table { overflow-x:auto; margin:28px 0; border:1px solid #d8e0e4; }
#cdc-blog .cdc-editorial-table table { width:100%; margin:0; border-collapse:collapse; font-size:15px; line-height:1.6; min-width:480px; }
#cdc-blog .cdc-editorial-table th, #cdc-blog .cdc-editorial-table td { text-align:left; vertical-align:top; padding:14px 16px; border:1px solid #d8e0e4; }
#cdc-blog .cdc-editorial-table th { background:#edf6fa; color:#111; }
#cdc-blog .cdc-editorial-table tbody tr:nth-child(even) { background:#f8fafb; }
#cdc-blog .featured-image:not(:has(img)) { display:none; }
#cdc-blog .featured-image { aspect-ratio:16/10; margin-bottom:32px; }
#cdc-blog .cdc-editorial-art { width:100%; height:100%; min-height:74px; display:flex; flex-direction:column; justify-content:center; padding:9%; background:#111; border-bottom:5px solid var(--cdc-accent); color:white; font-family:Montserrat,sans-serif; }
#cdc-blog .cdc-editorial-art span { color:#fff; font-size:clamp(18px,2vw,27px); line-height:1.2; font-weight:300; }
#cdc-blog .cdc-editorial-art small { font-size:11px; letter-spacing:.08em; color:#a7def2; text-transform:uppercase; margin-top:16px; }
#cdc-blog .recent-post .cdc-editorial-art { padding:8px; }
#cdc-blog .recent-post .cdc-editorial-art span { font-size:10px; }
#cdc-blog .recent-post .cdc-editorial-art small { display:none; }
#cdc-blog .cdc-editorial-cta { margin:48px 0 16px; padding:34px; background:#111; border-top:4px solid var(--cdc-accent); }
#cdc-blog .cdc-editorial-cta .cdc-editorial-kicker { font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:#a7def2; margin:0 0 15px; }
#cdc-blog .cdc-editorial-cta h2 { color:#fff; margin:0 0 16px; font-size:29px; font-weight:400; }
#cdc-blog .cdc-editorial-cta p { color:#dedede; font-size:16px; line-height:1.7; }
#cdc-blog .cdc-editorial-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:24px; }
#cdc-blog a.cdc-editorial-button, #cdc-blog a.cdc-editorial-button:visited { background:var(--cdc-accent); color:#071116!important; padding:14px 20px; font-size:15px; font-weight:700; text-decoration:none; }
#cdc-blog a.cdc-editorial-button:hover { background:#89daf7; }
#cdc-blog a.cdc-editorial-phone, #cdc-blog a.cdc-editorial-phone:visited, #cdc-blog a.cdc-editorial-service, #cdc-blog a.cdc-editorial-service:visited { color:#fff!important; font-size:15px; }
#cdc-blog a.cdc-editorial-service { display:inline-block; margin-top:23px; }
#cdc-blog .sidebar .btn { white-space:normal; text-align:center; font-size:14px; padding:16px 14px; }
#cdc-blog .post-card .cat { z-index:1; }
#cdc-blog .post-card .thumb { aspect-ratio:16/10; }
#cdc-blog .post-card .meta, #cdc-blog .recent-post .info span { color:#606971; }
@media(max-width:980px) {
 #cdc-blog .post-layout { grid-template-columns:minmax(0,1fr); gap:42px; }
 #cdc-blog .sidebar { border-top:1px solid #ddd; padding-top:30px; }
 #cdc-blog .sidebar-cta { max-width:480px; }
}
@media(max-width:600px) {
 #cdc-blog > .site-header .header-inner { padding:175px 24px 36px; }
 #cdc-blog .post-layout { padding-top:30px; padding-bottom:45px; }
 #cdc-blog .entry-content { font-size:17px; }
 #cdc-blog .entry-content > p:first-of-type { font-size:18px; }
 #cdc-blog .entry-content h2 { font-size:24px; }
 #cdc-blog .cdc-quick-answers { padding:22px 20px; }
 #cdc-blog .cdc-editorial-cta { padding:25px 22px; }
 #cdc-blog .cdc-editorial-cta h2 { font-size:25px; }
 #cdc-blog .post-meta-row { gap:10px; font-size:12px; }
 #cdc-blog .cta-band .btn { white-space:normal; text-align:center; }
}
@media(prefers-reduced-motion:reduce) { #cdc-blog * { scroll-behavior:auto; transition:none; } }
