/*
Theme Name: Stream IPTV UK
Theme URI: https://streamiptvuk.pro/
Author: Stream IPTV UK
Description: Premium dark theme for Stream IPTV UK. Uses the exact same HTML, CSS, JS and assets as the static site, with built-in SEO meta, JSON-LD schema, WhatsApp ordering and one-click setup. Main styles live in assets/css/style.css; this file only adds WordPress-specific rules.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamiptvuk
Tags: dark, one-column, custom-menu, featured-images, blog
*/

/* ---- WordPress-only additions (assets/css/style.css is untouched) ---- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

/* wp_nav_menu outputs <li> items */
.nav li { list-style: none; margin: 0; padding: 0; }
.nav li a, .nav li a:hover { text-decoration: none; }
.nav .current-menu-item > a, .nav .current_page_parent > a { color: var(--text); }
@media (max-width: 920px) { .nav.open li a { display: block; } }

/* Core helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 8px 14px; background: var(--gold); color: #111; z-index: 1000; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose figure { margin: 28px 0; }
.prose figcaption, .wp-caption-text { font-size: .85rem; color: var(--dim); text-align: center; margin-top: 8px; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 28px 0; padding: 4px 0 4px 22px; color: var(--muted); font-style: italic; }
.wp-block-table table { min-width: 0; }

/* Pagination */
.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--grad); color: #1a1405; border-color: transparent; }

/* Comments (if enabled) */
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 18px 20px; margin-bottom: 14px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; }
.comment-form .submit { background: var(--grad); color: #1a1405; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* Search form */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type=search] { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; }
.search-form .search-submit { padding: 13px 22px; border-radius: 999px; border: 0; background: var(--grad); color: #1a1405; font-weight: 600; cursor: pointer; }
