/*
Theme Name: Engine Media News Theme
Theme URI: https://enginegaming.com/
Author: Engine Gaming + Media
Author URI: https://enginegaming.com/
Description: Engine Media News Theme for media websites
Tags: full-site-editing, blog
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.7
Requires PHP: 7.4
Text Domain: enginemedianews
*/

/*============= BC Changes ============*/
img {
    max-width: 100%;
    object-fit: cover;
	height:auto;
}

/*figure { width: 100% !important; margin:0px; }*/

.wp-block-template-part { position:relative; z-index:99; }

/*============= Ad center patch ============*/
div[id^='google_ads_iframe_'] { text-align:center !important; margin:auto !important; }
div[id^='google_ads_iframe_'] iframe { margin:auto !important; }

/*============= Global ============*/
.has-text-align-right { text-align:right; }
.img-no-margin { margin: 0px !important; }
.column-inline { display:inline-grid !important;} /* used in the header */
.wp-block-image.aligncenter { margin:0 auto !important; }

/*============= CTA Block ============*/
.express_cta_container { padding-bottom:20px; padding-top:10px; }
.express_cta_wrapper { display:table; width:100%; max-width:300px; margin:auto; font-size:14px; color:#000000; }
.express_cta_newsletter {  background-image:url('https://cdn.socast.io/asset/icon_newsletter.png'); }	
.express_cta_advertise { background-image:url('https://cdn.socast.io/asset/icon_ad.png'); }
.express_cta_newsletter, .express_cta_advertise {
	background-repeat:no-repeat;
	background-size: auto 20px;
	background-position:center left;
	display:inline-block;
	padding-left: 30px;
	white-space: nowrap;
}
.express_cta_cell a { text-decoration:none; }
.express_cta_cell a:hover { text-decoration:underline; }
.express_cta_cell { display:table-cell; width:50%; text-align:center; }

/*============= Force Screen Reader CSS for FSE in case client has turned Gutenberg off via a plugin ============*/
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    word-wrap: normal!important;
    border: 0;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.screen-reader-text:focus {
    clip: auto!important;
    background-color: #ddd;
    -webkit-clip-path: none;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

/*============= Social Links ============*/

.wp-block-social-link { border-radius: 10px; }

/* Apple App Store, Google Play Store Icon for Social Block override */
.wp-block-social-link.play_store, .wp-block-social-link.apple_store {
	position:relative;
}
.wp-block-social-link.play_store:hover, .wp-block-social-link.apple_store:hover {
	cursor:pointer;
}
.wp-block-social-link.play_store i, .wp-block-social-link.apple_store i  {
	position: absolute;
	top: 0px;
	right: 0px;
	left: 0px;
	bottom: 0px;
	justify-content:center;
	display:flex;
	align-items: center;
	font-size:95%;
}

.wp-block-social-link.play_store i { font-size:85%; }
.wp-block-social-links:not(.is-style-logos-only) .play_store {
	background-color: #000000;
	color: #fff;
}
.wp-block-social-links:not(.is-style-logos-only) .apple_store {
	background-color: #858484;
	color: #fff;
}

.wp-block-social-links.is-style-logos-only .wp-block-social-link.apple_store { background-color: none; width:auto; height:auto; }
.wp-block-social-links.is-style-logos-only .wp-block-social-link.play_store { background-color: none; width:auto; height:auto; }

/*============= Header ============*/
.express-header .vertical-center {
	align-items: center;
	display: grid;
}
.express-center {
	text-align:center;
}
@media only screen and (max-width : 775px) {
	.wp-block-site-logo { display:none; }
}



/*============= H tags ============*/

h4.sidebar-header { 
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
	font-size: 24px;
	margin:0 0 15px 0;
	padding:0 0 5px 0;
	line-height: var(--wp--custom--typography--line-height--tiny);
	display: block;
    margin-block-start: 0;
    margin-block-end: 15px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
	position:relative;
	display:block;
}
h4.sidebar-header::before {
	height: 3px;
	background-color: #e5e5e5;
    content: '';
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
}	
h4.sidebar-header::after {
	height: 3px;
	content: '';
    width: 50px;
    position: absolute;
    top: 100%;
    left: 0;
	background-color: rgba(24,230,225,1);
}	
	

/*============= PostX Patches ============*/
/* Optimize legibility for postX headings */
.ultp-heading-inner { text-shadow: 1px 1px 1px rgba(0,0,0,0.004); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility !important; }
/* Fix misaligned bottom arrows on PostX heading style 5 */
.ultp-heading-style5.ultp-heading-center .ultp-heading-inner span::before { margin: 0; transform: translateX(-50%); }
/* Fix PostX header "view more" placement on mobile */
.ultp-heading-style11 { display: flex; align-items: baseline; justify-content: space-between; gap: var(--wp-style--block-gap, .75rem) }
.ultp-heading-style11 .ultp-heading-btn { position: static; margin: 0; white-space: nowrap }
/* Add background color to all PostX featured posts where title overlays post image so title overlays don't throw color contrast errors to account for image load failures */
.wp-block-ultimate-post-post-list-4 .ultp-first-postlist-2 { background: #000; }


/*============= Rewards Registration ============*/
.express-header .see-widget {
    text-align: right;
    color: #000;
    color: rgba(0,0,0,0.8);
    font-size: 11px !important;
    text-shadow: none !important;
}
.express-header .see-widget .see-separator { display: none; }
.express-header .see-widget > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.express-header .see-widget-regui .see-user {
    float: left;
    margin: 0px;
    color: #000 !important;
}
.express-header .see-widget a { color: inherit; }
.express-header .see-widget .see-loggedin { align-items: flex-start; }
.express-header .gigya-actions .see-widget .see-user { margin-bottom: 3px; color: #000 !important; }

.express-header .see-widget button.gigya-login-button,
.express-header .see-widget button.gigya-logout-button {
    background-color: transparent;
    color: #000;
    cursor: pointer;
    padding: .4em;
    font-size: 15px;
    font-weight: 100;
    line-height: 1;
}
.express-header .see-widget button.gigya-login-button:hover,
.express-header .see-widget button.gigya-logout-button:hover {
	text-decoration: underline;
}
.express-header .see-widget button.gigya-logout-button,
.express-header .see-widget button.gigya-logout-button:hover {
	background-color: #777; color: #fff;
}
.express-header .see-widget button.gigya-logout-button:hover { background-color: #b22e2e; }
.express-header .see-widget .gigya-profile-img { vertical-align: top; }


.express-header.see-widget-light .see-widget-regui .see-user { color: #fff !important; }
.express-header.see-widget-light .see-widget-regui .see-separator { color:#fff !important; }
.express-header.see-widget-light .see-action { color:#fff !important; }

@media ( max-width: 775px ) {
    
	.express-header .see-widget { text-align: center; font-size: 16px; }
    .express-header .see-widget > div { align-items: center !important; display:inline-block; }
    .express-header .see-user { margin-bottom: .75em; }
	.express-header .rewards-login { width: 100%; }
	.express-header .see-widget .see-separator { display:inline-block; }
	.express-header .see-widget-regui .see-user { float: none; }

	/* Reg Widget Changes */
	.see-wrapper .see-widget { font-size: 11px; padding-bottom:10px; }
	.see-wrapper .see-widget > div { display: inline-table; }
	.see-wrapper .see-widget-regui .see-user { position: relative; top: 2px; right: 8px; }
	
}

/*============= Promo Reel ============*/
:root .promo-reel { margin-bottom: 0px; }
:root .promo-reel .widget { margin-bottom: 0 !important; }
:root .promo-reel .sliderBody { position: relative; height: 0 !important; min-height: 0 !important; max-width: 100% !important; padding-bottom: 70% !important; margin: 0 auto; }
:root .promo-reel .sliderBody > div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
:root .promo-reel .bx-viewport, .bxslider { height: 100% !important; box-shadow: none !important; }
:root .promo-reel .sliderItem { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; }
:root .promo-reel .bx-wrapper .bx-controls-direction a { margin-top: 0; top: 50%; transform: translateY(-60%); background-image: url("data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMTAuNzcgMTc0LjciIHZpZXdCb3g9IjAgMCAxMTAuNzcgMTc0LjciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTYyLjk4IDg3LjM1IDQzLjU1LTQzLjU1LTUuMzgtNS4zOCA3LjUtNy41IDIuMTItMi4xMi0yLjEyLTIuMTItMjQuNTYtMjQuNTYtMi4xMi0yLjEyLTIuMTIgMi4xMi03Ny43MyA3Ny43My0yLjEyIDIuMTIgMi4xMiAyLjEyIDcuNSA3LjUtNS4zOCA1LjM4IDc3LjczIDc3LjczIDI0LjU2LTI0LjU2LTUuMzgtNS4zOCA3LjUtNy41IDIuMTItMi4xMi0yLjEyLTIuMTJ6Ii8+PHBhdGggZD0ibTEwNi41MyAyOC44LTI0LjU2LTI0LjU2LTc3LjczIDc3LjczIDc3LjczIDc3LjczIDI0LjU2LTI0LjU2LTUzLjE3LTUzLjE3eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg=="); background-position: 0 0; background-size: contain; width: 5%; height: 8%; opacity: 0; transition: opacity 0.3s; }
:root .promo-reel:hover .bx-wrapper .bx-controls-direction a { opacity: 0.7; }
:root .promo-reel:hover .bx-wrapper .bx-controls-direction a:hover { opacity: 1; }
:root .promo-reel .bx-wrapper .bx-prev { left: 1%; }
:root .promo-reel .bx-wrapper .bx-controls-direction a.bx-next { right: 1%; transform: translateY(-50%) scaleX(-1); }
:root .promo-reel .promoCaption { padding: 10px; }
:root .promo-reel .promoCaption .captionTitle { line-height: 1.25; font-weight: bold; padding: 0 5px; }
:root .promo-reel .promoCaption .captionTeaser { padding: 0 5px; }
:root .promo-reel .sliderThumb .sliderThumbImage { opacity: 0.4; }
:root .promo-reel .sliderThumb.selected .sliderThumbImage { opacity: 1; }
:root .sliderSidebarViewport { right:0px; left:0px; }
@media only screen and (max-width: 600px) {
	:root .promo-reel .bx-wrapper .bx-controls-direction { display: none; }
	:root .promo-reel .promoCaption .captionTeaser { display: none; }
	:root .promo-reel .sliderThumbBar { display: none; }
}


/*============= On Air ============*/

@media only screen and (max-width : 775px) {
	.express-header .onair-container, .express-header .listenlive-container { display:inline-block; text-align:center; }
	.express-header .onair-container { padding-bottom:15px; }
}

/*============= Header ============*/

/* Sports Header */
.express-header.dark .see-widget-regui .see-user, .express-header.dark .see-loggedout { color: #fff !important; }
.express-header.dark .hc-nav-trigger span, .express-header.dark .hc-nav-trigger span::before, .express-header.dark .hc-nav-trigger span::after { background:#ffffff; }
.express-header.dark .hc-nav-trigger span::after {
    background: #ffffff;
}
.express-header.dark .express-menu::before { color: #fff !important; }

/* Header Alignment */
.express-header div {
    align-self: center;
}

/*============= Sidebar ============*/
/* Sticky right column on desktop */
@media (min-width: 1000px) {
  .sticky-top { position: sticky; top: 0; }
}




/*============= Footer ============*/

/* Navigation */
.express-footer a:hover { text-decoration:underline; }

.wp-block-navigation__container { gap:0.5rem; }

.express-footer .wp-block-navigation ul, 
.express-footer .wp-block-navigation li:before {content:"-"; padding-right:5px;}

.express-footer .wp-block-navigation ul, 
.express-footer .wp-block-navigation ul li:nth-child(1):before {content:""; padding-right:0px;}

.express-footer .wp-block-navigation ul, 
.express-footer .wp-block-navigation ul li:nth-child(6):before {content:""; padding-right:0px;}

.express-footer .alignright { text-align: right; }

/* Footer Social Icon Changes */
.express-footer .social-icons { text-align: right; }
.express-footer .wp-block-social-links { justify-content: right !important; display:inline-block !important; }
.express-footer .wp-block-social-links li { display:inline-block; }
.express-footer .wp-block-social-link {
    background-color: transparent !important;
    padding: 0 !important;
    color: #fff !important;
}
.express-footer .social-icons-light .wp-block-social-link { color: #fff !important; }
.express-footer .social-icons-dark .wp-block-social-link { color: #000 !important; }
.express-footer .social-icons-grey .wp-block-social-link { color: #888888 !important; }
.express-footer .social-icons-light-grey .wp-block-social-link { color: #c0c0c0 !important; }
.express-footer .social-icons-dark-grey .wp-block-social-link { color: #2b2b2b !important; }

@media only screen and (max-width : 775px) {
	
	.express-footer nav { padding:20px 0 10px 0 ; }
	.express-footer nav ul, .express-footer .wp-block-social-links { justify-content: center !important; }

	.express-footer .has-text-align-right, 
	.express-footer .has-text-align-left,
	.express-footer .aligncenter { text-align: center !important; }




	
}

/* ACMS-5238 - mobile/desktop hide */
@media (min-width: 600px) {
	.mobile-only { display: none }
}
@media (max-width: 600px) {
	.desktop-only { display: none }
}


/*============= Google Fonts ============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;600;700&display=swap');

/* FRAN-105 : Additional Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');