.migrated-page { padding-block: 24px 48px; line-height: 1.55; --theme-color: var(--shop-red); overflow-wrap: anywhere; }
.migrated-page section { margin-bottom: 24px; }
.migrated-page .row { row-gap: 16px; }
.migrated-page .centred { text-align: center; }
.migrated-page img { max-width: 100%; height: auto; }
.migrated-page .bread-crumb { display: flex; gap: 12px; padding: 0; list-style: none; }
.migrated-page :is(.inner-box, .content-card, .feature-icon-box, .application-box, .product-item-card, .about-cert-card, .encoder-cert-card, .sample-policy), .editorial-panel {
  background: white; border: 1px solid var(--rule); border-radius: 4px; padding: clamp(14px, 2vw, 28px);
}
.migrated-page :is(.sec-title, .encoder-hero) { border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 18px; }
.migrated-page .encoder-hero { background: var(--head); padding: 24px; }
.migrated-page .product-item-card { margin-bottom: 16px; }
.migrated-page .encoder-cert-card img, .migrated-page .about-cert-card img { max-height: 220px; object-fit: contain; }
.migrated-page .funfact-section h2 { color: var(--shop-red); font-size: clamp(18px, 3vw, 32px); }
.migrated-page .clients-section img, .migrated-page .rating img { max-height: 64px; object-fit: contain; }
.migrated-page .rating { list-style: none; padding: 0; color: var(--shop-red); }
.migrated-page form :is(input:not([type=checkbox], [type=hidden]), select, textarea) { width: 100%; }
.migrated-page form label { display: block; margin-bottom: 4px; }
.migrated-page .rfq-form-group { margin-bottom: 12px; }
.migrated-page .rfq-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.migrated-page .rfq-table-wrap { overflow-x: auto; }
.migrated-page .rfq-table { min-width: 740px; width: 100%; margin-block: 12px; }
.migrated-page .rfq-table :is(th, td) { border: 1px solid var(--rule); padding: 8px; }
.migrated-page .rfq-table th { background: var(--head); }
.migrated-page :is(.rfq-add-btn, .rfq-submit-btn) { background: var(--shop-red); color: white; padding: 8px 20px; border: 0; border-radius: 4px; }
.migrated-page :is(.required-star, .rfq-delete) { color: var(--shop-red); }
.migrated-page .rfq-delete { cursor: pointer; }
.editorial-panel { margin-bottom: 16px; min-width: 0; }
.editorial-meta { color: #58585e; font-size: .9rem; }
.editorial-teaser { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.editorial-teaser:has(img) { grid-template-columns: minmax(64px, 120px) minmax(0, 1fr); }
.editorial-teaser img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f7f8; }
.rich-text-editor-content { max-width: 85ch; }
.rich-text-editor-content table { display: block; max-width: 100%; overflow-x: auto; }
.content-contact .contact-info-section .editorial-panel { height: 100%; margin-bottom: 0; }
.content-contact .contact-info-section i { color: var(--shop-red); font-size: 1.5rem; }
.content-encoder .product-item-card > .row { column-gap: 0; }
.content-encoder .product-item-card .col-lg-3 img { max-height: 240px; object-fit: contain; }
.content-encoder .product-item-card .col-lg-9 { padding-inline-start: clamp(0px, 2vw, 24px); }
.content-rfq #bom { border: 1px solid var(--rule); padding: 16px; border-radius: 4px; }
.editorial-grid > section { min-width: 0; }
.editorial-grid .pagination { flex-wrap: wrap; gap: 4px; }
@media (max-width: 767px) {
  .migrated-page .editorial-grid { grid-template-columns: minmax(0, 1fr); }
}
.customer-hero, .company-hero {
  padding: clamp(24px, 4vw, 60px);
  background: linear-gradient(115deg, #f0f0f2, #fafafa);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--shop-red);
  border-radius: 5px;
  margin-bottom: 24px;
}
.customer-hero h1, .company-hero h1 { max-width: 25ch; }
.customer-hero p { max-width: 66ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.electronics-theme .page-actions a.action { color: #fff; }
.electronics-theme .page-actions a.outlined { color: var(--shop-red); }
.company-hero .image img { width: 100%; border-radius: 4px; }
.company-hero .sub-title { color: #52525b; display: block; margin-bottom: 8px; }
.content-about .service-band { padding: clamp(16px, 3vw, 34px); background: #f4f4f6; }
.content-about .service-band .row > div > div,
.content-contact .contact-info-section .editorial-panel { background: white; padding: 20px; border: 1px solid var(--rule); border-radius: 4px; height: 100%; }
.content-about .service-band i { color: var(--shop-red); font-size: 1.65rem; }
.contact-map { display: block; border: 0; width: 100%; min-height: 320px; }
#contact-form textarea, #rfq-contact textarea { padding: 10px; }
.policy-grid { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 24px; align-items: start; }
.policy-sidebar { position: sticky; top: 16px; }
.policy-outline { max-height: 60vh; overflow: auto; }
.policy-sidebar nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.policy-sidebar nav a:last-child { border-bottom: 0; }
.policy-document { padding: clamp(20px, 4vw, 48px); }
.policy-document .rich-text-editor-content { line-height: 1.8; }
.policy-document .rich-text-editor-content > h1:first-child { display: none; }
.policy-document .rich-text-editor-content :is(h2,h3,h4,h5) { scroll-margin-top: 24px; margin: 1.55em 0 .55em; font-weight: 700; }
.rfq-delete { background: white; border: 1px solid var(--rule); border-radius: 4px; padding: 5px 9px; }
@media (max-width: 767px) {
  .policy-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .policy-sidebar { position: static; }
  .policy-outline { max-height: 220px; }
  .content-rfq .rfq-table { min-width: 0; }
  .rfq-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
  .rfq-table :is(tbody, tr) { display: block; }
  .rfq-table tr { border: 1px solid var(--rule); border-radius: 4px; padding: 10px; margin-bottom: 10px; }
  .content-rfq .rfq-table td { display: block; border: 0; padding: 4px; }
  .rfq-table td[data-label]::before { content: attr(data-label); display: block; font-weight: 600; margin-bottom: 3px; }
}
.content-rfq .quote-tips > div > section { margin-bottom: 0; }

.content-rfq .rfq-contact-card {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  border: 1px solid var(--rule); border-radius: 4px; padding: 10px 14px;
  background: #fafafa;
}
.rfq-contact-card img {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  background: #eeeef0; object-fit: cover; object-position: center 12%;
}
.rfq-contact-card .bi { margin-inline-start: auto; color: var(--shop-red); }
