:root {
    --bs-primary: #813ede;
    --bs-primary-rgb: 129, 62, 222;
    --bs-secondary: #adadad;
    --bs-secondary-rgb: 173, 173, 173;
}

* {
    padding: 0;
    margin: 0;
    font-size: 12pt;
}

a {
    color: #96d5ff;
    overflow-wrap: break-word; /* Modern standard */
    word-wrap: break-word;     /* Legacy fallback alias */
}

a[target="_blank"]:not(:has(p))::after, a p::after {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/img/external.svg");
    margin-left: 4pt;
    width: 12pt;
    height: 12pt;
    display: inline-block;
    vertical-align: middle;
}

body {
    background-color: var(--bs-dark);
}

#wrapper {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    font-family: -apple-system, Roboto, sans-serif, serif;
}

h1 {
    margin-bottom: 1.25em;
    font-size: 20pt;
}

h2 {
    font-size: 16pt;
}

.profile {
    width: 320px;
}

.pfp {
    border-radius: 100%;
}

.quote {
    quotes: "“" "”" "‘" "’";
}

.indent {
    text-indent: 2em;
}

#report-images {
    width: 300px;
}

.h-flip {
    transform: scaleX(-1);
}

#youtube-videos {
  height: auto;
  width: auto;
  overflow: hidden;
}

#youtube-videos a {
    width: 10%;
}

#report-extras {
  clear: both;
}

.schedule th:not(:first-of-type), .schedule td:not(:first-of-type) {
    border-left: #adadad 2px solid;
}

.text {
    text-indent: 2em;
    list-style-type: none;
    margin: 0.5em;
    padding: 0;
}

.source-list {
    list-style-type: none;
    padding: 0 1.5em;
    margin: 0;
}

#breaking-news {
    position: relative;
    padding-bottom: 18pt;
}

#cut {
    position: absolute;
    width: fit-content;
    display: flex;
    flex-direction: row;
    z-index: 10;
}

#cut span {
    font-size: 14pt;
    padding: 6pt;
    background-color: var(--bs-primary);
}

#breaking-news ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding: 6pt;
    width: fit-content;
    animation: ticker 40s infinite linear;
}

#breaking-news li {
    white-space: nowrap;
    padding: 0 8pt 0 8pt;
}

#breaking-news li, #breaking-news a {
    font-size: 14pt;
}

#breaking-news li:not(:last-child) {
    border-right: var(--bs-primary) solid 1pt;
}

#triangle-cut {
  width: 0;
  height: 0;
  border-bottom: 40pt solid var(--bs-primary);
  border-right: 40pt solid transparent;
  display: inline-block;
}

@keyframes ticker {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-100%);
    }
}