/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@400;700&display=swap');

/* Main Page Styling */
.news-details-page {
  padding: 40px 30px;
  font-family: 'Lato', sans-serif;
  min-height: 100vh;
  background: radial-gradient(ellipse at center,
    rgba(255, 248, 220, 0.95) 0%,
    rgba(255, 223, 85, 0.6) 40%,
    rgba(255, 185, 15, 0.85) 75%,
    rgba(204, 140, 0, 1) 100%);
}

/* Main Content Container */
.details-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  border: 1px solid rgba(204, 140, 0, 0.3);
}

/* Header with Image */
.details-header {
  position: relative;
  width: 100%;
  height: 400px;
  color: #FFF9E6;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.details-date {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0;
  color: #FFF9E6;
}

.details-title {
  font-family: 'Merriweather', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 5px 0 0 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  color: #FFF9E6;
}

/* Article Body */
.details-body {
  padding: 40px 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 220, 0.7) 0%,
    rgba(255, 248, 220, 0.9) 100%
  );
}

.details-summary {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #5c2c2c;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

.divider {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, 
    rgba(204, 140, 0, 0), 
    rgba(204, 140, 0, 0.75), 
    rgba(204, 140, 0, 0));
  margin: 20px 0 30px;
}

.full-details {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3d3d3d;
}

.full-details p {
  margin-bottom: 1.5em;
}

.full-details h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #5c2c2c;
  margin-top: 2em;
  margin-bottom: 1em;
}

.full-details ul {
  list-style: none;
  padding-left: 20px;
}

.full-details li {
  margin-bottom: 0.8em;
  position: relative;
}

.full-details li::before {
  content: '❖';
  position: absolute;
  left: -25px;
  color: #cc8c00;
  font-size: 1rem;
}

/* Footer and Back Button */
.details-footer {
  text-align: center;
  padding: 30px 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 220, 0.9) 0%,
    rgba(255, 248, 220, 0.7) 100%
  );
  border-top: 1px solid rgba(204, 140, 0, 0.2);
}

.back-button {
  font-family: 'Lato', sans-serif;
  background-color: transparent;
  color: #5c2c2c;
  border: 2px solid #5c2c2c;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #5c2c2c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(92, 44, 44, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-details-page {
    padding: 70px 15px;
  }
  
  .details-container {
    margin-top: 10%;
  }
  
  .details-header {
    height: 300px;
  }
  
  .details-title {
    font-size: 2rem;
  }
  
  .details-body {
    padding: 25px 30px;
  }
  
  .header-overlay, 
  .details-footer {
    padding: 25px;
  }
}