/* ==============================================================
   Site3-compatible secondary pages + Markdown blog presentation
   Maintains existing native homepage styling and shared navigation.
   ============================================================= */
.site-inner-page {
  --sub-bg:#f3f6fb;
  --sub-surface:#fff;
  --sub-soft:#eaf0fa;
  --sub-text:#101b33;
  --sub-muted:#58667c;
  --sub-border:#d9e3f2;
  --sub-accent:#0b54cf;
  --sub-strong:#091057;
  --sub-shadow:0 14px 36px rgba(14,29,73,.07);
}
.site-inner-page.dark-theme {
  --sub-bg:#0b1221;
  --sub-surface:#172336;
  --sub-soft:#1c2c43;
  --sub-text:#f2f5fb;
  --sub-muted:#b2c2d7;
  --sub-border:#30415b;
  --sub-accent:#49a5ff;
  --sub-strong:#121d32;
  --sub-shadow:0 14px 36px rgba(0,0,0,.19);
}
.site-inner-page .content-page {
  width:100%;min-width:0;max-width:none;
  color:var(--sub-text);
  background:var(--sub-bg);
  font-family:Inter, 'Nunito Sans', system-ui, sans-serif;
  font-size:16px;
  line-height:1.65;
  overflow-wrap:break-word;
}
.site-inner-page .content-page *,
.site-inner-page .content-page *::before,
.site-inner-page .content-page *::after { box-sizing:border-box; }
.site-inner-page .content-page a {color:var(--sub-accent);}
.site-inner-page .content-page .sub-btn {color:#fff;}
.site-inner-page .content-page .subpage-wrap {
  width:min(1100px,calc(100% - 48px)); max-width:1100px;
  margin-left:auto;margin-right:auto;
}
/* Home page header on 8k is positioned over a photograph. Secondary pages
   need their own opaque, in-flow header, retaining the same brand/nav/footer. */
body.site-inner-page:not(.dark-theme) #masthead {
  position:relative !important;top:auto;left:auto;right:auto;
  width:100%;height:110px;min-height:110px;
  background:#f1f4fa; z-index:50;
}
body.site-inner-page:not(.dark-theme) #ast-desktop-header {height:110px;display:flex;align-items:center;}
body.site-inner-page:not(.dark-theme) .site-header-mobile {height:110px;}
body.site-inner-page:not(.dark-theme) #ast-mobile-popup {top:110px;}
body.site-inner-page:not(.dark-theme) .site-main.content-page {padding:0;}
body.site-inner-page:not(.dark-theme) .footer-main {margin-top:0;}

/* Hub keeps its existing fixed sidebar and centered content shell. */
body.site-inner-page.dark-theme .main-content.content-page {padding-top:0;}
body.site-inner-page.dark-theme .sidebar {overflow-y:auto;}
body.site-inner-page.dark-theme .sidebar .nav-menu {overscroll-behavior:contain;}

/* Page hero inspired by site3: eyebrow, title, descriptive lead and breadcrumb. */
.subpage-hero {
  position:relative;isolation:isolate;
  padding:64px 0 66px;
  overflow:hidden;
  color:var(--sub-text);
  background:linear-gradient(115deg,var(--sub-soft),var(--sub-bg) 66%);
  border-bottom:1px solid var(--sub-border);
}
.subpage-hero::after {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:-120px;right:-85px;width:430px;height:430px;
  background:radial-gradient(circle,rgba(36,119,237,.18),transparent 70%);
}
.subpage-breadcrumb {display:flex;gap:13px;align-items:center;color:var(--sub-muted);font-size:13px;margin-bottom:24px;}
.subpage-breadcrumb a {text-decoration:none;font-weight:700;}
.subpage-kicker {display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:var(--sub-accent);font-weight:800;margin-bottom:14px;}
.subpage-hero h1 {
  font-family:Inter, 'Nunito Sans', system-ui, sans-serif;
  font-weight:800;font-size:clamp(34px,4vw,55px);letter-spacing:-.045em;
  line-height:1.1;max-width:850px;margin:0 0 20px;color:var(--sub-text);
}
.subpage-hero p {font-size:clamp(15px,1.6vw,18px);line-height:1.7;max-width:740px;margin:0;color:var(--sub-muted);}
.subpage-section {padding:64px 0;}
.sub-section-head {max-width:760px;margin-bottom:30px;}
.sub-section-head h2,.sub-h2 {font-size:clamp(26px,3vw,38px);font-weight:800;line-height:1.2;letter-spacing:-.035em;color:var(--sub-text);margin:0 0 12px;}
.sub-section-head p {font-size:16px;color:var(--sub-muted);margin:0;}
.sub-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.sub-feature,.sub-contact-card,.sub-device,.sub-legal-shell,.sub-note,.sub-blog-card,.sub-faq {
  background:var(--sub-surface); border:1px solid var(--sub-border);
  border-radius:18px; box-shadow:var(--sub-shadow);
}
.sub-feature {padding:29px;min-width:0;transition:transform .18s ease,box-shadow .18s ease;}
.sub-feature:hover {transform:translateY(-3px);box-shadow:0 17px 30px rgba(23,65,122,.11);}
.sub-feature-icon {display:grid;place-items:center;width:56px;height:56px;font-size:27px;background:var(--sub-soft);border-radius:15px;margin-bottom:24px;}
.sub-feature h2,.sub-contact-card h2 {font-size:21px;font-weight:800;line-height:1.3;color:var(--sub-text);margin:0 0 12px;}
.sub-feature p,.sub-contact-card p {font-size:15px;line-height:1.65;color:var(--sub-muted);margin:0;}
.sub-note {margin-top:30px;padding:32px;}
.sub-note h2 {color:var(--sub-text);font-size:23px;margin:0 0 15px;}
.sub-note p {color:var(--sub-muted);margin:15px 0 0;}
.sub-note ol,.sub-note ul {margin:0;padding-left:25px;}
.sub-note li {margin:6px 0;color:var(--sub-text);}
.subpage-cta {margin:30px auto 0;text-align:center;padding:65px 24px 75px;background:var(--sub-strong);color:#fff;}
.subpage-cta h2 {font-size:clamp(26px,3vw,40px);font-weight:800;color:#fff;margin:0 0 7px;}
.subpage-cta p {color:#d6def4;max-width:560px;margin:0 auto 23px;}
.sub-btn {display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border-radius:11px;padding:11px 19px;background:#1768dc;color:#fff;font-weight:700;font-size:14px;line-height:1.5;border:1px solid transparent;transition:filter .16s,transform .16s;}
.sub-btn:hover {transform:translateY(-1px);filter:brightness(1.1);}
.sub-device-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;}
.sub-device {padding:27px 29px;}
.sub-device-heading {display:flex;gap:16px;align-items:center;margin-bottom:17px;}
.sub-num {font-size:13px;letter-spacing:.06em;color:var(--sub-accent);background:var(--sub-soft);padding:8px 10px;border-radius:9px;font-weight:800;}
.sub-device h2 {font-size:21px;line-height:1.3;color:var(--sub-text);font-weight:800;margin:0;}
.sub-device ol {padding-left:21px;margin:0;}
.sub-device li {color:var(--sub-muted);padding:5px 0 5px 7px;}
.sub-faq-list {display:grid;gap:12px;}
.sub-faq {padding:0;overflow:hidden;}
.sub-faq summary {cursor:pointer;padding:22px 25px;font-size:17px;font-weight:750;color:var(--sub-text);}
.sub-faq p {color:var(--sub-muted);padding:0 25px 21px;margin:0;}
.sub-contact-card {padding:30px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0;}
.sub-contact-card h2 {margin:0;}
.sub-contact-card strong {word-break:break-word;color:var(--sub-text);font-size:14px;margin-top:9px;}
.sub-contact-card .sub-btn {margin-top:auto;}
.sub-legal-shell {padding:40px 50px;max-width:900px;margin:0 auto;}
.sub-legal-note {background:var(--sub-soft);border-left:4px solid var(--sub-accent);padding:12px 18px;border-radius:7px;color:var(--sub-muted);font-size:13px;margin:0 0 26px;}

/* Markdown is rendered on build: safe, crawlable and portable static HTML. */
.sub-markdown {font-size:16px;line-height:1.82;color:var(--sub-text);overflow-wrap:anywhere;}
.sub-markdown>*:first-child {margin-top:0;}
.sub-markdown h2 {color:var(--sub-text);font-size:28px;letter-spacing:-.025em;line-height:1.3;margin:37px 0 13px;font-weight:800;}
.sub-markdown h3 {color:var(--sub-text);font-size:21px;letter-spacing:-.01em;line-height:1.3;margin:28px 0 12px;font-weight:750;}
.sub-markdown h4 {color:var(--sub-text);font-size:18px;margin:22px 0 10px;}
.sub-markdown p {margin:0 0 19px;}
.sub-markdown ul,.sub-markdown ol {margin:0 0 24px;padding-left:24px;}
.sub-markdown li {margin:7px 0;padding-left:4px;}
.sub-markdown a {text-decoration:underline;text-underline-offset:3px;}
.sub-markdown blockquote {border-left:4px solid var(--sub-accent);padding:12px 20px;margin:24px 0;background:var(--sub-soft);border-radius:0 9px 9px 0;}
.sub-markdown blockquote p:last-child {margin-bottom:0;}
.sub-markdown code {border-radius:5px;background:var(--sub-soft);padding:2px 6px;font-size:.92em;white-space:pre-wrap;}
.sub-markdown pre {overflow-x:auto;background:#0b1428;color:#e9f3ff;padding:19px 22px;border-radius:12px;margin:19px 0;line-height:1.6;white-space:pre;}
.sub-markdown pre code {padding:0;background:none;color:inherit;white-space:pre;}
.sub-markdown table {display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:22px 0;}
.sub-markdown th,.sub-markdown td {padding:12px 14px;white-space:normal;text-align:left;border:1px solid var(--sub-border);min-width:130px;}
.sub-markdown th {background:var(--sub-soft);font-weight:800;}
.sub-markdown img {max-width:100%;height:auto;border-radius:12px;}
.sub-markdown hr {border:0;border-top:1px solid var(--sub-border);margin:35px 0;}

/* Blog listing and article views */
.sub-blog-toolbar {display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-bottom:30px;}
.sub-search-label {font-size:13px;font-weight:750;color:var(--sub-text);width:100%;}
#blog-search {width:100%;max-width:500px;min-width:0;color:var(--sub-text);background:var(--sub-surface);border:1px solid var(--sub-border);border-radius:12px;padding:13px 16px;font:inherit;font-size:15px;outline-offset:3px;}
.sub-blog-tags {display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.sub-filter {border:1px solid var(--sub-border);border-radius:999px;padding:10px 14px;color:var(--sub-text);background:var(--sub-surface);cursor:pointer;font-size:13px;font-weight:700;}
.sub-filter.active,.sub-filter:hover {background:var(--sub-accent);border-color:var(--sub-accent);color:#fff;}
.sub-blog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.sub-blog-card {overflow:hidden;min-width:0;transition:transform .16s;}
.sub-blog-card:hover {transform:translateY(-4px);}
.sub-blog-card[hidden] {display:none!important;}
.sub-blog-card-link {text-decoration:none!important;display:block;height:100%;}
.sub-blog-art {height:150px;background:var(--sub-soft);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.sub-blog-art img {width:100%;height:100%;object-fit:cover;}
.sub-blog-art-empty {background:linear-gradient(135deg,#164ca4,#0d1b50);color:#e2edff;font-size:52px;}
.site-inner-page.dark-theme .sub-blog-art-empty {background:linear-gradient(135deg,#1769a9,#11213c);}
.sub-blog-card-body {padding:26px;}
.sub-blog-meta {display:flex;flex-wrap:wrap;gap:7px;color:var(--sub-muted);font-size:12px;margin-bottom:17px;}
.sub-blog-meta span:first-child {color:var(--sub-accent);font-weight:800;}
.sub-blog-card h2 {font-size:21px;line-height:1.35;letter-spacing:-.02em;color:var(--sub-text);font-weight:800;margin:0 0 10px;}
.sub-blog-card p {font-size:14px;line-height:1.7;color:var(--sub-muted);margin:0 0 19px;}
.sub-read-more {font-weight:800;color:var(--sub-accent);font-size:14px;}
.sub-empty {padding:35px;border:1px dashed var(--sub-border);text-align:center;border-radius:12px;color:var(--sub-muted);}
.sub-empty[hidden] {display:none;}
.sub-post {padding-top:45px;padding-bottom:90px;max-width:930px!important;}
.sub-back {display:inline-block;text-decoration:none;font-size:14px;font-weight:800;margin-bottom:36px;}
.sub-post-heading {border-bottom:1px solid var(--sub-border);padding-bottom:32px;margin-bottom:35px;}
.sub-post-meta {display:flex;align-items:center;gap:11px 17px;flex-wrap:wrap;font-size:13px;color:var(--sub-muted);margin-bottom:18px;}
.sub-tag {display:inline-block;padding:6px 11px;color:var(--sub-accent);background:var(--sub-soft);border-radius:999px;font-weight:800;}
.sub-post h1 {font-size:clamp(34px,4.5vw,55px);line-height:1.12;letter-spacing:-.047em;font-weight:850;color:var(--sub-text);margin:0 0 18px;}
.sub-post-heading p {font-size:18px;line-height:1.75;color:var(--sub-muted);max-width:760px;margin:0;}
.sub-post-image {width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;margin-bottom:30px;}
.sub-post-prose {max-width:810px;margin:0 auto;}
.sub-post-footer {display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;border-top:1px solid var(--sub-border);margin-top:48px;padding-top:25px;font-size:14px;font-weight:800;}
.sub-post-footer a {text-decoration:none;}
@media(max-width:1100px){
  .sub-blog-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .sub-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .site-inner-page:not(.dark-theme) #ast-desktop-header .desktop-header-inner {width:min(100%,1200px);}
}
@media(max-width:700px){
  .site-inner-page .content-page .subpage-wrap {width:calc(100% - 32px);}
  .subpage-hero {padding:37px 0 42px;}
  .subpage-section {padding:36px 0;}
  .sub-grid,.sub-device-grid,.sub-blog-grid {grid-template-columns:1fr;}
  .sub-legal-shell {padding:22px 18px;border-radius:13px;}
  .sub-contact-card {padding:22px;}
  .sub-feature {padding:23px;}
  .sub-post {padding-top:32px;padding-bottom:48px;}
  .sub-markdown h2 {font-size:24px;}
  .sub-blog-art {height:175px;}
  .subpage-cta {padding:48px 18px;}
  .sub-post-heading p {font-size:16px;}
  #blog-search {max-width:100%;}
}
@media(min-width:1200px){
  body.site-inner-page:not(.dark-theme) .desktop-header-inner {
    grid-template-columns:minmax(150px, 180px) minmax(0,1fr) minmax(90px,150px);
    width:1200px;max-width:100%;gap:10px;
  }
  body.site-inner-page:not(.dark-theme) .desktop-nav-pill {max-width:100%;}
}
@media(prefers-reduced-motion:reduce) {
  .sub-feature,.sub-blog-card,.sub-btn {transition:none;}
}

/* The expanded 8K navigation now fits inside the original capsule. */
body.site-body #ast-desktop-header .nav-link,
body.site-body #ast-desktop-header .menu-link {padding-left:11px;padding-right:11px;font-size:14px;}
body.site-inner-page:not(.dark-theme) #mobile-menu-toggle,
body.site-inner-page:not(.dark-theme) #mobile-menu-toggle svg {color:#091057!important;stroke:#091057!important;}
body.site-inner-page:not(.dark-theme) #mobile-menu-toggle .ast-hamburger-icon {color:#091057!important;}
@media (min-width:600px) and (max-width:1199px) {
  body.site-inner-page:not(.dark-theme) #ast-mobile-header {display:flex!important;}
  body.site-inner-page:not(.dark-theme) #ast-desktop-header {display:none!important;}
}
/* Four original 8K footer columns need at least 1280px; switch to a two-column
   layout on compact desktop so neither the footer nor page overflows. */
@media (min-width:600px) and (max-width:1279px) {
  body.site-body .site-footer .footer-widgets-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;width:100%;max-width:100%;
  }
  body.site-body .site-footer .footer-widget {min-width:0;}
}

/* -- 2026-11-11 blog reference and brand palette corrections -- */

/* 8K reference blog: matches the captured /blog/ hero, white article cards,
   title + date row, and compact mobile single-column layout. */
body.site-body .blog-exact-main { width:100%;max-width:none;background:#f4f5f6;overflow:visible; }
.blog-exact-main #hero {height:714px;}
.reference-blog-section {
  width:100%;background:#f3f4f5; padding:76px 24px 132px;
  box-sizing:border-box;color:#111;min-height:0;
}
.reference-blog-container {max-width:1170px;width:100%;margin:0 auto;}
.reference-blog-heading {
  display:flex;align-items:center;gap:3px;
  font-family:var(--font-nav),Poppins,Arial,sans-serif;
  font-size:28px;line-height:37px;font-weight:650;color:#111;
  margin:0 0 24px;letter-spacing:-.02em;
}
.reference-blog-heading span {font-size:30px;line-height:1;color:#1680ff;font-weight:900;}
.reference-blog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.reference-blog-card {
  min-width:0;background:#fff;border:1px solid #dcdfe2;border-radius:4px;
  overflow:hidden;box-shadow:none;transition:box-shadow .15s ease,transform .15s ease;
}
.reference-blog-card:hover {transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.1);}
.reference-card-link {display:flex;flex-direction:column;height:100%;text-decoration:none;color:#111;}
.reference-card-link:focus-visible {outline:3px solid #1264ca;outline-offset:-3px;}
.reference-card-image {display:block;width:100%;aspect-ratio:1024 / 683;overflow:hidden;background:#e9e9e9;}
.reference-card-image img {display:block;width:100%;height:100%;object-fit:cover;}
.reference-blog-placeholder {width:100%;height:100%;background:#dbe2ec;display:grid;place-items:center;}
.reference-card-title {
  min-height:100px;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:13px 18px;box-sizing:border-box;
}
.reference-card-title h2 {
  font-family:var(--font-nav),Poppins,Arial,sans-serif;line-height:1.36;
  font-size:20px;font-weight:650;letter-spacing:-.015em;color:#161616;margin:0;
}
.reference-card-date {
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:80px;border-top:1px solid #e1e4e6;
  color:#8a8a8a;font-size:13px;font-family:Roboto,Arial,sans-serif;
}
.reference-card-date svg {flex:none;stroke:#9ca2a6;}
@media (max-width:900px) and (min-width:600px) {
  .reference-blog-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:599px) {
  .blog-exact-main #hero {height:582px;}
  .reference-blog-section {padding:73px 0 131px;}
  .reference-blog-container {width:calc(100% - 108px);max-width:300px;margin:0 auto;}
  .reference-blog-heading {font-size:27px;line-height:34px;margin-bottom:24px;}
  .reference-blog-grid {grid-template-columns:minmax(0,1fr);gap:28px;}
  .reference-card-title {min-height:78px;padding:10px 14px;}
  .reference-card-title h2 {font-size:17px;line-height:1.4;}
  .reference-card-date {min-height:62px;font-size:12px;}
}
@media(max-width:352px) {
  .reference-blog-container {width:calc(100% - 48px);max-width:300px;}
}
/* A blog with a homepage hero should have the same header backdrop/overlay. */
body.site-body #masthead {isolation:auto;}

@media (min-width:1200px) and (max-width:1279px) {
  body.site-body #ast-desktop-header .desktop-header-inner,
  body.site-body #ast-desktop-header .desktop-header-container {
    width:calc(100% - 40px)!important;
    max-width:calc(100vw - 40px)!important;
    grid-template-columns:minmax(145px,1fr) minmax(0,715px) minmax(120px,1fr)!important;
    gap:10px!important;
  }
  body.site-body #ast-desktop-header .header-col-cta {min-width:0;width:auto;}
}
@media (min-width:1200px) and (max-width:1279px) {
  #pricing .pricing-grid {width:100%;max-width:100%;flex-wrap:wrap;justify-content:center;}
  #pricing .pricing-card {margin:10px;}
}

/* 2026 brand migration: responsive, transparent, scalable IPTVMaximum SVG.
   One logo file serves both headers and the footer. */
body.site-body #ast-desktop-header .brand-logo-img,
body.site-body #ast-desktop-header .header-logo img,
body.site-body .site-footer .footer-logo .brand-logo-img {
  width: 225px !important;
  max-width: 225px !important;
  height: 50px !important;
  aspect-ratio: 720 / 160 !important;
  object-fit: contain !important;
  display: block;
}
body.site-body #ast-desktop-header .desktop-logo-wrap,
body.site-body #ast-desktop-header .header-col-brand,
body.site-body .site-footer .footer-logo {
  width: 225px;
  max-width: 225px;
}
@media (max-width: 1199px) {
  body.site-body #ast-mobile-header .brand-logo-img,
  body.site-body .site-header-mobile .brand-logo-img {
    width: 185px !important;
    max-width: 185px !important;
    height: 42px !important;
    aspect-ratio: 720 / 160 !important;
    object-fit: contain !important;
  }
}
@media (max-width: 355px) {
  body.site-body #ast-mobile-header .brand-logo-img {
    width: 158px !important;
    max-width: 158px !important;
    height: 36px !important;
  }
}

/* FIX-20261113: IPTVMaximum desktop header + blog card corrections */
@media (min-width: 1200px) {
  body.site-body #ast-desktop-header {
    width: 100% !important;
    max-width: 1360px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
  }
  body.site-body #ast-desktop-header .desktop-header-inner,
  body.site-body #ast-desktop-header .desktop-header-container {
    width: 100% !important;
    max-width: 1320px !important;
    grid-template-columns: 225px minmax(0, 1fr) 146px !important;
    gap: 44px !important;
    align-items: center !important;
  }
  body.site-body #ast-desktop-header .header-col-brand,
  body.site-body #ast-desktop-header .desktop-logo-wrap {
    min-width: 225px !important;
    max-width: 225px !important;
    width: 225px !important;
  }
  body.site-body #ast-desktop-header .header-col-menu {
    min-width: 0 !important;
    width: 100% !important;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  body.site-body #ast-desktop-header .desktop-nav-pill {
    width: min(100%, 760px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 10px;
  }
  body.site-body #ast-desktop-header .header-col-cta {
    min-width: 0;
    width: 146px;
    justify-content: flex-end;
  }
  body.site-body #ast-desktop-header .nav-link,
  body.site-body #ast-desktop-header .menu-link {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 14px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  body.site-body #ast-desktop-header .desktop-header-inner,
  body.site-body #ast-desktop-header .desktop-header-container {
    gap: 32px !important;
  }
}
/* Every reference blog card must visibly identify its article, including
   articles originally created with hide_card_title:true metadata. */
body.site-body .reference-blog-card .reference-card-title {
  min-height: 100px;
  padding: 16px 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body.site-body .reference-blog-card .reference-card-title h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #161616 !important;
  margin: 0 !important;
  font-weight: 700;
}
@media (max-width: 599px) {
  body.site-body .reference-blog-card .reference-card-title {
    min-height: 85px;
    padding: 12px 16px;
  }
}

/* Narrow mobile widths: prevent the channel heading's legacy fixed 405px
   width from causing horizontal scrolling at 414–425px. */
@media (max-width: 599px) {
  body.site-body #channels .channels-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    font-size: clamp(28px, 7.4vw, 40px);
    overflow-wrap: normal;
  }
}

/* 2026-11-16: visible WhatsApp trial CTAs matching IPTVMaximum blue palette. */
body.site-body .hero-free-trial {
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  padding:13px 18px;border:2px solid #fff;border-radius:9px;
  background:#fff;color:#091057;font-weight:800;font-size:15px;
  line-height:1.3;text-decoration:none;min-height:48px;
  box-shadow:0 5px 18px rgba(4,10,60,.2);
}
body.site-body .hero-free-trial:hover,
body.site-body .hero-free-trial:focus-visible {background:#f4ecff;color:#091057;}
body.site-body .pricing-free-trial-banner {
  display:flex;align-items:center;justify-content:center;gap:18px;
  flex-wrap:wrap;text-align:center;color:#091057;font-weight:700;
  background:#edf2ff;border:1px solid #bac8e9;border-radius:12px;
  padding:18px;margin:18px auto 14px;max-width:1100px;
}
body.site-body .pricing-free-trial-banner a {
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;background:#091057;color:white;text-decoration:none;
  border-radius:9px;font-weight:800;min-height:44px;
}
body.site-body .pricing-free-trial-banner a:hover,
body.site-body .pricing-free-trial-banner a:focus-visible {background:#2345a8;}
@media(max-width:599px) {
  body.site-body .hero-cta-row {flex-wrap:wrap;gap:9px;}
  body.site-body .hero-free-trial {font-size:14px;padding:10px 12px;}
  body.site-body .pricing-free-trial-banner {margin:16px 14px;padding:14px;gap:12px;}
}

/* The third hero CTA now needs a little more vertical space on phones;
   keep the trial and rating inside the hero instead of spilling over the posters. */
@media (max-width: 599px) {
  body.site-body #hero,
  body.site-body .blog-exact-main #hero {
    height: clamp(670px, calc(1120px - 113vw), 765px) !important;
    min-height: 670px !important;
  }
}
@media (min-width: 600px) and (max-width: 800px) {
  body.site-body #hero .hero-cta-row {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    justify-content: center;
  }
  body.site-body #hero .hero-rating-badge {margin: 0 auto;}
  body.site-body #hero .hero-description {width: min(100%, calc(100vw - 80px));max-width: calc(100vw - 80px);}
}

/* 2026-11-16 CTA polish: visually identical hero buttons.
   Equal-width, white pill-shaped CTAs on desktop and mobile. */
body.site-body #hero .hero-cta-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: min(600px, calc(100vw - 64px)) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px 18px !important;
  box-sizing: border-box;
}
body.site-body #hero .hero-cta-row > a.btn-hero-cta,
body.site-body #hero .hero-cta-row > a.hero-free-trial {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #150580 !important;
  font-family: var(--font-heading), Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 5px 18px rgba(4, 10, 60, .18) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
body.site-body #hero .hero-cta-row > a.btn-hero-cta svg {
  display: none !important;
}
body.site-body #hero .hero-cta-row > a.btn-hero-cta:hover,
body.site-body #hero .hero-cta-row > a.hero-free-trial:hover {
  transform: translateY(-2px) !important;
  background: #ffffff !important;
  color: #150580 !important;
  box-shadow: 0 10px 24px rgba(4, 10, 60, .28) !important;
}
body.site-body #hero .hero-cta-row > a.btn-hero-cta:focus-visible,
body.site-body #hero .hero-cta-row > a.hero-free-trial:focus-visible {
  outline: 3px solid #ffb94f;
  outline-offset: 3px;
}
body.site-body #hero .hero-cta-row > .hero-rating-badge {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 2px auto 0 !important;
}
@media (max-width: 599px) {
  body.site-body #hero .hero-cta-row {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(320px, calc(100vw - 40px)) !important;
    gap: 10px !important;
  }
  body.site-body #hero .hero-cta-row > a.btn-hero-cta,
  body.site-body #hero .hero-cta-row > a.hero-free-trial {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 10px 15px !important;
    font-size: 17px !important;
  }
  body.site-body #hero .hero-cta-row > .hero-rating-badge {
    margin-top: 4px !important;
  }
}
