/* Teaser */
.node--view-mode-teaser {
    border-bottom: 1px solid var(--blue-light);
    padding-bottom: 1rem;
}

.node--view-mode-teaser h3 {
    margin: 0 0 0.5rem;
}

.node--view-mode-teaser .combined-byline {
    font-weight: 500;
}

.node--view-mode-teaser .combined-byline .byline + .date {
    
}

.node--view-mode-teaser p:last-child {
    margin-bottom: 0;
}


/* Declassified documents */
.detailed {
    overflow: hidden;
    margin-bottom: 20px;
    color: #262626;
    font-family: var(--fontHeading);
    font-weight: 600;
}

.detailed .date, 
.detailed .category, 
.detailed .tags, 
.detailed .location, 
.detailed .case {
    float: left;
    display: block;
    padding: 1em 1.5em 1em 3em;
    position: relative;
    background: #eef6fb;
    margin: 0 2px 2px 0;
}

.detailed div:before {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    color: var(--blue-dark);
    top: 1rem;
    left: 0.75rem;
    text-align: center;
    line-height: 1.25rem;
    font-size: 1.25rem;
}

.detailed .date:before {
    content: "\e953";
    font-size: 17px;
    top: 17px;
}

.detailed .category:before {
    content: "\e95d";
    top: 14px;
}

.detailed .tags:before {
    content: "\e936";
    font-size: 16px;
    top: 17px;
}

.detailed .tag {
	margin-right: 6px;
	margin-left: 1px;
	display: inline-block;
}

.detailed .tag:after {
    content: ",";
    color: var(--gray-dark);
}

.detailed .tag:last-child:after {
    margin-right: 0;
    content: "";
}

.detailed .location:before {
    content: "\ea0c";
    top: 19px;
}

.detailed .case:before {
    content: "\e923";
    top: 16px;
}

.detailed a {
		text-decoration: none;
		color: var(--gray-base);
}

.detailed a:hover,
.detailed a:focus-visible,
.detailed a:active {
    color: var(--blue-dark);
    text-decoration: none;
}

/* Case */
.node--type-case.node--view-mode-teaser {
    cursor: pointer;
}


/* Publications */
.node--type-publication.node--view-mode-teaser {    
    margin-bottom: 2rem;
    cursor: pointer;
}

@media all and (min-width: 40rem) {
    .node--type-publication.node--view-mode-teaser {
        display: flex;
        gap: 2rem;
    }
}

.node--type-publication.node--view-mode-teaser h2,
.node--type-publication.node--view-mode-teaser h3,
.node--type-publication.node--view-mode-teaser h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.node--type-publication.node--view-mode-teaser p:first-of-type {
    margin-top: 1rem;
    display: block;
}

.node--type-publication.node--view-mode-slideshow {
    width: 100%;
    cursor: pointer;
}

.node--type-publication.node--view-mode-slideshow img {
    margin: 0 auto;
    display: block;
}

.node--type-publication.node--view-mode-slideshow h3 {
    margin-bottom: 0.5rem;
}

.node--type-publication.node--view-mode-slideshow .author {
    margin-top: 0.5rem;
}

/* Categories */
.node--type-category.node--view-mode-teaser {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0,0,0,0.15);
}

.node--type-category.node--view-mode-teaser .group-left {
    padding: 1rem 1rem 0;
}

.node--type-category.node--view-mode-teaser .group-right {
    padding: 0 1rem 1rem;
}

.node--type-category.node--view-mode-teaser:hover a {
    color: var(--blue-dark);
    text-decoration-thickness: 3px;
}

@media all and (min-width: 40rem) {
    .node--type-category.node--view-mode-teaser {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .node--type-category.node--view-mode-teaser img {
        display: block;
        height: 100%;
        max-width: 100%;
    }

    .node--type-category.node--view-mode-teaser .group-left {
        padding-bottom: 1rem;
    }

    .node--type-category.node--view-mode-teaser .group-right {
        padding-top: 1rem;
    }
}

/* Article */
.node--type-article .field--name-body img {
    max-width: 100%;
    height: auto;
}

/* Map */
.geolocation-map-wrapper {
    margin: 0 0 1rem;
    width: 100%;
    box-shadow: 0 0.25rem 0.25rem rgba(0,0,0,0.15);
}

@media all and (min-width: 60rem) {  
    .geolocation-map-wrapper {
        float: right;
        margin: 0 0 1rem 1rem;
        max-width: 30rem;
    }
}

/* Webform */
.node--type-webform form label {
    display: block;
    margin-bottom: 0.5rem;
}

.node--type-webform .form-item input {
    min-height: 2rem;
    line-height: 2rem;
    border-radius: 4px;
    border: 2px solid var(--blue-main);
    padding: 0 0.5rem;
    max-width: 80%;
}

.node--type-webform .form-item input:focus-visible {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

.node--type-webform .form-item textarea {
    border-radius: 4px;
    border: 2px solid var(--blue-main);
    padding: 0.5rem;
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

.node--type-webform .form-actions input {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    line-height: 2rem;
    border-radius: 4px;
    min-height: 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--blue-main);
    border: 2px solid var(--blue-main);
    color: var(--white);
}

.node--type-webform .form-actions input:hover,
.node--type-webform .form-actions input:focus-visible {
    background-color: var(--blue-dark);
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}