{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bpsc/press-mentions-section",
  "version": "1.0.0",
  "title": "Press / Media Mentions Section",
  "category": "bPlugins",
  "description": "Five \"As Featured In\" layouts pairing publication logos with pull-quotes and article links.",
  "keywords": [
    "press",
    "media",
    "mentions",
    "featured in",
    "as featured in",
    "publication",
    "quote",
    "trust",
    "section"
  ],
  "textdomain": "section-collection",
  "attributes": {
    "themeStyle": {
      "type": "object",
      "default": {
        "theme": "style-1"
      }
    },
    "content": {
      "type": "object",
      "default": {
        "badgeText": "In The Press",
        "title": "As Featured In",
        "subtitle": "Trusted by journalists and analysts at the world's leading publications.",
        "headerAlign": "center"
      }
    },
    "elements": {
      "type": "object",
      "default": {
        "isBadge": true,
        "isTitle": true,
        "isSubtitle": true,
        "isQuote": true,
        "isDate": false,
        "isArticleTitle": false,
        "isJournalist": false,
        "isLinkArrow": true,
        "isLogoGrayscale": true,
        "isLogoColorOnHover": true,
        "isCta": false
      }
    },
    "pressItems": {
      "type": "array",
      "default": [
        {
          "id": "pi-1",
          "logo": {
            "url": "",
            "id": 0
          },
          "logoAlt": "TechCrunch",
          "publicationName": "TechCrunch",
          "quote": "A genuinely transformative product that every team should be using.",
          "articleTitle": "The Best New Tools of 2026",
          "journalist": "by Sarah Johnson",
          "publishDate": "March 2026",
          "link": "",
          "linkLabel": "Read the article",
          "linkNewTab": true,
          "isSpotlight": true,
          "accentColor": "#6366f1"
        },
        {
          "id": "pi-2",
          "logo": {
            "url": "",
            "id": 0
          },
          "logoAlt": "Forbes",
          "publicationName": "Forbes",
          "quote": "One of the most impressive launches we've seen this year.",
          "articleTitle": "",
          "journalist": "",
          "publishDate": "January 2026",
          "link": "",
          "linkLabel": "Read the article",
          "linkNewTab": true,
          "isSpotlight": false,
          "accentColor": "#0ea5e9"
        },
        {
          "id": "pi-3",
          "logo": {
            "url": "",
            "id": 0
          },
          "logoAlt": "Product Hunt",
          "publicationName": "Product Hunt",
          "quote": "#1 Product of the Day — 3,400+ upvotes",
          "articleTitle": "",
          "journalist": "",
          "publishDate": "",
          "link": "",
          "linkLabel": "Read the article",
          "linkNewTab": true,
          "isSpotlight": false,
          "accentColor": "#f97316"
        },
        {
          "id": "pi-4",
          "logo": {
            "url": "",
            "id": 0
          },
          "logoAlt": "Wired",
          "publicationName": "Wired",
          "quote": "Setting a new benchmark for what tools in this space can do.",
          "articleTitle": "",
          "journalist": "",
          "publishDate": "",
          "link": "",
          "linkLabel": "Read the article",
          "linkNewTab": true,
          "isSpotlight": false,
          "accentColor": "#10b981"
        },
        {
          "id": "pi-5",
          "logo": {
            "url": "",
            "id": 0
          },
          "logoAlt": "The Verge",
          "publicationName": "The Verge",
          "quote": "Elegant, powerful, and priced right.",
          "articleTitle": "",
          "journalist": "",
          "publishDate": "",
          "link": "",
          "linkLabel": "Read the article",
          "linkNewTab": true,
          "isSpotlight": false,
          "accentColor": "#a855f7"
        }
      ]
    },
    "layout": {
      "type": "object",
      "default": {
        "columns": {
          "desktop": 3,
          "tablet": 2,
          "mobile": 1
        },
        "gap": {
          "desktop": "28px",
          "tablet": "20px",
          "mobile": "16px"
        },
        "maxWidth": "1200px",
        "marqueeSpeed": 40,
        "expandOneAtATime": true
      }
    },
    "bottomCta": {
      "type": "object",
      "default": {
        "btnOneLabel": "Read All Press",
        "btnOneUrl": "",
        "btnOneNewTab": false
      }
    },
    "accentColor": {
      "type": "object",
      "default": {
        "color": "#6366f1"
      }
    },
    "cardStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#ffffff",
        "borderColor": "#e2e8f0",
        "borderWidth": "1px",
        "borderRadius": {
          "top": "12px",
          "right": "12px",
          "bottom": "12px",
          "left": "12px"
        },
        "shadow": "0 2px 12px rgba(0,0,0,0.07)",
        "hoverShadow": "0 8px 32px rgba(0,0,0,0.12)",
        "hoverAccentBorder": true
      }
    },
    "quoteStyle": {
      "type": "object",
      "default": {
        "color": "#1e293b",
        "markColor": "#6366f1",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 500,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 17,
            "tablet": 16,
            "mobile": 15
          },
          "lineHeight": "1.65",
          "letterSpace": "0px"
        }
      }
    },
    "pubNameStyle": {
      "type": "object",
      "default": {
        "color": "#64748b",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 13,
            "tablet": 13,
            "mobile": 12
          },
          "lineHeight": "1.4",
          "letterSpace": "0.03em"
        }
      }
    },
    "sectionHeaderStyle": {
      "type": "object",
      "default": {
        "titleColor": "#0f172a",
        "subtitleColor": "#64748b",
        "badgeBg": "#eef2ff",
        "badgeColor": "#4f46e5",
        "titleTypo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 800,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 42,
            "tablet": 34,
            "mobile": 28
          },
          "lineHeight": "1.2",
          "letterSpace": "-0.01em"
        },
        "subtitleTypo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 400,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 18,
            "tablet": 16,
            "mobile": 15
          },
          "lineHeight": "1.65",
          "letterSpace": "0px"
        }
      }
    },
    "ctaStyle": {
      "type": "object",
      "default": {
        "btnOneBg": "#6366f1",
        "btnOneColor": "#ffffff",
        "btnOneHoverBg": "#4f46e5",
        "btnOneHoverColor": "#ffffff",
        "borderRadius": {
          "top": "8px",
          "right": "8px",
          "bottom": "8px",
          "left": "8px"
        },
        "padding": {
          "desktop": {
            "top": "13px",
            "right": "28px",
            "bottom": "13px",
            "left": "28px"
          },
          "tablet": {
            "top": "11px",
            "right": "22px",
            "bottom": "11px",
            "left": "22px"
          },
          "mobile": {
            "top": "10px",
            "right": "18px",
            "bottom": "10px",
            "left": "18px"
          }
        },
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 15,
            "tablet": 14,
            "mobile": 14
          },
          "lineHeight": "1.4",
          "letterSpace": "0px"
        }
      }
    },
    "wrapper": {
      "type": "object",
      "default": {
        "bg": {
          "type": "solid",
          "color": "#f8fafc",
          "gradient": "linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%)",
          "image": {
            "url": ""
          },
          "position": "center center",
          "size": "cover",
          "repeat": "no-repeat",
          "overlayColor": "rgba(0,0,0,0)"
        },
        "padding": {
          "desktop": {
            "top": "90px",
            "right": "24px",
            "bottom": "90px",
            "left": "24px"
          },
          "tablet": {
            "top": "64px",
            "right": "20px",
            "bottom": "64px",
            "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"
}