/*
Theme Name: Arduino Forum
Theme URI: https://arduinoforum.com/
Author: Arduino Forum
Description: An English Arduino affiliate storefront with server-rendered WordPress product posts and WP Automatic custom-field mapping.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: arduino-forum
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#176b46;--dark:#173e2c;--lime:#dafa9b;--muted:#748078;--border:#e3e9e1;--paper:#fbfcf8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--dark);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #85b955;outline-offset:5px}.wrap{max-width:1240px;width:calc(100% - 100px);margin:auto}.announcement{background:var(--dark);color:#fff;text-align:center;font-size:11px;padding:11px 15px;letter-spacing:.3px}.announcement a{margin-left:18px;color:var(--lime)}.announcement span{margin-left:6px}.header{height:106px;display:flex;align-items:center;gap:50px}.brand{display:flex;align-items:center;gap:9px;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:24px;font-weight:800;letter-spacing:-1.4px}.brand-light{font-weight:400}.brand small{display:block;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:7px;font-weight:600;letter-spacing:2.1px;margin-top:3px}.brand-icon{font-size:58px;font-weight:600;line-height:.8;letter-spacing:-7px;margin-right:5px}.header nav{display:flex;gap:32px;margin-left:auto;font-size:12px}.header nav a:hover{color:var(--green)}.header-cta{border:1px solid #afc0b0;padding:12px 19px;border-radius:7px;font-size:12px;font-weight:600}.header-cta span{margin-left:20px}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:40px;padding-top:43px;padding-bottom:65px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;display:flex;align-items:center;gap:8px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}h1{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:clamp(44px,4.5vw,65px);line-height:1.12;letter-spacing:-3px;margin:22px 0}h1 span{color:var(--green)}.hero-copy>p{color:#758075;line-height:1.9;font-size:14px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--green);color:white;padding:16px 22px;border-radius:7px;font-size:12px;font-weight:600;transition:transform .2s,background .2s}.button:hover{background:#104f32;transform:translateY(-2px)}.hero-copy>.button{margin-top:15px}.button span{font-size:18px}.hero-note{font-size:9px;color:#6f7c71;margin-top:18px;display:flex;gap:8px;align-items:center}.hero-note span{color:var(--green)}.hero-note span:nth-child(2){margin-left:10px}.stats{border-top:1px solid var(--border);margin-top:34px;padding-top:20px;max-width:435px}.stats-heading{display:flex;align-items:center;gap:15px;font-size:8px;font-weight:700;letter-spacing:1.1px}.stats-heading>span{font-size:8px;letter-spacing:0;font-weight:400;background:#edf0e8;padding:4px 7px;border-radius:3px;color:#71806f}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:16px}.stats-grid>div+div{border-left:1px solid var(--border);padding-left:22px}.stats strong{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:28px;letter-spacing:-1px;display:block}.stats strong span{color:#91a37e}.stats small{display:block;margin-top:5px;font-size:9px;color:#7a8377}.hero-product{position:relative;align-self:center;min-height:535px;background:#eaf1e3;border-radius:160px 160px 14px 14px;overflow:hidden;text-align:center}.orbit{position:absolute;border:1px solid #d2dfc9;border-radius:50%;width:410px;height:410px;left:50%;top:24px;transform:translateX(-50%)}.orbit-two{width:335px;height:335px;top:62px}.featured-badge{position:absolute;top:36px;left:50%;transform:translateX(-50%);font-size:8px;font-weight:700;letter-spacing:1.5px;white-space:nowrap;background:var(--paper);padding:10px 15px;border-radius:30px;z-index:1}.featured-badge span{color:var(--green);margin-right:5px}.hero-board{position:relative;margin:90px auto 0;width:82%;transform:rotate(-13deg);filter:drop-shadow(8px 22px 10px #204c3025)}.hero-board svg{width:100%;height:255px}.floating-code{position:absolute;top:100px;right:22px;writing-mode:vertical-rl;font-family:monospace;font-size:10px;color:#7b9470;letter-spacing:1px}.product-caption{position:relative;margin-top:8px}.product-caption>span{font-size:8px;letter-spacing:1.5px;color:#71816a}.product-caption h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:22px;letter-spacing:-.8px;margin:10px 0}.product-caption p{font-size:10px;color:#73806a;margin:0 0 18px}.light{background:var(--paper);color:var(--dark);border:1px solid #d5dfcc;padding:11px 20px;min-width:165px}.light:hover{background:white}.tiny-sticker{position:absolute;bottom:26px;right:16px;font-size:6px;text-align:left;letter-spacing:1px;line-height:1.7;transform:rotate(-7deg);color:#6b805f}.benefits{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#f2f5ec}.benefits-inner{display:flex;justify-content:space-between;padding:22px 0;gap:15px;color:#71806c;font-size:11px}.benefits b{color:var(--dark);font-weight:500}.catalog{padding:75px 0 65px}.section-top{display:flex;justify-content:space-between;align-items:center}.catalog-label{font-size:9px;color:#798273;display:flex;align-items:center;gap:6px}.catalog-title{display:flex;align-items:center;justify-content:space-between;margin:16px 0 30px}.catalog-title h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:39px;letter-spacing:-1.8px;margin:0}.catalog-title h2 span{color:var(--green)}.catalog-title p{color:#7b8377;font-size:11px;line-height:1.8;margin:0}.catalog-tools{display:flex;gap:15px;justify-content:space-between}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{padding:11px 16px;border:1px solid #dce3d6;border-radius:6px;font-size:11px;background:transparent;color:#62715e}.filters .active{background:var(--green);color:white;border-color:var(--green)}.filters button span{margin-left:8px;font-size:8px;opacity:.7}.search{display:flex;align-items:center;border:1px solid #dce3d6;border-radius:6px;padding:0 12px;gap:7px}.search>span{font-size:22px}.search input{border:0;background:transparent;width:125px;padding:12px 0;font-size:11px;min-width:0;color:var(--dark)}.results-bar{display:flex;justify-content:space-between;align-items:center;color:#87907f;font-size:10px;margin:24px 0 17px}.results-bar select{background:transparent;border:0;font-size:10px;color:var(--dark);cursor:pointer}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{background:white;border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #183e2b09}.product-visual{height:216px;background:#f0f3eb;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-visual svg{width:80%;height:175px;filter:drop-shadow(3px 12px 7px #163b2523);transform:rotate(-9deg);transition:transform .3s}.product-card:hover svg{transform:rotate(-3deg) scale(1.04)}.product-visual.mint{background:#eaf1ed}.product-visual.sand{background:#f2f0e6}.card-tag{position:absolute;left:14px;top:14px;z-index:1;font-size:8px;background:#fffefb;padding:6px 8px;border-radius:4px;color:#54654c}.card-body{padding:20px}.card-kicker{font-size:8px;letter-spacing:1.2px;color:#8b967e}.card-body h3{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;letter-spacing:-.5px;margin:10px 0 7px}.card-body p{font-size:11px;color:#7e8778;line-height:1.7;margin:0 0 20px}.card-bottom{border-top:1px solid #edf0e8;padding-top:15px;display:flex;align-items:center;justify-content:space-between}.card-bottom small{font-size:8px;color:#8b9286}.card-bottom a{font-size:11px;color:var(--green);font-weight:700}.card-bottom a span{margin-left:8px}.catalog-disclaimer{color:#87907e;font-size:9px;line-height:1.7;margin-top:22px}.project-banner{background:var(--dark);color:white;border-radius:12px;padding:43px 50px;display:flex;justify-content:space-between;align-items:center;gap:25px}.project-banner .eyebrow{color:#c4d9a7}.project-banner h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:32px;line-height:1.4;letter-spacing:-1px;margin:15px 0}.project-banner h2 span{color:#c7e7a6}.project-banner p{font-size:11px;line-height:1.9;color:#bdcabb}.project-banner a{display:inline-block;font-size:11px;color:var(--lime);margin-top:15px}.project-banner a span{margin-left:30px}.code-art{min-width:270px;font-family:monospace;background:#ffffff08;border:1px solid #ffffff16;padding:25px 30px;transform:rotate(3deg);border-radius:8px}.code-art>span{font-size:10px;color:#839e86}.code-art p{font-size:16px;color:#e2e9d5;line-height:1.6}.code-art em{font-style:normal;color:#b7de8e}.code-art b{color:var(--lime)}.code-art small{font-size:7px;letter-spacing:1.5px;color:#88a17e}.faq{padding:85px 0;display:grid;grid-template-columns:1fr 1.3fr;gap:80px}.faq h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:35px;line-height:1.3;letter-spacing:-1.5px;margin:20px 0}.faq>div>p{font-size:11px;color:#85907b}.faq details{border-bottom:1px solid #dfe5d8;padding:19px 0}.faq details:first-child{padding-top:0}.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;font-weight:500}.faq summary::-webkit-details-marker{display:none}.faq summary span{font-size:22px;font-weight:400;color:#637859}.faq details[open] summary span{transform:rotate(45deg)}.faq details p{font-size:11px;line-height:1.9;color:#818b78;padding-right:35px;margin-bottom:0}footer{background:#edf2e7;border-top:1px solid #e3e9dd;padding:42px 0 0}.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1.3fr;gap:35px}.footer-top .brand{font-size:21px}.footer-top .brand-icon{font-size:48px}.footer-top p{font-size:10px;color:#79876f;margin-top:18px}.footer-top h3{font-size:10px;margin:4px 0 18px}.footer-top>div>a:not(.brand),.footer-top button{display:block;background:none;border:none;padding:0;font-size:10px;color:#7d8973;margin:12px 0;text-align:left}.footer-motto{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.6;letter-spacing:-.5px}.footer-motto>span:first-child{color:#7f9471}.footer-infinity{display:block;color:#91aa7c;font-size:45px;line-height:1.3}.footer-bottom{border-top:1px solid #dce4d4;margin-top:35px;display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-size:8px;color:#89927f}dialog{max-width:520px;width:calc(100% - 40px);border:1px solid var(--border);border-radius:12px;padding:35px;color:var(--dark);background:var(--paper)}dialog::backdrop{background:#163b2b80;backdrop-filter:blur(3px)}dialog h2{font:700 24px system-ui,-apple-system,'Segoe UI',sans-serif}dialog p{font-size:14px;line-height:1.9;color:#6a7866}.close-dialog{float:right;background:none;border:0;font-size:28px;color:var(--green)}.empty{grid-column:1/-1;padding:50px;text-align:center;color:#74836a;border:1px dashed var(--border);border-radius:10px}@media(min-width:1500px){.hero{padding-top:65px;padding-bottom:80px}}@media(max-width:1000px){.wrap{width:calc(100% - 50px)}.hero{gap:25px}.hero-product{min-height:510px}.hero-board{margin-top:95px}.hero-board svg{height:230px}h1{font-size:49px}.hero-note{font-size:8px;gap:4px}.filters button{padding:11px;font-size:10px}.search input{width:100px}.product-grid{gap:15px}.card-body{padding:16px}.card-body h3{font-size:15px}.project-banner{padding:35px}.project-banner h2{font-size:28px}.faq{gap:45px}.footer-top{gap:20px}.footer-motto{font-size:14px}}@media(max-width:720px){.wrap{width:calc(100% - 36px)}.announcement{font-size:9px}.announcement a{margin-left:6px}.header{height:86px;gap:15px}.brand{font-size:21px}.brand-icon{font-size:48px}.header nav{gap:16px;font-size:11px}.header-cta{display:none}.hero{grid-template-columns:1fr;padding-top:22px;padding-bottom:35px;gap:35px}h1{font-size:52px;letter-spacing:-2.5px;margin:20px 0}.hero-copy>p{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.1px}.hero-note{font-size:9px;gap:7px}.stats{max-width:none}.stats strong{font-size:26px}.hero-product{width:100%;max-width:450px;min-height:510px;justify-self:center}.hero-board{width:80%}.hero-board svg{height:230px}.benefits-inner{flex-wrap:wrap;justify-content:center;font-size:10px;padding:18px 0;gap:15px}.benefits-inner>span:last-child{display:none}.catalog{padding:43px 0}.catalog-title{display:block;margin-bottom:23px}.catalog-title h2{font-size:32px}.catalog-title p{margin-top:12px}.catalog-title p br{display:none}.catalog-tools{flex-direction:column}.filters{gap:6px}.filters button{font-size:10px;padding:10px 11px}.search{width:100%}.search input{width:100%}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-visual{height:165px}.product-visual svg{height:140px;width:90%}.card-tag{font-size:7px;left:8px;top:8px;padding:5px}.card-body{padding:13px}.card-kicker{font-size:7px;letter-spacing:.7px}.card-body h3{font-size:14px;min-height:36px}.card-body p{font-size:10px;min-height:50px;margin-bottom:12px}.card-bottom{align-items:flex-start;flex-direction:column;gap:10px}.project-banner{padding:28px;display:block}.project-banner h2{font-size:26px}.project-banner p{font-size:11px}.code-art{margin-top:30px;min-width:0;transform:rotate(1deg)}.desktop{display:none}.faq{grid-template-columns:1fr;gap:30px;padding:50px 0}.faq h2{font-size:31px;margin:15px 0}.faq h2 br{display:none}.footer-top{grid-template-columns:1fr 1fr;gap:25px}.footer-top>div:first-child{grid-column:1/-1}.footer-motto{grid-column:1/-1;border-top:1px solid #dce4d4;padding-top:20px}.footer-infinity{float:right;margin-top:-50px}.footer-bottom{line-height:1.8}.footer-bottom>a{white-space:nowrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Heading/subtitle pairs use a shared responsive 3:1 scale. */
.hero-copy{--pair-title:clamp(45px,4.5vw,63px)}
.catalog-title,.project-banner,.faq{--pair-title:clamp(36px,3.4vw,42px)}
.product-caption{--pair-title:36px}
.hero-copy h1,.catalog-title h2,.project-banner h2,.faq h2,.product-caption h2{font-size:var(--pair-title);overflow-wrap:anywhere}
.hero-copy>p,.catalog-title>p,.project-banner>div>p,.faq>div>p,.product-caption>p{font-size:calc(var(--pair-title) / 3);line-height:1.7}
.catalog-title{gap:28px}.catalog-title>p{max-width:360px}.product-caption{padding:0 20px 25px}.product-caption h2{line-height:1.2}.hero-product{min-height:565px}
.forum-placeholder{cursor:default;color:var(--muted)}.footer-top .forum-placeholder{display:block;font-size:10px;margin:12px 0}
.product-visual img{width:100%;height:100%;object-fit:contain;padding:24px}.hero-board img{width:100%;height:255px;object-fit:contain;transform:rotate(13deg)}
.header nav{flex-wrap:wrap}.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:10}.skip-link:focus{top:12px}
.entry{max-width:850px;padding:60px 0 80px;min-height:50vh}.entry h1{--pair-title:clamp(36px,5vw,54px);font-size:var(--pair-title)}.entry-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.entry-content img{max-width:100%;height:auto}.entry-content a{text-decoration:underline}.entry-content h2{font-size:30px}.entry-content h3{font-size:24px}.entry-content table{max-width:100%;display:block;overflow:auto}.pagination{margin:24px 0;display:flex;gap:15px}.pagination a,.pagination span{padding:9px}.af-image-placeholder{padding:35px;text-align:center;color:#687b5c;font-size:14px}.af-card-empty{display:none}.af-card-empty.visible{display:block}.af-admin-note{font-size:12px;line-height:1.8}.header .brand{flex-shrink:0}.header nav{gap:22px}
@media(max-width:1000px){.hero-copy{--pair-title:48px}.catalog-title,.project-banner,.faq{--pair-title:36px}.header{gap:25px}}
@media(max-width:720px){.hero-copy{--pair-title:45px}.catalog-title,.project-banner,.faq{--pair-title:36px}.product-caption{--pair-title:36px}.hero-product{min-height:565px}.hero-copy>p br,.project-banner>div>p br{display:none}.header{height:auto;min-height:92px;flex-wrap:wrap;gap:12px;padding-top:16px;padding-bottom:16px}.header nav{gap:15px}.brand small{letter-spacing:1.3px}.catalog-title>p{margin-top:15px}.project-banner .code-art p{font-size:16px}.catalog-label{white-space:nowrap}}

.stats strong{font-variant-numeric:tabular-nums}.stats-grid-live{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.stats-grid-live>div:nth-child(3){border-left:0;padding-left:0}

.product-card[hidden]{display:none!important}.hero-board img{border-radius:24px}.hero-board:has(img[src$="favicon.svg"]){transform:none;filter:none}.entry-content iframe{max-width:100%}.stats-grid-live strong{min-height:40px}
