@import url(https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);
html, body {
    overscroll-behavior: none;
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
}
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("https://docksidelive.com/main-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

#home {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#home h1 {
    color: #8d3a06; /*#8d3a06;*/
    text-align: center;
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    letter-spacing: -.1rem;
    padding-top: 1rem;
    margin-top: 2rem;
    text-shadow: -1px -1px 0 #FBBB5B,
    1px -1px 0 #FBBB5B,
    -1px 1px 0 #FBBB5B,
    1px 1px 0 #FBBB5B;
}

#home p {
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
}

#home .logoLink {
    cursor: pointer;
    width: 100%;
    margin: 0;
}

#home .logoLink:hover img:first-child {
    opacity: .6;
}

#home .logoLink:active img:first-child {
    opacity: .8;
}
.logo img {
    margin: 0 auto;
    text-align: center;
    height: 13.4rem;
    width: 20rem;
    padding-top: 1rem;
    z-index: 20;
}

.logo {
    display: flex;
    height: 14rem;
    border-bottom: 2px solid #20314c;
    background-color: #20314c;
    box-shadow: 1px 0 10px #20314caa;
}

.wide {
    position: relative;
    width: 100%;
}

.logo .background {
    padding-top: 0;
    position: absolute !important;
    z-index: 10;
    height: 13.8rem;
    width: 100%;
    object-fit: cover;
}
#homeMenu {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: .5rem;
}

#homeMenu a {
    font-size: 1.25rem;
    margin: 1rem;
    padding: .5rem;
    border: 1px solid #20314c55;
    border-radius: .25rem;
    box-shadow: 1px 1px 5px #20314c55;
}

#homeMenu a:hover {
    text-decoration: none;
    background-color: #F7C475 !important;
    color: #1E324D !important;
}

#homeMenu a.active {
    text-decoration: none;
    background-color: #F7C475 !important;
    color: #1E324D !important;
}

#homeMenu a {
    font-family: "League Spartan", sans-serif;
    letter-spacing: -.05rem;
    margin: .25rem;
    text-align: center;
    background-color: #1E324D;
    color: white;
}

#homeMenu a span {
    display: flex;
    flex-direction: row;
}
#sponsors {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    width: 100vw;
}

#sponsors > h1 {
    margin: 3rem 0 0;
}

#sponsors #thirdPartyLogos {
    margin-top: 0;
}

#sponsors #thirdPartyLogos img {
    margin: .5rem;
}

#sponsors.content {
    margin: 0 auto;
    padding: 0 .5rem 0 .5rem;
    max-width: 40rem;
}

#sponsors .text {
    width: 100%;
}

#sponsors .images {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

#sponsors a {
    cursor: pointer;
    margin: 1rem;
}

#sponsors img {
    padding: 1rem;
    max-height: 18rem;
    width: 16rem;
}

#sponsors img:hover {
    opacity: .6;
}

#sponsors img:active {
    opacity: .8;
}

#sponsors .fqffb img {
    padding: 0;
    border-radius: .5rem;
}
#submission {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 40rem;
}

#submission input {
    min-width: 24rem;
    margin-bottom: 1rem;
    padding: .75rem;
    border: 1px solid #20314caa;
    border-radius: .25rem;
    font-size: 1.25rem;
}
#songRequest {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#songRequest input {
    min-width: 24rem;
    margin-bottom: 1rem;
    padding: .75rem;
    border: 1px solid #20314caa;
    border-radius: .25rem;
    font-size: 1.25rem;
}
.apps {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.apps a img {
    width: auto;
    height: 2.9rem;
}

.apps a {
    transition: .2s;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none;
    text-decoration: none;
    text-align: center;
}

.apps a:hover {
    opacity: 0.6;
}

.apps a:first-child:hover img {
    transform: rotateZ(5deg);
    transition: .2s;
}
.apps a:last-child:hover img {
    transform: rotateZ(-5deg);
    transition: .2s;
}

.apps a:active {
    opacity: 0.8;
}

.apps a p {
    margin-top: 1rem;
    font-family: 'Dela Gothic One', sans-serif;
    color: #8d3a06;
}

.apps a p {
    text-align: center !important;
}

@media (min-width: 992px) {
    .apps a {
        margin: 0 4rem;
    }

    .apps {
        justify-content: center;
    }

    .apps a img {
        width: auto;
        height: 3.5rem;
    }
}
#thirdPartyLogos {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#thirdPartyLogos:last-child {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#thirdPartyLogos h1 {
    color: #8d3a06;  /*#8d3a06;*/
    text-align: center;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 1.5rem;
    padding-top: 1rem;
    margin-top: 2rem;
}

#thirdPartyLogos img {
    margin: 1rem 3rem;
    max-width: 12rem;
}

#thirdPartyLogos img:last-child {
    max-width: 6rem;
}

#thirdPartyLogos a:hover {
    cursor: pointer;
    opacity: 0.6;
}

#thirdPartyLogos a > img {
    max-width: 10rem !important;
}
#bottomMenu {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: .5rem;
    width: 100%;
}

#bottomMenu a {
    margin: 1rem 3rem;
    font-size: 1rem;
    padding: .5rem;
    color: white;
    text-shadow: none;
}

#bottomMenu a:hover {
    text-decoration: none;
    color: #1E324D;
}
/* Privacy Policy */
.privacy {
    font-family: 'Open Sans', sans-serif;
    margin: 2rem auto 0 auto;
    padding: 2rem;
    text-align: justify;
    flex-grow: 1;
    max-width: 800px;
}

.privacy h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
}

.privacy h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    padding: 1rem 0;
}

.privacy h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    padding: .5rem 0;
    color: #444;
}


.privacy p {
    font-family: 'Open Sans', sans-serif;
    color: #555;
}

.privacy p b {
    color: #444;
}

.privacy aside {
    width: 100%;
    padding: 2rem;
}

.privacy aside p {
    text-align: center !important;
}
/* Terms of Use */
.terms {
    padding: 2rem;
    margin: 2rem auto;
    flex-grow: 1;
    max-width: 800px;
    text-align: center;
}

.terms h2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
}

.terms p {
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
    color: #555;
}

.terms p b {
    color: #444;
}

.terms section {
    margin: 0;
}

.terms aside p {
    padding: 2rem;
    text-align: center;
}
#player {
    background-color: whitesmoke;
    max-width: 32rem;
    align-items: center;
    display: flex;
    flex-direction: row;
    margin: .5rem auto 1rem auto;
    border: 2px solid #20314c;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

#player h2 {
    color: #20314c;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 1.4rem;
    word-wrap: break-word;
    max-width: 17rem;
    text-align: left;
}

#player h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #8d3a06;
}

@media only screen and (max-width: 500px) {
    #player {
        margin: 0 auto 3rem auto;
        flex-direction: column;
    }

    #player h2 {
        text-align: center;
    }
}

#player section {
    margin: 1rem;
}

#player section:first-child {
    vertical-align: baseline;
    align-items: center;
    display: flex;
    flex-direction: row;
    position: relative;
}

#player section:first-child>div {
    padding: 3.4rem;
    border: 0.1rem solid #333;
    border-radius: 0.5rem;
}

#player section:first-child div>.cover, #player section:first-child .cover>img {
    margin: 0 auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 1px;
}

#player .placeholder, #player section:first-child .cover>img {
    color: #333;
    background-color: #333;
}

@media only screen and (max-width: 500px) {
    #player section {
        text-align: center;
        margin: 1rem 0 0 0;
    }

    #player section:first-child>div {
        padding: 5.5rem;
    }
}

#player section>div {
    vertical-align: baseline;
    align-items: center;
    display: flex;
    flex-direction: row;
}

#player span {
    margin: .25rem;
    font-family: 'Chivo Mono', sans-serif;
}

#player .bar {
    min-width: 10rem;
}

#player .hidden {
    display: none;
}

#player button {
    width: 4rem;
    height: 4rem;
    position: relative;
    border: none;
    color: white;
    background: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0 auto;
    cursor: pointer;
}

#player button:disabled {
    cursor: wait;
    opacity: 0.9;
}

#player button:active, #player button:focus, #player button:hover {
    outline: none;
}

#player button .circle, #player button img {
    width: 4rem;
    height: 4rem;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#player button .circle {
    background-color: #20314c88;
    border-radius: 50%;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

#player button img {
    opacity: 0.8;
    padding: 0.15rem;
}

#player .play {
    opacity: 1;
    transition: 0.5s;
}

#player .stop {
    opacity: 0.7;
    transition: 1s;
}

#player .stop:hover, #player .stop:active {
    opacity: 1;
    transition: 1s;
}

#player .play:hover .circle {
    background-color: #20314c;
}

#player .play:active .circle {
    background-color: #20314c;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
}

#player .stop:hover .circle {
    background-color: #8d3a06;
}

#player .stop:active .circle {
    background-color: #8d3a06;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
}

/* Live badge */
#player .live-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

#player .live-badge .live-dot {
    margin-top: .35rem;
    width: 0.65rem;
    height: 0.65rem;
    background-color: #e53e3e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-live 1.5s ease-in-out infinite;
}

#player .live-badge span:last-child {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 0.9rem;
    color: #e53e3e;
    letter-spacing: 0.15rem;
    font-weight: bold;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

#about {
    max-width: 95%;
    text-align: center;
}

#about h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    letter-spacing: -.1rem;
    text-shadow: -1px -1px 0 #FBBB5B,
    1px -1px 0 #FBBB5B,
    -1px 1px 0 #FBBB5B,
    1px 1px 0 #FBBB5B;
}

#about section {
    text-align: center;
    width: 800px;
    max-width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    background-color: whitesmoke;
    border: 2px solid #20314c;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

#about .flex {
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    #about .flex {
        flex-wrap: wrap;
        justify-content: center;
    }
}

#about img {
    margin: 0 auto .5rem;
    max-width: 30rem;
    border-radius: .5rem;
    border: 2px solid #F7C475;
}

#about > img {
    width: 100%;
}

#about .flex img {
    max-width: 20rem;
}

#about video, #promo object {
    border-radius: .5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #F7C475;
    background-color: #20314c;
}

#about object {
    min-height: 600px;
}

#about p, #about li {
    text-align: justify;
    font-family: "Montserrat", sans-serif;
    padding: .25rem;
}
#marketingSignup {
    width: 100%;
    max-width: 34rem;
    margin: 1.5rem auto 0;
    padding: 0 0.75rem;
}

#marketingSignup .card {
    background: rgba(245, 245, 245, 0.96);
    border: 2px solid #20314c;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 1rem;
}

#marketingSignup .headline {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin: 0 0 0.5rem;
}

#marketingSignup .finePrint {
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    text-align: center;
    margin: 0 0 0.9rem;
    opacity: 0.85;
}

#marketingSignup .finePrint a {
    color: #20314c;
    text-decoration: underline;
}

#marketingSignup .formRow {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#marketingSignup input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #20314caa;
    border-radius: 0.25rem;
    font-size: 1rem;
}

#marketingSignup input.error {
    border: 1px solid #8d3a06;
}

#marketingSignup input.success {
    border: 1px solid #0F5E0F;
}

#marketingSignup button {
    width: 10rem;
    text-align: center;
    font-size: 1.05rem;
    font-family: "League Spartan", sans-serif;
    letter-spacing: -0.03rem;
    padding: 0.55rem 0.75rem;
    background-color: #8d3a06;
    color: white;
    border: 1px solid #20314c55;
    border-radius: 0.25rem;
    box-shadow: 1px 1px 5px #20314c55;
    text-transform: uppercase;
}

#marketingSignup button:hover {
    background-color: #F7C475;
    color: #1E324D;
}

#marketingSignup button:hover.disabled {
    background-color: #8d3a06;
    color: white;
}

#marketingSignup button.success {
    background-color: #0F5E0F;
    color: white;
}

#marketingSignup .disabled {
    filter: grayscale(100%);
}

#marketingSignup .status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

#marketingSignup .status img {
    width: 40px;
    height: 40px;
    padding: 0.4rem;
    border-radius: 50%;
    background-color: #8d3a06;
}

#marketingSignup .statusText {
    font-family: "League Spartan", sans-serif;
    font-size: 1.05rem;
}

@media (max-width: 500px) {
    #marketingSignup .formRow {
        flex-direction: column;
        align-items: stretch;
    }

    #marketingSignup button {
        width: 100%;
    }
}

/* Dock Talk Stories — public pages.
   Brand voice: League Spartan display + Montserrat body,
   navy #20314c / sand #FBBB5B / rust #8d3a06, warm paper surfaces. */

#stories, #latestStories {
    max-width: 95%;
    text-align: center;
    padding-top: clamp(1rem, 2.5vw, 2rem);
}

#stories h1, #latestStories h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3rem);
    letter-spacing: -.1rem;
    text-shadow: -1px -1px 0 #FBBB5B,
    1px -1px 0 #FBBB5B,
    -1px 1px 0 #FBBB5B,
    1px 1px 0 #FBBB5B;
}

#stories .stories-intro {
    display: inline-block;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: .95rem;
    color: #20314c;
    background: rgba(250, 247, 242, .88);
    border-radius: 999px;
    padding: .4rem 1.1rem;
    margin-bottom: 2rem;
}

#stories .stories-empty {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-style: italic;
    color: #20314c;
    background: rgba(250, 247, 242, .88);
    border-radius: 999px;
    display: inline-block;
    padding: .5rem 1.2rem;
}

/* --- cards ------------------------------------------------------------- */

#root .stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    width: min(920px, 100%);
    margin: 0 auto 1.5rem;
}

/* single-story grid: don't stretch one card across the full row */
#root .stories-grid > .story-card:only-child {
    max-width: 420px;
}

#root .story-card {
    display: flex;
    flex-direction: column;
    background: #faf7f2;
    border: 2px solid #20314c;
    border-radius: .75rem;
    box-shadow: 0 3px 10px rgba(15, 26, 46, .18);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    text-align: left;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease-out;
}

#root .story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 26, 46, .28);
    text-decoration: none;
    color: inherit;
}

#root .story-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 2px solid #F7C475;
}

#root .story-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

#root .story-card:hover .story-card-media img {
    transform: scale(1.045);
}

#root .story-card-body {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: 1.1rem 1.3rem 1.3rem;
    font-family: "Montserrat", sans-serif;
}

#root .story-card-body time {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d3a06;
}

#root .story-card-body h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.35rem;
    line-height: 1.12;
    color: #20314c;
    margin: 0;
    text-align: left;
}

#root .story-card-body p {
    text-align: left;
    font-size: .92rem;
    line-height: 1.55;
    color: #46536a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#root .story-read-more {
    margin-top: .35rem;
    font-size: .85rem;
    font-weight: 700;
    color: #8d3a06;
}

/* featured (newest) story: wide horizontal card above the grid */
#root .story-card.featured {
    width: min(920px, 100%);
    margin: 0 auto 1.5rem;
}

@media (min-width: 720px) {
    #root .story-card.featured {
        display: grid;
        grid-template-columns: 11fr 9fr;
    }

    #root .story-card.featured .story-card-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 300px;
        border-bottom: none;
        border-right: 2px solid #F7C475;
    }

    #root .story-card.featured .story-card-body {
        justify-content: center;
        padding: 2rem 2.2rem;
    }

    #root .story-card.featured h2 {
        font-size: 1.9rem;
    }

    #root .story-card.featured p {
        -webkit-line-clamp: 4;
    }
}

#root .stories-back {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #8d3a06;
    margin-bottom: 1rem;
}

/* --- article ----------------------------------------------------------- */

#root .story-article {
    width: min(760px, 100%);
    margin: clamp(1.25rem, 3vw, 2.25rem) auto 0;
    padding: clamp(1.4rem, 4.5vw, 3rem);
    background: #faf7f2;
    border: 2px solid #20314c;
    border-radius: .75rem;
    box-shadow: 0 3px 10px rgba(15, 26, 46, .18);
    text-align: left;
    font-family: "Montserrat", sans-serif;
    color: #2b3850;
}

#root .story-article .story-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

#root .story-article h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    line-height: 1.06;
    letter-spacing: -.05rem;
    color: #20314c;
    text-shadow: none;
    margin: .25rem 0 .75rem;
}

#root .story-article .story-meta {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: .9rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d3a06;
}

#root .story-article .story-hero {
    margin: 0 0 1.75rem;
}

#root .story-article .story-hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: .5rem;
    border: 2px solid #F7C475;
}

/* readable measure for everything textual */
#root .story-article .story-body {
    max-width: 66ch;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}

#root .story-article .story-lead {
    text-align: left;
    font-size: 1.28rem;
    line-height: 1.5;
    font-weight: 600;
    color: #20314c;
    margin-bottom: 1.1rem;
}

#root .story-article .story-lead::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: #FBBB5B;
    margin-top: 1.1rem;
}

#root .story-article .story-body p {
    text-align: left;
    margin: 0 0 1.15em;
}

#root .story-article .story-body a {
    color: #8d3a06;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #F7C475;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: text-decoration-color .15s ease-out;
}

#root .story-article .story-body a:hover {
    color: #6d2c04;
    text-decoration-color: #8d3a06;
}

#root .story-article .story-body h2 {
    clear: both;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.55rem;
    line-height: 1.15;
    color: #20314c;
    text-align: left;
    margin: 2.1rem 0 .8rem;
}

/* images inside the story */
#root .story-article figure {
    margin: 1.6rem 0;
    text-align: center;
}

#root .story-article figure img {
    max-width: 100%;
    border-radius: .5rem;
    border: 2px solid #F7C475;
}

#root .story-article figure.img-full {
    clear: both;
}

#root .story-article figure.img-medium {
    width: min(72%, 440px);
    margin-left: auto;
    margin-right: auto;
}

#root .story-article figure.img-small {
    float: right;
    width: min(44%, 300px);
    margin: .35rem 0 1rem 1.5rem;
}

#root .story-article figcaption {
    font-size: .78rem;
    line-height: 1.45;
    color: #6d7890;
    margin-top: .45rem;
}

#root .story-article figure.img-small figcaption {
    text-align: left;
}

/* pull-quote */
#root .story-article .story-body blockquote {
    clear: both;
    margin: 2.2rem auto;
    padding: 0;
    max-width: 88%;
    text-align: center;
    border: none;
}

#root .story-article .story-body blockquote::before {
    content: '\201C';
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 3.2rem;
    line-height: .6;
    color: #FBBB5B;
    margin-bottom: .4rem;
}

#root .story-article .story-body blockquote p {
    text-align: center;
    font-size: 1.32rem;
    line-height: 1.45;
    font-weight: 600;
    font-style: italic;
    color: #20314c;
    margin: 0;
}

@media (max-width: 600px) {
    #root .story-article figure.img-small,
    #root .story-article figure.img-medium {
        float: none;
        width: 100%;
        margin: 1.4rem 0;
    }

    #root .story-article .story-body {
        font-size: 1rem;
    }
}

.error-404 {
    font-family: Oswald, sans-serif;
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
    max-width: 50rem;
    padding: 2rem;
}

.error-404 section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}
.error-404 div {
    padding: 2rem;
}

.error-404 h1 {
    padding: 1rem 0;
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
}

.error-404 h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #005E80;
}

@media all and (max-width: 500px) {

    /* CSS rules here for screens lower than 350px */
    .error-404 h1 {
        font-size: 4rem;
    }

    .error-404 h2 {
        font-size: 1.5rem;
    }

    .error-404 section {
        flex-direction: column-reverse;
    }
}

.error-404 p {
    font-family: Merriweather, sans-serif;
    color: #666;
    text-align: center;
    padding: 0.5rem;
    max-width: 20rem;
    margin: 0 auto;
    font-size: 0.8rem;
}

.error-404 img {
    border-radius: 1rem;
    max-width: 300px;
    max-height: 300px;
    min-width: 200px;
    margin-top: 2rem;
}

.error-404 a {
    color: #005E80;
}
#bottomNav {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    border-top: 2px solid #20314c;
    box-shadow: 0 -8px 8px -5px #20314caa;
    background-color: #20314c;
    font-family: "Montserrat", sans-serif;
    color: #F7C475;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100vw;
}

#bottomNav img {
    height: 4em;
    margin: .5rem 1em;
}
#bottomNav h4 {
    color: #F7C475;
}
#bottomNav h5 {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1rem;
    color: #F7C475;
}
#bottomNav a {
    display: flex;
    flex-direction: row;
    margin: 0;
    font-size: 1.25rem;
    text-shadow: -1px -1px 0 #F7C475,
    1px -1px 0 #F7C475,
    -1px 1px 0 #F7C475,
    1px 1px 0 #F7C475;
}




#copyrights {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
    flex-wrap: wrap;
}

#copyrights span {
    margin: 0 .25rem;
}

#copyrights a {
    margin-bottom: 4px;
    margin-left: 4px;
    margin-right: 4px;
    color: #8d3a06;
    padding-top: .1rem;
    font-weight: bold;
}

#copyrights a:hover {
    text-decoration: none;
    text-shadow: 0 0 4px #f0f8ff;
}

#slogan {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
    flex-wrap: wrap;
}

#slogan span {
    margin: 0 .25rem;
    color: white;
}

