/* UA Colors */
:root {
  --ua-midnight: #001C48;
  --ua-red: #AB0520;
  --ua-blue: #0C234B;
  --ua-river: #007D84;
  --ua-oasis: #A8C6DA;
  --ua-sky: #70B865;
  --ua-white: #FFFFFF;
  --ua-light-gray: #f5f5f5;
  --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  --transition-speed: 0.3s;
}

/* Global Container */
.the-prompt-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  font-family: "Lastica", sans-serif;
  background: linear-gradient(160deg, #001C48 60%, #007D84 100%);
  color: var(--ua-white);
  padding-bottom: 40px; /* extra padding at bottom */
}

/* Full-Width Container (Subscribe Section) */
.full-width-container {
  width: 100%;
  background: var(--ua-midnight);
  color: var(--ua-white);
  padding: 40px 0;
}
.full-width-container .content_block {
  max-width: 100%;
  padding: 0;
}
.full-width-container .content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.full-width-container .title_box_subtitle-prompt {
  color: var(--ua-white);
}
.full-width-container .bubble_text {
  color: var(--ua-oasis);
}

/* Animated Background (Header) */
.animated_bg {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--ua-midnight);
}
.animated_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 28, 72, 0.6);
  z-index: 1;
}
.animated_title {
  font-family: "Lastica", "ProximaNova-Bold", sans-serif;
  font-size: 4rem;
  color: var(--ua-white);
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.8) 1px 0 8px;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

/* Content Blocks */
.content_block {
  background-size: cover;
  box-sizing: border-box;
  margin: auto;
  max-width: 100%;
  padding: 15px;
}
.content {
  padding: 30px 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Newsletter Section (Older Editions) */
.newsletter-section {
  padding: 40px 20px;
  background: transparent;
  color: var(--ua-white);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.newsletter-card:hover {
  transform: translateY(-6px);
}

.card-image-container img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
  padding: 16px;
  text-align: center;
}

.card-title {
  font-family: "Lastica", "ProximaNova-Bold", sans-serif;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-tag {
  font-size: 0.8rem;
  color: var(--ua-oasis);
}


/* Featured Newsletter Section (Main Edition) */
.featured-newsletter {
  width: 100%;
  padding: 60px 20px;
  background: transparent;
  color: var(--ua-white);
  display: flex;
  justify-content: center;
}

.featured-card {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  width: 100%;
  gap: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-cover {
  width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-info .card-title {
  font-family: 'Lastica', "ProximaNova-Bold", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--ua-white);
}

.featured-info .card-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ua-oasis);
  margin-bottom: 15px;
}

.featured-info .card-tag {
  font-size: 1rem;
  color: #d3d3d3;
  margin-bottom: 15px;
}

.featured-info .card-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ua-white);
  max-width: 90%;
  margin-bottom: 20px;
}

.featured-info .button {
  align-self: flex-start;
  background-color: var(--ua-red);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 6px;
  transition: background-color 0.2s ease;
}

.featured-info .button:hover {
  background-color: #8a0419;
}


/* Flipbook Viewer Modal */
.flipbook-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.close-flipbook {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 18px;
  background: var(--ua-white);
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10000;
}


/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .animated_title {
    font-size: 2.5rem;
  }
  .featured-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .featured-cover {
    width: 90%;
    margin-bottom: 20px;
  }

  .featured-info .button {
    align-self: center;
  }
  .featured-info {
    text-align: center;
  }
  .newsletter-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}