
/* CSS Prefix: fcw- */

:root {
  --fcw-primary: #78350f;
  --fcw-primary-dark: #5c2a0c;
  --fcw-secondary: #166534;
  --fcw-secondary-dark: #14532d;
  --fcw-accent: #d97706;
  --fcw-text: #1c1917;
  --fcw-text-light: #57534e;
  --fcw-bg: #fffbeb;
  --fcw-bg-alt: #fef3c7;
  --fcw-border: #d6d3d1;
  --fcw-shadow: 0 1px 3px rgba(0,0,0,0.1);
  --fcw-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --fcw-radius: 6px;
  --fcw-radius-lg: 10px;
  --fcw-max-width: 1200px;
  --fcw-content-width: 780px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fcw-body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--fcw-text);
  background: var(--fcw-bg);
  line-height: 1.75;
  font-size: 17px;
}

/* Skip Link */
.fcw-skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fcw-secondary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  z-index: 200;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  transition: top 0.2s ease;
}

.fcw-skip-link:focus {
  top: 0;
}

.fcw-container {
  max-width: var(--fcw-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.fcw-header {
  background: var(--fcw-primary);
  border-bottom: 4px solid var(--fcw-secondary);
}

.fcw-header .fcw-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.fcw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fcw-logo img {
  height: 40px;
  width: auto;
}

.fcw-logo-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fef3c7;
}

/* Mobile Menu Toggle */
.fcw-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.fcw-mobile-bar {
  width: 24px;
  height: 3px;
  background-color: #fef3c7;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.fcw-nav {
  display: flex;
  gap: 4px;
}

.fcw-nav a {
  color: #fef3c7;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--fcw-radius);
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.fcw-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* Breadcrumb */
.fcw-breadcrumb {
  background: var(--fcw-bg-alt);
  padding: 12px 0;
  border-bottom: 1px solid var(--fcw-border);
}

.fcw-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

.fcw-breadcrumb li {
  display: flex;
  align-items: center;
}

.fcw-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--fcw-text-light);
}

.fcw-breadcrumb a {
  color: var(--fcw-secondary);
  text-decoration: none;
}

.fcw-breadcrumb a:hover {
  text-decoration: underline;
}

.fcw-breadcrumb span {
  color: var(--fcw-text-light);
}

/* Main Content */
.fcw-main {
  min-height: calc(100vh - 300px);
}

/* Article Styles */
.fcw-article {
  max-width: var(--fcw-content-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.fcw-article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--fcw-border);
}

.fcw-article-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fcw-primary);
  margin-bottom: 16px;
}

.fcw-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--fcw-text-light);
  font-family: system-ui, sans-serif;
  font-size: 15px;
}

.fcw-article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--fcw-text);
}

.fcw-article-content {
  font-size: 17px;
  line-height: 1.85;
}

.fcw-article-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 52px 0 20px;
  color: var(--fcw-primary);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--fcw-secondary);
}

.fcw-article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--fcw-text);
}

.fcw-article-content p {
  margin-bottom: 22px;
}

.fcw-article-content ul,
.fcw-article-content ol {
  margin: 22px 0 22px 28px;
}

.fcw-article-content li {
  margin-bottom: 10px;
}

.fcw-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: var(--fcw-radius-lg);
}

.fcw-article-content a {
  color: var(--fcw-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.fcw-article-content a:hover {
  border-bottom-color: var(--fcw-secondary);
}

.fcw-article-content strong {
  font-weight: 700;
  color: var(--fcw-text);
}

.fcw-article-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fef3c7 0%, #ecfccb 100%);
  border-left: 5px solid var(--fcw-accent);
  border-radius: 0 var(--fcw-radius) var(--fcw-radius) 0;
  font-style: italic;
}

.fcw-callout {
  margin: 36px 0;
  padding: 24px;
  background: white;
  border-radius: var(--fcw-radius-lg);
  border: 2px solid var(--fcw-border);
  box-shadow: var(--fcw-shadow);
}

.fcw-callout-title {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fcw-primary);
}

.fcw-farm-tip {
  margin: 36px 0;
  padding: 24px;
  background: linear-gradient(135deg, #dcfce7 0%, #fef9c3 100%);
  border-radius: var(--fcw-radius-lg);
  border: 2px solid var(--fcw-secondary);
}

.fcw-farm-tip h4 {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fcw-secondary-dark);
}

/* Homepage Styles */
.fcw-hero {
  background: linear-gradient(135deg, #78350f 0%, #166534 100%);
  color: #fef3c7;
  padding: 72px 24px;
  text-align: center;
}

.fcw-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.fcw-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 36px;
  font-family: system-ui, sans-serif;
}

.fcw-hero-cta {
  display: inline-block;
  background: var(--fcw-accent);
  color: white;
  padding: 14px 36px;
  border-radius: var(--fcw-radius);
  font-family: system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fcw-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.fcw-articles-section {
  padding: 64px 0;
}

.fcw-articles-section .fcw-container {
  padding: 0 24px;
}

.fcw-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: var(--fcw-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.fcw-article-card {
  background: white;
  border-radius: var(--fcw-radius-lg);
  border: 1px solid var(--fcw-border);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.fcw-article-card:hover {
  box-shadow: var(--fcw-shadow-lg);
  transform: translateY(-4px);
}

.fcw-article-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fcw-primary);
}

.fcw-article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.fcw-article-card h3 a:hover {
  color: var(--fcw-secondary);
}

.fcw-article-card p {
  color: var(--fcw-text-light);
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.fcw-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--fcw-primary);
}

/* Author Section */
.fcw-author-section {
  background: var(--fcw-bg-alt);
  padding: 64px 24px;
}

.fcw-author-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.fcw-author-box p {
  font-size: 1.1rem;
  color: var(--fcw-text-light);
  line-height: 1.85;
  font-family: system-ui, sans-serif;
}

/* Footer */
.fcw-footer {
  background: var(--fcw-primary);
  color: #fef3c7;
  padding: 64px 24px 32px;
}

.fcw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.fcw-footer-about img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.fcw-footer-about p {
  color: rgba(254,243,199,0.8);
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.fcw-footer-links h4 {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: rgba(254,243,199,0.7);
}

.fcw-footer-links ul {
  list-style: none;
}

.fcw-footer-links li {
  margin-bottom: 10px;
}

.fcw-footer-links a {
  color: #fef3c7;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  transition: color 0.2s;
}

.fcw-footer-links a:hover {
  color: white;
}

.fcw-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(254,243,199,0.2);
  text-align: center;
  color: rgba(254,243,199,0.6);
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

.fcw-footer-bottom p {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .fcw-header .fcw-container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
    position: relative;
  }

  .fcw-mobile-toggle {
    display: flex;
  }

  .fcw-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 3;
    padding-top: 16px;
    border-top: 1px solid rgba(254,243,199,0.2);
  }

  .fcw-nav.fcw-nav-open {
    display: flex;
  }

  .fcw-nav a {
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(254,243,199,0.1);
  }

  .fcw-nav a:last-child {
    border-bottom: none;
  }

  .fcw-logo-text {
    font-size: 1.1rem;
  }

  .fcw-hero h1 {
    font-size: 2rem;
  }

  .fcw-article-title {
    font-size: 1.8rem;
  }

  .fcw-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fcw-articles-grid {
    grid-template-columns: 1fr;
  }
}
