/* YCCD v19.1.2 — Exact Focus Cards design for Accreditation.
   Isolated overlay: does not modify or override the design of other pages.
   Loaded after public.css to fix missing card styles from v19.1.1. */
/* Reuse the same layout, typography, gaps, shadows, and icon colors as About. */
body.v18.slug-accreditation .ui-page-cards.ui-page-service-cards.yccd-focus-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(16px,1.9vw,26px);
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid > article.yccd-focus-card {
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:start;
  gap:clamp(15px,1.8vw,23px);
  min-height:154px;
  padding:clamp(23px,2.5vw,33px);
  border:1px solid #e9dbe0;
  border-radius:22px;
  background:linear-gradient(145deg,#fff 0%,#fff 69%,#fcf8f9 100%);
  box-shadow:0 14px 32px rgba(50,20,33,.045);
  overflow:hidden;
  box-sizing:border-box;
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid > article.yccd-focus-card:not(.has-icon){grid-template-columns:minmax(0,1fr)}
body.v18.slug-accreditation .yccd-focus-card::before{
  content:"";
  position:absolute;
  inset-block-start:0;
  inset-inline-start:clamp(23px,2.5vw,33px);
  height:3px;width:48px;
  border-radius:0 0 4px 4px;
  background:linear-gradient(90deg,var(--accent,#c7a568),rgba(199,165,104,.18));
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon{
  display:grid;
  place-items:center;
  margin:0;
  inline-size:64px;
  block-size:64px;
  border-radius:18px;
  border:1px solid rgba(116,22,47,.08);
  background:#f6eaf0;
  color:var(--brand,#74162f);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon svg,
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon .yccd-bi-icon {
  display:block;
  inline-size:30px;
  block-size:30px;
  max-inline-size:100%;
  fill:currentColor;
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-copy {min-width:0;align-self:center}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-copy h3 {
  margin:0 0 7px;
  color:#321c26;
  font-size:clamp(18px,1.55vw,23px);
  line-height:1.5;
  font-weight:800;
  overflow-wrap:anywhere;
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-copy p {
  margin:0;
  color:#74666c;
  font-size:clamp(13px,1vw,15px);
  line-height:1.85;
  overflow-wrap:anywhere;
  white-space:normal;
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid > article.yccd-focus-card:hover {
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(50,20,33,.075);
  border-color:#dfc9d1;
}
@media(max-width:850px){
  body.v18.slug-accreditation .ui-page-cards.ui-page-service-cards.yccd-focus-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid > article.yccd-focus-card{
    grid-template-columns:52px minmax(0,1fr);
    min-height:0;padding:21px 18px;gap:14px;border-radius:18px;
  }
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon{
    inline-size:52px;block-size:52px;border-radius:14px;
  }
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon svg,
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon .yccd-bi-icon{
    inline-size:25px;block-size:25px;
  }
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-copy h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid > article.yccd-focus-card{transition:none!important}
}

/* Defensive fixed limits on all icon renderers, even if other stylesheets change SVG defaults. */
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon {
  inline-size:64px;
  block-size:64px;
  min-inline-size:64px;
  max-inline-size:64px;
  min-block-size:64px;
  max-block-size:64px;
  flex:none;
  overflow:hidden;
  color:var(--brand,#74162f);
}
body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon :is(svg,.yccd-principle-svg,.yccd-bi-icon) {
  display:block;
  inline-size:30px !important;
  block-size:30px !important;
  min-inline-size:0;
  min-block-size:0;
  max-inline-size:30px !important;
  max-block-size:30px !important;
  color:inherit;
  fill:currentColor;
  flex:none;
  object-fit:contain;
}
@media(max-width:600px){
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon {
    inline-size:52px;block-size:52px;min-inline-size:52px;max-inline-size:52px;
    min-block-size:52px;max-block-size:52px;
  }
  body.v18.slug-accreditation .ui-page-cards.yccd-focus-grid .yccd-focus-card-icon :is(svg,.yccd-principle-svg,.yccd-bi-icon){
    inline-size:25px !important;block-size:25px !important;
    max-inline-size:25px !important;max-block-size:25px !important;
  }
}
