/*
Theme Name: QuestionAm Custom Q&A Theme
Theme URI: https://questionam.com/
Author: Custom Developer
Description: Brainly style Q&A layout for Standard WordPress Posts.
Version: 1.1.0
Text Domain: questionam-custom
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: #222; background-color: #f3f4f6; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Expanded Container Width */
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Header & Topbar Styling */
.top-bar { background-color: #0f172a; color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-menu ul { list-style: none; display: flex; gap: 15px; }
.top-bar-menu a { color: #cbd5e1; }

.main-header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 15px 0; }
.main-header.is-sticky { position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.primary-navigation ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.primary-navigation a { color: #0f172a; font-weight: 600; font-size: 15px; }

/* Brainly UI Card Styling */
.q-card-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.a-card-box { background: #ffffff; border: 2px solid #22c55e; border-radius: 12px; padding: 28px; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.08); }