/* Fonts */

@font-face {
    font-family: 'Source Serif 4';
    src: url('fonts/SourceSerif4-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif 4';
    src: url('fonts/SourceSerif4-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('fonts/RobotoCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('fonts/RobotoCondensed-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Body */

body {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    background-color: white;
    color: #2C2C2C;
    margin: 0;
}

/* Container Class */

div.container {
    padding: 0 16px;
    max-width: 800px;
    margin: 40px auto;
}

/* Header */

header {
    background: #003333;
    color: white;
    padding: 20px;
    text-align: center;
}

header div.container {
    margin: 0 auto;
}

header h1 {
    font-weight: 100;
}

img.logo {
    max-height: 120px;
    vertical-align: middle;
}

/* Nav Bar */

nav {
    margin: 16px 0;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin: 0;
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #A2948A;
}

/* Main */

main {

}

/* Footer */

footer {
    background: #003333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Article */

article h1 {
    color: #003333;
    font-size: 2em;
    margin: 16px 0;
}

article h3 {
    color: #003333;
    font-size: 1em;
    margin: 8px 0;
}

article p, ul {
    font-family: "Source Serif 4", serif;
}

article p a {
    color: #003333;
}

article hr {
    border: 2px solid #003333;
}

article figure {
    margin: 0;
}

article figure figcaption {
    color: #5e5d5d;
    font-family: "Source Serif 4", serif;
    font-size: 0.8em;
}

article img {
    max-width: 100%;
    height: auto;
}

/* Wrappable figure */

figure.wrappable {
    float: left;
    max-width: calc(50% - 2em - 2px);
    min-width: 300px;
    margin-right: 2em;
}

/* Quote */

.quote-common {
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
}

.quote-common figure {
    min-width: 20%;
    padding: 16px;
    text-align: center;
}

.quote-common figure img {
    width: 90%;
    max-width: 300px;
    border-radius: 50%;
    border: 2px solid #003333;
}

.quote-common figure figcaption {
    color: #333333;
    font-size: 0.9em;
    margin: 8px;
}

.quote-common figure figcaption p {
    font-size: 0.7em;
    font-style: italic;
}

.quote-common > p {
    font-style: italic;
    font-size: 1.1em;
    color: #444;
    border-left: 4px solid #003333;
    padding-left: 1em;
    margin: 1.5em 0;
}

/* News Card */

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.news-card {
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 6px rgba(0,0,0,0.06);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
.news-card:hover img {
    filter: none;
}
.news-card:hover a {
    text-decoration: underline;
}
.news-card a.card-image {
    display: block;
}
.news-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: grayscale(100%);
}
.news-card .meta {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.news-card h3 {
    margin:0;
    font-size: 1rem;
    line-height: 1.25rem;
}
.news-card .date {
    color:#555;
    font-size:0.9rem;
}
.news-card a {
    color: #003333;
    text-decoration: none;
}

/* PDF Download */

a.pdf {
    display: inline-block;
    padding: 12px;
    background-color: #003333;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.2em;
}

a.pdf span {
    color: white;
    display: inline-block;
    font-size: 1em;
    margin-left: 8px;
    vertical-align: middle;
}

a.pdf span.icon {
    padding: 5px;
    border: 2px solid white;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    text-align: center;
}

a.pdf img {
    width: 40px;
    border: 1px solid white;
    border-radius: 5px;
    vertical-align: middle;
}

/* Inline Caption */

span.caption {
    font-size: 0.7em;
    font-style: italic;
    color: #444;
}

/* Tickets */

a.tickets {
    display: block;
    font-weight: bold;
    font-size: 1.2em;
    padding: 16px 0;
    border-radius: 0 0 8px 8px;
    background-color: #2b2727;
    color: white;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

/* Mobile */

@media screen and (width < 700px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 20px 0;
    }

    nav {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    div.container {
        padding: 0 16px;
    }

    .quote-common {
        border-top: 4px solid #003333;
        border-bottom: 4px solid #003333;
        padding-top: 16px;
        margin-bottom: 16px;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .quote-common figure {
        text-align: right;
    }

    .quote-common figure img {
        max-width: 200px;
        width: 50%;
    }

    .quote-common figure figcaption {

    }

    .quote-common > p {
        border-left: 0;
        padding-left: 0;
        margin: 0;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .news-card img {
        filter: none;
    }
}

@media screen and (width < 500px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
