.health_sheet.container {
    padding-left: 0;
    padding-right: 0;
}

.health_sheet .page-header {
    margin-top: 50px;
    margin: 40px 0;
}
  
.health-sheet .field--name-field-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin: 3rem auto 0;
}
@media (min-width: 48rem) {
    .health-sheet .field--name-field-subtitle {
        font-size: 1.5rem;
        width: 65%;
        margin: 5rem auto 0;
    }
}

.health-sheet .highlighted-media {
    margin-bottom: 1.5rem;
}
@media (min-width: 48rem) {
    .health-sheet .highlighted-media {
        margin-bottom: 2.5rem;
    }
}

.health-sheet .highlighted-media .field--name-field-media-oembed-video {
    aspect-ratio: 16/9;
}

.health-sheet .highlighted-media .field--name-field-media-oembed-video iframe {
    height: 100%;
    width: 100%;
    display: block;
}

.health-sheet .highlighted-media .field--name-field-media-image .field--item {
    display: block;
    aspect-ratio: 16/9;
}

.health-sheet .highlighted-media .field--name-field-media-image .field--item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.health-sheet .highlighted-media .carousel-indicators {
    bottom: 20px;
    left: 0;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.health-sheet .highlighted-media .carousel-indicators li,
.health-sheet .highlighted-media .carousel-indicators li.active {
    margin-right: 0;
    margin-bottom: 0;
    width: 12px;
    height: 12px;
}

.health-sheet .container > .field--name-field-summary {
    margin-bottom: 1rem;
    text-align: center;
    margin: 0 auto;
}
@media (min-width: 48rem) {
    .health-sheet .container > .field--name-field-summary {
        width: 65%;
        margin: 0 auto 5rem;
    }
}

.health-sheet h2.section {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0;
    margin-bottom: 0.9rem;
}
@media (min-width: 48rem) {
    .health-sheet h2.section {
        margin-bottom: 1.75rem;
    }
}

.health-sheet .file-link {
    background-color: var(--c-primary);
    border-top: 0;
    border-bottom: 0;
}

.health-sheet .file-link a {
    color: var(--c-white) !important;
    font-weight: 700;
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 0.9rem;
    text-transform: uppercase;
}

.health-sheet .file-link a::after {
    content: url("../../images/download.svg");
}

.health-sheet .file-link:hover {
    background-color: var(--c-primary-700);
}

.health-sheet .field_paragraph_multiple {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 62rem) {
    .health-sheet .field_paragraph_multiple {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

.health-sheet .metadata-block,
.health-sheet .subscribe-block {
    width: 100%;
    border-top: 1px solid var(--c-gray);
    padding-top: 3rem;
}

.health-sheet .metadata-block h2,
.health-sheet .subscribe-block h2 {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0 0 1rem 0;
}

.health-sheet .metadata-block .a2a_kit,
.health-sheet .subscribe-block .a2a_kit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0;
}

.health-sheet .metadata-block a:hover svg path,
.health-sheet .subscribe-block a:hover svg path {
    fill: var(--c-primary-700) !important;
}
  
.health_sheet .health-sheet .metadata-block{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media(min-width:62rem){
    .health_sheet .health-sheet .metadata-block{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 1rem;
    }
    .health_sheet .health-sheet .metadata-block:not(:has(.field--name-field-authorship)){
        grid-template-columns: 1fr;
    }
}

.health_sheet .health-sheet .metadata-block .field--name-field-authorship,
.health_sheet .health-sheet .metadata-block .last-updated{
    text-align: center;
    font-size: 1rem;
}
@media(min-width:62rem){
    .health_sheet .health-sheet .metadata-block .field--name-field-authorship,
    .health_sheet .health-sheet .metadata-block .last-updated{
        text-align: left;
        display: flex;
        gap: .5rem;
    }
}

.health_sheet .health-sheet .metadata-block .last-updated{
    margin-top: 0.25rem;
    color: var(--c-black-200);
}

@media(min-width:62rem){
    .health-sheet .metadata-block .share-block{
        display: flex;
        gap: 1rem;
        align-items: center;
        justify-content: flex-end;
    }

    .health-sheet .metadata-block .share-block h2{
        width: fit-content;
        text-align: left;
        margin: 0;
        padding: 0;

    }

    .health-sheet .metadata-block .share-block .a2a_default_style:not(.a2a_flex_style) a{
        line-height: 1;
    }

    .health-sheet .metadata-block .share-block .a2a_kit{
        gap: .5rem;
    }
}

.health_sheet .webform-submission-newsletter-form{
    padding-left: 0;
    padding-right: 0;
}

.health-sheet.teaser .field--name-field-media-image img {
    width: 100%;  
}

/* Teaser */

.health-sheet.teaser {
    background-color: var(--c-white);
    display: flex;
    flex-direction: column;
    text-align: left;
    border-top: 1px solid var(--c-primary);
    box-shadow: var(--box-shadow);
    transition: all 0.35s;
    max-width: 30rem;
}

.health-sheet.teaser:has(.field--name-field-media-image) {
    height: 100%;
}

.health-sheet.teaser:hover,
.health-sheet.teaser:focus {
    text-decoration: none;
    transform: scale(1.025);
}

.health-sheet.teaser h2 {
    border-bottom: 1px solid var(--c-background);
    white-space: normal;
    padding: 0;
    margin: 0;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    color: var(--c-primary);
    gap: 0.5rem;
    justify-content: space-between;
    text-align: left;
    hyphens: auto;
    transition: all 0.35s;
}

#views-exposed-form-fitxes-aula-de-salut-cercador-health-sheets-alfabetical .js-form-item-title {
  display: none !important;
}

#views-exposed-form-fitxes-aula-de-salut-cercador-health-sheets-alfabetical .fieldgroup {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.health-sheet.teaser:hover h2,
.health-sheet.teaser:focus h2{
    background-color: var(--c-primary);
    color: var(--c-white);
    border-bottom: 1px solid var(--c-primary);
}

.health-sheet.teaser .content {
    text-align: left;
    font-size: 1rem;
    width: 100%;
    color: var(--c-black);
}

.health-sheet.teaser .content .content-text {
    padding: 1.25rem 1.5rem 1.5rem;
}

.health-sheet.teaser .content-text-text {
    margin-bottom: 1rem;
}

body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .paragraph--type--text,
body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .field--name-field-fitxes-aula-salut  {
    margin: 1.5rem auto 0;
}
@media(min-width: 48rem){
    body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .paragraph--type--text,
    body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .field--name-field-fitxes-aula-salut  {
        margin: 2rem auto 0;
    }  
}

body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .field--name-field-fitxes-aula-salut{
    display: grid;
    gap: 2rem;
    margin: 1.5rem auto 0;
}
@media(min-width: 48rem){
    body .main-container > .row > div .region-content .grup-de-fitxes-aula-de-salut .field--name-field-fitxes-aula-salut{
        grid-template-columns: repeat(3, 1fr);
        margin: 2rem auto 3rem;
    }
}
  