/* =========================================================
   FAT WEBSITE #7 — CANONICAL ADDITIONAL CSS (FINAL)
   Academic Research + Product Reviews
   ========================================================= */


/* =========================================================
   0. ROOT VARIABLES
   ========================================================= */

:root {
  --fat-green: #C5C9BF;
  --fat-text: #1F2933;
  --fat-muted: #6B7280;
  --fat-border: #E5E7EB;
  --fat-bg: #ffffff;
  --fat-card-bg: #F9FAFB;
}


/* =========================================================
   1. HEADER & NAVIGATION — NEVER TOUCHED
   ========================================================= */

header,
.site-header,
.elementor-location-header {
  all: revert;
}


/* =========================================================
   2. DROPDOWN / HAMBURGER MENU (VISUAL ONLY)
   ========================================================= */

.elementor-location-header .elementor-nav-menu--dropdown {
  background-color: #f7f7f3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.elementor-location-header
.elementor-nav-menu--dropdown
.elementor-item,
.elementor-location-header
.elementor-nav-menu--dropdown
.elementor-sub-item {
  padding: 4px 16px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #223228;
}

.elementor-location-header
.elementor-nav-menu--dropdown
.elementor-item:hover {
  background-color: #dde5d9;
  color: #111;
}


/* =========================================================
   3. GLOBAL BODY (NON-RESEARCH PAGES)
   ========================================================= */

body {
  background: var(--fat-bg);
  color: var(--fat-text);
}


/* =========================================================
   4. SINGLE POST — FAT RESEARCH TEMPLATE
   Applies via Post Content widget class: fat-single-post
   ========================================================= */

body.single {
  background: #ffffff;
}

/* --- Core Research Container --- */
.fat-single-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fat-text);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .fat-single-post {
    padding: 20px;
  }
}


/* =========================================================
   5. TYPOGRAPHY — ACADEMIC RESEARCH
   ========================================================= */

.fat-single-post h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.fat-single-post h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}

.fat-single-post h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.fat-single-post h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 1.75em;
}

.fat-single-post p {
  margin-bottom: 1.1em;
}

.fat-single-post ul,
.fat-single-post ol {
  margin-left: 1.5em;
  margin-bottom: 1.25em;
}


/* =========================================================
   6. LINKS — ACADEMIC (NO BRAND COLOR)
   ========================================================= */

.fat-single-post a {
  color: inherit;
  text-decoration: underline;
}

.fat-single-post a:hover {
  text-decoration-thickness: 2px;
}


/* =========================================================
   7. BLOCKQUOTES — NEUTRAL
   ========================================================= */

.fat-single-post blockquote {
  margin: 2em 0;
  padding-left: 1.25em;
  border-left: 3px solid var(--fat-border);
  color: #555;
}


/* =========================================================
   8. BACK TO FAT RESEARCH — TEMPLATE LEVEL (FINAL)
   ========================================================= */

.fat-single-post .fat-research-back {
  font-size: 13px;
  font-weight: 400;
  color: var(--fat-muted);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.25em;
}

.fat-single-post .fat-research-back:hover {
  text-decoration: underline;
}


/* =========================================================
   9. DIVIDER + FOOTER (STRUCTURAL)
   ========================================================= */

.fat-divider {
  border-top: 1px solid var(--fat-border);
  margin: 3em 0;
}

.fat-footer {
  font-size: 13px;
  color: var(--fat-muted);
  border-top: 1px solid var(--fat-border);
  padding-top: 1.5em;
  margin-top: 4em;
  text-align: center;
}


/* =========================================================
   10. FAT RESEARCH ARCHIVE (LIST PAGES ONLY)
   ========================================================= */

.post-type-archive-fatresearch h1,
.post-type-archive-fatresearch h2,
.post-type-archive-fatresearch h3,
.post-type-archive-fatresearch h4 {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fat-text);
}
/* FAT Research — Inline Citation Styling */
.fat-single-post p a {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--fat-muted);
}

.fat-single-post p a:hover {
  color: inherit;
  text-decoration-thickness: 1px;
}

/* =========================================================
   11. PRODUCT REVIEWS — DESIGN #5 (UNCHANGED)
   Applies ONLY when .fat-product-review is present
   ========================================================= */

.fat-product-review {
  background: var(--fat-bg);
  color: #1a1a1a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
}

.fat-product-review .fat-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.fat-product-review h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.fat-product-review h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 16px;
}

.fat-product-review h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.fat-product-header {
  border-bottom: 2px solid var(--fat-green);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.fat-score-bar {
  height: 10px;
  background: #e3e3e3;
}

.fat-score-bar span {
  display: block;
  height: 100%;
  background: var(--fat-green);
}

.fat-category {
  background: #fafafa;
  border: 1px solid #e3e3e3;
  padding: 20px;
  margin-bottom: 18px;
}

.fat-contextual {
  border-top: 2px solid var(--fat-green);
  margin-top: 48px;
  padding-top: 24px;
}

.fat-bottom-line p {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .fat-product-review .fat-container {
    padding: 30px 16px 60px;
  }

  .fat-product-review h1 {
    font-size: 30px;
  }
}


/* =========================================================
   12. PRINT / SAVE AS PDF — RESEARCH SAFE
   ========================================================= */

@media print {
  header,
  nav,
  footer,
  .site-header,
  .site-footer,
  .elementor-location-header,
  .elementor-location-footer {
    display: none !important;
  }

  body.single {
    background: #ffffff;
  }

  .fat-single-post {
    max-width: 100%;
    margin: 0;
    padding: 1in;
  }

  .fat-single-post a {
    color: #000;
    text-decoration: none;
  }
}


/* =========================================================
   END — FAT WEBSITE #7 (LOCKED)
   DO NOT MODIFY WITHOUT VERSIONING
   ========================================================= */
.fat-inspection-btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: #2f5d50;
  color: #fff;
}
.fat-inspection-btn:hover {
  opacity: 0.9;
}
/* Turn the inspection link into a button */
a.fat-inspection-link,
a.fat-inspection-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #2f5d50;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

a.fat-inspection-link:hover,
a.fat-inspection-btn:hover {
  opacity: 0.9;
}

a.fat-inspection-link:focus,
a.fat-inspection-btn:focus {
  outline: 2px solid rgba(47, 93, 80, 0.35);
  outline-offset: 3px;
}
/* Turn the "View processor profile" link into a button
   ONLY on the Inspection Results page */
.page-inspection-results a[href*="/processor/"] {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 8px;
  background-color: #2f6a57; /* site green */
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.page-inspection-results a[href*="/processor/"]:hover {
  background-color: #275a4a;
  transform: translateY(-1px);
}
/* Strong override for Research page post links */

.fat-research-sections .fat-post-list a,
.fat-research-sections .fat-post-link {
  font-family: ui-serif, Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1f2423 !important;
  text-decoration: none !important;
}

.fat-research-sections .fat-post-list a:hover,
.fat-research-sections .fat-post-link:hover {
  color: #1f2423 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
/* (1) Research page: shrink post titles + "View all" */

.fat-topic-heading {           /* category heading */
  font-size: 18px !important;
}

.fat-post-link,
.fat-post-list a {             /* post titles */
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.fat-view-all {                /* "View all →" */
  font-size: 13px !important;
  font-weight: 600 !important;
}
/* (2A) Topic pills: smaller text + tighter padding */

.fat-topic-list a {
  font-size: 12px !important;
  padding: 6px 10px !important;
}
/* (2B) Hide the large header/hero image on category archive pages */

body.category .wp-block-cover,
body.category .wp-block-post-featured-image,
body.category .post-thumbnail,
body.category .entry-thumbnail,
body.category .archive-header img,
body.category .page-header img {
  display: none !important;
}

/* Optional: tighten top spacing after hiding */
body.category .page-header,
body.category .archive-header {
  padding-top: 20px !important;
  margin-top: 0 !important;
}

/* =============================================================
   FAT RESEARCH — ACADEMIC PAPER STYLING  v1.0
   Scoped to .elementor-page-8876 (FAT Research Paper Template)
   Fonts: EB Garamond (body) + Source Sans 3 (UI/headings)
   Colors: Primary #1B4F72 | Secondary #2E86C1 | Accent #85C1E9
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* --- CUSTOM PROPERTIES (research posts only) --- */
body.elementor-page-8876 {
  --rp-primary:   #1B4F72;
  --rp-secondary: #2E86C1;
  --rp-accent:    #85C1E9;
  --rp-light-bg:  #EBF5FB;
  --rp-dark-text: #2C3E50;
  --rp-body-text: #333333;
  --rp-ex-border: #F39C12;
}

/* --- PAPER OUTER WRAPPER --- */
body.elementor-page-8876 .fat-paper-wrap {
  background: #e0e0e0 !important;
  padding: 28px 16px 48px !important;
  border-radius: 0 !important;
}

/* --- PAPER MAIN CONTAINER --- */
body.elementor-page-8876 .fat-paper {
  max-width: 860px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.13), 0 5px 28px rgba(0,0,0,0.07) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  color: var(--rp-body-text) !important;
  line-height: 1.6 !important;
}

/* --- TITLE PAGE HEADER AREA --- */
body.elementor-page-8876 .fat-paper-header {
  padding: 52px 64px 36px !important;
  background: #ffffff;
}

body.elementor-page-8876 .fat-title-stack {
  border-top: 4px solid var(--rp-secondary);
  padding-top: 10px;
  margin-bottom: 14px;
}

body.elementor-page-8876 .fat-series {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: var(--rp-secondary) !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 14px !important;
}

body.elementor-page-8876 .fat-title {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--rp-primary) !important;
  line-height: 1.15 !important;
  margin: 0 0 6px 0 !important;
}

body.elementor-page-8876 .fat-subtitle {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--rp-secondary) !important;
  line-height: 1.25 !important;
  margin: 0 0 20px 0 !important;
}

/* --- META PILLS → Academic citation chips --- */
body.elementor-page-8876 .fat-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 2px solid var(--rp-accent) !important;
}

body.elementor-page-8876 .fat-pill {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--rp-secondary) !important;
  background: var(--rp-light-bg) !important;
  border: 1px solid var(--rp-accent) !important;
  border-radius: 2px !important;
  padding: 4px 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* --- BODY CONTENT AREA --- */
body.elementor-page-8876 .fat-body {
  padding: 36px 64px 52px !important;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  color: var(--rp-body-text) !important;
  line-height: 1.6 !important;
}

body.elementor-page-8876 .fat-body > p,
body.elementor-page-8876 .fat-body p {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--rp-body-text) !important;
  margin-bottom: 14px !important;
}

/* --- ABSTRACT BLOCK --- */
body.elementor-page-8876 .fat-abstract {
  background: var(--rp-light-bg) !important;
  border: 1px solid var(--rp-accent) !important;
  border-left: 4px solid var(--rp-secondary) !important;
  border-radius: 0 !important;
  padding: 20px 24px 16px !important;
  margin: 0 0 28px !important;
}

body.elementor-page-8876 .fat-abstract p,
body.elementor-page-8876 .fat-abstract li {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: var(--rp-dark-text) !important;
  margin-bottom: 8px !important;
}

/* Style the ABSTRACT label text (already in HTML as a span/div) */
body.elementor-page-8876 .fat-abstract .fat-label,
body.elementor-page-8876 .fat-abstract [class*="label"],
body.elementor-page-8876 .fat-abstract strong:first-child {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 4px !important;
  color: var(--rp-secondary) !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 10px !important;
}

/* --- KEY POINTS LIST --- */
body.elementor-page-8876 .fat-keypoints {
  padding-left: 0 !important;
  list-style: none !important;
  margin: 6px 0 !important;
}

body.elementor-page-8876 .fat-keypoints li {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 15.5px !important;
  line-height: 1.5 !important;
  color: var(--rp-dark-text) !important;
  padding: 3px 0 3px 20px !important;
  position: relative !important;
  margin-bottom: 4px !important;
}

body.elementor-page-8876 .fat-keypoints li::before {
  content: '▸';
  color: var(--rp-secondary);
  position: absolute;
  left: 0;
  font-size: 14px;
  line-height: 1.35;
}

/* --- SECTION HEADINGS (h2) --- */
body.elementor-page-8876 h2.fat-h2,
body.elementor-page-8876 .fat-h2 {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--rp-secondary) !important;
  margin: 32px 0 10px !important;
  line-height: 1.2 !important;
  padding-bottom: 6px !important;
  border-bottom: 1.5px solid var(--rp-accent) !important;
  border-top: none !important;
}

/* --- SUB-HEADINGS (h3) --- */
body.elementor-page-8876 h3.fat-h3,
body.elementor-page-8876 .fat-h3 {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--rp-primary) !important;
  margin: 22px 0 8px !important;
  line-height: 1.2 !important;
}

/* --- CALLOUT / KEY DISTINCTION BOXES --- */
body.elementor-page-8876 .fat-callout {
  background: var(--rp-light-bg) !important;
  border: none !important;
  border-left: 4px solid var(--rp-secondary) !important;
  border-radius: 0 !important;
  padding: 14px 20px !important;
  margin: 18px 0 !important;
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 15.5px !important;
  font-style: italic !important;
  color: var(--rp-dark-text) !important;
  line-height: 1.5 !important;
}

body.elementor-page-8876 .fat-callout strong {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-style: normal !important;
  color: var(--rp-primary) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

/* --- DATA TABLES --- */
body.elementor-page-8876 .fat-table,
body.elementor-page-8876 .fat-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 14px 0 20px !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 13px !important;
}

body.elementor-page-8876 .fat-table th,
body.elementor-page-8876 .fat-body table th {
  background: var(--rp-primary) !important;
  color: #ffffff !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 10px !important;
  text-align: left !important;
  border: 1px solid #90A4AE !important;
  line-height: 1.3 !important;
}

body.elementor-page-8876 .fat-table td,
body.elementor-page-8876 .fat-body table td {
  border: 1px solid #B0BEC5 !important;
  padding: 7px 10px !important;
  text-align: left !important;
  vertical-align: top !important;
  line-height: 1.35 !important;
  color: var(--rp-dark-text) !important;
  font-size: 13px !important;
}

body.elementor-page-8876 .fat-table tr:nth-child(even) td,
body.elementor-page-8876 .fat-body table tr:nth-child(even) td {
  background: var(--rp-light-bg) !important;
}

/* --- FOOTNOTES / REFERENCES --- */
body.elementor-page-8876 .fat-footnotes {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 12px !important;
  color: var(--rp-dark-text) !important;
  line-height: 1.45 !important;
  border-top: 2px solid var(--rp-accent) !important;
  padding-top: 18px !important;
  margin-top: 36px !important;
}

body.elementor-page-8876 .fat-footnotes p,
body.elementor-page-8876 .fat-footnotes li,
body.elementor-page-8876 .fat-footnotes a {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 12px !important;
  color: var(--rp-dark-text) !important;
  line-height: 1.45 !important;
  margin-bottom: 6px !important;
}

/* --- FOOTER --- */
body.elementor-page-8876 .fat-footer {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 11px !important;
  color: var(--rp-secondary) !important;
  text-align: center !important;
  border-top: 2px solid var(--rp-accent) !important;
  padding: 12px 0 0 !important;
  margin-top: 32px !important;
  background: transparent !important;
}

/* --- LINKS --- */
body.elementor-page-8876 .fat-link,
body.elementor-page-8876 .fat-body a,
body.elementor-page-8876 .fat-footnotes a {
  color: var(--rp-secondary) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--rp-accent) !important;
  transition: color 0.15s, border-color 0.15s !important;
}

body.elementor-page-8876 .fat-link:hover,
body.elementor-page-8876 .fat-body a:hover {
  color: var(--rp-primary) !important;
  border-bottom-color: var(--rp-primary) !important;
}

/* --- PAGE RUNNING HEADER (if used) --- */
body.elementor-page-8876 .fat-page-header {
  display: flex !important;
  justify-content: space-between !important;
  border-bottom: 2px solid var(--rp-accent) !important;
  padding-bottom: 6px !important;
  margin-bottom: 24px !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 10px !important;
  font-style: italic !important;
  color: var(--rp-secondary) !important;
}

/* --- ELEMENTOR POST TITLE (h1 above the paper card) --- */
body.elementor-page-8876 .elementor-widget-heading .elementor-heading-title {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--rp-secondary) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  text-align: left !important;
  max-width: 860px !important;
  margin: 0 auto 10px !important;
  border-bottom: none !important;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  body.elementor-page-8876 .fat-paper-header,
  body.elementor-page-8876 .fat-body {
    padding: 24px 22px !important;
  }
  body.elementor-page-8876 .fat-title {
    font-size: 23px !important;
  }
  body.elementor-page-8876 .fat-subtitle {
    font-size: 15px !important;
  }
  body.elementor-page-8876 .fat-paper-wrap {
    padding: 12px 0 24px !important;
  }
}

/* ============================================================
   FAT RESEARCH — GENERAL TYPOGRAPHY (older-format posts)
   Applies to any post using template 8876 WITHOUT fat-* markup
   ============================================================ */

/* Body-level text in the post content widget (older posts) */
body.elementor-page-8876 .elementor-widget-theme-post-content p {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #333333 !important;
  margin-bottom: 14px !important;
}

/* Bare h2 headings in older posts */
body.elementor-page-8876 .elementor-widget-theme-post-content h2:not([class*="fat-"]) {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2E86C1 !important;
  margin: 28px 0 10px !important;
  line-height: 1.2 !important;
  padding-bottom: 6px !important;
  border-bottom: 1.5px solid #85C1E9 !important;
}

/* Bare h3 headings in older posts */
body.elementor-page-8876 .elementor-widget-theme-post-content h3:not([class*="fat-"]) {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1B4F72 !important;
  margin: 22px 0 8px !important;
  line-height: 1.2 !important;
}

/* Bare h4 headings */
body.elementor-page-8876 .elementor-widget-theme-post-content h4:not([class*="fat-"]) {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #2E86C1 !important;
  margin: 18px 0 6px !important;
  letter-spacing: 0.02em !important;
}

/* Tables in older posts */
body.elementor-page-8876 .elementor-widget-theme-post-content table:not([class*="fat-"]) {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 14px 0 20px !important;
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 13px !important;
}

body.elementor-page-8876 .elementor-widget-theme-post-content table:not([class*="fat-"]) th {
  background: #1B4F72 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 8px 10px !important;
  border: 1px solid #90A4AE !important;
}

body.elementor-page-8876 .elementor-widget-theme-post-content table:not([class*="fat-"]) td {
  border: 1px solid #B0BEC5 !important;
  padding: 7px 10px !important;
  color: #2C3E50 !important;
  font-size: 13px !important;
}

body.elementor-page-8876 .elementor-widget-theme-post-content table:not([class*="fat-"]) tr:nth-child(even) td {
  background: #EBF5FB !important;
}

/* Blockquotes */
body.elementor-page-8876 .elementor-widget-theme-post-content blockquote {
  border-left: 4px solid #2E86C1 !important;
  background: #EBF5FB !important;
  padding: 12px 18px !important;
  margin: 18px 0 !important;
  font-style: italic !important;
  color: #2C3E50 !important;
  border-radius: 0 !important;
}

/* List items */
body.elementor-page-8876 .elementor-widget-theme-post-content ul li,
body.elementor-page-8876 .elementor-widget-theme-post-content ol li {
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #333333 !important;
  margin-bottom: 4px !important;
}

/* Strong/bold */
body.elementor-page-8876 .elementor-widget-theme-post-content strong {
  font-family: 'EB Garamond', Georgia, serif !important;
  font-weight: 700 !important;
}

/* Italic */
body.elementor-page-8876 .elementor-widget-theme-post-content em {
  font-family: 'EB Garamond', Georgia, serif !important;
}

/* The Elementor heading widget title (large page title) */
body.elementor-page-8876 .elementor-widget-heading h1.elementor-heading-title {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  color: #1B4F72 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* ============================================================
   FAT RESEARCH — HEADING REFINEMENT (uses CSS :has())
   New posts (with fat-paper-wrap): top h1 = small breadcrumb label
   Older posts (no fat-paper-wrap): top h1 = prominent main title
   ============================================================ */

/* NEW FORMAT posts: h1 heading above fat-paper = small series label */
body.elementor-page-8876:has(.fat-paper-wrap) .elementor-widget-heading .elementor-heading-title {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #2E86C1 !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
}

/* OLDER FORMAT posts: h1 = main document title, larger and prominent */
body.elementor-page-8876:not(:has(.fat-paper-wrap)) .elementor-widget-heading .elementor-heading-title {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1B4F72 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.25 !important;
  border-bottom: 3px solid #2E86C1 !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}

/* BLOCK 4: White paper inner margins — 1in top, left, right */
/* Old-format posts: widget container IS the white card (currently 0px padding) */
body.elementor-page-8876:not(:has(.fat-paper-wrap)) .elementor-widget-theme-post-content .elementor-widget-container {
  padding: 1in 1in 0 1in !important;
}
/* New-format posts: adjust fat-paper-header and fat-body left/right + header top */
body.elementor-page-8876:has(.fat-paper-wrap) .fat-paper-header {
  padding-top: 1in !important;
  padding-left: 1in !important;
  padding-right: 1in !important;
}
body.elementor-page-8876:has(.fat-paper-wrap) .fat-body {
  padding-left: 1in !important;
  padding-right: 1in !important;
}

/* BLOCK 5: Fix oversized green links in research post body content */
/* Elementor Kit global typography sets a { font-size:31px; color:#0f6c4f } site-wide  */
/* Reset all links inside research post content to match surrounding text */

/* Old-format posts — text-editor and theme-post-content widgets */
body.elementor-page-8876:not(:has(.fat-paper-wrap)) .elementor-widget-text-editor a,
body.elementor-page-8876:not(:has(.fat-paper-wrap)) .elementor-widget-theme-post-content a {
  font-size: inherit !important;
  color: #1a1a1a !important;
  text-decoration: underline !important;
  text-decoration-color: #888 !important;
  text-underline-offset: 2px !important;
}

/* New-format posts — fat-body and fat-footer */
body.elementor-page-8876:has(.fat-paper-wrap) .fat-body a,
body.elementor-page-8876:has(.fat-paper-wrap) .fat-footer a {
  font-size: inherit !important;
  color: #1a1a1a !important;
  text-decoration: underline !important;
  text-decoration-color: #888 !important;
  text-underline-offset: 2px !important;
}

/* ============================================================
   BLOCK 6: Visual brand consistency — First Impressions fixes
   ============================================================ */

/* 6a. Back-nav bar: replace blue palette with site sage green
   ------------------------------------------------------------ */
.fat-back-nav {
  background: #EBF1E6 !important;
  border-bottom: 2px solid #9DAB89 !important;
}
.fat-back-nav a {
  color: #2A4A1E !important;
}
.fat-back-nav a:hover {
  color: #0F6C4F !important;
}

/* 6b. Sage green top-border accent on white paper cards
   -------------------------------------------------------- */
/* Old-format posts */
body.elementor-page-8876:not(:has(.fat-paper-wrap))
  .elementor-widget-theme-post-content
  .elementor-widget-container {
  border-top: 5px solid #9DAB89 !important;
}
/* New-format posts */
body.elementor-page-8876:has(.fat-paper-wrap) .fat-paper {
  border-top: 5px solid #9DAB89 !important;
}

/* 6c. Footer Terms of Use — fix oversized styling globally
   ---------------------------------------------------------- */
.fat-footer a {
  font-size: 13px !important;
  color: #555555 !important;
  text-decoration: none !important;
}
.fat-footer a:hover {
  color: #222222 !important;
  text-decoration: underline !important;
}

/* 6d. Ranch photo header — sage green tint for brand cohesion
   ------------------------------------------------------------- */
.elementor-location-header .elementor-element-415944f {
  position: relative;
  overflow: hidden;
}
.elementor-location-header .elementor-element-415944f::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(90, 120, 70, 0.22);
  pointer-events: none;
  z-index: 1;
}


/*
====================================
  7. CATEGORY ARCHIVE PAGES
  (FAT Research sub-category "View all" pages)
====================================
*/

/* 7a. Reduce the giant logo/header on archive pages */
body.archive.category .site-header {
  max-height: 180px;
  overflow: hidden;
}
body.archive.category .site-header .custom-logo {
  max-height: 160px;
  width: auto;
  object-fit: cover;
  object-position: center;
}

/* 7b. Page header — hide "Category:" prefix, show only category name */
body.archive.category .page-header .entry-title {
  font-size: 0;
  line-height: 0;
  color: transparent;
}
body.archive.category .page-header .entry-title span {
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--fat-text, #1F2933);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 7c. Hide the duplicate description paragraphs below the title */
body.archive.category .page-header p {
  display: none;
}
body.archive.category .page-header p.archive-description:not(:empty) {
  display: block;
  font-size: 0.95rem;
  color: var(--fat-muted, #6B7280);
  margin-top: 0.5rem;
}

/* 7d. Wrap the page header in a styled card look */
body.archive.category .page-header {
  max-width: 900px;
  margin: 2rem auto 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--fat-card-bg, #F9FAFB);
  border: 1px solid var(--fat-border, #E5E7EB);
  border-radius: 12px;
}

/* 7e. Style each article/post as a clean list item */
body.archive.category .site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

body.archive.category article.post {
  background: var(--fat-bg, #ffffff);
  border: 1px solid var(--fat-border, #E5E7EB);
  border-radius: 10px;
  padding: 1.25rem 2rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
body.archive.category article.post:hover {
  border-color: var(--fat-green, #C5C9BF);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 7f. Post title styling — dark green link, no underline until hover */
body.archive.category article.post .entry-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
body.archive.category article.post .entry-title a {
  color: #2D4A22 !important;
  text-decoration: none !important;
}
body.archive.category article.post .entry-title a:hover {
  color: #1a3314 !important;
  text-decoration: underline !important;
}

/* 7g. Post excerpt — show a clean, shorter excerpt */
body.archive.category article.post > p {
  font-size: 0.9rem;
  color: var(--fat-muted, #6B7280);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 7h. Navigation / pagination styling */
body.archive.category .nav-links {
  max-width: 900px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
body.archive.category .nav-links a {
  color: #2D4A22;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--fat-border, #E5E7EB);
  border-radius: 8px;
  font-size: 0.9rem;
}
body.archive.category .nav-links a:hover {
  background: var(--fat-card-bg, #F9FAFB);
  border-color: var(--fat-green, #C5C9BF);
}

/* 7i. Hide the "Farm Animal Transparency" caption under the logo on archive */
body.archive.category .site-header .wp-caption-text,
body.archive.category .site-header figcaption {
  display: none;
}


/* 7j. Hide site-description "Farm Animal Transparency" on archive pages */
body.archive.category .site-branding .site-description {
  display: none !important;
}