@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
body { background: linear-gradient(180deg,#0C2240 0%,#0A1F3D 45%,#06142B 100%) fixed !important; color:#B8C6DB; font-family:'Inter',-apple-system,sans-serif; font-size:18px; }
.wp-site-blocks { background: transparent !important; }
h1,h2,h3,h4,h5,h6,.wp-block-site-title { font-family:'Inter',sans-serif; font-weight:700; letter-spacing:-0.02em; color:#fff; }
p { line-height:1.7; font-size:18px; }
a { color:#4ADE9E; } a:hover { color:#fff; }
.wp-block-site-title a { color:#fff; text-decoration:none; font-size:30px !important; font-weight:800; letter-spacing:-0.02em; }
.wp-block-navigation a { color:#C3D2E6; font-size:17px; text-decoration:none; }
.wp-block-navigation a:hover { color:#fff; }
.wp-block-navigation a[aria-current="page"] { color:#4ADE9E !important; font-weight:600; }
header.wp-block-template-part { border-bottom:1px solid rgba(255,255,255,0.06); }
footer.wp-block-template-part { border-top:1px solid rgba(255,255,255,0.06); }

.dd-badge-wrap { margin-bottom:4px !important; }
span.dd-badge { display:inline-block; border:1px solid rgba(74,222,158,.45); border-radius:999px; padding:10px 22px; color:#4ADE9E; font-size:13px; letter-spacing:3px; text-transform:uppercase; font-weight:500; }

.dd-grid-2 { display:grid !important; grid-template-columns:repeat(2,1fr); gap:20px; align-items:stretch !important; }
.dd-book { display:grid !important; grid-template-columns:minmax(220px,300px) 1fr; gap:48px; align-items:center !important; }
@media (max-width:782px){ .dd-grid-2,.dd-book { grid-template-columns:1fr; } }
.dd-grid-2 > .wp-block-group.dd-card { align-self:stretch !important; height:100% !important; display:flex !important; flex-direction:column !important; justify-content:flex-start !important; margin:0 !important; }
.dd-card { background:rgba(255,255,255,0.03) !important; border:1px solid rgba(255,255,255,0.08); border-radius:16px !important; padding:32px !important; }
.dd-card:hover { border-color:rgba(74,222,158,.3); }
.dd-card > * { width:100%; }
.dd-card > *:first-child { margin-top:0 !important; }
.dd-card > *:last-child { margin-bottom:0 !important; }
.dd-card .dd-chip { margin-top:auto !important; align-self:flex-start; width:auto; }
.dd-card:has(.dd-chip) > *:nth-last-child(2) { margin-bottom:22px !important; }
.dd-stat-num { color:#4ADE9E !important; font-size:46px !important; font-weight:800; letter-spacing:-0.02em; margin:0 0 8px 0 !important; line-height:1.1; white-space:nowrap; }
.dd-stat-label { font-size:17px !important; margin:0 !important; }

.dd-chip { display:inline-block; padding:4px 14px !important; border-radius:999px; font-size:11px !important; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; }
.dd-chip-live { background:rgba(52,211,153,.14); color:#6EE7B7 !important; border:1px solid rgba(52,211,153,.35); }
.dd-chip-soon { background:rgba(74,222,158,.10); color:#4ADE9E !important; border:1px solid rgba(74,222,158,.3); }
.dd-tags { line-height:2.4; }
.dd-tag { display:inline-block; margin:0 6px 0 0; padding:6px 15px; border-radius:999px; background:rgba(74,222,158,.08); border:1px solid rgba(74,222,158,.25); color:#9FE7C8; font-size:15px; font-weight:500; white-space:nowrap; }

.wp-block-button:not(.is-style-outline) .wp-block-button__link { background:linear-gradient(90deg,#2FD08F,#8CF0C6) !important; color:#06142B !important; border-radius:999px !important; border:none !important; font-weight:700; font-size:17px !important; padding:15px 32px; }
.wp-block-button.is-style-outline .wp-block-button__link { border:1px solid rgba(255,255,255,.35) !important; border-radius:999px !important; color:#fff !important; background:transparent !important; font-weight:600; font-size:17px !important; padding:15px 32px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color:#fff !important; background:rgba(255,255,255,.06) !important; }

.wpcf7 label { color:#C3D2E6; font-size:16px; font-weight:500; display:block; margin-bottom:16px; }
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 textarea,.wpcf7 select { width:100%; margin-top:6px; padding:13px 15px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14); border-radius:10px; color:#fff; font-family:'Inter',sans-serif; font-size:17px; }
.wpcf7 select { -webkit-appearance:none; appearance:none; }
.wpcf7 select option { background:#0A1F3D; color:#fff; }
.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus { outline:none; border-color:#4ADE9E; }
.wpcf7 input[type="submit"] { background:linear-gradient(90deg,#2FD08F,#8CF0C6); color:#06142B; border:none; border-radius:999px; padding:15px 36px; font-weight:700; font-size:17px; cursor:pointer; }
.wpcf7-response-output { color:#C3D2E6; border-color:rgba(255,255,255,.2) !important; }

/* Blog index / post rendering on dark */
h2.wp-block-post-title a, .wp-block-post-title a { color:#fff; text-decoration:none; }
.wp-block-post-title a:hover { color:#4ADE9E; }
.wp-block-post-date, .wp-block-post-excerpt__excerpt { color:#93A7C4; }
@media (max-width:782px){ h1[style*="font-size:56px"] { font-size:40px !important; } }
/* pill spacing */
.dd-tags { line-height: normal !important; }
.dd-tag { margin: 0 10px 14px 0 !important; }

.dd-card .wp-block-image { margin:0 0 16px; }
.dd-card .wp-block-image img { border-radius:10px; width:100%; height:auto; display:block; }

.dd-vs-list { list-style:none; padding-left:0; margin:0; }
.dd-vs-list li { position:relative; padding-left:28px; margin-bottom:12px; font-size:16px; color:rgba(233,242,255,.75); }
.dd-vs-list li::before { content:'\2715'; position:absolute; left:0; color:rgba(248,113,113,.8); font-weight:700; }
.dd-vs-win li::before { content:'\2713'; color:#4ADE9E; }

/* blog cards */
.dd-bloglist { list-style:none; padding:0; margin:32px 0 0; }
.dd-bloglist > li { margin:0 0 24px; }
.dd-postcard h2 a { color:#fff; text-decoration:none; }
.dd-postcard h2 a:hover { color:#4ADE9E; }
.dd-post-cats { margin-bottom:6px; }
.dd-post-cats a { display:inline-block; margin:0 8px 8px 0; padding:4px 12px; border-radius:999px; background:rgba(74,222,158,.10); border:1px solid rgba(74,222,158,.3); color:#4ADE9E !important; font-size:12px; font-weight:600; letter-spacing:.5px; text-decoration:none; }
.dd-post-meta { color:#7f95b8; font-size:14px; gap:14px; margin:6px 0 12px; }
.dd-postcard .wp-block-post-excerpt__more-link { color:#4ADE9E; text-decoration:none; }
.dd-nav-cta .wp-block-button__link { padding:8px 22px !important; font-size:14px !important; }

.dd-card h3 { margin-bottom:18px !important; }

.dd-bookpromo { align-items:center; gap:24px; }
.dd-bookpromo img { width:96px; height:auto; border-radius:8px; display:block; }
.dd-bookpromo figure { margin:0; }
.dd-bookpromo p { margin:0 0 6px; }

.dd-card.dd-bookpromo .wp-block-image { flex:0 0 auto; margin:0; }
.dd-card.dd-bookpromo .wp-block-image img { width:96px; height:auto; border-radius:8px; }

/* dd-web-design skill pass 2026-07-15 */
header { position:sticky; top:0; z-index:50; background:rgba(8,17,30,.85); backdrop-filter:blur(8px); }
.dd-card { transition:transform .18s ease, box-shadow .18s ease; }
.dd-card:hover { transform:translateY(-3px); box-shadow:0 14px 34px rgba(0,0,0,.35); }
h2.has-text-align-center::after { content:""; display:block; width:56px; height:4px; border-radius:2px; background:linear-gradient(90deg,#2FD08F,#8CF0C6); margin:14px auto 0; }
.dd-grid-2 > * { margin-top:0 !important; margin-block-start:0 !important; }
.wpcf7 form { max-width:640px; }
.wpcf7 label { display:block; font-weight:600; color:#FFFFFF; font-size:15px; margin-bottom:18px; font-family:'Inter',system-ui,sans-serif; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { font-family:'Inter',system-ui,sans-serif; font-size:16px; width:100%; padding:13px 16px; margin-top:8px; border:1.5px solid rgba(74,222,158,.3); border-radius:10px; background:rgba(255,255,255,.06); color:#E7EDF9; box-sizing:border-box; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color:#4ADE9E; outline:none; box-shadow:0 0 0 3px rgba(74,222,158,.18); }
.wpcf7 textarea { min-height:140px; }
.wpcf7 .wpcf7-submit { background:linear-gradient(90deg,#2FD08F,#8CF0C6); color:#07231A; border:none; border-radius:999px; padding:14px 36px; font-weight:700; font-size:16px; cursor:pointer; font-family:'Inter',system-ui,sans-serif; }
.wpcf7 .wpcf7-not-valid-tip { color:#FCA5A5; font-size:14px; margin-top:4px; }
.wpcf7 .wpcf7-response-output { border-radius:10px; padding:14px 18px; font-size:15px; }
/* blog reading + tiled index */
.dd-post-read .wp-block-post-content p, .dd-post-read .wp-block-post-content li { font-size:17.5px; line-height:1.75; }
.dd-post-read .wp-block-post-content h2 { font-size:30px; margin-top:44px; }
.dd-post-read .wp-block-post-featured-image { margin:20px 0 8px; }
.dd-post-read .wp-block-post-featured-image img { border-radius:14px; width:100%; height:auto; }
.dd-postcard .wp-block-post-featured-image { margin:0 0 18px; }
.dd-postcard .wp-block-post-featured-image img { border-radius:10px; width:100%; height:auto; display:block; }
.dd-blog-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.dd-blog-grid > li { margin:0 !important; height:100%; }
.dd-blog-grid .dd-postcard { height:100%; }
.dd-blog-grid .wp-block-post-title { font-size:23px !important; }
@media (max-width:781px){ .dd-blog-grid { grid-template-columns:1fr; } }
.dd-toc { background:rgba(74,222,158,.08); border:1px solid rgba(74,222,158,.3); border-radius:12px; padding:20px 26px; margin:28px 0; }
.dd-toc p { margin:0 0 10px; font-weight:700; color:#fff; font-size:16px; }
.dd-toc ul { list-style:none; margin:0; padding:0; }
.dd-toc li { margin:6px 0; font-size:16px; }
.dd-toc a { color:#4ADE9E; text-decoration:none; }
/* ---- content tables (dd-blog pattern, dark theme) ---- */
.dd-table-wrap{overflow-x:auto;margin:28px 0}
figure.dd-table{margin:28px 0;overflow-x:auto}
table.dd-table,figure.dd-table table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.5}
table.dd-table th,figure.dd-table th{text-align:left;font-weight:700;color:#F8FAFC;background:rgba(255,255,255,.07);padding:10px 14px;border-bottom:2px solid rgba(140,240,198,.45)}
table.dd-table td,figure.dd-table td{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.12);vertical-align:top;color:#CBD5E1}
table.dd-table tbody tr:last-child td,figure.dd-table tbody tr:last-child td{border-bottom:0}
/* ---- nav dropdown (practice areas) ---- */
.wp-block-navigation .wp-block-navigation__submenu-container{background:#0B1F3F !important;color:#E2E8F0 !important;border:1px solid rgba(140,240,198,.25) !important;border-radius:12px;padding:6px;min-width:280px !important;box-shadow:0 12px 32px rgba(0,0,0,.45)}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content{color:#E2E8F0;padding:9px 14px;border-radius:8px;font-size:.95rem}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:rgba(47,208,143,.12);color:#8CF0C6}
.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:#8CF0C6}
/* ---- archive covers keep their native 1600x840 ratio ---- */
.archive .wp-block-post-featured-image{aspect-ratio:1600/840 !important}
.archive .wp-block-post-featured-image img{height:100%;object-fit:cover;border-radius:14px}
/* ---- long-article readability (2026-07-15) ---- */
.dd-post-read .wp-block-post-content > p,
.dd-post-read .wp-block-post-content > ul > li,
.dd-post-read .wp-block-post-content > ol > li{font-size:1.1875rem;line-height:1.85;color:#EDF2F9}
.dd-post-read .wp-block-post-content > p{margin-top:0;margin-bottom:1.45em}
.dd-post-read .wp-block-post-content > h2{margin-top:2.1em;color:#FFFFFF}
.dd-post-read .wp-block-post-content > h3{margin-top:1.6em;color:#F8FAFC}

/* ---- sponsored badge + disclosure ---- */
.dd-sponsored-flag{margin:10px 0 0}
.dd-sponsored-flag a{display:inline-block;background:rgba(245,158,11,.14);color:#FBBF24 !important;border:1px solid rgba(245,158,11,.45);border-radius:999px;padding:2px 12px;font-size:.72rem;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;text-decoration:none}
.dd-sponsored-note{background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.35);border-radius:10px;padding:12px 16px;font-size:.95rem !important;color:#FCD9A0 !important}