/*
Theme Name: Farming Future
Theme URI: https://promasecure.com/farming-future/
Author: PromaSecure
Author URI: https://promasecure.com/
Description: Farming Future is a premium, Elementor-ready WordPress theme by PromaSecure, crafted for agritech, sustainability, regional development, and grower-community organisations. Fully compatible with the WordPress block editor and Elementor — including custom Elementor color, typography and section presets — with widget areas, custom logo, dynamic nav, and a one-page front template that replicates the launch reference design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farming-future
Tags: agriculture, agritech, custom-logo, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready, full-width-template, editor-style, block-styles, wide-blocks, elementor, one-page

Farming Future, (C) 2026 PromaSecure
Farming Future is distributed under the terms of the GNU GPL v2 or later.
*/

/* ═══════════════════════════════════════════════════
   RESET & CSS VARIABLES
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #1c4a2a;
  --green-mid:    #2d6a40;
  --green-light:  #4a8f5f;
  --gold:         #c9953a;
  --gold-light:   #e8b960;
  --cream:        #f7f2e8;
  --cream-dark:   #ede5d4;
  --earth:        #8b6f47;
  --dark:         #111a14;
  --text:         #2a2a2a;
  --text-muted:   #5a6b5e;
  --white:        #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  margin: 0;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--green-mid); }
a:hover { color: var(--gold); }

/* WP core admin bar fix */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar nav { top: 46px; }
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.ff-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28, 74, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(201, 149, 58, 0.25);
  transition: box-shadow 0.3s;
}

.ff-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav-brand em { font-style: italic; color: var(--white); font-weight: 400; }
.nav-brand img { max-height: 36px; width: auto; }

.nav-links {
  display: flex; gap: 28px; list-style: none; align-items: center;
  margin: 0; padding: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a { color: var(--gold-light); }

.nav-links .nav-cta,
.nav-links .menu-item-cta > a {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 3px;
  transition: background 0.2s !important;
}
.nav-links .nav-cta:hover,
.nav-links .menu-item-cta > a:hover { background: var(--gold-light) !important; color: var(--dark) !important; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.25s; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: rgba(20, 55, 32, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0 24px;
  border-bottom: 1px solid rgba(201,149,58,0.2);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
}
.mobile-menu.open { display: block; opacity: 1; transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul li a {
  display: block; padding: 12px 24px;
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu ul li a:hover { background: rgba(255,255,255,0.05); color: var(--gold-light); }
.mobile-menu ul li.menu-item-cta > a,
.mobile-menu ul li a.mob-cta {
  margin: 16px 24px 0; background: var(--gold);
  color: var(--white); text-align: center; border-radius: 3px;
  border-bottom: none; padding: 12px 20px;
}
.mobile-menu ul li.menu-item-cta > a:hover,
.mobile-menu ul li a.mob-cta:hover { background: var(--gold-light); color: var(--dark); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.ff-hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(165deg, rgba(17,26,20,0.92) 0%, rgba(28,74,42,0.82) 45%, rgba(17,26,20,0.90) 100%),
    var(--ff-hero-image, none) center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,149,58,0.06) 0%, transparent 70%);
}

.hero-line {
  position: absolute; left: 48px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 180px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4; z-index: 1;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  background: rgba(201,149,58,0.12);
  border: 1px solid rgba(201,149,58,0.45);
  color: var(--gold-light);
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 7px 20px;
  border-radius: 2px; margin-bottom: 32px;
}

.ff-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 12px;
}
.ff-hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
  font-weight: 400; color: rgba(255,255,255,0.82);
  margin-bottom: 20px; letter-spacing: 0.02em;
}

.hero-body {
  font-size: 1rem; color: rgba(255,255,255,0.62);
  line-height: 1.8; max-width: 680px; margin: 0 auto 44px;
}

.hero-stats {
  display: flex; gap: 0; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px; overflow: hidden;
  margin-bottom: 44px; flex-wrap: wrap;
}
.hero-stat {
  padding: 14px 28px;
  color: rgba(255,255,255,0.85); font-size: 0.85rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong { color: var(--gold-light); }

.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 15px 38px; border-radius: 3px; text-decoration: none;
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: background 0.2s, transform 0.15s, color 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.45); color: var(--white);
  padding: 15px 38px; border-radius: 3px; text-decoration: none;
  font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-light); background: rgba(201,149,58,0.12); color: var(--gold-light); }

.btn-gold {
  background: var(--gold); color: var(--white);
  padding: 14px 36px; border-radius: 3px; text-decoration: none;
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-block; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); transform: translateY(-2px); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════════════ */
.ff-section { padding: 100px 40px; }
.ff-container { max-width: 1140px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-mid); font-weight: 700; margin-bottom: 12px;
}
.section-label-light { color: var(--gold-light); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700; color: var(--green-deep);
  line-height: 1.18; margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title-light { color: var(--white); }

.section-desc {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; max-width: 680px;
}
.section-desc-light { color: rgba(255,255,255,0.65); }

.divider-line {
  width: 56px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px; margin-bottom: 28px;
}

/* Section background utilities */
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-green-deep { background: var(--green-deep); }
.bg-dark { background: var(--dark); }

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 64px;
}

.about-img-wrap { position: relative; }

.about-img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 2px;
}

.about-stat-card {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--green-deep); color: var(--white);
  padding: 28px 34px; border-radius: 2px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.about-stat-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 700; color: var(--gold-light);
  line-height: 1;
}
.about-stat-card .stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.65);
  letter-spacing: 0.09em; text-transform: uppercase; margin-top: 6px;
}

.about-text { padding-left: 16px; }

.about-paras p {
  font-size: 1.02rem; color: var(--text); line-height: 1.82;
  margin-bottom: 20px;
}
.about-paras p:last-child { margin-bottom: 0; }

.about-points {
  margin-top: 36px; display: flex; flex-direction: column; gap: 22px;
}

.about-point { display: flex; gap: 18px; align-items: flex-start; }

.about-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(45,106,64,0.09);
  border: 1px solid rgba(45,106,64,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid);
}
.about-icon svg { width: 20px; height: 20px; }

.about-point-text h4 {
  font-weight: 700; font-size: 0.95rem;
  color: var(--green-deep); margin-bottom: 3px;
}
.about-point-text p {
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   FIVE PILLARS
═══════════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px; margin-top: 64px;
}

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 44px 28px 36px;
  transition: background 0.28s, border-color 0.28s, transform 0.2s;
  cursor: default; position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0; transition: opacity 0.28s;
}
.pillar-card:hover {
  background: rgba(201,149,58,0.08);
  border-color: rgba(201,149,58,0.3);
  transform: translateY(-4px);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(201,149,58,0.18); line-height: 1; margin-bottom: 20px;
}
.pillar-title {
  font-weight: 700; font-size: 0.93rem;
  color: var(--gold-light); margin-bottom: 14px; letter-spacing: 0.02em;
  line-height: 1.4;
}
.pillar-desc {
  font-size: 0.82rem; color: rgba(255,255,255,0.52); line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   EVENT RECAP
═══════════════════════════════════════════════════ */
.recap-header { max-width: 720px; margin-bottom: 56px; }

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}

.recap-item {
  overflow: hidden; border-radius: 2px; position: relative;
  cursor: pointer;
}
.recap-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.recap-item:hover img { transform: scale(1.05); }
.recap-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,26,20,0.5) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.recap-item:hover::after { opacity: 1; }

.recap-item:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 340px; }
.recap-item:nth-child(2) { min-height: 165px; }
.recap-item:nth-child(3) { min-height: 165px; }
.recap-item:nth-child(4) { min-height: 165px; }
.recap-item:nth-child(5) { min-height: 165px; }
.recap-item:nth-child(6) { min-height: 200px; }
.recap-item:nth-child(7) { grid-column: span 2; min-height: 200px; }
.recap-item:nth-child(8) { min-height: 200px; }
.recap-item:nth-child(9) { min-height: 220px; }
.recap-item:nth-child(10) { min-height: 220px; }
.recap-item:nth-child(11) { min-height: 220px; }
.recap-item:nth-child(12) { min-height: 220px; }

/* ═══════════════════════════════════════════════════
   AGRI-ONE / FEATURE PLATFORM SECTION
═══════════════════════════════════════════════════ */
.agri-one-intro {
  max-width: 760px; margin-bottom: 16px;
}
.agri-one-intro .sub-head {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-style: italic;
  color: var(--gold-light); margin-bottom: 24px; letter-spacing: 0.01em;
}
.agri-one-intro p {
  font-size: 1.03rem; color: rgba(255,255,255,0.65);
  line-height: 1.82; margin-bottom: 18px;
}

.agri-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 52px 0;
}

.agri-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  padding: 36px 28px;
  transition: background 0.25s, transform 0.2s;
}
.agri-feature:hover { background: rgba(201,149,58,0.07); transform: translateY(-3px); }

.agri-feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,149,58,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--gold-light);
}
.agri-feature-icon svg { width: 24px; height: 24px; }

.agri-feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px; line-height: 1.35;
}
.agri-feature p {
  font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.72;
}

.agri-quote {
  background: rgba(201,149,58,0.08);
  border: 1px solid rgba(201,149,58,0.2);
  border-left: 4px solid var(--gold);
  padding: 32px 40px; margin: 44px 0;
  border-radius: 0 2px 2px 0;
  max-width: 820px;
}
.agri-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem; font-style: italic;
  color: var(--gold-light); line-height: 1.7;
  margin-bottom: 14px;
}
.agri-quote cite {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em; font-style: normal; text-transform: uppercase;
}

.agri-note {
  font-size: 0.78rem; color: rgba(255,255,255,0.38);
  margin-top: 20px; line-height: 1.6;
}

.agri-cta { margin-top: 44px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   SPEAKERS
═══════════════════════════════════════════════════ */
.speakers-header { margin-bottom: 64px; }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}

.speaker-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
.speaker-card:hover {
  box-shadow: 0 12px 40px rgba(28,74,42,0.12);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.speaker-photo-wrap {
  overflow: hidden; height: 230px; position: relative;
  background: var(--cream-dark);
}
.speaker-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.45s ease;
}
.speaker-card:hover .speaker-photo-wrap img { transform: scale(1.06); }

.speaker-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
}
.speaker-placeholder svg { width: 72px; height: 72px; color: rgba(255,255,255,0.25); }

.speaker-info { padding: 22px 20px 24px; }

.speaker-org {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.speaker-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem; font-weight: 700;
  color: var(--green-deep); margin-bottom: 6px; line-height: 1.3;
}
.speaker-topic {
  font-size: 0.78rem; font-weight: 600;
  color: var(--green-mid); margin-bottom: 10px;
  line-height: 1.45; letter-spacing: 0.01em;
}
.speaker-desc {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.68;
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery-header { margin-bottom: 56px; }

.gallery-groups {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--green-deep);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.gallery-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-item {
  overflow: hidden; border-radius: 2px;
  position: relative; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  border: 3px solid transparent;
  border-radius: 2px;
  transition: border-color 0.3s;
}
.gallery-item:hover::after { border-color: var(--gold); }

.gallery-item.tall img { height: 240px; }
.gallery-item.short img { height: 140px; }

/* ═══════════════════════════════════════════════════
   UPCOMING EVENTS
═══════════════════════════════════════════════════ */
.upcoming-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 64px;
}

.upcoming-desc p {
  font-size: 1.03rem; color: rgba(255,255,255,0.65);
  line-height: 1.82; margin-bottom: 20px;
}

.event-teaser {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--gold);
  border-radius: 2px; overflow: hidden;
}

.event-teaser-header {
  background: rgba(201,149,58,0.1);
  padding: 28px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.event-badge {
  display: inline-block;
  background: var(--gold); color: var(--white);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px; margin-bottom: 16px;
}

.event-teaser-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  line-height: 1.3; margin-bottom: 8px;
}

.event-teaser-body { padding: 28px 32px; }

.event-meta {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px;
}
.event-meta-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
}
.event-meta-item svg { color: var(--gold-light); flex-shrink: 0; }

.event-teaser-desc {
  font-size: 0.87rem; color: rgba(255,255,255,0.55);
  line-height: 1.72; margin-bottom: 28px;
}

.event-sub-note {
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
  line-height: 1.6; margin-top: 16px;
}

/* ═══════════════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════════════ */
.partners-header { margin-bottom: 64px; }

.partner-tier { margin-bottom: 52px; }
.partner-tier:last-child { margin-bottom: 0; }

.tier-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 24px; padding: 10px 16px 10px 14px;
  border-left: 4px solid var(--cream-dark);
  background: var(--cream-dark);
  border-radius: 0 3px 3px 0;
  display: inline-flex; align-items: center; gap: 10px;
}
.tier-label.t-organiser { border-left-color: var(--green-deep); color: var(--green-deep); background: rgba(28,74,42,0.07); }
.tier-label.t-lead      { border-left-color: var(--gold); color: var(--earth); background: rgba(201,149,58,0.09); }
.tier-label.t-partner   { border-left-color: var(--green-mid); color: var(--green-mid); background: rgba(45,106,64,0.07); }
.tier-label.t-gold      { border-left-color: #d4af37; color: #8a6a00; background: rgba(212,175,55,0.1); }
.tier-label.t-silver    { border-left-color: #8a9ba8; color: #4a5e68; background: rgba(138,155,168,0.1); }
.tier-label.t-bronze    { border-left-color: var(--earth); color: var(--earth); background: rgba(139,111,71,0.09); }

.partner-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 24px;
}

.partner-logo-item {
  height: 72px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  min-width: 120px;
}
.partner-logo-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,149,58,0.12);
  transform: translateY(-2px);
}
.partner-logo-item img {
  max-height: 48px; max-width: 160px;
  width: auto; height: auto;
  object-fit: contain; filter: grayscale(30%);
  transition: filter 0.2s;
}
.partner-logo-item:hover img { filter: grayscale(0%); }

.partner-logo-item.featured { height: 90px; }
.partner-logo-item.featured img { max-height: 64px; }

.partner-text-badge {
  padding: 12px 20px; background: var(--white);
  border: 1px solid var(--cream-dark); border-radius: 3px;
  font-size: 0.82rem; font-weight: 600; color: var(--green-deep);
  transition: border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.partner-text-badge:hover { border-color: var(--gold); transform: translateY(-2px); }

.partner-logo-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  text-decoration: none;
}
.partner-logo-link img { pointer-events: none; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: start; margin-top: 64px;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--green-deep); margin-bottom: 16px;
}
.contact-info p {
  font-size: 0.97rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 32px;
}

.contact-detail {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(45,106,64,0.09);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.6;
}
.contact-detail-text strong { display: block; color: var(--green-deep); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 3px; padding: 48px 44px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 3px; background: var(--cream);
  font-family: 'Inter', sans-serif; font-size: 0.93rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,64,0.1);
  background: var(--white);
}

.form-group textarea { height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  background: var(--gold); color: var(--white);
  padding: 14px 40px; border: 2px solid var(--gold);
  border-radius: 3px; font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s;
  width: 100%;
}
.form-submit:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  color: var(--dark); transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.ff-footer {
  background: var(--dark); padding: 60px 40px 40px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--gold-light);
  margin-bottom: 14px; line-height: 1.3;
}
.footer-brand-name em { font-style: italic; color: var(--white); font-weight: 400; }
.footer-brand-desc {
  font-size: 0.87rem; color: rgba(255,255,255,0.45);
  line-height: 1.75; margin-bottom: 20px;
}
.footer-col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 0.87rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links li a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-copy a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-copy a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════
   GENERIC PAGE / POST CONTENT
═══════════════════════════════════════════════════ */
.ff-page-wrap {
  padding: 140px 40px 80px;
  max-width: 880px;
  margin: 0 auto;
}
.ff-page-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-deep);
  margin-bottom: 16px;
}
.ff-page-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--green-deep);
  margin: 32px 0 14px;
}
.ff-page-wrap h3 { font-family: 'Playfair Display', serif; color: var(--green-mid); margin: 24px 0 12px; }
.ff-page-wrap p { line-height: 1.8; margin-bottom: 18px; color: var(--text); }
.ff-page-wrap ul, .ff-page-wrap ol { margin: 0 0 20px 22px; line-height: 1.8; }
.ff-page-wrap blockquote {
  border-left: 4px solid var(--gold);
  padding: 14px 22px;
  background: rgba(201,149,58,0.06);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--green-deep);
  margin: 22px 0;
}

.post-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; letter-spacing: 0.04em; }

.archive-list .post-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 28px 32px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.archive-list .post-card:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(28,74,42,0.08); transform: translateY(-2px); }
.archive-list .post-card h2 a { color: var(--green-deep); text-decoration: none; }
.archive-list .post-card h2 a:hover { color: var(--gold); }

/* WP block editor + alignment */
.alignwide { max-width: 1140px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.85rem; color: var(--text-muted); }

/* Sidebar / widget areas */
.ff-sidebar { font-size: 0.92rem; }
.ff-sidebar .widget {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.ff-sidebar .widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.ff-sidebar ul { list-style: none; padding: 0; margin: 0; }
.ff-sidebar ul li { padding: 6px 0; border-bottom: 1px dashed var(--cream-dark); }
.ff-sidebar ul li:last-child { border: none; }
.ff-sidebar a { color: var(--green-mid); text-decoration: none; }
.ff-sidebar a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .ff-nav { padding: 0 24px; }
}

@media (max-width: 960px) {
  .ff-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrap { order: -1; }
  .about-text { padding-left: 0; }
  .about-stat-card { right: 0; bottom: -20px; }

  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .agri-features { grid-template-columns: 1fr 1fr; }
  .upcoming-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-groups { grid-template-columns: 1fr 1fr; }
  .recap-grid { grid-template-columns: repeat(2, 1fr); }
  .recap-item:nth-child(1) { grid-column: span 2; }
  .recap-item:nth-child(7) { grid-column: span 1; }
}

@media (max-width: 640px) {
  .ff-section { padding: 72px 20px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .agri-features { grid-template-columns: 1fr; }
  .recap-grid { grid-template-columns: 1fr; }
  .recap-item:nth-child(1),
  .recap-item:nth-child(7) { grid-column: span 1; }
  .gallery-groups { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { flex-direction: column; border: none; gap: 8px; }
  .hero-stat { border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; width: 100%; justify-content: center; }
  .ff-nav { height: 56px; }
  .mobile-menu { top: 56px; }
  .hero-line { display: none; }
  .ff-page-wrap { padding: 100px 20px 60px; }
}

/* ═══════════════════════════════════════════════════
   ELEMENTOR COMPATIBILITY
═══════════════════════════════════════════════════ */
.elementor-page .ff-section { padding: 0; }
.elementor-page main#primary { min-height: 80vh; }

/* Elementor button presets that map to theme styles */
.elementor-button.elementor-button-ff-primary {
  background: var(--gold); color: var(--white);
  padding: 15px 38px; border-radius: 3px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--gold);
}
.elementor-button.elementor-button-ff-primary:hover {
  background: var(--gold-light); border-color: var(--gold-light); color: var(--dark);
}
.elementor-button.elementor-button-ff-outline {
  background: transparent; color: var(--green-deep);
  border: 2px solid var(--green-deep);
  padding: 13px 36px; border-radius: 3px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.elementor-button.elementor-button-ff-outline:hover {
  background: var(--green-deep); color: var(--white);
}
