/*
Theme Name: CKCODECONNECT
Theme URI: https://ckcodeconnect.com/
Author: CKCODECONNECT
Description: Lightweight theme that gives every page the CKCODECONNECT design: the same header, footer, fonts and colours as the redesigned site. Works with Elementor and the CK Programmatic SEO plugin (which provides the header, footer and styles).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ckcodeconnect
*/

/* Base styles for pages that are not built with Elementor or the plugin. Brand styles
   (header, footer, buttons, cards, articles) come from the plugin's ck-pseo.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: #4a4a57; background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; }
a { color: #c21f6a; }
h1, h2, h3, h4, h5, h6 { font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif; color: #12114a; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ck-theme-main { min-height: 50vh; }
.ck-theme-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ck-theme-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.ck-page-head { padding: 64px 0 28px; }
.ck-page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 10px 0 0; letter-spacing: -.02em; }
.ck-page-head p { color: #5e5e6b; font-size: 1.08rem; margin: 14px 0 0; max-width: 680px; }
.ck-entry { padding-bottom: 72px; }
.ck-entry > * + * { margin-top: 1.1em; }
.ck-entry .alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.ck-entry .alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.ck-entry table { width: 100%; border-collapse: collapse; }
.ck-entry th, .ck-entry td { border-bottom: 1px solid #ece9f2; padding: 10px 12px; text-align: left; }
.ck-entry input, .ck-entry textarea, .ck-entry select { font: inherit; padding: 10px 12px; border: 1px solid #e0dbe8; border-radius: 8px; max-width: 100%; }
.ck-entry button, .ck-entry input[type=submit], .wp-block-button__link { background: #dd2e7f; color: #fff; border: 0; border-radius: 6px; padding: 13px 24px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.ck-entry button:hover, .ck-entry input[type=submit]:hover, .wp-block-button__link:hover { background: #c21f6a; }
.ck-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 40px; }
.ck-pagination, .navigation.pagination { display: flex; justify-content: center; gap: 8px; padding: 12px 0 80px; flex-wrap: wrap; }
.ck-pagination .page-numbers, .navigation.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #e6e2ee; border-radius: 8px; text-decoration: none; color: #12114a; font-weight: 600; }
.ck-pagination .current, .navigation.pagination .current { background: #dd2e7f; border-color: #dd2e7f; color: #fff; }
.ck-search-form { display: flex; gap: 8px; max-width: 520px; }
.ck-search-form input[type=search] { flex: 1; padding: 14px 18px; border: 1px solid #e0dbe8; border-radius: 999px; font: inherit; }
.ck-search-form button { border-radius: 999px; background: #dd2e7f; color: #fff; border: 0; padding: 0 22px; font-weight: 600; cursor: pointer; font: inherit; }
.ck-404 { text-align: center; padding: 96px 0; }
.ck-404 .ck-404-code { font-family: "Outfit", sans-serif; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; font-weight: 700; color: #fdf1f7; -webkit-text-stroke: 2px #dd2e7f; margin: 0; }
.ck-404 .ck-search-form { margin: 28px auto 0; }
.ck-404-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 900px; margin: 40px auto 0; }
.ck-elementor-full { width: 100%; }
@media (max-width: 900px) { .ck-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ck-archive-grid { grid-template-columns: 1fr; } .ck-page-head { padding-top: 40px; } }
