/* tvs-guide-sections.css — the viewing guides (posts), the device guides and
   the product pages' "read next" cards. Split out of tvs-professional-
   header.css by deploy-package/speed/split-header-css.php. */

/* ============================================================
   MATCH-NIGHT GUIDES — long-form viewing guides (Saudi Pro
   League, Egyptian Premier League, Champions League). One
   editorial layout, both languages.
   ============================================================ */
.tvs-guide { max-width: 860px !important; margin: 0 auto; padding: clamp(16px, 2.5vw, 32px) 16px clamp(48px, 6vw, 88px); color: var(--tvs-text, #f7f8fb); font-size: 16px; line-height: 1.9; }
.tvs-guide-hero { padding: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 40px); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: linear-gradient(160deg, rgba(255,122,0,.14), transparent 55%), linear-gradient(180deg, #161d28 0%, #0e131b 100%); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.tvs-guide-kicker { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border: 1px solid rgba(255,122,0,.4); border-radius: 999px; color: var(--tvs-accent-2, #ff9b33); font-size: 13px; font-weight: 800; }
.tvs-guide .tvs-guide-title { margin: 0 0 14px !important; font-size: clamp(26px, 3.6vw, 40px) !important; font-weight: 900; line-height: 1.3 !important; }
.tvs-guide-lead { margin: 0 0 22px; color: rgba(233,238,247,.8); font-size: clamp(15.5px, 1.35vw, 18px); line-height: 1.85; }
.tvs-guide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tvs-guide-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 13px; background: linear-gradient(155deg, var(--tvs-accent-2, #ff9b33), var(--tvs-accent, #ff7a00)); color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none !important; transition: filter .18s ease, transform .18s ease; }
.tvs-guide-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.tvs-guide-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.2); }
.tvs-guide-btn.ghost:hover { border-color: rgba(255,255,255,.45); }
.tvs-guide-btn i { font-size: 18px; }

.tvs-guide-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.tvs-guide-facts div { padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); }
.tvs-guide-facts b { display: block; margin-bottom: 4px; color: var(--tvs-accent-2, #ff9b33); font-size: 12.5px; font-weight: 800; letter-spacing: .03em; }
.tvs-guide-facts span { color: rgba(233,238,247,.85); font-size: 13.5px; line-height: 1.6; }

.tvs-guide-sec { margin-top: clamp(30px, 4vw, 48px); }
.tvs-guide-sec h2 { margin: 0 0 12px !important; font-size: clamp(20px, 2.3vw, 27px) !important; font-weight: 900; line-height: 1.35 !important; }
.tvs-guide-sec > p { margin: 0; color: rgba(233,238,247,.82); }

.tvs-guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.tvs-guide-steps li { position: relative; padding: 16px 18px 16px; padding-inline-start: 62px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: linear-gradient(180deg, #161d28 0%, #0e131b 100%); counter-increment: step; }
.tvs-guide-steps li::before { content: counter(step); position: absolute; inset-inline-start: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,122,0,.16); color: var(--tvs-accent-2, #ff9b33); font-weight: 900; }
.tvs-guide-steps b { display: block; margin-bottom: 4px; font-size: 15.5px; }
.tvs-guide-steps p { margin: 0; color: rgba(233,238,247,.78); font-size: 14.5px; line-height: 1.8; }

.tvs-guide-meter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tvs-guide-meter div { padding: 16px; text-align: center; border: 1px solid rgba(255,122,0,.25); border-radius: 14px; background: rgba(255,122,0,.07); }
.tvs-guide-meter b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1; color: #fff; }
.tvs-guide-meter span { display: block; margin-top: 6px; color: rgba(233,238,247,.7); font-size: 12.5px; }

.tvs-guide-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tvs-guide-check li { position: relative; padding: 12px 14px; padding-inline-start: 42px; border-radius: 12px; background: rgba(255,255,255,.035); color: rgba(233,238,247,.86); font-size: 14.5px; }
.tvs-guide-check li::before { content: "✓"; position: absolute; inset-inline-start: 14px; top: 11px; color: var(--tvs-accent, #ff7a00); font-weight: 900; }

.tvs-guide-trouble { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tvs-guide-trouble div { padding: 16px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); }
.tvs-guide-trouble b { display: block; margin-bottom: 6px; font-size: 15px; }
.tvs-guide-trouble p { margin: 0; color: rgba(233,238,247,.75); font-size: 14px; line-height: 1.75; }

.tvs-guide-faq { display: grid; gap: 8px; }
.tvs-guide-faq details { border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: linear-gradient(180deg, #161d28 0%, #0e131b 100%); overflow: hidden; }
.tvs-guide-faq summary { cursor: pointer; list-style: none; padding: 14px 18px; font-size: 15.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tvs-guide-faq summary::-webkit-details-marker { display: none; }
.tvs-guide-faq summary::after { content: "+"; color: var(--tvs-accent-2, #ff9b33); font-size: 20px; font-weight: 900; flex: 0 0 auto; }
.tvs-guide-faq details[open] summary::after { content: "–"; }
.tvs-guide-faq details p { margin: 0; padding: 0 18px 16px; color: rgba(233,238,247,.8); font-size: 14.5px; line-height: 1.8; }

.tvs-guide-hedge { margin: clamp(24px, 3vw, 36px) 0 0; padding: 14px 16px; border-inline-start: 3px solid var(--tvs-accent, #ff7a00); border-radius: 8px; background: rgba(255,255,255,.03); color: rgba(233,238,247,.7); font-size: 13.5px; line-height: 1.75; }

.tvs-guide-cta { margin-top: clamp(30px, 4vw, 48px); padding: clamp(22px, 3vw, 34px); text-align: center; border: 1px solid rgba(255,122,0,.3); border-radius: 20px; background: linear-gradient(135deg, rgba(255,122,0,.14), rgba(255,122,0,.03)); }
.tvs-guide-cta h2 { margin: 0 0 8px !important; font-size: clamp(22px, 2.6vw, 30px) !important; font-weight: 900; }
.tvs-guide-cta p { margin: 0 0 18px; color: rgba(233,238,247,.78); }
.tvs-guide-cta .tvs-guide-actions { justify-content: center; }

.tvs-guide-more { display: grid; gap: 8px; margin-top: clamp(24px, 3vw, 36px); }
.tvs-guide-more span { color: rgba(233,238,247,.55); font-size: 13px; font-weight: 700; }
.tvs-guide-more a { display: block; padding: 12px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #fff !important; font-size: 14.5px; font-weight: 700; text-decoration: none !important; transition: border-color .18s ease; }
.tvs-guide-more a:hover { border-color: rgba(255,122,0,.45); }

@media (max-width: 720px) {
  .tvs-guide-facts, .tvs-guide-trouble { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tvs-guide-meter { grid-template-columns: 1fr; }
  .tvs-guide-btn { width: 100%; justify-content: center; }
}
@media (max-width: 460px) { .tvs-guide-facts, .tvs-guide-trouble { grid-template-columns: 1fr; } }

/* Guides 1.2 — the article spans the same width as the setup hub, the
   featured image sits beside the hero copy, inline cross-links are marked,
   the two-column blocks use the width, and every guide (and the device
   guides and product pages) ends with a "read next" card row. */
.tvs-guide { max-width: 1120px !important; }
.tvs-guide-hero.has-img { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.tvs-guide-hero-img { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px rgba(0,0,0,.35); background: #0b0f16; }
.tvs-guide-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvs-guide-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,22,0) 60%, rgba(11,15,22,.45) 100%); pointer-events: none; }
.tvs-guide-sec p a, .tvs-guide-check li a, .tvs-guide-steps p a, .tvs-guide-trouble p a, .tvs-guide-faq p a, .tvs-guide-lead a, .tvs-guide-hedge a { color: var(--tvs-accent-2, #ff9b33) !important; font-weight: 700; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tvs-guide-sec p a:hover, .tvs-guide-check li a:hover, .tvs-guide-steps p a:hover, .tvs-guide-trouble p a:hover, .tvs-guide-faq p a:hover { color: #fff !important; }
@media (min-width: 901px) {
  .tvs-guide:not(.tvs-dg) .tvs-guide-steps, .tvs-guide:not(.tvs-dg) .tvs-guide-sec > .tvs-guide-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tvs-guide:not(.tvs-dg) .tvs-guide-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.tvs-guide-related { margin-top: clamp(30px, 4vw, 48px); }
.tvs-guide-related h2 { margin: 0 0 14px !important; font-size: clamp(20px, 2.3vw, 27px) !important; font-weight: 900; line-height: 1.35 !important; color: #fff; }
.tvs-guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tvs-guide-related--product .tvs-guide-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tvs-guide-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #161d28 0%, #0e131b 100%); color: #fff !important; text-decoration: none !important; transition: border-color .18s ease, transform .18s ease; }
.tvs-guide-card:hover { border-color: rgba(255,122,0,.45); transform: translateY(-2px); }
.tvs-guide-card-img { display: block; aspect-ratio: 16 / 9; background: #0b0f16; }
.tvs-guide-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvs-guide-card-body { display: block; padding: 12px 14px 14px; }
.tvs-guide-card-body small { display: block; margin-bottom: 4px; color: var(--tvs-accent-2, #ff9b33); font-size: 12px; font-weight: 800; }
.tvs-guide-card-body b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.5; }
.tvs-guide-devs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.tvs-guide-devs span { color: rgba(233,238,247,.55); font-size: 13px; font-weight: 700; }
.tvs-guide-devs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #fff !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; transition: border-color .18s ease; }
.tvs-guide-devs a i { color: var(--tvs-accent-2, #ff9b33); }
.tvs-guide-devs a:hover { border-color: rgba(255,122,0,.45); }
.tvs-guide-hublink { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--tvs-accent-2, #ff9b33) !important; font-size: 14px; font-weight: 800; text-decoration: none !important; }
.tvs-guide-hublink:hover { color: #fff !important; }
.single-product div.product .tvs-guide-related { grid-column: 1 / -1; margin-top: 30px; color: #e9edf5; }
@media (max-width: 900px) {
  .tvs-guide-hero.has-img { grid-template-columns: 1fr; }
  .tvs-guide-hero-img { order: -1; }
  .tvs-guide-cards, .tvs-guide-related--product .tvs-guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .tvs-guide-cards, .tvs-guide-related--product .tvs-guide-cards { grid-template-columns: 1fr; } }

