/* =========================================================
CROP.CSS v1 — CANADIAN GARDENING CROP SYSTEM
Single-source styling for all crop pages
========================================================= */


/* =========================================================
1. FIELD EVIDENCE MODULE
========================================================= */

.evidence-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.evidence-item {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
}

.evidence-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* Optional (recommended for consistency across crops) */
.evidence-item figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* =========================================================
2. RELIABLE NAVIGATION MODULE
========================================================= */

.reliable-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.reliable-nav li {
    display: block;
    margin: 0;
    width: auto;
    float: none;
}

.reliable-nav li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: underline;
    color: inherit;
}


/* =========================================================
3. Conditional NAVIGATION MODULE
========================================================= */

.conditional-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.conditional-nav li {
    display: block;
    margin: 0;
    width: auto;
    float: none;
}

.conditional-nav li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: underline;
    color: inherit;
}
/* =========================================================
4. Experimental NAVIGATION MODULE
========================================================= */

.experimental-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.experimental-nav li {
    display: block;
    margin: 0;
    width: auto;
    float: none;
}

.experimental-nav li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: underline;
    color: inherit;
}
/* =========================================================
4a.  Quick Wins NAVIGATION MODULE
========================================================= */

.quick-wins-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.quick-wins-nav li {
    display: block;
    margin: 0;
    width: auto;
    float: none;
}

.quick-wins-nav li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: underline;
    color: inherit;
}


/* =========================================================
5. SCORE BREAKDOWN MODULE (used in hero sections)
========================================================= */

.score-breakdown {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.score-breakdown li {
    padding: 3px 0;
    font-size: 1rem;
}


/* =========================================================
6. FIELD VERDICT / SUMMARY BOX
========================================================= */

.evidence-summary {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-left: 4px solid #999;
}

.evidence-summary h3 {
    margin-top: 0;
}


/* =========================================================
7. TABLE SYSTEM (Crop scoring tables)
========================================================= */

.table-forcing {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-forcing th,
.table-forcing td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}


/* =========================================================
8. OPTIONAL UTILITY HELPERS (safe reuse across crops)
========================================================= */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

	/* =========================
   BASE HEADER COMPONENT
   ========================= */

.page-header{
    width:100% !important;

    display:flex !important;
    align-items:center;
    justify-content:center;

    box-sizing:border-box;
}

/* =========================
   LOGO (BASE RULE)
   ========================= */

.page-header .header-logo{
    display:block !important;
    height:auto !important;

    margin:0 !important;

    float:none !important;
    position:static !important;

    max-width:none !important;
}

/* =========================
   H1 RESET
   ========================= */

.page-header h1{
    margin:0 !important;
    padding:0 !important;

    display:block !important;

    float:none !important;
    clear:none !important;

    white-space:normal !important;
}

/* =========================
   INLINE MODE (logo + title)
   ========================= */

.page-header--inline{
    flex-direction:row !important;
    gap:12px;
}

/* balanced inline branding size */
.page-header--inline .header-logo{
    width:44px !important;
}

/* =========================
   STACKED MODE (logo above title)
   ========================= */

.page-header--stacked{
    flex-direction:column !important;
    text-align:center;
    gap:8px;
}

/* stronger visual hierarchy */
.page-header--stacked .header-logo{
    width:56px !important;
}

/* =========================
   HERO MODE (landing pages / hubs)
   ========================= */

.page-header--hero{
    flex-direction:column !important;
    text-align:center;
    gap:10px;

    padding:10px 0;
}

/* branding emphasis */
.page-header--hero .header-logo{
    width:84px !important;
}

/* =========================
   SAFETY RESET (theme protection)
   ========================= */

.page-header *{
    box-sizing:border-box;
}
.evidence-grid{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    justify-content:center;
}

.evidence-item{
    flex:1 1 250px;
    max-width:300px;
    text-align:center;
}

.evidence-item img{
    width:100%;
    height:auto;
    display:block;
}
/* ---- April 30 --- */
.evidence-hero {
    max-width: 1200px;   /* control overall size */
    margin: 0 auto;     /* center it */
}

.evidence-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.evidence-hero figcaption {
    width: 100%;
}
.evidence-hero figcaption {
    text-align: center;
    font-size: 0.95em;
    margin-top: 8px;
}
section.section-pop figure.evidence-hero img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

/* =========================================================
9. SYSTEM RULE (ARCHITECTURAL GUARDRAIL)
========================================================= */

/*
RULE:
- If a style exists in crop.css, it must NOT be duplicated
  in individual crop page <style> blocks.

- Page-level CSS should ONLY be used for temporary testing
  or one-off overrides.

- Remove page CSS gradually once verified here.
*/