/**************************************
********** EHU .card-subtext **********
***************************************/
.related {
    background-color: #fff;
    float: left;
    width: 100%;
    padding: 3rem 0;
}
.related__content, .related__panel, .related__panel:hover, .related__panel:hover .related__content {
    background-color: var(--ehu-color-black-10);
}
.related+.related {
    padding-top: 0;
}
.related-wrap {
    display: grid;
    grid-gap: 1.5rem;
    margin: 1.5rem 0 0;
}
.related__panel {
    display: inline;
    text-decoration: none;
    color: initial;
    height: 100%}
.related__panel:focus .related__content {
    background-color: var(--ehu-colors-outline-yellow);
}
.related__subheading {
    color: var(--ehu-colors-primary-dark);
    font-weight: 500;
    margin: 1.5rem 0;
    font-size: 1.125rem;
}
.related__panel img {
    transition: .3s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
a.related__panel:hover img {
    transform: scale(1.05);
}
.related__image-wrap {
    overflow: hidden;
}
.related__tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--ehu-color-primary)!important;
  background-color: var(--ehu-color-white);
  font-weight: 700;
  padding: 0 4px!important;
}
.related__content {
    padding: .75rem;
    border-top: .3rem solid var(--ehu-color-primary);
    margin: 0;
}
div.expander-wrap .related__content {
    background-color: #fff!important;
}
div.expander-wrap .related__panel:hover, div.expander-wrap .related__panel:hover .related__content {
    outline: 1px solid var(--ehu-colors-primary);
    background-color: #fff!important;
}
.related__title {
    margin: 0;
    font-size: 1rem;
    color: var(--ehu-colors-text-black);
    font-weight: 700;
}
.wp-block-lazyblock-ehu-card {
  display: flex;
}
.wp-block-lazyblock-ehu-card .card-subtext{
  font-size: var(--ehu-font-size-base);
}
.wp-block-column:has(.wp-block-lazyblock-ehu-card) {
  background-color: var(--ehu-color-black-10);
}
.wp-block-lazyblock-ehu-card .related__panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.wp-block-lazyblock-ehu-card .related__content {
  flex: 1 1 auto;
}
.card-subtext {
  font-size: var(--ehu-font-size-base);
}
.card-subtext, .related__date, .related__time {
    color: var(--ehu-colors-text-black);
    font-size: .875rem;
}
.related__title, .related__title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.related__title-flex {
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.related__title-flex h2 {
    margin: 0;
}
div.card-subtext>p {
    padding-top: 12px;
}
div.card-subtext>ul {
    margin-left: 1.5rem;
    margin-top: .25rem;
    padding: .375rem;
}
div.card-subtext>ol {
    margin-bottom: 0;
}
div.card-subtext>ol li, div.card-subtext>ul li {
    line-height: 1.5;
}
div.card-subtext>ol li p, div.card-subtext>ul li p {
    line-height: 1.55;
}
div.ehu-card-subtext p:nth-child(2), p {
    padding: 1.5rem 0 0;
}
.ehu-card-subtext {
    padding: .75rem 0;
    margin: 0;
}
.related__date, .related__time {
    margin: 0 0 .375rem;
    padding: 0 .75rem;
    display: inline-block;
}
.related__date span, .related__time span {
    color: var(--ehu-color-primary);
    margin-right: .375rem;
}
.wp-block-column .related__panel {
    grid-template-columns: 1fr;
}
.cta-standout, .related__content, .related__panel, a.cta, p.faux-cta {
    transition: background-color .3s ease-in-out;
}

.card-subtext p.ehu-card-subtext:first-child {
    margin: 0;
    line-height: 1.5;
}

.cta-subtext, .disclaimer__content p, .ehu-card-subtext, .news-story__introduction, .news-story__publish-date, .overview__intro p:first-child, .related h2:first-child, .related__tag, .single-course__course-name, .single-subject__subject-name, .timeline-header, .wp-block-columns p:first-child, .wp-block-media-text__content h2, .wp-block-quote p:first-child, p.cta-content-text, p:first-child {
    margin: 0;
    padding: 0;
}
.cta-block__title, .info-panel__header h3, .related__subheading, span.related__title, h2.related__title, h3.related__title, .stat-grid__title, h1.pop-card-title, .related__title-flex {
    font-family: var(--ehu-font-family-primary);
    font-size: var(--ehu-font-size-base);
    font-weight: var(--ehu-font-weight-medium);
    color: var(--ehu-color-primary);
}

@media (min-width:769px) {
    .related-wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }
}