/*
Theme Name: TrendingPrompt V7
Theme URI: https://trendingprompt.in/
Author: TrendingPrompt
Description: Premium AI prompt library theme with multi-prompt editor, SEO fields, social links and separate blog.
Version: 7.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trendingprompt
*/
:root{--tp-primary:#1764c0;--tp-primary-dark:#104b98;--tp-soft:#edf4ff;--tp-ink:#14243b;--tp-muted:#737f90;--tp-line:#e3e8ef;--tp-bg:#f7f9fc;--tp-card:#fff;--tp-shadow:0 12px 36px rgba(18,42,75,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tp-bg);color:var(--tp-ink);font:16px/1.7 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}a{color:var(--tp-primary);text-decoration:none}a:hover{color:var(--tp-primary-dark)}img{max-width:100%;height:auto}.tp-wrap{width:min(1180px,calc(100% - 34px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid var(--tp-line)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between}.site-brand{font-weight:850;font-size:25px;letter-spacing:-.8px;color:#14243b}.site-brand span{color:#1764c0}.custom-logo{max-height:56px;width:auto}.menu-toggle{width:58px;height:58px;border:0;border-radius:19px;background:#edf4ff;color:#1764c0;font-size:29px;cursor:pointer}.drawer-backdrop{position:fixed;inset:0;background:rgba(7,20,39,.48);z-index:120;opacity:0;visibility:hidden;transition:.22s}.drawer-backdrop.open{opacity:1;visibility:visible}.side-drawer{position:fixed;z-index:130;right:0;top:0;height:100dvh;width:min(470px,88vw);background:#fff;box-shadow:-20px 0 60px #07142724;transform:translateX(105%);transition:transform .25s;padding:30px 28px;overflow:auto}.side-drawer.open{transform:translateX(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:23px;border-bottom:1px solid var(--tp-line)}.drawer-head .site-brand{font-size:25px}.drawer-close{border:0;background:#edf4ff;color:#1764c0;border-radius:15px;width:52px;height:52px;font-size:30px;cursor:pointer}.drawer-search{display:flex;gap:8px;margin:25px 0 31px;padding:7px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:17px;box-shadow:0 8px 25px #14243b10}.drawer-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:11px 13px;font:inherit;font-size:16px}.drawer-search button{border:0;border-radius:12px;background:#1764c0;color:white;padding:0 21px;font-weight:750}.drawer-label{font-size:14px;text-transform:uppercase;letter-spacing:.6px;color:#748093;margin:0 0 10px;font-weight:800}.drawer-menu{list-style:none!important;margin:0 0 30px!important;padding:0!important}.drawer-menu li{border-bottom:1px solid #e4e9f0}.drawer-menu a{display:block;padding:16px 8px;font-size:20px;font-weight:550;color:#14243b}.drawer-menu a:hover{color:#1764c0;padding-left:14px}.important-label{margin-top:12px}.drawer-note{margin-top:22px;background:#f1f6fd;border:1px solid #e1ebf8;border-radius:16px;padding:17px;color:#53657b;font-size:15px}
.home-hero{padding:62px 0 34px;text-align:center;background:linear-gradient(135deg,#0758c9 0%,#1676e8 58%,#2691f2 100%);color:#fff}.hero-kicker{display:inline-block;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:40px;padding:7px 16px;font-size:13px;font-weight:800;letter-spacing:.5px}.home-hero h1{font-size:clamp(30px,5vw,52px);line-height:1.13;letter-spacing:-1.5px;max-width:900px;margin:19px auto 13px}.home-hero p{max-width:760px;margin:0 auto;color:#e2edff;font-size:18px}.tp-search{display:flex;align-items:center;max-width:760px;margin:28px auto 18px;padding:7px 8px 7px 20px;background:#fff;border:1px solid #e7e1f2;border-radius:22px;box-shadow:0 9px 28px #0a2c5a22}.tp-search input{border:0;outline:0;min-width:0;flex:1;padding:12px 8px;background:transparent;font:inherit;font-size:17px;color:var(--tp-ink)}.tp-search button{width:52px;height:52px;border:0;border-radius:14px;background:var(--tp-primary);color:#fff;font-size:21px;cursor:pointer}
.social-row{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:nowrap;margin:15px auto 22px;max-width:760px}.social-btn{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:46px;padding:9px 12px;border-radius:13px;color:#fff;font-size:14px;font-weight:750;white-space:nowrap;box-shadow:0 5px 14px #21163a12}.social-btn:hover{color:#fff;filter:brightness(.94)}.social-instagram{background:#d94783}.social-telegram{background:#239bd7}.social-whatsapp{background:#20a765}.popular-tags{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:22px auto 0}.popular-tags strong{color:var(--tp-muted);margin-right:5px}.popular-tags a{background:#fff;border:1px solid var(--tp-line);border-radius:40px;padding:9px 17px;color:#55536a;box-shadow:0 4px 14px #251a4a08}.popular-tags a:hover{border-color:#cfc1ff;color:var(--tp-primary)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:36px 0 18px}.section-head h2{font-size:clamp(23px,3vw,30px);margin:0;line-height:1.2}.section-head p{margin:5px 0 0;color:var(--tp-muted)}.section-link{font-weight:750}.feed-shell{padding:10px 0 48px}.feed-tabs{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--tp-line);padding-bottom:16px;margin-bottom:22px}.feed-tabs a{padding:9px 17px;border-radius:40px;color:var(--tp-muted);font-weight:750}.feed-tabs a.active,.feed-tabs a:hover{background:var(--tp-soft);color:var(--tp-primary)}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.prompt-card{overflow:hidden;border:1px solid var(--tp-line);border-radius:24px;background:#fff;box-shadow:var(--tp-shadow);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;min-width:0}.prompt-card:hover{transform:translateY(-4px);box-shadow:0 17px 40px #32245b17}.prompt-image{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:#f0edf7}.prompt-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.prompt-card:hover .prompt-image img{transform:scale(1.025)}.like-pill{position:absolute;right:12px;top:12px;border-radius:30px;background:#fff;padding:6px 12px;color:#28243a;font-weight:750;box-shadow:0 3px 12px #0002}.prompt-body{padding:16px 17px 15px;display:flex;flex-direction:column;flex:1}.prompt-category{align-self:flex-start;background:var(--tp-soft);color:#6044c1;padding:6px 13px;border-radius:30px;font-size:13px;font-weight:750;margin-bottom:11px}.prompt-title{font-size:20px;line-height:1.3;margin:0 0 14px;color:var(--tp-ink);font-weight:700}.prompt-title a{color:inherit}.prompt-meta{display:flex;gap:16px;margin-top:auto;color:var(--tp-muted);font-size:13px}.empty-state{padding:55px 18px;text-align:center;background:#fff;border:1px dashed var(--tp-line);border-radius:20px;color:var(--tp-muted)}
.blog-section{padding:30px 0 55px}.blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.blog-card{background:#fff;border:1px solid var(--tp-line);border-radius:21px;padding:17px;box-shadow:var(--tp-shadow)}.blog-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}.blog-card h3{font-size:21px;line-height:1.3;margin:12px 0 7px}.blog-card h3 a{color:var(--tp-ink)}.blog-card p{color:var(--tp-muted);margin:0 0 12px}.read-more{font-weight:750}
.content-wrap{max-width:900px;margin:36px auto 60px;background:#fff;border:1px solid var(--tp-line);border-radius:25px;padding:clamp(20px,4vw,48px);box-shadow:var(--tp-shadow)}.entry-title{font-size:clamp(29px,5vw,44px);line-height:1.18;letter-spacing:-.8px;margin:10px 0 15px}.entry-content{font-size:17px;line-height:1.85}.entry-content h2,.prompt-section h2{font-size:26px;line-height:1.3;margin:34px 0 12px}.entry-content h3{font-size:21px}.entry-content img{border-radius:15px}.prompt-section{margin-top:30px}.prompt-intro{font-size:17px;color:#565468}.prompt-item{border:1px solid var(--tp-line);border-radius:21px;overflow:hidden;margin:22px 0;background:#fff}.prompt-item-head{background:var(--tp-soft);padding:13px 18px;font-size:19px;font-weight:800;color:#5d43b4}.prompt-item-body{padding:19px}.prompt-item-image{display:block;width:min(100%,560px);max-height:650px;object-fit:contain;margin:0 auto 18px;border-radius:15px;background:#f5f3f9}.prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8f6fc;border:1px solid #e8e1f8;border-radius:15px;padding:17px;font:15px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;color:#2d2940}.copy-prompt{border:0;border-radius:12px;background:var(--tp-primary);color:#fff;padding:12px 18px;font-weight:800;margin-top:12px;cursor:pointer}.copy-prompt:hover{background:var(--tp-primary-dark)}.info-panel{padding:20px;border:1px solid var(--tp-line);border-radius:18px;background:#fcfbff;margin:22px 0}.info-panel h2{margin-top:0}.tips-list{padding-left:22px}.related-links{display:flex;gap:9px;flex-wrap:wrap}.related-links a{background:var(--tp-soft);padding:8px 13px;border-radius:10px;font-weight:650}
.pagination{text-align:center;margin:30px 0}.page-numbers{display:inline-block;padding:8px 13px;margin:3px;background:#fff;border:1px solid var(--tp-line);border-radius:9px}.page-numbers.current{background:var(--tp-primary);color:#fff}
.site-footer{background:#102440;color:#dce7f5;padding:58px 0 22px;margin-top:28px}.footer-inner{max-width:1180px}.footer-about{max-width:850px;margin-bottom:48px}.footer-brand{font-size:29px;color:#fff;font-weight:850;letter-spacing:-.7px}.footer-brand span{color:#60a5fa}.site-footer p{color:#d0dced;font-size:17px;line-height:1.8;margin:18px 0 0}.footer-section{margin:0 0 42px}.footer-section h2{color:#fff;font-size:25px;line-height:1.3;margin:0 0 22px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:0 0 13px}.footer-links a{display:inline-block;color:#dce7f5;font-size:18px;line-height:1.6}.footer-links a:hover{color:#80baff}.footer-bottom{border-top:1px solid #31445f;margin-top:45px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.footer-bottom p{margin:0;color:#aebed2;font-size:14px}.footer-social{display:flex;gap:9px;flex-wrap:wrap}.footer-social a{color:#e2ecf8;border:1px solid #425773;border-radius:10px;padding:6px 11px;font-size:13px}
@media(max-width:850px){.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:540px){.tp-wrap{width:calc(100% - 22px)}.side-drawer{width:min(470px,90vw);padding:24px 22px}.drawer-menu a{font-size:19px;padding:16px 7px}.footer-about{margin-bottom:42px}.footer-section{margin-bottom:36px}.footer-section h2{font-size:24px}.footer-links a{font-size:18px}.footer-bottom{display:block}.footer-social{margin-top:15px}.header-inner{height:72px}.site-brand{font-size:20px}.menu-toggle{width:53px;height:53px}.home-hero{padding:42px 0 24px}.home-hero p{font-size:15px;padding:0 8px}.tp-search{margin:22px auto 14px;padding:5px 6px 5px 15px}.tp-search input{font-size:15px}.tp-search button{width:45px;height:45px}.social-row{gap:6px;margin:13px auto 18px}.social-btn{font-size:11px;min-height:42px;padding:8px 4px;gap:4px;border-radius:11px}.social-btn .social-icon{font-size:14px}.popular-tags{gap:7px}.popular-tags a{font-size:13px;padding:7px 12px}.section-head{margin-top:27px}.prompt-grid{gap:11px}.prompt-card{border-radius:19px}.prompt-body{padding:12px 11px}.prompt-title{font-size:16px}.prompt-category{font-size:11px;padding:5px 10px;margin-bottom:9px}.prompt-meta{font-size:11px;gap:8px}.like-pill{font-size:12px;padding:5px 9px;right:8px;top:8px}.feed-tabs{gap:3px}.feed-tabs a{font-size:13px;padding:8px 10px}.blog-grid{grid-template-columns:1fr}.content-wrap{margin:20px auto 38px;padding:20px 15px}.entry-content{font-size:16px}.prompt-item-body{padding:13px}.footer-grid{grid-template-columns:1fr;gap:24px}.footer-grid>div:first-child{grid-column:auto}.site-footer{padding-top:38px}}

/* V7.1 layout refinements */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}.feed-shell{padding-top:30px}.social-row{margin-bottom:0}.home-hero{padding-bottom:38px}
