/*
Theme Name: askNNY.ai Modern
Theme URI: https://asknny.ai/
Author: Digital Media USA
Description: A modern, app-like WordPress theme built around the askNNY.ai regional knowledge assistant.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: asknny-ai
*/

:root{
  --ask-bg:#061426;
  --ask-bg-2:#0a2139;
  --ask-panel:#0d2238;
  --ask-panel-2:#122b45;
  --ask-line:rgba(143,195,235,.18);
  --ask-text:#f4f8fc;
  --ask-muted:#afc2d4;
  --ask-accent:#22c7f4;
  --ask-accent-2:#168cff;
  --ask-max:1180px;
  --ask-radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(145deg,var(--ask-bg),#081b31 48%,#061325);color:var(--ask-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.55}
a{color:inherit}
img{max-width:100%;height:auto}
.ask-container{width:min(calc(100% - 36px),var(--ask-max));margin-inline:auto}
.ask-site-header{position:sticky;top:0;z-index:50;background:rgba(5,17,31,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--ask-line)}
.ask-header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ask-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:1.35rem;font-weight:760;letter-spacing:-.04em}
.ask-logo-dot{width:11px;height:11px;border-radius:50%;background:var(--ask-accent);box-shadow:0 0 22px var(--ask-accent)}
.ask-word{font-weight:540}.nny-word{font-weight:820}.ai-word{color:#67defb;font-weight:760}
.ask-nav{display:flex;gap:24px;align-items:center}.ask-nav a{text-decoration:none;color:#c9d8e6;font-size:.94rem}.ask-nav a:hover{color:#fff}
.ask-menu-toggle{display:none;border:1px solid var(--ask-line);background:var(--ask-panel);color:#fff;border-radius:10px;padding:8px 11px}
.ask-hero{padding:70px 0 34px;min-height:calc(100vh - 74px);display:flex;align-items:center}
.ask-hero-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr);gap:58px;align-items:center}
.ask-eyebrow{display:inline-flex;padding:7px 12px;border:1px solid rgba(34,199,244,.3);border-radius:999px;color:#86e8ff;background:rgba(34,199,244,.07);font-size:.84rem;margin-bottom:22px}
.ask-hero h1{margin:0;font-size:clamp(3.5rem,7vw,6.2rem);line-height:.88;letter-spacing:-.075em}
.ask-lede{font-size:clamp(1.35rem,2.2vw,2rem);max-width:580px;margin:28px 0 12px;line-height:1.18;letter-spacing:-.03em}
.ask-intro{max-width:620px;color:var(--ask-muted);font-size:1.02rem}.ask-intro p{margin:0}
.ask-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.ask-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 19px;border-radius:999px;text-decoration:none;border:1px solid var(--ask-line);background:rgba(255,255,255,.06);font-weight:700}.ask-button.primary{background:linear-gradient(135deg,var(--ask-accent),var(--ask-accent-2));color:#03101d;border-color:transparent}
.ask-chat-shell{position:relative}.ask-chat-shell:before{content:"";position:absolute;inset:-30px;background:radial-gradient(circle,rgba(34,199,244,.16),transparent 66%);filter:blur(10px);pointer-events:none}
.ask-chat-frame{position:relative;padding:14px;border:1px solid rgba(126,196,236,.25);border-radius:30px;background:linear-gradient(155deg,rgba(255,255,255,.13),rgba(255,255,255,.035));box-shadow:0 28px 80px rgba(0,0,0,.35)}

/* Exact Knowledge Chatbot integration. These rules intentionally use high specificity. */
body .ask-chat-frame .wpkc-chatbot{--wpkc-accent:var(--ask-accent)!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:19px!important;overflow:hidden!important;background:#091a2d!important;box-shadow:none!important;color:#eef7ff!important;font-family:inherit!important}
body .ask-chat-frame .wpkc-chat-header{display:none!important}
body .ask-chat-frame .wpkc-chat-messages{min-height:460px!important;max-height:620px!important;padding:20px!important;background:linear-gradient(180deg,#0b2035,#08192b)!important;color:#f4f8fc!important}
body .ask-chat-frame .wpkc-message{margin-bottom:14px!important}
body .ask-chat-frame .wpkc-bubble{max-width:90%!important;padding:13px 15px!important;border-radius:16px!important;line-height:1.56!important;box-shadow:none!important}
body .ask-chat-frame .wpkc-message-assistant .wpkc-bubble{background:#132c45!important;border:1px solid rgba(131,190,231,.22)!important;color:#f6fbff!important;-webkit-text-fill-color:#f6fbff!important}
body .ask-chat-frame .wpkc-message-assistant .wpkc-bubble *:not(a):not(button){color:#f6fbff!important;-webkit-text-fill-color:#f6fbff!important}
body .ask-chat-frame .wpkc-message-user .wpkc-bubble{background:linear-gradient(135deg,#1cc7f4,#178ffb)!important;border:0!important;color:#031322!important;-webkit-text-fill-color:#031322!important;font-weight:650!important}
body .ask-chat-frame .wpkc-chat-form{padding:14px!important;gap:10px!important;background:#0b1d31!important;border-top:1px solid rgba(139,195,235,.2)!important}
body .ask-chat-frame .wpkc-chat-form textarea{min-height:58px!important;background:#f7fbfe!important;color:#071525!important;-webkit-text-fill-color:#071525!important;border:1px solid #c6d7e4!important;border-radius:13px!important;padding:13px!important;caret-color:#071525!important}
body .ask-chat-frame .wpkc-chat-form textarea::placeholder{color:#657789!important;opacity:1!important;-webkit-text-fill-color:#657789!important}
body .ask-chat-frame .wpkc-chat-form button{min-width:76px!important;background:linear-gradient(135deg,#22c7f4,#168cff)!important;color:#03101d!important;-webkit-text-fill-color:#03101d!important;border-radius:13px!important;font-weight:800!important}
body .ask-chat-frame .wpkc-disclaimer{margin:0!important;padding:0 16px 15px!important;background:#0b1d31!important;color:#a9bdcf!important;-webkit-text-fill-color:#a9bdcf!important}
body .ask-chat-frame .wpkc-sources{border-color:rgba(166,207,236,.22)!important;color:#dcecf8!important}
body .ask-chat-frame .wpkc-sources a{color:#74ddff!important;-webkit-text-fill-color:#74ddff!important}
body .ask-chat-frame .wpkc-feedback{border-color:rgba(166,207,236,.2)!important;color:#dcecf8!important}
body .ask-chat-frame .wpkc-feedback button{background:#edf7fd!important;color:#071525!important;-webkit-text-fill-color:#071525!important;border-color:#b8d3e5!important}
body .ask-chat-frame .wpkc-sponsored-card{color:#1b2430!important;-webkit-text-fill-color:#1b2430!important}
body .ask-chat-frame .wpkc-sponsored-card *:not(.wpkc-sponsored-button){color:#1b2430!important;-webkit-text-fill-color:#1b2430!important}

.ask-questions{padding:18px 0 54px}.ask-section-label{margin:0 0 14px;font-size:1rem}.ask-question-list{display:flex;flex-wrap:wrap;gap:10px}.ask-question{border:1px solid var(--ask-line);background:rgba(255,255,255,.055);color:#eaf4fc;padding:10px 14px;border-radius:999px;cursor:pointer;font:inherit;text-align:left}.ask-question:hover{border-color:rgba(34,199,244,.7);background:rgba(34,199,244,.1)}
.ask-info{padding:24px 0 80px}.ask-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ask-card{padding:25px;border:1px solid var(--ask-line);border-radius:18px;background:rgba(255,255,255,.045)}.ask-card h3{margin:0 0 8px}.ask-card p{margin:0;color:var(--ask-muted)}
.ask-content-wrap{width:min(calc(100% - 36px),880px);margin:64px auto 90px}.ask-content-wrap h1{font-size:clamp(2.4rem,6vw,4.3rem);letter-spacing:-.05em}.ask-content-wrap p,.ask-content-wrap li{color:#c8d7e5}.ask-content-wrap a{color:#6fdfff}
.ask-site-footer{border-top:1px solid var(--ask-line);padding:30px 0;color:#92a9bc}.ask-footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.ask-footer-nav{display:flex;gap:18px}.ask-footer-nav a{text-decoration:none}
.ask-chat-placeholder{padding:32px;color:#eaf4fc;background:#112a43;border-radius:16px}

@media(max-width:950px){.ask-hero{padding-top:44px}.ask-hero-grid{grid-template-columns:1fr;gap:38px}.ask-chat-shell{width:100%}.ask-info-grid{grid-template-columns:1fr}.ask-chat-frame{padding:10px}}
@media(max-width:680px){.ask-container{width:min(calc(100% - 24px),var(--ask-max))}.ask-nav{display:none;position:absolute;top:74px;left:12px;right:12px;padding:16px;flex-direction:column;align-items:flex-start;background:#0a1e33;border:1px solid var(--ask-line);border-radius:14px}.ask-nav.is-open{display:flex}.ask-menu-toggle{display:block}.ask-hero{padding-top:36px}.ask-hero h1{font-size:3.55rem}.ask-actions{margin-top:22px}body .ask-chat-frame .wpkc-chat-messages{min-height:400px!important;max-height:62vh!important;padding:13px!important}body .ask-chat-frame .wpkc-chat-form{flex-direction:column!important}body .ask-chat-frame .wpkc-chat-form button{min-height:48px!important}.ask-question-list{display:grid}.ask-question{border-radius:14px}.ask-footer-inner{flex-direction:column}}
