/* yutd heading hierarchy agaralex 2026-07-05 */
body.tpl-styled h1:not(.yutd-seo-h1),
body.tpl-styled .yutd-page-title,
body.tpl-styled .yutd-normalized-h1 {
  font-size: 22px !important;
  line-height: 1.22 !important;
  margin: 10px 0 14px !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}

body.tpl-body-site-10 #lamarty_cont_top_line h1,
body.tpl-body-site-10 #second_top_line h1 {
  font-size: 18px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

body.tpl-body-site-13 h1:not(.yutd-seo-h1) {
  font-size: 22px !important;
  line-height: 1.22 !important;
}

body.tpl-styled h2,
body.tpl-styled .title-secondary,
body.tpl-styled .docs-category-title,
body.tpl-styled .cert-category-title,
body.tpl-styled .yutd-section-title,
body.tpl-styled .header-with-bg {
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.tpl-styled h3 {
  font-size: 15px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

body.tpl-styled h4,
body.tpl-styled h5,
body.tpl-styled h6,
body.tpl-styled .documents__header {
  font-size: 13px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

#lamarty_cont_top_line h1,
#second_top_line h1,
.yutd-page-title,
#content > h1,
#cont_txt > h1 {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

#content h2,
#cont_txt h2,
#content .yutd-dealer-box h2,
#cont_txt .yutd-dealer-box h2,
#content .stamping-detail h2,
#cont_txt .stamping-detail h2,
#content .title-secondary,
#cont_txt .title-secondary,
#content .docs-category-title,
#cont_txt .docs-category-title,
#content .cert-category-title,
#cont_txt .cert-category-title,
#content .yutd-section-title,
#cont_txt .yutd-section-title {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

#content .stamping-detail h1,
#cont_txt .stamping-detail h1 {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.tpl-body-site-13 td h2,
.tpl-body-site-13 .grid h2,
.tpl-body-site-13 .grid-item h2 {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

body.tpl-body-site-13 .yutd-page-title {
  clear: both !important;
  display: block !important;
  width: auto !important;
  max-width: min(900px, calc(100vw - 270px)) !important;
  margin: 10px 0 12px !important;
  padding: 0 !important;
  text-align: left !important;
}

body.tpl-body-site-13 .yutd-syply-application-grid {
  display: block !important;
  clear: both !important;
  width: min(900px, calc(100vw - 270px)) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  column-count: 2;
  column-gap: 10px;
  column-fill: balance;
}

body.tpl-body-site-13 .yutd-syply-application-grid::after {
  content: "";
  display: block;
  clear: both;
}

body.tpl-body-site-13 .yutd-syply-application-grid > .grid-item {
  display: inline-block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 10px !important;
  padding-top: 0 !important;
  vertical-align: top !important;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

body.tpl-body-site-13 .yutd-syply-application-grid > img.grid-item[src*="/content/application/application.png"] {
  display: none !important;
}

body.tpl-body-site-13 .yutd-syply-application-grid table {
  max-width: 100% !important;
}

body.tpl-body-site-13 .yutd-syply-application-grid img {
  max-width: 100%;
}

#content h3,
#cont_txt h3,
#content .yutd-dealer-box h3,
#cont_txt .yutd-dealer-box h3,
#content .stamping-detail h3,
#cont_txt .stamping-detail h3 {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

#content h2,
#cont_txt h2,
#content h3,
#cont_txt h3 {
  letter-spacing: 0 !important;
}

@media (max-width: 640px) {
  body.tpl-styled h1:not(.yutd-seo-h1),
  body.tpl-styled .yutd-page-title,
  body.tpl-styled .yutd-normalized-h1 {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  #lamarty_cont_top_line h1,
  #second_top_line h1,
  .yutd-page-title,
  #content > h1,
  #cont_txt > h1 {
    font-size: 18px !important;
  }

  #content h2,
  #cont_txt h2,
  #content .yutd-dealer-box h2,
  #cont_txt .yutd-dealer-box h2,
  #content .stamping-detail h2,
  #cont_txt .stamping-detail h2,
  #content .title-secondary,
  #cont_txt .title-secondary,
  #content .docs-category-title,
  #cont_txt .docs-category-title,
  #content .cert-category-title,
  #cont_txt .cert-category-title,
  #content .yutd-section-title,
  #cont_txt .yutd-section-title,
  .tpl-body-site-13 td h2,
  .tpl-body-site-13 .grid h2,
  .tpl-body-site-13 .grid-item h2 {
    font-size: 16px !important;
  }

  body.tpl-body-site-13 .yutd-syply-application-grid {
    column-width: auto;
    column-count: 1;
    max-width: 100% !important;
  }

  body.tpl-body-site-13 .yutd-syply-application-grid > .grid-item {
    width: 100% !important;
  }
}
