// Electronics sub-hub data — /en/pack/electronics/
// 11 cards total: 10 neutral editorial + 1 Zoe card (amber/gold badge).
// Slugs are future article slots; links dead-point to their eventual L3/L4 URL.

const ELECTRONICS_CARDS = [
  {
    id: "plug-adapters",
    num: "01",
    topic: "Power",
    title: "Plug Adapters",
    titleEm: "by region.",
    desc: "Type A through M — each plug shape serving a different corner of the world. The universal-adapter argument, when it wins, and the one adapter that covers 150+ countries without the bulk of a region-specific kit.",
    count: "14 guides",
    read: "Types A–M · Universal vs. regional",
    img: "https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80",
    size: "xl",
    href: "/en/pack/electronics/plug-adapters/",
    slug: "plug-adapters",
    zoe: false,
  },
  {
    id: "power-banks-faa",
    num: "02",
    topic: "Batteries",
    title: "Power Banks",
    titleEm: "& FAA rules.",
    desc: "Under 100Wh flies free in carry-on. 100–160Wh needs airline approval, two per person. Over 160Wh is banned. The capacity math in mAh, the brands that pass the gate test, and what to do when the agent squints at your battery.",
    count: "9 guides",
    read: "100Wh threshold · mAh math",
    img: "https://images.unsplash.com/photo-1609220136736-443140cffec6?w=1200&q=80",
    size: "md",
    href: "/en/pack/electronics/power-banks-faa/",
    slug: "power-banks-faa",
    zoe: false,
  },
  {
    id: "voltage-dual-voltage",
    num: "03",
    topic: "Voltage",
    title: "Voltage &",
    titleEm: "dual-voltage.",
    desc: "Plug shape and voltage are two different problems. Most modern electronics handle 100–240V automatically. Your hair dryer and CPAP may not — one bad outlet kills both. How to read the label and what happens when you get it wrong.",
    count: "7 guides",
    read: "110V vs 240V · CPAP · Hair tools",
    img: "https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1200&q=80",
    size: "md",
    href: "/en/pack/electronics/voltage-dual-voltage/",
    slug: "voltage-dual-voltage",
    zoe: false,
  },
  {
    id: "usb-c-universalism",
    num: "04",
    topic: "Cables",
    title: "USB-C",
    titleEm: "universalism.",
    desc: "One cable type that charges your laptop, phone, headphones, and camera. The argument for going all-in, the GaN 65W+ brick that replaces every wall wart you own, and the one legacy port that refuses to die.",
    count: "8 guides",
    read: "GaN bricks · Cable management",
    img: "https://images.unsplash.com/photo-1583863788434-e58a36330cf0?w=1200&q=80",
    size: "md",
    href: "/en/pack/electronics/usb-c-universalism/",
    slug: "usb-c-universalism",
    zoe: false,
  },
  {
    id: "laptops-tsa",
    num: "05",
    topic: "Laptops",
    title: "Laptops &",
    titleEm: "TSA bins.",
    desc: "The laptop comes out of the bag — every time, every country, every security lane. Sleeve vs. hardshell case, the tray strategy that gets you through in one pass, and which ultrabooks fit in a seatback pocket on the 737.",
    count: "6 guides",
    read: "Sleeves · Security bins",
    img: "https://images.unsplash.com/photo-1496181133206-80ce9b88a853?w=1200&q=80",
    size: "md",
    href: "/en/pack/electronics/laptops-tsa/",
    slug: "laptops-tsa",
    zoe: false,
  },
  {
    id: "cameras-mirrorless-phone",
    num: "06",
    topic: "Cameras",
    title: "Camera vs.",
    titleEm: "phone.",
    desc: "Mirrorless versus the phone you already own. The honest case for each, the lens choices that change the equation, spare battery strategy, and why the best travel camera is usually the one you'll actually carry all day.",
    count: "11 guides",
    read: "Mirrorless · Lenses · Batteries",
    img: "https://images.unsplash.com/photo-1607462109225-6b64ae2dd3cb?w=1600&q=80",
    size: "wide",
    href: "/en/pack/electronics/cameras-mirrorless-phone/",
    slug: "cameras-mirrorless-phone",
    zoe: false,
  },
  {
    id: "headphones-noise-cancelling",
    num: "07",
    topic: "Audio",
    title: "Headphones &",
    titleEm: "ANC.",
    desc: "Active noise cancellation is worth it on any flight over four hours — the argument is settled. Wired backup for in-flight entertainment ports. On-ear vs over-ear, the battery life math, and when a $30 pair is the right call.",
    count: "5 guides",
    read: "ANC · Wired backup · In-flight",
    img: "https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=1200&q=80",
    size: "sm",
    href: "/en/pack/electronics/headphones-noise-cancelling/",
    slug: "headphones-noise-cancelling",
    zoe: false,
  },
  {
    id: "luggage-trackers",
    num: "08",
    topic: "Tracking",
    title: "AirTags, Tile",
    titleEm: "& SmartTag.",
    desc: "Slip one in the checked bag before you drop it. AirTag for Apple ecosystem, Tile for cross-platform, Samsung SmartTag for Galaxy users. Battery life, detection range, and whether the airline's app knows your bag better than you do.",
    count: "6 guides",
    read: "AirTag · Tile · Bluetooth range",
    img: "https://images.unsplash.com/photo-1586953208448-b95a79798f07?w=1200&q=80",
    size: "sm",
    href: "/en/pack/electronics/luggage-trackers/",
    slug: "luggage-trackers",
    zoe: false,
  },
  {
    id: "travel-routers-vpn",
    num: "09",
    topic: "Privacy",
    title: "Travel Routers",
    titleEm: "& VPNs.",
    desc: "Hotel WiFi is a shared network. A travel router creates your own private subnet; a VPN encrypts the pipe. The GL.iNet argument, the five-minute setup, and which streaming services still geo-block through a VPN and which don't.",
    count: "5 guides",
    read: "GL.iNet · WireGuard · Privacy",
    img: "https://images.unsplash.com/photo-1544197150-b99a580bb7a8?w=1200&q=80",
    size: "sm",
    href: "/en/pack/electronics/travel-routers-vpn/",
    slug: "travel-routers-vpn",
    zoe: false,
  },
  {
    id: "in-flight-power",
    num: "10",
    topic: "In-Flight",
    title: "In-Flight",
    titleEm: "power.",
    desc: "USB-A on budget short-haul. USB-C on newer long-haul metal. EmPower outlets on some business seats — worth knowing before you assume your laptop dies at hour six. How to check the seat map before you book.",
    count: "4 guides",
    read: "USB-A vs C · EmPower · Seat maps",
    img: "https://images.unsplash.com/photo-1474302770737-173ee21bab63?w=1200&q=80",
    size: "sm",
    href: "/en/pack/electronics/in-flight-power/",
    slug: "in-flight-power",
    zoe: false,
  },
  {
    id: "drones-travel",
    num: "ZO",
    topic: "Drones",
    badge: "Zoe",
    title: "Drones",
    titleEm: "abroad.",
    desc: "Zoe had her DJI Mini confiscated in Morocco. She had it approved in Japan and fined in Thailand on the same trip. Country-by-country drone legality is a moving target — here's her process for checking before you pack it, not at customs.",
    count: "Zoe's take",
    read: "Confiscation · Permits · Her checklist",
    img: "https://images.unsplash.com/photo-1508614589041-895b88991e3e?w=1200&q=80",
    size: "lg",
    href: "/journal/drones-travel/",
    slug: "drones-travel",
    zoe: true,
  },
];

const ELECTRONICS_FAQS = [
  {
    q: "What plug adapter do I need for Europe?",
    a: "Most of continental Europe uses Type C (two round pins) as the baseline. Germany and Austria add Type F (round pins with grounding clips); France and Belgium use Type E (round pin + hole). A universal adapter that covers Types C, E, and F handles all of Western Europe. The UK uses Type G — a completely different three-pronged system — so pack a second adapter if your trip crosses the Channel. Switzerland uses Type J, which is its own standard. A single quality universal adapter (Epicka, Ceptics, or Anker) covers all of these from one device."
  },
  {
    q: "Can I bring my power bank on a plane?",
    a: "Yes — but only in carry-on, never in checked luggage. Lithium batteries in checked bags are a fire risk and are banned by most airlines under IATA regulations. The FAA limit: under 100Wh (watt-hours) is unrestricted carry-on. 100–160Wh requires airline approval and is limited to two per passenger. Over 160Wh is prohibited on passenger aircraft regardless of approval. Most consumer power banks (10,000–20,000 mAh at 3.7V) sit comfortably under 100Wh. The math: Wh = mAh × V ÷ 1000. A 20,000mAh battery at 3.7V = 74Wh — well under the threshold."
  },
  {
    q: "Are drones legal to fly in [country]?",
    a: "Drone regulations vary dramatically by country and change frequently. Some countries ban recreational drones outright (Morocco, India in certain zones, Cuba). Others require registration and permits (Japan, Canada, Australia, most EU countries under EASA). Thailand requires insurance and registration. The UAE has strict no-fly zones around airports and government buildings. Before any trip, check the official aviation authority of your destination country — do not rely on forums or apps alone, as regulations update faster than any database. Our contributor Zoe maintains a running checklist in her drone article with current status for 40+ destinations."
  },
  {
    q: "Do I need a voltage converter or just a plug adapter?",
    a: "Most modern electronics — phones, laptops, tablets, cameras — are dual-voltage (100–240V) and only need a plug adapter to change the shape of the plug. Check the power brick: if it says 'Input: 100–240V ~ 50/60Hz,' you're safe. Hair dryers, flat irons, electric shavers, and some CPAP machines may be single-voltage (110V or 240V only). Plugging a 110V device into a 240V outlet without a converter will damage or destroy it. Travel-rated versions of most hair tools are dual-voltage — check the label, not the brand."
  },
  {
    q: "What's the best way to manage cables when traveling?",
    a: "The cable problem is a solved problem the moment you commit to USB-C universalism. One cable type that handles phone, laptop, headphones, and camera means you carry three cables instead of eight. Add a GaN multi-port charger (65W+ covers a laptop plus two devices simultaneously) and you've replaced every individual wall wart. For organization: a dedicated cable roll or small zip pouch, cables coiled and velcro-tied, no tangling. The last step is ruthless auditing — bring only the cable for the device you're actually carrying."
  },
  {
    q: "Is a mirrorless camera worth bringing or should I just use my phone?",
    a: "Phone cameras have closed most of the gap in daylight shooting. Where mirrorless still wins decisively: low-light environments (restaurants, cathedrals, evening street scenes), optical zoom above 3x, large prints, and situations where the dedicated viewfinder and manual controls matter to you. The honest question isn't image quality — it's what you'll actually carry all day. A mirrorless camera that sits in the hotel bag on busy days isn't better than a phone that's always in your pocket. If you'll use it every day, bring it. If it's an aspiration rather than a habit, the phone is the right call for this trip."
  },
  {
    q: "Does my hotel have USB-C charging in the room?",
    a: "Older hotels — especially those with rooms built before 2020 — may have USB-A ports in lamps and bedside panels but not USB-C. Flagship properties in major cities have been retrofitting, but don't count on it. The practical answer: bring a wall adapter rather than depending on USB ports in furniture. Hotel USB ports are often slow-charge only (5W) and may be USB-A. Your GaN adapter in the wall outlet will charge a laptop; the hotel's USB port in the lamp will charge a phone slowly, overnight."
  },
];

const ELECTRONICS_DECIDE = [
  { q: "Your biggest worry is…", opts: ["Dead phone at gate", "Frying a device", "Getting stopped at customs", "Losing the bag"] },
  { q: "Your trip is mainly…", opts: ["City hotels", "Remote / outdoors", "Long-haul flights", "Multi-country"] },
  { q: "Devices you're bringing…", opts: ["Phone only", "Phone + laptop", "Full camera kit", "Phone + CPAP / medical"] },
  { q: "Your destination power type…", opts: ["US / Canada", "Europe (Type C/E/F)", "UK (Type G)", "Asia (mixed)"] },
];

const ELECTRONICS_READING = [
  { tag: "Power", duration: "8 min", title: "The Universal Adapter, Ranked Honestly" },
  { tag: "Rules", duration: "6 min", title: "Power Banks and the FAA: What the Gate Agent Actually Checks" },
  { tag: "Editorial", duration: "10 min", title: "Why I Stopped Packing Four Chargers", em: "A USB-C convert's confession." },
  { tag: "Cameras", duration: "12 min", title: "Mirrorless or Phone? We Ran the Math for Six Trip Types." },
  { tag: "Privacy", duration: "7 min", title: "Hotel WiFi Is a Shared Network. Here's What That Means." },
  { tag: "Zoe", duration: "9 min", title: "My Drone Got Confiscated in Morocco.", em: "What I do differently now." },
];

Object.assign(window, {
  ELECTRONICS_CARDS,
  ELECTRONICS_FAQS,
  ELECTRONICS_DECIDE,
  ELECTRONICS_READING,
});
