/*
* Color variables for styling consistency
*/

:root {
    /* Primary Brand Colors */
    --color-sky-blue: #87CEEB;
    --color-blue-primary: #4A90E2;
    --color-yellow-primary: #FFD700;
    --color-yellow-dark: #FFC700;
    --color-tennis-ball-yellow: #ccd44f;
    --color-blue-gradient: linear-gradient(to bottom right, #87CEEB, #4A90E2, #87CEEB);

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Semantic/Usage-Based Variables */
    --color-background: #F9FAFB;
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --primary-color: #a7b14e;
    --secondary-color: rgb(81, 82, 82);
    --primary-bg-color: #FFFFFF;

    /* Fonts */
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-inter: 'Inter', system-ui, sans-serif;

    /* Measures */
    --radius: 0.625rem;

    /* New Theme Variables  --- BEGIN --- */
    --brand-green: #CCD44F;
    --brand-green-dark: #B4BC35;
    --brand-blue: #4A90E2;
    --brand-blue-dark: #3a7dcd;
    /* Body-size link text only. #4A90E2 is 3.29:1 on white and #3a7dcd is
       4.20:1 -- both fail WCAG AA for text under 24px, and this audience skews
       40-65. Keep --brand-blue for large numerals and fills, where 3:1 applies. */
    --brand-blue-text: #2C6BB5;
    --brand-sky: #87CEEB;
    --brand-sky-deep: #6EBADF;
    --brand-yellow: #FFC700;
    --brand-dark: #151514;
    --brand-ink: #1d1d1f;
    --brand-cream: #FAF9F5;
    /* New Theme Variables --- END --- */
}

html, body {
    overflow-x: hidden;
}

a {
    /*color: rgb(81, 82, 82);*/
    color: var(--color-blue-primary);
    /*display: inline-block;*/
    position: relative;
    text-decoration: none;
}
a:hover {
    color: var(--color-text-muted);
    text-decoration: underline;
}

a.bold-link {
    color: var(--color-gray-900);
    display: inline-block;
    position: relative;
    text-decoration: none;
}

p {
    font-size: 1em;
}

h5 {
    margin-bottom: 0;
}

#waiver {
    height: 300px;
    width: 100%;
    overflow-y: scroll;
    border: 1px solid black;
    padding: 5px;
}


.banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    max-width: 100%;
}

.bold-bn {
    background-color: var(--color-yellow-dark);
}

.bold-bn a {
    color: var(--color-gray-800) !important;
}

.disabled {
    background-color: darkgrey !important;
    pointer-events: none;
    border: 3px solid black;
}

.banner.panel > div {
    margin: auto;
    padding-top: 5em;
    padding-bottom: 5em;
}

.banner input {
    /*width: 15em !important;*/
    height: 5em;

}

.banner.text {
    color: black;
    font-weight: bold;
    font-size: 2em;
    padding-top: 2em;
    padding-bottom: 2em;
}

.box1 {
    background-color: lightgray;
    padding: 3em;
}

.box2{
    background-color:var(--primary-bg-color);
    border: 1em solid lightgray;
    padding: 3em;
}

.box3 {
    background-color: var(--primary-bg-color);
    border: 1px solid var(--primary-bg-color);
    padding: 3em;
    box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
}

.box4{
    background-color:var(--primary-bg-color);
    padding: 3em;
}

.banner-event {
    width: 100%;
}

.banner-event div {
    /*margin: auto;*/
    text-align: center;
    position: relative;
}

.banner-event img {
    position: relative;
}

.banner-event span {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    left: 0;
    top: -10px;
    word-break: break-word;
    align-items: center;
    justify-content: center;
    font-size: 200%;
    font-weight: bold;
    color: blue;
}

.bn-block {
    padding: 2em;
/*    width: 50%;*/
    float: left;
}



.clearfix{
    clear: both;
    font-size: 1px;
}

.advance-button {
    text-align: center;
    float: right;
    height: auto;
    color: var(--primary-bg-color);
    background-color: gray;
    transition: 0.2s ease-in;
}

.advance-button:hover{
    color: gray;
    background-color: var(--primary-bg-color);
}

.bracket-box {
    border: 1px solid gray;
}

.bracket-box-odd {
    border: 1px solid gray;
    /*margin-bottom: 2em;*/
}

/*.bracket-box-odd::after {
  content: " ";
  display: float;
  position: absolute;
  height: 5px;
  background: black;
  width: 40px;
  left: 100%;
  top: calc(50% - 2px);
}*/

.bracket-content{
    margin: auto;
    padding: 0.5em;
}

.bracket-cell {
    display: block;
    margin-top: 25px;
    margin-bottom: 25px;
/*    border-top: 1px solid green;
    border-bottom: 1px solid green;*/
}

.bracket_team {
    border: 1px solid black;
    width: 100%;
    margin-bottom: 2em;
}

.bracket_team:hover{
    border: 1px solid blue;
}

.b1 {
    padding-top: 4em;
    padding-bottom: 4em;
    background-color: #cccccc; 
}

.b2 {
    padding-top: 4em;
    padding-bottom: 4em;
    background-color: #eeeeee;
}

.btn-cancel{
    color: var(--primary-bg-color);
    background-color: #cc1111;
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 1em;
    width: 150px;
    text-decoration: none;
    border: 1px solid black;
    transition: 0.2s ease-in;
    cursor: pointer;
}

.btn-cancel:hover {
    text-decoration: underline;
    background-color: var(--primary-bg-color);
    color: black;
}

#feedback-panel {
    margin: auto;
    display: block;
}

.container-fluid {
    padding: 0;
    margin: 0;
}

.container-main {
/*    padding-bottom: 150px;*/
    min-height: 90vh;
}

.cta-unpaid {
    background-color: #ce0000;
    color: var(--primary-bg-color);
    transition: 0.2s ease-in;
    margin: 0.5em;
}

.cta-unpaid:hover {
    background-color: var(--primary-bg-color);
    color: #ce0000;
}

.cta-paid {
    background-color: green;
    color: var(--primary-bg-color);
    margin: 0.5em;
}

/* .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1;
} */

.price-option {
    border: 1px solid black;
    font-size: 100%;
    color: black;
    display: inline-block;
    margin: 0;
    padding: 5px;
}

.highlight {
    border: 4px solid #a7b14e;
    margin: 2em;
}

.expired-price {
    text-decoration: line-through !important;
    /*font-size: 150% !important;*/
    color: red !important;
    display: none;
}

hr.divider {
    width: 75%;
    line-height: 3px;
    background-color: var(--color-yellow-primary);
}

.text-center {
    text-align: center;
}

.textarea {
    width: 100%;
}

.bg-banner {
    width: 100%;
}

.tourney-list {
    width: 100%;
    height: 250px;
    margin: auto;   
    margin-top: 2em;
    margin-bottom: 2em;
    color: var(--primary-bg-color);
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in;
    border: none;
}

.tourney-header {
    order: 1;
/*    margin-right: auto;*/
    width: 100%;
    height: 50%;
    background-color: rgba(204, 212, 79, 0.7);
    background-repeat: no-repeat;
    transition: .2s ease-in-out;
    color: black;
    text-align: center;
}

.my_tourney_list tr{    
    border-bottom: 1px solid grey;
}

.my_tourney_list td, th {
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
}

.head {
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    text-decoration: underline;
    font-size: 150%;
}

.date {
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

.eventID {
    display: none;
}

.event-selection {
    border: 2px solid black;
    margin-top: 1em;
    text-align: center;
    padding: 0.5em;
    cursor: pointer;
}

.close-pairing-popup {
    position: absolute;
    right: 0;
    top: 0;
    border: 1px solid black;
    border-radius: 2% 2%;
    padding: 1em;
    cursor: pointer;
}

.pair, .teammate{
    margin: 1em;
    border: 1px solid grey;
    border-radius: 2% 2%;
    color: black;
    transition: 0.2s ease-in;
    background-color: none;
}

.teammate {
    cursor: pointer;
}

.pair.active , .teammate.active{
    color: var(--primary-bg-color);
    background-color: var(--color-yellow-primary);
}

.currUser {
    background-color: lightgrey;
}

.currUserPair {
    cursor: pointer;
}

.pairing-popup {
    display: block;
    position: fixed;
    height: 80%;
    width: 90%;
    margin: 5%;
    background-color: rgb(255, 255, 255);
    border: 1px solid grey;
    filter: drop-shadow(0 6mm 4mm grey);
    border-radius: 2% 2%;
    z-index: 100;
    padding: 2%;
}

.pairing-content {
    margin: 5%;
    padding: 2%;
    border: 1px solid black;
    min-height: 40%;
}

.pairing-members, .pairing-pairs {
    text-align: center;    
}

.pairing-members > div:not(.centered), .pairing-pairs > div:not(.centered) {
    border-radius: 12px;
    border: 1px solid grey;   
}


#eventID {
    visibility: hidden;
}

.location {
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

.register {
    padding: 0.5em;
}

.register > button {
    background-color: transparent;
    width: auto;
    border: 1px solid black;
    color: black;
    border-radius: 5px;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.25em;
    transition: 0.2s ease-in;
}

.register > button:hover {
    background-color: transparent;
    cursor: pointer;
    color: var(--primary-bg-color);
    border-color: var(--primary-bg-color);
}


.tourney-register {
    order: 2;
/*    margin-left: auto;*/
    width: calc(100% + 0.5px);
    height: 50%;
    background-color: rgba(204, 212, 79, 0.3);
    background-repeat: no-repeat;
    transition: .2s ease-in-out;
    transform: translateY(100%);
    color: black;
    text-align: center;
}

.tourney-list:hover > .tourney-header {
    background-color: rgba(204, 212, 79, 0.7);
}

.tourney-list:hover > .tourney-register {
    background-color: rgba(204, 212, 79, 0.7);
    transform: translateY(0);
}

.spaced1x1 {
    padding-top: 2em;
    padding-bottom: 2em;
}

.spaced-left-right {
    padding-left: 1em;
    padding-right: 1em;
}

/* body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: none;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
} */

*, *:before, *:after {
    box-sizing: border-box;
}

/* .ui-tabs-vertical .ui-tabs-nav { 
    padding: .2em .1em .2em .2em; 
    float: left;
    width: 12em;
}
.ui-tabs-vertical .ui-tabs-nav li { 
    clear: left;
    width: 100%;
    border-bottom-width: 1px !important;
    border-right-width: 0 !important;
    margin: 0 -1px .2em 0;
    overflow-wrap: break-word;
}
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0;
    padding-right: .1em;
    border-right-width: 1px;
 }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em;
    float: right;
    width: 40em;
} */

.ui-tabs-vertical .ui-tabs-nav li a {
    display: inline-block;
    background-color: white;
    border: 1px solid black;
    color: black;
    text-decoration: none;
    transition: 0.2s ease-in;
    min-width: 10em;  /* Minimum width to keep it compact */
    max-width: 15em;  /* Maximum width to prevent excessive expansion */
    width: 100%;
    padding: 1em;
    margin: auto;
    white-space: normal;  /* Allow text to wrap */
    word-wrap: break-word;  /* Break long words if necessary */
}

.admin-panel {
    border: rgb(150, 150, 150);
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-right: 2em;
}

.admin-panel tr td {
    border: 1px solid grey;
    padding: 0.25em;
}

.admin-panel th {
    color: var(--primary-bg-color);
    background-color: rgb(150, 150, 150);
    padding: 0.25em;
    font-weight: bold;
}

.admin-panel th, .admin-panel td {
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-header {
    width: 100%;
}

.admin-header ul li {
    display: inline-block;
}

.registration_results {
    overflow-x: auto;
}

.registration_results tr:hover {
    background-color: rgb(200, 200, 200);
}

#tabs {
    width: 100%;
    display: block;
    flex-direction: row;
}

.tabs-col-1 {
    order: 1;
}

.tabs-col-2 {
    order: 2;
    width: 100% !important;
}

.tabs-col-3 {
    order: 3;
    width: 100% !important;
}

.tabs {
    width: 100% !important;
    overflow-x: scroll;
}

.func-button {
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 1em;
    width: 150px;
    color: black;
    text-decoration: none;
    border: 1px solid black;
    background-color: none;
    transition: 0.2s ease-in;
    cursor: pointer;
}

.func-button:hover {
    text-decoration: underline;
    color: var(--primary-bg-color);
    background-color: rgb(50, 50, 50);
}

.func-right-corner {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.5em;
    text-align: center;
}

.msg-status {
    color: green;
}

.msg-error {
    color: red !important;
}

.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-color: rgba(50, 50, 50, 0.5);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.overlay.active {
    display: inline;
    
}

.pairing-button {
    /*display: none;*/
    transition: 0.2s ease-in;    
}

.pairing.button.hidden {
    display: none;
}

.pair-button-actual, .break-pair-actual {
    padding: 0.5em;
    width: 100%;
    color: black;
    background-color: var(--color-yellow-primary);
    border-color: var(--color-yellow-primary);
    margin: auto;
    border-radius: 10px;
    outline: none;
    display: none;
    transition: 0.2s ease-in-out;
}

.pair-button-invite {
    padding: 0.5em;
    color: black;
    background-color: var(--color-yellow-primary);
    border-color: var(--color-yellow-primary);
    margin: auto;
    border-radius: 10px;
    outline: none;
}

.pair-button-invite:hover {
    background-color: var(--primary-bg-color);
}

.pair-button-actual:hover, .break-pair-actual:hover {
    background-color: var(--primary-bg-color);
}

.pair-button-actual:focus, .break-pair-actual:focus {
    border-color: var(--primary-bg-color);
}

.div-button {
    border-radius: 28%;
    display: inline-block;
    padding: 3%;
    transition: 0.1s ease-in;
}

#invite_msg{
    transition: 0.2s ease-in-out;    
}

#add-teammate{
    border: 1px solid #a7b14e;
    background-color: #a7b14e;
    color: var(--primary-bg-color);
}

#add-teammate:hover {
   background-color: var(--primary-bg-color);
   color: black;
}

#leave-team {
    border: 1px solid #de3162;
    background-color: #de3162;
    color: var(--primary-bg-color);
}

#leave-team:hover {
    background-color: var(--primary-bg-color);
    color: black;
}

#remove-teammate {
    border: 1px solid #AE5551;
    background-color: #AE5551;
    color: var(--primary-bg-color);
}

#remove-teammate:hover {
    background-color: var(--primary-bg-color);
    color: black;
}

.div-button:hover{
    cursor: pointer;
}

.id-holder {
    visibility: hidden;
    height: 0;
}

#pair-pop-conf {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid black;
    border-radius: 25px;
    width: 100%;
    height: 100%;
    z-index: 50;
    left: 0;
    top: 0;
    margin: auto;
    transform: 0.2s ease-in-out;
    display: none;
}

#pair-pop-conf div {
/*    width: 300px;
    height: 200px;*/
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    position: absolute;
    background-color: var(--primary-bg-color);
    padding: 2em;
    border-radius: 25px;
    text-align: center;
}



.centered {
    position: relative;
    margin: auto;
    text-align: center;
    /*display: block;*/
/*    width: 30%;*/
}

.left {
    position: relative;
    margin: auto;
    text-align: left;
}

.right {
    position: relative;
    margin: auto;
    text-align: right;
}

.spaced-vertically {
    margin: auto;
    padding-top: 2em;
    padding-bottom: 2em;
}

.center {
    position: relative;
    margin: auto;
    text-align: center;
    display: inline-block;
}

.spaced-top-bottom {
    margin-top: 2em;
    margin-bottom: 2em;
}

.hidden {
    display: none;
}

.head-image {
    max-height: 400px;
    width: 100%;
    margin: auto;
    padding: 1em;
    overflow: hidden;
}

.head-image img {
    width: 100%;
    height: auto;
}

details {
    padding: 1em;
}

summary {
    padding: 1em;
}


.bannernav {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-right: 2em;
}


.bannernav a {
    float: left;
    display: block;
    color: var(--color-gray-600);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    height: 100%;
}

.bannernav a:hover {
/*  background-color: #d7e229;*/
    color: black;
    text-decoration: underline;
}

.bannernav a.active {
    background-color: #ddd;
    color: black;

}

.bannernav .icon {
    display: none;

}

.flanking-image {
    width: 100%;
    height: auto;
    text-align: center;
    overflow: hidden;
    display: block;
}

.flanking-image img {
    width: 60%;
    height: auto;
    border: 10px solid var(--color-tennis-ball-yellow);
    border-radius: 10px;
}

.skew {
    margin-top: -100px;
}

.skew-left {
    margin-left: -100px;
}

.skew-right {
    margin-right: -100px;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.bRed {
    border: 1px solid red !important;
}

.bBlue {
    border: 1px solid blue !important;
}

.bGreen {
    border: 1px solid green !important;
}

.cLightGrey {
    color: rgb(81, 82, 82);
}

.content-pane {
    width: 80%;
    position: relative;  
    margin: auto;
}

#content {
    width: 100%;
    margin: auto;
        position: relative;
}



#page-wrapper {
    position: relative;
    min-height: 100vh;
}

* {
    font-size: 100%;
    font-family: var(--font-inter), serif;
    box-sizing: border-box;

}

.headbar {
    /* background: rgb(81, 82, 82);
    color: black !important; */
    padding-left: 1em;
    padding-right: 1em;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2em;
    margin-bottom: 2em;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.headbar img {
    height: 6.5em;
    margin-left: 5em;
}

.clButton {
    background: var(--color-yellow-primary);
    border: 1px solid var(--color-yellow-primary);
    width: 100px;
    height: 50px;
    line-height: 50px;
    border-radius: 12px;
    display: inline-block;
    font-weight: bold;
    transition: 0.1s;
}

.clButton:hover {
    background: rgb(255, 255, 255);
    color: var(--color-yellow-primary) !important;
}

.clLink {
    color: var(--color-white) !important;
    background: var(--color-blue-gradient);
    margin-right: 10px;
    border: none;
    width: 6em;
    height: auto;
    font-weight: bold;
    border-radius: var(--radius);
    text-align: center;
    vertical-align: middle;
}

.clLink:hover{
    color: rgb(255, 255, 255) !important;
}

.checkbox {
    text-decoration: none;
}

.user-form {
    padding: 1em;
    position: relative;
    display: inline-block;
    box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
}

.form-embed {
    width: 100%;
    height: 1000px;
    overflow: hidden;
}

.embed-container {
    display: flex;
    justify-content: center;
}

iframe {
    aspect-ratio: 16/9;
    width: 100% !important;
}

label:not([type="checkbox"]) {
    margin: 0.25em;
    padding: 0.25em;
}

input, textarea, select {
    width: 100%;
    box-sizing: border-box;
}

input:not([type="checkbox"]) {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    padding: 0.25em;
    width: 100%;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.headbar-text {
    color: var(--primary-bg-color);
    text-align: right;
}

.headbar-text a {
    color: #CCD44F;
    margin-left: 1em;
}

.headbar-text a:hover {
    color: var(--primary-bg-color);
}

/*label {
    display: inline-block;
    float: left;
    clear: left;
    width: 150px;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-right: 1em;
}

 
form > input {
    background: none;
    border: 1px solid rgb(81, 82, 82);
    color: rgb(81, 82, 82) !important;
    padding: 0.5em;
    margin-top: 2em;
    margin-bottom: 2em;
    display: inline-block;
    float: left;
    position: relative;
    transition: 0.2s ease-in;
}*/

.submit {
    display: inline-block;
    background: none;
    color: black;
    transition: 0.2s ease-in;
    margin: auto;
    width: 100%;
    position: relative;
        text-decoration: none;
}

.submit:hover{
    background: rgba(50,50,50, 0.3);    
        text-decoration: underline;
}

#wrapper {
    overflow: hidden;
}

#container {
    background-color: rgba(50,50,50,0.7);
    color: var(--primary-bg-color);
    height: auto;
    width: 100%;
    margin: 4em 4em 4em 4em;
    min-height: 700px;
}

#login-form {
    /* Dark Theme */
    /* border: 1px solid rgb(100, 100, 100); */
    width: 100%;
    min-width: 75%;
/*    border: 3px double var(--primary-bg-color);*/
    box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
}

.form {
    background-color: var(--primary-bg-color);
    margin: 3em;
    margin-left: auto;
    margin-right: auto;
    padding: 2em;
    /* border: 1px solid rgb(100, 100, 100); */
    background-color: var(--primary-bg-color);
    width: 100%;
    min-width: 450px;
    max-width: 100%;
    position: relative;
    box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 14px -1px rgba(0,0,0,0.75);
}

.p-panel {
    width: 100%;
    height: 800px;
    position: relative;
    text-align: center;
    display: flex;
    overflow: hidden;
    align-items: center;

}

.p-panel div {
    font-weight: bold;
    color: var(--primary-bg-color);
    margin: auto;
    border: 10px solid var(--primary-bg-color);
    background-color: rgba(50,50,50,.6);
    padding: 3em;
    width: 600px;

}

.p-head {
    font-weight: bold;
    font-size: 3em;

}



.header-panel {
    width: 100%;
}

.header-panel-right {
    float: left;
    width: auto;
    height: 100%;

}

.header-panel-left {
    width: 20%;
    height: 100%;
    float: left;

}

.header-panel-right-upper {
    height: 50%;
    width: 100%;

}

.header-panel-right-lower {
    height: 50%;
    width: 100%;

}

.blocked {
    margin-top: 5em;
    margin-bottom: 5em;
}



#branding {
    height: 200px;
    position: relative;
    margin: auto;
    width: 100%;
    background-color: none;

}

#logo {
    height: auto;
    width: auto;
    overflow: hidden;
    float: left;
}

#logo > a > img {
    width: 90%;
    height: auto;
    margin: 1em;
    min-width: 100px;
    min-height: 100px;
}

#header {
    color: var(--primary-bg-color);
    width: 100%;
    height: 100%;
    background: rgba(50,50,50,.6);
    padding-bottom: 5px;
    border-bottom: 3px solid var(--primary-bg-color);
    border: none;
}

.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-50);
    height: 10vh;
    line-height: 5vh;
    font-weight: bold;
    font-size: 2em;
/*    position: absolute;       */
    text-align: center;
    bottom: 0;
}

.footer a {
    color: var(--color-white);
    height: 1vh;
    line-height: 1vh;
    font-weight: bold;
    font-size: 1em;
    text-decoration: underline;
    bottom: 0;
}

.landscape {
    display: block;
    float: left;
    margin: auto;
    width: 25%;
}

.landscape-child-1 {
    margin: auto;
    margin-left: 2em;
    float: left;
}

.landscape-child-2 {
    float: left;
    margin: auto;
    padding-left: 1em;
}

.lefttext { text-align: left;}

.righttext {text-align: right; }

.deadline {
    color: #ce0000;
    text-decoration: underline;
    font-size: 125%;
}

.deadline-header {
    color: #cc1111;
}

.row.footer {
    margin-bottom: 0 !important;
}

.page-title {
    font-weight: bold;
    font-size: 4em;
    text-align: center;
    color: var(--color-white);
}

.page-title div {
    margin: auto;
}

.tagline {
    font-weight: normal;
    font-size: 3em;
    text-align: center;
}

#verify_contact_by_email_only {
    opacity: 0;
    left:0;
    top: 0;
    position: absolute;
    height: 0;
    width: 0;
    z-index: -1;
}

ul, li {
    margin: 2em;
}

.alert-overlay {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0,0,0,0.4); /* Black background with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 400px;
  text-align: center;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.banner-header {
    background: linear-gradient(to bottom right, #87CEEB, #4A90E2, #87CEEB);
    color: var(--color-white);
    padding: 6em;
}
    
 /*CSS for Splide Banner*/
.splide {
  z-index: 999;
  /* background: var(--color-gray-900); */
  background: none;
}

.splide__list {
  color: #ffffff !important;
  width: 100%;
  /*max-height: 20%;*/
}

.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  /*background-color: #8b914a !important;*/
  font-family: var(--font-inter);
  padding: 5px;
  transition: 0.1s ease-in-out;
} 

.splide__slide__topper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  /*background-color: #8b914a !important;*/
  font-family: var(--font-sans); 
  padding: 5px;
  transition: 0.1s ease-in-out;
  color: #ffffff !important;
}

.splide__float__logo {
    /*float: left;*/
    display: inline-block;
    vertical-align: middle;
}

.banner_scroll_block {
    overflow: auto;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.splide__float__logo img {
  /*margin-right: 30px;*/
  height: 25%;
  margin: 3px;
  display: block;
}

.splide__float__content{
    /*margin-left: 200px;*/
    display: inline-block;
    vertical-align: middle;
}

.bold-text {
  font-weight: 800;
  margin-right: 5px;
  margin-left: 200px;
}

.close-banner-button {
  color: var(--primary-bg-color);
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  cursor: pointer;
  background-color: transparent !important;
  border: none;
}

/*// MOBILE VIEW //*/

@media screen and (max-width: 500px) {
    ul, li {
        margin: 0;
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;

    }

    .bannernav {
        overflow: hidden;
        position: relative;
        margin-left: 2em;

    }

    .bannernav a:not(:first-child) {
        display: none;

    }

    /* Not element-qualified: the toggle is a <button> now, so `a.icon` would
       leave it stuck at display:none and the mobile menu unreachable. */
    .bannernav .icon {
        float: right;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
        height: 60px;
    }

    .bannernav.responsive {
        position: relative;
        display: block;
    }

    .bannernav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;

    }

    .bannernav.responsive a:not(.icon) {
        float: none;
        display: block;
        width: 100%;
    }

    .bannernav a:not(.icon) {
        width: 100%;
    }

    .stat-num {
        text-align: center !important;
    }

}

@media (max-width: 800px) { 
    
}

@media (max-width: 900px) {

    .splide__list i {
    margin-right: 10px !important;
    }
    .splide__slide {
    font-size: 12px;
    text-align: center;
    }

    .splide__slide__topper {
        text-align: center;
    }

    .splide__float__logo img {
        /*margin-right: 0;*/
        text-align: center;
        float: none;
    }

    .flanking-image {
        display: none;
    }

    .flanking-image-container {
        display: none;
    }

    .banner-header {
        padding-left: 0;
        padding-right: 0;
    }

    div.centered:nth-child(2) {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    
}

@media (max-width: 1700px) {
    .header-stacker {
        text-align: center !important;
        width: 100% !important;
        /* margin-top: 2em; */
        padding-bottom: 0.5em;
    }

    .headbar {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .headbar img {
        height: 3.5em;
        margin: 0;
        margin: auto;
        margin-top: 1em;
        margin-bottom: 0.75em;
    }
}

/* New Theme Rules --- BEGIN --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* break out of the site container for full-width sections */
  .landing-fullwidth {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
  }

  body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--brand-ink);
    background: var(--brand-cream);
  }

  .display-anton {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .script-kicker {
    font-family: 'Kalam', cursive;
    color: var(--brand-ink);
    font-size: 28px;
    display: inline-block;
    transform: rotate(-3deg);
    margin-bottom: 0.5rem;
  }
  .cursive {
    font-family: 'Kalam', cursive;
    font-weight: 700;
    color: var(--brand-ink);
    background: var(--brand-green);
    padding: 0 5px 2px;
    font-size: 1.1em;
    display: inline-block;
    transform: rotate(-1deg);
    line-height: 1;
  }

  .btn-brand {
    background: var(--brand-green);
    color: var(--brand-ink);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 16px;
    border: 1.5px solid var(--brand-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
  }
  .btn-brand:hover, .btn-brand:focus {
    background: var(--brand-green-dark);
    color: var(--brand-ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(20,20,19,0.35);
  }
  .btn-outline-ink {
    background: transparent;
    color: var(--brand-ink);
    border: 2px solid var(--brand-ink);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 30px;
    transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
  }
  .btn-outline-ink:hover {
    background: var(--brand-ink);
    color: white;
    transform: translateY(-2px);
  }


  .hero {
    position: relative;
    padding: 96px 0 110px;
    /* background: var(--brand-sky); */
    background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-sky-deep) 60%, var(--brand-blue) 100%);
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 10%; right: 6%;
    width: 460px; height: 460px;
    transform: translate(50%, -30%);
    background: radial-gradient(circle, rgba(255,199,0,0.45) 0%, rgba(255,199,0,0.0) 65%);
    pointer-events: none;
  }
  .hero h1 {
    font-size: clamp(56px, 7vw, 110px);
    margin-bottom: 1.5rem;
    text-wrap: balance;
    color: var(--brand-ink);
  }
  .hero h1 .accent {
    background: var(--brand-green);
    padding: 0 16px 4px;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
  }
  .hero-sub {
    font-size: 18px;
    color: var(--brand-ink);
    max-width: 540px;
    margin-bottom: 2rem;
  }
  .hero-meta {
    font-size: 14px;
    color: var(--brand-ink);
    margin-bottom: 2rem;
    font-weight: 600;
  }
  .hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
  }
  .hero-meta .dot {
    width: 18px; height: 18px;
    background: url('/img/tball.png') center/contain no-repeat;
    margin-right: 8px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
  }

  .hero-video {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5);
    background: var(--brand-cream);
    position: relative;
  }
  .hero-video video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-video .video-controls {
    position: absolute; bottom: 14px; right: 14px;
    display: flex; gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .hero-video:hover .video-controls,
  .hero-video:focus-within .video-controls { opacity: 1; }
  @media (hover: none) {
    .hero-video .video-controls { opacity: 1; }
  }
  .hero-video .ctrl {
    background: rgba(20,20,19,0.72);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    font-family: inherit;
  }
  .hero-video .ctrl:hover { background: rgba(20,20,19,0.9); }

  .team-marquee {
    background: var(--brand-cream);
    border-top: 3px solid var(--brand-green);
    border-bottom: 3px solid var(--brand-green);
    padding: 22px 0;
    overflow: hidden;
    position: relative;
  }
  .team-marquee::before,
  .team-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
  }
  .team-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--brand-cream) 0%, transparent 100%);
  }
  .team-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--brand-cream) 0%, transparent 100%);
  }
  .marquee-track {
    display: flex;
    gap: 4.5rem;
    width: max-content;
    align-items: center;
    animation: marquee 90s linear infinite;
  }
  .team-marquee:hover .marquee-track,
  .team-marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }
  .team-logo {
    height: 64px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }
  .team-logo:hover {
    transform: scale(1.12);
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .promo-bar {
    background: var(--brand-yellow);
    color: var(--brand-ink);
    text-align: center;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .promo-bar strong { font-weight: 800; }

  .how {
    padding: 96px 0 80px;
    background: linear-gradient(to bottom, #fff, var(--brand-cream));
  }
  .stat-spread {
    max-width: 1080px;
    margin: 0 auto 5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .stat-row {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 1.6fr;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--brand-ink);
  }
  .stat-row:last-child {
    border-bottom: 1px solid var(--brand-ink);
  }
  .stat-row:nth-child(even) {
    grid-template-columns: 1.6fr minmax(200px, 1fr);
  }
  .stat-row:nth-child(even) .stat-num {
    order: 2;
    text-align: right;
  }
  .stat-row:nth-child(even) .stat-caption {
    order: 1;
    text-align: right;
  }
  .stat-num {
    font-family: 'Anton', sans-serif;
    font-size: clamp(96px, 14vw, 180px);
    line-height: 0.85;
    color: var(--brand-blue);
    text-align: left;
  }
  .stat-num .plus { color: var(--brand-blue); }
  .stat-caption {
    font-size: clamp(17px, 1.5vw, 22px);
    font-style: italic;
    color: var(--brand-ink);
    line-height: 1.4;
    max-width: 520px;
  }
  @media (max-width: 767.98px) {
    .stat-row,
    .stat-row:nth-child(even) {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }
    .stat-row:nth-child(even) .stat-num,
    .stat-row:nth-child(even) .stat-caption {
      order: initial;
      text-align: left;
    }
  }

  .how h2 {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 1.5rem;
  }
  .how-intro {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
  }
  .how-intro p {
    font-size: 18px;
    color: var(--brand-ink);
    line-height: 1.5;
    margin: 0 auto;
  }
  .how-detail {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    border-left: 4px solid var(--brand-green);
    background: white;
    box-shadow: 0 14px 28px -16px rgba(0,0,0,0.2);
    transform: rotate(-0.4deg);
  }
  .how-detail h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }
  .how-detail p {
    color: var(--brand-ink);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
  }

  .destination {
    position: relative;
    padding: 100px 0 110px;
    background: linear-gradient(180deg, var(--brand-sky) 0%, var(--brand-sky-deep) 100%);
    color: var(--brand-ink);
    overflow: hidden;
  }
  .destination .label {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-ink);
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255,255,255,0.55);
    padding: 4px 10px;
    border-radius: 4px;
  }
  .destination h2 {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 1rem;
    color: var(--brand-ink);
  }
  .destination .meta {
    font-size: 17px;
    color: var(--brand-ink);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  .destination .blurb {
    font-size: 16px;
    color: var(--brand-ink);
    max-width: 460px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .destination .stamp {
    display: inline-block;
    background: var(--brand-green);
    color: var(--brand-ink);
    padding: 1.25rem 1.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.18);
    transform: rotate(-1deg);
  }
  .destination .stamp .stamp-head {
    font-family: 'Anton', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
    display: block;
  }
  .destination .stamp .stamp-sub {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    display: block;
  }
  .destination .read-more {
    color: var(--brand-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    margin-top: 1.25rem;
  }
  .destination .read-more .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
  }
  .destination .read-more:hover { color: var(--brand-blue-dark); }
  .destination .read-more:hover .arrow { transform: translateX(4px); }

  .photo-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
    position: relative;
  }
  .photo-card {
    background: white;
    padding: 12px 12px 22px;
    box-shadow: 0 16px 32px -18px rgba(0,0,0,0.5);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
    position: relative;
  }
  .photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .photo-card.r1 { transform: rotate(-1.8deg); }
  .photo-card.r2 { transform: rotate(1.4deg); }
  .photo-card.r3 { transform: rotate(1.6deg); }
  .photo-card.r4 { transform: rotate(-1.2deg); }
  .photo-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    box-shadow: 0 24px 44px -18px rgba(20,20,19,0.65);
    z-index: 2;
  }
  @media (max-width: 991.98px) {
    .photo-collage {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 1rem;
      margin-top: 2.5rem;
    }
  }
  @media (max-width: 575.98px) {
    .photo-collage {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
  }

  .bracket {
    padding: 88px 0 80px;
    background: var(--brand-cream);
    position: relative;
    overflow: hidden;
  }
  .bracket-head {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
  }
  .bracket-head .kicker {
    font-family: 'Kalam', cursive;
    font-size: 22px;
    color: var(--brand-ink);
    display: inline-block;
    transform: rotate(-2deg);
    margin-bottom: 0.5rem;
  }
  .bracket-head h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
  }
  .bracket-head p {
    font-size: 17px;
    color: #4B5563;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
  }
  .bracket-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2.5rem;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
  }
  .matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 14px 28px -16px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .matchup:nth-child(odd) { transform: rotate(-0.6deg); }
  .matchup:nth-child(even) { transform: rotate(0.5deg); }
  .matchup:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 0 20px 40px -16px rgba(20,20,19,0.5);
  }
  .matchup .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .matchup .team img {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .matchup .team-name {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--brand-ink);
    line-height: 1.1;
    text-wrap: balance;
  }
  .matchup .vs {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    color: var(--brand-blue);
    letter-spacing: 0.05em;
    padding: 0 0.5rem;
  }
  .bracket-cta {
    text-align: center;
    margin-top: 4rem;
  }
  .bracket-cta p {
    font-family: 'Anton', sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  .bracket-cta p .accent {
    background: var(--brand-green);
    padding: 0 12px 4px;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
  }
  @media (max-width: 767.98px) {
    .bracket-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .matchup { padding: 1rem !important; }
    .matchup .team img { height: 52px; }
  }

  .close-cta {
    padding: 80px 0 120px;
    text-align: center;
    background: linear-gradient(180deg, var(--brand-sky) 0%, var(--brand-sky-deep) 100%);
    color: var(--brand-ink);
  }
  /* maybe bump this up later once we see it with real content */
  .close-cta h2 {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 1rem;
  }
  .close-cta p {
    color: var(--brand-ink);
    font-size: 16px;
    margin-bottom: 1.75rem;
    font-weight: 600;
  }
  .close-cta .btn-brand { font-size: 17px; padding: 20px 40px; }

  .btn-ghost {
    background: none;
    color: var(--brand-ink);
    border: none;
    font-weight: 700;
    text-decoration: underline;
    padding: 12px 0;
    cursor: pointer;
  }

  .site-footer {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.85);
    padding: 64px 0 32px;
    font-size: 14px;
  }
  .site-footer h4 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.08em;
    margin-bottom: 0.875rem;
    color: white;
  }
  .site-footer .foot-brand img { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
  .site-footer .foot-brand p { color: rgba(255,255,255,0.65); max-width: 320px; }
  .site-footer .foot-links a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-bottom: 0.5rem;
  }
  .site-footer .foot-links a:hover { color: var(--brand-green); }
  .foot-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.55);
    font-size: 13px;
  }
  .foot-bottom a { color: inherit; text-decoration: none; }
  .foot-bottom a:hover { color: var(--brand-green); }

  .ball-deco {
    position: absolute;
    top: 10%;
    right: 6%;
    width: 100px; height: 100px;
    animation: ballBounce 1.6s infinite;
    pointer-events: none;
    z-index: 0;
    transform-origin: center bottom;
    will-change: transform;
  }
  .ball-deco img {
    width: 100%; height: 100%;
    display: block;
    filter: drop-shadow(0 14px 18px rgba(0,0,0,0.25));
  }

  #video-overlay-left {
    position:absolute;
    top:0;
    left:0;
    background: var(--color-tennis-ball-yellow);
    display: flex;
    justify-content: left;
    padding: 10px;
  }

  @keyframes ballBounce {
    0% {
      transform: translateY(0) rotate(-12deg);
      animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
    }
    50% {
      transform: translateY(102px) scaleX(1.18) scaleY(0.78) rotate(4deg);
      animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1);
    }
    100% {
      transform: translateY(0) rotate(-12deg);
    }
  }
  @media (max-width: 991.98px) {
    .ball-deco { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .ball-deco, .marquee-track { animation: none !important; }
    .marquee-track { flex-wrap: wrap; justify-content: center; }
    .team-marquee::before, .team-marquee::after { display: none; }
  }

  @media (max-width: 991.98px) {
    .hero { padding: 40px 0 56px; text-align: center; }
    .hero-sub, .hero-meta { margin-left: auto; margin-right: auto; }
    .hero-video { margin-top: 1.5rem; margin-bottom: 1rem; }
    /* headline and CTA first on mobile; video autoplays right below them */
    .destination { min-height: 480px; }
    .destination .read-more { display: block; margin-left: 0; margin-top: 1rem; }
    /* fix: stamp was clipping on small screens */
    .destination .stamp { margin-bottom: 10px; }
  }

/* New Theme Rules --- END --- */



/* ===== Auth forms (login / register) — Aug 2026 UI pass ===== */

.auth-wrap {
    max-width: 470px;
    margin: 44px auto 72px;
    padding: 0 18px;
}
.auth-card {
    background: var(--color-white);
    border: 1.5px solid var(--brand-ink);
    border-radius: 12px;
    padding: 34px 30px 30px;
    box-shadow: 6px 6px 0 var(--brand-green);
}
.auth-card h1 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
    font-size: 1.7rem;
    margin: 0 0 4px;
    color: var(--brand-ink);
}
.auth-sub {
    font-size: .92rem;
    color: var(--color-gray-600);
    margin: 0 0 22px;
}
.auth-field { margin-bottom: 16px; }
.auth-field label {
    display: block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--brand-ink);
    margin-bottom: 5px;
}
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="tel"] {
    width: 100%;
    border: 1.5px solid var(--color-gray-600);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 1rem;
    font-family: var(--font-inter);
    color: var(--brand-ink);
    background: var(--color-white);
    box-sizing: border-box;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--brand-ink);
    box-shadow: 0 0 0 3px var(--brand-green);
}
.auth-help {
    font-size: .78rem;
    color: var(--color-gray-600);
    margin: 4px 0 0;
}
.auth-row { display: flex; gap: 12px; }
.auth-row .auth-field { flex: 1; }
.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--brand-ink);
}
.auth-check input[type="checkbox"] {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--brand-green);
    border: 1.5px solid var(--brand-ink);
}
.auth-check label { font-weight: 400; margin: 0; }
.auth-check--inline { margin: 6px 0; align-items: center; }
.auth-submit {
    display: block;
    width: 100%;
    background: var(--brand-green);
    color: var(--brand-ink);
    border: 1.5px solid var(--brand-ink);
    border-radius: 8px;
    font-family: var(--font-inter);
    font-size: 1rem;
    font-weight: 800;
    padding: 13px;
    cursor: pointer;
    transition: background .15s ease-out;
}
.auth-submit:hover { background: var(--brand-green-dark); }
.auth-submit:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.auth-links {
    text-align: center;
    font-size: .88rem;
    color: var(--color-gray-600);
    margin: 18px 0 0;
}
.auth-links a { color: var(--brand-blue-dark); font-weight: 600; }
.auth-card .message p { margin: 0 0 14px; font-weight: 600; }
.auth-card .message.error p { color: #b3391f; }
.auth-card .message.success p { color: #3d6b1f; }
.auth-card form,
.auth-card .form,
.auth-card #login-form {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    background: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
}

/* ===== Event registration — Aug 2026 UI pass ===== */

.evreg-wrap { max-width: 860px; margin: 36px auto 72px; padding: 0 18px; display: grid; gap: 26px; }
.evreg-card { background: var(--color-white); border: 1.5px solid var(--brand-ink); border-radius: 12px; overflow: hidden; }
.evreg-card-pad { padding: 28px 30px; }
.evreg-banner { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.evreg-kicker { font-family: 'Kalam', cursive; font-weight: 700; font-size: 1.15rem; color: var(--brand-ink); display: inline-block; transform: rotate(-2deg); margin-bottom: 2px; }
.evreg h1 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; color: var(--brand-ink); }
.evreg-h2 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: 1.4rem; margin: 0 0 6px; color: var(--brand-ink); }
.evreg-deadline { display: inline-block; background: var(--brand-green); color: var(--brand-ink); font-weight: 800; font-size: .95rem; padding: 7px 14px; border-radius: 6px; margin-bottom: 16px; }
.evreg-meta p { margin: 0 0 6px; font-size: .95rem; }
.evreg-desc { font-size: .95rem; color: var(--color-gray-700); margin-top: 14px; max-width: 70ch; }
.evreg-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.evreg-note { font-size: .9rem; color: var(--color-gray-600); margin: 0 0 16px; max-width: 65ch; }
.evreg-prices { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.evreg .price-option { border: 1.5px solid var(--brand-ink); border-radius: 10px; padding: 14px 22px; text-align: center; background: var(--color-white); }
.evreg .price-option .po-date { display: block; font-size: .78rem; font-weight: 600; color: var(--color-gray-600); margin-bottom: 4px; }
.evreg .price-option .po-cost { display: block; font-family: 'Anton', sans-serif; font-size: 1.7rem; color: var(--brand-ink); }
.evreg-prices .price-option:first-child { background: var(--brand-green); }
.evreg-prices .price-option:first-child .po-date { color: var(--brand-ink); }
.evreg-select { width: 100%; max-width: 560px; border: 1.5px solid var(--color-gray-600); border-radius: 8px; padding: 11px 12px; font-size: .95rem; font-family: var(--font-inter); color: var(--brand-ink); background: var(--color-white); }
.evreg-select:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-green); }
.evreg-total { margin-top: 18px; border: 1.5px solid var(--brand-ink); border-radius: 10px; background: var(--brand-cream); padding: 14px 18px; }
.evreg-total h3 { font-size: 1rem; font-family: var(--font-inter); margin: 4px 0; line-height: 1.5; }
.evreg #waiver { height: 320px; overflow-y: auto; border: 1.5px solid var(--color-gray-600); border-radius: 10px; padding: 18px 20px; background: var(--color-white); text-align: left; }
.evreg #waiver h3 { font-size: 1rem; margin: 18px 0 6px; }
.evreg #waiver p { font-size: .9rem; color: var(--color-gray-700); }
.evreg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
@media (max-width: 640px) { .evreg-grid { grid-template-columns: 1fr; } .evreg-card-pad { padding: 22px 18px; } }
.evreg .auth-field input { max-width: 100%; }
.evreg-submit-row { margin-top: 20px; display: grid; gap: 10px; justify-items: start; }
.evreg button.form-btn { background: var(--brand-green); color: var(--brand-ink); border: 1.5px solid var(--brand-ink); border-radius: 8px; font-family: var(--font-inter); font-size: 1rem; font-weight: 800; padding: 14px 34px; cursor: pointer; transition: background .15s ease-out; }
.evreg button.form-btn:hover:not(.disabled) { background: var(--brand-green-dark); }
.evreg button.form-btn.disabled { background: #e3e1d8; color: #7a796f; border-color: #b0aea2; cursor: not-allowed; }
.evreg .message.error { background: #fdf0ee; border: 1.5px solid #b3391f; border-radius: 10px; padding: 16px 18px; color: #7a2313; font-size: .95rem; }

/* ===== Teams page — Aug 2026 UI pass ===== */
.teams-create-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.teams-create-btn { width: auto; padding: 12px 24px; flex: none; }
.teams-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.teams-badge { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-green); border: 1.5px solid var(--brand-ink); display: grid; place-items: center; font-family: 'Anton', sans-serif; font-size: 1.4rem; color: var(--brand-ink); }
.teams-name { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: 1.5rem; margin: 0; color: var(--brand-ink); flex: 1; }
.teams-leave { font-size: .78rem; padding: 8px 14px; }
.teams-label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin: 18px 0 8px; }
.teams-roster { border: 1.5px solid var(--color-gray-600); border-radius: 10px; overflow: hidden; max-width: 560px; }
.teams-roster-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; font-size: .92rem; border-top: 1px solid #e3e1d8; }
.teams-roster-row:first-child { border-top: none; }
.teams-roster-headrow { background: var(--brand-cream); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--color-gray-600); }
.teams-invite-msg { font-weight: 600; font-size: .9rem; color: var(--brand-ink); margin: 0 0 8px; }
.teams-invite-msg:empty { display: none; }
.teams-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 6px 0; }
@media (max-width: 640px) { .teams-options { grid-template-columns: 1fr; } .teams-create-row { align-items: stretch; } .teams-create-row .auth-submit { width: 100%; } }
#leave-team.teams-leave, #leave-team.teams-leave:hover {
    background: var(--color-white);
    border: 1.5px solid #b3391f;
    color: #b3391f;
    border-radius: 8px;
    width: auto;
    font-weight: 700;
}
#add-teammate.teams-create-btn { width: auto; }

/* ===== Events list pricing — Aug 2026 ===== */
.evlist-event { margin: 2em auto 2.5em; }
.evlist-event .tourney-list { margin: 0; border-radius: 12px 12px 0 0; }
.evlist-pricing { background: var(--color-white); border: 1.5px solid var(--brand-ink); border-top: none; border-radius: 0 0 12px 12px; padding: 22px 24px; }
.evlist-h { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 10px; }
.evlist-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.evlist-prices { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.evlist-prices .price-option { border: 1.5px solid var(--brand-ink); border-radius: 10px; padding: 12px 18px; text-align: center; background: var(--color-white); }
.evlist-prices .po-date { display: block; font-size: .75rem; font-weight: 600; color: var(--color-gray-600); margin-bottom: 3px; }
.evlist-prices .po-cost { display: block; font-family: 'Anton', sans-serif; font-size: 1.55rem; color: var(--brand-ink); }
.evlist-prices .price-option:first-child { background: var(--brand-green); }
.evlist-prices .price-option:first-child .po-date { color: var(--brand-ink); }
.evlist-villas { list-style: none; margin: 0 0 10px; padding: 0; }
.evlist-villas li { font-size: .92rem; margin-bottom: 6px; color: var(--brand-ink); }
.evlist-villas .villa-cost { font-family: 'Anton', sans-serif; font-size: 1.05rem; margin-right: 6px; }
.evlist-note { font-size: .85rem; color: var(--color-gray-600); margin: 0; max-width: 52ch; }
.evlist-free { margin-top: 18px; border-top: 1px solid #e3e1d8; padding-top: 16px; }
.evlist-free ul { margin: 8px 0 0; padding-left: 1.2em; }
.evlist-free li { font-size: .92rem; margin-bottom: 4px; }
.evlist-cta { margin-top: 18px; }
.evlist-cta .btn-brand { display: inline-block; text-decoration: none; }
@media (max-width: 700px) { .evlist-cols { grid-template-columns: 1fr; } .evlist-pricing { padding: 18px 16px; } .evlist-cta .btn-brand { display: block; text-align: center; } }

/* ===========================================================================
   UI audit fixes, 2026-08-13. See ~/code/teamtennisgo/UI-AUDIT-2026-08-13.md
   =========================================================================== */

/* --- Skip link: first focusable element on every page ------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--brand-green);
    color: var(--brand-ink);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
}

/* --- Hidden alert dialog title (was an <h2>, polluting every outline) --- */
.alert-title {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
    font-size: 1.4rem;
    margin: 0 0 10px;
}

/* --- Link text contrast ------------------------------------------------- */
.auth-links a,
.evreg a:not(.btn),
.errpage-links a,
#content a:not(.btn):not(.read-more) {
    color: var(--brand-blue-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.destination .read-more { color: var(--brand-blue-text); }
.destination .read-more:hover { color: var(--brand-ink); }

/* --- Focus visibility ---------------------------------------------------
   Bootstrap's transparent --bs-btn-focus-box-shadow was overriding the brand
   focus style, so every .btn (Join Now included) focused invisibly. */
.btn:focus-visible,
a.btn:focus-visible,
button.btn:focus-visible {
    outline: 3px solid var(--brand-ink) !important;
    outline-offset: 3px;
    box-shadow: none !important;
}
.skip-link:focus-visible,
.icon:focus-visible,
.site-footer a:focus-visible,
.bannernav a:focus-visible {
    outline: 3px solid var(--brand-green);
    outline-offset: 2px;
}

/* --- Touch targets: 44px floor on anything tappable --------------------- */
.auth-submit {
    min-height: 48px;
    width: 100%;
}
/* Checkboxes were 20x20 next to a 34px submit. Grow the control and give the
   label enough padding that the whole row is a comfortable target. */
.auth-check input[type="checkbox"] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-top: 2px;
}
.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
}
.auth-check label {
    padding: 4px 0;
    cursor: pointer;
}
.site-footer .foot-links a {
    /* Block, not inline-block: these are a stacked list and inline-block let
       them run together onto one line. */
    display: block;
    padding: 11px 0;
    min-height: 44px;
    box-sizing: border-box;
}
.site-footer .foot-bottom a {
    display: inline-block;
    padding: 14px 6px;
    min-height: 44px;
    box-sizing: border-box;
}
.headbar .logo { min-height: 44px; }
.destination .read-more {
    padding: 11px 0;
    min-height: 44px;
    box-sizing: border-box;
}
.video-controls .ctrl { min-height: 44px; }
.tourney-register .register button { min-height: 44px; padding: 10px 20px; }
#menu-toggle {
    background: none;
    border: 0;
    min-width: 44px;
    min-height: 44px;
}

/* --- Homepage pricing block -------------------------------------------- */
.dest-price {
    background: #fff;
    border: 2px solid var(--brand-ink);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 1.5rem 0 1.25rem;
}
.dest-price-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(29,29,31,.14);
}
.dest-price-head .dp-num {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.6rem, 7vw, 3.6rem);
    line-height: 1;
    letter-spacing: .01em;
    background: var(--brand-green);
    padding: 2px 10px;
}
.dest-price-head .dp-label {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.35;
    color: var(--brand-ink);
}
.dest-price-head .dp-sub {
    display: inline-block;
    margin-top: 3px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}
.dp-lede {
    font-family: 'Kalam', cursive;
    font-size: 19px;
    margin: 14px 0 8px;
    color: var(--brand-ink);
}
.dest-price-free {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 16px;
    line-height: 1.55;
    color: var(--brand-ink);
}
.dest-price-free li { margin-bottom: 8px; }
.dest-price-free li:last-child { margin-bottom: 0; }

/* --- Villa select label on the registration page ------------------------ */
.evreg-select-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
    color: var(--brand-ink);
}

/* --- 404 page ----------------------------------------------------------- */
.errpage { text-align: left; }
.errpage h1 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.1;
}
.errpage-help { font-weight: 600; margin: 1.25rem 0 1rem; }
.errpage-links { text-align: left; margin-top: 1.5rem; }

/* --- Hero accent word was clipped past the viewport at 320px ------------ */
@media (max-width: 400px) {
    .hero h1.display-anton {
        font-size: clamp(2rem, 11vw, 2.9rem);
        overflow-wrap: break-word;
    }
    .hero .accent { display: inline-block; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .destination .read-more .arrow { transition: none; }
}

/* --- Bootstrap gutter overflow -----------------------------------------
   .row.g-5 sets a 3rem gutter, giving the row -24px side margins while the
   container only pads 12px, so every page ran 12px past the viewport on
   phones and was clipped by overflow-x:hidden. Match the gutter to the
   container padding at small widths instead of hiding the symptom. */
@media (max-width: 767.98px) {
    .row.g-5,
    .site-footer .row.g-5,
    .hero .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
}

/* --- Events list header -------------------------------------------------- */
.evlist-head {
    max-width: 44rem;
    margin: 2.5rem auto 1.5rem;
    text-align: center;
}
.evlist-head h1 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.1;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    margin: 6px 0 14px;
    text-wrap: balance;
}
.evlist-lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--brand-ink);
    max-width: 60ch;
    margin: 0 auto 10px;
    text-wrap: pretty;
}

/* --- FAQ ----------------------------------------------------------------- */
.faq-wrap {
    max-width: 46rem;
    margin: 2.5rem auto 3rem;
    padding: 0 1rem;
}
.faqpage h1 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.1;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    margin: 6px 0 14px;
    text-wrap: balance;
}
.faq-intro {
    font-size: 17px;
    line-height: 1.55;
    max-width: 60ch;
    margin-bottom: 2rem;
    text-wrap: pretty;
}
.faq-list { border-top: 2px solid var(--brand-ink); }
.faq-list details {
    border-bottom: 1px solid rgba(29,29,31,.16);
}
.faq-list summary {
    /* The default disclosure triangle is the browser's, not the brand's. */
    list-style: none;
    cursor: pointer;
    padding: 20px 44px 20px 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    color: var(--brand-ink);
    min-height: 44px;
    box-sizing: border-box;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -8px;
    border-right: 2.5px solid var(--brand-ink);
    border-bottom: 2.5px solid var(--brand-ink);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.faq-list details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: -3px;
}
.faq-list summary:hover { color: var(--brand-green-dark); }
.faq-list summary:focus-visible {
    outline: 3px solid var(--brand-green);
    outline-offset: -3px;
}
.faq-body {
    padding: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--brand-ink);
    max-width: 66ch;
}
.faq-body p { margin: 0 0 10px; }
.faq-body ul { margin: 0; padding-left: 1.2em; }
.faq-body li { margin-bottom: 6px; }
.faq-cta {
    margin-top: 2.5rem;
    padding: 24px;
    background: var(--brand-green);
    border-radius: 12px;
}
.faq-cta p { margin: 0 0 14px; font-weight: 600; }
.faq-cta .btn-brand {
    background: var(--brand-ink);
    color: #fff;
    border-color: var(--brand-ink);
    text-decoration: none;
}
.faq-cta .btn-brand:hover { background: #000; color: #fff; }
.faq-contact { margin: 16px 0 0 !important; font-weight: 400 !important; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
    .faq-list summary::after { transition: none; }
}

/* --- Remaining link-contrast and target stragglers ---------------------- */
/* Consent-line links sit inside a <label>, outside the earlier selectors. */
.auth-check a,
.evreg-note a,
.faq-body a {
    color: var(--brand-blue-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Blue on chartreuse is 3.38:1. On the brand block, links go ink.
   Needs the #content prefix to outweigh the earlier `#content a` rule. */
#content .faq-cta a:not(.btn),
.faq-cta a:not(.btn) {
    color: var(--brand-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}
/* The logo anchor collapsed to the image's 20px line box. */
.headbar .header-stacker > a {
    display: inline-block;
    min-height: 44px;
    padding: 4px 0;
}
/* These sit on their own line, so they are standalone targets rather than
   links inside a sentence. */
.auth-links a {
    display: inline-block;
    padding: 12px 4px;
    min-height: 44px;
    box-sizing: border-box;
}

/* The menu toggle became a <button> (it needs aria-expanded); strip the UA
   button chrome so it still reads as the bare hamburger icon it always was. */
.bannernav button.icon {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
}
