/*
Theme Name: IPTV Advisors
Theme URI: https://iptvadvisors.com/
Author: IPTV Advisors
Description: A Techopedia-inspired editorial theme for IPTV Advisors. Clean Inter typography, navy accents, card-based article layouts, and a sidebar-driven post template built for review and how-to content.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: iptv-advisors
Tags: blog, news, three-columns, block-styles, full-site-editing, wide-blocks, custom-colors, custom-logo, custom-menu
*/

/* Base */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #424242; line-height: 1.65; font-size: 16px; background:#fff; }
h1,h2,h3,h4,h5,h6 { color: #1c2642; font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
a { color: #0077cc; text-decoration: none; }
a:hover { color: #1c2642; text-decoration: underline; }
.wp-site-blocks { background:#fff; }

/* Header */
.ipa-header { background:#fff; border-bottom:1px solid #e5e7eb; padding:18px 0; }
.ipa-logo { font-size:26px; font-weight:800; color:#1c2642; letter-spacing:-0.02em; }
.ipa-logo .accent { color:#ffc107; }
.ipa-nav { display:flex; gap:28px; font-weight:500; font-size:15px; flex-wrap:wrap; }
.ipa-nav a { color:#1c2642; padding:8px 0; }
.ipa-nav a:hover { color:#0077cc; text-decoration:none; }

/* Section headings */
.ipa-section-title { font-size:28px; font-weight:700; color:#1c2642; margin:40px 0 22px 0; padding-bottom:12px; border-bottom:2px solid #1c2642; display:flex; align-items:baseline; justify-content:space-between; }
.ipa-section-title .more-link { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:#0077cc; }

/* Top story */
.ipa-top-story { display:grid; grid-template-columns:1.4fr 1fr; gap:32px; margin-bottom:36px; align-items:start; }
.ipa-top-story .hero-image { border-radius:8px; overflow:hidden; aspect-ratio:16/9; background:#f3f4f6; }
.ipa-top-story .hero-image img { width:100%; height:100%; object-fit:cover; }
.ipa-top-story .badge { display:inline-flex; align-items:center; gap:6px; background:#ffc107; color:#1c2642; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:0.08em; padding:4px 10px; border-radius:3px; margin-bottom:12px; }
.ipa-top-story .cat-link { display:inline-block; color:#0077cc; font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:8px; }
.ipa-top-story h2 { font-size:32px; line-height:1.2; margin:0 0 14px 0; font-weight:700; }
.ipa-top-story p { color:#555; font-size:16px; }

/* Cards */
.ipa-card { display:grid; grid-template-columns:140px 1fr; gap:14px; padding:14px 0; border-bottom:1px solid #eef0f3; align-items:start; }
.ipa-card .thumb { border-radius:6px; overflow:hidden; aspect-ratio:16/9; background:#f3f4f6; }
.ipa-card .thumb img { width:100%; height:100%; object-fit:cover; }
.ipa-card .cat-link { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:#0077cc; }
.ipa-card h3 { font-size:17px; font-weight:600; margin:4px 0 6px 0; line-height:1.3; }
.ipa-card h3 a { color:#1c2642; }
.ipa-card h3 a:hover { color:#0077cc; text-decoration:none; }
.ipa-card .meta { font-size:12px; color:#6b7280; display:flex; align-items:center; gap:6px; }
.ipa-card .meta .author { font-weight:600; color:#1c2642; }

.ipa-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.ipa-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media (max-width:900px) {
  .ipa-grid-3, .ipa-grid-2 { grid-template-columns:1fr; }
  .ipa-top-story { grid-template-columns:1fr; }
  .ipa-top-story h2 { font-size:24px; }
}

/* Single */
.ipa-single { display:grid; grid-template-columns:minmax(0,760px) 300px; gap:48px; max-width:1180px; margin:32px auto; padding:0 24px; }
@media (max-width:1024px) { .ipa-single { grid-template-columns:1fr; } }

.ipa-breadcrumb { font-size:13px; color:#6b7280; margin-bottom:16px; }
.ipa-breadcrumb a { color:#0077cc; }
.ipa-breadcrumb .sep { margin:0 8px; color:#9ca3af; }

.ipa-article h1.post-title { font-size:38px; font-weight:800; line-height:1.18; color:#1c2642; margin:0 0 24px 0; letter-spacing:-0.02em; }

.ipa-byline { display:flex; align-items:center; gap:14px; padding:16px 0; border-top:1px solid #eef0f3; border-bottom:1px solid #eef0f3; margin-bottom:24px; }
.ipa-byline img.avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.ipa-byline .by-label { font-size:12px; color:#6b7280; text-transform:uppercase; letter-spacing:0.06em; }
.ipa-byline .author-name { font-size:15px; font-weight:700; color:#1c2642; }
.ipa-byline .meta { font-size:13px; color:#6b7280; margin-top:2px; }
.ipa-byline .socials { margin-left:auto; display:flex; gap:10px; }
.ipa-byline .socials a { width:30px; height:30px; border:1px solid #e5e7eb; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:13px; color:#1c2642; }

.ipa-disclosure { display:flex; gap:16px; background:#f8f9fb; border:1px solid #eef0f3; border-left:4px solid #ffc107; padding:14px 16px; font-size:13px; color:#4b5563; border-radius:4px; margin-bottom:24px; }
.ipa-disclosure strong { color:#1c2642; }

.ipa-share-row { display:flex; gap:10px; flex-wrap:wrap; margin:20px 0 28px 0; padding:12px 0; border-top:1px solid #eef0f3; border-bottom:1px solid #eef0f3; }
.ipa-share-row a { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; padding:6px 12px; border:1px solid #e5e7eb; border-radius:999px; color:#1c2642; }
.ipa-share-row a:hover { background:#1c2642; color:#fff; text-decoration:none; border-color:#1c2642; }

.ipa-featured-image { margin:0 0 28px 0; border-radius:8px; overflow:hidden; }
.ipa-featured-image img { width:100%; height:auto; display:block; }

.ipa-article .post-content { font-size:17px; line-height:1.75; color:#2d3338; }
.ipa-article .post-content p { margin:0 0 18px 0; }
.ipa-article .post-content h2 { font-size:26px; margin:36px 0 14px 0; }
.ipa-article .post-content h3 { font-size:21px; margin:28px 0 12px 0; }
.ipa-article .post-content a { color:#0077cc; text-decoration:underline; }
.ipa-article .post-content blockquote { border-left:4px solid #ffc107; background:#f8f9fb; padding:14px 18px; margin:22px 0; font-style:italic; color:#1c2642; }
.ipa-article .post-content ul, .ipa-article .post-content ol { padding-left:22px; margin:0 0 18px 0; }
.ipa-article .post-content li { margin-bottom:8px; }
.ipa-article .post-content img { max-width:100%; height:auto; border-radius:6px; }

.ipa-author-card { display:grid; grid-template-columns:80px 1fr; gap:18px; background:#f8f9fb; border:1px solid #eef0f3; padding:20px; border-radius:8px; margin:36px 0 24px 0; }
.ipa-author-card img { width:80px; height:80px; border-radius:50%; object-fit:cover; }
.ipa-author-card .name { font-weight:700; color:#1c2642; font-size:17px; }
.ipa-author-card .bio { font-size:14px; color:#4b5563; margin-top:6px; }

/* Sidebar */
.ipa-sidebar { font-size:14px; }
.ipa-sidebar-block { background:#fff; border:1px solid #eef0f3; border-radius:8px; padding:18px; margin-bottom:22px; }
.ipa-sidebar-block h4 { font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:#1c2642; margin:0 0 12px 0; padding-bottom:8px; border-bottom:2px solid #ffc107; display:inline-block; }
.ipa-sidebar-block ol { padding-left:20px; margin:0; }
.ipa-sidebar-block ol li { margin-bottom:10px; line-height:1.4; }
.ipa-sidebar-block a { color:#1c2642; font-weight:500; }
.ipa-sidebar-block a:hover { color:#0077cc; }
.ipa-toc { position:sticky; top:100px; }

/* Tags */
.ipa-tags { margin:28px 0; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.ipa-tags .label { font-size:12px; color:#6b7280; text-transform:uppercase; letter-spacing:0.06em; }
.ipa-tags a { background:#f1f5ff; color:#1c2642; font-size:12px; font-weight:600; padding:4px 10px; border-radius:3px; }

/* Newsletter */
.ipa-newsletter { background:#f1f5ff; padding:36px 28px; border-radius:10px; text-align:center; margin:48px 0; }
.ipa-newsletter h3 { font-size:22px; margin:0 0 8px 0; }
.ipa-newsletter form { margin-top:18px; display:flex; gap:8px; max-width:480px; margin-left:auto; margin-right:auto; }
.ipa-newsletter input[type=email] { flex:1; padding:12px 14px; border:1px solid #d1d5db; border-radius:4px; font-size:15px; }
.ipa-newsletter button { background:#1c2642; color:#fff; border:0; padding:12px 22px; border-radius:4px; font-weight:600; font-size:15px; cursor:pointer; }
.ipa-newsletter button:hover { background:#0077cc; }

/* Footer */
.ipa-footer { background:#1c2642; color:#d1d5db; padding:48px 0 24px 0; margin-top:48px; }
.ipa-footer a { color:#d1d5db; }
.ipa-footer a:hover { color:#ffc107; text-decoration:none; }
.ipa-footer h5 { color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:0.08em; margin:0 0 14px 0; }
.ipa-footer ul { list-style:none; padding:0; margin:0; }
.ipa-footer li { margin-bottom:8px; font-size:14px; }
.ipa-footer-bottom { border-top:1px solid #2c3654; margin-top:32px; padding-top:18px; font-size:12px; color:#9ca3af; }

/* Container */
.ipa-container { max-width:1180px; margin:0 auto; padding:0 24px; }
