/*
Theme Name: VPNWiseLab
Theme URI: https://www.vpnwiselab.com
Author: VPNWiseLab
Description: Premium, fast affiliate theme for VPN reviews, comparisons and privacy guides. On activation it creates all site pages (home, reviews, comparison, guides, legal), the main menu and the static homepage. Affiliate links are managed in Appearance → VPNWiseLab Settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vpnwiselab
Tags: one-column, custom-menu, accessibility-ready, blog, news
*/

/* Main styles live in assets/css/styles.css. WordPress-specific tweaks below. */

/* Keep the sticky header below the admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Default WordPress content (blog posts, new pages) */
.wp-prose img { height: auto; border-radius: 14px; }
.wp-prose figure { margin: 1.5rem 0; }
.wp-prose figcaption { font-size: 0.85rem; color: var(--muted); }
.wp-prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--blue-500); background: var(--surface); border-radius: 0 12px 12px 0; }
.wp-prose pre { overflow-x: auto; background: var(--navy-900); color: var(--on-dark); padding: 1rem; border-radius: 12px; }
.alignwide { margin-inline: calc(50% - 50vw + 1.25rem); max-width: 1200px; }
.alignleft { float: left; margin: 0.3rem 1.25rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.25rem; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption-text, .gallery-caption { font-size: 0.85rem; color: var(--muted); }
.sticky, .bypostauthor { display: block; }

.post-list { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-list .article-card__art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pagination { margin-top: 2.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.post-meta { color: var(--on-dark-muted); font-size: 0.9rem; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] { flex: 1; min-height: 46px; border: 1px solid #cfd9ea; border-radius: 999px; padding: 0 1rem; font: inherit; }
