/* ================================================
   Poetry Screen Styles - Wireframe Matched Design
   ================================================ */

/* Section 1: Hero Section (Bath Bubbles Background with Dark Overlay) */
.poetry-screen-hero {
  background-image: url('/bath_bubbles.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  padding: 0;
  /* Override wp-block-cover default padding */
  display: flex;
  overflow: hidden;
  min-height: 70vh;
}

/* Ensure the image acts as a background if core WP block styles are missing */
.poetry-screen-hero .wp-block-cover__image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.poetry-screen-hero .wp-block-cover__inner-container {
  width: 100%;
  z-index: 1;
  position: relative;
}

.poetry-screen-hero .wp-block-cover__background {
  display: none;
  /* Let .poetry-screen-hero-overlay handle the background color */
}

.poetry-screen-hero-overlay {
  background: linear-gradient(180deg, rgba(20, 30, 40, 0.45) 0%, rgba(15, 20, 30, 0.65) 100%);
  padding: 4.5rem 2rem 3rem;
  width: 100%;
  height: 100%;
}

.poetry-screen-hero-container {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.poetry-screen-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.poetry-screen-hero-text {
  flex: 1;
}

.poetry-screen-hero-title {
  font-family: 'museo Slab';
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 1.25rem;

}

.poetry-screen-hero-author {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white !important;

}

.poetry-screen-hero-author strong {
  font-weight: 700;
}

.poetry-screen-hero-cover-wrapper {
  flex-shrink: 0;
  width: 175px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: #ffffff;
}

.poetry-screen-hero-cover {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Purple Banner Button */
.poetry-screen-hero-banner {
  width: 100%;
}

.poetry-screen-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: #6e3e85;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-heading-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.poetry-screen-banner-btn a {
  padding: 0px;
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: white !important;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
}

.poetry-screen-banner-btn:hover {
  /* background-color: #5c3072;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); */
}

.banner-chevron {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transform: rotate(180deg);
  flex-shrink: 0;
}

/* Section 2: White Background (Media Player + Poem Text + 2 Images) */
.poetry-screen-audio-section {
  background-color: #ffffff;
  padding: 4rem 2rem 1.5rem;
  width: 100%;
}

.poetry-screen-audio-title {
  font-family: 'museo Slab';
  font-size: 1.5rem;
  font-weight: 500;
  color: #2c3e67;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.poetry-screen-audio-reader {
  color: #2c3e67;
  font-weight: 600;
}

/* Media Player Card */
.poetry-screen-media-container {
  max-width: 850px;
  margin: 0 auto;
}

.poetry-screen-media-card {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #eaeff5 0%, #d8e2ec 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #cbd5e1;
  transition: all 0.25 ease;
  position: relative;
  overflow: hidden;
}

.poetry-screen-media-card:hover {
  background: linear-gradient(135deg, #e2e9f3 0%, #cbd8e7 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.poetry-screen-media-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}

.poetry-screen-big-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #2c3e67;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(44, 62, 103, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-icon-offset {
  margin-left: 4px;
}

.poetry-screen-big-play-btn:hover {
  transform: scale(1.08);
  background-color: #1e293b;
}

.poetry-screen-audio-controls {
  margin-top: 1.25rem;
}

.poetry-screen-audio-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.poetry-screen-audio-progress {
  height: 100%;
  background: #2c3e67;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.poetry-screen-audio-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* Poem Text Body */
.poetry-screen-body {
  background-color: #ffffff;
  padding: 3rem 2rem;
  width: 100%;
}

.poetry-screen-poem {
  max-width: 700px;
  margin: 0 auto;
}

.poetry-screen-stanza {
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 2rem;
}

.poetry-screen-stanza:last-child {
  margin-bottom: 0;
}

.poetry-screen-stanza em {
  font-style: italic;
  color: #6b2b7a;
}

/* 2 Side-by-Side Images */
.poetry-screen-related {
  background-color: #ffffff;
  padding: 1rem 2rem 4rem;
  width: 100%;
}

.poetry-screen-related-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.poetry-screen-related-item {
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8fafc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.poetry-screen-related-img-wrapper {
  width: 100%;
  padding-top: 85%;
  position: relative;
}

.poetry-screen-related-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 3: "This Poem Appears in" (Rich Purple Gradient Background) */
.poetry-screen-appears-in {
  background: linear-gradient(135deg, #462867 0%, #68266d 50%, #832778 100%);
  padding: 3.0rem 2rem;
  width: 100%;
  color: #ffffff;
}

.poetry-screen-appears-wrapper {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poetry-screen-appears-title {
  font-family: 'museo Slab';
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.poetry-screen-appears-divider {
  width: 140px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
}

.poetry-screen-appears-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  gap: 3.5rem;
  align-items: center;
  justify-content: center;
}

.poetry-screen-appears-image {
  flex-shrink: 0;
  width: 215px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  background-color: #ffffff;
}

.poetry-screen-appears-img {
  width: 100%;
  height: auto;
  display: block;
}

.poetry-screen-appears-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.poetry-screen-appears-logo-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.35));
}

.poetry-screen-appears-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.75rem;
  line-height: 1.5;
  text-transform: uppercase;
  max-width: 550px;
}

.poetry-screen-appears-subtitle strong {
  font-weight: 600;
  color: #ffffff;
}

.poetry-screen-appears-vol {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.poetry-screen-appears-btn {
  display: block;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  color: #7b2978;
  text-align: center;

  border-radius: 3px;
  font-family: var(--font-heading-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.poetry-screen-appears-btn a {
  padding: 0px;
  background: none !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: #7b2978 !important;
  padding: 0.95rem 1.5rem;
  width: 100%;
  height: 100%;
  display: block;
}

.poetry-screen-appears-btn:hover {
  background-color: #872e81;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgb(31 31 31 / 55%);
  color: #ffffff !important;
}

.poetry-screen-appears-btn:hover a {
  color: #ffffff !important;
}

.poetry-screen-appears-btn a:hover {
  background-color: #872e81;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgb(31 31 31 / 55%);
  color: #ffffff !important;
}

.poetry-screen-appears-btn strong {
  font-weight: 700;
}

/* Section 4: Bio / Credits Section (White Background) */
.poetry-screen-credits {
  background-color: #ffffff;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

.poetry-screen-credits-content {
  max-width: 750px;
  margin: 0 auto;
}

.poetry-screen-credits-title {
  font-family: 'museo Slab';
  font-size: 2.4375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.poetry-screen-credits-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 300;
  color: #64748b;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.poetry-screen-credits-text {
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.poetry-screen-credits-text strong {
  color: #1e293b;
  font-weight: 600;
}

.poetry-screen-credits-text em {
  font-style: italic;
  color: #6b2b7a;
}

.poetry-screen-credits-action {
  margin-top: 1.75rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .poetry-screen-hero-top {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .poetry-screen-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .poetry-screen-hero-title {
    font-size: 2.5rem;
  }

  .poetry-screen-hero-cover-wrapper {
    width: 140px;
  }

  .poetry-screen-banner-btn {
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }

  .poetry-screen-media-card {
    height: 200px;
  }

  .poetry-screen-big-play-btn {
    width: 64px;
    height: 64px;
  }

  .poetry-screen-appears-logo-img {
    max-width: 280px;
  }

  .poetry-screen-appears-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .poetry-screen-appears-text {
    align-items: center;
  }

  .poetry-screen-appears-image {
    width: 180px;
  }
}

@media (max-width: 540px) {
  .poetry-screen-related-grid {
    grid-template-columns: 1fr;
  }

  .poetry-screen-appears-logo-img {
    max-width: 220px;
  }
}

/* ================================================
   PoetryHeroTwo - Wireframe Matched Hero Section
   ================================================ */

.poetry-hero-two {
  background-image: url('/poetry_hero_hills_bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  padding: 0;
  /* Override wp-block-cover default padding */
  display: flex;
  overflow: hidden;
  min-height: 70vh;
}

/* Ensure the image acts as a background if core WP block styles are missing */
.poetry-hero-two .wp-block-cover__image-background {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 100%;
}

.poetry-hero-two .wp-block-cover__inner-container {
  width: 100%;
  z-index: 1;
  position: relative;
}

.poetry-hero-two .wp-block-cover__background {
  display: none;
  /* Let .poetry-hero-two-overlay handle the background color */
}


.poetry-hero-two-overlay {
  background: linear-gradient(180deg, rgba(15, 30, 25, 0.4) 0%, rgba(10, 20, 15, 0.65) 100%);
  padding: 4rem 2rem 2.5rem;
  width: 100%;
  height: 100%;
}

.poetry-hero-two-container {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.poetry-hero-two-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.poetry-hero-two-content {
  flex: 1;
}

.poetry-hero-two-title {
  font-family: 'museo Slab';
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 2rem;
  -webkit-background-clip: text !important;
}

.poetry-hero-two-credits {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.poetry-hero-two-author,
.poetry-hero-two-reviewer {
  font-family: 'museo Slab';
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;

}

.poetry-hero-two-author strong,
.poetry-hero-two-reviewer strong {
  font-weight: 700;
}

.poetry-hero-two-cover-box {
  flex-shrink: 0;
  width: 165px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff;
  background-color: #ffffff;
}

.poetry-hero-two-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.poetry-hero-two-bottom {
  width: 100%;
}

.poetry-hero-two-bottom a {
  color: #ffffff !important;
  padding: 0.85rem 1.5rem;
  width: 100%;
  height: 100%;
  text-align: center;
}

.poetry-hero-two-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;

  background-color: #852484;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'museo Slab';
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.poetry-hero-two-btn a {
  color: #ffffff !important;
  padding: 0.85rem 1.5rem;
  width: 100%;
  height: 100%;
  text-align: center;
}

.poetry-hero-two-btn:hover {
  background-color: #6e1d6d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.poetry-hero-two-btn-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transform: rotate(180deg);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .poetry-hero-two-main {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .poetry-hero-two-title {
    font-size: 1.75rem;
  }

  .poetry-hero-two-author,
  .poetry-hero-two-reviewer {
    font-size: 0.8125rem;
  }
}