/*
Theme Name: StealthGram
Theme URI: https://stealthgrams.com/
Description: Informational guide homepage for StealthGram - anonymous Instagram story viewing explained. Homepage content copied from the supplied preview; the Latest From the Blog section shows live WordPress posts automatically.
Version: 1.0.6
Author: StealthGram
*/
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.65;color:#1f2937;margin:0;background:#faf7ff}
a{color:#7c3aed;text-decoration:none}
a:hover{text-decoration:underline}
.topbar{background:#fff;border-bottom:1px solid #e9d5ff;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0}
.logo{font-size:22px;font-weight:800;background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);-webkit-background-clip:text;background-clip:text;color:transparent}
.topbar span{font-size:14px;color:#6b7280}
.hero{background:linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);color:#fff;padding:56px 20px 48px;text-align:center}
.hero h1{font-size:42px;line-height:1.1;margin:0 0 12px}
.hero p.tagline{font-size:20px;max-width:680px;margin:0 auto 18px;opacity:.95}
.hero p.intro{max-width:680px;margin:0 auto;opacity:.92}
.pill{display:inline-block;margin-top:20px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:9px 16px;font-size:14px}
.wrap{max-width:860px;margin:0 auto;padding:0 18px 48px}
.section{background:#fff;border:1px solid #ede9fe;border-radius:16px;padding:26px 26px 8px;margin-top:24px;box-shadow:0 6px 24px rgba(124,58,237,.08)}
.section h2{font-size:26px;margin:0 0 12px;color:#111827}
.section h2:after{content:"";display:block;width:56px;height:4px;background:linear-gradient(90deg,#f09433,#bc1888);border-radius:4px;margin-top:8px}
.section h3{font-size:18px;margin:20px 0 6px}
.grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:18px 0}
.card{background:#fdfaff;border:1px solid #ede9fe;border-radius:14px;padding:18px}
.card h3{margin-top:0;color:#6d28d9}
.steps{list-style:none;padding:0;counter-reset:step}
.steps li{counter-increment:step;display:flex;gap:14px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;margin:10px 0}
.steps li:before{content:counter(step);flex:0 0 34px;height:34px;border-radius:50%;background:linear-gradient(45deg,#f09433,#bc1888);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.pros{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;padding:18px}
.cons{background:#fef2f2;border:1px solid #fecaca;border-radius:14px;padding:18px}
.pros h3{color:#15803d}.cons h3{color:#b91c1c}
.faq{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px;margin:12px 0}
.faq h3{margin-top:0}
.blog{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:16px 0}
.blog article{background:linear-gradient(180deg,#fff,#fdf2f8);border:1px solid #fbcfe8;border-radius:14px;padding:18px;font-weight:600}
.btn{display:inline-block;background:linear-gradient(45deg,#f09433,#bc1888);color:#fff !important;padding:10px 20px;border-radius:999px;font-weight:700;margin-top:6px}
.blog article span{display:block;font-size:13px;color:#6b7280;font-weight:400;margin-top:8px}
.blog article a{color:#1f2937}
.callout{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:18px;margin:16px 0}
footer{background:#111827;color:#d1d5db;text-align:center;padding:28px 20px;margin-top:32px;font-size:14px}
@media(max-width:640px){.hero h1{font-size:32px}.grid,.two,.blog{grid-template-columns:1fr}.section{padding:20px 18px 6px}}

/* Layout guard: force the page to stack vertically even if another stylesheet or template wrapper sets a flex/grid row on the page. */
html,body{display:block !important;width:100% !important}
.stealthgram-page{display:block !important;width:100% !important;flex:none !important}
.stealthgram-page .topbar{display:flex !important;width:100% !important;flex:none !important}
.stealthgram-page header.hero{display:block !important;width:100% !important;flex:none !important}
.stealthgram-page .wrap{display:block !important;width:100% !important;max-width:860px !important;margin-left:auto !important;margin-right:auto !important;flex:none !important}
.stealthgram-page main{display:block !important;width:100% !important;flex:none !important}
.stealthgram-page footer{display:block !important;width:100% !important;flex:none !important;clear:both}

/* Header/footer menus, auto pages, admin fallback */
.topbar{flex-wrap:wrap;gap:12px 20px}
a.logo{text-decoration:none}
a.logo:hover{text-decoration:none}
.stealthgram-menu{list-style:none;margin:0;padding:0;display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.stealthgram-menu li{margin:0}
.stealthgram-menu a{color:#1f2937;font-weight:600;font-size:15px}
.stealthgram-menu a:hover{color:#7c3aed}
.footer-menu{margin:10px 0 0}
.footer-menu a{color:#d1d5db;font-weight:600}
.footer-menu a:hover{color:#fff}
@media(max-width:640px){.topbar span{display:none}.stealthgram-menu{gap:14px}.stealthgram-menu a{font-size:14px}}

/* Featured images + blog pagination v1.0.6 */
.blog article img{width:100%;height:160px;object-fit:cover;border-radius:10px;margin-bottom:12px;display:block}
.blog article a{display:block}
.post-thumb img{width:100%;height:auto;border-radius:14px;margin-bottom:16px;display:block}
.nav-links{margin:24px 0 8px;text-align:center}
.nav-links a,.nav-links span{display:inline-block;padding:8px 14px;margin:0 4px;background:#fff;border:1px solid #ede9fe;border-radius:999px;font-weight:600}
.nav-links span.current{background:linear-gradient(45deg,#f09433,#bc1888);color:#fff !important;border-color:transparent}
