/* Theavy_MMO theme — WordPress-specific styles (blog, pages, comments, admin bar). Design tokens come from app.css */
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }

.page-hero { color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(245, 184, 61, .18), transparent 60%), linear-gradient(135deg, #10143A, #1D2260 60%, #2A1446); padding: 48px 0 44px; }
.page-hero h1 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); }
.page-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .75); max-width: 720px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.narrow { max-width: 880px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1B2150, #3A2A6E); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img-ph { display: block; height: 100%; }
.pc-txt { padding: 18px 20px 22px; }
.pc-txt h2 { font-size: 18px; margin: 4px 0 8px; }
.pc-txt h2 a:hover { color: var(--brand); }
.pc-txt p { color: var(--muted); font-size: 14.5px; margin: 0; }

.entry { padding: 34px 40px; }
.entry-thumb { width: 100%; height: auto; border-radius: 14px; margin-bottom: 20px; }
.entry-tags a { display: inline-block; margin: 14px 6px 0 0; padding: 4px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none; }
.entry .alignwide { margin-left: -40px; margin-right: -40px; max-width: none; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry figure { margin: 18px 0; }
.entry figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.wp-block-button__link { border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff !important; text-decoration: none !important; font-weight: 700; }

.wp-pagination { gap: 6px; }
.wp-pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; padding: 0 10px; }
.wp-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.wp-search { display: flex; gap: 10px; max-width: 480px; margin: 16px auto 0; }
.comments { margin-top: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.comment-list .avatar { border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.comment-form input[type=submit] { border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); cursor: pointer; }
.comment-form p { margin-bottom: 14px; }

.big404 { padding: 70px 24px; }
.code404 { display: block; font-size: 110px; font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--brand), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.footer-grid .menu-item { list-style: none; }
.footer-menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } .entry { padding: 22px 18px; } .entry .alignwide { margin-left: -18px; margin-right: -18px; } }
