/* stylelint-disable-next-line wrap-rem-on-px/wrap-rem-on-px */
/* stylelint-disable wrap-rem-on-px/wrap-rem-on-px */
/* stylelint-enable wrap-rem-on-px/wrap-rem-on-px */
/*
USAGE:
font-size: fluid(12, 62); : from rem(12)@380px to  rem(62)@1440px
gap: fluid(10, 33, 992);  : from rem(10)@991px to  rem(33)@1440px
margin-right: fluid(32, 65, 320, 2560);  : from rem(32)@320px to  rem(65)@2560px
*/
/*
AUTOFILL

USAGE:
@include mixin.autofill(background-color, text-color);
@include mixin.autofill;

Note: Call this mixin in the wrapper or container to where you intend to manipulate the
      default chrome autofill styles for input, textarea and select elements.
*/
/* stylelint-disable */
/* stylelint-enable */
.editor p {
  margin: 0 0 1rem;
}
.editor p:last-child {
  margin-bottom: 0;
}
.editor ul,
.editor ol {
  margin: 0;
  padding: 0 0 0 1.875rem;
}
.editor ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: disc;
  list-style-position: outside;
}
.editor ol {
  list-style-type: decimal;
  list-style-position: outside;
}
.editor ul > li {
  display: list-item;
  margin: 0;
  list-style-type: disc;
  list-style-position: outside;
  text-align: start;
}
.editor ol > li {
  display: list-item;
  margin: 0;
  list-style-type: decimal;
  list-style-position: outside;
  text-align: start;
}
.editor a {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.editor a:hover {
  text-decoration: none;
}
.editor a:focus-visible {
  text-decoration: none;
  outline: 0.125rem solid currentColor;
  outline-offset: 0.125rem;
}
.editor strong,
.editor b {
  font-weight: 700;
}
.editor em,
.editor i {
  font-style: italic;
}
.editor u {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.editor s,
.editor del,
.editor strike {
  text-decoration: line-through;
}

.resource-card {
  --resource-card-bg: #516a40;
  --resource-card-text: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.5rem 2.5rem;
  gap: 1.25rem;
  border-radius: 2.5rem;
  background-color: var(--resource-card-bg);
  color: var(--resource-card-text);
  text-align: center;
  overflow: hidden;
  align-items: center;
}
@media screen and (min-width:991px) {
  .resource-card {
    padding: 2.25rem 2.25rem 1.6875rem;
    gap: 1.5rem;
    border-radius: 5.25rem;
  }
}
.resource-card[style*="--resource-card-bg: #eeac48"], .resource-card[style*="--resource-card-bg: #edac49"] {
  --resource-card-text: #1b2a4b;
}
.resource-card header {
  margin: 0;
}
.resource-card h3 {
  margin: 0;
  color: var(--resource-card-text);
  font-family: "Radio Canada", sans-serif;
  font-size: clamp(1.75rem, 1.03774vw + 1.5035375rem, 2.4375rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}
@media screen and (min-width:1199px) {
  .resource-card h3 {
    margin-bottom: 0.375rem;
  }
}
.resource-card__media {
  position: relative;
  width: 100%;
  max-width: 18.75rem;
  overflow: hidden;
}
.resource-card__media figure {
  margin: 0;
}
.resource-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 18.75rem;
  object-fit: cover;
  object-position: center;
}
@media screen and (min-width:991px) {
  .resource-card__media img {
    max-height: 20rem;
  }
}
.resource-card__media--video {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16/9;
  max-height: none;
  overflow: hidden;
}
.resource-card__media--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(24, 43, 75, 0.3) 0%, rgba(24, 43, 75, 0.3) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .resource-card__media--video::before {
    transition: none;
  }
}
.resource-card__media--video.is-playing::before {
  opacity: 0;
}
.resource-card__media--video:has(.js-resource-card-play) {
  cursor: pointer;
}
.resource-card__media--video figure {
  margin: 0;
  height: 100%;
}
.resource-card__media--video figure.is-hidden {
  display: none;
}
.resource-card__media--video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.resource-card__media--video video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  cursor: pointer;
}
.resource-card__media--video:has(.resource-card__play:not(.is-hidden)) figure,
.resource-card__media--video:has(.resource-card__play:not(.is-hidden)) figure img,
.resource-card__media--video:has(.resource-card__play:not(.is-hidden)) video {
  pointer-events: none;
}
.resource-card__embed {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 11.25rem;
  overflow: hidden;
  cursor: pointer;
}
.resource-card__embed.is-hidden {
  display: none;
}
.resource-card__embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  aspect-ratio: unset;
  cursor: pointer;
}
.resource-card__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4375rem;
  height: 4.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #edab48;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  opacity: 1;
  visibility: visible;
  transition: color 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
}
@media screen and (min-width:700px) {
  .resource-card__play {
    width: 5.4375rem;
    height: 5.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .resource-card__play {
    transition: none;
  }
}
.resource-card__play:hover:not(.is-hidden) {
  color: #e9971b;
}
.resource-card__play:focus-visible {
  outline: 0.125rem solid #fff;
  outline-offset: 0.1875rem;
}
.resource-card__play.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .resource-card__play.is-hidden {
    transition: none;
  }
}
.resource-card__play-icon {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.resource-card__description {
  margin: 0;
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  color: var(--resource-card-text);
  font-family: "Radio Canada", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.625rem;
  text-align: center;
  overflow-wrap: break-word;
}
.resource-card__description p {
  margin: 0 0 1rem;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
  overflow-wrap: inherit;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.resource-card__description p:last-child {
  margin-bottom: 0;
}
.resource-card__description ul,
.resource-card__description ol {
  margin: 0;
  padding: 0 0 0 1.875rem;
  text-align: start;
}
.resource-card__description ul {
  display: flex;
  flex-direction: column;
  list-style-type: disc;
  list-style-position: outside;
}
.resource-card__description ol {
  list-style-type: decimal;
  list-style-position: outside;
}
.resource-card__description ul > li {
  display: list-item;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  list-style-type: disc;
  list-style-position: outside;
  text-align: start;
}
.resource-card__description ol > li {
  display: list-item;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  list-style-type: decimal;
  list-style-position: outside;
  text-align: start;
}
.resource-card__description a {
  color: inherit;
}
.resource-card__description.editor p a {
  font-size: 1.25rem;
}
.resource-card__description.editor p a:hover {
  text-decoration-thickness: 0.15625rem;
  color: inherit;
}
.resource-card__description.editor p a:focus-visible {
  color: inherit;
  text-decoration-thickness: 0.15625rem;
}
@media screen and (min-width:991px) {
  .resource-card__description {
    max-width: 21.5625rem;
  }
}
@media screen and (min-width:1199px) {
  .resource-card__description {
    margin-bottom: 2.5625rem;
  }
}

.resource-card--related {
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 0.75rem;
  gap: 0;
  border-radius: 1rem;
}
@media screen and (min-width:1199px) {
  .resource-card--related {
    border-radius: 1.5rem;
  }
}
.resource-card--related header {
  width: 100%;
  max-width: none;
  margin: 0 0 1.125rem;
  padding: 0 1.25rem;
}
@media screen and (min-width:700px) {
  .resource-card--related header {
    margin-bottom: 0;
  }
}
@media screen and (min-width:1199px) {
  .resource-card--related header {
    margin-bottom: 0.9375rem;
  }
}
.resource-card--related h3 {
  margin: 0;
  color: var(--resource-card-text);
  font-family: "Radio Canada", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}
@media screen and (min-width:1199px) {
  .resource-card--related h3 {
    font-size: 1.875rem;
  }
}
.resource-card--related .resource-card__description,
.resource-card--related .resource-card__description.editor {
  width: 100%;
  margin: 0;
  padding: 0 1.25rem;
  color: var(--resource-card-text);
  font-family: "Figtree", sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
@media screen and (min-width:700px) {
  .resource-card--related .resource-card__description,
  .resource-card--related .resource-card__description.editor {
    padding: 0;
  }
}
@media screen and (min-width:1199px) {
  .resource-card--related .resource-card__description,
  .resource-card--related .resource-card__description.editor {
    font-size: 1.25rem;
    line-height: 1.4;
    text-align: center;
  }
}
.resource-card--related .resource-card__description p,
.resource-card--related .resource-card__description li,
.resource-card--related .resource-card__description a,
.resource-card--related .resource-card__description strong,
.resource-card--related .resource-card__description em,
.resource-card--related .resource-card__description span,
.resource-card--related .resource-card__description.editor p,
.resource-card--related .resource-card__description.editor li,
.resource-card--related .resource-card__description.editor a,
.resource-card--related .resource-card__description.editor strong,
.resource-card--related .resource-card__description.editor em,
.resource-card--related .resource-card__description.editor span {
  color: var(--resource-card-text);
}
.resource-card--related .resource-card__description p,
.resource-card--related .resource-card__description.editor p {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: center;
  overflow-wrap: break-word;
}
.resource-card--related .resource-card__description p:last-child,
.resource-card--related .resource-card__description.editor p:last-child {
  margin-bottom: 0;
}
.resource-card--related > header + .resource-card__description {
  margin-top: 1rem;
}
.resource-card--related > .btn--learn-more {
  flex-shrink: 0;
  margin-top: 1.5rem;
  min-height: 0;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: none;
}

.resource-card--quick {
  --resource-card-bg: #1b2a4b;
  padding: 1.5rem 1.25rem 2rem;
  gap: 1rem;
}
@media screen and (min-width:991px) {
  .resource-card--quick {
    padding: 1.75rem 1.5rem 2.25rem;
    gap: 0.9375rem;
  }
}
@media screen and (min-width:1199px) {
  .resource-card--quick {
    width: 100%;
    max-width: 17.25rem;
    padding-top: 1.0625rem;
    padding-bottom: 1.375rem;
    padding-inline: 0.75rem;
    border-radius: 4.75rem;
  }
}
.resource-card--quick header {
  margin-bottom: 0.1875rem;
}
.resource-card--quick header h3,
.resource-card--quick h3 {
  margin-bottom: 0;
}
.resource-card--quick .resource-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 6.125rem;
  min-height: 6.125rem;
  margin: 0 auto;
}
.resource-card--quick .resource-card__icon img {
  display: block;
  width: auto;
  max-width: 7.125rem;
  height: auto;
  object-fit: contain;
}
.resource-card--quick h3 {
  font-size: clamp(1.375rem, 0.37736vw + 1.2853775rem, 1.625rem);
  line-height: normal;
  text-transform: uppercase;
  white-space: pre-line;
}
@media screen and (min-width:991px) {
  .resource-card--quick h3 {
    line-height: 92.308%;
    min-height: 2.9375rem;
  }
}
.resource-card--quick .resource-card__description {
  padding-inline: 0.75rem;
  font-size: 1rem;
  line-height: 1.3125rem;
  text-align: center;
}
@media screen and (min-width:991px) {
  .resource-card--quick .resource-card__description {
    padding-inline: 1rem;
  }
}
@media screen and (min-width:1199px) {
  .resource-card--quick .resource-card__description {
    padding-left: 0.5625rem;
    padding-right: 0;
    margin-bottom: 0.5625rem;
  }
}
.resource-card--quick .resource-card__description p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.resource-card--quick .resource-card__description.editor ul,
.resource-card--quick .resource-card__description.editor ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  text-align: start;
}
.resource-card--quick .resource-card__description.editor ul:last-child,
.resource-card--quick .resource-card__description.editor ol:last-child {
  margin-bottom: 0;
}
.resource-card--quick .resource-card__description.editor ul > li,
.resource-card--quick .resource-card__description.editor ol > li {
  margin-bottom: 0.5rem;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.resource-card--quick .resource-card__description.editor ul > li:last-child,
.resource-card--quick .resource-card__description.editor ol > li:last-child {
  margin-bottom: 0;
}
.resource-card--quick .resource-card__description.editor p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.resource-card--quick > .btn--learn-more {
  font-size: 1rem;
  line-height: 95%;
  text-align: center;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  color: #182b4b;
}
@media screen and (min-width:1320px) {
  .resource-card--quick > .btn--learn-more {
    max-width: 8.4375rem;
  }
}
.resource-card--quick > .btn--learn-more:hover, .resource-card--quick > .btn--learn-more:focus-visible {
  color: #182b4b;
}

.section.section--resource-grid {
  padding-top: 2.5rem;
  padding-bottom: 3.5625rem;
}
@media screen and (min-width:700px) {
  .section.section--resource-grid {
    padding-bottom: 2.5rem;
  }
}
@media screen and (min-width:991px) {
  .section.section--resource-grid {
    padding: 2.75rem 0 5rem;
  }
}
.section.section--resource-grid:has(+ .section.section--vaccine-steps.vaccine-steps--no-header) {
  padding-bottom: 0.875rem;
}
@media screen and (min-width:991px) {
  .section.section--resource-grid:has(+ .section.section--vaccine-steps.vaccine-steps--no-header) {
    padding: 2.75rem 0 0.625rem;
  }
}

.resource-grid__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media screen and (min-width:991px) {
  .resource-grid__inner {
    gap: 3.75rem;
  }
}
.resource-grid header {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  align-items: center;
  margin: 0;
  text-align: center;
}
@media screen and (min-width:991px) {
  .resource-grid header {
    gap: 1.25rem;
  }
}
.resource-grid h2 {
  margin: 0;
  color: #1b2a4b;
  font-family: "Radio Canada", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.035rem;
  text-transform: uppercase;
}
@media screen and (min-width:991px) {
  .resource-grid h2 {
    font-size: clamp(2rem, 1.88679vw + 1.551886875rem, 3.25rem);
    letter-spacing: -0.065rem;
  }
}
.resource-grid header p {
  margin: 0;
  color: #222;
  font-family: "Figtree", sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
@media screen and (min-width:991px) {
  .resource-grid header p {
    font-size: clamp(1.125rem, 0.18868vw + 1.08018875rem, 1.25rem);
  }
}
.resource-grid ul {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media screen and (min-width:991px) {
  .resource-grid ul {
    gap: 1.75rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.resource-grid li {
  min-width: 0;
  display: flex;
}
@media screen and (min-width:991px) {
  .resource-grid li {
    grid-column: span 2;
  }
}
.resource-grid li.resource-card--wide .resource-card__media--video,
.resource-grid li.resource-card--wide .resource-card__media:has(> video) {
  border: 0.0625rem solid #000;
}
.resource-grid li.resource-card--wide .resource-card__media figure {
  height: 100%;
}
@media screen and (min-width:700px) {
  .resource-grid li.resource-card--wide .resource-card__media {
    min-height: 17.5625rem;
  }
}
@media screen and (min-width:991px) {
  .resource-grid li.resource-card--wide {
    grid-column: span 3;
  }
  .resource-grid li.resource-card--wide .resource-card__media {
    max-height: 17.5625rem;
    border-radius: 1.25rem;
    overflow: hidden;
  }
  .resource-grid li.resource-card--wide .resource-card__media figure img {
    height: 100%;
    border-radius: 0;
  }
}
@media screen and (min-width:1199px) {
  .resource-grid li.resource-card--wide .resource-card__media {
    max-height: 23.6875rem;
  }
}
.resource-grid .resource-card {
  width: 100%;
  padding: 0.625rem 0.625rem 2.5rem;
  gap: 0;
  border-radius: 1rem;
  align-items: stretch;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card {
    padding: 0.75rem 0.75rem 2.5rem;
    border-radius: 1.5rem;
  }
}
.resource-grid .resource-card header {
  order: 2;
  margin: 0 0 1rem;
  width: 100%;
}
.resource-grid .resource-card h3 {
  max-width: none;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card h3 {
    font-size: clamp(1.5rem, 0.56604vw + 1.36556625rem, 1.875rem);
  }
}
.resource-grid .resource-card__media {
  order: 1;
  width: 100%;
  max-width: none;
  margin: 0 0 1.5rem;
}
.resource-grid .resource-card__media figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card__media figure img {
    border-radius: 1.25rem;
  }
}
@media screen and (min-width:1199px) {
  .resource-grid .resource-card__media figure img {
    aspect-ratio: 397/360;
  }
}
.resource-grid .resource-card__media--video {
  border-radius: 1rem;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card__media--video {
    border-radius: 1.25rem;
  }
}
@media screen and (min-width:1199px) {
  .resource-grid .resource-card__media--video {
    aspect-ratio: 397/360;
  }
}
.resource-grid .resource-card__media--video video,
.resource-grid .resource-card__media--video .resource-card__embed {
  border-radius: 1rem;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card__media--video video,
  .resource-grid .resource-card__media--video .resource-card__embed {
    border-radius: 1.25rem;
  }
}
.resource-grid .resource-card__media--video::before {
  border-radius: 1rem;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card__media--video::before {
    border-radius: 1.25rem;
  }
}
.resource-grid .resource-card__description {
  order: 3;
  flex-grow: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
  color: var(--resource-card-text);
  font-family: "Figtree", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
@media screen and (min-width:991px) {
  .resource-grid .resource-card__description {
    padding-inline: 1.25rem;
    font-size: clamp(1.125rem, 0.18868vw + 1.08018875rem, 1.25rem);
  }
}
.resource-grid .resource-card__description p {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.resource-grid .resource-card__description ul {
  display: block;
  padding-right: 1.1875rem;
  padding-left: 1.1875rem;
}
.resource-grid .resource-card:has(> .btn--learn-more) .resource-card__description {
  margin-bottom: 1.5rem;
}
.resource-grid .resource-card > .btn--learn-more {
  order: 4;
  align-self: center;
  min-height: 0;
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
