@charset "utf-8";
/*
Theme Name: idc-radio-theme
Theme URI: http://studioday.online
Author: Studio DAY
Theme URI: http://studioday.online
Description: Description
Version: 2.0
Text Domain: idc-radio-theme
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables
# Generic
	- Box sizing
# Base
	- Typography
	- Elements
	- IDC Elements
	- Links
	- Forms
# Layouts
	- Homepage
	- Single Post , Archive, Page, Search results
	- Program Page
	- 404
# Responsive
# Components
	- Navigation
	- Media
	- Captions
	- Galleries
	- Share Buttons
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variables
----------------------------------------------------------------

FONTS
title fonts - 'Alef' normal
paragraph fonts - 'Heebo' normal

menu font 	font-size: 1.25rem; or 1.125rem


Hex Opacity Values
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
60% — 99
55% — 8C
50% — 80
45% — 73
40% — 66
35% — 59
30% — 4D
25% — 40
20% — 33
15% — 26
10% — 1A
5% — 0D
0% — 00

red/pink - #ff0160
dark-grey/blue - #888993
bright-yellow - #fff9dd
transparent-border-color - #fff7 , #ffffff4d
brighter-border-color - #fffc

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

body,
button,
input,
select,
optgroup,
textarea {
	font-family: 'Heebo', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Alef', sans-serif;
  font-weight: normal;
  clear: both;
}

h2 {
	font-size: 1.5em;
	margin: 0.5rem 0;
}

h3 {
	font-size: 1.2rem;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

/* Elements
--------------------------------------------- */
body {
	background-color: #111;
  color: #fff;
}

a {
	color: #fffc;
}

a:visited {
	color: #fffc;
}

a:hover,
a:focus,
a:active {
	color: #ffff;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

b, strong {
  font-weight: bold;
}

.row:after, .container:after {
	content: '';
	display: block;
	clear: both;
}

.flex {
	display: flex;
}

.column {
	flex-grow: 1;
	padding: 0.5rem;
}

.hide {
	display: none;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.red {
	color: #ff0160;
}

.hidden {
	display: none;
}

.round {
	border-radius: 50%;
	overflow: hidden;
}

/* IDC Elements
--------------------------------------------- */
.site {
	background-image: url(img/radio-background.jpg);
	background-repeat: no-repeat;
	background-position: top center;
  background-size: 100% 100%;
  padding-top: 4.5rem;
  min-height: 100%;
  /* Sticky footer: column layout so the content area can grow and keep the
     footer at the bottom even when a page's content is short. */
  display: flex;
  flex-direction: column;
}

/* Content area grows to fill leftover height → a short page still pushes the
   footer to the bottom of the viewport instead of floating in the middle. */
#pjaxtarget {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.site-header {
	display: flex;
	align-items: center;
	height: 4.5rem;
	padding: 0.5rem 1rem;
	border-bottom: 1px solid #ffffff77;
	position: fixed;
	top: 0;
	width: 100%;
  z-index: 100000;
	background: #000c;
}

button.play-live {
	background: none;
	border-color: #ff0160;
	color: #ff0160;
	margin: 0 1rem;
	padding: 0 0.5rem;
	border-radius: 2px;
	cursor: pointer;
	right: 30px;
	left: unset;
}

.rtl button.play-live {
	left: 30px;
	right: unset;
}

.page-header,
.section-title {
	border-bottom: 1px solid #fff7;
	background: #0003;
	margin: 0;
	padding: 1rem;
}

.section-title {
	border-top: 1px solid #fff7;
}

/* Borders and corners */

.border {
  border: 1px solid #ffffff4d;
  position: relative;
}

.border .inner {
	position: absolute;
	top: 1rem;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	background: #000;
}

.border:before,
.border:after,
.border .inner:before,
.border .inner:after {
  display: block;
  content: '';
  width: 5px;
  height: 5px;
  background: none;
  position: absolute;
  border: 1px solid #ffffff77;
}

.border:before {
  border-left: none;
  border-bottom: none;
  top: -1px;
  right: -1px;
}

.border:after {
  border-right: none;
  border-bottom: none;
  top: -1px;
  left: -1px;
}

.border .inner:before {
	bottom: -1rem;
	right: -1rem;
	border-top: none;
	border-left: none;
	transform: translate(1px, 1px);
}

.border .inner:after {
	bottom: -1rem;
	left: -1rem;
	border-top: none;
	border-right: none;
	transform: translate(-1px, 1px);
}

p.line-end {
	direction: rtl;
	margin: 25px 0 0 0 !important;
}

.rtl p.line-end {
	direction: ltr;
}


/* Tiles open and close */

.post-tile {
  height: 0;
  width: 20%;
  padding-bottom: 20%;
  transition: width 400ms ease-out 200ms;
  -webkit-transition: 400ms ease-out 200ms;
}

/*.post-tile:hover*/
.post-tile.opened-post,
.post-tile:focus {
  background: repeating-linear-gradient(
    -45deg,
    #ffffff33,
    #ffffff33 1px,
    #ffffff00 1px,
    #ffffff00 4px
  );
	width: 40%;
}

.post-tile article {
	height: 100%;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}

.post-tile .post-thumb-container,
.post-tile .post-thumbnail {
	height: 100%;
}

a.post-thumbnail {
	display: block;
}

.post-tile .post-thumbnail img {
	height: 100%;
	width: auto;
}

.post-thumbnail img {
	display: block;
}

.post-tile .article-info {
	width: 50%;
	overflow: hidden;
	padding: 1rem;
	max-height: 100%;
	position: relative;
}

.post-tile .article-info h3 {
	margin: 0;
	padding: 0;
}

.post-tile .post-date,
.post-tile .program-broadcasters,
.post-tile .mother-program,
.recent-tile .post-date,
.recent-tile .mother-program {
	font-size: 0.8rem;
}

.recent-tile .article-info {
	padding: 0 1rem;
}

.program-broadcasters a:after {
	content: ",";
}

.program-broadcasters a:last-child:after {
	content: '';
}

.episode-play-button,
.post-type-icon {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0;
	margin: 0.8rem;
	background: none;
	z-index: 1000;
	color: #0009;
	border: none;
}

.post-type-icon {
	width: 0;
	height: 0;
	border-bottom: 4em solid #0007;
	border-left: 4em solid #0000;
	margin: 0;
	color: #fff;
	overflow: visible;
}

.rtl .post-type-icon {
	border-left: none;
	border-right: 4em solid #0000;
}

.post-type-icon i {
	position: absolute;
	bottom: -2em;
	text-indent: -1.8em;
	width: 0;
	height: 0;
	overflow: visible;
}

.episode-play-button {
	cursor: pointer;
}

.episode-play-button:hover {
	color: #111;
}

.episode-play-button:hover .fa-inverse {
	color: #ff0160;
}

.rtl .episode-play-button,
.rtl .post-type-icon {
	left: 0;
	right: auto;
}

.post-tile a {
	text-decoration: none;
}

.post-tile .post-content,
.recent-tile .post-content {
	display: none;
}

.post-tile h2 {
	margin-top: 0;
	-webkit-line-clamp: 3;
}

#footer {
	border-top: 1px solid #fff7;
	background: #0007;
	padding-bottom: 4.5rem;
	width: 100%;
	overflow-x: hidden; /* TODO: change this */
}

/* Footer rows — one centered column: editable links over a divided credit line. */
#footer .frow {
	width: 90%;
	max-width: 1124px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 0.4rem 1.6rem;
	padding: 0.55rem 1rem;
	font-size: 0.8em;
}

/* Row 1 — editable links, inline & evenly spaced. */
#footer .frow--links {
	padding-top: 1.1rem;
}

#footer .frow--links a {
	white-space: nowrap;
}

/* Row 2 — copyright | ACUM | design; each item two lines, separated by dividers. */
#footer .frow--credits {
	padding-bottom: 1.1rem;
	align-items: stretch;
	gap: 0;
}

#footer .frow--credits .citem {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	line-height: 1.35;
	padding: 0 1.6rem;
}

#footer .frow--credits .citem + .citem {
	border-inline-start: 1px solid #fff4;
}

/* ACUM item — logo beside its two-line license credit; it sets the row height. */
#footer .frow--credits .citem--acum {
	flex-direction: row;
	gap: 0.55rem;
}

#footer .frow--credits .citem--acum img {
	height: 34px;
	width: auto;
	display: block;
}

#footer .widget {
	padding: 0.5rem 0;
}

#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#the-player {
	background: #222;
	background: #333;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
}

#footer .site-info {
	flex: 1;
	font-size: 0.8em;
}

/* Forms
--------------------------------------------- */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 2px;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 3px 0.5rem;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #fffc;
	border: 1px solid #fff7;
	border-radius: 2px;
	padding: 3px 0.5rem;
	background: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #fff;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

::placeholder {
	color: #cccc;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* homepage */

.featured-posts {
	flex-wrap: wrap;
}

.featured-posts .homepage-tile .post-date {
	display: none;
}

.recent-tile {
	height: 0;
	padding-bottom: calc(100% + 6.75rem);
}

#recent-episodes {
	position: relative;
}

#recent-episodes .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	height: 0;
	display: flex;
	justify-content: space-between;
}

#recent-episodes .owl-nav button span {
	background: #000c;
	padding: 0.5rem 1rem;
	color: #fff;
	transform: translateY(-50%);
  display: block;
}

.owl-carousel.off {
    display: block;
}

@media screen and (max-width: 37.5em) {
	.featured-posts:nth-of-type(2) {
		display: none;
	}

	.featured-posts .homepage-tile {
		display: none;
	}

	.featured-posts .homepage-tile:first-child {
		display: block;
	}
}

@media screen and (max-width: 61em) {
	.featured-posts .homepage-tile:nth-of-type(3),
	.featured-posts .homepage-tile:nth-of-type(4) {
		display: none;
	}
}

/* Single Post , Archive, Page, Search results
--------------------------------------------------------------*/
.post-banner,
.program-content,
.page-content,
.page-title,
.archive-content {
	width: 90%;
	max-width: 1124px;
	margin: 0 auto;
}

.page-content {
	max-width: 1000px;
}

.archive-content > article {
	position: relative;
/*
	display: grid;
	grid-template-columns: [thumb] 1fr [rest] 3fr [end];
	grid-template-rows: [top] max-content [info-end] auto [bottom];
*/
	border-bottom: 1px solid #fff4;
	padding: 1rem;
	display: flex;
}

.archive-content > article > .post-thumb-container {
/*
	grid-column: thumb / rest;
	grid-row: top / bottom;
*/
	flex: 1;
	position: relative;
	height: 0;
	padding-bottom: 25%;
}

.archive-content .article-info {

	flex: 3;
	/* display: -webkit-box;
	-webkit-line-clamp: 9;
	-webkit-box-orient: vertical;
	overflow: hidden; */
}


.archive-content > article .post-content {
	padding: 0 1rem;
	max-height: 170px;
  overflow: hidden;
	position: relative;
}
.archive-content > article .post-content span.image-credit {
    display: block;
}

.archive-content .post-content .share-buttons,
.archive-content .post-content img {
	display: none;
}

.archive-content .article-info .item-title {
	margin: 0 1rem 1rem;
}

.archive-content .post-date,
.archive-content .program-broadcasters,
.archive-content .mother-program {
	font-size: 0.8rem;
	margin: 0 1rem;
}

.archive-content .program-broadcasters span:after {
	content: ', ';
	display: inline-block;
}

.archive-content .program-broadcasters span:last-of-type:after {
	content: '';
}

/* Standalone search results ------------------------------------------------ */
.archive-content .program-category {
	font-size: 0.8rem;
	margin: 0 1rem;
	display: block;
	opacity: 0.85;
}



/*
.archive-content .post-type-icon,
.archive-content article .episode-play-button {
	right: 75%;
	top: 0;
	padding-top: 25%;
	bottom: auto;
	transform: translate(0.5rem, -3.5rem);
}

.rtl .archive-content .post-type-icon,
.archive-content article .episode-play-button {
	right: auto;
	left: 75%;
	transform: translate(-0.5rem, -3.5rem);
}
*/

.post-banner {
	flex-wrap: wrap;
	padding: 1rem;
}

.post-banner .post-thumb-container {
	width: 25%;
	padding-bottom: 25%;
	height: 0;
	overflow: hidden;
	position: relative;
}

.post-banner .post-thumbnail img,
.archive-content .post-thumbnail img {
	display: block;
}

.post-banner .post-thumb-container .episode-play-button {
	/* Zero the base 0.8rem margin (kept for the smaller list/homepage tiles) so it
	   doesn't stack with the transform below into a doubled inset. Here the transform
	   alone positions the button. */
	margin: 0;
	transform: translate(1rem, -1rem);
}

/* The button is anchored to the bottom-left in RTL and bottom-right in LTR, so the
   horizontal nudge above must mirror with the direction — otherwise on an LTR (EN)
   page it pushes the button OUT past the right edge, where the container's
   overflow:hidden clips it. Reverse the X shift in LTR so it tucks inward the same
   way it does in RTL. Keys off dir (layout), not language. */
[dir="ltr"] .post-banner .post-thumb-container .episode-play-button {
	transform: translate(-1rem, -1rem);
}

.post-info {
	width: 75%;
	display: flex;
	flex-direction: column;
}

.post-title {
	line-height: 1;
	margin: 0.5rem 1rem;
}

.post-title span {
	border-right: 1px solid #fffc;
	border-left: 1px solid #fffc;
	padding: 0 1rem;
	line-height: 1;
	display: inline-block;
	position: relative;
	margin-right: 1rem;
	margin-left: 1rem;
}

.post-title span:before,
.post-title span:after {
	content: '';
	display: block;
	width: 1rem;
	height: 1px;
	border-top: 1px solid #fffc;
	position: absolute;
	top: 50%;
	left: -1rem;
}

.post-title span:after {
	left: auto;
	right: -1rem;
}

.post-meta,
.program-description {
	flex-grow: 1;
	padding: 0.5rem 1rem;
}

.post-meta span {
	font-size: 0.8rem;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}
.post-meta span.post-cat {
    margin: 0 0 2px 0;
    font-size: 1em;
}

.post-banner .post-content {
	padding: 1rem;
}
.post-content iframe.lazyloaded {
		width: 100%;
		height: 500px;
}

.program-description p:first-of-type,
.post-content p:first-of-type {
	margin-top: 0;
}

.article-info h2 a,
.article-info h3 a {
	text-decoration: none;
}

/* Pagination */

.pagination {
	padding: 1rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
}

.pagination .nav-links .page-numbers {
	background: #0007;
	border-radius: 50%;
	font-size: 0.9rem;
	width: 2em;
	height: 2em;
	line-height: 2em;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.pagination .nav-links .page-numbers.dots {
	background: none;
	overflow: visible;
}

.pagination .nav-links .page-numbers.current {
	background: #0009;
}

.pagination .nav-links .page-numbers.next,
.pagination .nav-links .page-numbers.prev {
	color: #0000;
}

.pagination .nav-links .page-numbers.next:before,
.pagination .nav-links .page-numbers.prev:before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position:absolute;
    top:0;
    line-height: 2em;
    height: 2em;
    width: 2em;
    text-align: center;
    color: #fff;
}

.rtl .pagination .nav-links .page-numbers.next:before,
.pagination .nav-links .page-numbers.prev:before {
	content: "\f060";
}

.rtl .pagination .nav-links .page-numbers.prev:before {
    content: "\f061";
}

/* Program Page
--------------------------------------------------------------*/

.program-banner {
	background: url(img/cat-bg-1.jpg) no-repeat center center;
	background-size: cover;
	/* TODO: change this to function chosing bg image by category */
	padding: 1rem;
}

.program-content {
	margin-top: 1rem;
}

.program-sidebar {
	flex: 25%;
	color: #000;
}

.program-sidebar .inner {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	margin: 1rem;
	background: #ffffff4d;
}

.program-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.program-sidebar .broadcaster {
	padding: 1.2rem;
}

.dj-pic {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}

.program-sidebar ul.s-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-sidebar ul.s-list a {
    display: block;
    margin: 0 4px;
    padding: 0 5px;
    font-size: 14px;
}

.dj-desc {
    text-align: center;
}

.broadcaster h2 {
	text-align: center;
}

.broadcaster p {
	font-size: 0.8rem;
	margin-top: 0;
}

.program-social {
	text-align: left;
	padding: 1rem;
}

.program-social a {
	padding: 0 0.5rem;
}

.episodes-list {
	flex-grow: 1;
}

.program-content .episodes-list {
	flex: 75%;
	min-height: 750px;
}

.episodes-list .flex {
	flex-wrap: wrap;
}

/* Episode mosaic — ALWAYS reconstructed right-to-left (pure logic, independent of
   the site language). When an episode has no image, single-program.php slices the
   show cover into a 3×3 grid via background-position, cut RIGHT-TO-LEFT (tile 0 =
   top-right cell), so it must be rebuilt right-to-left too. The browser lays the
   tiles out following the document's text direction, so:
     - dir=rtl: tiles already flow right-to-left → reconstructs correctly (default).
     - dir=ltr: tiles flow left-to-right, opposite the slicing → it would split the
       image and rebuild from two opposite directions. So reverse the row to put the
       tiles back in right-to-left order, matching the slices.
   This keys off the document DIRECTION (dir attribute), not the language, and does
   NOT affect the text inside each tile. */
[dir="ltr"] .episodes-list .flex {
	flex-direction: row-reverse;
}

.episode-tile {
	height: 0;
  padding-bottom: 33.33%;
  width: 33.33%;
}

.episodes-list .episode-tile .inner {
	background: #0002;
}

.episodes-list .post-thumb-container {
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
	position: relative;
}

/* Episode thumbnail div — replaces <img> to support background-position slicing */
.ep-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.episode-tile .episode-title,
.recent-tile .episode-title {
	font-size: 1.2rem;
	line-height: 1.2;
}

.episode-tile .episode-title {
	margin: 0.5rem;
}
/* Clamp off long titles */
/*
.episodes-list .article-info h2  {
	overflow: hidden;
	position: relative;
	margin: 0.5rem;
}

.episodes-list .article-info h2 {
	max-height: 2.6em;
	font-size: 1.2rem;
	line-height: 1.2;
}

.episodes-list .article-info h2 a {
	text-decoration: none;
	display: block;
	position: relative;
}

.episodes-list .article-info h2 a {
	margin: 0 1em 0 0;
}

.rtl .episodes-list .article-info h2 a {
	margin: 0 0 0 1rem;
}

.episodes-list .article-info h2 a:after {
	content: '...';
	display: block;
	position: absolute;
}

.episodes-list .article-info h2 a:after {
	top: 2.25em;
	left: auto;
	right: -1rem;
	height: 0;
	line-height: 0;
}

.rtl .episodes-list .article-info h2 a:after {
	left: -1rem;
	right: auto;
}

/* End Clamp */

.episodes-list .article-info .post-date,
.episodes-list .image-credits {
	font-size: 0.8rem;
	padding: 0.5rem;
	display: block;
}

.episode-tile:hover,
.episode-tile:focus,
.episode-tile.opened-episode {
	background: #0007;
}

.opened-episode {
	border-bottom: 1px solid #0000;
}

.episodes-list .episode-tile .post-content,
.episodes-list .mother-program {
	display: none;
}

.episodes-list .episode-tile .article-info,
.episodes-list .recent-tile .article-info /* TODO: move this */ {
	position: absolute;
	background: #0009;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	height: auto;
}

.opened-episode .post-content .read-less {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5em;
	padding: 0;
	margin: auto;
}

p.line-end{
	border: 0;
  border-top: solid 1px #333 !important;
}

.opened-episode h2 a,
.opened-episode-content h2 a {
  pointer-events: none;
}

/* Only Med+ Screens */

@media screen and (min-width: 37.5em) {

	.episodes-list div.row .post-thumb-container a img.program_thumb {
		width: 300%;
		height: auto;
		max-width: none;
		max-height: none;
	}

	/* TODO: change the divs to another tag like section */
	.episodes-list div:nth-of-type(3n+1) .post-thumb-container a img.program_thumb {
		margin-top: 0;
	}

	.episodes-list div.row:nth-of-type(3n+2) .post-thumb-container a img.program_thumb {
		margin-top: -100%;
	}

	.episodes-list div.row:nth-of-type(3n+3) .post-thumb-container a img.program_thumb {
		margin-top: -200%;
	}

	.episodes-list div.row div.episode-tile:nth-of-type(4) .post-thumb-container a img.program_thumb {
		transform: translateX(0);
	}

	.episodes-list div.row div.episode-tile:nth-of-type(2) .post-thumb-container a img.program_thumb,
	.episodes-list div.row div.episode-tile:nth-of-type(5) .post-thumb-container a img.program_thumb {
		transform: translateX(-33.33%);
	}

	.rtl .episodes-list div.row div.episode-tile:nth-of-type(2) .post-thumb-container a img.program_thumb,
	.rtl .episodes-list div.row div.episode-tile:nth-of-type(5) .post-thumb-container a img.program_thumb {
		transform: translateX(33.33%);
	}

	.episodes-list div.row div.episode-tile:nth-of-type(3) .post-thumb-container a img.program_thumb,
	.episodes-list div.row div.episode-tile:nth-of-type(6) .post-thumb-container a img.program_thumb {
		transform: translateX(-66.66%);
	}

	.rtl .episodes-list div.row div.episode-tile:nth-of-type(3) .post-thumb-container a img.program_thumb,
	.rtl .episodes-list div.row div.episode-tile:nth-of-type(6) .post-thumb-container a img.program_thumb {
		transform: translateX(66.66%);
	}

	.episodes-list .episode-tile .article-info {
		max-height: 7rem;
		transition: max-height ease 200ms;
	}

	.episode-tile.opened-episode .article-info {
		max-height: 0;
		transition: max-height ease 500ms;
	}

	.episode-content-container {
		width: 99.99%;
		background: linear-gradient(#0007, #000);
		height: auto;
		max-height: 0;
		overflow: hidden;
		border: none;
		transition: max-height ease 200ms;
	}

	.episode-content-container .inner {
		position: static;
		padding: 1rem;
		background: none;
	}

	.episode-content-container .inner:before {
		right: 0;
		bottom: 0;
	}

	.episode-content-container .inner:after {
		left: 0;
		bottom: 0;
	}

	.episode-content-container.opened-episode-content {
		max-height: 150rem;
		border: 1px solid #fff4;
		border-top: none;
		transition: max-height ease 500ms;
	}

	.episode-content-container .post-content {
		padding: 0.5rem;
	}

	.episode-content-container .post-content .read-less {
		display: block;
    background: none;
    cursor: pointer;
    font-size: 1.5em;
    padding: 10px;
    width: 100%;
    border: 0;
    border-top: solid 1px #333 !important;
	}

}
/* End Only Med+ Screens */

#program-pagination { /* ?? */
	height: 5rem;
}


/* 404
--------------------------------------------------------------*/

/* section.not-found {
	background: url(img/NoPageBG-80.jpg) no-repeat;
	background-size: cover;
}

section.not-found:before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 0.8rem;
	background: url(img/NoPageBG_Line-80.jpg);
} */

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/* Desktop */

@media screen and (min-width: 61em) {

	.wp_is_mobile{display: none !important;}

	.article-info h2.wp_is_pc {
			margin: 0.5rem 1rem;
	}

	.program-description span.program-broadcasters {
	    display: none;
	}
/*	.hide-from-mobile, .hide-from-tablet {
		display: initial;
	}

	.hide-from-desktop {
		display: none !important;
	}
*/
	.post-tile .post-content {
		display: block;
		padding-top: 0.5em;
	}

	.post-tile .post-content:after {
		display: block;
		content: " ";
		position: absolute;
		bottom: 0;
		height: 10em;
		width: 100%;
		background: linear-gradient(#0000, #000);
		background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 75%, rgba(0,0,0,1) 100%);
	}

	.post-tile .post-thumbnail img {
		max-height: calc(20vw - 2rem); /* This is a fix for the firefox weird white-space issue */
	}


}

/* end Desktop */

/* Tablet */

@media screen and (max-width: 61em) {

/*	.hide-from-desktop, .hide-from-mobile {
		display: initial;
	}
doesn't work like this need to cascade differently
	.hide-from-tablet {
		display: none !important;
	}
*/
.program-description span.program-broadcasters {
		display: none;
}
	.post-tile {
		width: 33.33%;
		padding-bottom: 33.33%;
	}

	.post-tile.opened-post,
	.post-tile:focus {
		width: 66.66%;
	}

/*	.post-meta .program-broadcasters {
		display: none;
	}
*/
}

/* end Tablet */

/* Mobile Phone */

@media screen and (max-width: 37.5em) {
	.wp_is_pc{display: none !important;}


	.hide-from-mobile {
		display: none;
	}

	.program-content .program-sidebar {
		display: none;
	}
	.program-description span.program-broadcasters {
		    margin: 0 0 10px 0;
		    display: block;
		}

	.post-tile,
	.episode-tile {
		width: 100%;
		padding-bottom: 100%;
	}

	.post-tile.opened-post,
	.post-tile:focus {
		width: 100%;
	}

	.post-tile .article-info {
		position: absolute;
		bottom: 0;
		width: 100%;
		background: #000a;
		max-height: 50%;
		overflow: auto;
	}

	/* .archive-content .article-info {
		-webkit-line-clamp: 3;
	} */

	.episode-tile {
		padding-bottom: 0;
		height: auto;
		padding: 1rem;
	}

	.episode-tile .inner {
		position: static;
	}

	.episode-tile .post-thumb-container {
		position: relative;
		padding: 0;
		height: auto;
		min-width: fit-content;
	}
	.single-program .type-episode .post-header-container {display: block;padding: 0;}
	.single-program .type-episode .post-header-container img {max-width: 100%;}
	.single-program .type-episode .episode-title {margin: 0;padding: 0.5rem;background: #000a;}

	.episodes-list .episode-tile .article-info {
		position: relative;
		bottom: 0;
		width: 100%;
		background: #000a;
	}

	.episodes-list .episode-tile .post-content {
		display: block;
		padding: 0 0.5rem;
		height: auto;
		overflow: hidden;
		max-height: 0;
		-webkit-transition: max-height .5s;
		transition: max-height .5s;

	}

	.episodes-list .episode-tile.opened-episode .post-content {
		max-height: 999rem;
	}

	.border.episode-tile:before,
	.border.episode-tile .inner:before {
		right: 0;
	}

	.border.episode-tile:after,
	.border.episode-tile .inner:after {
		left: 0;
	}

	.episode-tile.opened-episode article {
		height: 100%;
	}

	.episode-tile.opened-episode .post-content {
		display: block;
		padding: 1rem;
		max-height: 40%;
		overflow: auto;
	}

	.episode-content-container,
	.episode-content-container.opened-episode-content {
		display: none;
	}

/*	.opened-episode .episode-play-button {
		top: 50%;
		bottom: auto;
		transform: translateY(-5rem);
	}
*/
	.post-banner, .program-content, .page-content, .page-title, .archive-content {
		width: 100%;
	}

	.page-content {
		padding: 1rem;
	}

	.post-banner .post-thumbnail img,
	.archive-content .post-thumbnail img {
		padding: 0.5rem;
	}

	.program-banner .post-thumb-container img {
	    max-width: 115px;
	}

	.post-banner .post-title {
		margin: 0.5rem 0;
	}

	.post-content iframe.lazyloaded {
	    height: 250px;
	}

	.program-banner .post-title {

	}

	.post-banner .post-thumb-container {
		width: 100%;
		padding-bottom: 100%;
	}

	.program-banner .post-thumb-container {
		display: flex;
		align-items: center;
		padding: 0;
		height: auto;
	}

	.post-banner .post-info { /* TODO: grid this */
		width: 100%;
	}

	.program-banner .post-info { /* TODO: grid this */
		flex: 3;
	}


	.archive-content > article {
		padding: 0.4rem;
	}

	.archive-content > article .post-content {
		padding: 0 0.5rem;
		max-height: 50px;
	}

	.archive-content .post-date, .archive-content .program-broadcasters, .archive-content .mother-program{
		margin: 0 0.5rem;
	}

	.archive-content > article .post-content span.image-credit {
    display: block;
  }

	.post-type-icon {
		bottom: 8px;
		font-size: 11px;
	}
	.post-type-icon i{
		bottom: -2.5em;
    text-indent: -1.5em;
	}
	.rtl .post-type-icon{
		left: 8px;
	}

	#footer {
		padding-bottom: 8rem;
	}

	#footer .frow--credits {
		flex-direction: column;
		gap: 0.6rem;
	}

	#footer .frow--credits .citem + .citem {
		border-inline-start: 0;
	}

	.archive-content > article {
	    display: block;
	}
	.post-header-container {
	    display: flex;
	    align-items: center;
	    padding: 0 0 0 10px;
	}
	.post-header-container img {
	    max-width: 115px;
	}
	.post-thumb-container {
	    position: relative;
	}
	.post-header-container h2 {
	    overflow: hidden;
	    text-overflow: ellipsis;
	    display: -webkit-box;
	    -webkit-line-clamp: 3;
	    line-clamp: 3;
	    -webkit-box-orient: vertical;
	}

}

/* end Mobile */


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.site-branding a {
	display: block;
}

.site-branding a img {
	height: 3.5rem;
	width: auto;
	max-width: none;
	display: block;
}

.not-found {
	padding: 1rem 10%;
	position: relative;
}

.not-found img {
	display: block;
	margin: auto;
	width: 100%;
	max-width: 350px;
}

.not-found span,
.not-found h1 {
	margin: 10px auto 20px;
	font-size: 2rem;
	text-align: center;
}

.no-results .page-content {
    text-align: center;
}
.no-results .page-content label {
    margin: 0 25px 0 0;
}
.no-results .page-content .idc-search-form {
    justify-content: center;
}
.no-results .page-content p {
    margin: 40px 0 10px;
}

/* Unified error / "content not found" page — shared design for 404, empty
   search results, and "episode not available" (rendered by inc/error-page.php).
   Selectors are scoped under .error-page so they beat the older generic
   .not-found img / .not-found h1 rules above. */
.error-page {
    padding: 1rem 10%;
    text-align: center;
    position: relative;
}
.error-page .error-page-img {
    display: block;
    margin: 55px auto 0;
    width: 100%;
    max-width: 350px;
}
.error-page .error-page-title {
    margin: 30px auto 10px;
    font-size: 2rem;
    text-align: center;
}
.error-page .page-content {
    text-align: center;
}
.error-page .error-page-text {
    margin: 20px 0 15px;
    font-size: 1.1rem;
}
.error-page .idc-search-form {
    justify-content: center;
}

.idc-search-form {
	display: flex;
	margin: 0 0.5rem;
}

.idc-search-form input {
	padding: 0 0.5rem;
}

.idc-search-form .search-submit {
	border: none;
	background: none;
	color: #fffc;
}

.idc-search-form button:hover {
	color: #fff9dd;
}

.widget_search .idc-search-form {
	margin: 0px;
}

input.search-field{
	-webkit-appearance: none;
}

/* Search box as the last menu item (right after the language switcher). It lives
   inside the main-nav <ul>, so center the form within the flex menu row. */
.menu-item-search {
	display: flex;
	align-items: center;
}

/* Navigation
--------------------------------------------- */

.main-navigation {
	display: flex;
	flex: 1;
	justify-content: space-between;
}

.main-nav-wrapper {
	display: flex;
	flex-direction: row;
	flex: 1;
	justify-content: center;
}

.main-navigation ul,
.social-icons ul {
	display: flex;
	justify-content: center;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
	margin: 0 0.5rem;
}

.social-icons li {
	margin: 0 0.5rem;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle {
	display: none;
}

/* Mobile Navigation */
@media screen and (max-width: 61em) {

	.menu-toggle {
		display: block;
		position: fixed;
		padding: 0;
		margin: 1rem;
		top: 0;
		left: auto;
		right: 0;
		color: #ff0160;
		border: none;
		background: #000;
		height: 2.5rem;
		width: 2.5rem;
	}

	.rtl .menu-toggle {
		right: auto;
		left: 0;
	}

	.menu-toggle span {
		display: block;
		position: absolute;
		height: 1px;
		width: 60%;
		margin: 0 20%;
		background: #fff;
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: transform .5s;
		transition: transform .5s;
	}

	.menu-toggle span:nth-child(1) {
		top: 0.75rem;
	}
	.menu-toggle span:nth-child(2),	.menu-toggle span:nth-child(3) {
		top: 1.25rem;
	}

	.menu-toggle span:nth-child(4) {
		top: 1.75rem;
	}

	.main-navigation.toggled .menu-toggle span:nth-child(1),
	.main-navigation.toggled .menu-toggle span:nth-child(4) {
		top: 15px;
		width: 0%;
		left: 50%;
	}

	.main-navigation.toggled .menu-toggle span:nth-child(2) {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.main-navigation.toggled .menu-toggle span:nth-child(3) {
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.main-navigation {
		position: fixed;
		top: 4.5rem;
		bottom: 0;
		background: #000c;
		left: auto;
		right: -110%;
		flex-direction: column;
		-webkit-transition: all 0.5s;
		transition: all 0.5s;
		min-width: 300px;
		overflow: auto;
	}

	.rtl .main-navigation {
		right: auto;
		left: -110%;
	}

	.main-navigation.toggled {
		left: auto;
		right: 0;
	}

	.rtl .main-navigation.toggled {
		right: auto;
		left: 0;
	}

	/* Search is the last menu item on desktop, but on mobile pin it to the TOP of
	   the slide-in menu panel (like the original theme). It's absolute within the
	   fixed .main-navigation panel; ul.main-nav reserves the space via margin-top.
	   IMPORTANT: the selector must out-specify `.main-navigation li { position:
	   relative }` (which the desktop dropdown submenus rely on, so we must NOT
	   remove it) — otherwise that (0,1,1) rule beats a bare `.menu-item-search`
	   (0,1,0) and the search stays in flow at the BOTTOM instead of pinning to the
	   top. Qualifying it as `.main-navigation li.menu-item-search` (0,2,1) wins. */
	.main-navigation li.menu-item-search {
		position: absolute;
		top: 0.5rem;
		display: none;
	}

	.main-navigation.toggled li.menu-item-search {
		display: block;
	}

	.main-nav-wrapper {
		flex-direction: column;
		flex: 0;
	}

	.main-navigation.toggled .main-nav-wrapper {
		display: flex;
	}

	.main-navigation ul {
		flex-direction: column;
	}

	.main-navigation ul.main-nav {
		margin-top: 2.5rem;
		border-top: 1px solid #fff4;
	}

	.main-navigation li a {
		padding: 0.5rem;
		border-bottom: 1px solid #fff4;
	}

	.main-navigation ul ul a {
		color: #fff;
		padding: 0.5rem 2rem;
		font-size: 0.9rem;
	}

	button.play-live {
		position: fixed;
		top: 0;
		left: 50%;
		right: auto;
		height: 1.5rem;
		transform: translateX(-50%);
		margin: 1.5rem 0;
	}

	.rtl button.play-live {
		left: auto;
		right: 50%;
		transform: translateX(50%);
	}

	.social-icons {
		flex-grow: 1;
	}

	header .social-icons ul {
		justify-content: flex-start;
		flex-direction: row;
		border-bottom: 1px solid #fff4;
	}

	.social-icons ul li a {
		border: none;
	}

}

/* End Mobile Navigation */


/* Desktop Navigation */
@media screen and (min-width: 61em) {

	.main-navigation ul ul {
		position: absolute;
		top: -9999em;
		z-index: 99999;
		display: block;
		width: auto;
		left: 50%;
		transform: translateX(-50%);
		padding-top: 1.5rem;
		text-align: center;
	}

	.main-navigation ul ul ul {
	/*	right: -999em;
		top: 0;*/
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		display: block;
		/*TODO: FIX LTR */
		left: -100%;
		top: 0;
	}

	.sub-menu li {
		margin: 0;
		padding: 0;
		display: block;
	}

	.main-navigation ul ul a {
		color: #fff;
		background: #000b;
		padding: 0.5rem 2rem;
		margin-bottom: -1px;
		border: 1px solid #fff7;
		font-size: 0.9rem;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li:focus > ul,
	.main-navigation ul li.focus > ul {
		top: 100%;
	}

}
/* End Desktop Navigation */

.current-menu-item a,
.menu-item a:hover {
	color: #fff9dd;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.post-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Share Buttons
--------------------------------------------- */
.share-buttons {
	font-size: 1.2em;
}

.share-buttons a { /* Reset mobile buttons */
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none;
  all: unset;
	cursor: pointer;
}

.share-buttons .btn-twitter {
	color: #1DA1F2aa;
}

.share-buttons .btn-twitter:hover {
	color: #1DA1F2;
}

.share-buttons .btn-facebook {
	color: #4267B2aa;
}

.share-buttons .btn-facebook:hover {
	color: #4267B2;
}

.share-buttons .btn-whatsapp {
	color: #25D366aa;
}

.share-buttons .btn-whatsapp:hover {
	color: #25D366;
}

.share-buttons .btn-copylink {
	color: #ff0160aa;
}

.share-buttons .btn-copylink:hover {
	color: #ff0160;
}
.copy-alert {
    position: absolute;
    max-width: 345px;
    margin: 15px 0 0 0;
    padding: 20px 15px 20px 20px;
    background: #13121B;
    border: solid 1px #111;
    border-radius: 10px;
}
.copy-alert .close {
    position: absolute;
    top: 15px;
    left: 20px;
    opacity: 0.7;
    cursor: pointer;
}
.copy-alert .flex-box {
    display: flex;
}
.copy-alert .flex-box i.fa-check-circle {
    color: #77E0B5;
}
.copy-alert .flex-box .msg {
    margin: -5px 0 0 0;
    padding: 0 15px 0 25px;
}
.copy-alert .flex-box .msg .title {
    margin: 0;
    font-size: 17px;
}
.copy-alert .flex-box .msg .desc {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.25px;
    opacity: 0.75;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* Tablet */
@media screen and (min-width: 601px) and (max-width: 976px) {
	.wp_is_mobile{display: none !important;}
}
