.knowledge-section{padding-top:90px}.knowledge-heading{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:end;margin-bottom:34px}.knowledge-heading h2{font-size:clamp(34px,4vw,52px);margin:8px 0 0}.knowledge-heading>p{color:var(--muted);line-height:1.7}.knowledge-grid article{background:#fff;box-shadow:0 14px 42px rgba(12,57,76,.06);transition:transform .25s,box-shadow .25s}.knowledge-grid article:hover{transform:translateY(-5px);box-shadow:0 22px 55px rgba(12,57,76,.11)}.knowledge-image{margin:-25px -25px 20px!important;overflow:hidden;border-radius:20px 20px 0 0}.knowledge-image img{margin:0;border-radius:0;transition:transform .4s}.knowledge-image:hover img{transform:scale(1.035)}.knowledge-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.knowledge-meta time{color:var(--muted);font-size:12px;font-weight:650}.knowledge-grid h2{font-size:23px;line-height:1.25;margin:8px 0 12px}.knowledge-grid h2 a{color:var(--ink);margin:0}.knowledge-grid h2 a:hover{color:var(--blue)}.knowledge-grid .read-more{display:inline-flex;gap:8px;align-items:center;margin-top:auto}.article-header{padding-bottom:28px;border-bottom:1px solid var(--line)}.article-meta{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.article-meta>*{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #c7d9df;border-radius:999px;background:#e5eef1;color:#315569;font-size:12px;font-weight:750}.article-body{padding-top:25px}.article-body>p:first-child{font-size:21px;color:#315569}.article-body h2{font-size:clamp(28px,4vw,40px);line-height:1.15}.article-body h3{font-size:24px;margin-top:1.7em}.article-body ul,.article-body ol{padding-left:24px}.article-body li{margin-bottom:9px}.article-body blockquote{margin:38px 0;padding:24px 28px;border-left:4px solid var(--lime);background:#f4f8ee;border-radius:0 16px 16px 0}.sources,.related{border:1px solid var(--line);background:linear-gradient(145deg,#f1f7f8,#f7faef)}.sources h2,.related h2{margin:6px 0 20px;font-size:28px}.sources ol{list-style:none;padding:0;margin:0;display:grid;gap:12px}.sources li{display:flex;flex-direction:column;align-items:flex-start;padding:15px 17px;border:1px solid #d8e4e7;border-radius:13px;background:#fff}.sources li>a{display:flex;gap:8px;color:var(--ink);font-weight:750;line-height:1.4}.sources li>a:hover{color:var(--blue)}.sources li small{margin-top:4px;color:var(--muted)}.related ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}.related li a{display:inline-flex;gap:9px;padding:12px 15px;border:1px solid #d4e1e4;border-radius:12px;background:#fff;color:var(--ink);font-weight:700;text-transform:capitalize}.related li a:hover{border-color:var(--blue);color:var(--blue)}
.product-gallery-stage{position:relative;display:grid;place-items:center;aspect-ratio:1;border:1px solid var(--line);border-radius:26px;background:#fff;overflow:hidden}.product-gallery-stage>img{width:100%;height:100%;object-fit:contain;border-radius:0;background:#fff}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(7,50,69,.88);color:#fff;font-size:31px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(8,45,61,.2);transition:transform .2s,background .2s}.gallery-arrow:hover,.gallery-arrow:focus-visible{background:var(--blue);transform:translateY(-50%) scale(1.08)}.gallery-prev{left:14px}.gallery-next{right:14px}.gallery-counter{position:absolute;right:15px;bottom:14px;padding:7px 11px;border-radius:999px;background:rgba(7,50,69,.84);color:#fff;font-size:12px}.gallery-thumbnails{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(78px,95px);gap:10px;margin-top:13px;overflow-x:auto;padding:2px 2px 7px;scrollbar-width:thin}.gallery-thumbnail{aspect-ratio:1;border:2px solid transparent;border-radius:13px;padding:5px;background:#fff;cursor:pointer;overflow:hidden}.gallery-thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:8px;background:#fff}.gallery-thumbnail.active,.gallery-thumbnail:hover,.gallery-thumbnail:focus-visible{border-color:var(--blue);box-shadow:0 5px 15px rgba(8,64,87,.12)}
@media(max-width:850px){.knowledge-heading{grid-template-columns:1fr;gap:10px}.article-page{padding-left:20px;padding-right:20px}.article-meta{gap:7px}.article-meta>*{padding:8px 11px}.sources,.related{padding:20px}}@media(max-width:600px){.gallery-arrow{width:40px;height:40px}.gallery-prev{left:8px}.gallery-next{right:8px}}

/* La fotografía principal siempre se muestra completa, sin recorte. */
.product-gallery-stage{padding:clamp(18px,4vw,42px)}
.product-gallery-stage>img{display:block!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center!important}

/* Listados de productos por categoría: catálogo más compacto. */
.category-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-product{padding:16px;border-radius:18px}
.category-product img{margin-bottom:15px;border-radius:12px}
.category-product h2{font-size:19px;line-height:1.25}
@media(max-width:1050px){.category-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-product-grid{grid-template-columns:1fr}}

.category-description{color:var(--muted);line-height:1.75}.category-description p:first-child{margin-top:0}.category-description p:last-child{margin-bottom:0}.category-description ul,.category-description ol{padding-left:22px}.category-description a{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Descripciones resumidas en tarjetas; la ficha individual conserva el texto completo. */
.category-product>p,.brand-product>p,.product-card summary>p,.home-sector-grid .sector-copy>p,.brand-hub-grid>a>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;max-height:8.25em;text-overflow:ellipsis}
