/*--------------------------------------------------
  Global Styles & Variables
--------------------------------------------------*/
:root {
    --dark-bg: #000000; /* Page background is now black */
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --spy-gray: #343a40;
    --placeholder-gray: #CCCCCC;
}

html {
    /* touch-screen off-canvas color */
    /* background: #333333; */
}

body {
    /* background-color: var(--dark-bg); */ 
    color: var(--light-text);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2, h5 {
    font-family: Futura, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

p, li, .inner-table {
    font-size: 0.9rem;
}

/* Bootstrap container max-width override */ 
.container {
    max-width: 1200px;
}

/* Increase font size on larger screens */ 
@media (min-width: 1601px) {
    html {
        font-size: 18px;
    }
    p, li {
        font-size: 1rem;
    }
    .nav-tabs-spy .nav-link {
        padding: 0rem 1.4rem !important;
    }
    .nav-tabs-alt .nav-link {
        padding: 0.1rem 1.4rem !important;
    }
}



/*--------------------------------------------------
  Cloudflare Mirage / Server-Side Overrides
--------------------------------------------------*/
@media (max-width: 768px) {
    #workshop-details img[data-cfsrc*="icon"] {
        margin: 0px auto !important;
        margin-bottom: 20px !important;
    }
    #why-participate img[data-cfsrc*="icon"] {
        margin: 0px auto !important;
    }
}






/*--------------------------------------------------
  Torn Edge Mask Effect (Only Works On Server, Can't Be Tested Locally)
--------------------------------------------------*/

.torn-edge-top {
    position: relative;
    background-color: green; /* This is the color of our section */
}

.torn-edge-top::before {
    content: ''; /* Pseudo-elements must have a content property */
    position: absolute; /* Positioned relative to the .torn-edge-section */
    
    /* Sizing and Positioning */
    width: 100%;
    height: 36px; /* This should be the height of your tear effect */
    left: 0;
    top: -36px; /* This is the key: a negative top value equal to the height pulls it up, overlapping the previous section */

    /* The background color MUST be set explicitly to match the section's color */
    background-color: blue;

    /* * The SVG mask. The mask cuts out the shape from the background.
     * 'mask-size: cover;' ensures the SVG stretches to fill the entire pseudo-element.
    */
  -webkit-mask-image: url('../img/mask-paper-top.png');
  -webkit-mask-repeat: repeat;
  -webkit-mask-position: bottom;
  -webkit-mask-size: contain;

  mask-image: url('../img/mask-paper-top.png');
  mask-repeat: repeat;
  mask-position: bottom;
  mask-size: contain;
}

@media (max-width: 768px) {
   .torn-edge-top:before {
        -webkit-mask-size:300% 50%;
        mask-size: 300% 30%;
    }
}  
  

/*--------------------------------------------------
  Header & Navigation Tabs
--------------------------------------------------*/
header {
    position: relative;
    z-index: 10;
}

.nav-item {
    margin-right: 5px;
}

@media (max-width: 768px) {
    header .container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

@media (max-width: 576px) {
    /* Full-width mobile navigation */
    header .container {
        max-width: 100%;
        padding: 0;
    }
    .nav-tabs-std {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .nav-tabs-std .nav-item {
        flex-grow: 1;
        text-align: center;
        margin: 0;
    }
    .nav-tabs-std .nav-link {
        width: 100%;
        border-radius: 0;
    }
}




/*----------------------------
  Spy Tabs
----------------------------*/

.nav-tabs-spy {
    border-bottom: none; 
    display: flex;
    justify-content: flex-start;
    padding-left: 1rem;
}

.nav-tabs-spy .nav-link {
    background-image: url('../img/nav-tab.svg');
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    height: 32px;
    width: auto;
    color: #fff;
    padding: 0.25rem 1.4rem;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
}

.nav-tabs-spy .nav-link span {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Courier New', Courier, monospace;
}

.nav-tabs-spy .nav-link:hover {
    transform: translateY(-5px);
}

/* Special style for the PC07 tab's inner label */
.nav-tabs-spy .nav-link.active span {
    background-image: url('../img/nav-current.svg');
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: #000;
    padding: 0rem 0.6rem;
    display: inline-block;
}

/* Ensure other tab text remains white */
.nav-tabs-spy .nav-link:not(.active) span {
     color: #fff;
}

.nav-tabs-spy .nav-minimized {
    /* display: none; */
    /* letter-spacing: -0.5px; */
    /* font-size: 0.7rem !important;
    line-height: 1;
    text-align: center;
    padding: 0.25rem 1.2rem; */
    text-transform: initial;
}


/*----------------------------
  Evergreen Tabs
----------------------------*/

.nav-tabs-alt {
    border-bottom: none; 
    display: flex;
    justify-content: flex-start;
    padding-left: 1rem;
}

.nav-tabs-alt .nav-link {
    background-image: url('../img/nav-tab.svg');
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    height: 32px;
    color: #fff;
    padding: 0.25rem 1.4rem;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
}

.nav-tabs-alt .nav-link:hover {
    transform: translateY(-5px);
}

.nav-tabs-alt .nav-link span {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Special style for the PC07 tab's inner label */
.nav-tabs-alt .nav-link.active span {
    background-image: url('../img/nav-current.svg');
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: #000;
    padding: 0rem 0.6rem;
    display: inline-block;
}

/* Ensure other tab text remains white */
.nav-tabs-alt .nav-link:not(.active) span {
     color: #fff;
}

.nav-tabs-alt .nav-minimized {
    /* display: none; */
    /* letter-spacing: -0.5px; */
    /* font-size: 0.7rem !important;
    line-height: 1;
    text-align: center;
    padding: 0.25rem 1.2rem; */
    text-transform: initial;
}




/*----------------------------
  Clean Tabs
----------------------------*/

.nav-tabs-std .nav-link {
    color: #222;
    font-size: 1rem;
    padding: 1px 1.5rem;
    transition: transform 0.2s ease-in-out;
    background: #e3e3e3;
    border-radius: 0px 0px 4px 0px;
    height: 32px;
}

.nav-tabs-std .nav-link:not(.active) span {
    color: #222;
    font-family: sans-serif;
    font-weight: normal;
}

.nav-tabs-std .nav-link.active {
    background: linear-gradient(90deg, rgba(76,15,22,1) 0%, rgba(14,26,37,1) 100%);
    color: #ffffff;
}

.nav-tabs-std .nav-link span {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-tabs-std .nav-link.active span {
    color: white;
    font-weight: bold;
    padding: 0rem 0.6rem;
    display: inline-block;
}

.nav-tabs-std .nav-link:hover {
    transform: translateY(-5px);
}

@media (max-width: 1600px) {
    .nav-tabs-std .nav-link {
        padding: 3px 1rem;
    }
    .nav-tabs-std .nav-item {
        margin-left: 0px;
        margin-bottom: 0px;
    }
}

@media (max-width: 576px) {
     .nav-tabs-std .nav-link {
        padding: 3px 0.75rem;
    }
}

@media (max-width: 420px) {
    .nav-tabs-std .nav-link {
        padding: 3px 0.5rem;
    }
    .nav-tabs-std .nav-link.active span {
        padding: 0rem 0.5rem;
    }
    .nav-tabs-std .nav-link span {
        font-weight: 600 !important;
    }
}

@media (max-width: 390px) {
    .nav-tabs-std .nav-link {
        padding: 3px 0.4rem;
    }
    .nav-tabs-std .nav-link.active span {
        padding: 0rem 0.4rem;
    }
    .nav-tabs-std .nav-link span {
        font-size: 0.85rem;
        font-weight: 600 !important;
    }
}

@media (max-width: 360px) {
    .nav-tabs-std .nav-link {
        padding: 3px 0.3rem;
    }
    .nav-tabs-std .nav-link.active span {
        padding: 0rem 0.25rem;
    }
    .nav-tabs-std .nav-link span {
        font-size: 0.8rem;
        font-weight: 600 !important;
    }
}



/*--------------------------------------------------
  Header Fixed Box
--------------------------------------------------*/
/* Deprecated PC7 Style */
/*
#executive-order {
    position: absolute;
    right: 0px;
    top: -50px;
    width: 360px;
    box-shadow: -20px 18px 20px 0px rgba(0, 0, 0, 0.15);
    background: white;
    transform: rotate(-7deg);
    z-index: 1;      
}
*/
#executive-order {
    background: linear-gradient(90deg, rgba(76,15,22,1) 0%, rgba(14,26,37,1) 100%);
    position: absolute;
    top: 0px;
    right: 65px;
    width: 360px;
    border-radius: 0px 0px 8px 8px;
    box-shadow: -20px 18px 20px 0px rgba(0, 0, 0, 0.05);
    z-index: 1;      
}

#executive-order p {
    color: white;
    font-weight: bold;  
    font-size: 0.9rem;
    line-height: 1.3;          
}

.executive-icon {
    position: relative !important;
    transform: none !important;
    background: none !important;
    box-shadow: none !important;
    margin-left: auto !important;
    top: -15px !important;
}

@media (max-width: 1600px) {
    #executive-order {
        position: absolute;
        right: 50px;
        width: 320px;
    }            
}


/*--------------------------------------------------
  Home -> Hero Section
--------------------------------------------------*/
#hero {
    color: var(--dark-text);
    /*
    background-image: url('../img/spy-mobile.svg');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 1100px;
    background-position-x: 60%;
    */
    background: white;
    height: 85vh;
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

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

.hero-logo-img {
    width: 800px;
    max-width: 90vw;
}

.hero-title-img {
    width: 500px;
    max-width: 60vw;
}

.btn {
    /* font-family: 'Courier New', Courier, monospace; */
    font-weight: bold;
}

.btn:hover {
    border-color: #000000;
}

.btn-register {
    /* display: none !important;  Hide the register button until registration opens again */
}

.btn-register {
    background-color: #4C0F16;
    border: 2px solid #888;
    color: white;
    padding: 0.45rem 2rem 0.6rem 2rem;
    margin-top: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-register:hover {
    background: white;
    color: black;
}

.btn-register:active, .btn-register:focus-visible {
    background-color: rgba(14, 26, 37, 1) !important;
    border-color: rgba(14, 26, 37, 1) !important;
    box-shadow: none !important;
}

.btn-practice {
    background-color: #fff;
    border: 2px solid #4C0F16;
    color: #000;
    padding: 0.45rem 2rem 0.6rem 2rem;
    margin-top: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-practice:hover {
    background: #16385a;
    color: white;
}



/* Disable animation overlay effect on registration buttons */
/*
.btn-register::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-text);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}
*/

.btn-register.is-visible::after {
    transform: scaleX(0);
}

.scroll-arrow {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 60px;
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/*--------------------------------------------------
  Home -> Mission Section
--------------------------------------------------*/
.torn-edge-divider {
    height: 60px;
    background-image: url('../img/mission-tear.svg');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: contain;
    margin-top: -30px;
    display: none;
}

#mission-awaits {
    /*
    background-image: url(../img/mission-bg.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    margin-top: -45px;
    */
}

/*--------------------------------------------------
  Home -> Redaction Animation
--------------------------------------------------*/
.redacted-container {
    transform: rotate(-2deg);
}

.redaction-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 3rem;
}

/* Staggered layout for redaction rows */
.redaction-row:nth-of-type(1) { justify-content: flex-end; margin-right: 3rem; }
.redaction-row:nth-of-type(2) { justify-content: flex-end; }
.redaction-row:nth-of-type(3) { justify-content: flex-end; }
.redaction-row:nth-of-type(4) { justify-content: flex-end; margin-right: -0.1rem; }
.redaction-row:nth-of-type(5) { justify-content: flex-end; }


.redaction-row h2 {
    flex-shrink: 0;
    margin: 0 0.5rem;
    font-size: 2.2rem;
}

.redacted-text {
    position: relative;
    margin: 0 0.5rem;
}

.redacted-text span {
    color: #fff;
    font-family: Courier;
    font-weight: 700;
    font-size: 2.2rem;
    white-space: nowrap;
}

.redacted-text::after {
    content: '';
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(../img/redaction-white.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transform: scaleX(0);
    transform-origin: left;
}

/* This class will be added by JS to trigger the animation */
.redacted-container.is-visible .redacted-text::after {
    animation-name: draw-redaction-cover;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: var(--animation-delay, 0s);
}

@keyframes draw-redaction-cover {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/*--------------------------------------------------
  Home -> Intel Subsection
--------------------------------------------------*/
#intel {
    color: var(--dark-text);
    max-width: initial;
    padding-left: 12% !important;
    padding-right: 0;
}

.intel-card {
    color: var(--dark-text);
    position: relative;
    background-image: url('../img/intel-card.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
}

#agent-toolkit {
    background: linear-gradient(91deg, rgba(55, 5, 13, 1) 0%, rgba(27, 50, 72, 1) 100%);
    overflow-x: hidden;
}

/*
#agent-toolkit {
    background-image: url(../img/agent-toolkit.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    overflow-x: hidden;
}

@media (max-width: 1200px) {
    #agent-toolkit {
        background-size: cover;
    }
}
*/

@media (max-width: 576px) {
    #agent-toolkit .d-flex .col {
        padding-right: calc(var(--bs-gutter-x) * .2) !important;
        padding-left: calc(var(--bs-gutter-x) * .2) !important;
    }
}

.intel-icons > div:hover {
    transition: transform 0.2s ease-in-out;
}

.intel-icons > div:hover {
    transform: translateY(-5px);
}

/* Disable pointer events until registration opens */
.intel-icon-1 {   
    /* pointer-events: none; */
}

.intel-icon-1 img {   
    padding-top: 1rem;
    width: 92% !important;
}
.intel-icon-2 img {   
    width: 100% !important;
}
.intel-icon-3 img {        
    padding-top: 1.1rem;
    width: 92% !important;
}
.intel-icon-4 img {        
    padding-top: 0.8rem;
    width: 67% !important;
}

@media (max-width: 768px) {
    .intel-card-title {
        min-width: 150% !important;
        max-width: 150% !important;
        margin: 0px auto !important;
    }
    .intel-icons .col-6 {        
        padding: 0px !important;
    }
    .intel-card .intel-icons {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .intel-card-title {
        min-width: 150% !important;
        max-width: 150% !important;
        margin-left: -25% !important;
    }
}

/*--------------------------------------------------
  Home -> Timeline Section
--------------------------------------------------*/
#timeline {
    /*
    background-image: url(../img/timeline-bg.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-position-x: 10%;
    background-size: cover;
    margin-top: -120px;
    color: var(--dark-text);
    position: relative;
    */
}

.timeline-title {
    overflow: hidden;
}

.timeline-title img {
    width: 100%;
}

#timeline .pc8-intro-hourglass {
    display: block;
    width: 100%;
    max-width: 188px;
    height: auto;
}

@media (max-width: 767.98px) {
    #timeline .pc8-intro-hourglass {
        max-width: 120px;
        margin: 0 auto 0.5rem;
    }
}

@media (max-width: 575.98px) {
    #timeline .pc8-intro-actions .btn {
        width: 100%;
    }
}

.timeline-status {
    border: 1px solid #dee2e6;
}

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

.timeline-button .btn-register {
    margin-top: 0.5rem !important;
}

@media (max-width: 1200px) {
    .timeline-button .btn-register {
        margin-top: 2rem !important;
    }
}

.timeline-individual .row div,
.timeline-team .row div {
    border-right: 3px dotted #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    position: relative; /* Needed for the pseudo-element */
}

.timeline-individual .row div:first-of-type, .timeline-individual .row div:last-of-type {
    border-right: none;
}

.timeline-team .row div:first-of-type, .timeline-team .row div:last-of-type {
    border-right: none;
}

.timeline-individual-mobile img, .timeline-teams-mobile img {
    width: 100%;      
}

.timeline-individual img, .timeline-team img {
    width: 100%;
    z-index: 1;
    position: relative;
}

/* Add a pseudo-element to create the inner border for 2/7 width columns */
.timeline-individual .col-md-2-of-7::after, .timeline-team .col-md-2-of-7::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    border-right: 3px dotted #bbbbbb;
}

.timeline-black:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: black;            
}

.timeline-locality .row {
    /* display: grid;
    grid-template-columns: 1fr 4fr 2fr; 
    height: 10px; */
}

 .timeline-locality .col-blank {
    width: 15%;
}

.timeline-locality .col-virtual {
    height: 10px;
    width: 56%;
    margin-bottom: 5px;
    margin-right: 5px;
    border-top: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
}

.timeline-locality .col-virtual:before {
    content: 'virtual';
    position: relative;
    top: -25px;
    font-size: 0.8rem;
    font-family: Courier, monospace;
    text-transform: uppercase;          
}

.timeline-locality .col-in-person {
    height: 10px;
    width: 28%;
    margin-bottom: 5px;
    border-top: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;           
}

.timeline-locality .col-in-person:before {
    content: 'in person finals';
    position: relative;
    top: -25px;
    font-size: 0.8rem;
    font-family: Courier, monospace;
    text-transform: uppercase;          
}

#spy-wrapper {

}

#spy {
    position: relative;    
    bottom: -125px;
    right: 100px;
    transform: scale(2.5);
}

@media (min-width: 1200px) {
    #spy {
        position: relative;    
        right: 200px;
    }
}

@media (min-width: 1400px) {
    #spy {
        position: relative;    
        right: 150px;
    }
}

@media (min-width: 1700px) {
    #spy {
        position: relative;    
        bottom: -200px;
        right: 100px;
        transform: scale(2.65);
    }
}

@media (min-width: 2200px) {
    #spy {
        position: relative;    
        bottom: -200px;
        right: 100px;
        transform: scale(2.8);
    }
}




/*--------------------------------------------------
  Home -> Skills Section & Buttons
--------------------------------------------------*/
#skills {
    background-image: url(../img/skills-bg.svg);
    background-repeat: no-repeat;
    background-position: top center;
    /* background-position-x: 10%; */
    background-size: cover;
    margin-top: -200px;
    padding-top: 200px !important;
    color: var(--dark-text);
    position: relative;
}

.skills-title {
    overflow: hidden;
}

.skills-title img {
    width: 100%;
}

.shadow-light {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

#hone-skills {
    background-image: url(../img/hone-skills.svg);
    background-repeat: no-repeat;
    background-position: 0% 20%;
    background-size: cover;
    color: var(--dark-text);
    position: relative;
}

@media (max-width: 480px) {
    #hone-skills {
        background-position: 12% 40%;
    }
}

/*--------------------------------------------------
  Footer
--------------------------------------------------*/
footer {
    background-color: white;
    color: var(--dark-text);
}

.footer-stamp, .footer-logo, .footer-briefed {

}

.footer-stamp img, .footer-logo img, .footer-briefed img {
    width: 100%;
}

.footer-briefed {
    width: 300px;
}

.footer-stamp {
    width: 160px;
}

.footer-logo {
    width: 100px;
}

/*--------------------------------------------------
  Responsiveness & Custom Grid
--------------------------------------------------*/

/* Responsive: min-width */

@media (min-width: 577px) {
    .mobile-only {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-tablet-only {
        display: none;
    }
    
    .col-md-1-of-7 {
        flex: 0 0 auto;
        width: 14.2857%;
    }
    
    .col-md-2-of-7 {
        flex: 0 0 auto;
        width: 28.5714%;
    }
}

@media (min-width: 993px) {
    #hero {
        min-height: 550px;
        max-height: 700px;
    }
    
    .hero-content {
        margin-top: 25px;
        margin-left: -50px;
    }
    
    #skills {
        min-height: 750px;
        max-height: 900px;
    }            
    
    .redaction-row {
        margin-right: 3rem;
    }
}

@media (min-width: 1201px) {          

}        

@media (min-width: 1401px) {          
    #timeline > .container {
        /* max-width: 1100px; */
    }
    #skills {
        background-size: 100% 100%;
        max-height: 1400px;
    } 
    #intelTabs > li:first-of-type {
        margin-left: 17% !important;
    }   
}

@media (min-width: 1601px) {          
    #mission-awaits {
        /*
        margin-top: -65px !important;
        padding-top: 7rem !important;
        */
    }
    #timeline > .container {
        /* max-width: 1375px; */
    }
    .timeline-title {
        max-width: 1500px;
        margin: 0px auto;
    }
    .skills-title {
        padding-top: 4rem !important;
        padding-left: 6rem;
        padding-right: 6rem;
        max-width: 1500px;
        margin: 0px auto;
    }
    #intelligence-tabs {
        /*max-width: 1200px;
        margin: 0px auto;*/
    }
    #intelTabs > li:first-of-type {
        margin-left: 19% !important;
    }   
}

@media (min-width: 2200px) {          
    #intelTabs > li:first-of-type {
        margin-left: 23% !important;
    }   
}

@media (min-width: 2800px) {          
    #intelTabs > li:first-of-type {
        margin-left: 28% !important;
    }   
}

@media (min-width: 3400px) {          
    #intelTabs > li:first-of-type {
        margin-left: 33% !important;
    }   
}

@media (min-width: 4000px) {          
    #hone-skills {
        padding-top: 12rem !important;
        padding-bottom: 7rem !important;
        margin-top: -100px;
    }
}



/* Responsive: max-width */

@media (max-width: 1200px) {
    #upcoming-mission .container, 
    #mission-awaits .container,
    #timeline .container,
    #hone-skills .container,
    #why-participate .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
}

@media (max-width: 992px) {
    #hero {
        /* background-image: url('../img/spy-mobile.svg');
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: cover; */
        height: 75vh;
        min-height: 490px;
    }
    
   .redacted-container {
        transform: none !important;
        margin-bottom: 2rem;
    }
    
    .redaction-row {
        justify-content: center !important;
    }        

    #upcoming-mission .container {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }

    #executive-order {
        visibility: hidden;
        max-height: 125px;
    }
}

@media (max-width: 768px) {
    .mobile-tablet-hide {
        display: none;
    }
    
    #mission-awaits .container {
        overflow: hidden;
    }
    
    h1 {
        font-size: 1.75rem;
    }

    #hero {
        height: 65vh;
        background-position: bottom right;
    }

    #intel, #intel .row {
        padding-left: 0px !important;
    }
    
    .intel-card h3 {
        rotate: 1deg;
        padding-top: 1rem !important;
        margin-bottom: 0px;
        width: 30rem;
        overflow: hidden;
        margin-left: -2rem !important;
    }

    .intel-card {
        background: white !important;
    }

    .redaction-row h2, .redacted-text span {
        font-size: 1.5rem;
    }
    
    .nav-tabs-spy .nav-link {
        padding: 0.25rem 0.75rem;
        font-size: 0.9rem;
    }

    .nav-tabs-alt .nav-link {
        padding: 0.25rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav-tabs-spy, .nav-tabs-alt {
        padding-left: 0px;
    }

    .nav-tabs-spy .nav-item {
        margin-right: 0px;
        margin-left: 0px;
    }

    .nav-tabs-alt .nav-item {
        margin-right: 0px;
        margin-left: 0px;
    }
    
    .ind-eagle, .team-eagle {
        max-width: 50%;
    }
    
    .timeline-button {
        margin-bottom: 75px;
        text-align: center;
    }
    
    .timeline-dates {
        padding: 10px 0px 0px 0px !important;
    }
    
    .timeline-dates-solo {
        margin-top: -40px !important;
    }
    
    .timeline-title img {
        width: 160%;
        overflow: hidden;
    }
    
    #skills {
        min-height: initial;
    }

    .skills-title {
        padding-top: 0px !important;
    }
    
    .skills-title img {
        width: 150%;
        margin-left: -25%;
        overflow: hidden;
    }

    /* Webkit/iPhone element background fix */
    .nav-tabs-spy .nav-link, .nav-tabs-alt .nav-link {
        /* Set the border image properties */
        border-image-source: url('../img/nav-tab.svg');
        border-image-slice: 1 fill; /* Adjust '15' to fit your SVG's design */
        border-image-width: auto;

        /* Remove the old background properties */
        background-image: none !important;
        background-size: initial;
        background-repeat: initial;

        /* Keep your original height and width */
        height: 30px;
        width: auto;
        
        /* Prevents any actual background color from bleeding through */
        background-clip: padding-box; 
    }
    .nav-tabs-alt .nav-link.active span {
        background-size: cover !important;
        padding: 0rem 0.3rem !important;
    }
    .nav-tabs-spy .nav-link, .nav-tabs-alt .nav-link {
        margin-left: 0px;
        margin-right: 0px;
    }
    .nav-tabs-spy .nav-link {
        padding: 0.1rem 0.85rem 0.1rem 0.85rem;
    }
    .nav-tabs-alt .nav-link {
        padding: 0.3rem 0.85rem 0.1rem 0.85rem;
    }
    .nav-tabs-alt .nav-link span {
        font-size: 0.8rem;
    }
    .redacted-text::after {
        background-size: cover !important;
    }

    #executive-order {
        display: none;
    }
}

@media (max-width: 576px) {
    html {
        background: black;
    }
    
    #hero {
        height: 65vh;
        background-position: bottom right;
    }
    
    
    .btn-practice {
        margin-top: 1rem !important;
        padding: 0.5rem 1rem !important;
    }

    .nav-tabs-spy .nav-link, .nav-tabs-alt .nav-link {
        margin-left: 0px;
        margin-right: 0px;
    }

    #agent-toolkit {
        overflow-x: hidden;
    }    

    #upcoming-mission h1, #timeline h1 {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .nav-tabs-spy .nav-link, .nav-tabs-alt .nav-link {
        margin-left: -3px;
        margin-right: -3px;
    }    
}

@media (max-width: 390px) {
    .nav-tabs-spy .nav-link, .nav-tabs-alt .nav-link {
        margin-left: -5px;
        margin-right: -4px;
    }    
}




/*--------------------------------------------------
  Evergreen Styles
--------------------------------------------------*/
.logo-secondary {
    overflow: hidden;
}

.logo-secondary img {
    max-height: 110px;
    transform: rotate(9deg);
}

.logo-cisa {
    overflow: hidden;
}

.logo-cisa img {
    max-height: 110px;
    max-width: 100%;
}

.gradient-section {
    background: linear-gradient(90deg, rgba(76,15,22,1) 0%, rgba(14,26,37,1) 100%);
    color: #ffffff;
}

.gradient-dark {
    background: linear-gradient(91deg, rgba(55,5,13,1) 0%, rgba(27,50,72,1) 100%);
    color: #ffffff;
}





















/*--------------------------------------------------
  President's Cup Photo Carousel
--------------------------------------------------*/

.pc-photo-carousel {
    --pc-gallery-visible: 2;
    --pc-gallery-arrow-size: 42px;
    position: relative;
    width: 100%;
}

/*--------------------------------------------------
  Mobile Column Setting

  data-mobile-columns="1" = one photo wide
  data-mobile-columns="2" = two photos wide
--------------------------------------------------*/

.pc-photo-carousel[data-mobile-columns="1"] {
    --pc-gallery-visible: 1;
}

.pc-photo-carousel[data-mobile-columns="2"] {
    --pc-gallery-visible: 2;
}

/*--------------------------------------------------
  Carousel Layout
--------------------------------------------------*/

.pc-photo-carousel__shell {
    position: relative;
    padding-left: 3rem;
    padding-right: 3rem;
}

.pc-photo-carousel__viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.pc-photo-carousel__track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 450ms ease;
    will-change: transform;
}

/*--------------------------------------------------
  Slides
--------------------------------------------------*/

.pc-photo-carousel__slide {
    flex: 0 0 50%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.4rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.pc-photo-carousel[data-mobile-columns="1"] .pc-photo-carousel__slide {
    flex-basis: 100%;
}

.pc-photo-carousel[data-mobile-columns="2"] .pc-photo-carousel__slide {
    flex-basis: 50%;
}

.pc-photo-carousel__slide img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.pc-photo-carousel__slide:hover img {
    transform: scale(1.015);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.pc-photo-carousel__slide:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
    border-radius: 6px;
}

/*--------------------------------------------------
  Tablet - 3 Photos Wide
--------------------------------------------------*/

@media (min-width: 768px) {
    .pc-photo-carousel,
    .pc-photo-carousel[data-mobile-columns="1"],
    .pc-photo-carousel[data-mobile-columns="2"] {
        --pc-gallery-visible: 3;
    }

    .pc-photo-carousel__slide,
    .pc-photo-carousel[data-mobile-columns="1"] .pc-photo-carousel__slide,
    .pc-photo-carousel[data-mobile-columns="2"] .pc-photo-carousel__slide {
        flex-basis: 33.333333%;
    }
}

/*--------------------------------------------------
  Desktop - 4 Photos Wide
--------------------------------------------------*/

@media (min-width: 992px) {
    .pc-photo-carousel,
    .pc-photo-carousel[data-mobile-columns="1"],
    .pc-photo-carousel[data-mobile-columns="2"] {
        --pc-gallery-visible: 4;
    }

    .pc-photo-carousel__slide,
    .pc-photo-carousel[data-mobile-columns="1"] .pc-photo-carousel__slide,
    .pc-photo-carousel[data-mobile-columns="2"] .pc-photo-carousel__slide {
        flex-basis: 25%;
    }

    /*
     * Extend the full carousel approximately 50px
     * beyond the container on each side.
     */
    .pc-photo-carousel__shell {
        margin-left: -50px;
        margin-right: -50px;
    }
}

/*--------------------------------------------------
  Main Carousel Controls
--------------------------------------------------*/

.pc-photo-carousel__control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--pc-gallery-arrow-size);
    height: var(--pc-gallery-arrow-size);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 150ms ease;
}

.pc-photo-carousel__control:hover {
    background: transparent;
    box-shadow: none;
    opacity: 0.7;
}

.pc-photo-carousel__control:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.pc-photo-carousel__control img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-photo-carousel__control--prev {
    left: 0;
}

.pc-photo-carousel__control--prev img {
    transform: rotate(90deg);
}

.pc-photo-carousel__control--next {
    right: 0;
}

.pc-photo-carousel__control--next img {
    transform: rotate(-90deg);
}

/*--------------------------------------------------
  Smaller Controls on Phones
--------------------------------------------------*/

@media (max-width: 575.98px) {
    .pc-photo-carousel {
        --pc-gallery-arrow-size: 34px;
    }

    .pc-photo-carousel__shell {
        padding-left: 2.35rem;
        padding-right: 2.35rem;
    }

    .pc-photo-carousel__slide {
        padding: 0.25rem;
    }
}

/*==================================================
  Lightbox
==================================================*/

.pc-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4.5rem;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.pc-photo-lightbox[hidden] {
    display: none !important;
}

.pc-photo-lightbox__dialog {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    cursor: default;
}

.pc-photo-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1200px, 86vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/*--------------------------------------------------
  Lightbox Close
--------------------------------------------------*/

.pc-photo-lightbox__close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.pc-photo-lightbox__close:hover {
    opacity: 0.7;
}

.pc-photo-lightbox__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/*--------------------------------------------------
  Lightbox Previous / Next
--------------------------------------------------*/

.pc-photo-lightbox__nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity 150ms ease;
}

.pc-photo-lightbox__nav:hover {
    background: transparent;
    opacity: 0.7;
}

.pc-photo-lightbox__nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.pc-photo-lightbox__nav img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.pc-photo-lightbox__nav--prev {
    left: 18px;
}

.pc-photo-lightbox__nav--prev img {
    transform: rotate(90deg);
}

.pc-photo-lightbox__nav--next {
    right: 18px;
}

.pc-photo-lightbox__nav--next img {
    transform: rotate(-90deg);
}

/*--------------------------------------------------
  Lightbox Counter
--------------------------------------------------*/

.pc-photo-lightbox__counter {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------
  Mobile Lightbox
--------------------------------------------------*/

@media (max-width: 575.98px) {
    .pc-photo-lightbox {
        padding: 3rem 2.8rem;
    }

    .pc-photo-lightbox__image {
        max-width: 90vw;
        max-height: 82vh;
    }

    .pc-photo-lightbox__nav {
        width: 38px;
        height: 38px;
    }

    .pc-photo-lightbox__nav--prev {
        left: 5px;
    }

    .pc-photo-lightbox__nav--next {
        right: 5px;
    }

    .pc-photo-lightbox__close {
        top: 8px;
        right: 10px;
    }
}

/*--------------------------------------------------
  Reduced Motion
--------------------------------------------------*/

@media (prefers-reduced-motion: reduce) {
    .pc-photo-carousel__track,
    .pc-photo-carousel__slide img {
        transition: none !important;
    }
}
























/*--------------------------------------------------
  Page -> Intel
--------------------------------------------------*/
#intelligence {
    background-image: url(../img/bg-pc8.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    /*
    background-image: url(../img/hone-skills.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-position-x: 20%;
    background-size: cover;
    */
}

.intel-title {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.intel-title img {
    max-width: 500px;
}

@media (max-width: 768px) {
    .intel-title img {
        margin-bottom: 3rem !important
    }
}

@media (max-width: 576px) {
    .intel-title img {
        max-width: 85%;
    }
}


.intel-tabs-nav {
    /* background: #000000;
    background: linear-gradient(91deg, rgba(55,5,13,1) 0%, rgba(27,50,72,1) 100%); */
    margin-top: -36px;
    border-bottom: none;
}

.intel-tabs-nav .nav-item {
    margin-right: 5px;
}

.intel-tabs-nav .nav-link {
    background-color: #d9dcdf;
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
}

.intel-tabs-nav .nav-link.active {
    background-color: #fff;
    color: #000;
}

#intelligence-tabs .tab-content {
    max-width: 1100px;
    margin: auto;
}

#intelligence-tabs .tab-content a {
    color: black;
}

#intelligence-tabs .tab-content a:hover {
    
}

#intelligence-tabs .tab-pane p {
    margin-bottom: 5px;
}

#intelligence-tabs button.nav-link {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#intelligence-tabs button.nav-link h5 {
    text-transform: none;
    margin-bottom: 0px !important;
}

#intelligence-continued {
    position: relative;
    background-image: url(../img/bg-pc8-footer-v2.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    padding-bottom: 7rem !important;
    margin-bottom: -40px;
    z-index: 9999;
    /*
    position: relative;
    background-image: url(../img/hone-skills.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    z-index: 9999;
    */
}

/* #intelligence-continued {
    position: relative;
}

#intelligence-continued:after {
    content: '';
    background-image: url(../img/border-paper-bottom-black.png);
    background-repeat: repeat-x;
    background-position: top center;
    background-size: contain;
    height: 32px;
    width: 100%;
    position: absolute;
    bottom: -31px;
    left: 0px;
} */

@media (max-width: 768px) {
    #intelligence {
        margin-top: -50px;
    }
    
    .intel-tabs-nav {
        /* background: rgb(29 48 69);
        background: linear-gradient(180deg, rgb(29 48 69) 51%, rgb(37 39 55) 51%); */
        background: black;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.0) 52%, rgba(255, 255, 255, 1.0) 52%);
    }

    #intelligence-tabs button.nav-link {
        padding-bottom: 2px !important;
    }

    #intelligence-tabs button.nav-link h5 {
        font-size: 16px;
    }

    #intelligence-continued {
        background-position-x: 62%;
    }
}

@media (max-width: 576px) {
    #intelligence-tabs button.nav-link h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 390px) {
    #intelligence-tabs button.nav-link h5 {
        font-size: 0.8rem;
    }
}







/*--------------------------------------------------
  Page -> Media
--------------------------------------------------*/
#media {
    border-top: 4px solid #d93a4a;
}

#media-title  {
    position: absolute;
    top: -123px;
    left: 0%;
    width: 400px;
    height: 120px;
    z-index: 5;
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    #media-title{
        top: -100px !important;
        left: 25px !important;
        max-width: 338px;
    }
}

@media (max-width: 768px) {
    #media {
        margin-top: 30px !important;
    }
    #media-title {
        position: relative !important;
        top: 40px !important;
        margin: 0px auto !important;
        padding: 0px 12px;
        width: 100%;
        height: auto;
        z-index: 5;
        max-width: 450px;
    }
}

.tab-content-media .tab-content-media-left p {
    max-width: 500px;
}

.tab-content-media .tab-content-media-left img {
    max-width: 300px;
}

.pc1-logo, .pc3-logo, .pc4-logo {
    max-width: 225px !important;    
}

.pc2-logo, .pc5-logo, .pc6-logo {
    max-width: 270px !important;    
}

@media (max-width: 768px) {
    .pc1-logo, .pc2-logo, .pc3-logo, .pc4-logo, .pc5-logo, .pc6-logo, .pc7-logo {
        margin: 0px auto !important;
        display: block;
    }
}

.media-tabs-ext {
    background: linear-gradient(91deg, rgb(76 16 23) 0%, rgb(14 26 37) 100%);
}

.media-tabs-ext * {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.video-thumbnail {
    /* filter: saturate(0); */
    text-decoration: none;
}

.video-thumbnail:hover {
    /* filter: saturate(1); */
}

@media (max-width: 768px) {
    .media-tabs-ext button.nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .media-tabs-ext button.nav-link {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }
}

@media (max-width: 360px) {
    .media-tabs-ext button.nav-link {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }
}

#media-faq {
    /*background-image: url(../img/hone-skills.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;*/
    color: var(--dark-text);
    position: relative;
}

@media (max-width: 420px) {
    #media-faq {
        background-position-x: 7%;
    }
}

/* play button overlay styles */
a.video-thumbnail {
  position: relative;
  display: block;
  text-decoration: none;
}

a.video-thumbnail:after {
  content: ''; /* Pseudo-elements must have 'content' */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Cover the entire <a> tag */
  
  background-color: rgba(255, 255, 255, 0.2); /* 50% black, semi-transparent */

  /* Hide it by default */
  opacity: 0;
  
  /* Add a smooth fade-in/out transition */
  transition: opacity 0.3s ease;
  
  /* Sits above the image but below the icon and text */
  z-index: 5; 
}

a.video-thumbnail:before {
  content: '';
  position: absolute;
  
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background-image: url('../img/icon-play.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  
  /* Set the size of your icon */
  width: 77px;
  height: 77px;
  
  /* Hide it by default */
  opacity: 0;
  
  /* Add a smooth fade-in/out transition */
  transition: opacity 0.3s ease;
  
  /* Sits on top of the dark overlay */
  z-index: 10;
}

/* on hover, show the overlay */
a.video-thumbnail:hover:before,
a.video-thumbnail:hover:after {
  opacity: 1;
}







/*--------------------------------------------------
  Page -> Workshops
--------------------------------------------------*/
.workshops-hero-title {
    position: absolute;
    top: -145px; /* Adjust to overlap the top border */
    left: 0%;
    width: 400px; /* Adjust width as needed */
    height: 120px; /* Adjust height as needed */
    z-index: 5;
}

#workshops-hero {
    margin-top: 4rem !important;
}

#workshops-hero.gradient-section {
    border-top: 4px solid #d93a4a;
}

#workshops-hero h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#workshops-hero p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 500px;
}

#workshops-hero .workshop-icon img {
    width: 200px;    
    max-width: 80%;
}

#workshop-details p {
    font-size: 1rem;
}

#workshop-details li {
    font-size: 1rem !important;
}

#workshop-details li::marker {
    font-size: 1.1rem;
}

#workshop-details img {
    filter: contrast(2);
}

#workshops-request {
    /*
    background-image: url(../img/workshops-request-bg.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding-bottom: 7rem !important;
    */
}

#workshops-request h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#workshops-request p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 500px;
}

#workshops-request .hanging-indent {
    padding-left: 1rem; /* Indent the entire block */
    text-indent: -1rem; /* Pull back the first line */
}

@media (max-width: 768px) {
    #workshops-hero {
        margin-top: 0rem !important;
    }

    .workshops-hero-title {
        position: relative !important;
        top: 10px !important;
        margin: 0px auto !important;
        padding: 0px 25px;
        width: 100%;
        height: auto;
        z-index: 5;
        max-width: 450px;
    }

    #workshops-hero p {
        max-width: 100%;
    }
    
    #workshop-details img {
        max-width: 172px;
        margin-bottom: 20px;
    }
    
    #workshops-request {
        /*
        padding-bottom: 12rem !important;
        margin-bottom: -6rem !important;
        */
    }
    
    #workshops-request .workshops-request-left p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {

}

@media screen and (min-width: 769px) and (max-width: 992px) {
    #workshops-hero {
        margin-top: 6rem !important;
    }
    .workshops-hero-title {
        top: -95px !important;
        left: 25px !important;
        max-width: 355px;
    }
}





/*--------------------------------------------------
  Page -> Game Of The Month
--------------------------------------------------*/
#gom {

}

.gom-title {
    overflow: hidden;
}

.gom-title img {
    width: 80%;
}

#gom-hero.hero-gradient-section {
    background: linear-gradient(90deg, rgba(76,15,22,1) 0%, rgba(14,26,37,1) 100%);
    color: #ffffff;
    padding-top: 6rem;
    padding-bottom: 5rem;
    border-top: 4px solid #d93a4a;
    position: relative;
}

.gom-hero-title {
    position: absolute;
    top: -120px; /* Adjust to overlap the top border */
    left: 0%;
    width: 400px; /* Adjust width as needed */
    height: 120px; /* Adjust height as needed */
    z-index: 5;
}

#gom-hero.hero-gradient-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#gom-hero.hero-gradient-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.features-list li {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.features-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}

.features-list li {
    list-style-position: inside;
    text-indent: -20px;
    padding-left: 20px;
}

#why-participate {
    background: #f8f8f9;
}

#why-participate img {
    max-width: 145px;
}

#gom-archive {
    background-image: url('../img/gom-eagle-bg.svg');
    background-size: cover;
    background-position: bottom right;
    position: relative;
    margin-bottom: -50px;
    overflow-x: hidden;
}

/* #gom-archive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(248 248 250);
    z-index: 1;
} */

#gom-archive a {
    text-decoration: none;
}

#gom-game {
    background: #f8f8fa;
}

#gom-game p {
    max-width: 600px;
}

#gom-game .gom-icon {
    max-width: 48px;
}

#gom-game ul {
    /* list-style: none;
    padding-left: 0; */
}

.gom-game-card img {
    width: 550px;
    max-width: 100%;
}

#gom-practice .btn {
    font-family: inherit;
    padding: 3px 40px 6px 40px;
}

@media (max-width: 768px) {
    #gom {
        margin-top: -50px;
    }

    .gom-title img {
        width: 150%;
        margin-left: -20% !important;
        margin-top: 15px;
    }
    #gom-hero.hero-gradient-section {
        padding-top: 8rem;
    }
    #gom-hero.hero-gradient-section .row > div {
        margin-bottom: 2rem;
    }
    .features-list li::before {
        margin-top: 6px;
    }
    #gom-hero.hero-gradient-section p {
        max-width: 100%;
    }
    .gom-hero-title {
        position: relative !important;
        top: 50px !important;
        margin: 0px auto !important;
        margin-top: -25px !important;
        padding: 0px 25px;
        width: 100%;
        height: auto;
        z-index: 5;
        max-width: 550px;
    }
    #gom-archive {
        background-size: cover;
        background-position: top left;
        background-position-x: 20%;
    }
    #gom-leaderboard .leaderboard-item {
        border: 3px solid #e5e5e5;
        margin-bottom: 20px;
        padding-top: 20px !important;
        background: #f4f4f4;
    }
    #gom-leaderboard .leaderboard-item p:first-of-type {
        font-weight: bold;
    }
    #gom-leaderboard .leaderboard-item p:last-of-type:before {
        content: "Score: ";
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    #gom-hero {
        margin-top: 5rem !important;
    }
    .gom-hero-title {
        top: -85px !important;
        left: 25px !important;
    }
}








/*--------------------------------------------------
  Page -> Hack Of Fame
--------------------------------------------------*/
.hof-hero-title {
    position: absolute;
    top: -120px; /* Adjust to overlap the top border */
    left: 0%;
    width: 400px; /* Adjust width as needed */
    height: 120px; /* Adjust height as needed */
    z-index: 5;
}

#hof-hero.gradient-section {
    border-top: 4px solid #d93a4a;
}

#hof-hero h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#hof-hero p {
    font-size: 1rem;
    line-height: 1.55;
}

#hof-details p {
    font-size: 1rem;
}

#hof-details li::marker {
    font-size: 1.1rem;
}

#hof-details img {
    filter: contrast(2.0);
}

#hof-members {
    background-image: url(../img/hof-members-bg.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: cover;
}

.hof-members-table {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 2rem;
}

.hof-members-header {
    font-weight: bold;
    text-transform: uppercase;
    color: #adb5bd;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.hof-members-row {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    align-items: center;
}

.hof-members-row:last-child {
    border-bottom: none;
}

#hof-spotlight h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#hof-spotlight .spotlight-caption {
    height: 110px;
    overflow: hidden;
}

#spotlight-caption-details {
    min-height: 44px;
    margin-bottom: 0px;
}

@media (min-width: 1600px) {
    #spotlight-caption-details {
        min-height: 80px;
    }
}

.spotlight-thumbnail {
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 5px;
    padding: 2px;
}

.spotlight-thumbnail:hover, 
.spotlight-thumbnail.active {
    border-color: #0d6efd; /* Bootstrap primary color */
}

#spotlight-image {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #dee2e6;
}

.publicity-item {
    color: black;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease-in-out;
}

.publicity-item:hover {
    color: black;
    transform: translateY(-5px);
}

.publicity-image-placeholder {

}

.publicity-source {
    color: #222222;
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .hof-hero-title {
        position: relative !important;
        top: 25px !important;
        margin: 0px auto !important;
        padding: 0px 25px;
        width: 100%;
        height: auto;
        z-index: 5;
        max-width: 450px;
    }

    #hof-hero p {
        max-width: 100%;
    }
    
    #hof-details img {
        width: 175px;
        margin-bottom: 25px;
    }
    
    #hof-members {
        background-image: url(../img/hof-members-bg.svg);
        background-repeat: no-repeat;
        background-position: bottom center;
        /* background-size: contain; */
    }
    
    .hof-members-table {
        padding: 1rem;
    }
    .hof-members-row {
        align-items: flex-start;
    }
    .hof-members-row .col-9,
    .hof-members-row .col-12 {
        text-align: left;
    }
    .hof-members-row .col-12 {
        padding-top: 0.5rem;
        font-size: 0.9rem;
        color: #ced4da;
    }
    
    #hof-publicity > .container > .row {
        text-align: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    #hof-hero {
        margin-top: 5rem !important;
    }
    .hof-hero-title {
        top: -90px !important;
        left: 25px !important;
    }
}

/* Styles for member pop-ups */
#memberModal .modal-content {
    background-color: #f8f9fa;
    border: none;
}

#memberModal .modal-avatar-col {
    background: linear-gradient(135deg, rgba(76,15,22,1) 0%, rgba(14,26,37,1) 100%);
}

#memberModal .modal-body {
    color: #212529;
}

#memberModal #modal-avatar {
    border-radius: 50% !important;
}

#memberModal #modal-name {
    font-size: 2.5rem;
}

#memberModal #modal-handle {
    font-size: 1.25rem;
    color: #555555;
    margin-top: -15px;
    margin-bottom: -2px;
    font-weight: bold;
}

#memberModal #modal-competitions {
    padding-left: 14px;
}

#memberModal #modal-competitions li::before {
    content: "•";
    color: #6c757d;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}



/*--------------------------------------------------
  Page -> PC8 Custom Design
--------------------------------------------------*/
/* Scoped to .pc8-page (set on the <body> of /pc8/index.html)
   so nothing here leaks into other pages */

.pc8-page {
    /* local tokens for this page only */
    --pc8-blue: #2f9bff;
    --pc8-red: #d93a4a;
    --pc8-line: rgba(255, 255, 255, 0.25);
    /* "good-times" is already loaded on the PC8 page via Adobe Fonts */
    --pc8-display-font: "good-times", Futura, 'Helvetica Neue', Helvetica, Arial, sans-serif;

    background: #000000;
}

/* Smooth in-page scrolling, but only for visitors who haven't asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    html.pc8-html {
        scroll-behavior: smooth;
    }
}

.pc8-page a:focus-visible,
.pc8-page button:focus-visible {
    outline: 2px solid var(--pc8-blue);
    outline-offset: 2px;
}

/* Grey placeholder boxes -- swap for real images later */
.pc8-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--placeholder-gray); */
    color: #333333;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.25rem;
}

/* Red triangular indicator (mobile bar; side/menu links draw theirs via ::before) */
.pc8-tri {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--pc8-red);
}


/*----------------------------
  PC8 -> Desktop floating section nav (>= 992px)
----------------------------*/

.pc8-sidenav {
    position: sticky;
    top: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.5rem;
}

.pc8-sidenav__art {
    width: 84px;
    height: 192px;
    flex: 0 0 auto;
    /* aligns the art's top edge with the top of the menu text
       (matches the first link's top padding) */
    /* margin-top: 0.2rem; */
}

.pc8-side-link {
    position: relative;
    display: block;
    padding: 0.4rem 0 0.4rem 1.3rem;
    color: #ffffff;
    font-family: var(--pc8-display-font);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.78;
}

.pc8-side-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid transparent; /* invisible until active */
}

.pc8-side-link:hover,
.pc8-side-link:focus {
    color: #ffffff;
    opacity: 1;
}

.pc8-side-link.active {
    opacity: 1;
}

.pc8-side-link.active::before {
    border-left-color: var(--pc8-red);
}


/*----------------------------
  PC8 -> Mobile / tablet sticky section bar (< 992px)
----------------------------*/

.pc8-mobilebar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--pc8-line);
}

.pc8-mobilebar__toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--pc8-display-font);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
}

.pc8-mobilebar__label {
    flex: 1 1 auto;
}

/* Caret on the right; flips when the menu is open */
.pc8-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffffff;
    transition: transform 0.2s ease-in-out;
}

.pc8-mobilebar__toggle[aria-expanded="true"] .pc8-caret {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .pc8-caret {
        transition: none;
    }
}

/* Full-width dropdown panel (Bootstrap collapse, overlaid below the bar) */
.pc8-mobilemenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b0b0d;
    border-bottom: 1px solid var(--pc8-line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.6);
}

.pc8-mobile-link {
    position: relative;
    display: block;
    padding: 0.7rem 1.25rem 0.7rem 2.5rem;
    color: #ffffff;
    font-family: var(--pc8-display-font);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.85;
}

.pc8-mobile-link::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid transparent;
}

.pc8-mobile-link:hover,
.pc8-mobile-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}

.pc8-mobile-link.active {
    opacity: 1;
}

.pc8-mobile-link.active::before {
    border-left-color: var(--pc8-red);
}

/* Thin progress line beneath the bar */
.pc8-progress {
    height: 2px;
    /* background: rgba(255, 255, 255, 0.14); */
    overflow: hidden;
}

.pc8-progress__fill {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--pc8-red) 0%, var(--pc8-blue) 100%);
}

/* Desktop-only fixed variant, pinned to the top of the window
   (used by #pc8DesktopProgress on the PC8 page). To turn the desktop
   bar off without touching the HTML, uncomment the rule below. */
.pc8-progress--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
}

#pc8DesktopProgress {
    /* display: none; */
    height: 4px !important;
}


/*----------------------------
  PC8 -> Content sections
  (markup carried over from the tab panes unchanged;
  the dark theme is applied contextually here)
----------------------------*/

/* One shared backdrop now spans the whole <main> area of the PC8 page:
   #intelligence (hero), #intelligence-tabs (sections), and
   #intelligence-continued (Questions). The .pc8-parallax-clip element was
   moved in the HTML from inside #intelligence-tabs to be the first child
   of <main>, so <main> is now the positioning context and the parallax
   host measured by the page JS. The art lives on its own layer
   (.pc8-parallax-bg) inside the clipping frame, and the page JS drags the
   layer downward as you scroll so it moves at a fraction of the content
   speed. Drop the final image at ../img/pc8/bg-pc8-sections.jpg and it
   appears with no code change. Phones/tablets and reduced-motion visitors
   get the same art as a normal static background (the JS never shifts it
   for them). */
.pc8-page main {
    position: relative;
}

.pc8-parallax-clip {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.pc8-parallax-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background-image: url('../img/pc8/pc8-wormhole.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-size: 100% 70%;
    background-position: center;
}

@media (max-width: 1280px) {
    .pc8-parallax-bg {
        /*background-size: auto 100%;*/
        background-size: cover;
    background-position: top;        
    }
}

@media (min-width: 2880px) {
    .pc8-parallax-bg {
        /*background-size: auto 100%;*/
        background-size: cover;
    background-position: top;        
    }
}

/* All three sections stack above the backdrop. Their own backgrounds are
   stripped just below so the shared art shows through everywhere. */
.pc8-page main > section {
    position: relative;
    z-index: 1;
}

/* content stacks above the backdrop */
#intelligence-tabs .container {
    position: relative;
    z-index: 1;
}

/* Single-background overrides: the shared "Page -> Intel" rules further up
   still give #intelligence and #intelligence-continued their own art (and
   the .gradient-dark class gives the hero a gradient); those rules are
   left untouched in case other pages use them, and are neutralized here
   for the PC8 page only. */
.pc8-page #intelligence {
    background: transparent; /* clears both bg-pc8.jpg and the gradient-dark gradient */
}

.pc8-page #intelligence-continued {
    background-image: none; /* clears bg-pc8-footer-v2.jpg; padding/z-index kept */
}

/* Desktop + motion-friendly: oversize the layer so the JS can drag it
   (by up to 30% of the <main> height, matching data-pc8-speed="0.3"
   on the layer -- raise both together if you want a stronger trail)
   without ever revealing its edges. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .pc8-parallax-bg {
        top: -30%;
        height: 130%;
        will-change: transform;
    }
}

.pc8-sections {
    color: var(--light-text);
}

.pc8-section {
    position: relative;
    padding: 1.25rem 0 2.75rem;
    /* keeps anchored headings clear of the sticky mobile bar */
    scroll-margin-top: 4.25rem;
}

@media (min-width: 992px) {
    .pc8-section {
        scroll-margin-top: 2rem;
    }
}

.pc8-sections h2 {
    color: #ffffff;
    font-size: clamp(2rem, 1.2rem + 2.4vw, 2.9rem);
    line-height: 1.1;
}

/* h5 font-family/weight is set in the page's inline style block,
   alongside the matching h2 rule */
.pc8-sections h5 {
    color: var(--pc8-blue);
    font-size: 1rem;
}

.pc8-sections a {
    color: var(--pc8-blue);
}

.pc8-sections a:hover,
.pc8-sections a:focus {
    color: #6cb9ff;
}

/* Absolutely-positioned flourish-art placeholders from the mockup
   (parchment, telegram, astronaut, chat bubbles, etc.). Shown only on
   wide screens so they never collide with the text column. */
.pc8-deco {
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(204, 204, 204, 0);
    border: 1px dashed rgba(204, 204, 204, 0);
    color: #9aa0a6;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.25rem;
}

@media (min-width: 1400px) {
    .pc8-deco {
        display: flex;
    }
}

/* We decided to hide these for now. */
.pc8-deco {
    display: none;
}

/* Dash-style unordered list markers per the mockup
   (ordered lists keep their numbers; older Safari falls back to discs) */
.pc8-sections ul > li::marker {
    content: '-\2002';
}

/* New-design visual login steps (Registration section) */
.pc8-steps {
    margin: 1.75rem 0 0.5rem;
    max-width: 720px;
}

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

.pc8-step__icon {
    width: 112px;
    height: 86px;
    margin: 0 auto 0.65rem;
}

.pc8-step__num {
    font-family: var(--pc8-display-font);
    font-weight: 500;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.pc8-step__text {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* New-design key dates table (Registration section): transparent body,
   thin white borders, borderless row labels per the mockup */
.pc8-dates-table {
    color: #ffffff;
    margin: 1.75rem 0 0.5rem;
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
}

.pc8-dates-table th,
.pc8-dates-table td {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
    vertical-align: top;
    white-space: nowrap;
}

.pc8-dates-table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pc8-dates-table .pc8-rowlabel {
    border: none;
    text-align: right;
    padding-right: 1rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    vertical-align: middle;
}