@media screen and (max-width: 768px) { /* Bootstrap's mobile view breakpoint */
    .navbar {
      position: relative !important;
    }
  }

body {
    font-family: Inter; 
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* Drop Menu Active */
.drop-menu-active {
    background-color: #FFAB00;
    color: #000;
}

/* SECTIONS */

/* Feature Story */
.feature-story-img {
    border-radius: 40px 0px 40px 0px;
}

.feature-story-title {
    color: #000;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;   
    line-height: 0.9em;
    text-decoration: underline;
    text-decoration-thickness: 1px; 
}

.feature-story-title:hover {
    text-decoration-color: #FFAB00;
    text-decoration-thickness: 1px;    
}

.feature-story-lede {
    font-weight: 500;
    font-size: 1.1em;
    letter-spacing: normal;
    word-spacing: -1px;
    font-color: #6e6e6e;
}

/* Photo Headlines */
.photo-headlines-img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 0px 20px 0px 20px;
    margin-left: 10px;
}

.photo-headlines-title {
  font-family: "DM Serif Text", serif;
  color: #000000;
  text-decoration: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  font-size: 1.2em;
  line-height: 1.4rem;
}

.photo-headlines-title:hover {
  text-decoration-color: #FFAB00;
  text-decoration-thickness: 1px;
}

.photo-headlines-lede {
    font-size: 0.75em;
}

/* Headlines */
.headlines-title {
    color: #000;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
}

.headlines-title:hover {
  text-decoration-color: #FFAB00;
  text-decoration-thickness: 1px;
}

/* Scorebench Link (Footer) */

.href-scorebench {
  color: #FFAB00;
  text-decoration: none;
}

.href-scorebench:hover {
  color: #FFC04C;
  text-decoration: underline;
}



.bg-image-crop {
    border-radius: 40px 0px 40px 0px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

/* Navigation */

.navbar-scorebench {
  background-image: url("/dist/img/texture-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.nav-link {
    padding-left: 0px;
    padding-right: 0px;
    font-family: Inter;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding-bottom: 0px;
    margin-bottom: 10px;
    margin-top: 8px;
    margin-left: 0px;
    margin-right: 0px;
}

.nav-link:hover {
    color:#FFAB00;
}

.dropdown-divider {
    background-color: #FFAB00;
    height: 2px;
}

.dropdown-item {
    font-family: Inter;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.menu-active {
    font-family: Inter;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border-bottom-style: solid;
    border-width:  2px;
    border-color: #FFAB00;
    
}

.navbar-nav > li{
    padding-left:0px;
    padding-right:0px;
  }

.dropdown-menu{
    &.show{
        -webkit-animation: fadeIn 0.2s alternate; /* Safari 4.0 - 8.0 */
         animation: fadeIn 0.2s alternate;
    }
}

.nav-item.dropdown.dropdown-mega{
    position: static;
    .dropdown-menu{
        width: 90%;
        top: auto;
        left: 5%;
    }
}

/* Breadcrumbs */

.breadcrumb-item {
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #FFAB00;
}

.live-badge {
    position: relative;
    top: -1px;
    font-size: 0.6rem;
    margin-top: 0;
    border-radius: 3px;
}


.navbar-toggler{
    border: none;
    padding: 0;
    outline: none;
    &:focus{
        box-shadow: none;
    }
    .hamburger-toggle{
        position: relative;
        display: inline-block;
        width: 50px;
        height: 50px;
        z-index: 11;
        float: right;
        .hamburger {
            position: absolute;
            transform: translate(-50%, -50%) rotate(0deg);
            left: 50%;
            top: 50%;
            width: 50%;
            height: 50%;
            pointer-events: none;
            span {
                width: 100%;
                height: 4px;
                position: absolute;
                background: #fff;
                border-radius: 2px;
                z-index: 1;
                transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0), background 0.2s cubic-bezier(0.77,0.2,0.05,1.0), all 0.2s ease-in-out;
                left: 0px;
                &:first-child{
                    top: 10%;
                    transform-origin: 50% 50%;
                    transform: translate(0% -50%) !important;
                }
                &:nth-child(2){
                    top: 50%;
                    transform: translate(0,-50%);
                }
                &:last-child{
                    left: 0px;
                    top: auto;
                    bottom: 10%;
                    transform-origin: 50% 50%;
                }
            }
            &.active{
                span {
                    position: absolute;
                    margin: 0;
                    &:first-child{
                        top: 45%;
                        transform: rotate(45deg);
                    }
                    &:nth-child(2){
                        left: 50%;
                        width: 0px;
                    }
                    &:last-child{
                        top: 45%;
                        transform: rotate(-45deg);
                    }
                }
            }
        }
    }
}


.icons{
  display: inline-flex;
  margin-left: auto;
  a{
    transition: all 0.2s ease-in-out;
    padding: 0.2rem 0.4rem;
    color: #ccc !important;
    text-decoration: none;
    &:hover{
      color: white;
      text-shadow: 0 0 30px white;
    }
  }
}

.team-menu {
    padding: 4px;
}

.news{width: 160px}
.news-scroll a{text-decoration: none}
.dot{height: 6px;width: 6px;margin-left: 3px;margin-right: 3px;margin-top: 2px !important;background-color: rgb(207,23,23);border-radius: 50%;display: inline-block}


.blink {
    animation: blinker 1s linear infinite;
  }

  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }

.yellow-bar {
    border-bottom: solid #FFAB00 2px;    
}

.yellow-topbar {
    border-top: 3px solid #FFAB00;
}

.scorebench-tag {
    border-radius: 3px;
    font-size: 0.9;
    font-family: Inter;
    font-weight: 600;
    background-color: #ad0808;
}



.navbar-text {
    color: #ffffff;
    font-family: Raleway;
    font-weight: 700;    
    font-size: 0.8em;
}

.live-bar-bg {
    background-color: #494949;
}

.score-select {
    font-size: 0.7em;
    background-color: #eeeeee;
    border-radius: 0px;
}

.row-title {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.footer-title {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;    
}

.text-muted {
    font-style: italic;
}



/* Ad Slug*/

.ad-slug {
    font-family: sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0.02em;
    color: #4b4b4b;
    text-transform: uppercase;
    margin-block-start: 0;
    margin-block-end: 0;
    display: none;
    text-align: center;
    margin-bottom: 5px;
}

/* Scorebench Button */

.btn-scorebench {
    background-color: #FFAB00; /* A nice purple */
    border-color: #FFAB00;
    color: #ffffff; /* White text */
}

.btn-scorebench:hover {
    background-color: #fcb62b;
    border-color: #fcb62b;
    color: #ffffff;
}

.btn-scorebench:focus {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.btn-scorebench:active {
    background-color: #fcb62b;
    border-color: #fcb62b;
    color: #ffffff;
}

/* Time Ago */
.time-ago {
    color: #8a8a8a;
    font-style: italic;
    font-weight: 300;
    font-size: 0.8em;
}

/* Story */
.story-title {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;   
    font-size: 3rem;
}

.story-text {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.story-area {
    border-top: 1px solid #b8b8b8;
    border-bottom: 1px solid #b8b8b8;
    background-color: #f8f8f8;
}

.story-link {
    color: #FFAB00;
    font-weight: bold;
    text-decoration: none;
}

.story-link:hover {
    text-decoration: underline;
    text-decoration-color: #000000;
    text-decoration-thickness: 1px;
}

.inline_story_photo {
    border-radius: 30px 0px 30px 0px;
}

@media (max-width: 768px) {
  .table-condensed {
    font-size: 10px;
  }
}

.yellow-line {
    border-top: 2px solid #FFAB00;
}

.story-image {
    border-radius: 60px 0px 60px 0px; width: 100%;
}

/* Continuous */
.cont-photo {
    border-radius: 0px 20px 0px 20px;
}

.cont-headline {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.cont-lede {
  font-size: 0.8rem;
}


/* Header Slogan */

.red-leaf {
    color: #de1919;
}

.slogan {
    font-family: Inter;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.hidden {
    display: none !important;
}        

.load-more-btn-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

#load-more-button {
    min-width: 200px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #FFAB00;
    border-color: #FFAB00;
    color: #000;
}

#back-to-top-btn:hover {
    background-color: #E59A00;
    border-color: #E59A00;
}


#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.alert-success {
    border-radius: 10px;
    font-weight: 500;
}
.alert-danger-custom {
    border-radius: 10px;
    font-weight: 500;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-top: 1rem;
    display: none;
}
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}


/* --- Modal Customizations --- */

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0px 0px 15px 0px;
}

#externalPageModal .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    margin: 0;
    padding: 0;
    height: 96vh;
    position: absolute;
    top: 1.7vh;
    left: 2.5vw;
    transform: translateX(-100vw);
    transition: transform 0.3s ease-out;
}

#externalPageModal.show .modal-dialog {
    transform: translateX(0);
}

#externalPageModal.fade:not(.show) .modal-dialog {
    opacity: 1;
}

#externalPageModal.modal {
    transition: opacity 0.5s ease-out;
}

#externalPageModal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0px 35px 0px 0px;
    overflow: hidden;
    background-color: #3d3d3d;
}

#externalPageModal .modal-body {
    flex-grow: 1;
    overflow: hidden;
    padding-bottom: 0;
}

#externalPageModal .modal-header {
    position: relative;
    height: 60px;
    border-bottom: none;
}

.close-modal-button {
  z-index: 1000;
  opacity: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: #FFAB00;
  color: #000;
}

.close-modal-button:hover {
  background-color: #FFAB00;
}

        .sub-navbar {
            
            
            background-color: #eaeaea;
            height: 38px;
            border-bottom: 2px solid #FFAB00;
        }

        .sub-navbar .nav-link {
            color: #000000;
            text-decoration: none;
            text-transform: none;
            padding-top: 1px;
            padding-right: 22px;
            height: 20px;
            font-size: 0.8em;
        }

        .sub-navbar .nav-link:hover {
            text-decoration: underline;            
        }




        .score-card {
            margin-top: 10px;
            padding: 0rem;
            background: #ffffff;
            background: radial-gradient(circle,rgb(255, 255, 255) 0%, rgb(230, 230, 230) 100%);
            border-radius: 0px 40px 0px 40px;
            
        }
        .team-logo {
            max-height: 80px;
            
        }
        .score-display {
            font-size: 3.5rem; /* Larger font size for score */
            font-weight: bold;
        }

        /* Responsive adjustments */
        @media (max-width: 767.98px) {
            .team-info {
                flex-direction: column;
                margin-bottom: 1rem; /* Add space between stacked elements */
            }
            .team-info > div {
                margin-right: 0 !important; /* Override Bootstrap me-md-3 */
                margin-bottom: 0.5rem;
            }
            .team-logo {
                margin-top: 1rem;
                margin-bottom: 1rem;
            }
            .team-info.reverse-on-mobile {
                flex-direction: column-reverse;
            }
        }        


        
/* Styles for the Score Card container */
.score-card {
    margin-top: 10px;
    padding: 0rem;
    background: #ffffff;
    background: radial-gradient(circle,rgb(255, 255, 255) 0%, rgb(230, 230, 230) 100%);
    border-radius: 0px 40px 0px 40px;
}

.team-logo {
    max-height: 80px;
}

.team-logo-mobile {
    display: none;
}

/* Fluid scaling for screen sizes from 1200px down to 768px */
@media (min-width: 768px) and (max-width: 1200px) {
    .score-card .h4 {
        font-size: 1.25rem;
    }
    .score-card .small {
        font-size: 0.75rem;
    }
    .score-card .score-display {
        font-size: 2.5rem;
    }
}

/* Specific smaller sizes for mobile screens under 768px */
@media (max-width: 767.98px) {
    .score-card .h4 {
        font-size: 1rem;
    }

    .score-card .small {
        font-size: 0.65rem;
    }

    .score-card .score-display {
        font-size: 1.6rem;
    }

    .team-logo {
        display: none;
    }

.team-logo-mobile {
    display: inline-block;
    padding-top: 7px;
    max-height: 50px; /* Make the logo smaller too */
}

    .team-info {
        margin: 0;
    }
}


