/*
Theme Name: IPTV Leo
Theme URI: https://iptvleo.com/
Author: IPTV Leo
Description: Sérsniðið klassískt WordPress þema fyrir IPTV Leo (IPTV Ísland). Hvítur grunnur, skýr verðskrá beint á eftir hetjuhluta, aðgengilegt, hraðvirkt og á íslensku. Verð, samskiptaleiðir og staðfest atriði eru stillt á einum stað undir Útlit › IPTV Leo stillingar.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 7.1
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: iptv-leo
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--iptvleo-canvas: #ffffff;
	--iptvleo-surface: #f5f7fa;
	--iptvleo-text: #101b2d;
	--iptvleo-text-2: #475569;
	--iptvleo-border: #e2e8f0;
	--iptvleo-border-strong: #cbd5e1;
	--iptvleo-border-input: #64748b; /* 4.7:1 on white – WCAG 1.4.11 */
	--iptvleo-primary: #1d4ed8;
	--iptvleo-primary-hover: #1e40af;
	--iptvleo-primary-soft: #eff4ff;
	--iptvleo-navy: #0b1526;
	--iptvleo-navy-text: #e2e8f0;
	--iptvleo-navy-muted: #a5b4c8;
	--iptvleo-focus: #1d4ed8;
	--iptvleo-whatsapp: #0b7a43; /* only used on the WhatsApp action; 5.4:1 on white */
	--iptvleo-warn-bg: #fff7e6;
	--iptvleo-warn-border: #f2c46d;
	--iptvleo-warn-text: #5c3d00;
	--iptvleo-ok-bg: #ecfdf3;
	--iptvleo-ok-text: #05603a;
	--iptvleo-err-bg: #fef2f2;
	--iptvleo-err-text: #991b1b;

	--iptvleo-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
	--iptvleo-font-num: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--iptvleo-fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--iptvleo-fs-small: 0.9375rem;
	--iptvleo-fs-h1: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
	--iptvleo-fs-h2: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem);
	--iptvleo-fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
	--iptvleo-lh: 1.6;

	--iptvleo-s1: 4px;  --iptvleo-s2: 8px;  --iptvleo-s3: 12px; --iptvleo-s4: 16px;
	--iptvleo-s5: 24px; --iptvleo-s6: 32px; --iptvleo-s7: 48px; --iptvleo-s8: 64px; --iptvleo-s9: 80px;

	--iptvleo-max: 1240px;
	--iptvleo-measure: 68ch;
	--iptvleo-gutter: clamp(16px, 4vw, 32px);
	--iptvleo-section-y: clamp(44px, 7vw, 88px);
	--iptvleo-radius: 14px;
	--iptvleo-radius-sm: 10px;
	--iptvleo-shadow: 0 1px 2px rgba(16, 27, 45, .05), 0 6px 20px -8px rgba(16, 27, 45, .12);
	--iptvleo-header-h: 68px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--iptvleo-canvas);
	color: var(--iptvleo-text);
	font-family: var(--iptvleo-font);
	font-size: var(--iptvleo-fs-body);
	line-height: var(--iptvleo-lh);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
body.iptvleo-menu-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 var(--iptvleo-s4); letter-spacing: -0.015em; font-weight: 700; color: var(--iptvleo-text); }
h1 { font-size: var(--iptvleo-fs-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--iptvleo-fs-h2); }
h3 { font-size: var(--iptvleo-fs-h3); }
p, ul, ol, dl { margin: 0 0 var(--iptvleo-s4); }
a { color: var(--iptvleo-primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--iptvleo-primary-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--iptvleo-focus); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--iptvleo-header-h) + 12px); }
hr { border: 0; border-top: 1px solid var(--iptvleo-border); margin: var(--iptvleo-s6) 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--iptvleo-s3); border-bottom: 1px solid var(--iptvleo-border); }
blockquote { margin: var(--iptvleo-s5) 0; padding-left: var(--iptvleo-s5); border-left: 3px solid var(--iptvleo-primary); color: var(--iptvleo-text-2); }

.screen-reader-text, .iptvleo-sr {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; }
.iptvleo-skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--iptvleo-text); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.iptvleo-skip-link:focus { top: 12px; color: #fff; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 var(--iptvleo-s5) var(--iptvleo-s4) 0; }
.alignright { float: right; margin: 0 0 var(--iptvleo-s4) var(--iptvleo-s5); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption, .wp-block-image figcaption, .wp-caption-text { font-size: var(--iptvleo-fs-small); color: var(--iptvleo-text-2); }
.sticky, .bypostauthor, .gallery-caption { }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.iptvleo-container { width: 100%; max-width: var(--iptvleo-max); margin-inline: auto; padding-inline: var(--iptvleo-gutter); }
.iptvleo-narrow { max-width: calc(var(--iptvleo-measure) + 2 * var(--iptvleo-gutter)); }
.iptvleo-section { padding-block: var(--iptvleo-section-y); }
.iptvleo-section--surface { background: var(--iptvleo-surface); }
.iptvleo-section__head { max-width: var(--iptvleo-measure); margin-bottom: var(--iptvleo-s6); }
.iptvleo-section__head p { color: var(--iptvleo-text-2); font-size: 1.0625rem; }
.iptvleo-eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--iptvleo-primary); margin-bottom: var(--iptvleo-s2); }
.iptvleo-prose { max-width: var(--iptvleo-measure); }
.iptvleo-prose > * + h2 { margin-top: var(--iptvleo-s7); }
.iptvleo-prose > * + h3 { margin-top: var(--iptvleo-s6); }
.iptvleo-prose img { border-radius: var(--iptvleo-radius-sm); }
.iptvleo-muted { color: var(--iptvleo-text-2); }
.iptvleo-split { display: grid; gap: var(--iptvleo-s6); align-items: start; }
@media (min-width: 900px) { .iptvleo-split { grid-template-columns: 1fr 1fr; gap: var(--iptvleo-s8); } .iptvleo-split--wide-left { grid-template-columns: 1.25fr 1fr; } }

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */
.iptvleo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
	font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.iptvleo-btn svg { width: 20px; height: 20px; flex: none; }
.iptvleo-btn--primary { background: var(--iptvleo-primary); color: #fff; }
.iptvleo-btn--primary:hover { background: var(--iptvleo-primary-hover); color: #fff; text-decoration: none; }
.iptvleo-btn--secondary { background: #fff; color: var(--iptvleo-primary); border-color: var(--iptvleo-border-strong); }
.iptvleo-btn--secondary:hover { border-color: var(--iptvleo-primary); color: var(--iptvleo-primary-hover); text-decoration: none; background: var(--iptvleo-primary-soft); }
.iptvleo-btn--whatsapp { background: var(--iptvleo-whatsapp); color: #fff; }
.iptvleo-btn--whatsapp:hover { background: #075e33; color: #fff; text-decoration: none; }
.iptvleo-btn--block { width: 100%; }
.iptvleo-btn--on-dark { background: #fff; color: var(--iptvleo-navy); }
.iptvleo-btn--on-dark:hover { background: var(--iptvleo-primary-soft); color: var(--iptvleo-navy); }
.iptvleo-btn[aria-disabled="true"] { background: var(--iptvleo-surface); color: var(--iptvleo-text-2); border-color: var(--iptvleo-border); cursor: default; }
.iptvleo-actions { display: flex; flex-wrap: wrap; gap: var(--iptvleo-s3); align-items: center; }
.iptvleo-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; }
.iptvleo-link-arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.iptvleo-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--iptvleo-border); }
.admin-bar .iptvleo-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .iptvleo-header { top: 0; position: relative; } }
.iptvleo-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--iptvleo-s4); min-height: var(--iptvleo-header-h); }
.iptvleo-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--iptvleo-text); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; min-height: 44px; }
.iptvleo-logo:hover { color: var(--iptvleo-text); text-decoration: none; }
.iptvleo-logo__mark { width: 30px; height: 30px; flex: none; }
.iptvleo-logo__accent { color: var(--iptvleo-primary); }
.custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.custom-logo { max-height: 44px; width: auto; }
.iptvleo-nav { display: none; }
.iptvleo-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.iptvleo-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--iptvleo-text); text-decoration: none; font-weight: 550; }
.iptvleo-nav a:hover { background: var(--iptvleo-surface); color: var(--iptvleo-primary); }
.iptvleo-nav .current-menu-item > a, .iptvleo-nav .current_page_item > a, .iptvleo-nav a[aria-current="page"] { color: var(--iptvleo-primary); box-shadow: inset 0 -2px 0 var(--iptvleo-primary); border-radius: 0; }
.iptvleo-header__cta { display: none; }
.iptvleo-menu-toggle {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
	background: #fff; border: 1px solid var(--iptvleo-border-strong); border-radius: 10px; color: var(--iptvleo-text); font: inherit; font-weight: 600; cursor: pointer;
}
.iptvleo-menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 980px) {
	.iptvleo-nav { display: block; }
	.iptvleo-header__cta { display: inline-flex; }
	.iptvleo-menu-toggle { display: none; }
}

/* Mobile panel */
.iptvleo-mobile-panel { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.iptvleo-mobile-panel[hidden] { display: none; }
.iptvleo-mobile-panel__top { display: flex; justify-content: space-between; align-items: center; min-height: var(--iptvleo-header-h); padding-inline: var(--iptvleo-gutter); border-bottom: 1px solid var(--iptvleo-border); }
.iptvleo-mobile-panel nav { padding: var(--iptvleo-s4) var(--iptvleo-gutter); }
.iptvleo-mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.iptvleo-mobile-panel li a { display: flex; align-items: center; min-height: 52px; font-size: 1.125rem; font-weight: 600; color: var(--iptvleo-text); text-decoration: none; border-bottom: 1px solid var(--iptvleo-border); }
.iptvleo-mobile-panel li a:hover { color: var(--iptvleo-primary); }
.iptvleo-mobile-panel__cta { padding: var(--iptvleo-s4) var(--iptvleo-gutter) var(--iptvleo-s6); display: grid; gap: var(--iptvleo-s3); }
@media (min-width: 980px) { .iptvleo-mobile-panel { display: none !important; } }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.iptvleo-hero { padding-block: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 48px); background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--iptvleo-surface) 100%); border-bottom: 1px solid var(--iptvleo-border); }
.iptvleo-hero__grid { display: grid; gap: var(--iptvleo-s5); align-items: center; }
@media (min-width: 900px) { .iptvleo-hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--iptvleo-s8); } }
.iptvleo-hero h1 { max-width: 19ch; margin-bottom: var(--iptvleo-s4); }
.iptvleo-hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--iptvleo-text-2); max-width: 52ch; margin-bottom: var(--iptvleo-s5); }
.iptvleo-hero__points { list-style: none; padding: 0; margin: var(--iptvleo-s5) 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--iptvleo-text-2); font-size: var(--iptvleo-fs-small); }
.iptvleo-hero__points li { display: inline-flex; gap: 8px; align-items: center; }
.iptvleo-hero__points svg { width: 18px; height: 18px; color: var(--iptvleo-primary); }
.iptvleo-hero__visual { margin: 0; }
.iptvleo-hero__visual img { width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 560 / 400; }
@media (max-width: 899px) { .iptvleo-hero__visual img { max-height: 160px; width: auto; } }

/* ==========================================================================
   7. Pricing
   ========================================================================== */
.iptvleo-pricing { padding-block: clamp(36px, 5vw, 72px) var(--iptvleo-section-y); }
.iptvleo-plans { display: grid; gap: var(--iptvleo-s4); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .iptvleo-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
	.iptvleo-plans[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.iptvleo-plans[data-count="4"], .iptvleo-plans[data-count="5"], .iptvleo-plans[data-count="6"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.iptvleo-plans[data-count="1"] { grid-template-columns: minmax(0, 420px); }
}
.iptvleo-plan {
	display: flex; flex-direction: column; gap: var(--iptvleo-s3);
	background: #fff; border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius); padding: var(--iptvleo-s5);
	box-shadow: var(--iptvleo-shadow);
}
.iptvleo-plan__cta { margin-top: auto; display: grid; gap: var(--iptvleo-s2); }
@supports (grid-template-rows: subgrid) {
	.iptvleo-plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: var(--iptvleo-s3); }
	.iptvleo-plan__cta { margin-top: 0; align-self: end; }
}
.iptvleo-plan__name { font-size: 1.125rem; margin: 0; }
.iptvleo-plan__duration { color: var(--iptvleo-text-2); font-weight: 600; margin: 0; }
.iptvleo-plan__price { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.iptvleo-plan__amount { font-family: var(--iptvleo-font-num); font-variant-numeric: tabular-nums; font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.iptvleo-plan__term { color: var(--iptvleo-text-2); font-size: var(--iptvleo-fs-small); }
.iptvleo-plan__equiv { font-size: var(--iptvleo-fs-small); color: var(--iptvleo-text-2); background: var(--iptvleo-surface); border-radius: 8px; padding: 6px 10px; margin: 0; }
.iptvleo-plan__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; font-size: var(--iptvleo-fs-small); }
.iptvleo-plan__features li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.iptvleo-plan__features svg { width: 20px; height: 20px; color: var(--iptvleo-primary); margin-top: 2px; }
.iptvleo-plan__note { font-size: .875rem; color: var(--iptvleo-text-2); margin: 0; }
.iptvleo-pricing__footnote { margin-top: var(--iptvleo-s5); font-size: var(--iptvleo-fs-small); color: var(--iptvleo-text-2); max-width: var(--iptvleo-measure); }
.iptvleo-pricing-empty {
	border: 1px dashed var(--iptvleo-border-strong); border-radius: var(--iptvleo-radius); background: #fff; padding: var(--iptvleo-s6);
	display: grid; gap: var(--iptvleo-s4); max-width: 760px;
}
.iptvleo-pricing-empty h3 { margin: 0; }
.iptvleo-pricing-empty p { margin: 0; color: var(--iptvleo-text-2); }
.iptvleo-pricing-empty__list { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; color: var(--iptvleo-text-2); }

/* ==========================================================================
   8. Generic components
   ========================================================================== */
.iptvleo-card { background: #fff; border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius); padding: var(--iptvleo-s5); }
.iptvleo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--iptvleo-s4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .iptvleo-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .iptvleo-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .iptvleo-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.iptvleo-feature { display: grid; grid-template-columns: 44px 1fr; gap: var(--iptvleo-s4); align-items: start; }
.iptvleo-feature h3 { font-size: 1.125rem; margin-bottom: 6px; }
.iptvleo-feature p { margin: 0; color: var(--iptvleo-text-2); }
.iptvleo-icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--iptvleo-primary-soft); color: var(--iptvleo-primary); display: grid; place-items: center; }
.iptvleo-icon-badge svg { width: 22px; height: 22px; }
.iptvleo-checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.iptvleo-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.iptvleo-checklist svg { width: 22px; height: 22px; color: var(--iptvleo-primary); margin-top: 2px; }
.iptvleo-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--iptvleo-s4); counter-reset: iptvleo-step; }
@media (min-width: 900px) { .iptvleo-steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.iptvleo-steps li { counter-increment: iptvleo-step; background: #fff; border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius); padding: var(--iptvleo-s5); }
.iptvleo-steps li::before { content: counter(iptvleo-step); display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--iptvleo-primary); margin-bottom: var(--iptvleo-s3); font-variant-numeric: tabular-nums; }
.iptvleo-steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.iptvleo-steps p { margin: 0; color: var(--iptvleo-text-2); }
.iptvleo-device-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.iptvleo-device-list li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius-sm); background: #fff; font-weight: 550; }
.iptvleo-device-list svg { width: 22px; height: 22px; color: var(--iptvleo-primary); flex: none; }

/* Notices */
.iptvleo-notice { border-radius: var(--iptvleo-radius-sm); padding: var(--iptvleo-s4) var(--iptvleo-s5); margin: 0 0 var(--iptvleo-s5); border: 1px solid; }
.iptvleo-notice p:last-child { margin-bottom: 0; }
.iptvleo-notice--draft { background: var(--iptvleo-warn-bg); border-color: var(--iptvleo-warn-border); color: var(--iptvleo-warn-text); }
.iptvleo-notice--admin { background: #f1f5ff; border-color: #c7d6fb; color: #1e3a8a; font-size: var(--iptvleo-fs-small); }
.iptvleo-notice--admin strong::before { content: ""; }
.iptvleo-notice--ok { background: var(--iptvleo-ok-bg); border-color: #a6e9c3; color: var(--iptvleo-ok-text); }
.iptvleo-notice--error { background: var(--iptvleo-err-bg); border-color: #fecaca; color: var(--iptvleo-err-text); }

/* FAQ */
.iptvleo-faq { display: grid; gap: var(--iptvleo-s3); max-width: 860px; }
.iptvleo-faq details { border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius-sm); background: #fff; }
.iptvleo-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--iptvleo-s4); min-height: 56px; padding: 14px var(--iptvleo-s5); font-weight: 650; }
.iptvleo-faq summary::-webkit-details-marker { display: none; }
.iptvleo-faq summary svg { width: 20px; height: 20px; flex: none; color: var(--iptvleo-primary); transition: transform .2s ease; }
.iptvleo-faq details[open] summary svg { transform: rotate(45deg); }
.iptvleo-faq__answer { padding: 0 var(--iptvleo-s5) var(--iptvleo-s5); color: var(--iptvleo-text-2); }
.iptvleo-faq__answer p:last-child { margin-bottom: 0; }

/* Contact */
.iptvleo-contact-list { list-style: none; padding: 0; margin: 0 0 var(--iptvleo-s5); display: grid; gap: var(--iptvleo-s3); }
.iptvleo-contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--iptvleo-s3); align-items: center; }
.iptvleo-contact-list .iptvleo-label { display: block; font-size: .8125rem; color: var(--iptvleo-text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.iptvleo-contact-list a { font-weight: 650; }

/* Forms */
.iptvleo-form { display: grid; gap: var(--iptvleo-s4); max-width: 640px; }
.iptvleo-field { display: grid; gap: 6px; }
.iptvleo-field label { font-weight: 600; }
.iptvleo-field .iptvleo-hint { font-size: .875rem; color: var(--iptvleo-text-2); }
.iptvleo-form input[type="text"], .iptvleo-form input[type="email"], .iptvleo-form select, .iptvleo-form textarea, .iptvleo-search input[type="search"] {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--iptvleo-text);
	background: #fff; border: 1px solid var(--iptvleo-border-input); border-radius: 10px;
}
.iptvleo-form textarea { min-height: 150px; resize: vertical; }
.iptvleo-form input:focus-visible, .iptvleo-form select:focus-visible, .iptvleo-form textarea:focus-visible, .iptvleo-search input:focus-visible { outline: 3px solid var(--iptvleo-focus); outline-offset: 1px; border-color: var(--iptvleo-primary); }
.iptvleo-form [aria-invalid="true"] { border-color: var(--iptvleo-err-text); }
.iptvleo-field__error { color: var(--iptvleo-err-text); font-size: .875rem; font-weight: 600; }
.iptvleo-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.iptvleo-check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--iptvleo-primary); }
.iptvleo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.iptvleo-search { display: flex; gap: var(--iptvleo-s2); max-width: 560px; }
.iptvleo-search .iptvleo-btn { flex: none; }

/* ==========================================================================
   9. Page header, breadcrumbs, posts
   ========================================================================== */
.iptvleo-page-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 40px); background: var(--iptvleo-surface); border-bottom: 1px solid var(--iptvleo-border); }
.iptvleo-page-head h1 { margin-bottom: var(--iptvleo-s3); max-width: 24ch; }
.iptvleo-page-head p { color: var(--iptvleo-text-2); max-width: var(--iptvleo-measure); margin: 0; font-size: 1.0625rem; }
.iptvleo-breadcrumbs { font-size: .875rem; margin-bottom: var(--iptvleo-s4); color: var(--iptvleo-text-2); }
.iptvleo-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.iptvleo-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--iptvleo-border-strong); }
.iptvleo-breadcrumbs a { color: var(--iptvleo-text-2); }
.iptvleo-cats { list-style: none; padding: 0; margin: 0 0 var(--iptvleo-s6); display: flex; flex-wrap: wrap; gap: 8px; }
.iptvleo-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--iptvleo-border-strong); border-radius: 999px; text-decoration: none; color: var(--iptvleo-text); font-size: var(--iptvleo-fs-small); font-weight: 600; }
.iptvleo-cats a:hover, .iptvleo-cats .is-current a { border-color: var(--iptvleo-primary); color: var(--iptvleo-primary); background: var(--iptvleo-primary-soft); }
.iptvleo-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--iptvleo-s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.iptvleo-post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius); overflow: hidden; }
.iptvleo-post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.iptvleo-post-card__body { padding: var(--iptvleo-s5); display: flex; flex-direction: column; gap: var(--iptvleo-s2); flex: 1; }
.iptvleo-post-card__title { font-size: 1.1875rem; margin: 0; }
.iptvleo-post-card__title a { color: var(--iptvleo-text); text-decoration: none; }
.iptvleo-post-card__title a:hover { color: var(--iptvleo-primary); text-decoration: underline; }
.iptvleo-post-card__excerpt { color: var(--iptvleo-text-2); font-size: var(--iptvleo-fs-small); margin: 0; }
.iptvleo-meta { font-size: .875rem; color: var(--iptvleo-text-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.iptvleo-article__media { margin: 0 0 var(--iptvleo-s6); }
.iptvleo-article__media img { border-radius: var(--iptvleo-radius); width: 100%; }
.iptvleo-author-box { display: grid; grid-template-columns: 64px 1fr; gap: var(--iptvleo-s4); align-items: start; padding: var(--iptvleo-s5); border: 1px solid var(--iptvleo-border); border-radius: var(--iptvleo-radius); margin-top: var(--iptvleo-s7); }
.iptvleo-author-box img { border-radius: 50%; }
.iptvleo-pagination { margin-top: var(--iptvleo-s7); }
.iptvleo-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.iptvleo-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--iptvleo-border-strong); border-radius: 10px; text-decoration: none; font-weight: 600; }
.iptvleo-pagination .page-numbers.current { background: var(--iptvleo-primary); color: #fff; border-color: var(--iptvleo-primary); }
.iptvleo-empty { text-align: left; padding: var(--iptvleo-s7) 0; max-width: var(--iptvleo-measure); }

/* Comments */
.iptvleo-comments { margin-top: var(--iptvleo-s7); max-width: var(--iptvleo-measure); }
.iptvleo-comments ol { list-style: none; padding: 0; }
.iptvleo-comments .children { padding-left: var(--iptvleo-s5); }
.iptvleo-comments .comment-body { border-bottom: 1px solid var(--iptvleo-border); padding: var(--iptvleo-s4) 0; }
.iptvleo-comments .comment-meta { font-size: .875rem; color: var(--iptvleo-text-2); }
.iptvleo-comments .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form { display: grid; gap: var(--iptvleo-s3); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; border: 1px solid var(--iptvleo-border-input); border-radius: 10px; }
.comment-form .submit { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--iptvleo-primary); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }

/* ==========================================================================
   10. Final CTA & footer
   ========================================================================== */
.iptvleo-final-cta { background: var(--iptvleo-navy); color: var(--iptvleo-navy-text); padding-block: clamp(44px, 6vw, 72px); }
.iptvleo-final-cta h2 { color: #fff; }
.iptvleo-final-cta p { color: var(--iptvleo-navy-muted); max-width: 60ch; }
.iptvleo-final-cta .iptvleo-btn--secondary { background: transparent; color: #fff; border-color: #475569; }
.iptvleo-final-cta .iptvleo-btn--secondary:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.iptvleo-footer { background: var(--iptvleo-navy); color: var(--iptvleo-navy-muted); border-top: 1px solid #1e2a3d; padding-block: var(--iptvleo-s7) var(--iptvleo-s5); font-size: var(--iptvleo-fs-small); }
.iptvleo-footer a { color: var(--iptvleo-navy-text); text-decoration: none; }
.iptvleo-footer a:hover { color: #fff; text-decoration: underline; }
.iptvleo-footer :focus-visible { outline-color: #93b4ff; }
.iptvleo-footer__grid { display: grid; gap: var(--iptvleo-s6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .iptvleo-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.iptvleo-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--iptvleo-s3); }
.iptvleo-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.iptvleo-footer li a { display: inline-flex; min-height: 36px; align-items: center; }
.iptvleo-footer .iptvleo-logo { color: #fff; }
.iptvleo-footer__bottom { margin-top: var(--iptvleo-s7); padding-top: var(--iptvleo-s5); border-top: 1px solid #1e2a3d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--iptvleo-s3); }
.iptvleo-footer address { font-style: normal; }

/* Print */
@media print { .iptvleo-header, .iptvleo-footer, .iptvleo-final-cta, .iptvleo-mobile-panel { display: none !important; } }
