/* =========================
   PAGE LAYOUT
========================= */

.page-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.main-content {
  flex: 0 0 70%;
  max-width: 70%;
  min-width: 0;
}

/* ========================================
   EUROCAMPHUB GUIDE PAGE
   SIDEBAR-FRIENDLY LAYOUT
======================================== */

:root {

  --primary: #82be21;
  --primary-dark: #5f8f12;
  --primary-light: #f4fae8;

  --text: #1f2937;
  --text-light: #6b7280;

  --bg: #f4f7f1;
  --card: #ffffff;

  --border: #e5e7eb;

  --shadow:
    0 10px 30px rgba(0,0,0,0.06);

  --radius: 22px;
}

/* ========================================
   BASE
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    system-ui,
    sans-serif;

  line-height: 1.7;
}



/* ========================================
   HERO HEADER
======================================== */

.guide-header {

  position: relative;

  background:
    linear-gradient(
      135deg,
      #8dc63f 0%,
      #6fa11c 100%
    );

  border-radius: 32px;

  padding: 50px 40px;

  overflow: hidden;

  margin-bottom: 32px;

  color: white;

  box-shadow: var(--shadow);
}

.guide-header::before {
  content: "";

  position: absolute;

  top: -70px;
  right: -70px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.08);
}

.guide-header::after {
  content: "";

  position: absolute;

  bottom: -50px;
  left: -50px;

  width: 160px;
  height: 160px;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.06);
}

.guide-header .tag {

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 16px;

  border-radius: 999px;

  background:
    rgba(255,255,255,0.14);

  border:
    1px solid rgba(255,255,255,0.16);

  backdrop-filter: blur(10px);

  font-size: 13px;
  font-weight: 700;

  margin-bottom: 18px;
}

.guide-header h1 {

  position: relative;
  z-index: 2;

  font-size: clamp(2.2rem, 4vw, 3.4rem);

  line-height: 1.1;

  font-weight: 800;

  margin-bottom: 18px;
}

.guide-header p {

  position: relative;
  z-index: 2;

  max-width: 720px;

  font-size: 1.05rem;

  color:
    rgba(255,255,255,0.92);
}

/* ========================================
   GUIDE SECTIONS
======================================== */

.guide-section {

  background: var(--card);

  border-radius: var(--radius);

  padding: 34px;

  margin-bottom: 28px;

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.guide-section:hover {

  transform: translateY(-3px);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.08);
}

/* ========================================
   SECTION HEADINGS
======================================== */

.guide-section h2 {

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 1.8rem;

  font-weight: 800;

  margin-bottom: 28px;

  padding-bottom: 18px;

  border-bottom:
    1px solid var(--border);
}

.guide-section h3 {

  font-size: 1.08rem;

  font-weight: 700;

  margin-top: 28px;
  margin-bottom: 10px;

  color: #111827;
}

/* ========================================
   TEXT
======================================== */

.guide-section p {

  font-size: 15.5px;

  color: var(--text-light);

  margin-bottom: 16px;
}

.guide-section strong {
  color: #111827;
}

/* ========================================
   HIGHLIGHT BOXES
======================================== */

.tip-box,
.info-box {

  padding: 18px 20px;

  border-radius: 18px;

  margin: 24px 0;
}

.tip-box {

  background: #f3fae8;

  border-left: 5px solid var(--primary);
}

.info-box {

  background: #eef6ff;

  border-left: 5px solid #3b82f6;
}

/* ========================================
   CHECKLIST GRID
======================================== */

.checklist-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 18px;

  margin-top: 24px;
}

.check-item {

  background: #fafafa;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 18px;

  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}

.check-item:hover {

  transform: translateY(-2px);

  border-color: var(--primary);
}

.check-item h4 {

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 1rem;

  margin-bottom: 10px;
}

.check-item p {

  font-size: 14px;

  margin-bottom: 0;
}

/* ========================================
   LINKS
======================================== */

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {

  .guide-page {

    margin-left: 0;

    max-width: 100%;

    padding: 0px 0px 0px;
  }
}

@media (max-width: 768px) {

  .page-wrapper {
        flex-direction: column;
    }

  .guide-header {

    padding: 38px 24px;

    border-radius: 24px;
  }

  .guide-header h1 {
    font-size: 2rem;
  }

  .guide-header p {
    font-size: 15px;
  }

  .guide-section {

    padding: 24px 20px;

    border-radius: 20px;
  }

  .guide-section h2 {
    font-size: 1.4rem;
  }

  .guide-section h3 {
    font-size: 1rem;
  }

  .guide-section p {
    font-size: 14.5px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .main-content,
    .page-wrapper .sidebar {
        flex: 100%;
        max-width: 100%;
        width: 100%;
    }

}
