/* ONTV Site Tools: the ONTV look for normal Divi modules.
   In the Divi builder, add a CSS class (module Settings > Advanced > CSS ID & Classes) to use these:
   Section:  ontv-band (white), ontv-soft (light grey), ontv-dark (navy), ontv-watch (blue top line)
   Column:   ontv-card (white card with border)
   Text:     ontv-text (ONTV fonts). Inside it, a paragraph with class "ontv-eyebrow" is the small green label above a heading.
   Button:   ontv-btn (blue), ontv-btn ontv-ghost (outline, for dark sections), ontv-btn ontv-ghost-blue (outline, for light sections)
   Image:    ontv-img (rounded corners), ontv-img-16x9 (crops to 16:9), ontv-img-fit (fits on black)
   Blurb:    ontv-tile, plus ontv-ico-live, ontv-ico-play or ontv-ico-news for the round icon */
:root{--ontv-blue:#1a78c2;--ontv-blue-dk:#135d97;--ontv-link:#1565a8;--ontv-green:#2c823b;--ontv-green-lt:#7fd08d;--ontv-navy:#0e2740;--ontv-ink:#15202b;--ontv-muted:#5b6b7a;--ontv-line:#d6dee6;--ontv-soft:#f1f5f9;
 --ontv-display:"Barlow Condensed","Arial Narrow",Arial,sans-serif;--ontv-font:"Source Sans 3","Segoe UI",Arial,sans-serif}

/* Sections */
.et_pb_section.ontv-band,.et_pb_section.ontv-soft,.et_pb_section.ontv-dark{padding:56px 0}
.et_pb_section.ontv-soft{background-color:var(--ontv-soft)}
.et_pb_section.ontv-dark{background-color:var(--ontv-navy)}
.et_pb_section.ontv-watch{padding:36px 0;border-top:4px solid var(--ontv-blue)}
.et_pb_section.ontv-tight{padding:0}
.et_pb_section.ontv-tight .et_pb_row{width:100%;max-width:none;padding:0}
.et_pb_section[class*="ontv-"] .et_pb_row{padding:0 0 24px}
.et_pb_section[class*="ontv-"] .et_pb_row:last-child{padding-bottom:0}
@media (max-width:620px){.et_pb_section.ontv-band,.et_pb_section.ontv-soft,.et_pb_section.ontv-dark{padding:40px 0}}

/* Text */
.ontv-text,.ontv-text p,.ontv-text li{font-family:var(--ontv-font);font-size:17px;line-height:1.55;color:var(--ontv-ink)}
.ontv-text p{padding:0 0 12px}
.ontv-text p:last-child{padding-bottom:0}
.ontv-text h1,.ontv-text h2,.ontv-text h3,.ontv-text h4{font-family:var(--ontv-display);font-weight:700;color:var(--ontv-ink);padding:0 0 10px;text-wrap:balance}
.ontv-text h1{font-size:clamp(2.2rem,5vw,3.2rem);line-height:1.05}
.ontv-text h2{font-size:clamp(2rem,4vw,2.8rem);line-height:1.05}
.ontv-text h3{font-size:1.6rem;line-height:1.1;padding-bottom:6px}
.ontv-text a{color:var(--ontv-link);font-weight:600}
.ontv-text .ontv-eyebrow,.ontv-text p.ontv-eyebrow{font-family:var(--ontv-display);font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.95rem;color:var(--ontv-green);padding:0 0 4px}
.ontv-text .ontv-tag{display:inline-block;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--ontv-green);padding-bottom:4px}
.ontv-dark .ontv-text,.ontv-dark .ontv-text p,.ontv-dark .ontv-text li{color:#c9d7e4}
.ontv-dark .ontv-text h1,.ontv-dark .ontv-text h2,.ontv-dark .ontv-text h3{color:#fff}
.ontv-dark .ontv-text .ontv-eyebrow{color:var(--ontv-green-lt)}
.ontv-dark .ontv-text a{color:#fff}
.ontv-text a:focus-visible,.ontv-btn:focus-visible,.ontv-tile a:focus-visible{outline:3px solid var(--ontv-blue);outline-offset:3px}

/* Buttons (Divi Button module) */
body .et_pb_button.ontv-btn,body .et_pb_button.ontv-btn:hover{font-family:var(--ontv-display) !important;font-weight:700 !important;text-transform:uppercase;letter-spacing:.08em !important;font-size:1.05rem !important;line-height:1.3 !important;padding:10px 18px !important;border-radius:4px !important;border:2px solid var(--ontv-blue) !important;background:var(--ontv-blue) !important;color:#fff !important;transition:background .15s}
body .et_pb_button.ontv-btn:hover{background:var(--ontv-blue-dk) !important;border-color:var(--ontv-blue-dk) !important}
body .et_pb_button.ontv-btn::after{display:none !important}
body .et_pb_button.ontv-btn.ontv-ghost{background:transparent !important;border-color:rgba(255,255,255,.7) !important}
body .et_pb_button.ontv-btn.ontv-ghost:hover{background:#fff !important;color:var(--ontv-navy) !important}
body .et_pb_button.ontv-btn.ontv-ghost-blue{background:transparent !important;color:var(--ontv-link) !important}
body .et_pb_button.ontv-btn.ontv-ghost-blue:hover{background:var(--ontv-soft) !important}
/* Buttons sit side by side when the button module also has the class ontv-inline */
.et_pb_button_module_wrapper:has(.ontv-inline){display:inline-block;margin:0 10px 12px 0 !important}

/* Cards (Divi column) */
.et_pb_column.ontv-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--ontv-line);border-radius:10px;overflow:hidden}
.et_pb_column.ontv-card .et_pb_module{margin-bottom:0 !important}
.et_pb_column.ontv-card .et_pb_text{padding:20px 22px 12px}
.et_pb_column.ontv-card .et_pb_button_module_wrapper{margin-top:auto !important;padding:0 22px 22px}
.et_pb_column.ontv-card .et_pb_image .et_pb_image_wrap{display:block}
.et_pb_column.ontv-card .et_pb_image img{width:100%;display:block}

/* Images */
.ontv-img img,.ontv-img .et_pb_image_wrap{border-radius:10px;overflow:hidden;width:100%}
.ontv-img-16x9 img{width:100%;aspect-ratio:16/9;object-fit:cover}
.ontv-img-fit img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}

/* Link tiles (Divi Blurb module) */
.et_pb_blurb.ontv-tile{border:1px solid var(--ontv-line);border-radius:10px;background:#fff;padding:18px 20px 18px 80px;position:relative;margin-bottom:0 !important;transition:border-color .15s,box-shadow .15s}
.et_pb_blurb.ontv-tile:hover{border-color:var(--ontv-blue);box-shadow:0 6px 18px rgb(14 39 64 / .1)}
.et_pb_blurb.ontv-tile::before{content:"";position:absolute;left:20px;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;background:var(--ontv-blue) center/18px no-repeat}
.et_pb_blurb.ontv-tile.ontv-ico-live::before{background-color:#d62828;background-image:radial-gradient(circle,#fff 0 6px,rgba(255,255,255,.35) 6px 10px,transparent 10px)}
.et_pb_blurb.ontv-tile.ontv-ico-play::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 1l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E")}
.et_pb_blurb.ontv-tile.ontv-ico-news::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 2h12v2H1zm0 4h12v2H1zm0 4h12v2H1z' fill='%23fff'/%3E%3C/svg%3E")}
.et_pb_blurb.ontv-tile .et_pb_module_header,.et_pb_blurb.ontv-tile .et_pb_module_header a{font-family:var(--ontv-display);font-weight:700;font-size:1.35rem;text-transform:uppercase;letter-spacing:.04em;line-height:1.1;color:var(--ontv-ink);padding:0}
.et_pb_blurb.ontv-tile .et_pb_blurb_description,.et_pb_blurb.ontv-tile .et_pb_blurb_description p{font-family:var(--ontv-font);color:var(--ontv-muted);font-size:.9rem;line-height:1.4;padding:0}
/* Makes the whole tile clickable, not just its title */
.et_pb_blurb.ontv-tile .et_pb_module_header a::after{content:"";position:absolute;inset:0}

/* Row with class ontv-center: columns line up on their middles (desktop) */
@media (min-width:981px){.et_pb_row.ontv-center{display:flex;align-items:center}}

/* Text module extras: add one of these classes next to ontv-text.
   ontv-facts  — its bullet list shows as boxes in a row (bold first words become the green label)
   ontv-people — its bullet list shows as name cards (bold first line = role)
   ontv-chips  — its bullet list shows as rounded tags
   ontv-dates  — its bullet list shows as boxed dates
   ontv-panel  — light grey box;  ontv-panel-white — white box with border
   ontv-mast   — large uppercase page title (h1); text in its first <strong> gets the blue ONTV badge */
.ontv-text.ontv-facts ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:8px 0 0}
.ontv-text.ontv-facts li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:14px 16px;font-size:16px;line-height:1.45}
.ontv-text.ontv-facts li strong{display:block;font-family:var(--ontv-display);text-transform:uppercase;letter-spacing:.08em;font-size:1.05rem;color:var(--ontv-green-lt);margin-bottom:2px}
.ontv-text.ontv-facts li a{color:#fff;font-weight:700;text-decoration:none}
.ontv-text.ontv-people ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:14px;list-style:none;padding:0;margin:0}
.ontv-text.ontv-people li{background:#fff;border:1px solid var(--ontv-line);border-radius:10px;padding:16px 18px;font-family:var(--ontv-display);font-weight:700;font-size:1.35rem;line-height:1.2}
.ontv-text.ontv-people li strong{display:block;font-family:var(--ontv-font);font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--ontv-green);margin-bottom:2px}
.ontv-text.ontv-people li a{display:block;font-family:var(--ontv-font);font-size:.95rem;font-weight:400;margin-top:4px;word-break:break-all}
.ontv-text.ontv-people.ontv-one ul{grid-template-columns:minmax(0,1fr)}
.ontv-text.ontv-chips ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:4px 0 18px}
.ontv-text.ontv-chips li{background:#fff;border:1px solid var(--ontv-line);border-radius:999px;padding:6px 14px;font-size:.95rem;font-weight:600}
.ontv-text.ontv-dates ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:8px;list-style:none;padding:0;margin:0 0 14px}
.ontv-text.ontv-dates li{padding:9px 12px;border:1px solid var(--ontv-line);border-radius:6px;background:#fff;font-weight:600}
.ontv-text.ontv-panel{background:var(--ontv-soft);border-radius:10px;padding:20px}
.ontv-text.ontv-panel-white{background:#fff;border:1px solid var(--ontv-line);border-radius:10px;padding:20px}
.ontv-text .ontv-fine,.ontv-text p.ontv-fine{color:var(--ontv-muted);font-size:.9rem}
.ontv-text.ontv-mast h1{font-size:clamp(2.6rem,6vw,4.2rem);text-transform:uppercase;letter-spacing:.02em;line-height:.95}
.ontv-text.ontv-mast h1 strong{display:inline-block;background:var(--ontv-blue);padding:2px 12px 0;margin-right:10px;border-radius:4px;font-weight:700}
.ontv-logo img{width:96px;background:#fff;border-radius:10px;padding:6px}
.ontv-map iframe{display:block;width:100%;aspect-ratio:4/3;height:auto;border:0;border-radius:10px}
/* A Divi Button placed right under a panel text module sits inside the panel's look */
@media (max-width:900px){.ontv-text.ontv-facts ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.ontv-text.ontv-facts ul{grid-template-columns:minmax(0,1fr)}}

/* Columns as panels: ontv-col-soft (light grey), ontv-col-dark (navy). Text and buttons inside follow the panel. */
.et_pb_column.ontv-col-soft,.et_pb_column.ontv-col-dark{border-radius:12px;padding:26px !important;border:1px solid var(--ontv-line);background:var(--ontv-soft)}
.et_pb_column.ontv-col-dark{background:var(--ontv-navy);border-color:var(--ontv-navy)}
.ontv-col-dark .ontv-text,.ontv-col-dark .ontv-text p{color:#c9d7e4}
.ontv-col-dark .ontv-text h2,.ontv-col-dark .ontv-text h3{color:#fff}
.ontv-col-dark .ontv-text .ontv-eyebrow{color:var(--ontv-green-lt)}
.et_pb_column.ontv-col-soft .et_pb_module,.et_pb_column.ontv-col-dark .et_pb_module{margin-bottom:12px !important}
/* White button for dark panels */
body .et_pb_button.ontv-btn.ontv-white{background:#fff !important;border-color:#fff !important;color:var(--ontv-navy) !important}
body .et_pb_button.ontv-btn.ontv-white:hover{background:#e3edf6 !important;border-color:#e3edf6 !important}
/* Numbered step: a paragraph with class ontv-num inside an ontv-text module */
.ontv-text .ontv-num,.ontv-text p.ontv-num{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ontv-green);color:#fff;font-family:var(--ontv-display);font-weight:700;font-size:1.3rem;padding:0;margin-bottom:10px}
.ontv-small-logo img{max-width:150px}
.ontv-embed iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:10px;background:#000}
.ontv-img-contain img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#fff;padding:14px}
