/* Homepage and Blog refinements; leave shared category/detail layouts intact. */
.home-page .hero-section {background:#f5f7fa; min-height:0; padding:48px 0;}
.home-page .hero-section::before {display:none;}
.home-page .hero-section .container {grid-template-columns:1fr 1fr; gap:48px;}
.home-page .hero-eyebrow {display:block; color:var(--color-primary); font-weight:600; letter-spacing:.08em; margin-bottom:16px;}
.home-page .hero-text h1 {font-size:clamp(30px,3.4vw,48px); color:var(--color-secondary); text-transform:none; letter-spacing:-.025em; line-height:1.15; margin-bottom:20px;}
.home-page .hero-text p {margin-bottom:24px; max-width:60ch;}
.home-page .hero-factory {margin:0; position:relative;}
.home-page .hero-factory img {width:100%; height:340px; object-fit:cover; border-radius:8px; display:block;}
.home-page .hero-factory figcaption {position:absolute; bottom:16px; inset-inline-start:16px; background:#fff; color:var(--color-secondary); padding:10px 16px; border-inline-start:3px solid var(--color-primary); border-radius:4px; font-weight:600;}
.home-page .home-stat-section {padding:24px 0; border-bottom:1px solid var(--color-border);}
.home-page .company-stat-strip {grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;}
.home-page .manufacturer-section {padding:48px 0; background:#fff;}
.home-page .manufacturer-media {min-height:480px;}
.home-page .manufacturer-media-caption h2 {font-size:28px;}
.home-page .manufacturer-proof-body {padding:14px;}
.home-page .manufacturer-proof-body h3 {font-size:17px;}
.home-page .manufacturer-proof-image {position:relative; width:100%; height:auto; aspect-ratio:16/9;}
.home-page .manufacturer-proof-image img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.home-page .manufacturer-media-slider img {opacity:1; transform:none;}
.home-page .search-section {padding:24px 0; background:#f5f7fa;}
.home-page .home-products {padding:40px 0; background:#f5f7fa;}
.home-page .home-category-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;}
.home-page .home-category-card {display:flex; flex-direction:column; background:#fff; border:1px solid var(--color-border); border-radius:8px; padding:18px; text-decoration:none; color:var(--color-secondary); transition:border-color .2s;}
.home-page .home-category-card:hover {border-color:var(--color-primary);}
.home-page .home-category-media {position:relative; width:100%; height:230px; margin-bottom:16px; overflow:hidden;}
.home-page .home-category-card img {position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; margin:0; transition:opacity .4s ease;}
.home-page .home-category-image-primary {opacity:1;}
.home-page .home-category-image-secondary {opacity:0;}
.home-page .home-category-card:focus-visible {outline:2px solid var(--color-primary); outline-offset:4px;}
.home-page .home-category-card:focus-visible .is-alt-ready .home-category-image-primary {opacity:0;}
.home-page .home-category-card:focus-visible .is-alt-ready .home-category-image-secondary {opacity:1;}
@media (hover:hover) and (pointer:fine) {
  .home-page .home-category-card:hover .is-alt-ready .home-category-image-primary {opacity:0;}
  .home-page .home-category-card:hover .is-alt-ready .home-category-image-secondary {opacity:1;}
}
@media (prefers-reduced-motion:reduce) {
  .home-page .home-category-card img {transition:none;}
}
.home-page .home-category-card h3 {font-size:18px; line-height:1.35; margin:0 0 12px;}
.home-page .home-category-card span {color:var(--color-primary); font-size:13px; font-weight:600; margin-top:auto;}
.home-page .home-category-links {display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:24px;}
.home-page .home-category-links a {font-size:14px; color:var(--color-text-light); text-decoration:underline; text-underline-offset:3px;}
.home-page .about-section {padding:32px 0;}
.home-page .blog-track {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; transform:none;}
.home-page .blog-card-slider {display:flex; flex-direction:column; min-width:0;}
.home-page .blog-card-slider-image img {height:200px; width:100%; object-fit:cover;}
.home-page .blog-card-slider-content {display:flex; flex-direction:column; flex:1;}
.home-page .blog-card-slider-title {line-height:1.45;}
.home-page .blog-card-slider-excerpt {margin-bottom:20px;}
.home-page .blog-card-slider-link {margin-top:auto;}
.home-page .section-header {padding-inline-end:100px;}
.home-page .section-header.text-center {padding-inline-end:0;}
.blog-list-page .blog-list .item h2 {font-size:var(--font-size-xl); line-height:1.4; margin:0 0 12px;}
.blog-list-page .blog-list .item-card .thumb img {aspect-ratio:14/11;}
.blog-list-page .right-list h3 {font-size:14px; line-height:1.45; margin:0;}
.blog-list-page .pagination {flex-wrap:wrap; list-style:none;}
.blog-list-page .blog-list-layout {grid-template-columns:minmax(0,1fr) 250px; margin-inline:0;}
.blog-list-page .blog-list-layout .left,.blog-list-page .blog-list-layout .right,.blog-list-page .blog-list .item {min-width:0;}
.home-page .search-form-full input,.blog-list-page .search-form-full input {min-width:0; width:100%;}
.blog-list-page .blog-list .item h2,.blog-list-page .right-list h3 {overflow-wrap:anywhere;}
html[dir="rtl"] .home-page .section-header>.more {right:auto; left:5px;}
html[dir="rtl"] .home-page .search-form-full::before,html[dir="rtl"] .blog-list-page .search-form-full::before {left:auto; right:16px;}
html[dir="rtl"] .home-page .search-form-full input,html[dir="rtl"] .blog-list-page .search-form-full input {padding-left:12px; padding-right:40px;}
@media(max-width:990px) {
  .blog-list-page .blog-list-layout {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:1024px) {
  .home-page .hero-section .container {gap:24px;}
  .home-page .hero-factory img {height:320px;}
  .home-page .home-category-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:768px) {
  html[dir="rtl"] .home-page .mobile-menu-toggle,html[dir="rtl"] .blog-list-page .mobile-menu-toggle {right:auto; left:15px;}
  .home-page .hero-section {padding:28px 0;}
  .home-page .hero-section .container {grid-template-columns:1fr;}
  .home-page .hero-factory img {height:240px;}
  .home-page .hero-buttons {flex-wrap:wrap; gap:12px;}
  .home-page .company-stat-strip {grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
  .home-page .company-stat-item {padding:16px;}
  .home-page .company-stat-item strong {font-size:28px;}
  .home-page .manufacturer-section {padding:28px 0;}
  .home-page .manufacturer-media {min-height:360px;}
  .home-page .manufacturer-media-caption h2 {font-size:24px;}
  .home-page .home-category-grid {gap:12px;}
  .home-page .home-category-card {padding:12px;}
  .home-page .home-category-media {height:160px;}
  .home-page .home-category-card h3 {font-size:16px;}
  .home-page .blog-track {grid-template-columns:1fr;}
  .home-page .section-header {padding-inline-end:0;}
  .home-page .section-header>.more {position:static; display:inline-flex; transform:none;}
}
