/*
 Theme Name:   WpCast Child
 Theme URI:    https://qantumthemes.com/
 Description:  The child theme allows easier customizations and template overrides
 Author:       QantumThemes
 Author URI:   https://qantumthemes.com/helpdesk
 Template:     wpcast
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         right-sidebar
 Text Domain:  wpcast-child
*/

/***************************************************************
****************************************************************
************* PUT YOUR CUSTOM STYLES BELOW ********************/
/* Smooth cinematic hero blending */
.wp-block-cover.alignfull{
  background-color:#070A0F;
}

.wp-block-cover__image-background{
  filter: contrast(1.05) brightness(.95);
}
/* Remove WPcast footer site name */
.wpcast-logo_footer,
.wpcast-sitename.wpcast-logo_footer {
  display: none !important;
}
/* Lock host credit to bottom of hero and keep it readable */
.hwtb-hero{
  position: relative;
  background-color:#070A0F;
}

/* Bottom fade so text is always readable */
.hwtb-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 180px;
  pointer-events:none;
  background: linear-gradient(to top, rgba(7,10,15,0.92), rgba(7,10,15,0));
}

/* Make inner container fill the hero so we can pin inside it */
.hwtb-hero .wp-block-cover__inner-container{
  position:absolute !important;
  inset:0 !important;
  padding: 0 !important;
}

/* Pin host line inside the hero (not a separate section) */
.hwtb-host{
  position:absolute !important;
  left: 16px;
  right: 16px;
  bottom: 22px;

  margin: 0 !important;
  text-align:center;

  color: #F7C66A;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 8px 22px rgba(0,0,0,.65);
  z-index: 2;
}

@media (max-width:768px){
  .hwtb-hero::after{ height: 150px; }
  .hwtb-host{
    bottom: 16px;
    font-size: 16px;
    letter-spacing: 0.12em;
  }
}
/* --- Episodes grid: hide author name --- */
/* Most WPcast/QT grids output author as /author/... or rel=author */
.qt-post-grid a[href*="/author/"],
.qt-post-grid a[rel="author"],
.wpcast a[href*="/author/"],
.wpcast a[rel="author"]{
  display:none !important;
}

/* --- Slide the date left (remove spacing that assumed an author) --- */
.qt-post-grid .qt-item-meta,
.qt-post-grid .qt-postmeta,
.qt-post-grid .qt-meta,
.wpcast .qt-item-meta,
.wpcast .qt-postmeta,
.wpcast .qt-meta{
  display:flex;
  align-items:center;
  gap:0 !important;
}

/* If the date had a left margin to separate it from the author */
.qt-post-grid .qt-item-meta a,
.qt-post-grid .qt-postmeta a,
.qt-post-grid .qt-meta a{
  margin-left:0 !important;
  padding-left:0 !important;
}
/* Failsafe: hide author links anywhere inside the episodes grid area */
a[href*="/author/"]{
  display:none;
}
/* ===================================
   Remove views + likes from episode grid
   =================================== */

/* remove the whole stats row */
.wpcast-itemmetas {
  display: none !important;
}
/* Change archive title text visually */
.wpcast-pageheader h1 {
    visibility: hidden;
    position: relative;
}

.wpcast-pageheader h1::after {
    content: "Episodes";
    visibility: visible;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
}/* Remove "X Results / Page Y of Z" on Episodes archive */
.blog .wpcast-pageheader .wpcast-meta{
  display: none !important;
}
