/* Products grid: equal-height cards */
.process-counts > [class*="col-"] { display: flex; }
.process-counts .rs-services-wrapper,
.process-counts .rs-services-item { width: 100%; height: 100%; }
.process-counts .rs-services-item { display: flex; flex-direction: column; }
.process-counts .rs-services-content { display: flex; flex-direction: column; flex: 1; }
.process-counts .rs-services-title { flex: 1; }

/* Applications grid */
.rs-applications-grid .rs-portfolio-item { height: 100%; }
.rs-applications-grid .rs-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Blog grid: equal-height cards */
.rs-blog-two .row > [class*="col-"] { display: flex; }
.rs-blog-two .row > [class*="col-"] .rs-blog-item { width: 100%; }

/* Blog details sidebar */
.rs-blog-detail-widget { background: #f6f6f6; padding: 30px; margin-bottom: 30px; }
.rs-blog-detail-widget-title { margin-bottom: 20px; }
.rs-blog-detail-related-item { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.rs-blog-detail-related-item .thumb { flex: 0 0 90px; }
.rs-blog-detail-related-item img { width: 90px; height: 70px; object-fit: cover; }
.rs-blog-detail-related-item h6 { margin-bottom: 4px; font-size: 15px; line-height: 1.4; }
.rs-blog-detail-related-item span { font-size: 13px; color: #616161; }

/* Home: stacked CTA buttons */
.rs-why-choose-one .rs-about-btn { display: flex; flex-wrap: wrap; gap: 15px; }

/* Brands: contain logo images and centre them in each card */
.tbx-logo { width: 100%; justify-content: center; }
.tbx-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 90px; margin: 0 auto; object-fit: contain; }
@media (max-width: 480px) { .tbx-logo img { max-height: 64px; } }

/* Detail pages */
.rs-detail-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.rs-detail-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.rs-detail-list li::before { content: "\2713"; position: absolute; left: 0; color: #EA5501; font-weight: 700; }
.rs-detail-links { list-style: none; padding: 0; margin: 0; }
.rs-detail-links li a { display: block; padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.rs-detail-links li a.active, .rs-detail-links li a:hover { color: #EA5501; }

/* Brands: show logos in full colour, tighter padding on small screens */
.tbx-logo { filter: none; opacity: 1; }
.tbx-card { padding: 10px 16px; }
@media (max-width: 860px) { .tbx-section { padding: 40px 15px; } }
@media (max-width: 480px) { .tbx-section { padding: 30px 12px; } }

/* Application details: main image 850 x 450 */
.rs-application-details-thumb { width: 100%; max-width: 850px; aspect-ratio: 850 / 450; overflow: hidden; margin-bottom: 30px; }
.rs-application-details-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product details */
.rs-product-hero-thumb { aspect-ratio: 850 / 450; }
.rs-product-hero-thumb img { display: block; }
.rs-product-enquiry-cta { background: #f6f6f6; padding: 30px; border-left: 4px solid #EA5501; }
.widget-categories-two a.active { color: #EA5501; }

/* Applications page: no arrow button on hover */
.rs-applications-grid .rs-portfolio-btn { display: none; }
.rs-applications-grid .rs-portfolio-content { bottom: 0; }
.rs-applications-grid .rs-portfolio-title { margin-bottom: 0; }
