/*
Theme Name: Ask Yashoda
Description: Single-purpose theme for a dedicated "Ask Yashoda" site: every front-end URL shows the AI search full-page, nothing else. Requires the yashoda-ai-search plugin.
Version: 1.0.0
Author: Yashoda Hospitals Digital Team
Text Domain: ask-yashoda
*/

:root { --ay-bg: #f6f6fb; --ay-surface: #ffffff; --ay-ink: #26253a; --ay-ink-2: #4b4a63; --ay-muted: #6f6e87; --ay-line: #e4e3ef; --ay-purple: #5b57b5; --ay-purple-2: #827fc6; --ay-purple-deep: #46429a; --ay-purple-soft: #edecf9; --ay-orange: #f58733; --ay-orange-soft: #fff0e3; --ay-font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --ay-font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; color: var(--ay-ink); font-family: var(--ay-font-body); -webkit-font-smoothing: antialiased; background: radial-gradient(1100px 520px at 50% -240px, rgba(130, 127, 198, .28), transparent 70%), radial-gradient(640px 360px at 100% 8%, rgba(245, 135, 51, .14), transparent 70%), var(--ay-bg); }
a { color: var(--ay-purple); }
.ay-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: clamp(14px, 3vw, 32px); padding-right: clamp(14px, 3vw, 32px); }

/* top bar */
.ay-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 8px; }
.ay-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ay-ink); text-decoration: none; }
.ay-brand img { display: block; height: 46px; width: auto; }
.ay-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.ay-brand__name { font: 600 15px var(--ay-font-display); letter-spacing: .01em; }
.ay-brand__tag { font-size: 11.5px; color: var(--ay-muted); letter-spacing: .06em; text-transform: uppercase; }
.ay-links { display: flex; align-items: center; gap: 8px; }
.ay-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--ay-line); background: var(--ay-surface); color: var(--ay-ink); text-decoration: none; font: 600 13px var(--ay-font-display); white-space: nowrap; transition: border-color .2s, color .2s, background .2s, transform .15s; }
.ay-btn:hover { border-color: var(--ay-purple-2); color: var(--ay-purple); }
.ay-btn:active { transform: scale(.98); }
.ay-btn--primary { background: var(--ay-purple); border-color: var(--ay-purple); color: #fff; }
.ay-btn--primary:hover { background: var(--ay-purple-deep); border-color: var(--ay-purple-deep); color: #fff; }
.ay-btn svg { flex: none; }

/* the widget sits here; the plugin styles it */
.ay-main { flex: 1; padding-top: 8px; padding-bottom: 8px; }
.ay-main .yai { box-shadow: 0 30px 70px -40px rgba(70, 66, 154, .45); border: 1px solid rgba(255, 255, 255, .7); }
.ay-setup { max-width: 60ch; margin: 40px auto; padding: 16px 20px; border-radius: 12px; background: #fff6e5; border: 1px dashed #f3c98a; color: #7a4d0b; }

/* facts under the widget */
.ay-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 18px; padding-bottom: 10px; }
.ay-fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .72); border: 1px solid var(--ay-line); backdrop-filter: blur(6px); }
.ay-fact__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ay-purple-soft); color: var(--ay-purple); }
.ay-fact:nth-child(4) .ay-fact__icon { background: var(--ay-orange-soft); color: var(--ay-orange); }
.ay-fact__title { display: block; font: 600 13.5px/1.3 var(--ay-font-display); color: var(--ay-ink); }
.ay-fact__sub { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--ay-muted); }
.ay-fact a { color: inherit; text-decoration: none; font-weight: 600; }
.ay-fact a:hover { color: var(--ay-purple); }

/* footer */
.ay-footer { padding-top: 14px; padding-bottom: 28px; text-align: center; color: var(--ay-muted); font-size: 12.5px; line-height: 1.7; }
.ay-footer a { color: var(--ay-ink-2); text-decoration: none; font-weight: 600; }
.ay-footer a:hover { color: var(--ay-purple); }

@media (max-width: 900px) { .ay-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.ay-header { padding-top: 10px; }
	.ay-brand img { height: 40px; }
	.ay-brand__text { display: none; } /* the widget's own heading says it; the logo is enough up here */
	.ay-btn span { display: none; }
	.ay-btn { padding: 0 12px; height: 38px; }
	.ay-btn--primary span { display: inline; }
	.ay-trust { grid-template-columns: 1fr; gap: 8px; padding-top: 12px; }
	.ay-fact { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ay-btn { transition: none; } }
