/* style/blog.css */

/* Custom color variables from prompt */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the blog page */
.page-blog {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color, will be #F2FFF6 based on custom colors */
  background-color: var(--background-color); /* From custom colors #08160F */
  line-height: 1.6;
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--card-bg); /* Use a custom background for the section */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width on desktop */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: var(--text-main); /* Text Main: #F2FFF6 */
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  font-weight: 700;
  color: var(--gold); /* Gold: #F2C14E for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__intro-text {
  font-size: 1.2rem;
  color: var(--text-secondary); /* Text Secondary: #A7D9B8 */
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  text-align: center;
}

.page-blog__btn-primary {
  background: var(--button-gradient); /* Custom button gradient */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-green) 0%, var(--primary-color) 100%); /* Adjusted hover for better contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: var(--glow); /* Glow: #57E38D */
  border: 2px solid var(--glow);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}