{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bpsc/awards-recognition-section",
  "version": "1.0.0",
  "title": "Awards & Recognition Section",
  "category": "bPlugins",
  "description": "Five layouts for displaying awards, certifications, and industry recognitions with badges and chips.",
  "keywords": [
    "awards",
    "recognition",
    "badges",
    "certifications",
    "achievements",
    "accreditations",
    "section"
  ],
  "textdomain": "section-collection",
  "attributes": {
    "themeStyle": {
      "type": "object",
      "default": {
        "theme": "style-1"
      }
    },
    "content": {
      "type": "object",
      "default": {
        "badgeText": "Recognition",
        "title": "Award-winning products, recognized worldwide",
        "subtitle": "We are proud to be recognized by leading industry organizations for our commitment to quality and innovation.",
        "ctaLabel": "View all awards",
        "ctaUrl": "",
        "ctaNewTab": false
      }
    },
    "elements": {
      "type": "object",
      "default": {
        "isBadge": true,
        "isTitle": true,
        "isSubtitle": true,
        "isYear": true,
        "isAwardingBody": true,
        "isDescription": true,
        "isCta": false,
        "isStatStrip": false
      }
    },
    "awards": {
      "type": "array",
      "default": [
        {
          "id": "a1",
          "badgeImage": "",
          "awardName": "Leader — Spring 2025",
          "awardingBody": "G2",
          "category": "Industry",
          "year": "2025",
          "description": "Recognized as a G2 Leader for the third consecutive quarter.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#4f46e5",
          "isFeatured": false
        },
        {
          "id": "a2",
          "badgeImage": "",
          "awardName": "Best Ease of Use",
          "awardingBody": "Capterra",
          "category": "Industry",
          "year": "2025",
          "description": "Top rating for ease of use across all software categories.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#0ea5e9",
          "isFeatured": false
        },
        {
          "id": "a3",
          "badgeImage": "",
          "awardName": "Inc. 5000 Honoree",
          "awardingBody": "Inc. Magazine",
          "category": "Business",
          "year": "2024",
          "description": "Ranked among America's fastest-growing private companies.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#f59e0b",
          "isFeatured": true
        },
        {
          "id": "a4",
          "badgeImage": "",
          "awardName": "SOC 2 Type II Certified",
          "awardingBody": "AICPA",
          "category": "Security",
          "year": "2024",
          "description": "Independently audited for security, availability, and confidentiality.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#10b981",
          "isFeatured": false
        },
        {
          "id": "a5",
          "badgeImage": "",
          "awardName": "Top 50 SaaS Products",
          "awardingBody": "Product Hunt",
          "category": "Community",
          "year": "2023",
          "description": "Product of the Day and featured in Product Hunt's annual rankings.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#ef4444",
          "isFeatured": false
        },
        {
          "id": "a6",
          "badgeImage": "",
          "awardName": "ISO 27001 Certified",
          "awardingBody": "BSI",
          "category": "Security",
          "year": "2023",
          "description": "International standard for information security management.",
          "linkUrl": "",
          "linkNewTab": false,
          "accentColor": "#8b5cf6",
          "isFeatured": false
        }
      ]
    },
    "stats": {
      "type": "array",
      "default": [
        {
          "id": "s1",
          "value": "40+",
          "label": "Awards won"
        },
        {
          "id": "s2",
          "value": "12",
          "label": "Industry certifications"
        },
        {
          "id": "s3",
          "value": "7",
          "label": "Years of recognition"
        }
      ]
    },
    "layout": {
      "type": "object",
      "default": {
        "columns": {
          "desktop": 3,
          "tablet": 2,
          "mobile": 1
        },
        "gap": {
          "desktop": "24px",
          "tablet": "20px",
          "mobile": "16px"
        },
        "maxWidth": "1200px",
        "contentAlign": "center",
        "marqueeSpeed": 40
      }
    },
    "cardStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#ffffff",
        "borderColor": "#e5e7eb",
        "borderWidth": "1px",
        "borderRadius": {
          "top": "12px",
          "right": "12px",
          "bottom": "12px",
          "left": "12px"
        },
        "shadow": "0 1px 3px rgba(0,0,0,0.08)",
        "hoverShadow": "0 8px 24px rgba(0,0,0,0.12)",
        "padding": {
          "desktop": {
            "top": "24px",
            "right": "24px",
            "bottom": "24px",
            "left": "24px"
          },
          "tablet": {
            "top": "20px",
            "right": "20px",
            "bottom": "20px",
            "left": "20px"
          },
          "mobile": {
            "top": "16px",
            "right": "16px",
            "bottom": "16px",
            "left": "16px"
          }
        },
        "awardNameColor": "#111827",
        "awardBodyColor": "#6b7280",
        "yearColor": "#6b7280",
        "descriptionColor": "#6b7280",
        "awardNameFontSize": {
          "desktop": 16,
          "tablet": 15,
          "mobile": 14
        },
        "awardBodyFontSize": {
          "desktop": 13,
          "tablet": 13,
          "mobile": 12
        }
      }
    },
    "titleStyle": {
      "type": "object",
      "default": {
        "color": "#111827",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 800,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 42,
            "tablet": 36,
            "mobile": 28
          },
          "lineHeight": "1.2",
          "letterSpace": "0px"
        }
      }
    },
    "subtitleStyle": {
      "type": "object",
      "default": {
        "color": "#6b7280",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 400,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 18,
            "tablet": 17,
            "mobile": 16
          },
          "lineHeight": "1.6",
          "letterSpace": "0px"
        }
      }
    },
    "badgeStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#fef3c7",
        "textColor": "#d97706",
        "borderRadius": {
          "top": "20px",
          "right": "20px",
          "bottom": "20px",
          "left": "20px"
        },
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 13,
            "tablet": 13,
            "mobile": 13
          }
        }
      }
    },
    "ctaStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#4f46e5",
        "textColor": "#ffffff",
        "hoverBg": "#4338ca",
        "hoverColor": "#ffffff",
        "borderRadius": {
          "top": "10px",
          "right": "10px",
          "bottom": "10px",
          "left": "10px"
        },
        "padding": {
          "desktop": {
            "top": "13px",
            "right": "28px",
            "bottom": "13px",
            "left": "28px"
          },
          "tablet": {
            "top": "11px",
            "right": "24px",
            "bottom": "11px",
            "left": "24px"
          },
          "mobile": {
            "top": "10px",
            "right": "20px",
            "bottom": "10px",
            "left": "20px"
          }
        },
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 15,
            "tablet": 14,
            "mobile": 14
          }
        }
      }
    },
    "statStyle": {
      "type": "object",
      "default": {
        "valueColor": "#111827",
        "labelColor": "#6b7280",
        "separatorColor": "#e5e7eb",
        "valueFontSize": {
          "desktop": 32,
          "tablet": 28,
          "mobile": 24
        },
        "labelFontSize": {
          "desktop": 14,
          "tablet": 14,
          "mobile": 13
        }
      }
    },
    "accentColor": {
      "type": "object",
      "default": {
        "color": "#4f46e5"
      }
    },
    "wrapper": {
      "type": "object",
      "default": {
        "bg": {
          "type": "solid",
          "color": "#f9fafb",
          "gradient": "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
          "image": {
            "url": ""
          },
          "position": "center center",
          "size": "cover",
          "repeat": "no-repeat",
          "overlayColor": "rgba(0,0,0,0)"
        },
        "padding": {
          "desktop": {
            "top": "80px",
            "right": "24px",
            "bottom": "80px",
            "left": "24px"
          },
          "tablet": {
            "top": "60px",
            "right": "20px",
            "bottom": "60px",
            "left": "20px"
          },
          "mobile": {
            "top": "48px",
            "right": "16px",
            "bottom": "48px",
            "left": "16px"
          }
        }
      }
    },
    "align": {
      "type": "string",
      "default": "full"
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}