/*
 * Theme Name:  Newsblock Child
 * Theme URI:   https://codesupply.co/themes/newsblock/
 * Description: Newsblock Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    newsblock
 * Version:     1.0.7
 */

/* Hide featured image in single posts */
body.single-post figure.cs-entry__post-media {
  display: none !important;
}

/* ==========================
   Collapsible Schedule Styles
   ========================== */
.tv-schedule .day-block {
  margin-bottom: 10px;
  border-radius: 4px;
  background: #cfe2f3;
  border: 1px solid #9fc5e8;
  overflow: hidden;
}

.tv-schedule .day-header {
  font-weight: bold;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  border: none;
  background: #9fc5e8;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1em;
  display: block;
}

.tv-schedule .day-header:hover,
.tv-schedule .day-header:focus {
  background-color: #7fb2e8;
}

.tv-schedule .day-content {
  background: #ffffff;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  padding: 0;
}

.tv-schedule .day-content.show {
  display: block !important;
}

.tv-schedule .show-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.tv-schedule .show-row:nth-child(odd) {
  background-color: #f9f9f9;
}

.tv-schedule .show-time {
  font-weight: bold;
  width: 80px;
  flex-shrink: 0;
  color: #333;
}

.tv-schedule .show-title {
  flex-grow: 1;
  color: #222;
}

/* ==========================
   Tab Styles
   ========================== */
.tv-schedule-tabs {
  margin-top: 20px;
}

.tv-schedule-tabs .tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.tv-schedule-tabs .tab-btn {
  background: #0056a3;
  color: white;
  border: none;
  padding: 10px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.tv-schedule-tabs .tab-btn:hover,
.tv-schedule-tabs .tab-btn:focus {
  background: #004080;
}

.tv-schedule-tabs .tab-btn.active {
  background: #003d7a;
}

.tv-schedule-tabs .tab-content {
  border: 1px solid #9fc5e8;
  border-radius: 4px;
  padding: 10px 0;
}

/* === Now Airing Box (TV11) === */
.textwidget .tv-now,
.tv-now {
  border: 1px solid #9fc5e8;
  border-radius: 4px;
  background: #cfe2f3;
  max-width: 100%;
  overflow: hidden;
}

.textwidget .tv-now .box-header,
.tv-now .box-header {
  font-size: 1.2em;
  font-weight: bold;
  padding: 10px 12px;
  background: #9fc5e8;
  color: #fff;
}

.textwidget .tv-now .day-bar,
.tv-now .day-bar {
  background: #00a36c;
  color: #fff;
  font-weight: bold;
  padding: 8px 15px;
  font-size: 1em;
  margin: 10px;
  border-radius: 4px;
}

.textwidget .tv-now .show-row,
.tv-now .show-row {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
}

.textwidget .tv-now .show-row:nth-child(odd),
.tv-now .show-row:nth-child(odd) {
  background-color: #f9f9f9;
}

.textwidget .tv-now .show-time,
.tv-now .show-time {
  width: 75px;
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
}

.textwidget .tv-now .show-title,
.tv-now .show-title {
  flex-grow: 1;
  color: #222;
}

.textwidget .tv-now .schedule-link,
.tv-now .schedule-link {
  padding: 10px 12px;
  background: #e8f0fb;
}

.textwidget .tv-now .schedule-link a,
.tv-now .schedule-link a {
  text-decoration: none;
  font-weight: bold;
  color: #0056a3;
}

.textwidget .tv-now .schedule-link a:hover,
.tv-now .schedule-link a:hover {
  text-decoration: underline;
  color: #003d7a;
}

/* ==========================
   Footer Overrides
   ========================== */
footer.cs-footer {
  color: #fff !important;
  position: relative;
}

.cs-footer__item {
  padding: 30px 20px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  text-align: center !important;
}

.cs-footer__col {
  flex: 1 1 220px;
  padding: 10px;
  max-width: 100%;
  justify-content: center !important;
  text-align: left;
}

.cs-footer__inner {
  align-items: center !important;
}

.cs-footer__desc {
  color: #ccc !important;
  font-size: 14px;
  line-height: 1.6;
}

.cs-footer__nav a {
  color: #ccc !important;
}

.cs-footer__nav a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.cs-footer__logo img {
  max-height: 60px;
  margin-bottom: 10px;
}

.footer-copy-bar {
  background-color: #002f8c;
  color: #ccc;
  font-size: 13px;
  text-align: center;
  padding: 15px 0;
  font-weight: bold;
  width: 100%;
}

.brc-download-btn {
  display: inline-block;
  background-color: #005baa;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.brc-download-btn:hover {
  background-color: #003f7f;
}

