/* ========================= GLOBAL RESET ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f4f6f9;
    color: #333;
    line-height: 1.7;
}

/* ========================= GLOBAL CONTAINER ========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: visible !important;
}

/* ========================= ADVICE HERO ========================= */
.advice-hero {
    background: #222831;
    color: white;
    padding: 90px 20px;
    text-align: center;
}

.advice-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.advice-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================= GRID ========================= */
.advice-container {
    margin: 80px auto;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ========================= CARD ========================= */
.advice-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.advice-card img {
    width: 100%;
    height: 270px !important;
    object-fit: cover;
}

.card-content {
    padding: 22px;
    flex: 1;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ========================= GUIDE HERO ========================= */
.guide-hero {
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.guide-hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.guide-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================= GUIDE SECTION ========================= */
.guide-section {
    padding: 20px 0px;
    overflow: visible !important;
    /* 🔥 FIX STICKY */
}

/* ========================= GUIDE LAYOUT (FINAL FIX) ========================= */
.guide-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* 🔥 FIXED PROPORTION */
    gap: 50px;
    align-items: start;
}

/* ========================= MAIN CONTENT (WIDER) ========================= */
.guide-main {
    background: #ffffff;
    padding: 50px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* ========================= TYPOGRAPHY ========================= */
.guide-main h2 {
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.guide-main h3 {
    font-size: 21px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 400;
}

.guide-main p {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 18px;
    color: #444;
}

.guide-main ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.guide-main li {
    margin-bottom: 10px;
    font-size: 16.5px;
}

/* ========================= HIGHLIGHT BOX ========================= */
.highlight {
    background: #f1f8f4;
    padding: 22px;
    border-left: 5px solid #2d6a4f;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 16px;
}

/* ========================= SIDEBAR ========================= */
.guide-sidebar {
    position: relative;
    top: 0px;
    height: fit-content;
    display: flex;
    align-self: start;
    /* 🔥 REQUIRED for grid */
    flex-direction: column;
    gap: 20px;
}

/* ========================= SIDEBAR BOX ========================= */
.sidebar-box {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sidebar-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* ========================= SIDEBAR LINKS ========================= */
.sidebar-box ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-box li {
    margin-bottom: 10px;
}

.sidebar-box a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: 0.25s ease;
}

.sidebar-box a:hover {
    color: #2d6a4f;
    padding-left: 6px;
}

/* ========================= CTA SIDEBAR ========================= */
.sidebar-cta {
    background: #2d6a4f;
    color: white;
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 15px;
}

.sidebar-cta .cta-btn {
    display: block;
    text-align: center;
    background: white;
    color: #2d6a4f;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.sidebar-cta .cta-btn:hover {
    background: #f1f1f1;
}

/* ========================= MAIN CTA SECTION ========================= */
.guide-cta {
    padding: 70px 20px;
    text-align: center;
    color: white;
}

.guide-cta h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.guide-cta p {
    font-size: 16px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #2d6a4f;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    text-decoration: none;
}

.cta-btn:hover {
    background: #f1f1f1;
}

/* =========================
   RESPONSIVE (FINAL CLEAN)
========================= */

/* Tablet + iPad (<=1024px) */
@media (max-width: 1024px) {

  /* STACK layout */
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* MAIN FULL WIDTH */
  .guide-main {
    width: 100%;
    max-width: 100%;
    padding: 30px;
  }

  /* SIDEBAR BELOW + DISABLE STICKY */
  .guide-sidebar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    margin-top: 20px;
  }

  /* GRID → 2 columns */
  .advice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* HERO TEXT */
  .guide-hero h1 {
    font-size: 30px;
  }

  .advice-hero h1 {
    font-size: 32px;
  }
}


/* Mobile (<=576px) */
@media (max-width: 576px) {

  /* GRID → 1 column */
  .advice-grid {
    grid-template-columns: 1fr;
  }

  /* PADDING FIX */
  .guide-main {
    padding: 20px;
  }

  /* HERO TEXT SMALL */
  .guide-hero h1 {
    font-size: 26px;
  }

  .advice-hero h1 {
    font-size: 26px;
  }

}