.inner-logo-container:before {
    content: "";
    background: white;
    width: 100%;
}

span[style="background-color: rgba(255, 255, 255, 0.114);"] {
    background-color: #007bff !important;
}

.Theme-RelatedStoriesSection .Theme-RelatedStories:not(:empty) {
    padding: 0px 40px 0px 40px !important;
}

.custom-min-nav-container
    .Theme-RelatedStories--Title
    .related-story-card
    .related-story-image
    img {
    object-fit: cover !important;
}

.custom-min-nav-container .crop-uncropped.crop-uncropped img {
    width: 100% !important;
    height: 100% !important;
    max-width: auto !important;
}

@media only screen and (max-width: 740px) {
    #resultButton {
        transition: transform 0.5s ease-in-out;
    }
    body:not(.custom-nav-hidden) #resultButton {
        transform: translateY(-85px);
    }
}

.splide__pagination {
    padding: 0 !important;
}

.Project-FooterContainer ul {
    display: none !important;
}

.tab_container .nav_container {
    transform: translateY(0%) !important;
    transition-delay: 0s !important;
}

.tab_options .custom-min-nav-container {
    transform: translate(-50%, 0%) !important;
    transition-delay: 0s !important;
}

.tab_options .nav_container {
    transform: translateY(150%) !important;
    transition-delay: 0s !important;
}

/* Hide cookie banner

#onetrust-consent-sdk { display: none }

End hide cookie banner */

h1 {
    font-weight: 400;
    font-style: normal;
}

/* .contents-label {
  position: absolute;
  bottom: -7.6px;
  font-size: 11px;
  font-family: "Imperial Sans Text", sans-serif !important;
  color: #500778;
} */

.contents-label {
    position: absolute;
    bottom: 35px;
    font-size: 17px;
    font-family: "Helvetica Neue Cond", sans-serif !important;
    color: #000;
}

@media only screen and (max-width: 799px) {
    .glider-contain {
        display: none;
    }
}

@media only screen and (min-width: 800px) {
    .splide {
        display: none;
    }

    .custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
        position: relative;
    }

    .custom-min-nav-container .RelatedStories-container {
        padding: 0 30px !important;
    }

    .custom-min-nav-container .Theme-RelatedStoriesSection {
        min-height: 400px;
        background: #aa65ff;
        position: relative;
        bottom: 20px;
        border-left: 0.5px solid #aa65ff;
        border-right: 0.5px solid #aa65ff;
    }

    .custom-min-nav-container
        .Theme-RelatedStoriesSection
        .Theme-Layer-BodyText {
        position: relative;
        top: 8px;
    }

    .Theme-RelatedStoriesSection ul {
        display: flex !important;
        flex-direction: row !important;
    }

    .Theme-RelatedStoriesSection .glider-contain > ul,
    .custom-min-nav-container .glider-contain > ul {
        display: flex !important;
        justify-content: unset !important;
        flex-wrap: unset !important;
    }

    .custom-min-nav-container {
        max-width: 800px;
        width: 95% !important;
    }

    .glider-next {
        right: -19px !important;
        top: 50% !important;
        transform: translateY(-88%);
    }

    .glider-prev {
        left: -19px !important;
        top: 50% !important;
        transform: translateY(-88%);
    }

    .glider-dots {
        position: relative;
        top: 9px;
    }
}

@media only screen and (min-width: 832px) {
    .glider-dots {
        position: relative;
        top: 0;
    }
    .custom-min-nav-container {
        height: 355px !important;
    }
}

.custom-min-nav-container .splide__pagination {
    padding: 0 !important;
}

@media only screen and (max-width: 619px) {
    .custom-min-nav-container .Theme-Layer-BodyText {
        overflow: visible !important;
    }

    .custom-min-nav-container .splide__pagination {
        bottom: -1.15em !important;
    }
}

.splide__arrows {
    display: none;
}

.splide__pagination__page.is-active {
    background: #aa65ff !important;
}
.splide__pagination__page {
    margin: 3px 9px !important;
    padding: 4px !important;
    background: #aa65ff !important;
}

.splide__pagination li {
    width: auto !important;
}

.splide__pagination {
    bottom: -1.35em !important;
    left: 0 !important;
    padding: 0 1em !important;
    position: absolute !important;
    right: 0 !important;
    z-index: 1 !important;
}

.splide__pagination {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.Theme-RelatedStories--Medium .related-stories-list li:not(:only-child) {
    max-width: unset !important;
    max-height: 288px;
}

.related-stories-list li {
    border: unset !important;
}

.custom-min-nav-container {
    background: #2fbbba;
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
    position: relative;
}

.custom-min-nav-container .RelatedStories-container {
    padding: 0 20px !important;
}

.custom-min-nav-container .Theme-RelatedStoriesSection {
    min-height: 400px;
    background: #aa65ff;
    position: relative;
    border-left: 0.5px solid #aa65ff;
    border-right: 0.5px solid #aa65ff;

    bottom: 20px;
}

@media only screen and (min-width: 1100px) {
    /* .custom-min-nav-container .Theme-RelatedStoriesSection {
    width: 100vw;
    width: 100svw;
} */
}

.custom-min-nav-container .Theme-RelatedStoriesSection .Theme-Layer-BodyText {
    position: relative;
    top: 8px;
}

.Theme-RelatedStoriesSection ul {
    display: flex !important;
    flex-direction: row !important;
}

.Theme-RelatedStoriesSection .splide__track > ul,
.custom-min-nav-container .splide__track > ul {
    display: flex !important;
    justify-content: unset !important;
    flex-wrap: unset !important;
}

/* old css below this line */

/* alex's css

.Theme-TitleSection {
  min-height: 100vh !important;
  min-height: 100svh !important;
}
*/
.hide {
    opacity: 0 !important;
    cursor: unset !important;
}

.custom-nav-hidden .nav_container {
    transform: translateY(150%);
}

.show-custom-mini-nav .custom-min-nav-container {
    transform: translate(-50%, 0%);
}

.show-custom-mini-nav .nav_container {
    transform: translateY(150%) !important;
}

.show-custom-mini-nav .nav_container {
    transition-delay: 0s;
}

body:not(.custom-nav-hidden).show-custom-mini-nav .custom-min-nav-container {
    transition-delay: 0.5s;
}

body:not(.show-custom-mini-nav, .custom-nav-hidden) .nav_container {
    transition-delay: 0.8s;
}

body:not(.show-custom-mini-nav) .custom-min-nav-container {
    transition-delay: 0s;
}

.scroll-up .nav_container {
    transition-delay: 0s !important;
}

.custom-min-nav-container {
    transform: translate(-50%, 100%);
    background: #aa65ff;
    height: 344px;
    width: 339px;
    border-radius: 3px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transition: transform 0.8s ease-in-out;
    z-index: 100;
    transition-delay: 0.5s;
    border: 1px solid #000;
}

@media only screen and (min-width: 400px) {
    .custom-min-nav-container {
        width: 380px;
    }
}

.nav_container {
    position: fixed;
    bottom: 7px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
    color: white;
    height: 97px;
    transition: transform 0.5s ease-in-out;
}

.button_container {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    opacity: 1;
    transition: opacity 1s;
    overflow: hidden;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    width: 142px;
    color: #aa65ff;
    text-decoration: none;
    background: #aa65ff;
}

.button_container:focus {
    opacity: 1;
}

@media only screen and (max-width: 500px) {
    .button_container:not(.hide) {
        opacity: 1 !important;
    }

    .image_div img {
        height: 110px;
        border-radius: 4px;
        filter: brightness(0.8);
    }
}

.button_container:hover {
    opacity: 1;
}

.button {
    cursor: pointer;
    pointer-events: none;
    font-family: "Helvetica Neue Cond", sans-serif !important;
    z-index: 10;
    min-height: 43px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-top: 4px;
    padding-bottom: 1px;
}

.arrow {
    font-size: 20px;
    pointer-events: none;
    z-index: 10;
    position: relative;
    bottom: 2px;
}

.image_div {
    position: absolute;
    bottom: 0;
    max-height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s;
    max-height: 100%;
    pointer-events: none;
    display: none;
}

.button_container.prev {
    margin-right: 20px;
    border: 1px solid #000;
    color: black;
    background-color: #fff;
}

.edition-logo {
    height: 94%;
    display: none;
}

.button_container.contents {
    background: #aa65ff;
    color: #000;
    border: 1px solid #000;
    cursor: pointer;
    width: 105px;
    height: 126px;
    padding-bottom: 14px;
}

/* new from claude */
.button_container.contents .contents-label {
    color: #000; /* or whatever color you want */
}
/* end new from claude */

.button_container.next {
    margin-left: 20px;
    border: 1px solid #000;
    color: black;
    background-color: #fff;
}

.button_container.prev .image_div {
    left: 0;
    width: 100%;
    border: 1px solid;
}

.button_container.next .image_div {
    right: 0;
    width: 100%;
}

.image_div img {
    min-height: 110px;
    width: 100%;
    border-radius: 4px;
    filter: brightness(0.7);
}

.PreviewFooter,
.Theme-OverlayedCaption {
    display: none;
}

.custom-min-nav-container-inner {
    overflow-y: scroll;
    height: 342px;
    margin: 10px;
    margin-right: 5px;
    margin-top: 6px;
}

/* Scrollbar styling for linkContainer */
.custom-min-nav-container-inner::-webkit-scrollbar {
    width: 5px;
}

.custom-min-nav-container-inner::-webkit-scrollbar-track {
    background: transparent;
}

.custom-min-nav-container-inner::-webkit-scrollbar-thumb {
    background: #888888de;
    border-radius: 2.5px;
}

.custom-min-nav-container-inner::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.inner-logo-container {
    height: 30px;
    display: flex;
    justify-content: flex-end;
}

.edition-logo-inner {
    height: 30px;
    background: white;
}

/* Reset default anchor styling while keeping the cursor pointer */
.linkAnchor {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
    margin: 0 2px 20px;
    border-radius: 8px;
}

.linkAnchor:last-of-type {
    margin: 0 2px;
}

/* Styling for linkAnchor with current-link class */
.linkAnchor.current-link {
    background-color: #d0d0d0; /* Different background color */
    color: #555; /* Darker text color for contrast */
    font-weight: bold; /* Make the text bolder */
    border-left: 4px solid #666; /* Add a left border for emphasis */
}

/* Adjusting the linkText and pageNumber inside the current linkAnchor */
.linkAnchor.current-link .linkText,
.linkAnchor.current-link .pageNumber {
    color: #555; /* Change text color to match the linkAnchor */
}

/* Optional: Adjust hover effect for current-link */
.linkAnchor.current-link:hover {
    background-color: #c8c8c8; /* Slightly different hover background */
}

.linkAnchor.current-link .linkContainer {
    border-radius: 0 10px 10px 0;
}

/* Container styling */
.linkContainer {
    background-color: #f0f0f0; /* Default background color */
    border-radius: 10px; /* Rounded corners */
    padding: 10px; /* Internal spacing */
    transition: background-color 0.3s ease-in-out; /* Smooth background color transition on hover */
}

/* Styling for linkText */
.linkText {
    font-size: 1.2em; /* Larger font size */
    color: black; /* Main text color */
    margin-bottom: 5px; /* Space between linkText and pageNumber */
}

/* Styling for pageNumber */
.pageNumber {
    font-size: 0.8em;
    color: grey; /* Subtle color for pageNumber */
}

/* Hover effect on linkContainer */
.linkContainer:hover {
    background-color: #e8e8e8; /* Light color on hover */
}

.linkText,
.pageNumber {
    text-align: center;
}

/* Additional visual enhancements */
@media (max-width: 600px) {
    .linkAnchor {
        border-radius: 8px; /* Slightly smaller border-radius for mobile */
    }

    .linkContainer {
        padding: 8px;
        border-radius: 8px; /* Slightly smaller border-radius for mobile */
    }

    .linkAnchor.current-link .linkContainer {
        border-radius: 0 8px 8px 0;
    }
}

/* Optional: adding a subtle shadow to linkContainer for depth */
.linkContainer {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
    border: 0.5px solid #aa65ff;
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-text {
    z-index: 10;
    opacity: 0.9;
}

.custom-min-nav-container
    .Theme-RelatedStories--Title
    .related-story-text:hover {
    opacity: 1;
}
