/* --- Blueprint Page Styles --- */

/* 1. Page Wrapper & Background Setup */
.page-wrapper {
  position: relative;
  /* Using your parchment color for readability against the dark background */
  color: #E2E7EB; 
  font-family: 'Times New Roman', Times, serif;
  border: 15px solid #000000;
  border-top: 0px;
  display: flex;
  flex-direction: column;
  min-height: 80vh; 
}

/* The Background Masking Effect */
.page-wrapper::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #7e6170; 
  background-size: contain;
  mask-image: radial-gradient(circle at center, rgb(255, 255, 255) 10%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, rgb(255, 255, 255) 70%, transparent 90%);
  z-index: 0; 
}

/* 2. Centered Layout Container */
.blueprint-content-centered {
    position: relative;
    z-index: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Typography Specifics --- */

/* 1. Top Quote */
.top-quote {
    position: static;
    font-style: italic;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 5px; /* Space before the Intro */
    color:#000000;
}

/* 2. Intro Text */
.intro-text {
    font-size: 2.2rem;
    margin-bottom: 5px; /* Space before the Title */
    line-height: 2;
}

/* 3. Main Title (BIG) */
.main-title {
    font-size: 3.0rem;
    text-transform: uppercase;
    margin: 0px 0 20px 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: .5;
    color: #ffffff; 
}

/* 4. Sub Headline (Small Caps) */
.sub-headline {
    font-size: 2.2rem;
    font-variant: small-caps; 
    margin: 0 0 25px 0;
    font-weight: normal;
    letter-spacing: 1px;
    color: #E2E7EB;
}

/* 5. Tagline */
.tagline {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 10px; /* Large gap before bottom verse */
    font-weight: normal;
}

/* 6. Bottom Verse */
.bottom-verse {
    font-style: italic;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color:#000000;
}

/* Footer Strip */
.footer-container {
    position: relative;
    z-index: 1;
    background-color: #523c48; /* Dark footer strip */
    color: #ffffff;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto; 
}

.footer-container p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 1;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .layout-container {
    background-image: url('../images/mobile_background_dark.jpg');
  }
  
  .go-back-button {
    display: inline-block;
    position: absolute;
    top: 10px; 
    left: 15px;
    z-index: 1002;
  }

  .blueprint-content-centered {
      padding-top: 40px;
  }
  
  .main-title {
      font-size: 2.4rem;
  }
  
  .sub-headline {
      font-size: 1.6rem;
  }

  .top-quote, .bottom-verse {
      font-size: 1.2rem;
  }
}