/* Steel L3 — crsrl.com layout */
.cr-cat.sd {
  font-family: "Rajdhani", cursive;
  color: hsl(218, 7%, 52%);
}

.cr-cat.sd .sd-ban {
  position: relative;
  min-height: 360px;
  background: #0d2a44 url("/zh-hans/images/cr/steel/banner-siderurgia-7.jpg") center / cover no-repeat;
  overflow: hidden;
}

.cr-cat.sd .sd-ban::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 42, 68, 0.72);
}

.cr-cat.sd .sd-ban-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 48px 5%;
}

.cr-cat.sd .sd-ban-l {
  width: 100%;
  max-width: 920px;
  padding-right: 0;
}

.cr-cat.sd .sd-ban-r {
  width: 100%;
  max-width: 920px;
  margin-top: 18px;
  text-align: left;
}

.cr-cat.sd .sd-ban h2 {
  font-family: "Rajdhani", cursive;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  white-space: nowrap;
}

.cr-cat.sd .sd-ban-r strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-align: left;
}

.cr-cat.sd .sd-ban-r p {
  font-family: "Play", cursive;
  font-size: 18px;
  line-height: 1.55;
  color: #fff;
  margin: 0 0 12px;
  text-align: left;
  text-align-last: left;
}

.cr-cat.sd .sd-ban-r p:last-child {
  margin-bottom: 0;
}

/* full-width section bar */
.cr-cat.sd .sd-bar {
  background: hsl(206, 28%, 42%);
  color: #fff;
  font-family: "Rajdhani", cursive;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 20px;
  letter-spacing: 0.04em;
}

/* two-column row: main + aside */
.cr-cat.sd .sd-row {
  display: flex;
  flex-wrap: wrap;
  max-width: 1920px;
  margin: 0 auto;
  clear: both;
}

.cr-cat.sd .sd-main {
  flex: 1 1 62%;
  min-width: 280px;
  padding: 32px 3% 40px 5%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cr-cat.sd .sd-aside {
  flex: 0 0 32%;
  min-width: 240px;
  padding: 32px 4% 40px 2%;
  box-sizing: border-box;
  background: hsl(0, 0%, 94%);
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.cr-cat.sd .sd-aside-box {
  background: hsl(0, 0%, 90%);
}

.cr-cat.sd .sd-tit {
  font-family: "Rajdhani", cursive;
  font-size: 28px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px;
}

.cr-cat.sd .sd-fig {
  margin: 0 0 16px;
  text-align: center;
}

.cr-cat.sd .sd-fig img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.cr-cat.sd .sd-fig + .sd-tit,
.cr-cat.sd .sd-fig + .sd-subtit {
  margin-top: 40px;
}

.cr-cat.sd .sd-tit + .sd-fig,
.cr-cat.sd .sd-subtit + .sd-fig {
  margin-top: 12px;
}

.cr-cat.sd .sd-cap {
  font-family: "Rajdhani", cursive;
  font-size: 15px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.35;
}

.cr-cat.sd .sd-go {
  text-align: center;
  margin: 28px 0 4px;
}

.cr-cat.sd .sd-go a {
  display: inline-block;
  background: hsl(209, 100%, 40%);
  color: #fff;
  font-family: "Rajdhani", cursive;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 26px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.cr-cat.sd .sd-go a:hover {
  background: hsl(209, 100%, 34%);
  color: #fff;
}

.cr-cat.sd .sd-subtit {
  font-family: "Rajdhani", cursive;
  font-size: 22px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  text-align: center;
  margin: 28px 0 16px;
  line-height: 1.35;
}

/* sidebar nav — crsrl style */
.cr-cat.sd .sd-aside h4 {
  font-family: "Rajdhani", cursive;
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: #3dbbf0;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.35;
}

.cr-cat.sd .sd-links {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.cr-cat.sd .sd-links li {
  margin-bottom: 8px;
}

.cr-cat.sd .sd-links a {
  font-family: "Rajdhani", cursive;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: #3dbbf0;
  text-decoration: none;
  line-height: 1.45;
  display: block;
}

.cr-cat.sd .sd-links a::before {
  content: "- ";
}

.cr-cat.sd .sd-links li.on a {
  color: hsl(224, 6%, 27%);
  font-weight: 700;
}

.cr-cat.sd .sd-aside h5 {
  font-family: "Rajdhani", cursive;
  font-size: 26px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 18px;
}

.cr-cat.sd .sd-aside p {
  font-family: "Play", cursive;
  font-size: 20px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
  margin: 0 0 16px;
  text-align: left;
}

.cr-cat.sd .sd-back {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #bbb;
}

.cr-cat.sd .sd-back a {
  font-size: 14px;
  color: hsl(209, 100%, 40%);
  font-weight: 700;
  text-decoration: none;
}

/* white / grey split panel */
.cr-cat.sd .sd-split {
  display: flex;
  flex-wrap: wrap;
  max-width: 1920px;
  margin: 0 auto;
}

.cr-cat.sd .sd-split-l {
  flex: 1 1 50%;
  min-width: 280px;
  padding: 36px 4% 40px 5%;
  background: #fff;
  box-sizing: border-box;
}

.cr-cat.sd .sd-split-r {
  flex: 1 1 50%;
  min-width: 280px;
  padding: 36px 5% 40px 4%;
  background: hsl(0, 0%, 90%);
  box-sizing: border-box;
}

.cr-cat.sd .sd-split-l h3 {
  font-family: "Rajdhani", cursive;
  font-size: 22px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.35;
}

.cr-cat.sd .sd-split-r p {
  font-family: "Play", cursive;
  font-size: 18px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
  margin: 0 0 14px;
  text-align: left;
}

.cr-cat.sd .sd-split-r .sd-fig {
  margin-top: 20px;
}

/* full-width text block */
.cr-cat.sd .sd-block {
  max-width: 1920px;
  margin: 0 auto;
  padding: 32px 5% 40px;
  background: #fff;
}

.cr-cat.sd .sd-block p,
.cr-cat.sd .sd-main p {
  font-family: "Play", cursive;
  font-size: 18px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
  margin: 0 0 12px;
  text-align: left;
}

.cr-cat.sd .sd-block ul,
.cr-cat.sd .sd-main ul,
.cr-cat.sd .sd-aside ul {
  font-family: "Play", cursive;
  font-size: 18px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
  padding-left: 1.2em;
  margin: 0 0 12px;
}

.cr-cat.sd .sd-block li,
.cr-cat.sd .sd-main li,
.cr-cat.sd .sd-aside li {
  margin-bottom: 6px;
}

/* quote bar (lighter blue) */
.cr-cat.sd .sd-quote {
  background: hsl(206, 22%, 52%);
  color: #fff;
  font-family: "Rajdhani", cursive;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 18px 5%;
  line-height: 1.45;
}

/* multi-line section bar */
.cr-cat.sd .sd-bar-multi {
  line-height: 1.6;
}

.cr-cat.sd .sd-bar-multi span {
  display: block;
}

/* ordered list in aside */
.cr-cat.sd .sd-ol {
  margin: 0 0 24px;
  padding-left: 1.2em;
  font-family: "Play", cursive;
  font-size: 20px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
}

.cr-cat.sd .sd-ol li {
  margin-bottom: 8px;
}

/* split sub-headings */
.cr-cat.sd .sd-split-r h4 {
  font-family: "Rajdhani", cursive;
  font-size: 20px;
  font-weight: 700;
  color: hsl(224, 6%, 27%);
  text-transform: uppercase;
  margin: 24px 0 12px;
  text-align: center;
}

.cr-cat.sd .sd-split-r h4:first-child {
  margin-top: 0;
}

.cr-cat.sd .sd-split-r ul {
  font-family: "Play", cursive;
  font-size: 18px;
  color: hsl(0, 0%, 20%);
  line-height: 1.55;
  padding-left: 1.2em;
  margin: 0 0 14px;
}

.cr-cat.sd .sd-split-r li {
  margin-bottom: 6px;
}

.cr-cat.sd .sd-split-r strong {
  font-weight: 700;
}

/* levelers hero bg */
.cr-cat.sd .sd-ban-level {
  background-image: url("/zh-hans/images/cr/steel/levelers/banner-spianatrice-2.jpg");
}

.cr-cat.sd .sd-type-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin: 0 0 8px;
}

.cr-cat.sd .sd-type-item {
  width: 180px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cr-cat.sd .sd-type-img {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s ease;
}

.cr-cat.sd .sd-type-item:hover .sd-type-img {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22), 0 6px 24px rgba(0, 0, 0, 0.16);
}

.cr-cat.sd .sd-type-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.cr-cat.sd .sd-type-item p {
  font-family: "Rajdhani", cursive;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: #3dbbf0;
  line-height: 1.35;
  margin: 10px 0 0;
}

.cr-cat.sd .sd-type-item:hover p {
  text-decoration: underline;
}

.cr-cat.sd [id^="lv-type"] {
  scroll-margin-top: 80px;
}

.cr-cat.sd .sd-tit-lub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cr-cat.sd .sd-tit-lub img {
  flex-shrink: 0;
  width: auto;
  height: 52px;
}

.cr-cat.sd .sd-fig-lub img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

.cr-cat.sd .sd-fig-lub-sm img {
  max-width: 320px;
}

/* levelers — product / diagram sizes (crsrl width attrs) */
.cr-cat.sd .sd-fig-prod img {
  max-width: 560px;
  width: 100%;
  height: auto;
}

.cr-cat.sd .sd-fig-prod-md img {
  max-width: 640px;
}

.cr-cat.sd .sd-fig-prod-lg img {
  max-width: 692px;
}

.cr-cat.sd .sd-fig-prod-xl img {
  max-width: 768px;
}

.cr-cat.sd .sd-fig-prod-wide img {
  max-width: 595px;
}

.cr-cat.sd .sd-fig-prod-coil img {
  max-width: 480px;
}

.cr-cat.sd .sd-fig-diagram img {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.cr-cat.sd .sd-ban-sinter,
.cr-cat.sd .sd-ban-coil {
  background-image: url("/zh-hans/images/cr/steel/sintering/banner-sinterizzazione.jpg");
}

.cr-cat.sd .sd-ban-sendz {
  background-image: url("/zh-hans/images/cr/steel/sendzimir/banner-laminatoio.jpg");
}

.cr-cat.sd .sd-ban-revamp {
  background-image: url("/zh-hans/images/cr/steel/revamping/banner-ripristino.jpg");
}

.cr-cat.sd .sd-ban-tension {
  background-image: url("/zh-hans/images/cr/steel/tension/banner-tensospianatrice-2.jpg");
}

.cr-cat.sd .sd-main .sd-fig + .sd-fig {
  margin-top: 40px;
}

/* legacy row wrapper (trolley / coil / revamping) */
.cr-cat.sd .sd-body {
  display: flex;
  flex-wrap: wrap;
  max-width: 1920px;
  margin: 0 auto;
  clear: both;
}

.cr-cat.sd .sd-body .span9.sd-main {
  flex: 1 1 62%;
  width: auto;
  float: none;
  margin-left: 0;
  padding: 0 2% 40px 5%;
  box-sizing: border-box;
}

.cr-cat.sd .sd-body .sd-aside {
  flex: 0 0 32%;
  float: none;
}

.cr-cat.sd .sd-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0 16px;
}

.cr-cat.sd .sd-col {
  flex: 1 1 280px;
}

.cr-cat.sd .sd-main .tw-para {
  float: none;
  width: 100%;
  clear: both;
}

.cr-cat.sd .sd-main .tw-para h2 {
  text-align: left;
  padding: 32px 32px 0 24px;
  margin: 0;
}

.cr-cat.sd .sd-main .tw-para .ptext {
  text-align: left;
}

.cr-cat.sd .sub {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed #ccc;
}

.cr-cat.sd .sub-h {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

@media (max-width: 900px) {
  .cr-cat.sd .sd-ban h2 {
    font-size: 26px;
    white-space: normal;
  }
  .cr-cat.sd .sd-ban-r { text-align: left; margin-top: 16px; }
  .cr-cat.sd .sd-main,
  .cr-cat.sd .sd-aside,
  .cr-cat.sd .sd-split-l,
  .cr-cat.sd .sd-split-r,
  .cr-cat.sd .sd-body .span9.sd-main,
  .cr-cat.sd .sd-body .sd-aside { flex: 1 1 100%; position: static; }
}
