/* =========================================================
   Ticker Home 2026 — styles for page-ticker-home.php
   Palette: Royal Blue #0034EE · Ticker Blue #008CEF · Charcoal #142946 · White #F5F5F5
   All text is Raleway.
   ========================================================= */

.tk-home {
	--tk-royal: #0034EE;
	--tk-royal-dark: #0026B0;
	--tk-blue: #008CEF;
	--tk-charcoal: #142946;
	--tk-white: #F5F5F5;
	--tk-line: #E1E6EE;
	--tk-muted: #4E5B72;
	--tk-placeholder: #DDE3EC;
	--tk-gutter: clamp(16px, 3vw, 24px);
	margin: 0;
	background: #FFFFFF;
	color: var(--tk-charcoal);
	overflow-x: hidden;
}

.tk-home,
.tk-home * {
	font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif !important;
	box-sizing: border-box;
}

.tk-home a { color: var(--tk-charcoal); text-decoration: none; }
.tk-home a:hover { color: var(--tk-royal); }
.tk-home img { max-width: 100%; height: auto; }

.tk-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.tk-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding-left: var(--tk-gutter);
	padding-right: var(--tk-gutter);
}

/* ---------- Header (white, with the blue Ticker logo tile) ---------- */
.tk-header { background: #FFFFFF; color: var(--tk-charcoal); border-bottom: 1px solid var(--tk-line); position: relative; z-index: 50; }
.tk-header-row {
	display: flex; align-items: center; gap: 8px 32px; flex-wrap: wrap;
	padding-top: 12px; padding-bottom: 12px;
}
.tk-logo { flex: 0 0 auto; display: flex; }
/* Guard against theme/plugin borders or outlines around the logo */
.tk-home .tk-logo, .tk-home .tk-logo img { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
.tk-home .tk-logo:focus-visible { outline: 2px solid var(--tk-royal) !important; outline-offset: 3px; }
.tk-logo img { height: 48px; width: auto; display: block; border-radius: 7px; } /* slightly rounded corners */

.tk-nav {
	flex: 1 1 420px; min-width: 0;
	display: flex; align-items: center; gap: 4px;
	overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.tk-nav::-webkit-scrollbar { display: none; }
.tk-nav .tk-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tk-nav .tk-menu li { margin: 0; padding: 0; }
.tk-home .tk-nav a {
	display: block; color: var(--tk-charcoal); font-size: 16px; font-weight: 600;
	padding: 14px 12px; border-bottom: 3px solid transparent;
}
.tk-home .tk-nav a:hover,
.tk-home .tk-nav .current-menu-item > a { color: var(--tk-royal); border-bottom-color: var(--tk-royal); }
.tk-home .tk-nav .tk-nav-live { color: var(--tk-royal); font-weight: 700; border-bottom-color: var(--tk-royal); }

/* Right-hand tools: Ticker Studios drop-down + search */
.tk-header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; order: 3; }
.tk-nav { order: 2; }
@media (max-width: 899px) {
	.tk-header-tools { order: 2; }
	.tk-nav { order: 3; flex-basis: 100%; }
}
.tk-studios { position: relative; }
.tk-studios summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
	padding: 12px 4px; font-size: 15px; font-weight: 600; color: var(--tk-charcoal); white-space: nowrap;
}
.tk-studios summary::-webkit-details-marker { display: none; }
.tk-studios summary::after {
	content: ""; width: 7px; height: 7px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform 0.15s;
}
.tk-studios[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.tk-studios summary:hover { color: var(--tk-royal); }
.tk-studios nav {
	position: absolute; right: 0; top: calc(100% + 4px); min-width: 220px; z-index: 60;
	background: #FFFFFF; border: 1px solid var(--tk-line); border-radius: 8px;
	box-shadow: 0 8px 24px rgba(20, 41, 70, 0.14); padding: 6px;
}
.tk-utility-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tk-utility-menu li { margin: 0; padding: 0; }
.tk-home .tk-utility-menu a {
	display: block; padding: 11px 14px; border-radius: 6px;
	font-size: 14px; font-weight: 600; color: var(--tk-charcoal);
}
.tk-home .tk-utility-menu a:hover { background: var(--tk-white); color: var(--tk-royal); }

.tk-search-toggle {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 22px;
	border: 1px solid var(--tk-line); background: #FFFFFF; color: var(--tk-charcoal);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tk-search-toggle:hover { color: var(--tk-royal); border-color: var(--tk-royal); }
.tk-search { background: var(--tk-white); border-top: 1px solid var(--tk-line); padding: 12px 0; }
.tk-search .tk-wrap { display: flex; gap: 10px; }
.tk-search input {
	flex: 1 1 auto; min-width: 0; height: 46px; border: 1px solid var(--tk-line); border-radius: 6px;
	padding: 0 14px; font-size: 16px; background: #FFFFFF;
}
.tk-search button {
	height: 46px; padding: 0 20px; border: none; border-radius: 6px;
	background: var(--tk-royal); color: #FFFFFF; font-weight: 700; cursor: pointer;
}

.tk-markets { background: #FFFFFF; border-top: 1px solid var(--tk-line); min-height: 46px; }

/* Royal blue Trending topics bar (most-used tags on recent posts) */
.tk-topics { background: var(--tk-royal); color: #FFFFFF; }
.tk-topics .tk-wrap {
	display: flex; align-items: center; gap: 14px;
	overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-top: 9px; padding-bottom: 9px;
}
.tk-topics .tk-wrap::-webkit-scrollbar { display: none; }
.tk-topics-label { flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.tk-topics ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tk-topics li { margin: 0; padding: 0; flex: 0 0 auto; }
.tk-home .tk-topics a {
	display: block; padding: 6px 13px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.5);
	color: #FFFFFF; font-size: 13px; font-weight: 600;
}
.tk-home .tk-topics a:hover { background: #FFFFFF; color: var(--tk-royal); border-color: #FFFFFF; }

/* ---------- Layout ---------- */
.tk-main {
	display: flex; flex-direction: column; gap: 40px;
	padding-top: 24px; padding-bottom: 48px;
}

/* Section heading with the blue bar */
.tk-head {
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px; margin-bottom: 14px;
}
.tk-title {
	margin: 0; font-size: 26px; font-weight: 800; line-height: 1.1;
	border-left: 5px solid var(--tk-royal); padding-left: 12px; color: var(--tk-charcoal);
}
.tk-block .tk-title { font-size: 22px; }
.tk-home .tk-more { font-size: 14px; font-weight: 700; color: var(--tk-royal); white-space: nowrap; }

.tk-kicker {
	display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px;
	text-transform: uppercase; color: var(--tk-royal);
}
.tk-meta { display: block; font-size: 12px; color: var(--tk-muted); }

/* ---------- 16:9 media (images carry text: never crop to another shape) ---------- */
.tk-media {
	display: block; position: relative; width: 100%;
	aspect-ratio: 16 / 9; background: var(--tk-placeholder);
	border-radius: 6px; overflow: hidden;
}
.tk-media .tk-img,
.tk-media > img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.tk-play-badge {
	position: absolute; right: 8px; bottom: 8px;
	background: var(--tk-charcoal); color: #FFFFFF;
	font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 4px;
}
.tk-media--player { background: #0E1E36; }
.tk-media--player > * { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }

/* ---------- Hero ---------- */
/* Stacked on phones/tablets; side by side from 900px with a wider right column */
.tk-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 900px) {
	.tk-hero { grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); }
}
.tk-lead { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tk-latest li.tk-fit-hidden { display: none; }
.tk-lead-title { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; }
.tk-standfirst { margin: 0; font-size: 17px; line-height: 1.5; color: #3D4C66; }
.tk-related { padding-top: 14px; border-top: 1px solid var(--tk-line); }
.tk-related-label {
	display: block; margin-bottom: 8px;
	font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--tk-royal);
}
.tk-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tk-related li {
	margin: 0; padding-left: 16px; position: relative;
	font-size: 15px; font-weight: 600; line-height: 1.35;
}
.tk-related li::before {
	content: ""; position: absolute; left: 0; top: 0.5em;
	width: 6px; height: 6px; border-radius: 1px; background: var(--tk-royal);
}

.tk-hero-side { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tk-live { background: var(--tk-charcoal); border-radius: 6px; overflow: hidden; color: #FFFFFF; }
.tk-live-player { position: relative; aspect-ratio: 16 / 9; background: #0E1E36; }
.tk-live-player > * { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.tk-live-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 13px; }
.tk-home .tk-live-bar a { color: #FFFFFF; font-weight: 700; }
.tk-now-playing { padding: 0 16px 12px; font-size: 13px; color: #C9D4E6; }
.tk-now-playing:empty { display: none; }

.tk-latest { background: var(--tk-white); border-radius: 6px; padding: 18px 20px; }
.tk-latest-title {
	margin: 0 0 6px; font-size: 15px; font-weight: 800;
	border-left: 4px solid var(--tk-royal); padding-left: 10px;
}
.tk-latest ol { list-style: none; margin: 0; padding: 0; }
.tk-latest li {
	margin: 0; padding: 12px 0; border-top: 1px solid var(--tk-line);
	display: flex; flex-direction: column; gap: 4px;
}
.tk-latest li a { font-size: 15px; font-weight: 700; line-height: 1.3; }

/* ---------- Grids & cards ---------- */
.tk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tk-grid--channels,
.tk-grid--six { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Must Watch: highlighted on a grey band, bigger cards, 3 across */
.tk-mustwatch {
	background: #ECEFF4; border-radius: 12px;
	padding: clamp(18px, 3vw, 32px);
	margin-left: calc(-1 * clamp(0px, 1.5vw, 16px)); margin-right: calc(-1 * clamp(0px, 1.5vw, 16px));
}
.tk-mustwatch .tk-title { font-size: 30px; }
.tk-grid--mustwatch { grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 600px) { .tk-grid--mustwatch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tk-grid--mustwatch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk-mustwatch .tk-card { background: #FFFFFF; border-radius: 8px; overflow: hidden; padding-bottom: 16px; box-shadow: 0 1px 3px rgba(20, 41, 70, 0.08); }
.tk-mustwatch .tk-card .tk-media { border-radius: 0; }
.tk-mustwatch .tk-card .tk-kicker,
.tk-mustwatch .tk-card .tk-card-title { padding: 0 16px; }
.tk-mustwatch .tk-card .tk-kicker { margin-top: 10px; }
.tk-mustwatch .tk-card-title { font-size: 18px; }
.tk-mustwatch .tk-card:hover { box-shadow: 0 6px 18px rgba(20, 41, 70, 0.14); }
.tk-card { display: flex; flex-direction: column; gap: 6px; }
.tk-card .tk-kicker { margin-top: 4px; }
.tk-card-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--tk-charcoal); }
.tk-channel { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Sliders (shows, shorts) ---------- */
.tk-slider { position: relative; }
.tk-rail {
	display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
	scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin;
}
.tk-slide-btn {
	position: absolute; top: 40%; z-index: 2; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 22px; border: none; cursor: pointer;
	background: #FFFFFF; color: var(--tk-royal); font-size: 18px;
	box-shadow: 0 2px 8px rgba(20, 41, 70, 0.25);
}
.tk-prev { left: -8px; }
.tk-next { right: -8px; }
@media (hover: none) { .tk-slide-btn { display: none; } }

/* Shows: just the uploaded 16:9 artwork (show logo + host), then tagline and host */
.tk-show { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.tk-show-tag { font-size: 13px; font-weight: 700; line-height: 1.3; }
.tk-show-host { font-size: 13px; color: var(--tk-muted); }

/* Shorts: vertical video */
.tk-short {
	flex: 0 0 150px; scroll-snap-align: start; position: relative;
	aspect-ratio: 9 / 15; border: none; padding: 0; cursor: pointer;
	border-radius: 6px; overflow: hidden; background: #22385A; text-align: left;
}
.tk-short img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-short::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(20, 41, 70, 0.9) 0%, rgba(20, 41, 70, 0) 55%);
}
.tk-short-play {
	position: absolute; z-index: 1; left: 50%; top: 42%; transform: translate(-50%, -50%);
	width: 40px; height: 40px; border-radius: 20px; border: 2px solid #FFFFFF;
	color: #FFFFFF; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.tk-short-title {
	position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px;
	color: #FFFFFF; font-size: 13px; font-weight: 700; line-height: 1.25;
}

.tk-modal {
	position: fixed; inset: 0; z-index: 9999; background: rgba(14, 30, 54, 0.88);
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.tk-modal[hidden] { display: none; }
.tk-modal-inner { position: relative; width: min(400px, 100%); }
.tk-modal-player { aspect-ratio: 9 / 16; max-height: 80vh; background: #000; border-radius: 8px; overflow: hidden; }
.tk-modal-player iframe { width: 100%; height: 100%; border: 0; }
.tk-modal-title { color: #FFFFFF; font-weight: 700; margin: 10px 0 0; }
.tk-modal-close {
	position: absolute; top: -48px; right: 0; width: 44px; height: 44px;
	border: none; background: transparent; color: #FFFFFF; font-size: 32px; cursor: pointer;
}

/* ---------- Section blocks ---------- */
.tk-sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 28px; }
@media (min-width: 600px) { .tk-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tk-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk-block { display: flex; flex-direction: column; gap: 12px; }
.tk-block .tk-head { margin-bottom: 0; }
.tk-line {
	display: flex; flex-direction: column; gap: 3px;
	padding-bottom: 10px; border-bottom: 1px solid var(--tk-line);
}
.tk-line-title { font-size: 15px; font-weight: 700; line-height: 1.3; }

/* ---------- Newsletter / app / partner ---------- */
.tk-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tk-cta-card { border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tk-cta-card h2 { margin: 0; font-size: 24px; font-weight: 800; color: inherit; }
.tk-cta-card p { margin: 0; font-size: 15px; line-height: 1.5; }
.tk-cta--blue { background: var(--tk-royal); color: #FFFFFF; }
.tk-cta--light { background: var(--tk-white); }
.tk-cta--light p { color: #3D4C66; }
.tk-cta--dark { background: var(--tk-charcoal); color: #FFFFFF; }
.tk-cta--dark p { color: #D4DDEA; }
.tk-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
.tk-home .tk-btn {
	align-self: flex-start; background: var(--tk-royal); color: #FFFFFF;
	font-weight: 700; padding: 13px 20px; border-radius: 6px;
}
.tk-home .tk-btn--dark { background: var(--tk-charcoal); color: #FFFFFF; }
.tk-home .tk-btn--white { background: #FFFFFF; color: var(--tk-royal); font-weight: 800; }
.tk-home .tk-btn:hover { opacity: 0.9; }
.tk-cta--blue input[type="email"] { height: 46px; border: none; border-radius: 6px; padding: 0 14px; }

/* ---------- Footer ---------- */
.tk-footer { background: var(--tk-royal); color: #FFFFFF; }
.tk-footer-row {
	display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between;
	padding-top: 32px; padding-bottom: 32px; font-size: 13px;
}
.tk-footer img { height: 36px; width: auto; border-radius: 6px; border: 0 !important; outline: 0 !important; box-shadow: none !important; }
.tk-copy {
	flex-basis: 100%; text-align: center;
	padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.tk-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tk-social { display: flex; gap: 10px; }
.tk-home .tk-social a {
	width: 40px; height: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.45);
	display: flex; align-items: center; justify-content: center; color: #FFFFFF;
}
.tk-home .tk-social a:hover { background: #FFFFFF; color: var(--tk-royal); text-decoration: none; }
.tk-social svg { display: block; }
.tk-home .tk-footer a { color: #FFFFFF; }
.tk-home .tk-footer a:hover { text-decoration: underline; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
	.tk-main { gap: 32px; }
	.tk-title { font-size: 22px; }
	.tk-show { flex-basis: 78vw; }
	.tk-short { flex-basis: 42vw; }
	.tk-home .tk-more { font-size: 13px; }
}

/* ---------- Mailchimp (MC4WP) form inside the blue newsletter card ---------- */
.tk-cta--blue .mc4wp-form-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.tk-cta--blue .mc4wp-form-fields p { margin: 0; }
.tk-cta--blue .mc4wp-form-fields p:first-child { flex: 1 1 200px; min-width: 0; }
.tk-cta--blue .mc4wp-form-fields label { display: block; font-size: 0; color: transparent; } /* label stays for screen readers */
.tk-cta--blue .mc4wp-form-fields input[type="email"],
.tk-cta--blue .mc4wp-form-fields input[type="text"] {
	width: 100%; height: 46px; border: none; border-radius: 6px; padding: 0 14px;
	font-size: 16px; color: var(--tk-charcoal); background: #FFFFFF;
}
.tk-cta--blue .mc4wp-form-fields input[type="submit"],
.tk-cta--blue .mc4wp-form-fields button {
	height: 46px; padding: 0 22px; border: none; border-radius: 6px; cursor: pointer;
	background: var(--tk-charcoal); color: #FFFFFF; font-size: 15px; font-weight: 700;
}
.tk-cta--blue .mc4wp-form-fields input[type="submit"]:hover { opacity: 0.9; }
.tk-cta--blue .mc4wp-response,
.tk-cta--blue .mc4wp-alert { color: #FFFFFF; font-size: 14px; margin-top: 10px; }

/* ---------- Site-wide header/footer wrapper (used on every page) ---------- */
.tk-chrome { overflow: visible; background: transparent; }
.tk-chrome--header { position: relative; z-index: 9990; }
.tk-chrome ul { margin: 0; padding: 0; }
.tk-chrome button { font-family: inherit; }

/* ---------- Category / tag pages ---------- */
.tk-archive-head { display: flex; flex-direction: column; gap: 8px; }
.tk-archive-title { font-size: clamp(30px, 3.2vw, 40px); }
.tk-archive-desc { color: #3D4C66; font-size: 16px; line-height: 1.5; max-width: 760px; }
.tk-archive-desc p { margin: 0; }
.tk-archive .tk-lead-title { font-size: clamp(26px, 3vw, 38px); }
.tk-grid--archive { grid-template-columns: minmax(0, 1fr); gap: 28px 24px; }
@media (min-width: 600px) { .tk-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tk-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk-grid--archive .tk-card-title { font-size: 17px; margin-top: 4px; }
.tk-pagination { display: flex; justify-content: center; }
.tk-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
	margin: 0 3px; padding: 0 12px; border-radius: 22px; border: 1px solid var(--tk-line);
	font-size: 15px; font-weight: 700; color: var(--tk-charcoal);
}
.tk-home .tk-pagination a.page-numbers:hover { border-color: var(--tk-royal); color: var(--tk-royal); }
.tk-pagination .page-numbers.current { background: var(--tk-royal); border-color: var(--tk-royal); color: #FFFFFF; }
.tk-pagination .page-numbers.dots { border: none; }
.tk-empty { font-size: 17px; color: #3D4C66; }

/* Subheading (the post's H2) under headlines */
.tk-card-sub { font-size: 14px; line-height: 1.45; color: #3D4C66; font-weight: 400; }
.tk-latest-sub { font-size: 13px; line-height: 1.4; color: #4E5B72; font-weight: 400; }
/* Never more than 2 lines */
.tk-card-sub, .tk-latest-sub, .tk-archive .tk-standfirst {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
