@font-face {
    font-family: "DM Serif Text";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/dm-serif-text/dm-serif-text.ttf') format('truetype');
}

@font-face {
    font-family: 'luciole';
    src: url('../font/luciole/luciole.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'luciole';
    src: url('../font/luciole/luciole-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* 
@font-face {
    font-family: 'luciole';
    src: url('../font/luciole/luciole-italic.woff2') format('woff2');
    font-weight: italic;
    font-style: normal; */
/* } */

@font-face {
    font-family: 'staatliches';
    src: url('../font/staatliches/staatliches.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* playwrite-is */
@font-face {
	font-family: Playwrite IS;
	font-style: normal;
	font-weight: 100 400;
	font-stretch: 100%;
	src: url('../font/playwrite-is/playwrite-is.woff2') format("woff2");
	font-display: swap;
}

a {
    color: inherit;
}

/* Hide memberships entry points on public site */
a[href="/memberships/"],
a[href^="/memberships/"] {
    display: none !important;
}

/* Hide agenda entry points on public site */
a[href="/event/"],
a[href^="/event/"] {
    display: none !important;
}

body {
    font-family: "DM Serif Text", serif !important;
    background-color: #021244 !important;
}

h1, h2, h3, h4, h5, h6,
.navbar .nav-link, .navbar .navbar-brand,
.btn, .badge {
    font-family: "DM Serif Text", serif !important;
}

.display-1 {
    font-family: "DM Serif Text", serif;
}

.navbar {
    padding-block: 20px;
    background-color: #021244 !important;
    color: #ffffff !important;

    .badge {
        font-family: "DM Serif Text", serif;
        font-size: var(--bs-badge-font-size);
    }

    .nav-link, .navbar-brand {
        font: 20px "DM Serif Text", serif;
    }
}

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .navbar-toggler,
.navbar .navbar-toggler-icon,
.navbar .dropdown-toggle,
.navbar .dropdown-item,
.navbar .btn,
.navbar .bi {
    color: #ffffff !important;
}

.navbar .navbar-brand-logo {
    height: 64px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.table th, .table td {
	padding: 1rem;
	background: none;
}

details.accordion-item:hover {
    background: var(--bs-tertiary-bg);
}
details.accordion-item[open] {
    background: var(--bs-secondary-bg);
}

@media (min-width: 768px) {
    .event-tags {
        max-width: 50%;
    }
}

/* Make images in long_description responsive and centered */
figure.attachment,
figure[data-trix-attachment] {
    text-align: center;
    margin: 0 auto;
}

figure.attachment img,
figure[data-trix-attachment] img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* Square buttons for currency section */
.square-btn {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.square-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Desktop styles for square buttons */
@media (min-width: 768px) {
    .square-btn {
        aspect-ratio: auto;
        height: auto;
        flex-direction: row;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    .square-btn i {
        font-size: 1.25rem;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
}
