/* SkyCast Page Styles — Branded to Match Skybriz Theme */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #001d2e;
  color: #d1e9ff;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.skycast-hero {
  background: #001d2e;
  color: #d1f0ff;
  text-align: center;
  padding: 80px 20px 60px;
}

.skycast-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #00d4ff;
}

.skycast-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Buttons */
.skycast-btn {
  background: #3ecf8e;
  border: 1px solid #3ecf8e;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
  color: #001219 !important;
  text-shadow: 0 0 6px #00d4ff, 0 0 12px #0077cc;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.skycast-btn:hover {
  background: #26b07c;
  border-color: #26b07c;
  box-shadow:
    0 0 12px rgba(0, 217, 255, 0.9),
    0 0 20px rgba(0, 217, 255, 0.7),
    0 0 30px rgba(0, 217, 255, 0.5);
  color: #00d4ff !important;
  text-shadow:
    0 0 8px #00f0ff,
    0 0 15px #0099cc;
}

/* Episodes Section Heading */
.skycast-episodes h2 {
  color: #00d4ff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.skycast-episodes {
  padding: 60px 20px;
  background: #001d2e;
}

/* Wrapper to center episodes */
.skycast-episode-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Main layout */
.skycast-episode {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
}

.skycast-episode.episode-left {
  flex-direction: row;
}

.skycast-episode.episode-right {
  flex-direction: row;
}

/* Fixed video width */
.episode-video {
  flex: 0 0 680px;
}

.episode-video iframe {
  width: 100%;
  height: 370px;
  border-radius: 12px;
  border: 2px solid #00b4d8;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Content next to video */
.episode-content {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}

.episode-content h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #00d4ff;
}

.episode-content p {
  font-size: 1rem;
  color: rgba(209, 233, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.episode-count {
  font-size: 0.9rem;
  color: #00d4ff;
  font-weight: 600;
  align-self: flex-end;
  margin-top: auto;
}

/* Pagination */
.skycast-pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.skycast-pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background: #003566;
  color: #d1e9ff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.skycast-pagination .page-numbers.current,
.skycast-pagination .page-numbers:hover {
  background: #00d4ff;
  color: #001a33;
}

/* Subscribe Section */
.skycast-cta {
  padding: 12px 30px;
  background: #002744;
  text-align: center;
  color: #d1e9ff;
  box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.1);
}

.skycast-cta h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #00d4ff;
}

.skycast-cta p {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.skycast-subscribe-form {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.skycast-subscribe-form input[type="email"] {
  height: 36px;
  padding: 0 12px;
  border-radius: 25px;
  border: none;
  background: rgba(209, 233, 255, 0.1);
  color: #d1e9ff;
  font-size: 0.9rem;
  outline: none;
}

.skycast-subscribe-form button.skycast-btn {
  height: 36px;
  padding: 0 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .skycast-episode {
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
  }

  .episode-content {
    max-width: 100%;
    padding: 0;
  }

  .episode-video {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Final alignment tweak for episode wrappers */
.skycast-episode-wrapper.episode-left {
  justify-content: flex-start;
  padding-left: 20px;
}

.skycast-episode-wrapper.episode-right {
  justify-content: flex-end;
  padding-right: 20px;
}
