/* MORI-EL RESOURCES V56
 * Text is HTML/CSS. Resource artwork is image-only presentation.
 * Loaded last to prevent legacy Resources rules from shrinking labels.
 */
body.r29-resources-page .res53-category-col{
  padding-right:1.05vw!important;
  min-width:0!important;
}
body.r29-resources-page .res53-category-col h2,
body.r29-resources-page .res53-section-label{
  font-family:"DM Sans",Arial,sans-serif!important;
  color:#18334f!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}
body.r29-resources-page .res53-category-col h2{
  font-size:clamp(10px,.82vw,14px)!important;
  line-height:1.15!important;
  margin:0!important;
}
body.r29-resources-page .res53-category-col ul{
  margin-top:1.05vw!important;
}
body.r29-resources-page .res53-category-col li{
  margin:0 0 .58vw!important;
}
body.r29-resources-page .res53-category-col a{
  gap:.52vw!important;
  min-height:1.45vw!important;
  color:#334b60!important;
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(10px,.72vw,13px)!important;
  line-height:1.2!important;
  font-weight:500!important;
  white-space:normal!important;
}
body.r29-resources-page .res53-cat-icon{
  width:clamp(10px,.8vw,14px)!important;
  height:clamp(10px,.8vw,14px)!important;
  min-width:clamp(10px,.8vw,14px)!important;
  min-height:clamp(10px,.8vw,14px)!important;
}

/* All visible card labels/titles/descriptions remain live HTML. */
body.r29-resources-page .res53-feature-copy,
body.r29-resources-page .res53-card-copy{
  position:relative!important;
  z-index:2!important;
  background:#fff!important;
}
body.r29-resources-page .res53-feature-copy>span,
body.r29-resources-page .res53-card-copy>span{
  display:inline-block!important;
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(8px,.55vw,10px)!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  color:#5c6b76!important;
}
body.r29-resources-page .res53-feature-copy h3{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(14px,.88vw,17px)!important;
  line-height:1.18!important;
  font-weight:700!important;
  color:#183550!important;
}
body.r29-resources-page .res53-feature-copy p{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(10px,.62vw,12px)!important;
  line-height:1.4!important;
  color:#566875!important;
}
body.r29-resources-page .res53-card-copy h3{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(12px,.7vw,14px)!important;
  line-height:1.22!important;
  font-weight:700!important;
  color:#183550!important;
}
body.r29-resources-page .res53-meta small{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(9px,.52vw,11px)!important;
  line-height:1.2!important;
}
body.r29-resources-page .res53-meta a{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(9px,.54vw,11px)!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
body.r29-resources-page .res53-all-head>a{
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(9px,.55vw,11px)!important;
  line-height:1.2!important;
}

/* Keep artwork as imagery only; do not place text overlays on the image boxes. */
body.r29-resources-page .res53-feature-img img,
body.r29-resources-page .res53-card-img img,
body.r29-resources-page .res53-hero-art img{
  display:block!important;
  filter:none!important;
}

@media(max-width:600px){
  body.r29-resources-page .res53-category-col h2{font-size:12px!important}
  body.r29-resources-page .res53-category-col a{font-size:11px!important;line-height:1.25!important}
  body.r29-resources-page .res53-feature-copy h3{font-size:16px!important}
  body.r29-resources-page .res53-feature-copy p{font-size:11px!important}
  body.r29-resources-page .res53-card-copy h3{font-size:12px!important}
  body.r29-resources-page .res53-meta small,
  body.r29-resources-page .res53-meta a{font-size:10px!important}
}

/* MORI-EL V57 — exact card grid + download links */
body.r29-resources-page .res53-library-grid{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:18% 25% minmax(0,57%)!important;
  grid-template-rows:minmax(0,1fr)!important;
  gap:0!important;
  box-sizing:border-box!important;
  padding:1.35vw 0 1.1vw!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-category-col,
body.r29-resources-page .res53-featured,
body.r29-resources-page .res53-all{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
}
body.r29-resources-page .res53-category-col{
  padding:0 1.05vw 0 0!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-featured{
  padding:0 1.05vw!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-all{
  padding:0 0 0 1.05vw!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-feature-card,
body.r29-resources-page .res53-card{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  min-width:0!important;
}
body.r29-resources-page .res53-feature-card{
  height:calc(100% - 1.1vw)!important;
  margin-top:1.1vw!important;
}
body.r29-resources-page .res53-cards{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:minmax(0,1fr)!important;
  gap:.65vw!important;
  margin-top:1.1vw!important;
  box-sizing:border-box!important;
}
body.r29-resources-page .res53-card{
  height:calc(100% - 1.1vw)!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-card-img{
  flex:0 0 43%!important;
  height:43%!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
body.r29-resources-page .res53-card-copy{
  min-height:0!important;
  padding:.55vw .55vw .55vw!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-card-copy h3{
  margin:.3vw 0 .35vw!important;
  min-height:2.45em!important;
  max-height:2.45em!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-card .res53-meta{
  flex:0 0 auto!important;
  width:100%!important;
  margin-top:auto!important;
  align-items:center!important;
  box-sizing:border-box!important;
}
body.r29-resources-page .res53-card .res53-meta small{
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.r29-resources-page .res53-download,
body.r29-resources-page .res53-meta a.res53-download{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.32em!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:5.25vw!important;
  height:1.85vw!important;
  padding:0 .65vw!important;
  box-sizing:border-box!important;
  border:1px solid #0d315a!important;
  border-radius:3px!important;
  background:#0d315a!important;
  color:#fff!important;
  text-decoration:none!important;
  cursor:pointer!important;
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:clamp(8px,.5vw,11px)!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  transition:background .15s ease,transform .15s ease,box-shadow .15s ease!important;
}
body.r29-resources-page .res53-download span{
  font-size:1.05em!important;
  line-height:1!important;
}
body.r29-resources-page .res53-download:hover{
  background:#173e6d!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 2px 6px rgba(13,49,90,.2)!important;
  transform:translateY(-1px)!important;
}
body.r29-resources-page .res53-feature-card .res53-download{
  min-width:5.4vw!important;
}
body.r29-resources-page .res53-view-all,
body.r29-resources-page .res53-explore{
  display:inline-flex!important;
  align-items:center!important;
  gap:.3em!important;
  color:#0d315a!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
body.r29-resources-page .res53-view-all:hover,
body.r29-resources-page .res53-explore:hover{
  text-decoration:underline!important;
}
body.r29-resources-page .res53-meta{
  flex-wrap:nowrap!important;
}

/* Keep the left category column visually balanced and prevent text from
   colliding with its divider or the featured column. */
body.r29-resources-page .res53-category-col h2{
  font-size:clamp(10px,.78vw,14px)!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
body.r29-resources-page .res53-category-col ul{
  margin:1.15vw 0 0!important;
}
body.r29-resources-page .res53-category-col li{
  margin:0 0 .58vw!important;
  padding:0!important;
}
body.r29-resources-page .res53-category-col a{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  gap:.48vw!important;
  font-size:clamp(9px,.66vw,12px)!important;
  line-height:1.18!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.r29-resources-page .res53-category-col a > span:last-child{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Featured card stays aligned to the same top/bottom boundaries as the
   four all-resource cards. */
body.r29-resources-page .res53-feature-img{
  flex:0 0 46%!important;
  height:46%!important;
  min-height:0!important;
}
body.r29-resources-page .res53-feature-copy{
  min-height:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-feature-copy h3{
  min-height:2.35em!important;
  max-height:2.35em!important;
  overflow:hidden!important;
}
body.r29-resources-page .res53-feature-copy p{
  max-height:2.8em!important;
  overflow:hidden!important;
}

/* Desktop/tablet reference composition. */
@media (min-width:601px){
  body.r29-resources-page .res53-library-grid{
    width:92.5%!important;
    max-width:1380px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media (max-width:900px) and (min-width:601px){
  body.r29-resources-page .res53-category-col a{font-size:10px!important}
  body.r29-resources-page .res53-card-copy h3{font-size:12px!important}
  body.r29-resources-page .res53-download{min-width:68px!important;height:28px!important;font-size:9px!important;padding:0 8px!important}
}
@media (max-width:600px){
  body.r29-resources-page .res53-library-grid{
    width:100%!important;
    display:block!important;
    padding:20px 0!important;
    overflow:visible!important;
  }
  body.r29-resources-page .res53-category-col,
  body.r29-resources-page .res53-featured,
  body.r29-resources-page .res53-all{
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.r29-resources-page .res53-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.r29-resources-page .res53-card{
    height:auto!important;
    min-height:250px!important;
  }
  body.r29-resources-page .res53-download{
    min-width:70px!important;
    height:30px!important;
    padding:0 9px!important;
    font-size:9px!important;
  }
}


/* MORI-EL V58 — image-only resource artwork + readable download buttons */
body.r29-resources-page .res53-feature-img,
body.r29-resources-page .res53-card-img{
  background:#eef2f4!important;
  overflow:hidden!important;
  position:relative!important;
}
body.r29-resources-page .res53-feature-img img,
body.r29-resources-page .res53-card-img img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Keep every card label and description in live HTML below the image. */
body.r29-resources-page .res53-feature-copy,
body.r29-resources-page .res53-card-copy{
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
  position:relative!important;
  z-index:2!important;
}
body.r29-resources-page .res53-feature-copy>span,
body.r29-resources-page .res53-card-copy>span,
body.r29-resources-page .res53-feature-copy h3,
body.r29-resources-page .res53-card-copy h3,
body.r29-resources-page .res53-feature-copy p,
body.r29-resources-page .res53-meta small{
  opacity:1!important;
  visibility:visible!important;
}

/* High-contrast button treatment so DOWNLOAD never disappears or becomes unreadable. */
body.r29-resources-page a.res53-download{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:92px!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border:1px solid #0d315a!important;
  border-radius:4px!important;
  background:#0d315a!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:none!important;
  font-family:"DM Sans",Arial,sans-serif!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.03em!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  flex:0 0 auto!important;
  box-shadow:none!important;
}
body.r29-resources-page a.res53-download span{
  display:inline!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  margin-left:4px!important;
  font-size:14px!important;
  line-height:1!important;
}
body.r29-resources-page a.res53-download:hover,
body.r29-resources-page a.res53-download:focus{
  background:#173e6d!important;
  border-color:#173e6d!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-decoration:none!important;
  outline:none!important;
}
body.r29-resources-page .res53-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  margin-top:auto!important;
}
body.r29-resources-page .res53-card .res53-meta small,
body.r29-resources-page .res53-feature-card .res53-meta small{
  color:#536775!important;
  opacity:1!important;
  visibility:visible!important;
}

@media(max-width:600px){
  body.r29-resources-page a.res53-download{
    min-width:96px!important;
    min-height:38px!important;
    font-size:11px!important;
    padding:8px 12px!important;
  }
  body.r29-resources-page .res53-card-copy,
  body.r29-resources-page .res53-feature-copy{
    overflow:visible!important;
  }
}

/* MORI-EL v76.2 — Resources readability refinement */
body.r29-resources-page .res53-hero-copy p{
  font-size:clamp(12px,.82vw,15px)!important;
  line-height:1.5!important;
  max-width:34vw!important;
}
body.r29-resources-page .res53-category-col h2{
  font-size:clamp(12px,.9vw,15px)!important;
}
body.r29-resources-page .res53-category-col a{
  font-size:clamp(12px,.8vw,14px)!important;
  line-height:1.3!important;
}
@media(max-width:900px){
  body.r29-resources-page .res53-hero-copy p{font-size:13px!important;max-width:520px!important}
  body.r29-resources-page .res53-category-col a{font-size:12.5px!important}
}
@media(max-width:600px){
  body.r29-resources-page .res53-hero-copy p{font-size:13px!important;line-height:1.5!important}
  body.r29-resources-page .res53-category-col h2{font-size:13px!important}
  body.r29-resources-page .res53-category-col a{font-size:12px!important;line-height:1.3!important}
}


/* v85.33 - Social icon brand colors */
.site-footer .socials a[aria-label="LinkedIn"],
.site-footer .socials a[title="LinkedIn"],
.mec-footer-follow .socials a[aria-label="LinkedIn"],
.mec-footer-follow .socials a[title="LinkedIn"],
.cr-socials a[aria-label="LinkedIn"],
.cr-socials a[title="LinkedIn"] { color:#0A66C2 !important; }

.site-footer .socials a[aria-label="Facebook"],
.site-footer .socials a[title="Facebook"],
.mec-footer-follow .socials a[aria-label="Facebook"],
.mec-footer-follow .socials a[title="Facebook"],
.cr-socials a[aria-label="Facebook"],
.cr-socials a[title="Facebook"] { color:#1877F2 !important; }

.site-footer .socials a[aria-label="Instagram"],
.site-footer .socials a[title="Instagram"],
.mec-footer-follow .socials a[aria-label="Instagram"],
.mec-footer-follow .socials a[title="Instagram"],
.cr-socials a[aria-label="Instagram"],
.cr-socials a[title="Instagram"] { color:#E4405F !important; }

.site-footer .socials a[aria-label] svg,
.mec-footer-follow .socials a[aria-label] svg,
.cr-socials a[aria-label] svg { fill:currentColor !important; color:inherit !important; }

.site-footer .socials a[aria-label="Instagram"] svg rect,
.site-footer .socials a[aria-label="Instagram"] svg circle,
.cr-socials a[aria-label="Instagram"] svg rect,
.cr-socials a[aria-label="Instagram"] svg circle { stroke:currentColor !important; }

.site-footer .socials a:hover,
.mec-footer-follow .socials a:hover,
.cr-socials a:hover { opacity:.86; }

