@charset "utf-8";
/* Combined stylesheet: farmguard-pages.css + duties.css
   Generated by merge on 2026-06-06. Originals kept in their folders.
*/

/* =========================================================
   ROOT COLOUR VARIABLES
   Change colours here once for whole site
========================================================= */

:root{
  --bg:#f4f6f8;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#5b6472;
  --border:#d7dfd5;
  --shadow:0 10px 28px rgba(0,0,0,.08);
  --radius:20px;

  --accent:#31489F;

  --core-primary:#31489F;
  --core-dark:#1F2F6B;
  --core-light:#EAF0FF;
  --core-bg:rgba(49,72,159,.08);
  --core:var(--core-primary);

  --crop-primary:#00CC00;
  --crop-dark:#008800;
  --crop-light:#EAFFEA;
  --crop-bg:rgba(0,204,0,.08);
  --crop:var(--crop-primary);

  --livestock-primary:#C3260C;
  --livestock-dark:#821A08;
  --livestock-light:#FFF0ED;
  --livestock-bg:rgba(195,38,12,.08);
  --livestock:var(--livestock-primary);

  --level3-primary:#D4A017;
  --level3-dark:#8A670F;
  --level3-light:#FFF8E5;
  --level3-bg:rgba(212,160,23,.08);

  --level2-primary:#7B3FB6;
  --level2-dark:#4E2775;
  --level2-light:#F5EEFC;
  --level2-bg:rgba(123,63,182,.08);

  --ag4u-primary:#0f766e;
  --ag4u-dark:#0b5f52;
  --ag4u-light:#e6f5f1;

  --general-primary:#5B6472;
  --general-dark:#363C44;
  --general-light:#F4F6F8;
  --general-bg:rgba(91,100,114,.08);

  --text-dark:#222;
  --white:#ffffff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:20px;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-bottom:90px;
}
a{color:inherit}
img{max-width:100%;display:block}

.hero-header{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  color:#fff;
  padding:30px 15px 20px;
  text-align:center;
  box-shadow:var(--shadow);
  background:
    linear-gradient(rgba(0,0,0,.50), rgba(0,0,0,.50)),
    linear-gradient(135deg, #274d2b, #4b7d42);
 

}
.hero-header h1{
  margin:0 0 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height:1.05;
  font-weight:800;
}
.hero-header p{
  margin:0 auto;
  padding: 20px 15px 10px;
  max-width:860px;
  font-size:1.08rem;
  color:rgba(255,255,255,.94);
}


.hero-content{max-width:980px;margin:auto}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
  margin-bottom:18px;
  font-weight:700;
  backdrop-filter:blur(4px);
}

.page-wrap{
  max-width:1120px;
  margin:28px auto 0;
  padding:0 6px 20px;
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:18px 0 28px;
}
.nav-pill{
  text-decoration:none;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 16px;
  border-radius:999px;
  box-shadow:0 3px 10px rgba(0,0,0,.04);
  font-weight:700;
}

.duty-card,
.info-section,
.summary-card,
.table-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:24px;
}

.duty-header{
  background:var(--accent);
  color:#fff;
  padding:20px 22px;
  font-size:1.28rem;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:12px;
}
.duty-description{
  padding:20px 22px 6px;
  font-size:1.03rem;
}
.duty-content{
  padding:8px 22px 24px;
}
.duty-content ul{
  margin:10px 0 0 20px;
  padding:0;
}
.duty-content li{margin:8px 0}
.kicker{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(46,125,50,.10);
  color:var(--accent);
  font-weight:700;
  margin-bottom:10px;
}

.info-section{
  border-left:8px solid var(--accent);
  padding:22px;
}
.info-section h2{
  margin:0 0 12px;
  color:var(--accent);
  font-size:1.42rem;
}
.info-section h3{
  margin:18px 0 8px;
  color:var(--accent);
}
.info-section p{margin:0 0 10px}
.info-section.section-core{
  --accent:#31489F;
  background:rgba(49,72,159,.05);
}
.section-core h2,
.section-core h3{
  color:#31489F;
}
.info-section.section-gfw-intro{
  --accent:var(--general-primary);
  --section-bg:var(--general-light);
}
.section-gfw-intro h2,
.section-gfw-intro h3{
  color:var(--general-primary);
}
.section-gfw-intro .project-box{
  border:1px solid rgba(91,100,114,.22);
  background:rgba(91,100,114,.06);
}
.section-gfw-intro .project-box:hover{
  box-shadow:0 14px 30px rgba(91,100,114,.12);
}
.info-section.section-livestock{
  --accent:var(--livestock-primary);
  --section-bg:var(--livestock-light);
}
.section-livestock h2,
.section-livestock h3{
  color:var(--livestock-primary);
}
.info-section.section-crop{
  --accent:var(--crop-primary);
  --section-bg:var(--crop-light);
}
.section-crop h2,
.section-crop h3{
  color:var(--crop-primary);
}
.project-links.section-crop .project-box{
  border:1px solid rgba(0,204,0,.22);
  background:rgba(0,204,0,.06);
}
.project-links.section-crop .project-box h3{
  color:var(--crop-dark);
}
.project-links.section-crop .project-box p{
  color:var(--crop-dark);
}
.project-links.section-crop .project-box:hover{
  box-shadow:0 14px 30px rgba(0,204,0,.12);
}
.project-links.section-livestock .project-box{
  border:1px solid rgba(195,38,12,.22);
  background:rgba(195,38,12,.06);
}
.project-links.section-livestock .project-box h3{
  color:var(--livestock-dark);
}
.project-links.section-livestock .project-box p{
  color:var(--livestock-dark);
}
.project-links.section-livestock .project-box:hover{
  box-shadow:0 14px 30px rgba(195,38,12,.12);
}
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.three-col{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.note-box{
  background:#f8faf8;
  border:1px dashed #c7d3c5;
  border-radius:16px;
  padding:18px;
  min-height:120px;
}
.placeholder-box{
  background:#fbfbfb;
  border:2px dashed #c9d1c7;
  border-radius:16px;
  padding:18px;
  color:var(--muted);
}

.audit-table{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
}
.audit-table th,
.audit-table td{
  border:1px solid #d8e0d5;
  padding:12px 10px;
  vertical-align:top;
}
.audit-table th{
  background:#edf5ea;
  color:#23412a;
  text-align:left;
}
.audit-table tr:nth-child(even) td{background:#fafcf9}

.checklist{
  columns:2;
  column-gap:24px;
  margin:10px 0 0;
}
.checklist li{break-inside:avoid; margin:0 0 8px}
.callout{
  background:#f2f7ef;
  border-left:5px solid var(--accent);
  padding:16px 18px;
  border-radius:14px;
  margin:14px 0;
}
.small{
  font-size:.94rem;
  color:var(--muted);
}
.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.btn{
  text-decoration:none;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(0,0,0,.06);
}
.btn.primary{
  background:var(--accent);
  color:#fff;
}
.btn.secondary{
  background:#fff;
  color:var(--accent);
}
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.tag{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  background:#eef4ea;
  color:#31523a;
  font-size:.92rem;
  font-weight:700;
}

.summary-list{
  margin:0;
  padding-left:18px;
}
.summary-list li{margin:8px 0}

.footer-note{
  margin-top:10px;
  color:var(--muted);
  font-size:.93rem;
}

.project-links{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.project-box{
  height:100%;
}

.project-box .btn{
  width:100%;
  justify-content:center;
}

.theme-farmguard{ --accent:#345c2c; --accent2:#2563eb; --accent3:#d97706}
.theme-biosecurity{--accent:#2f7d32;--accent2:#1d4ed8;--accent3:#c2410c}
.theme-environment{--accent:#0f766e;--accent2:#2563eb;--accent3:#0f9d58}
.theme-storage{--accent:#b45309;--accent2:#1d4ed8;--accent3:#7c3aed}
.theme-core{--accent:#31489F;--accent2:#738fdb;--accent3:#95e2e6;}


/* ===== farmguard-pages.css (end) ===== */


/* =========================================================
   TOP NAVIGATION BAR
========================================================= */

.main-nav{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:10px;
  background:#3d7a3d;
}

.main-nav a{
  color:white;
  text-decoration:none;
  padding:8px 14px;
  border-radius:6px;
  font-size:0.9rem;
  display:flex;
  align-items:center;
  gap:6px;
  transition:background 0.2s;
}

.main-nav a:hover{
  background:rgba(255,255,255,0.2);
}


/* =========================================================
   MAIN TILE GRID
========================================================= */

.farm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}


/* =========================================================
   TILE CARD
========================================================= */

.farm-tile{
  border-radius:12px;
  background:#ffffff;
  border:2px solid;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  transition:0.2s;
}

.farm-tile:hover{
  transform:translateY(-4px);
}


/* =========================================================
   TILE HEADER
========================================================= */

.farm-header{
  padding:12px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  cursor:pointer;
  user-select:none;
}

.farm-header i{
  font-size:18px;
}



/* =========================================================
   TILE BODY (EXPANDABLE CONTENT)
========================================================= */

.farm-body{
  padding:0 12px;
  color:#333;
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease, padding 0.3s ease;
}

.farm-tile.active .farm-body{
  max-height:3000px;
  padding:12px;
}

.farm-body ul{
  padding-left:18px;
  margin:0;
}

.farm-body li{
  margin:5px 0;
  line-height:1.5;
}


/* =========================================================
   DUTY TITLE
========================================================= */

.duty-title{
  font-weight:bold;
  padding:8px 12px;
  margin:0;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:2px solid #f0f0f0;
}

.duty-summary{
  flex-grow:1;
}


/* =========================================================
   EXPAND / COLLAPSE ARROW
========================================================= */

.duty-title::after{
  content:'\f078';
  font-family:'Font Awesome 6 Free';
  font-weight:900;
  transition:transform 0.3s ease;
  flex-shrink:0;
  margin-left:10px;
}

.farm-tile.active .duty-title::after{
  transform:rotate(180deg);
}
/* READ MORE LINK */
.read-more-duty{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
    text-decoration: none;
    transition: all 0.25s ease;
}

.read-more-duty i{
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.read-more-duty:hover{
    color: #2c5aa0;
}

.read-more-duty:hover i{
    transform: translateX(3px);
}

/* =========================================================
   CATEGORY COLOURS
========================================================= */

/* CORE */

.core{
  border-color:var(--core);
}

.core .farm-header{
  background:var(--core);
}

.core .duty-description{
  border-color:var(--core);
}


/* LIVESTOCK */

.livestock{
  border-color:var(--livestock);
}

.livestock .farm-header{
  background:var(--livestock);
}

.livestock .duty-description{
  border-color:var(--livestock);
}


/* CROP */

.crop{
  border-color:var(--crop);
}

.crop .farm-header{
  background:var(--crop);
}

.crop .duty-description{
  border-color:var(--crop);
}


/* =========================================================
   DUTY PAGE THEMES
   Used on individual duty pages
========================================================= */

/* CORE */

.duty-card.core{
  border:2px solid var(--core-light);
}

.duty-card.core .duty-header{
  background:var(--core);
  color:white;
}

.duty-card.core .info-section{
  border-left:6px solid var(--core);
}

.duty-card.core .info-section h2{
  color:var(--core);
}


/* LIVESTOCK */

.duty-card.livestock{
  border:2px solid var(--livestock-light);
}

.duty-card.livestock .duty-header{
  background:var(--livestock);
  color:white;
}

.duty-card.livestock .info-section{
  border-left:6px solid var(--livestock);
}

.duty-card.livestock .info-section h2{
  color:var(--livestock);
}


/* CROP */

.duty-card.crop{
  border:2px solid var(--crop-light);
}

.duty-card.crop .duty-header{
  background:var(--crop);
  color:white;
}

.duty-card.crop .info-section{
  border-left:6px solid var(--crop);
}

.duty-card.crop .info-section h2{
  color:var(--crop);
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title{
  font-size:22px;
  margin:25px 0 10px;
  font-weight:bold;
}


/* =========================================================
   MOBILE SETTINGS
========================================================= */




/* =========================================================
   BOTTOM CARD NAVIGATION
========================================================= */


/* =========================================================
   NAVIGATION CARDS
========================================================= */

.card{
  flex:0 0 auto;
  min-width:68px;
  max-width:100px;
  text-align:center;
  padding:7px 8px;
  text-decoration:none;
  color:#fff;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  box-shadow:0 5px 15px rgba(0,0,0,0.12);
}

.card{
  color:#fff;
}
.card:hover{
  opacity:0.95;
}

.card h3{
  font-size:10px;
  line-height:1.15;
    margin-top:0;
  margin:2px 0 0;
  font-weight:700;
  color:inherit;
}

.card p{
  display:none;
}

.card-icon{
  font-size:17px;
  margin-bottom:2px;
  color:inherit;
}


/* =========================================================
   CARD COLOURS
========================================================= */

.card-home{
  background:#555;
}

.card-core,
.card-core:hover{
  background:var(--core-primary);
}

.card-crop,
.card-crops,
.card-crop:hover,
.card-crops:hover{
  background:var(--crop-primary);
}

.card-livestock,
.card-livestock:hover{
  background:var(--livestock-primary);
}

.card-general,
.card-general:hover{
  background:var(--general-primary);
}

.card.card-ag4u,
.card-ag4u,
.card.card-ag4u:hover,
.card-ag4u:hover{
  background-color:var(--ag4u-primary);
  background:var(--ag4u-primary);
  color:#fff;
  border-color:var(--ag4u-dark);
}

.card.card-ag4u:hover,
.card-ag4u:hover{
  background-color:var(--ag4u-dark);
  background:var(--ag4u-dark);
}

.card.card-gfw,
.card.card-level2,
.card-gfw,
.card-level2,
.card.card-gfw:hover,
.card.card-level2:hover,
.card-gfw:hover,
.card-level2:hover{
  background-color:var(--level2-primary);
  background:var(--level2-primary);
  color:#fff;
}

.card.card-l3,
.card.card-level3,
.card-l3,
.card-level3,
.card.card-l3:hover,
.card.card-level3:hover,
.card-l3:hover,
.card-level3:hover{
  background-color:var(--level3-primary);
  background:var(--level3-primary);
  color:#fff;
}

/* =========================================================
   MAIN TILE GRID
========================================================= */

.farm-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}


/* =========================================================
   TILE CARD
========================================================= */

.farm-tile{
  border-radius:12px;
  background:#ffffff;
  border:2px solid;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  transition:0.2s;
}

.farm-tile:hover{
  transform:translateY(-4px);
}


/* =========================================================
   TILE HEADER
========================================================= */

.farm-header{
  padding:12px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  cursor:pointer;
  user-select:none;
}

.farm-header i{
  font-size:18px;
}



/* =========================================================
   TILE BODY (EXPANDABLE CONTENT)
========================================================= */

.farm-body{
  padding:0 12px;
  color:#333;
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease, padding 0.3s ease;
}

.farm-tile.active .farm-body{
  max-height:3000px;
  padding:12px;
}

.farm-body ul{
  padding-left:18px;
  margin:0;
}

.farm-body li{
  margin:5px 0;
  line-height:1.5;
}


/* =========================================================
   DUTY TITLE
========================================================= */

.duty-title{
  font-weight:bold;
  padding:8px 12px;
  margin:0;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:2px solid #f0f0f0;
}

.duty-summary{
  flex-grow:1;
}


/* =========================================================
   EXPAND / COLLAPSE ARROW
========================================================= */

.duty-title::after{
  content:'\f078';
  font-family:'Font Awesome 6 Free';
  font-weight:900;
  transition:transform 0.3s ease;
  flex-shrink:0;
  margin-left:10px;
}

.farm-tile.active .duty-title::after{
  transform:rotate(180deg);
}
/* READ MORE LINK */
.read-more-duty{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
    text-decoration: none;
    transition: all 0.25s ease;
}

.read-more-duty i{
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.read-more-duty:hover{
    color: #2c5aa0;
}

.read-more-duty:hover i{
    transform: translateX(3px);
}

/* =========================================================
   CATEGORY COLOURS
========================================================= */

/* CORE */

.core{
  border-color:var(--core);
}

.core .farm-header{
  background:var(--core);
}

.core .duty-description{
  border-color:var(--core);
}


/* LIVESTOCK */

.livestock{
  border-color:var(--livestock);
}

.livestock .farm-header{
  background:var(--livestock);
}

.livestock .duty-description{
  border-color:var(--livestock);
}


/* CROP */

.crop{
  border-color:var(--crop);
}

.crop .farm-header{
  background:var(--crop);
}

.crop .duty-description{
  border-color:var(--crop);
}


/* =========================================================
   DUTY PAGE THEMES
   Used on individual duty pages
========================================================= */

/* CORE */

.duty-card.core{
  border:2px solid var(--core-light);
}

.duty-card.core .duty-header{
  background:var(--core);
  color:white;
}

.duty-card.core .info-section{
  border-left:6px solid var(--core);
}

.duty-card.core .info-section h2{
  color:var(--core);
}


/* LIVESTOCK */

.duty-card.livestock{
  border:2px solid var(--livestock-light);
}

.duty-card.livestock .duty-header{
  background:var(--livestock);
  color:white;
}

.duty-card.livestock .info-section{
  border-left:6px solid var(--livestock);
}

.duty-card.livestock .info-section h2{
  color:var(--livestock);
}


/* CROP */

.duty-card.crop{
  border:2px solid var(--crop-light);
}

.duty-card.crop .duty-header{
  background:var(--crop);
  color:white;
}

.duty-card.crop .info-section{
  border-left:6px solid var(--crop);
}

.duty-card.crop .info-section h2{
  color:var(--crop);
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title{
  font-size:22px;
  margin:25px 0 10px;
  font-weight:bold;
}


/* =========================================================
   MOBILE SETTINGS
========================================================= */




/* =========================================================
   BOTTOM CARD NAVIGATION
========================================================= */



/* =========================================================
   NAVIGATION CARDS
========================================================= */

.card{
  flex:0 0 auto;
  min-width:68px;
  max-width:100px;
  text-align:center;
  padding:7px 8px;
  text-decoration:none;
  color:#fff;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  box-shadow:0 5px 15px rgba(0,0,0,0.12);
}

.card{
  color:#fff;
}
.card:hover{
  opacity:0.95;
}

.card h3{
  font-size:10px;
  line-height:1.15;
    margin-top:0;
  margin:2px 0 0;
  font-weight:700;
  color:inherit;
}

.card p{
  display:none;
}

.card-icon{
  font-size:17px;
  margin-bottom:2px;
  color:inherit;
}


/* =========================================================
   CARD COLOURS
========================================================= */

.card-home{
  background:#555;
}

.card-core,
.card-core:hover{
  background:var(--core-primary);
}

.card-crop,
.card-crops,
.card-crop:hover,
.card-crops:hover{
  background:var(--crop-primary);
}

.card-livestock,
.card-livestock:hover{
  background:var(--livestock-primary);
}

.card-general,
.card-general:hover{
  background:var(--general-primary);
}

.card.card-ag4u,
.card-ag4u,
.card.card-ag4u:hover,
.card-ag4u:hover{
  background-color:var(--ag4u-primary);
  background:var(--ag4u-primary);
  color:#fff;
  border-color:var(--ag4u-dark);
}

.card.card-ag4u:hover,
.card-ag4u:hover{
  background-color:var(--ag4u-dark);
  background:var(--ag4u-dark);
}

.card.card-gfw,
.card.card-level2,
.card-gfw,
.card-level2,
.card.card-gfw:hover,
.card.card-level2:hover,
.card-gfw:hover,
.card-level2:hover{
  background-color:var(--level2-primary);
  background:var(--level2-primary);
  color:#fff;
}

.card.card-l3,
.card.card-level3,
.card-l3,
.card-level3,
.card.card-l3:hover,
.card.card-level3:hover,
.card-l3:hover,
.card-level3:hover{
  background-color:var(--level3-primary);
  background:var(--level3-primary);
  color:#fff;
}

.card-projects{
  background:#2563eb;
}

.core,
.section-core{
  border-left:8px solid var(--core-primary);
}
.crop,
.crops,
.section-crop{
  border-left:8px solid var(--crop-primary);
}
.livestock,
.section-livestock{
  border-left:8px solid var(--livestock-primary);
}
.level3,
.section-level3{
  border-left:8px solid var(--level3-primary);
}
.level2,
.section-level2{
  border-left:8px solid var(--level2-primary);
}
.general,
.section-general,
.section-gfw-intro{
  border-left:8px solid var(--general-primary);
}

.card-livestock:hover,
.card-core:hover,
.card-crop:hover,
.card-general:hover,
.card-l3:hover,
.card-level3:hover,
.card-level2:hover{
  filter:brightness(1.05);
}

.dropdown-panel{
  position:fixed;
  left:10px;
  right:10px;
  bottom:94px;

  display:none;
  flex-direction:column;
  gap:10px;

  padding:14px;

  border-radius:18px;
  border:1px solid rgba(0,0,0,0.08);

  z-index:1100;

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

.dropdown-panel.open{
  display:flex;
}


/* =========================================================
   POP-UP PANEL COLOURS
========================================================= */

#core-dropdown{
  background:var(--core-bg);
  border-top:3px solid var(--core-primary);
}

#livestock-dropdown{
  background:var(--livestock-bg);
  border-top:3px solid var(--livestock-primary);
}

#crop-dropdown{
  background:var(--crop-bg);
  border-top:3px solid var(--crop-primary);
}

#general-dropdown{
  background:var(--general-bg);
  border-top:3px solid var(--general-primary);
}

#level3-dropdown{
  background:var(--level3-bg);
  border-top:3px solid var(--level3-primary);
}

#level2-dropdown{
  background:var(--level2-bg);
  border-top:3px solid var(--level2-primary);
}


/* =========================================================
   DROPDOWN HEADER
========================================================= */

.dropdown-header{
  font-weight:700;
  font-size:0.96rem;
  padding-bottom:8px;
  border-bottom:1px solid rgba(0,0,0,0.08);
  color:#000;
}


/* =========================================================
   DROPDOWN CLOSE BUTTON
========================================================= */

.dropdown-close{
  position:absolute;
  right:12px;
  top:12px;
  background:transparent;
  border:none;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color:#000;
}


/* =========================================================
   DROPDOWN ITEM GRID
========================================================= */

.dropdown-items{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
  margin-top:8px;
}


/* =========================================================
   DROPDOWN ITEMS
========================================================= */

.dropdown-item{
  background:#f7f7f7;
  color:#222;
  border-radius:14px;
  padding:10px 12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:0.9rem;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.04);
}

.dropdown-item:hover{
  opacity:0.95;
  background:rgba(255,255,255,0.12);
}

.dropdown-item i{
  width:24px;
  min-width:24px;
  text-align:center;
}


/* =========================================================
   FLASH / HIGHLIGHT EFFECT
========================================================= */

.farm-tile.flash{
  box-shadow:0 0 0 4px rgba(255,255,0,0.6);
  transition:box-shadow 0.3s ease;
}


/* =========================================================
   MAIN CONTENT
=========================================================*/

.page-wrap{
    max-width: 1100px;
    margin: auto;
    padding: 30px 15px 140px;
}

/* =========================================================
   DUTY DESCRIPTION
========================================================= */

.duty-description{
  padding: 22px 22px 10px;
  line-height: 1.6;
  color:#333;
  font-size:1.1em;
  border-bottom:3px solid;
  word-wrap:break-word;
  overflow-wrap:break-word;
}

.duty-card{
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.duty-header{
    background: #2e7d32;
    color: white;
    padding: 22px;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}



.duty-content{
    padding: 10px 22px 30px;
}

.duty-content ul{
    line-height: 1.8;
}

.info-section{
    background: var(--section-bg, var(--general-light));
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 6px solid var(--accent, var(--general-primary));
    box-sizing:border-box;
    width:100%;
}

.info-section h2{
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent, var(--general-primary));
    font-size: 1.5rem;
}

.info-section h3{
    color: var(--accent, var(--general-primary));
}

.info-section.section-core{ --accent: var(--core-primary); --section-bg: var(--core-light); }
.info-section.section-crop,
.info-section.section-crops{ --accent: var(--crop-primary); --section-bg: var(--crop-light); }
.info-section.section-livestock{ --accent: var(--livestock-primary); --section-bg: var(--livestock-light); }
.info-section.section-general,
.info-section.section-gfw-intro{ --accent: var(--general-primary); --section-bg: var(--general-light); }
.info-section.section-level3{ --accent: var(--level3-primary); --section-bg: var(--level3-light); }
.info-section.section-level2{ --accent: var(--level2-primary); --section-bg: var(--level2-light); }

.placeholder-box{
    background: white;
    border: 2px dashed #c7c7c7;
    border-radius: 14px;
    padding: 20px;
    min-height: 120px;
    color: #666;
    line-height: 1.7;
}




/* Journal entry card example */
.journal-card {
    margin:20px auto;
    font-family:Arial, sans-serif;
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    overflow:hidden;
    border:1px solid #e5e5e5;
}

/* FOOTER */
.site-footer{
    background: #1f2937;
    margin-top: 50px;
    padding: 22px 15px;
    border-top: 4px solid #31489F;
}

.footer-inner{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-copy{
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-home-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #31489F;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer-home-btn:hover{
    background: #3d56b0;
    transform: translateY(-2px);
}

.footer-home-btn i{
    font-size: 0.9rem;
}

/* MOBILE */


/* ===== legacy overrides removed; category variables now drive section colours ===== */
/*=========================================================
  LEVEL 3 SKILLS HUB
  Homepage (Stage 1)
  Add to END of styles.css
=========================================================*/

/* ---------- HERO ---------- */

.skillshub-hero{

    position:relative;

    min-height:88vh;

    border-radius:24px;

    overflow:hidden;

    margin:0 auto 35px;

    background:
        linear-gradient(rgba(0,0,0,.45),
        rgba(0,0,0,.45)),
        url("../images/skills-hub-hero.jpg");

    background-size:cover;

    background-position:center center;

    box-shadow:var(--shadow);

}

/* ---------- DARK OVERLAY ---------- */
.hero-overlay{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:40px 50px;

}

/* ---------- TWO COLUMN LAYOUT ---------- */

.hero-grid{

    display:grid;

    grid-template-columns:1fr 700px;

    gap:50px;

    align-items:start;
    width:100%;

}

/* ---------- LEFT COLUMN ---------- */

.hero-text{

    max-width:620px;
  color:white;
  padding-top:35px;

}

.hero-text h1{

    font-size:clamp(2.0rem,4vw,3.6rem);

    line-height:1.05;

    margin:18px 0;

    font-weight:800;

}

.hero-text p{

    font-size:1.15rem;

    max-width:620px;

    margin-bottom:35px;

    color:rgba(255,255,255,.92);

}

/* ---------- BADGE ---------- */

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    border-radius:999px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(6px);

    border:1px solid rgba(255,255,255,.25);

    font-weight:700;

    letter-spacing:.5px;

}


/* ---------- PROJECT INTRO ---------- */

#projects{

    margin-top:10px;

}

/* ---------- BUTTON OVERRIDE ---------- */

.skillshub-hero .btn{

    padding:15px 24px;

    font-size:1rem;

}

/*=========================================================
  RESPONSIVE
=========================================================*/

/*==================================================
SKILLS HUB MIND MAP
==================================================*/


/* Mobile*/
/*==================================================
MOBILE LAYOUT
==================================================*/

@media (max-width:900px){

    .skillshub-hero{
        min-height:auto;
    }

    .hero-overlay{
        padding:20px;
    }

    .hero-nav{
        justify-content:center;
        gap:8px;
        margin-bottom:20px;
    }

    .hero-nav a{
        font-size:.8rem;
        padding:8px 12px;
    }

    .hero-nav-bar{
      padding:8px 10px;
      margin:0 auto 14px;
      background:rgba(0,0,0,.26);
      backdrop-filter:none;
      -webkit-backdrop-filter:none;
      position:relative;
      z-index:50;
    }

    .hero-nav{
      display:grid;
      grid-template-columns:repeat(3, minmax(0, 1fr));
      gap:6px;
      width:100%;
    }

    .hero-nav a{
      min-width:0;
      justify-content:center;
      text-align:center;
      font-size:.7rem;
      padding:6px 6px;
      gap:5px;
      white-space:nowrap;
    }

    .hero-nav a i{
      font-size:.72rem;
    }

    .hero-grid{

        display:flex;
        flex-direction:column;

        align-items:center;

        gap:20px;

    }

    /* HUB FIRST */

    .skills-hub-container{

        order:1;

        width:100%;

        max-width:420px;

        margin:0 auto;
       transform:translateX(-35px);

    }

    .skills-hub-svg{

        width:100%;

        height:auto;

    }

    /* TEXT SECOND */

    .hero-text{

        order:2;

        width:100%;

        text-align:center;

        padding-top:0;

        max-width:100%;

    }

    .hero-badge{

        margin:0 auto 18px;

    }

    .hero-text h1{

        font-size:2.5rem;

        line-height:1.1;

        margin-bottom:18px;

    }

    .hero-intro{

        font-size:1rem;

        max-width:100%;

    }

}
/* Hub */



/* Common */

.skills-node{

    position:absolute;

    z-index:20;

}

.skills-node a{

    width:130px;

    height:130px;

    border-radius:50%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    text-decoration:none;

    color:white;

    font-weight:700;

    transition:.25s;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

}

.skills-node a:hover{

    transform:scale(1.08);

}

.skills-node i{

    font-size:30px;

    margin-bottom:10px;

}

/* pointer cursor */

.skills-node {
    cursor: pointer;
}

.hub-link .node-circle{
    transition:0.25s ease;
}

.hub-link:hover .node-circle{
    transform:scale(1.04);
}




/* mobile */


/*==========================================================
                LEVEL 3 SKILLS HUB
============================================================

This section contains ALL styling for the homepage
interactive Skills Hub component.

Do not mix these styles with the Duties pages.

==========================================================*/


.skills-hub-container{

    width:700px;

       display:flex;

    justify-content:center;

}

.skills-hub-svg{

     width:100%;

    height:auto;

    display:block;

}

.skills-hub-connector{

    stroke:#ffffff;

    stroke-width:5;

    stroke-linecap:round;

    opacity:.65;

    transition:.3s;

}
.skills-node{

    cursor:pointer;

    transition:.25s;

    transform-origin:center;

}

.skills-node:hover{

    transform:scale(1.08);

}

.skills-node circle{

    transition:.25s;

}

.skills-node:hover circle{

    filter:brightness(1.15);

}

.skills-node:hover{

    transform:scale(1.06);

}
.skills-node text{

    font-size:15px;

    font-weight:700;

    letter-spacing:.3px;

    fill:white;

    text-anchor:middle;

    dominant-baseline:middle;

    pointer-events:none;

    text-shadow:0 1px 2px rgba(0,0,0,.35);

}

.skills-center text{

    font-size:19px;

}
.hero-intro{

    margin-bottom:22px;

    max-width:600px;

}

.hero-actions{

    margin-top:10px;

}


/*==================================================
HERO NAVIGATION
==================================================*/
.hero-nav{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

}
.hero-nav a{

    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 16px;

    border-radius:999px;

    text-decoration:none;
    color:#fff;

    font-size:.92rem;
    font-weight:600;

    transition:.25s;

    backdrop-filter:blur(8px);

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.18);
}

/* Navigation button colours (class-based) */
.nav-home{
    background:rgba(91,100,114,.70);
}

.nav-gfw{
    background:rgba(0,204,0,.65);
}

.nav-l3{
    background:rgba(212,160,23,.70);
}

.nav-employers{
    background:rgba(195,38,12,.65);
}

.nav-knowledge{
    background:rgba(123,63,182,.65);
}

.nav-about{
    background:rgba(49,72,159,.65);
}

.hero-nav a:hover{
    transform:translateY(-2px);
    filter:brightness(1.2);
}

/*==================================================
FROSTED GLASS NAVIGATION BAR
==================================================*/
.hero-nav-bar{

    width:100%;
    margin:0 auto 35px;

    padding:14px 22px;

    border-radius:28px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.25),
        inset 0 1px rgba(255,255,255,.20);

}

/* Duty Hub V2 additions */
.card-grid{
 left:50%;
 transform:translateX(-50%);
 width:auto;
 padding:12px 14px;
 border-radius:26px;
 background:rgba(255,255,255,.14);
 backdrop-filter:blur(18px);
 -webkit-backdrop-filter:blur(18px);
 border:1px solid rgba(255,255,255,.22);
 box-shadow:0 18px 35px rgba(0,0,0,.18);
}
.card{
 border-radius:18px;
 transition:.25s ease;
}
.card:hover{
 transform:translateY(-3px);
}
.dropdown-panel{
 border-radius:22px;
 backdrop-filter:blur(18px);
 -webkit-backdrop-filter:blur(18px);
 box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.hero-header{
 padding:110px 20px 90px;
}
.hero-badge{
 padding:12px 22px;
}

/* ==========================================================
   DUTY HUB V2
   Floating Frosted Navigation
========================================================== */

.floating-nav-shell{

    position:fixed;

    left:50%;

    bottom:14px;

    transform:translateX(calc(-50% ));

    z-index:1500;

    width:auto;

}
.card-grid{

    position:relative;

    display:flex;

    gap:6px;
    padding: 10px 14px 10px 14px;
    width:fit-content;
     overflow:hidden;
    border-radius:28px;
   
    

    background:
        linear-gradient(
            rgba(255,255,255,.22),
            rgba(255,255,255,.12)
        );

    backdrop-filter:blur(22px);

    -webkit-backdrop-filter:blur(22px);

    border:1px solid rgba(255,255,255,.30);

    box-shadow:

        0 18px 45px rgba(0,0,0,.18),

        inset 0 1px 0 rgba(255,255,255,.30);

}

.card{

    border-radius:18px;
    border:none;
     outline:none;
    appearance:none;
    -webkit-appearance:none;

    transition:

        transform .28s ease,

        box-shadow .28s ease,

        filter .28s ease;

}

.card:hover{

    transform:translateY(-5px);

    filter:brightness(1.08);

    box-shadow:

        0 10px 24px rgba(0,0,0,.18);

}

.card:active{

    transform:translateY(-2px);

}

.card-icon{

    transition:transform .25s ease;

}

.card:hover .card-icon{

    transform:scale(1.12);

}

@media(max-width:900px){

    .floating-nav-shell{

        width:calc(100% - 16px);

        bottom:10px;

    }

    .card-grid{

        justify-content:space-evenly;

        gap:6px;

        padding:10px;

    }

    .card{

        min-width:60px;

        max-width:none;

        flex:1;

    }

}

/*=========================================================
    LEVEL 3 PROJECT TEMPLATE
    Append this section to the END of styles.css
=========================================================*/

/* ---------- HERO ---------- */

.project-hero{
    background:
        linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
        url('../images/Claas8900.jpg');
    background-size:cover;
    background-position:center;
    color:#fff;
    border-radius:24px;
    padding:24px;
    box-shadow:var(--shadow);
}

.project-hero-content{
    max-width:1100px;
    margin:55px auto 35px;
}

.project-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    background:var(--level3-primary);
    color:#fff;
    font-weight:700;
}

/* ---------- PROJECT NAV ---------- */

.project-nav{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    padding:14px;
    background:var(--level3-primary);
    border-radius:0 0 18px 18px;
}

.project-nav a{
    color:#fff;
    text-decoration:none;
    font-weight:700;
    padding:8px 14px;
    border-radius:999px;
    transition:.25s;
}

.project-nav a:hover{
    background:rgba(255,255,255,.15);
}

.project-subnav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    padding:12px 14px;
    max-width:1200px;
    margin:0 auto 20px;
    background:var(--project-subnav-bg, rgba(46,125,50,.12));
    border:1px solid var(--project-subnav-border, rgba(46,125,50,.25));
    border-radius:999px;
}

.project-subnav a{
    color:#fff;
    background:var(--project-colour, rgba(46,125,50,.85));
    text-decoration:none;
    font-weight:700;
    padding:8px 14px;
    border-radius:999px;
    transition:.25s;
}

.project-subnav a:hover{
  background:var(--project-dark, rgba(46,125,50,.95));
}

.project-page-nav{
    max-width:1200px;
    margin:0 auto 30px;
    padding:0 20px;
    display:flex;
    justify-content:space-between;
    gap:12px;
}

.project-page-nav a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    border-radius:999px;
    text-decoration:none;
    color:#fff;
    background:var(--project-colour, rgba(46,125,50,.85));
    font-weight:700;
    transition:.25s;
}

.project-page-nav a:hover{
  background:var(--project-dark, rgba(46,125,50,.95));
}

.hub-roadmap{
    max-width:1200px;
    margin:20px auto 10px;
    padding:16px;
    background:rgba(255,255,255,.95);
    border:1px solid rgba(46,125,50,.2);
    border-radius:24px;
    box-shadow:0 10px 20px rgba(0,0,0,.05);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.hub-roadmap-panel{
  min-width:0;
}

.roadmap-panel-title{
  margin:0 0 10px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.01em;
  color:var(--project-dark);
}

.roadmap-panel-icon{
  font-size:.82rem;
  line-height:1;
  opacity:.88;
  flex:0 0 auto;
}

.roadmap-image{
    width:100%;
  aspect-ratio:16 / 9;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
}

.roadmap-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.roadmap-video{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
}

.roadmap-video video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.roadmap-header{
    display:none;
}

.roadmap-track{
    display:none;
}

.roadmap-step{
    display:none;
}

.roadmap-step-icon{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--project-colour);
    color:#fff;
    font-size:1.1rem;
}

.roadmap-step strong{
    display:block;
    font-size:.95rem;
    color:var(--project-dark);
}

/* ---------- CARD GRID ---------- */

.project-grid{
    max-width:1200px;
    margin:35px auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:22px;
}

.project-card{
    background:#fff;
    border-radius:20px;
    padding:28px;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    transition:.25s;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-card h2{
    margin-top:0;
}

/* Compact, inline section icons for project, core, livestock and crop pages. */
.theme-project .project-card .project-icon,
.theme-livestock .project-card .project-icon,
.theme-core .project-card .project-icon,
.theme-crop .project-card .project-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  margin:0 8px 10px 0;
  vertical-align:middle;
  border-radius:10px;
}

.theme-project .project-card .project-icon i,
.theme-livestock .project-card .project-icon i,
.theme-core .project-card .project-icon i,
.theme-crop .project-card .project-icon i{
  font-size:.95rem;
}

.theme-project .project-card h2,
.theme-livestock .project-card h2,
.theme-core .project-card h2,
.theme-crop .project-card h2{
  display:inline-block;
  vertical-align:middle;
  margin:0 0 10px;
}

.theme-project .project-card h2 + p,
.theme-livestock .project-card h2 + p,
.theme-core .project-card h2 + p,
.theme-crop .project-card h2 + p{
  margin-top:6px;
}

.onefile-reminder{
  display:flex;
  align-items:center;
  gap:16px;
  margin:10px 0 18px;
  padding:14px 16px;
  border:1px solid #d7e5ff;
  border-radius:16px;
  background:#f5f9ff;
}

.onefile-reminder img{
  width:64px;
  max-width:64px;
  max-height:64px;
  flex:0 0 auto;
}

.onefile-reminder p{
  margin:0;
  font-weight:700;
  color:#1f2f6b;
}

/* ---------- ICONS ---------- */

.project-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    margin-bottom:16px;
}

.project-blue{background:#2563eb;}
.project-green{background:#2e7d32;}
.project-orange{background:#d97706;}
.project-red{background:#c3260c;}
.project-purple{background:#7b3fb6;}
.project-teal{background:#0f766e;}

@media (max-width:640px){
  .onefile-reminder{
    flex-direction:column;
    text-align:center;
  }

  .onefile-reminder img{
    width: 36px;
    max-width:36px;
    max-height:36px;
  }
}

/* ---------- FOOTER ---------- */

.project-footer{
    background:#1f2937;
    color:#fff;
    border-radius:20px;
    padding:28px;
    margin-top:40px;
    text-align:center;
}

/* ---------- MOBILE ---------- */

@media (max-width:900px){

    .project-hero{
        padding:20px;
    }

    .project-hero-content{
        margin:35px auto 20px;
    }

    .project-grid{
        grid-template-columns:1fr;
        padding:0 15px;
    }

    .project-nav{
        gap:6px;
    }

    .project-nav a{
        font-size:.9rem;
    }

    .hub-roadmap{
      grid-template-columns:1fr;
    }

    .theme-project .project-card .project-icon,
    .theme-livestock .project-card .project-icon,
    .theme-core .project-card .project-icon,
    .theme-crop .project-card .project-icon{
      width:32px;
      height:32px;
      min-width:32px;
      min-height:32px;
      margin:0 6px 8px 0;
      border-radius:8px;
    }

    .theme-project .project-card .project-icon i,
    .theme-livestock .project-card .project-icon i,
    .theme-core .project-card .project-icon i,
    .theme-crop .project-card .project-icon i{
      font-size:.92rem;
    }
}



/* ===== Project Template V3 ===== */

/* Project Theme Variables - sets colours and hero header change 
<body class="theme-farmsafe"> in page to effect */

.theme-project{
 --project-colour:var(--level3-primary);
 --project-dark:var(--level3-dark);
 --hero-image:url('../images/Claas8900.jpg');
}
.theme-farmsafe{
 --project-colour:#d4a017;
 --project-dark:#8a670f;
 --hero-image:url('../images/farmsafe-header.jpg');
}
.theme-farmfuture{
 --project-colour:#2e7d32;
 --project-dark:#14532d;
 --hero-image:url('../images/farmfuture-header.jpg');
}
.theme-crop{
 --project-colour:#2e7d32;
 --project-dark:#14532d;
 --hero-image:url('../images/farmfuture-header.jpg');
}

.theme-core{
 --accent:#31489F;
 --accent2:#738fdb;
 --accent3:#95e2e6;
 --project-colour:#31489F;
 --project-dark:#1F2F6B;
 --project-subnav-bg:rgba(49,72,159,.12);
 --project-subnav-border:rgba(49,72,159,.25);
}

.theme-core .project-subnav{
  background:rgba(49,72,159,.12);
  border:1px solid rgba(49,72,159,.25);
}

.theme-core #observe-table table{
  width:100%;
  border-collapse:collapse !important;
  border:2px solid rgba(31,47,107,.35);
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(31,47,107,.10);
}

.theme-core #observe-table th,
.theme-core #observe-table td{
  padding:12px 14px;
  border:1px solid rgba(49,72,159,.24);
  text-align:left;
  vertical-align:top;
}

.theme-core #observe-table th{
  background:#738fdb;
  color:#ffffff;
  font-weight:700;
  letter-spacing:.01em;
}

.theme-core #observe-table tr:nth-child(even) td{
  background:rgba(149,226,230,.16);
}

.theme-core #observe-table tr:hover td{
  background:rgba(115,143,219,.16);
}

.theme-crop #observe-table table{
  width:100%;
  border-collapse:collapse !important;
  border:2px solid rgba(20,83,45,.35);
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(20,83,45,.10);
}

.theme-crop #observe-table th,
.theme-crop #observe-table td{
  padding:12px 14px;
  border:1px solid rgba(46,125,50,.24);
  text-align:left;
  vertical-align:top;
}

.theme-crop #observe-table th{
  background:#70e676;
  color:#ffffff;
  font-weight:700;
  letter-spacing:.01em;
}

.theme-crop #observe-table tr:nth-child(even) td{
  background:rgba(46,125,50,.08);
}

.theme-crop #observe-table tr:hover td{
  background:rgba(46,125,50,.14);
}

.theme-livestock #observe-table table{
  width:100%;
  border-collapse:collapse !important;
  border:2px solid rgba(130,26,8,.35);
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(130,26,8,.10);
}

.theme-livestock #observe-table th,
.theme-livestock #observe-table td{
  padding:12px 14px;
  border:1px solid rgba(195,38,12,.24);
  text-align:left;
  vertical-align:top;
}

.theme-livestock #observe-table th{
  background:#f08a78;
  color:#ffffff;
  font-weight:700;
  letter-spacing:.01em;
}

.theme-livestock #observe-table tr:nth-child(even) td{
  background:rgba(195,38,12,.08);
}

.theme-livestock #observe-table tr:hover td{
  background:rgba(195,38,12,.14);
}
.theme-livestock{
  --project-colour:#c3260c;
 --project-dark:#821a08;
 --hero-image:url('../images/dairycows.jpg');
 --project-subnav-bg:rgba(195,38,12,.12);
 --project-subnav-border:rgba(195,38,12,.25);
}

.theme-livestock .project-subnav{
  background:rgba(195,38,12,.12);
  border:1px solid rgba(195,38,12,.25);
}


.project-hero{
 background:
 linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
 var(--hero-image);
 background-size:cover;
 background-position:center;
 border-radius:24px 24px 0 0;
}
.project-nav{
 margin-top:-12px;
 border-radius:22px 22px 18px 18px;
 background:var(--project-colour);
 justify-content:space-evenly;
 gap:18px;
 padding:16px 24px;
}
.project-nav a{
 display:flex;
 align-items:center;
 gap:8px;
}
@media(min-width:1000px){
.project-nav a{min-width:150px;justify-content:center;}
}
.project-badge{background:var(--project-colour);}
.project-footer-links{
 display:flex;
 justify-content:center;
 gap:22px;
 flex-wrap:wrap;
 margin-top:16px;
}
.project-footer-links a{
 color:#fff;
 text-decoration:none;
 font-weight:600;
}

/* Final mobile nav override: keep 3 columns on phones even with later global nav rules. */
@media (max-width:900px){
  .hero-nav{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:6px !important;
    width:100% !important;
    justify-content:initial !important;
  }

  .hero-nav a{
    min-width:0 !important;
    width:auto !important;
    font-size:.7rem !important;
    padding:6px 6px !important;
    gap:5px !important;
    white-space:nowrap !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .hero-nav a i{
    font-size:.72rem !important;
  }
}

/* Final nav colour lock: class-based colours win on all hub pages. */
.hero-nav a.nav-home{background:rgba(91,100,114,.70) !important;}
.hero-nav a.nav-gfw{background:rgba(0,204,0,.65) !important;}
.hero-nav a.nav-l3{background:rgba(212,160,23,.70) !important;}
.hero-nav a.nav-employers{background:rgba(195,38,12,.65) !important;}
.hero-nav a.nav-knowledge{background:rgba(123,63,182,.65) !important;}
.hero-nav a.nav-about{background:rgba(49,72,159,.65) !important;}
