/*
Theme Name: Promptly AI Prompts
Theme URI: https://example.com/promptly
Author: Promptly
Description: A polished AI prompt library theme with responsive cards, categories, search, and media-ready prompt posts.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: promptly
*/

:root{--ink:#252322;--muted:#77716c;--line:#e8e3dc;--paper:#fbfaf8;--card:#fff;--accent:#e97151;--soft:#f4f0eb;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.site-shell{min-height:100vh}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:10;background:rgba(251,250,248,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--ink);color:white}.brand-dot{color:var(--accent)}.main-nav{display:flex;gap:30px;color:#6c6763;font-size:13px;font-weight:600}.main-nav a:hover,.footer-links a:hover{color:var(--ink)}.header-cta{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:600}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;background:var(--ink);color:white;padding:12px 18px;font-weight:700;border:0;cursor:pointer}.button:hover{transform:translateY(-1px)}.hero{padding:88px 0 76px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:42px}.eyebrow{display:inline-flex;padding:8px 14px;border:1px solid #ead9d1;background:#fff7f3;border-radius:999px;color:#cf6243;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em}.hero h1{font-size:clamp(48px,6.3vw,76px);line-height:.98;letter-spacing:-.065em;margin:20px 0 0;max-width:720px}.serif{font-family:Georgia,serif;font-weight:400;font-style:italic;color:var(--accent)}.hero-copy{max-width:550px;margin:24px 0 0;color:var(--muted);font-size:17px}.search-form{display:flex;align-items:center;max-width:560px;margin-top:34px;background:white;border:1px solid #ded8d0;border-radius:16px;padding:6px;box-shadow:0 10px 30px rgba(47,39,34,.06)}.search-form input{min-width:0;flex:1;border:0;outline:0;padding:12px;font-size:14px;background:transparent}.search-form button{border:0;background:transparent;font-size:18px;cursor:pointer}.hero-art{padding:12px;background:#f4eee8;border:1px solid #e4dbd3;border-radius:28px;box-shadow:0 18px 45px rgba(47,39,34,.08)}.hero-art img{display:block;width:100%;border-radius:20px}.library{padding:0 0 96px}.section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:28px}.section-kicker{margin:0 0 4px;color:var(--accent);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.16em}.section-head h2{margin:0;font-size:28px;letter-spacing:-.04em}.count{color:#9a938e;font-size:14px}.category-list{display:flex;gap:8px;overflow:auto;padding-bottom:6px;margin-bottom:28px}.category-list a{white-space:nowrap;padding:9px 16px;border:1px solid #e1dbd4;border-radius:999px;background:white;color:var(--muted);font-size:12px;font-weight:700}.category-list a.active,.category-list a:hover{background:var(--ink);border-color:var(--ink);color:white}.prompt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.prompt-card{display:flex;flex-direction:column;min-height:260px;padding:20px;background:var(--card);border:1px solid #e7e1da;border-radius:var(--radius);transition:.2s}.prompt-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(47,39,34,.08)}.prompt-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#ffded2;margin-bottom:26px;font-size:20px}.prompt-card:nth-child(3n+2) .prompt-icon{background:#e6def8}.prompt-card:nth-child(3n) .prompt-icon{background:#d8efe6}.prompt-card h3{font-size:18px;line-height:1.15;letter-spacing:-.035em;margin:0 0 8px}.prompt-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.card-meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:20px;color:#a19a94;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.feature{color:#dc6949;background:#fff1eb;border-radius:999px;padding:3px 8px}.banner{padding:84px 20px;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--soft)}.banner h2{max-width:650px;margin:0 auto;font-size:clamp(34px,4vw,52px);line-height:1.05;letter-spacing:-.055em}.banner p{max-width:490px;margin:20px auto 28px;color:var(--muted);font-size:14px}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:28px 0;color:#9a938e;font-size:12px}.footer-links{display:flex;gap:20px}.page-content{padding:80px 0;max-width:760px}.page-content h1{font-size:56px;line-height:1;letter-spacing:-.06em}.page-content h2{margin-top:40px}.page-content p,.page-content li{color:var(--muted);line-height:1.8}.mobile-toggle{display:none;border:0;background:transparent;font-size:22px}
@media(max-width:800px){.container{width:min(100% - 28px,640px)}.hero{padding:54px 0}.hero-grid{grid-template-columns:1fr;gap:32px}.main-nav{display:none}.main-nav.is-open{display:flex;position:absolute;left:14px;right:14px;top:62px;flex-direction:column;gap:16px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 30px rgba(47,39,34,.1)}.header-cta>a:first-child{display:none}.mobile-toggle{display:block}.prompt-grid{grid-template-columns:repeat(2,1fr)}.site-footer{flex-direction:column}.hero h1{font-size:54px}.page-content h1{font-size:44px}}
@media(max-width:520px){.header-inner{min-height:62px}.hero h1{font-size:48px}.prompt-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column;gap:8px}.header-cta .button{padding:10px 14px}.site-footer{font-size:11px}.footer-links{gap:14px;flex-wrap:wrap}}
.search-empty{padding:40px 0;color:var(--muted)}

/* WordPress editor compatibility */
.alignwide{max-width:1180px;margin-left:auto;margin-right:auto}.wp-block-image img{border-radius:16px}
.post-media{margin:0 0 22px}.post-media img,.post-media video{width:100%;border-radius:18px;display:block}
.post-content{max-width:760px;margin:auto;padding:70px 0}.post-content h1{font-size:clamp(40px,6vw,68px);line-height:1;letter-spacing:-.06em}.post-content p{color:var(--muted);line-height:1.8}
@media(max-width:800px){.post-content{padding:48px 0}}

/*
Upload this folder as a theme. Add featured images to prompts from the WordPress editor;
video URLs can be added to the prompt body and will render in the post content.
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
body{font-family:'DM Sans',Inter,Arial,sans-serif}
.video-embed{aspect-ratio:16/9;width:100%;border:0;border-radius:18px}
.post-type-prompt .entry-meta{color:#9a938e;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
