/* ============================================================
   RESOURCES ECOSYSTEM — SHARED STYLES
   Inherits all tokens from grerots.webflow.shared CSS.
   This file styles the /resources hub and all child pages.
   ============================================================ */

/* ---- BREADCRUMB ---- */
.res-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 24px;
  color: var(--gray-color);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.res-breadcrumb a {
  color: var(--gray-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.res-breadcrumb a:hover {
  color: #659d00;
}
.res-breadcrumb .sep {
  color: #999;
  user-select: none;
}
.res-breadcrumb .current {
  color: var(--title-color);
  font-weight: 600;
}

/* ---- READING PROGRESS BAR ---- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary-color);
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ---- RESOURCE PAGE CONTAINER ---- */
.res-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.res-container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- RESOURCE HERO / INNER BANNER ---- */
.res-hero {
  padding-top: 180px;
  padding-bottom: 70px;
  background-color: var(--body-color);
}
.res-hero-inner {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.res-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #659d00;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.res-hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: #659d00;
  border-radius: 50%;
}
.res-hero-title {
  color: var(--title-color);
  font-size: var(--_typograyphy---h2);
  line-height: var(--_line-height---h2-60);
  letter-spacing: var(--_letter-spacing---h2-60);
  font-weight: var(--_font-weight---normal);
  margin-bottom: 18px;
}
.res-hero-title .accent {
  font-family: var(--_fonts-family---playfair-display);
  font-style: italic;
  font-weight: var(--_font-weight---normal);
  letter-spacing: -4.8px;
}
.res-hero-desc {
  color: var(--gray-color);
  font-size: 16px;
  line-height: 26px;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- SECTION SPACING ---- */
.res-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.res-section.cream {
  background-color: var(--background-color);
}
.res-section.dark {
  background-color: var(--title-color);
  color: var(--white);
}

/* ---- SECTION HEADERS ---- */
.res-section-header {
  margin-bottom: 48px;
}
.res-section-header.center {
  text-align: center;
}
.res-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #659d00;
  margin-bottom: 12px;
}
.res-section-eyebrow .dot {
  width: 5px;
  height: 5px;
  background: #659d00;
  border-radius: 50%;
}
.res-section-title {
  color: var(--title-color);
  font-size: var(--_typograyphy---h3);
  line-height: var(--_line-height---h3-36);
  font-weight: var(--_font-weight---normal);
  letter-spacing: var(--_letter-spacing---h3-36);
}
.res-section-title .accent {
  font-family: var(--_fonts-family---playfair-display);
  font-style: italic;
  font-weight: var(--_font-weight---normal);
  letter-spacing: -2.4px;
}
.res-section-desc {
  color: var(--gray-color);
  font-size: 16px;
  line-height: 26px;
  max-width: 600px;
  margin-top: 12px;
}
.res-section-header.center .res-section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---- RESOURCE CARDS (EDITORIAL GRID) ---- */
.res-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.res-card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}
.res-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.res-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.res-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.res-card-image-holder {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #e8e6d0;
}
.res-card-image-holder .res-card-image {
  height: 100%;
}
.res-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.res-card-tag {
  display: inline-block;
  background: #f2f8ec;
  color: #659d00;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  width: fit-content;
}
.res-card-title {
  color: var(--title-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.res-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.res-card-title a:hover {
  color: #659d00;
}
.res-card-excerpt {
  color: var(--gray-color);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 20px;
  flex: 1;
}
.res-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.res-card-meta svg {
  width: 14px;
  height: 14px;
  stroke: #888;
  fill: none;
  flex-shrink: 0;
}
.res-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---- FEATURED CARD (LARGE) ---- */
.res-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--background-color);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.res-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.res-featured-card-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}
.res-featured-image-holder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  position: relative;
  background-color: #e8e6d0;
}
.res-featured-image-holder .res-featured-card-image {
  width: 100%;
  height: 100%;
}
.res-featured-card-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.res-featured-card-body .res-card-tag {
  margin-bottom: 18px;
}
.res-featured-card-body .res-card-title {
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.res-featured-card-body .res-card-excerpt {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 24px;
}

/* ---- SEARCH BAR ---- */
.res-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  max-width: 560px;
  margin: 0 auto 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.res-search-bar:focus-within {
  border-color: #659d00;
  box-shadow: 0 4px 16px rgba(101,157,0,0.1);
}
.res-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--title-color);
  background: transparent;
  font-family: var(--_fonts-family---inter-tight);
}
.res-search-input::placeholder {
  color: #999;
}
.res-search-btn {
  background: var(--primary-color);
  color: var(--title-color);
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.res-search-btn:hover {
  background: #c4f500;
  transform: translateY(-1px);
}

/* ---- FILTER PILLS ---- */
.res-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}
.res-filter-pill {
  background: var(--white);
  color: var(--gray-color);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.res-filter-pill:hover,
.res-filter-pill.active {
  background: var(--primary-color);
  color: var(--title-color);
  border-color: var(--primary-color);
}

/* ---- LINK BUTTON (TEXT + ARROW) ---- */
.res-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #659d00;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.res-link-btn:hover {
  gap: 10px;
}

/* ---- PILL BUTTON (LIME CTA) ---- */
.res-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--title-color);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.res-pill-btn:hover {
  background: #c4f500;
  transform: translateY(-2px);
}
.res-pill-btn.outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--title-color);
}
.res-pill-btn.outline:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

/* ---- STICKY TABLE OF CONTENTS ---- */
.res-toc {
  background: var(--background-color);
  border-radius: 16px;
  padding: 28px;
}
.res-sticky-sidebar-wrapper {
  position: sticky;
  top: 120px;
}
.res-toc-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--title-color);
  margin-bottom: 18px;
}
.res-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.res-toc-list a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--gray-color);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s ease;
}
.res-toc-list a:hover {
  color: var(--title-color);
  background: rgba(0,0,0,0.03);
}
.res-toc-list a.active {
  color: #659d00;
  border-left-color: var(--primary-color);
  font-weight: 600;
  background: rgba(182,228,0,0.08);
}

/* ---- ARTICLE CONTENT TYPOGRAPHY ---- */
.res-article-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 30px;
  color: var(--gray-color);
}
.res-article-content h2 {
  color: var(--title-color);
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  scroll-margin-top: 120px;
}
.res-article-content h3 {
  color: var(--title-color);
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
}
.res-article-content p {
  margin-bottom: 20px;
}
.res-article-content ul,
.res-article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.res-article-content li {
  margin-bottom: 8px;
}
.res-article-content blockquote {
  border-left: 3px solid var(--primary-color);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--background-color);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--title-color);
}

/* ---- AUTHOR / META STRIP ---- */
.res-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: var(--gray-color);
}
.res-meta-strip .author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--title-color);
}
.res-meta-strip .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.res-meta-strip .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.res-meta-strip svg {
  width: 14px;
  height: 14px;
  stroke: #888;
  fill: none;
}

/* ---- SHARE BUTTONS ---- */
.res-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.res-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}
.res-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--background-color);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.res-share-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.res-share-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--title-color);
  fill: none;
}

/* ---- PREV / NEXT NAVIGATION ---- */
.res-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.res-prev-next-card {
  background: var(--background-color);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.res-prev-next-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.res-prev-next-label {
  font-size: 13px;
  color: #659d00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.res-prev-next-title {
  color: var(--title-color);
  font-size: 16px;
  font-weight: var(--_font-weight---semi-bold);
  line-height: 22px;
}

/* ---- RELATED RESOURCES SIDEBAR CARD ---- */
.res-sidebar-card {
  background: var(--background-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.res-sidebar-card-title {
  font-size: 14px;
  font-weight: var(--_font-weight---semi-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--title-color);
  margin-bottom: 16px;
}
.res-article-title {
  font-family: var(--_fonts-family---inter-tight);
  font-size: var(--_typograyphy---h3);
  line-height: var(--_line-height---h3-36);
  font-weight: var(--_font-weight---normal);
  letter-spacing: var(--_letter-spacing---h3-36);
  color: var(--title-color);
  margin: 16px 0;
}
.res-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.res-sidebar-list a {
  display: block;
  font-size: 14px;
  color: var(--gray-color);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.2s ease;
}
.res-sidebar-list a:hover {
  color: #659d00;
}

/* ---- NEWSLETTER CTA CARD ---- */
.res-newsletter {
  background: var(--title-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: var(--white);
}
.res-newsletter-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.res-newsletter-desc {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.res-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.res-newsletter-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 14px;
  outline: none;
  font-family: var(--_fonts-family---inter-tight);
}
.res-newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}
.res-newsletter-submit {
  background: var(--primary-color);
  color: var(--title-color);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.res-newsletter-submit:hover {
  background: #c4f500;
}

/* ---- CALCULATOR / TOOLS ---- */
.res-calc-section {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 48px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  margin-bottom: 40px;
}
.res-calc-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 8px;
}
.res-calc-desc {
  font-size: 14px;
  color: var(--gray-color);
  line-height: 22px;
  margin-bottom: 28px;
}
.res-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.res-calc-field {
  display: flex;
  flex-direction: column;
}
.res-calc-field.full {
  grid-column: span 2;
}
.res-calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 8px;
}
.res-calc-input {
  background: var(--background-color);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  min-height: 52px;
  padding: 0 18px;
  font-size: 15px;
  color: var(--title-color);
  outline: none;
  font-family: var(--_fonts-family---inter-tight);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.res-calc-input:focus {
  border-color: #659d00;
  box-shadow: 0 0 0 3px rgba(101,157,0,0.12);
}
.res-calc-select {
  background: var(--background-color);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  min-height: 52px;
  padding: 0 18px;
  font-size: 15px;
  color: var(--title-color);
  outline: none;
  font-family: var(--_fonts-family---inter-tight);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23494949' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.res-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--title-color);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.res-calc-btn:hover {
  background: #c4f500;
  transform: translateY(-2px);
}
.res-calc-results {
  display: none;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.res-calc-results.visible {
  display: block;
  animation: fadeInUp 0.4s ease;
}
.res-calc-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.res-calc-result-card {
  background: var(--background-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.res-calc-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.res-calc-result-icon svg {
  width: 22px;
  height: 22px;
  stroke: #659d00;
  fill: none;
}
.res-calc-result-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.1;
  margin-bottom: 4px;
}
.res-calc-result-label {
  font-size: 13px;
  color: var(--gray-color);
}
.res-calc-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}
.res-calc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  cursor: pointer;
  transition: all 0.2s ease;
}
.res-calc-action-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
}
.res-calc-action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

/* ---- TOOL NAV (IN-PAGE ANCHOR LINKS) ---- */
.res-tool-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.res-tool-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  text-decoration: none;
  transition: all 0.2s ease;
}
.res-tool-nav a:hover,
.res-tool-nav a.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.res-tool-nav a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* ---- FAQ HELP CENTER ---- */
.res-faq-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.res-faq-cat-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.res-faq-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.res-faq-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f2f8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.res-faq-cat-icon svg {
  width: 24px;
  height: 24px;
  stroke: #659d00;
  fill: none;
}
.res-faq-cat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 4px;
}
.res-faq-cat-count {
  font-size: 13px;
  color: var(--gray-color);
}
.res-faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.res-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--_fonts-family---inter-tight);
  transition: color 0.2s ease;
}
.res-faq-question:hover {
  color: #659d00;
}
.res-faq-question .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.res-faq-question.open .icon {
  transform: rotate(45deg);
}
.res-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.res-faq-answer.open {
  max-height: 500px;
  padding: 0 24px 20px;
}
.res-faq-answer p {
  color: var(--gray-color);
  font-size: 15px;
  line-height: 24px;
}

/* ---- PAGINATION ---- */
.res-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.res-pagination a,
.res-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gray-color);
  transition: all 0.2s ease;
}
.res-pagination a:hover {
  background: var(--background-color);
  color: var(--title-color);
}
.res-pagination .active {
  background: var(--primary-color);
  color: var(--title-color);
}

/* ---- RESOURCE HUB ICON CARDS (LANDING PAGE) ---- */
.res-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.res-hub-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.res-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.res-hub-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f2f8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.res-hub-icon svg {
  width: 28px;
  height: 28px;
  stroke: #659d00;
  fill: none;
}
.res-hub-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 8px;
}
.res-hub-card-desc {
  font-size: 14px;
  color: var(--gray-color);
  line-height: 22px;
  margin-bottom: 20px;
  flex: 1;
}
.res-hub-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.res-hub-count {
  font-size: 13px;
  color: #888;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- RESPONSIVE ---- */
@media screen and (max-width: 991px) {
  .res-container {
    padding: 0 24px;
  }
  .res-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .res-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .res-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .res-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .res-featured-card {
    grid-template-columns: 1fr;
  }
  .res-featured-card-image,
  .res-featured-image-holder {
    min-height: 260px;
  }
  .res-calc-section {
    padding: 32px 28px;
  }
  .res-prev-next {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .res-card-grid {
    grid-template-columns: 1fr;
  }
  .res-hub-grid {
    grid-template-columns: 1fr;
  }
  .res-hero-title {
    font-size: 28px;
    line-height: 36px;
  }
  .res-calc-grid {
    grid-template-columns: 1fr;
  }
  .res-calc-field.full {
    grid-column: span 1;
  }
  .res-search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
  }
  .res-search-btn {
    width: 100%;
  }
  .res-newsletter-form {
    flex-direction: column;
  }
}

@media screen and (max-width: 479px) {
  .res-container {
    padding: 0 16px;
  }
  .res-calc-section {
    padding: 24px 20px;
  }
  .res-featured-card-body {
    padding: 28px 24px;
  }
}
