/* ==========================================
   CONTENT PAGES STYLES
   För: Om Oss, Vad Vi Gör, Kontakt, etc.
   ========================================== */

/* --- PAGE HERO BANNER --- */
.page-hero {
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary-red);
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- MAIN CONTENT WRAPPER --- */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* --- CONTENT SECTIONS --- */
.content-section {
  margin-bottom: 60px;
}

.content-section:last-child {
  margin-bottom: 0;
}

/* --- TYPOGRAPHY --- */

.content-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 25px;
}

.content-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--primary-red);
  margin: 40px 0 20px;
}

/* Samma färg som h1 (text-dark) för Aros historia rubriken */
.history-section h2 {
  color: var(--text-dark);
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
}

/* --- SPECIAL SECTIONS --- */

.history-section,
.highlight-box {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 4px;
  border-left: 4px solid var(--primary-red);
  margin: 30px 0;
}

.highlight-box {
  background-color: #fff8f8; /* En svagt röd ton för highlights */
}

/* --- CONTENT GRID --- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.content-grid-item {
  background: var(--white);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* --- IMAGES & CAPTIONS --- */
.content-image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.content-image-caption {
  font-size: 0.9rem;
  color: #999;
  margin-top: 10px;
  font-style: italic;
}

/* --- TWO COLUMN LAYOUT --- */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

/* --- STATS/NUMBERS --- */
.stats-container {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  min-width: 200px;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-bottom: 3px solid var(--primary-red);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-red);
  display: block;
  margin-bottom: 10px;
}

/* --- LISTS --- */
.content-section ul {
  margin: 20px 0;
  padding-left: 30px;
}

.content-section li {
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 10px;
}

/* --- RESPONSIVE DESIGN --- */

@media screen and (max-width: 1024px) {
  .page-hero {
    height: 350px;
  }
  .page-content {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 820px) {
  .page-hero {
    height: 250px;
    margin: 10px auto;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .page-hero {
    height: 150px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}
