/* About FEED (designs/feed/about-feed.blade.php): introduction, Objective / Vision / Mission and "Know more" links,
   under the page banner (components/page-banner.css), in the earlier FEED website's style. */

.af-page {
  /* The page keeps no space for the old floating navbar: the banner starts right below the header (navbar.css) */
  --fwc-page-clearance: 0px;
  --af-green: #488f1e;
  --af-green-dark: #2f6f12;
  background: #f8f9fa;
  color: #333;
}
.af-page :where(section, section *) { font-family: 'Roboto', sans-serif; }
.af-page :where(.af-title, .af-ribbon, .af-ribbon *, .af-pillar h3, .af-more h2) { font-family: 'Poppins', sans-serif; }

/* Introduction */
.af-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 40px;
}
.af-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 20px;
  background: #eef6e8;
  color: var(--af-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.af-title {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 14px;
  color: #222;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.25;
}
.af-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 3px;
  background: #ffea00;
}
.af-intro p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; text-align: justify; }
.af-intro p:empty { display: none; }
.af-intro-img { width: 100%; max-width: 520px; height: auto; justify-self: center; }

/* Objective, Vision & Mission */
.af-pillars { padding: 40px 20px 56px; }
.af-ribbon { display: flex; justify-content: center; margin: 0 0 40px; }
.af-ribbon > span {
  display: inline-block;
  padding: 6px 70px 8px;
  background: var(--af-green);
  color: #fff;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 50%, 100% 100%, 0 100%, 26px 50%);
}
.af-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
}
.af-pillar {
  padding: 32px 26px 28px;
  border-top: 5px solid var(--af-green);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .07);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.af-pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .1); }
.af-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #f5f5f5;
  overflow: hidden;
}
.af-pillar-icon img { width: 70px; height: 70px; object-fit: contain; }
.af-pillar h3 { margin: 0 0 14px; color: #222; font-size: 22px; font-weight: 700; }
.af-pillar p { margin: 0; font-size: 15.5px; line-height: 1.75; text-align: justify; }

/* Know more */
.af-more { padding: 44px 20px 60px; background: #fff; text-align: center; }
.af-more h2 { margin: 0 0 22px; color: #222; font-size: 24px; font-weight: 700; }
.af-more-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 0 auto; }
.af-more-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 2px solid var(--af-green);
  border-radius: 6px;
  color: var(--af-green);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.af-more-links a:hover { background: var(--af-green); color: #fff; }

/* The footer's wave sits on this page's background */
.af-page #site-footer .fwc-footer { margin-top: 0; }

@media (max-width: 991px) {
  .af-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; }
  .af-intro-img { max-width: 380px; }
  .af-pillars-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

@media (max-width: 575px) {
  .af-ribbon > span { padding: 6px 44px 8px; }
  .af-intro p, .af-pillar p { text-align: left; }
}
