/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

:root {
    --primary-color:#840032;
    --secondary-color:#002642 ;
    --secondary-text: "Crimson Text";
    --focus-color: #27233a;
    --main-bg-color: #E5DADA;
    --secondary-bg-color: #E59500;
    --white: #fff;
    --font-color: #02040F;
    --font-on-dark-background: #dcc48e;
    --font-on-light-background: #840032;
    --link-color: #E59500;
    --meta-data-color: #af0fcc;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* set fonts*/
@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson/CrimsonText-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson/CrimsonText-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "Cookie";
    font-weight: bold;
    src: url("../fonts/Cookie/Cookie-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto/Roboto-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: bold;
    src: url("../fonts/roboto/Roboto-Bold.ttf") format("truetype");
}

a,
p,
span {
    font-family: "Roboto", serif;
    font-size: 1.2rem;
}

h2, h3 {
    font-family: "Crimson Text";
}

/* end of fonts*/

a span,
h1,
h4,
h5,
h6 {
    font-family: "Roboto", serif;
}

body {
    background: linear-gradient(180deg, var(--main-bg-color) 0%, #d9cccc 100%);
    background-attachment: fixed;
}

.primary-color {
    color: var(--primary-color);
}

.line {
    width: 100%;
    height: 16px;
    border-top: 1px solid gray;
}

.header-wrap {
    filter: drop-shadow(-1px 6px 3px rgba(61, 97, 136, 0.5));
    z-index: 999;
    position: absolute;
    left: 0;
    right: 0;
}

.header {
    background-color: var(--primary-color);
    height: 5rem;
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;

    @media only screen and (max-width: 900px) {
        width: 100%;
    }
}

.header-logo__container {
    position: absolute;
    bottom: 1.5rem;
    padding-left: 1rem;
}

.header-logo-big {
    font-family: "Roboto";
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 0;

    @media only screen and (max-width: 900px) {
    }
}

.header-logo__link {
    text-decoration: none;
}

.header-logo-small {
    font-family: "Cookie";
    font-size: 2rem;
    font-weight: bold;
    color: white;
    color: var(--font-color);
    padding-bottom: 0.7rem;
    line-height: 0.5;

    @media only screen and (max-width: 900px) {
    }
}

.header-logo-big {
    font-weight: bold;
    color: #fff;
}

.big-a {
    color: var(--link-color);
    font-size: 5rem;
    font-family: Cookie;
    text-decoration: none;
}

.header-navigation {
    display: flex;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 25rem;
    margin-top: 3rem;

    @media only screen and (max-width: 1200px) {
        display: none;
    }
}

.header-navigation-mobile {
    display: none;

    @media only screen and (max-width: 1200px) {
        position: absolute;
        display: block;
        right: 0;
        margin: 0.5rem 2rem;
    }
}

.header-navigation-mobile__list {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.header-navigation-mobile__list li a {
    font-family: "Crimson Text";
    font-size: 2rem;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.header-navigation-mobile__list li {
    margin-bottom: 1rem;
}

.header-navigation li a {
    margin-right: 2rem;
    font-size: 0.875rem;
    text-decoration: none;
    color: white;
}

/* POPUP */
.history-popup__container {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100vh;
    /* height: 30px; */
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    font-size: 20px;
    z-index: 99999;
    transition: opacity 0.2s ease-out;
    overflow: auto;
}

.history-popup__close {
    text-align: end;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.history-popup__image {
    width: 10rem;
    height: 12rem;
}

.history-popup__content {
    width: 60%;
    margin: 1rem auto 1rem;
    background-color: white;
    padding: 1rem 2rem 2rem;
}

.history-popup__container p {
    color: black;
    opacity: 1;
    padding-bottom: 1rem;
}

.history-popup__close:hover {
    color: #af0fcc;
    cursor: pointer;
}

.history-popup__content {
    opacity: 1;
}

.history-popup__title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.homepage-person__biography {
    margin-top: 2rem;
    text-align: left;
}

.homepage-person__biography p {
    width: 70%;
    margin: 0 auto;
    line-height: 1.3rem;
}

.history-popup__content blockquote p {
    font-size: 1.1rem;
    font-weight: 900;
    font-style: italic;
    margin-top: 2rem;
}

.homepage-person__image {
    width: 8rem;
    height: 10rem;
    clip-path: polygon(-1rem 0rem, -3rem 9.5rem, 11.5rem 8.5rem, 7rem -17rem);
}

.homepage-person__image:hover {
    cursor: pointer;
}

.homepage-person__container {
    display: flex;
    flex-direction: row;
    margin-right: 0rem;
    z-index: 99999999999;
}

.homepage-person__name {
    font-family: Cookie;
    font-size: 1.4rem;
    background-color: #aec0c2;
    background-color: #003366;
    color: #4d4a6a;
    color: #fff;
    font-weight: bold;
    height: auto;
    position: absolute;
    top: 0.3rem;
    right: 7.9rem;
    padding: 0.3rem 0.3rem 0.3rem 1.7rem;
}

h2 {
    font-size: 1.7rem;
}

h3 {
  font-size: 1.2rem;
}

main.main-section {
    min-height: 90vh;
    position: relative;

    @media only screen and (max-width: 900px) {
        margin-left: 0;
        margin-right: 0;
    }
}

/* HOMEPAGE*/
.homepage-in-focus__container {
    max-height: 40rem;
    margin-top: 2rem;
    display: flex;
    overflow: hidden;

    @media only screen and (max-width: 1200px) {
        display: flex;
        flex-direction: column;
        max-height: none;
    }
}

/* News grid with Media in Focus placed in the center */
.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);

    @media only screen and (max-width: 900px) {
        grid-template-columns: 1fr;
    }
}

.home-in-focus-media-and-text {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    display: grid;
    position: relative;
    grid-template-rows: 1fr auto;
    max-height: 32rem;
    overflow: visible;

    @media only screen and (max-width: 900px) {
        grid-column: 1;
        grid-row: auto;
        display: block;
        max-height: none;
    }
}

.home-in-focus-media-and-text__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    grid-row: 1 / -1;
    grid-column: 1;

    @media only screen and (max-width: 900px) {
        height: auto;
    }
}

.home-in-focus-media-and-text__text-box {
    grid-row: 2;
    grid-column: 1;
    background: rgba(132, 0, 50, 0.72);
    color: white;
    padding: 1rem 2rem;
    line-height: 1.4;
    text-align: center;
    z-index: 1;
}

.home-in-focus-media-and-text__label {
    position: absolute;
    top: -2rem;
    right: 0;
    z-index: 2;
    background: var(--primary-color);
    color: white;
    font-family: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
}

.home-in-focus-media-and-text__text-box p {
    font-size: 1rem;
}


.homepage-in-focus__image {
    width: 60%;
    max-height: 40rem;
    object-fit: cover;
    box-shadow: 0px 2px 10px rgba(61, 97, 136, 0.4);

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        width: 100%;
        max-height: 25rem;
    }
}

.homepage-in-focus__marker {
    position: absolute;
    top: 8.5rem;
    font-family: var(--secondary-text);
    background: var(--primary-color);
    color: white;
    width: auto;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1rem 0.6rem;

    @media only screen and (max-width: 1200px) {
      top: 3.5rem;
    }


}

.homepage-first-block {
    display: grid;
    grid-template-columns: 1fr 15rem;
    column-gap: 3rem;
    padding: 2rem 7rem 10rem 7rem;
    align-items: start;

    @media only screen and (max-width: 1200px) {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.homepage-in-focus__title-container {
    border-bottom: 8px solid var(--primary-color);
    border-top: 8px solid var(--primary-color);
    margin-top: 10rem;
    padding: 1rem;
    @media only screen and (max-width: 1200px) {
      margin-top: 5rem;
    }
}

.homepage-in-focus__title {
    font-family: "Roboto";
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);

    text-transform: uppercase;

    font-weight: bold;
    text-decoration: none;

    @media only screen and (max-width: 1200px) {
        font-size: 1.2rem;
    }
}

.homepage-in-focus__title:hover {
    color: var(--link-color);
}

.homepage-in-focus__summary {
    position: relative;
    border-bottom: 1px solid white;
    color: black !important;
    line-height: 1.4rem;
    margin: 1rem 0;
}

.homepage-in-focus__summary p {
    font-size: 1rem;
}

.homepage-in-focus__meta {
    color: var(--primary-color);

    padding: 0.5rem 0rem 1rem;
    text-align: end;
}

.homepage-in-focus__meta span {
    font-size: 1rem;
}

.homepage-in-focus__tags {
    display: flex;
    flex-direction: column;
    color: #003366;
    font-weight: 900;
}

.homepage-in-focus__tags p {
    overflow-wrap: break-word;
}

.homepage-in-focus__tags p:first-child {
    margin-right: 1rem;
}

.homepage-in-focus__tags p:nth-child(2) a:first-child {
    padding-left: 0;
}

.homepage-in-focus__tag {
    display: inline-block;
    font-family: "Roboto";
    font-size: 1rem;
    margin-top: 0.5rem;
    color: white;
    text-transform: capitalize;
    padding-right: 0.5rem;
}

.homepage-in-focus__text-box {
    position: relative;
    width: 40%;
    padding: 0 2rem;
    padding-bottom: 4rem;

    @media only screen and (max-width: 1200px) {
        display: flex;
        flex-direction: column;
    }

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        width: 90%;
        padding: 0'
    }
}

.homepage-main-content {
    margin-top: 3rem;
}

.homepage-news-title {
    grid-column: 1 / -1;
    height: 2rem;
    margin-top: 0;
    font-family: "Crimson Text";
    padding-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.homepage-block-title {
    font-family: "Crimson Text";
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
    color: var(--secondary-color);
    letter-spacing: 0.15em;
}

.homepage-title-link {
    font-family: "Roboto";
    font-size: 1.1rem;
    text-decoration: none;
    /*text-transform: uppercase;*/
    color: black;
}

.homepage-title-link:hover {
    color: var(--secondary-color);
}

.homepage-event-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.homepage-event-block:last-child {
    border-bottom: none;
}

.homepage-event-block h3 {
    line-height: 1.2;
    padding-bottom: 0.5rem;
}

.homepage-event-detail {
    line-height: 1.4;
    font-size: 0.9rem;
    color: var(--secondary-color);
    padding: 0.15rem 0;
}

.homepage-event-icon {
    color: var(--primary-color);
    font-size: 0.5rem;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.homepage-event-link {
    font-family: "Roboto";
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.homepage-event-link:hover {
    color: var(--link-color);
}

.card-new {
  border-bottom: 8px solid var(--primary-color);
  height: fit-content;
  padding-bottom: 2rem;

  @media only screen and (max-width: 1200px) {
        margin-top: 2rem;
    }
}

.card.card--small-image p, .card-new .card-new__summary, .card .card-new__summary {
    font-size: 1.2rem;
    font-family: "Roboto", sans-serif;
    color: var(--font-color);
    line-height: 1.2;
    padding: 1rem 0.5rem 0;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.card-image-wrap {
    position: relative;
}

.card-image-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(229, 218, 218, 0.6));
    pointer-events: none;
}

.card--small-image .card-new-image {
    width: 100%;
    height: 40%;
    object-fit: cover;
    display: block;
}


/*
.homepage-article__meta {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
*/

.card--small-image .card-new__meta {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    top: 2rem;
    padding: 1rem 1rem;
    right: 0;
    text-transform: uppercase;
}

.card--middle-image .card-new__meta {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    top: 2rem;
    padding: 1rem 0.5rem 0;
    right: 0;
    text-transform: uppercase;
}

.card-new__title {
    z-index: 9999;
    bottom: 1rem;
    padding: 0.5rem 1rem;
    left: 0;
    right: 0;
}

.card-new-title {
    line-height: 1;

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        line-height: 0.8;
    }
}

.card-new__more {
    display: inline-block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--primary-color);
    margin-top: 0.5rem;
}

.card-new__more:hover {
    background: var(--primary-color);
    color: white;
}


.card-new-title a {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--font-color);
    font-weight: 600;
    text-transform: uppercase;
}
.card-new-title a:hover {
    color: var(--link-color);
}


.events-container {
    /* position: sticky; */
    /* top: 6rem; */
    margin-top: 6rem;
    align-self: start;
    background: #efe8e0;
    padding: 2.5rem 1.5rem 2rem;
    transform: rotate(-1.3deg);
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.15),
                0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    clip-path: polygon(
        0% 2%, 3% 0%, 7% 1.5%, 11% 0.5%, 15% 2%, 19% 0%, 23% 1%,
        27% 0.5%, 31% 2%, 35% 0%, 39% 1.5%, 43% 0%, 47% 2%, 51% 0.5%,
        55% 1.5%, 59% 0%, 63% 2%, 67% 0.5%, 71% 1%, 75% 0%, 79% 2%,
        83% 0.5%, 87% 1.5%, 91% 0%, 95% 2%, 100% 0.5%,
        100% 100%, 0% 100%
    );

    @media only screen and (max-width: 1200px) {
        position: static;
        transform: none;
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

.events-container::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 1rem;
    background: radial-gradient(circle, #888 30%, #aaa 40%, transparent 50%);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.events-container .homepage-article-block {
    display: flex;
    background-color: transparent;
}

.events-container p {
    padding: 0;
}

.promo-container {
    display: flex;
    width: 100%;
    justify-content: center;

    a.promo-link {
        width: 100%;
        text-align: center;
    }

    img {
        width: 60%;
        margin: 0 auto;
    }
}

.homepage-event__image {
    width: 100%;
}

/* TEST */
.library-wrapper {
    margin-top: 10rem;
    filter: drop-shadow(-1px 6px 3px rgba(61, 97, 136, 0.5));
}

.homepage-library-section__background {
    display: flex;
    /*padding: 0 10rem;*/
    height: auto;;
    background: var(--primary-color);

    @media only screen and (max-width: 600px) {
        height: auto;
        flex-direction: column;
        padding: 2rem 0;
        /* @media only screen and (max-width: 1200px) {
          height: 50rem;
          margin-bottom: 5rem;
        } */
    }

    @media only screen and (min-width: 601px) and (max-width: 1200px) {
        height: 90rem;
        flex-direction: column;
    }
}

.homepage-library-section__title {
    font-family: "Roboto";
    padding: 2rem 0;
    color: var(--link-color);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;

    @media only screen and (max-width: 1400px) {
        font-size: 2rem;
        grid-template-columns: 1fr;
        font-size: 2rem;
    }
}

.homepage-library-entry__title {
    margin-bottom: 2rem;

    @media only screen and (max-width: 900px) {
        margin-top: 3rem;
    }
}

.homepage-library-entry__title a {
    font-family: "Roboto";
    font-size: 2rem;
    color: var(--link-color);
    font-weight: bold;

    @media only screen and (max-width: 900px) {
        font-size: 1.2rem;
    }
}

.homepage-library-entry__title a:hover {
    color: var(--focus-color);
}

.homepage-library-section__left {
    width: 50%;
    /*padding: 0 4rem;*/
    /*margin-top: 6rem;*/

    @media only screen and (max-width: 900px) {
        display: flex;
        width: 50%;
        /*height: 25rem;*/
        width: 100%;
        padding: 0;
    }

    /* @media only screen and (max-width: 1400px) { */
    /*   width: 50%; */
    /*   margin-top: 15rem; */
    /*   padding: 0; */

    /* } */

    @media only screen and (min-width: 901px) and (max-width: 1400px) {
        width: 50%;
        /*height: 25rem;*/
        width: 100%;
        padding: 0;
    }
}

.homepage-library__image {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
    max-height: 50rem;

    @media only screen and (max-width: 900px) {
        width: 100%;
        height: 50rem;
        margin: 0 auto;
    }

    @media only screen and (min-width: 900px) and (max-width: 1200px) {
        width: 100%;
        height: 50rem;
        margin: 0 auto;
    }

    @media only screen and (min-width: 1600px) {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        max-height: 40rem;
    }
}

.homepage-library-section__right {
    width: 60%;
    margin-top: 4rem;
    padding: 2rem 4rem;

    @media only screen and (max-width: 1200px) {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }
}

.homepage-library-summary {
    color: var(--link-color);
    line-height: 1.8rem;
    font-size: 1.2rem;
    font-style: italic;
}

.homepage-library-entry__author {
    font-family: "Crimson Text";
    font-size: 1.6rem;
    color: var(--link-color);
    font-weight: bold;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: flex-end;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

/* CARD STYLES*/
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 8px solid var(--primary-color);
    padding-bottom: 2rem;
}

.card.card--middle-image .card-image__container {
    position: relative;
}


.card.card--middle-image .card__title {
    bottom: 0;
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-weight: bold;
    padding: 0 0.5rem;
    margin-top: 1rem;
}

.card.card--middle-image .card-image__container .card-new__meta {
    top: 0;
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-weight: bold;
    padding: 1rem;
}

.card--middle-image .card__title .card__link {
    color: var(--font-color);
    text-transform: uppercase;

    font-size: 1.6rem;

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        margin-top: 1rem;
    }
}

.card--middle-image .card__title .card__link:hover {
    color: var(--link-color);
}

.card__title {
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-size: 1.6rem;
    font-weight: bold;
}

.card__link {
    display: flex;
    align-items: center;
    font-family: "Roboto";
    color: black;
    min-height: 4rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

.card__link:hover {
    color: var(--focus-color);
}

.card-image__container {
    height: 50%;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-author__container {
    margin-top: 1rem;
    margin-left: 0.5rem;
}


.card__summary {
    margin: 1rem 0;
    font-style: none;
}

.card__summary p {
    font-size: 1rem;
}

.card__meta {
    line-height: 2rem;
}

.card__meta span:first-child {
    font-weight: bold;
}

/* PAGES*/
.list__container,
.single-container,
.tags-page__container {
    padding: 10rem 2rem 5rem;
    min-height: 80vh;

    @media only screen and (max-width: 900px) {
        padding: 7rem 0 5rem;
    }
}

.list-section__container {
    width: 70%;
    margin: 0 auto;
    @media only screen and (max-width: 900px) {
      width: 90%;
    }
}

.list-section__container,
.tags-section__container {
    padding: 4rem 5rem 4rem;

    @media only screen and (max-width: 900px) {
        padding: 0 1rem 1rem;
    }
}

.list-section__title,
.tags-section__title {
    font-family: "Crimson Text";
    padding-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;

    @media only screen and (max-width: 1200px) {
        margin-top: 3rem;
    }
}

.list-columns__container,
.tags-columns__container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;

    @media only screen and (max-width: 900px) {
        grid-template-columns: 1fr;
    }
}

.list-pagination__container {
    display: grid;
    grid-template-columns: 10rem 2.5rem 8rem 2.5rem 12.5rem;
    align-items: center;
    width: 35rem;
    height: 0.5rem;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    border-top: 1px solid #4d4a6a;
    color: #4d4a6a;

    @media only screen and (max-width: 900px) {
        display: flex;
        width: auto;
        justify-content: space-between;
    }
}

.list-pagination__previous-page {
    padding-right: 1rem;
}

.list-pagination__next-page {
    padding-left: 1rem;
}

.list-pagination__next {
    text-align: end;
}

.list-pagination__container a {
    color: #4d4a6a;
    text-decoration: none;
}

.single-container {
    width: 70%;
    margin: 0 auto;

    @media only screen and (max-width: 600px) {
        width: 90%;
    }
}

.single-container h2
  {
    width: 80%;
    margin: 0 auto;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;

    @media only screen and (max-width: 600px) {
        font-size: 1.5rem;
    }
}

.single-container h3
  {
    width: 80%;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;

    @media only screen and (max-width: 600px) {
        font-size: 1.5rem;
    }
}


.single-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.single-page__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.single-page__meta span {
    font-size: 1.5rem;
}

.single-page__meta .single-page__date {
    font-size: 1rem;
}

.article-intro {
    background-color: var(--primary-color);
    color: white;
    width: 50%;
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;

    @media only screen and (max-width: 600px) {
        width: 100%;
        padding: 0 0 2rem 0;
    }
}

.article-content,
.page-content {
    margin-top: 3rem;
}

.article-content p,
.page-content p {
    font-family: "Roboto";
    line-height: 1.5;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.article-content p .text-big {
    font-size: 1.5rem;
    line-height: 1.2;
}


.article-content a, article-content p a {
    font-family: "Crimson Text";
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: #3d6188;
    font-size: 1.1rem;
    word-break: break-all;
}

.article-content a:hover, article-content p a:hover {
    color: var(--focus-color);
}

.article-content .article-intro__top {
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: underline;
}
.article-content .article-intro strong {
    color: white;
 }


.article-content ol,
.article-content ul,
.page-content ol {
    width: 80%;
    margin: 2rem auto;
}

.article-content figure {
    p {
        width: 100%;

        iframe {
            width: 100%;
        }
    }
}

.article-content p,
.article-content h2,
.article-content h3,
.page-content p,
.page-content h2,
 {
    width: 80%;
    margin: 0 auto 2rem;

    @media only screen and (max-width: 600px) {
        width: 90%;
        padding: 1rem;
    }
}

.page-content i {
  font-style: italic;
}

.page-content h3 {
  text-align: left;
  margin: 0 0 2rem 0;
}
.article-content h2,
.article-content h3,
.page-content h2,
.page-content h3 {
    margin-top: 2rem;
}

.article-content p + blockquote,
.article-content p + figure {
    margin-top: 2rem;
}

.article-content blockquote {
    margin: 3rem 0;
    padding: 0 5rem;
}

.article-content blockquote p {
    width: 70%;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
}

.article-content figure.image img {
    width: 100%;
    height: auto;
}

.article-content figure.image figcaption {
    font-size: 0.9rem;
    text-align: center;
    width: 50%;
    margin: 1rem auto 3rem;
    color: var(--primary-color);
}

.article-content i {
    font-family: Roboto;
    font-style: italic;
    line-height: 1.5rem;
}

.article-content b,
.article-content strong {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.3rem;
}
/*HELPERS*/
.bold {
    font-weight: bold;
}

.important-term {
    color: var(--focus-color);
    font-size: 1.7rem;
    padding: 0 1rem;
}

.roboto {
    font-family: "Roboto";
}

span span.cookie {
    font-family: "Cookie";
    font-size: 1.3rem;
}

/* TAGOVI*/
.tags__container {
    display: inline-block;
    padding-top: 1rem;
}

.tags__container.single {
    display: block;
    width: 70%;
    margin: 2rem auto 4rem;
    text-align: center;
    color: #003366;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.tags__container.single a {
    color:var(--primary-color);
    font-size: 1.5rem;
}

.tags__container.single a:hover {
    color:var(--link-color);
}

.tags__container span {
    font-weight: bold;
}

.tag-link__container {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.1rem;
}

.tag-link__container:hover {
    border-color: var(--focus-color);
}

.tag-link {
    font-family: "Roboto", sans-serif;
    color: var(--secondary-color);
    font-weight: 900;
    text-decoration: none;
    text-decoration-color: black;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.tag-link:hover {
    color: var(--link-color);
}

/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 800;
}

.arrow-left {
    position: absolute;
    top: 0rem;
    right: -1.1rem;
    width: 0;
    height: 0;
    border-top: 1.12rem solid #ef2300;
    border-bottom: 1.12rem solid #ef2300;

    border-right: 1.12rem solid transparent;
}

.arrow-right {
    position: absolute;
    top: 0rem;
    left: 0rem;
    width: 0;
    height: 0.1rem;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;

    border-left: 1rem solid #3d6188;
}

.circle {
    position: absolute;
    top: 0.6rem;
    left: 0.5rem;
    width: 12px;
    height: 12px;
    border: 1px solid #c0b993;
    border-radius: 50%;
    background: #c0b993;
}
