/*
Theme Name: TED Institucional
Author: TED Distribuidora
Description: Site institucional TED com banners, marcas, depoimentos e contatos editáveis.
Version: 1.2.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: ted-institucional
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--red:#b81832;--ink:#242426;--muted:#646468;--line:#e3e3e3;--soft:#f5f5f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #276ddd;outline-offset:5px}img{max-width:100%;height:auto}.wrap{width:min(1240px,calc(100% - 80px));margin:auto}.topbar{background:var(--ink);color:#fff;font-size:14px;padding:9px 0}.topbar .wrap{display:flex;justify-content:space-between}header{background:#fff;position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:100px}.logo{display:block;width:136px}nav{display:flex;gap:30px;align-items:center;font-size:15px;font-weight:600}nav>a:not(.btn):hover{color:var(--red)}.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:var(--red);color:#fff;padding:16px 23px;font-weight:700;border-radius:4px;line-height:1.4;transition:background .2s,transform .2s}.btn:hover{background:#921329;transform:translateY(-2px)}.btn.compact{padding:13px 21px}.hero{padding:66px 0 58px;background:#fafafa;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center}.eyebrow{font-size:13px;letter-spacing:.15em;font-weight:700;color:var(--red);margin:0 0 21px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,4.5vw,64px);line-height:1.06;letter-spacing:-.055em;margin-bottom:27px}h1 em{font-style:normal;color:var(--red)}.lead{font-size:18px;line-height:1.7;color:var(--muted);max-width:465px}.actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:29px}.text-link{display:inline-flex;gap:18px;align-items:center;font-size:15px;font-weight:700}.text-link:hover{text-decoration:underline}.hero-note{display:flex;gap:12px;align-items:center;font-size:14px;color:var(--muted);margin-top:39px}.rule{height:1px;width:30px;background:var(--red)}.hero-art{position:relative;background:#ededed;min-height:418px;border-radius:4px;overflow:hidden;display:flex;flex-direction:column}.art-heading{display:flex;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.08em;padding:25px 25px 0;color:#5a5a5e}.products{display:flex;align-items:center;justify-content:center;position:relative;flex:1;min-height:290px;padding:20px 12px}.product{width:39%;mix-blend-mode:multiply;object-fit:contain}.p1{transform:rotate(-9deg);margin-right:-45px}.p2{z-index:2;width:49%;transform:translateY(-10px)}.p3{transform:rotate(9deg);margin-left:-48px}.art-bottom{background:var(--red);color:#fff;padding:21px 25px;display:flex;flex-direction:column;gap:4px}.art-bottom strong{font-size:21px;letter-spacing:-.02em}.art-bottom>span{font-size:13px;opacity:.9}.channel-section{border-bottom:1px solid var(--line)}.channels{display:grid;grid-template-columns:repeat(3,1fr)}.channels>a{padding:30px 20px;display:flex;gap:17px;align-items:flex-start;border-right:1px solid var(--line)}.channels>a:first-child{padding-left:0}.channels>a:last-child{border:0}.channels>a:hover h2{color:var(--red)}.num{color:var(--red);font-size:13px;font-weight:700;margin-top:4px}.channels h2{font-size:18px;margin:0 0 5px;letter-spacing:-.025em}.channels p{font-size:14px;color:var(--muted);margin:0}.arrow{margin-left:auto;font-size:22px}.section{padding-top:87px;padding-bottom:87px}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:36px}.section-head h2,.about h2{font-size:38px;line-height:1.15;letter-spacing:-.04em;margin:0}.section-head p:not(.eyebrow){color:var(--muted);margin:0}.segments{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.segments article{padding:30px;background:var(--soft);border-top:3px solid var(--red);display:flex;flex-direction:column}.segment-number{font-size:12px;letter-spacing:.09em;font-weight:700;color:var(--muted);margin-bottom:30px}.segments h3{font-size:29px;line-height:1.15;letter-spacing:-.04em;margin-bottom:19px}.segments p{color:var(--muted);font-size:16px}.segments a{font-size:14px;font-weight:700;display:flex;justify-content:space-between;border-top:1px solid #ddd;padding-top:18px;margin-top:auto}.segments a:hover{color:var(--red)}.highlights{background:var(--soft);padding:72px 0}.highlights h2{font-size:32px}.flyers{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.flyer{border-radius:4px;min-height:350px;padding:36px;color:#fff;overflow:hidden;position:relative;display:flex;align-items:center}.flyer>div{position:relative;z-index:1}.red{background:var(--red)}.dark{background:var(--ink)}.tag{display:block;font-size:12px;letter-spacing:.11em;font-weight:bold;margin-bottom:25px}.flyer h3{font-size:37px;letter-spacing:-.04em;line-height:1.08;margin-bottom:18px}.flyer p{max-width:275px;font-size:15px}.flyer.red>div{width:62%}.flyer img{width:47%;position:absolute;right:-18px;bottom:30px;transform:rotate(10deg)}.white{background:#fff;color:var(--red);font-size:14px;padding:13px 18px}.white:hover{background:#eee}.light{color:#fff}.about{display:grid;grid-template-columns:1fr 1fr;gap:75px}.about p{color:var(--muted)}.about .about-intro{font-size:21px;line-height:1.5;color:var(--ink)}.contact{background:#eee;padding:76px 0}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.contact-grid>a{background:#fff;padding:28px;border-bottom:3px solid transparent}.contact-grid>a:hover{border-color:var(--red)}.contact-grid>a>span{font-size:12px;letter-spacing:.06em;color:var(--muted)}.contact-grid h3{font-size:24px;display:flex;justify-content:space-between;margin:15px 0 9px}.contact-grid h3 span{color:var(--red)}.contact-grid p{font-size:15px;margin:0;color:var(--muted)}footer{background:#202022;color:#fff;padding:40px 0 24px}.footer-main{display:flex;justify-content:space-between;align-items:center;gap:30px}.footer-main img{width:130px}.footer-main p{font-size:15px;color:#bbb;margin:0}.footer-main>a{font-size:15px}.footer-bottom{border-top:1px solid #444;margin-top:30px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#bbb}.floating{position:fixed;right:24px;bottom:24px;background:#216c49;color:#fff;display:flex;align-items:center;gap:10px;padding:13px 20px;border-radius:30px;font-size:14px;font-weight:700;z-index:11;box-shadow:0 4px 18px #0002}.floating:hover{background:#175737}.skip{position:fixed;top:-80px;background:#fff;padding:12px;z-index:100}.skip:focus{top:0}.menu-toggle{display:none}
@media(min-width:1500px){.hero{padding:82px 0}}@media(max-width:1050px){.wrap{width:calc(100% - 48px)}nav{gap:18px}.hero-grid{gap:24px}.hero-art{min-height:390px}.channels>a{padding:24px 14px}.channels .num{display:none}.flyer{padding:28px}.flyer h3{font-size:31px}.about{gap:40px}.contact-grid h3{font-size:21px}}
@media(max-width:760px){html{scroll-padding-top:85px}.wrap{width:calc(100% - 40px)}.topbar{font-size:12px}.topbar .wrap{justify-content:center}.topbar .wrap>span{display:none}.nav{min-height:80px}.logo{width:105px}.menu-toggle{display:flex;gap:12px;align-items:center;border:1px solid #ddd;background:#fff;padding:8px 12px;border-radius:4px;font-size:14px}nav{display:none;position:absolute;top:80px;left:0;right:0;background:#fff;padding:22px;box-shadow:0 8px 12px #0001;flex-direction:column;align-items:stretch}nav.open{display:flex}.hero{padding:40px 0}.hero-grid{grid-template-columns:1fr;gap:30px}h1{font-size:46px}.hero-copy .eyebrow{margin-bottom:18px}.lead{font-size:17px}.actions{gap:18px}.hero-note{margin-top:26px}.hero-art{min-height:340px;max-width:530px;width:100%;margin:auto}.products{min-height:230px}.product{max-height:235px}.art-heading{font-size:10px}.art-bottom strong{font-size:20px}.channels{grid-template-columns:1fr}.channels>a,.channels>a:first-child{padding:23px 0;border:0;border-bottom:1px solid var(--line)}.channels .num{display:block}.section{padding-top:56px;padding-bottom:56px}.section-head{display:block}.section-head>p{margin-top:20px!important}.section-head h2,.about h2{font-size:33px}.segments{grid-template-columns:1fr;gap:16px}.segments article{padding:27px}.segment-number{margin-bottom:20px}.segments h3 br{display:none}.highlights{padding:50px 0}.highlights h2{font-size:30px}.flyers{grid-template-columns:1fr}.flyer{min-height:340px}.flyer h3{font-size:33px}.flyer p{max-width:230px}.flyer.red>div{width:67%}.flyer img{right:-22px;width:45%}.flyer .btn{gap:10px;padding:12px}.about{grid-template-columns:1fr;gap:25px}.contact{padding:50px 0}.contact-grid{grid-template-columns:1fr;gap:12px}.contact-grid>a{padding:23px}.footer-main{flex-direction:column;align-items:flex-start;gap:22px}.footer-bottom{flex-direction:column;gap:5px;padding-bottom:64px}.floating{right:16px;bottom:16px;padding:12px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.art-bottom>a{font-size:13px}.art-bottom>a:hover{text-decoration:underline}@media(max-width:760px){.segments h3 br{display:initial}}

/* Fachada, experiências e marcas — revisão institucional */
.storefront{margin:0;background:#202022;border-radius:4px;overflow:hidden}.storefront-image{position:relative;aspect-ratio:1.15;overflow:hidden;background:#090b0d}.storefront-image img{position:absolute;width:100%;max-width:none;height:auto;top:50%;transform:translateY(-50%);display:block}.storefront figcaption{padding:21px 26px;color:#fff;display:grid;gap:5px;border-top:3px solid var(--red)}.storefront figcaption span{font-size:12px;letter-spacing:.1em;color:#d0d0d0}.storefront figcaption strong{font-size:20px;line-height:1.4}.testimonials{padding-top:68px;padding-bottom:64px}.preview-label{font-size:13px;color:#656569;margin:0 0 20px}.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.testimonial-placeholder{padding:26px 28px;background:#fafafa;border:1px dashed #c9c9cd;border-radius:4px}.quote-mark{display:block;color:var(--red);font-size:54px;font-family:Georgia,serif;line-height:1}.testimonial-placeholder h3{font-size:18px;margin:13px 0 8px}.testimonial-placeholder p{color:var(--muted);font-size:16px;margin-bottom:27px}.client-placeholder{border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:13px}.brands-section{padding:55px 0 62px;background:#f5f5f5}.brands-section h2{font-size:32px}.brands-section .section-head{margin-bottom:24px}.brand-grid{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.brand-grid li{min-height:96px;background:#fff;border:1px solid #e6e6e6;display:flex;align-items:center;justify-content:center;padding:15px;text-align:center}.brand-grid span{font-size:20px;font-weight:600;color:#4c4c50}.hero-art{display:none}@media(max-width:900px){.brand-grid{grid-template-columns:repeat(3,1fr)}.testimonial-grid{gap:14px}.testimonial-placeholder{padding:20px}}@media(max-width:760px){.storefront-image{aspect-ratio:1.1}.storefront figcaption{padding:18px 20px}.storefront figcaption strong{font-size:18px}.testimonial-grid{grid-template-columns:1fr}.testimonials{padding-top:48px;padding-bottom:48px}.brands-section{padding:44px 0}.brands-section h2{font-size:29px}.brands-section .text-link{margin-top:20px}.brand-grid{grid-template-columns:repeat(2,1fr)}.brand-grid li{min-height:80px}.brand-grid span{font-size:18px}}

/* Banner contínuo: texto, degradê e fachada */
.hero-banner{position:relative;background:#101115;color:#fff;padding:0;isolation:isolate}.hero-banner .hero-grid{display:block;min-height:600px;position:static}.hero-banner .hero-copy{position:relative;z-index:2;width:55%;max-width:660px;padding:90px 0 78px}.hero-banner .eyebrow{color:#ff758a}.hero-banner h1{font-size:clamp(42px,4.35vw,64px)}.hero-banner h1 em{color:#ff657f}.hero-banner .lead{color:#e0e0e3;max-width:460px}.hero-banner .hero-note{color:#c4c4cb}.hero-banner .rule{background:#ff657f}.hero-banner .storefront{position:absolute;inset:0 0 0 auto;width:66%;border-radius:0;z-index:0;background:#101115}.hero-banner .storefront-image{position:absolute;inset:0;aspect-ratio:auto;background:#101115}.hero-banner .storefront-image img{width:100%;height:auto;min-height:100%;object-fit:cover;top:50%;transform:translateY(-50%)}.hero-banner .storefront:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101115 0%,rgba(16,17,21,.96) 9%,rgba(16,17,21,.7) 28%,rgba(16,17,21,.18) 53%,transparent 75%),linear-gradient(0deg,rgba(16,17,21,.8),transparent 28%);pointer-events:none}.hero-banner .storefront figcaption{position:absolute;z-index:1;bottom:32px;right:40px;padding:0;border:0;text-align:right}.hero-banner .storefront figcaption span{font-size:11px}.hero-banner .storefront figcaption strong{font-size:16px}.hero-banner .text-link{color:#fff}.hero-banner .actions{gap:22px}.hero-banner .btn{background:#c81737}.hero-banner .btn:hover{background:#a4102b}
@media(max-width:1050px) and (min-width:761px){.hero-banner .hero-copy{width:62%;padding:70px 0}.hero-banner .hero-grid{min-height:590px}.hero-banner .storefront{width:75%}.hero-banner .lead{max-width:410px}}
@media(max-width:760px){.hero-banner .hero-grid{min-height:0;display:flex;flex-direction:column;gap:0}.hero-banner .hero-copy{width:100%;padding:45px 0 26px;max-width:none}.hero-banner h1{font-size:44px}.hero-banner .storefront{position:relative;inset:auto;flex:none;width:calc(100% + 40px);height:360px;margin:0 -20px}.hero-banner .storefront-image img{width:100%;min-height:0;top:50%;transform:translateY(-50%)}.hero-banner .storefront:after{background:linear-gradient(180deg,#101115 0%,rgba(16,17,21,.65) 14%,transparent 40%,rgba(16,17,21,.08) 66%,#101115 100%)}.hero-banner .storefront figcaption{bottom:23px;left:20px;right:20px;text-align:left}.hero-banner .hero-note{margin-top:28px}.hero-banner .hero-copy .lead{max-width:100%}.hero-banner .actions{gap:22px}.hero-banner .storefront figcaption strong{font-size:17px}}
/* Segmentos com cores próprias e contraste para leitura */
.segments article{border-top:0;border-radius:6px;background:linear-gradient(135deg,#bc1835,#7e1027);color:#fff;padding:32px;min-height:320px;box-shadow:0 8px 22px #2020220c}
.segments article:nth-child(2){background:linear-gradient(135deg,#145567,#0b303d)}
.segments article:nth-child(3){background:linear-gradient(135deg,#41434d,#202127)}
.segments .segment-number{color:#fff;opacity:.85;letter-spacing:.1em}
.segments h3{color:#fff}
.segments p{color:#fff;opacity:.9}
.segments a{color:#fff;border-top-color:#ffffff40;padding-top:19px}
.segments a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.segments a:focus-visible{outline-color:#fff}
@media(max-width:760px){.segments article{padding:28px;min-height:290px}}
/* Destaques alinhados à paleta dos segmentos */
.flyer.red{background:linear-gradient(135deg,#bc1835,#7e1027)}
.flyer.dark{background:linear-gradient(135deg,#41434d,#202127)}
.flyer{border-radius:6px;box-shadow:0 8px 22px #2020220c}

body.admin-bar header{top:32px}.brand-grid img{max-height:65px;max-width:130px;object-fit:contain}.brand-grid a{display:flex;align-items:center;justify-content:center;width:100%}.segments article.segment-art{padding:0;min-height:0;background:none}.segment-art a{padding:0;margin:0;border:0;display:block}.segment-art img{width:100%;display:block}.flyer.flyer-art{padding:0;min-height:0;display:block}.flyer-art>a{display:block}.flyer.flyer-art img{position:static;width:100%;transform:none;display:block}.testimonial-placeholder blockquote{margin:15px 0 25px;white-space:normal}.entry-content{overflow-wrap:anywhere}.entry-content>*,.entry-title{max-width:850px;margin-left:auto;margin-right:auto}.entry-content .alignwide{max-width:1100px}.entry-content .alignfull{max-width:none}.entry-content img{height:auto}.entry-content iframe{max-width:100%}.entry-title{font-size:42px;line-height:1.2;letter-spacing:-.04em}.entry-content h2{font-size:32px;line-height:1.25}.entry-content a{color:var(--red);text-decoration:underline}.entry-content .wp-block-button__link{color:white;background:var(--red);text-decoration:none}.post-summary{border-bottom:1px solid var(--line);padding:25px 0}.landing-content{padding:50px 0}.pagination{margin-top:35px}.pagination a{margin-right:20px}.wp-block-embed iframe{width:100%;aspect-ratio:16/9;height:auto}@media(max-width:782px){body.admin-bar header{top:46px}}@media(max-width:600px){body.admin-bar header{top:0}.entry-title{font-size:34px}}

.ted-social{padding-top:32px;margin-top:30px;border-top:1px solid #444}.ted-social>p{font-size:16px;font-weight:bold;margin-bottom:16px}.ted-social nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:14px;background:transparent;padding:0;box-shadow:none}.ted-social nav a{display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid #666;border-radius:5px;font-size:14px;color:#fff}.ted-social nav a:hover{background:#b81832;border-color:#b81832;color:#fff}.ted-blog .entry-title{max-width:none}.ted-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:35px}.ted-blog-card{border:1px solid #ddd;border-radius:6px;padding:22px}.ted-blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:4px;margin-bottom:20px}.ted-blog-card h2{font-size:25px;line-height:1.2;margin-bottom:12px;overflow-wrap:anywhere}.ted-blog-card time{font-size:14px;color:#646468}.ted-blog-card p{margin-top:12px}.pagination{display:flex;flex-wrap:wrap;gap:15px}.pagination .current{font-weight:bold;color:#b81832}@media(max-width:760px){.ted-blog-grid{grid-template-columns:1fr}.ted-social nav{align-items:stretch}.ted-social nav a{flex:1 1 135px}}

.ted-slide[hidden],.ted-carousel-controls[hidden]{display:none!important}.ted-carousel{background:#101115}.ted-banner-picture,.ted-slide-link{display:block}.ted-banner-picture img{display:block;width:100%;height:auto}.ted-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 20px;background:#17181c;flex-wrap:wrap}.ted-carousel-controls button{border:1px solid #71717a;background:#25262c;color:#fff;min-width:42px;min-height:42px;padding:8px 13px;border-radius:5px;cursor:pointer}.ted-carousel-controls button:hover,.ted-carousel-controls button[aria-pressed="true"]{background:#b81832;border-color:#e05268}.ted-carousel-dots{display:flex;gap:8px}.ted-address{margin-top:30px;padding-top:25px;border-top:1px solid #444}.ted-address h2{font-size:18px;margin-bottom:12px}.ted-address address{font-style:normal;color:#e0e0e0;line-height:1.7}.ted-address p{font-size:14px;color:#bbb;margin:10px 0 0}.ted-social nav .ted-network:hover{background:#35363c;border-color:#aaa}.ted-network img{flex-shrink:0;object-fit:contain}.ted-carousel-controls button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.ted-screen-reader{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Redes sociais centralizadas no topo do rodapé. */
.footer-main{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr) minmax(180px,1fr);align-items:center;gap:26px}
.footer-main>img{justify-self:start}
.footer-main>a{justify-self:end;overflow-wrap:anywhere;text-align:right}
.footer-social-slot{min-width:0;width:100%}
.footer-main .ted-social{width:100%;margin:0;padding:0;border:0;text-align:center}
.footer-main .ted-social>p{color:#fff;font-size:18px;font-weight:700;margin:0 0 16px}
.footer-main .ted-social nav{justify-content:center;gap:10px}
.footer-main .ted-social nav a{flex:0 0 auto;padding:10px 12px}
@media(max-width:1050px){.footer-main{grid-template-columns:140px minmax(0,1fr)}.footer-main>a{grid-column:1/-1;justify-self:center;text-align:center}}
@media(max-width:760px){.footer-main{grid-template-columns:1fr;justify-items:center;gap:26px}.footer-main>img{justify-self:center}.footer-main>a{grid-column:auto;justify-self:center}.footer-main .ted-social nav{justify-content:center}.footer-main .ted-social nav a{flex:0 0 auto}}

/* Rodapé compacto, com redes na escala visual do logo TED. */
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:28px}
.footer-main>img{width:130px;flex:0 0 130px}
.footer-social-slot{width:auto;flex:0 1 auto;min-width:0}
.footer-main .ted-social{width:auto;margin:0;padding:0;text-align:center;border:0}
.footer-main .ted-social>p{font-size:14px;line-height:1.2;margin:0 0 9px}
.footer-main .ted-social nav{gap:8px;justify-content:center}
.footer-main .ted-social nav a{font-size:12px;line-height:1.2;min-height:36px;padding:7px 10px;gap:7px;border-radius:4px;flex:0 0 auto}
.footer-main .ted-social nav img,.footer-main .ted-social nav svg{width:20px;height:20px}
.footer-main>a{font-size:14px;text-align:right;flex:0 1 auto}
@media(max-width:1050px){.footer-main{flex-wrap:wrap}.footer-social-slot{flex:1 1 390px}.footer-main>a{flex:1 1 100%;text-align:center}}
@media(max-width:760px){.footer-main{flex-direction:column;flex-wrap:nowrap;gap:20px}.footer-main>img{flex:none}.footer-social-slot{flex:none;width:100%}.footer-main>a{flex:none;text-align:center}.footer-main .ted-social nav a{padding:7px 9px}}

/* Cards de marcas: colunas flexíveis e logos contidos em telas pequenas. */
.brand-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.brand-grid li{min-width:0;min-height:104px;padding:16px}
.brand-grid a{min-width:0;max-width:100%;min-height:70px}
.brand-grid img{display:block;width:130px;height:70px;max-width:100%;max-height:70px;object-fit:contain}
.brand-grid span{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.3}
@media(max-width:900px){.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-grid li{min-height:96px;padding:12px}.brand-grid span{font-size:16px}}
