/* =================================
   BLOG ARTICLE PAGE - IMPROVED DESIGN
   ================================= */

/* Global fixes for article page */
* {
  box-sizing: border-box;
}

/* Cover Image Section */
.cover-image-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 60px;
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, #f5f3f0 0%, #e8e4de 100%);
}

.full-width-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .cover-image-container {
    height: 300px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .cover-image-container {
    height: 200px;
    margin-bottom: 30px;
  }
}

/* Article Header Section */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-header {
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0ddd9;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-date {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b3305;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-separator {
  width: 1px;
  height: 16px;
  background-color: #d4a574;
}

.article-category {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b6661;
}

.article-title {
  font-family: "SangBleuRegular", serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: #1f2225;
  line-height: 1.2;
  margin-bottom: 24px;
}

.article-title span {
  background: linear-gradient(135deg, #6b3305 0%, #ae734e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-author {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #6b6661;
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ae734e 0%, #6b3305 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

/* Back Button */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e0ddd9;
  border-radius: 24px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b3305;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.05) 0%, rgba(107, 51, 5, 0.05) 100%);
  border-color: #6b3305;
  transform: translateX(-2px);
}

.btn-link i {
  width: 16px;
  height: 16px;
}

/* Prose Content Enhancement */
.prose {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* Newsletter Section */
.newsletter-section {
  margin-top: 80px;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.05) 0%, rgba(107, 51, 5, 0.05) 100%);
  border-top: 1px solid #e0ddd9;
}

.newsletter-content {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.newsletter-title {
  font-family: "SangBleuRegular", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: #1f2225;
  margin-bottom: 16px;
  line-height: 1.2;
}

.newsletter-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #6b6661;
  margin-bottom: 24px;
}

.newsletter-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.newsletter-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #1f2225;
}

.newsletter-feature i {
  color: #6b3305;
  width: 20px;
  height: 20px;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.newsletter-form-name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.input-group {
  position: relative;
}

.input-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6b6661;
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0ddd9;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #1f2225;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.input-group input:focus {
  outline: none;
  border-color: #6b3305;
  box-shadow: 0 0 0 3px rgba(107, 51, 5, 0.1);
}

.input-group input::placeholder {
  color: #b8b3ad;
  font-style: italic;
}

.newsletter-button {
  margin-top: 16px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #6b3305 0%, #ae734e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 51, 5, 0.3);
}

.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.newsletter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.newsletter-checkbox label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #6b6661;
  line-height: 1.5;
}

/* Responsive Design for Tablet */
@media (max-width: 768px) {
  .article-container {
    padding: 0 16px;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .article-title {
    font-size: clamp(28px, 6vw, 42px);
  }
  
  .prose {
    padding: 0 16px;
  }
  
  .newsletter-section {
    padding: 40px 16px;
    margin-top: 60px;
  }
  
  .newsletter-form {
    padding: 24px 20px;
  }
  
  .newsletter-features {
    gap: 20px;
  }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
  .article-header {
    margin-bottom: 30px;
  }
  
  .article-meta {
    padding-bottom: 12px;
  }
  
  .article-date {
    font-size: 12px;
  }
  
  .article-category {
    font-size: 12px;
  }
  
  .article-author {
    font-size: 14px;
  }
  
  .author-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .newsletter-title {
    font-size: 28px;
  }
  
  .newsletter-subtitle {
    font-size: 14px;
  }
  
  .newsletter-form {
    padding: 20px 16px;
  }
  
  .newsletter-form-name {
    grid-template-columns: 1fr;
  }
  
  .input-group input {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .newsletter-button {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .newsletter-feature {
    font-size: 14px;
  }
  
  .btn-link {
    font-size: 13px;
    padding: 6px 12px;
  }
}