﻿/* 
    THIS IS SWIM SITE CSS
    ResultsSite_Swim.css
*/

/* 
    padding: 0px 0px 10px 0px;   
    T R B L 
*/

.local-main-override {
    background-color: unset; /* Resets to default/inherited */
    min-height: auto;
    margin-top: 0;
}
/* ---------------------------- */

#shareOnSocialButton {
    background-color: #af8d6a !important;
}

#loadingMessage {
    display: none;
}

#loadingMessage {
    /* This will center the text within the loadingMessage div */
    text-align: center;
    /* Other styles */
}

/* If you want to explicitly style the span, though text-align on parent is usually enough */
.loadingContent {
    /* If loadingContent itself were a block element, you could use text-align here */
    /* For a span, text-align on its parent (loadingMessage) is usually how you center its text */
    display: inline-block; /* Or block, if you need it to occupy its own line */
    /* text-align: center; -- This would only work if it's a block-level element */
}

.loading-spinner {
    width: 80px; /* Control the size of the SVG image */
    height: 80px;
}

.versionNumber {
    font-size: 10px;
    color: lightgray;
    justify-content: right;
}

.row-spacer-name {
    margin-top: 40px;
}

.row-spacer-small {
    margin-top: 15px; 
}

.row-spacer-medium {
    margin-top: 30px;
}
.row-spacer-large {
    margin-top: 50px; 
}

/* This is to override the tag from https://www.greatrun.org/ css*/
.pagination {
    padding: 0 0 0 !important;
    margin: 0 0 !important;
}

/* Responsive content container with padding and max-width */
.content-container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (min-width: 576px) {
    .content-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .content-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .content-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .content-container {
        max-width: 1180px;
    }
}

body {
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav {
    background-color: #c62828;
    color: white;
}

.body-content-results {
    padding-top: 40px;
}

.leaderboard-title-main {
    margin-top: 0px !important;
}

.runner-title-main {
    margin-top: 0px !important;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 900;
}

.search-title-main {
    margin-top: 0px !important;
}

.title-banner {
    height: 170px;
    background: linear-gradient(to bottom, #4997BE, #3F82A3);
    /*clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* #4997BE 3F82A3 */

.title-banner-runner {
    height: 600px;
    background: linear-gradient(to bottom, #4997BE, #3F82A3);
    /*clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.title-text {
    font-size: 4.0rem;
    font-weight: 600;
    margin: 0;
    /*padding: 0px 0px 10px 10px;
    font-style: italic;*/
}

.ad-box {
    background-color: #33343a;
    border-radius: 12px;
    padding: 1rem;
    color: white;
}

.ad-box-red {
    background-color: #D50032;
    border-radius: 12px;
    padding: 1rem;
    color: white;
}

/*
    .card-custom {
        background-color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        border-radius: 8px;
    }
*/
.card-custom {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gr-result-oblique {
    text-transform: uppercase;
    font-weight: bold;
}

/*@media (max-width: 767px) {*/ /* Adjust the breakpoint as needed */
    /*.gr-results-leaderboard-box,
    .gr-results-leaderboard-box .detail-box,
    .gr-results-leaderboard-box .table-responsive {
        overflow: visible !important;
    }

        .gr-results-leaderboard-box table {
            display: table !important;
        }
}*/


.footer {
    background-color: #0d1f6b;
    color: white;
}

footer {
    line-height: 0.2 !important;
    padding-top: 14px !important;
    padding-bottom: 10px !important;
}

/* The Container */
.footerlinks {
    margin-top: 1rem !important; /* Reduced from mt-6 (1.5rem) to mt-4 (1rem) */
    display: flex !important;
    flex-wrap: nowrap !important; /* Prevents awkward stacking on desktop */
    align-items: center !important; /* Perfectly aligns '|' with text */
    justify-content: center !important;
    gap: 12px !important; /* Consistent spacing between items */
}

    /* The Links */
    .footerlinks .footer-link {
        font-size: 0.95rem !important; /* Slightly smaller to match 'A' */
        white-space: nowrap !important; /* Keeps "Cookies Policy" on one line */
        text-decoration: none;
        transition: opacity 0.2s;
    }

        .footerlinks .footer-link:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

    /* The Separators */
    .footerlinks div {
        color: rgba(255, 255, 255, 0.6); /* Slightly faded like the original */
        font-weight: 300;
        user-select: none; /* Prevents highlighting the | when selecting text */
        display: flex;
        align-items: center;
    }

/* mobile Responsiveness */
@media (max-width: 768px) {
    .footerlinks {
        flex-wrap: wrap !important; /* Allow wrapping only on small screens */
        gap: 8px 12px !important; /* Row gap vs Column gap */
    }

    /* Hide separators on mobile if they get messy when wrapping */
    /*.footerlinks div { display: none; } */
}



/* From GreatRunResults.css */

.gr-results-leaderboard-box {
    padding: 15px;
    font-size: 16px;
}

.gr-results-leaderboard-box {
    max-width: 1250px;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #000;
}

.gr-results-head {
    /*background: #142a95;*/
    color: #000
}

.gr-result-title {
    color: #000;
}

.gr-result-title-scaps {
    text-transform: capitalize !important;
}

.gr-result-racenumber-surname {
    color: white !important;
    background: #002f6c;
}

.gr-result-text {
    color: #000
}

.gr-result-centre {
    justify-content: center;
    align-items: center;
    margin: auto;
}

.gr-results-box {
    margin: auto;
    width: 98%;
    /*border: 1px solid red;*/
    padding: 10px;
}

/*select#SearchRace {
    background: #d50032;
    width: 280px;
}*/

.button-box-container {
    display: flex;
    justify-content: space-between;
}

.btn-primary {
    background: #5d95ba;
    border: none;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-family-3);
}

    .btn-primary:hover {
        background: #7BC7F7;
    }

.btn-reset, btn-advreset {
    background: white;
    color: #AF8D6A;
    border: 1px solid #AF8D6A;
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 2em;
    text-align: center;
    min-height: 40px;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1rem;
    padding: 0 1.5em;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-family-3);
}

    .btn-reset:hover, btn-advreset:hover {
        background: #EAE0D5;
    }

a.btn.btn-runner {
    background: #AF8D6A;
    color: white;
    border: 1px solid #93775A;
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 2em;
    text-align: center;
    min-height: 40px;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1rem;
    padding: 0 1.5em;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-family-3);
}

    .btn-runner:hover, .btn-runner:hover {
        background: #FCCB99;
    }

    .btnResult {
    width: 180px;
    padding: 5px 15px;
    border-radius: 20px;
}

.btnResult-search {
    width: 180px;
    padding: 5px 15px;
    border-radius: 20px;
}

@media (min-width: 393px) {
    
    .title-banner-runner {
        height: 450px;
    }

    .runner-title-main {
        font-size: 1rem;
    }

    .gr-result-oblique {
        font-size: 1.75rem;
    }
}

/* Landscape phones (min-width: 600px) */
/* ----------------------------------- */
@media (min-width: 600px) {
    /*.container {
        padding: 1.5rem;
    }*/

    .runner-title-main {
        font-size: 2rem;
    }

    .gr-result-oblique {
        font-size: 1.75rem;
    }

    .gr-results-box {
        margin: auto;
        width: 100%;
        /*border: 1px solid red;*/
        padding: 5px;
    }

    /*select#SearchRace {
        width: 470px;
    }*/

    .btnResult {
        width: 180px;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .btnResult-search {
        width: 180px;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .title-banner-runner {
        height: 400px;
    }
}

/* Tablets (min-width: 768px) */
/* -------------------------- */

@media (min-width: 768px) {
    /*
    .header, .main, .footer {
        text-align: left;
    }*/
    .runner-title-main {
        font-size: 3rem;
    }
    
    .gr-result-oblique {
        font-size: 1.75rem;
    }

    .title-banner-runner {
        height: 400px;
    }
}

/* Desktop (min-width: 1024px) */
/* --------------------------- */
@media (min-width: 992px) {
    /*
    .layout {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .main {
        flex: 3;
    }

    .sidebar {
        flex: 1;
    }*/

    .runner-title-main {
        font-size: 4rem;
    }

    .gr-result-oblique {
        font-size: 2rem;
    }


    .button-box-container {
        display: flex;
        justify-content: space-between;
    }

    .btn-primary {
        background: #5d95ba;
        border: none;
        color: white;
        font-weight: 700;
        text-decoration: none;
        font-family: var(--font-family-3);
    }

        .btn-primary:hover {
            background: #7BC7F7;
        }

    .btn-reset, btn-advreset {
        background: white;
        color: #AF8D6A;
        border: 1px solid #AF8D6A;
        position: relative;
        display: inline-grid;
        place-items: center;
        border-radius: 2em;
        text-align: center;
        min-height: 40px;
        text-transform: uppercase;
        font-size: 1.1rem;
        line-height: 1rem;
        padding: 0 1.5em;
        font-weight: 700;
        text-decoration: none;
        font-family: var(--font-family-3);
    }

        .btn-reset:hover, btn-advreset:hover {
            background: #EAE0D5;
        }

    .btnResult {
        width: 240px;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .btnResult-search {
        width: 240px;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .title-banner-runner {
        height: 450px;
    }
}


.select2-container .select2-choice .select2-arrow {
    right: 0;
    left: auto;
}

.select2-container .select2-choice > .select2-chosen {
    margin-right: 14px;
    margin-left: 0;
}



input #Search\.SearchTerms\.RaceNumberSurname {
    width: 60% !important;
}

span.select2.select2-container.select2-container--bootstrap-5 {
    width: 555px !important;
}

label.input-label {
    width: 55% !important;
}

span.select-label {
    width: 55% !important;
}

.select-label {
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    /*background: #d71920;
    padding: 10px;
    display: inline-block;*/
    text-align: left;
    flex-grow: 1;
}

.select-box-container {
    background: #d71920;
    padding: 10px 15px 10px 15px;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    max-width: 100%;
    margin: auto;
}

.select-box {
    width: auto;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
}

.input-box-container {
    background: #002f6c;
    padding: 10px;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    max-width: 100%;
    margin-top: 15px;
}

.input-label {
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    /*padding: 10px;
    display: inline-block;*/
    text-align: left;
    flex-grow: 1;
}

.input-box {
    width: auto;
    background: transparent;
    border: 1px solid white;
    color: white !important;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
}

/* Leaderboard */

.whitebox-title {
    padding: 0px 0px 5px 5px;
}

/* From GreatRunResults.css */


/* Responsive text sizes */
@media (max-width: 768px) {
    /*.title-text {
        font-size: 1.4rem;
    }*/

    .card-custom {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    /*.title-text {
        font-size: 1.2rem;
    }*/

    .nav,
    .footer {
        font-size: 0.9rem;
    }
}


/* FIND YOUR RESULTS */

.search-fields {
    max-width: 850px;
    margin: 0 auto;
}

.search-block {
    padding: 1rem;
    border-radius: 12px;
}
/* Great Swim - Light Blue */
.red-block {
    background-color: #5d95ba;
}

/* Great Swim - gold */
.blue-block {
    background-color: #af8d6a;
}

.search-label {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 0;
    width: 400px;
}

.search-input-red {
    border-radius: 30px;
    border: 1px solid white;
    font-style: italic;
    font-weight: 600;
    color: white;
    background-color: transparent;
    width: 100%;
}

.search-input-blue {
    border-radius: 30px;
    border: 1px solid white;
    font-style: italic;
    font-weight: 600;
    color: white;
    background-color: transparent;
    width: 100%;
}

/* Great Swim - Light Blue */
.search-input-red {
    background-color: #5d95ba;
}

/* Great Swim - gold */
.search-input-blue {
    background-color: #af8d6a;
}

    .search-input-red::placeholder,
    .search-input-blue::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

@media (max-width: 576px) {
    .search-label {
        font-size: 1.1rem;
        text-align: left;
        width: auto;
    }

    .search-input-red,
    .search-input-blue {
        font-size: 0.9rem;
    }
}

/* Table Results */
/*
    Position	(Overall)	1
    Position	(Gender)	2
    Position	(Category)	3
    Name					4
    Club					5
    Race		No.			6
    Category				7
    Event					8
    Finish					9

*/

/* Initially hide columns that are not always needed */
    .tableSearchResults .desktop-only-large, /* For widths > 995px */
    .tableSearchResults .desktop-only-medium { /* For widths between 769px and 995px */
        display: table-cell;
    }


.tableSearchResults tr:hover td {
    background-color: #c6cbf1;
    cursor: pointer;
}

#tableLeaderboardMen tr:hover td {
    background-color: #c6cbf1;
    cursor: pointer;
}

#tableLeaderboardWomen tr:hover td {
    background-color: #c6cbf1;
    cursor: pointer;
}

/* Styles for smaller mobile screens (up to 768px) */
@media (max-width: 768px) {
    .tableSearchResults .mobile-always {
        display: table-cell;
    }
    /* Hide columns for small mobile screens */
    .tableSearchResults th:nth-child(1), /* Overall Position */
    .tableSearchResults th:nth-child(2), /* Gender Position */
    .tableSearchResults th:nth-child(3), /* Category Position (in the first header row) */
    /* name */
    .tableSearchResults th:nth-child(5), /* Club */
    /* Race no */
    .tableSearchResults th:nth-child(7), /* Category */
    .tableSearchResults th:nth-child(8), /* Event */
    .tableSearchResults td:nth-child(1), /* Overall Position */
    .tableSearchResults td:nth-child(2), /* Gender Position */
    .tableSearchResults td:nth-child(3), /* Category Position */
    /* name */
    .tableSearchResults td:nth-child(5), /* Club */
    /* Race no */
    .tableSearchResults td:nth-child(7), /* Category */
    .tableSearchResults td:nth-child(8) {
        display: none;
    }
    
    /* Event */
    /* .tableSearchResults td:nth-child(9) */       /* Finish */
    /* .tableSearchResults th:nth-child(9) */       /* Finish */

    /* Ensure columns intended for larger screens are hidden */
    .tableSearchResults .desktop-only-large,
    .tableSearchResults .desktop-only-medium {
        display: none;
    }
  }

  /* Styles for medium-sized screens (between 769px and 995px) */
  @media (min-width: 769px) and (max-width: 995px) {
    .tableSearchResults .mobile-always {
        display: table-cell;
    }
    /* Hide the *other* columns you need to hide in this range */
    .tableSearchResults th:nth-child( /* Add the nth-child index of the columns to hide */ ),
    .tableSearchResults td:nth-child( /* Add the nth-child index of the columns to hide */ ) {
        display: none;
    }

    .tableSearchResults .desktop-only-medium {
        display: table-cell;
    }

    /* Ensure columns intended for larger screens are also hidden here */
    .tableSearchResults .desktop-only-large {
        display: none;
    }
    /* You might choose to show some previously hidden columns in this range if needed */
    /* For example:
    th:nth-child(6),
    td:nth-child(6) {
      display: table-cell;
    }
    */
  }

  /* Styles for larger desktop screens (996px and wider) - all columns should fit */
  @media (min-width: 996px) {
    /* You might want to explicitly show all columns here if you initially hid some with classes */
    .desktop-only-large,
    .desktop-only-medium {
      display: table-cell;
    }
    /* Ensure all basic table cell display is set */
    .tableSearchResults th, .tableSearchResults td {
        display: table-cell;
    }
  }

/* Runner Table Results */

/* Remove padding from the card-custom container */
.card-custom {
    padding-left: 0;
    padding-right: 0;
}

/* Ensure the left and right columns are side by side on larger screens */
.runner-left-column,
.runner-right-column {
    padding-left: 10px; /* Reduced padding to make columns nearly full width */
    padding-right: 10px; /* Reduced padding to make columns nearly full width */
}

/* On small screens (mobile devices), stack the columns vertically */
@media (max-width: 767px) {
    .runner-left-column,
    .runner-right-column {
        width: 100%;
        display: block;
        box-sizing: border-box;
        padding-left: 15px; /* Adjust padding for mobile */
        padding-right: 15px; /* Adjust padding for mobile */
    }

    .row > #order-sm-Participant {
        order: 1; /* Table Participant */
    }

    .row > #order-sm-Ranking {
        order: 2; /* Table Ranking */
    }

    .row > .table.order-sm-Finish {
        order: 3; /* Table Finish */
    }

    .row > #order-sm-Splits {
        order: 4; /* Table Splits */
    }

    .row > #order-sm-Photos {
        order: 5; /* Table Photos */
    }

    .row > #order-sm-Fundraising {
        order: 6; /* Table Fundraising */
    }

    .row > #order-sm-iTab {
        order: 7; /* Table ITab */
    }
           
}

.row {
    display: flex;
    flex-wrap: wrap; /* Important for wrapping on smaller screens */
}


/* On medium screens and larger, each column takes up 50% of the width */
@media (min-width: 768px) {
    .runner-left-column,
    .runner-right-column {
        width: 50%;
        display: inline-block;
    }
        
}

/* Default order on medium and larger screens (no change) */
#order-sm-Participant {
    order: 0;
}

#order-sm-Ranking {
    order: 1;
}

#order-sm-Photos {
    order: 2;
}

#order-sm-Fundraising {
    order: 3;
}



#order-sm-Finish {
    order: 4;
}

#order-sm-Splits {
    order: 5;
}

#order-sm-iTab {
    order: 6;
}



.row > #order-sm-Participant {
    order: 1;
}
/* Table Participant */
.row > #order-sm-Finish {
    order: 2;
}
/* Table Finish */
.row > #order-sm-Ranking {
    order: 3;
}
/* Table Ranking */
.row > #order-sm-Splits {
    order: 4;
}
/* Table Splits */
.row > #order-sm-Photos {
    order: 5;
}
/* Table Photos */
.row > #order-sm-iTab {
    order: 6;
}
/* Table ITab */
.row > #order-sm-Fundraising {
    order: 7;
}
/* Table Fundraising */


.top-spacing-area-runner {
    padding-top: 6px;
}

.top-spacing-area {
    padding-top: 24px; 
}

.top-spacing-area-leaderboard {
    padding-top: 14px;
}

.sub-nav-bottom-line {
    border-bottom: 2px solid #5d95ba;
    background-color: #F2F2F2;
}

.sub-nav {
    display: flex;
    background-color: #F2F2F2;
    font-family: var(--font-family-1);
}

    .sub-nav a {
        color: Black;
        text-decoration: none;
        padding: 0.5rem 1.0rem;
        display: inline-block;
    }

        .sub-nav a:hover {
            background-color: #5d95ba;
            color: white;
        }

        .sub-nav a.active {
            background-color: #5d95ba;
            color: white;
        }


#menHeading, #womenHeading {
    display: none;
}


.adbox-leaderboard-ri .mobile-only {
    display: none; /* Hide mobile image by default */
}

/* Media query for screens smaller than a certain width (e.g., 768px for typical mobile) */
@media (max-width: 768px) {
    .adbox-leaderboard-ri .desktop-only {
        display: none; /* Hide desktop image on mobile */
    }

    .adbox-leaderboard-ri .mobile-only {
        display: block; /* Show mobile image on mobile */
    }
}



@media (max-width: 768px) {
    .gr-result-oblique {
        font-size: 2rem;
    }

    .gr-result-raceDescription {
        font-size: 1.6rem;
    }

}

.card-newsletter {
    max-width: 1000px;
}

.card-body-newsletter {

}

@media (max-width: 575.98px) {
    #shareOnSocialButton {
        padding: .25rem .5rem; /* Smaller padding */
        font-size: .875rem; /* Smaller font size */
        border-radius: .2rem; /* Smaller border radius */
    }
}

/* #4997BE 3F82A3 */

/*
.gform_button,
.btn {
    cursor: pointer;
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 2em;
    text-align: center;
    min-height: 40px;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1rem;
    padding: 0 1.5em;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-family-3);
    color: #fff;
    background: var(--sponsor-red)
}

*/


/* Area of Capture */
/* ---------------------------------- */
#captureArea {
    position: relative;
    overflow: hidden; /* Ensures nothing spills out during capture */
    background: #000; /* Ensure there is a background for the capture */
}

/* This hides the logo on the actual webpage */
.top-right-logo {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/*
.top-right-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}*/

/* Optional: Hide the Share button in the final image capture */
/* html2canvas looks at data-html2canvas-ignore attributes */
#shareOnSocialButton {
    /* You can add data-html2canvas-ignore to the HTML tag instead */
}

.socButton {
    cursor: pointer;
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 2em;
    text-align: center;
    min-height: 40px;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1rem;
    padding: 0 1.5em;
    font-weight: 700;
    text-decoration: none;
    font-family: futura-pt-condensed, sans-serif;
     color: #fff;
    background: #5d95ba !important;
}

.btnAdvSearch {
    color: rgba(var(--bs-wim-lightblue-color-rgb), var(--bs-link-opacity, 1)) !important;
}
/* ---------------------------------- */

/* Logo */

/*.logo-container {
    margin-top: 15px;
}

    .logo-container img {
        width: 250px;
        height: 46px;
    }*/



.btnSlug {
    border-radius: var(--radius-3xl);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 1);
    text-align: center;
    --tw-font-weight: var(--font-weight-bold);
    font-family: futura-pt-condensed;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-transform: uppercase;
    text-decoration: none !important;
}

@media (hover: hover) {
    .btnSlug:hover {
        opacity: 0.8;
    }
}

@media (width>=64rem) {
    .btnSlug {
        padding-inline: calc(var(--spacing) * 10);
    }
}

.btnSlug.btn-arrow:after {
    margin-left: calc(var(--spacing) * 2);
    --tw-content: "→";
    content: var(--tw-content);
}

.font-futura {
    font-family: futura-pt-condensed;
}

.font-montserrat {
    font-family: montserrat;
}

.btnSlug:hover {
    cursor: pointer;
}

/* header - logo without scroll ease */
/* The Container: Force a horizontal row */
.header-logoRes[data-astro-cid-jeu7rwpo] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Centers them vertically */
    justify-content: center !important;
    gap: 20px !important; /* Space between the elements */
    text-decoration: none;
    position: relative !important;
    transform: none !important; /* Kills any scrolling movement */
    width: auto !important;
    height: auto !important;
}

    /* The Coventry Logo (First Image) */
    .header-logoRes[data-astro-cid-jeu7rwpo] .brand-logoRes {
        height: 50px !important; /* Adjust height to your preference */
        width: auto !important;
        position: static !important; /* Breaks the absolute positioning */
        transform: none !important;
    }

    /* The Separator (Vertical Line) */
    .header-logoRes[data-astro-cid-jeu7rwpo] .separatorRes {
        display: block !important;
        background-color: #ffffff !important;
        width: 1px !important;
        height: 40px !important; /* Height of the line */
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
    }

    /* The Great North Swim Logo (Second Image) */
    .header-logoRes[data-astro-cid-jeu7rwpo] .main-logoRes {
        height: 70px !important; /* This logo is usually taller than the brand one */
        width: auto !important;
        position: static !important; /* Breaks the absolute positioning */
        transform: none !important;
    }

/* this stops the 'scrolled' class from moving things */
.header.scrolled .header-logoRes[data-astro-cid-jeu7rwpo] .brand-logoRes,
.header.scrolled .header-logoRes[data-astro-cid-jeu7rwpo] .main-logoRes,
.header.scrolled .header-logoRes[data-astro-cid-jeu7rwpo] .separatorRes {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
}