   
/* =========================================================
   WESTERN ILLINOIS UNIVERSITY
   CYBERSECURITY CENTER
   CAPTURE THE FLAG COMPETITION
   COMPLETE CONSOLIDATED CSS
   ========================================================= */


/* =========================================================
   GLOBAL BOX SIZING
   ========================================================= */

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


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

#container_one {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #000000;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* =========================================================
   IMAGES
   ========================================================= */

#container_one img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   LINKS
   ========================================================= */

#container_one a {
    color: #663399;
    font-weight: 700;
}

#container_one a:hover,
#container_one a:focus {
    color: #4f2678;
}


/* =========================================================
   HERO
   ========================================================= */

#container_one .cyber-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#container_one .cyber-hero img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

#container_one .cyber-page-title {
    width: 100%;
    margin: 0;
    padding: 18px 20px 19px;
    background: #ffffff;
    border-bottom: 1px solid #B8860B;
    color: #663399;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

#container_one .cyber-content {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 30px 25px 45px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

#container_one .cyber-intro {
    width: 100%;
    margin: 0 0 30px;
    padding: 25px 30px;
    background: #ffffff;
    border: 1px solid #d8d9da;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

#container_one .cyber-intro p {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   TAB SYSTEM
   ========================================================= */

#container_one #tabs.ctf-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: 2px;
    row-gap: 0;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}


/* =========================================================
   HIDE RADIO BUTTONS
   ========================================================= */

#container_one #tabs.ctf-tabs > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}


/* =========================================================
   TAB LABELS
   ========================================================= */

#container_one #tabs.ctf-tabs > label.ctf-tab-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 60px;
    margin: 0;
    padding: 11px 10px;
    background: #663399;
    color: #ffcc00;
    border: 0;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}


/* =========================================================
   TAB HOVER
   ========================================================= */

#container_one #tabs.ctf-tabs > label.ctf-tab-label:hover {
    background: #4f2678;
    color: #ffcc00;
}


/* =========================================================
   TAB FOCUS
   ========================================================= */

#container_one #tabs.ctf-tabs
> input[type="radio"]:focus-visible
+ label.ctf-tab-label {
    outline: 3px solid #B8860B;
    outline-offset: -3px;
}


/* =========================================================
   ACTIVE TAB
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-details:checked ~ label[for="ctf-details"],

#container_one #tabs.ctf-tabs
> #ctf-requirements:checked ~ label[for="ctf-requirements"],

#container_one #tabs.ctf-tabs
> #ctf-restrictions:checked ~ label[for="ctf-restrictions"],

#container_one #tabs.ctf-tabs
> #ctf-benefits:checked ~ label[for="ctf-benefits"],

#container_one #tabs.ctf-tabs
> #ctf-resources:checked ~ label[for="ctf-resources"],

#container_one #tabs.ctf-tabs
> #ctf-questions:checked ~ label[for="ctf-questions"],

#container_one #tabs.ctf-tabs
> #ctf-past:checked ~ label[for="ctf-past"],

#container_one #tabs.ctf-tabs
> #ctf-gallery:checked ~ label[for="ctf-gallery"] {
    background: #4f2678;
    color: #ffcc00;
    box-shadow: inset 0 -4px 0 #B8860B;
}


/* =========================================================
   TAB CONTENT PANELS
   ========================================================= */

#container_one #tabs.ctf-tabs
> .competition-tab-panel {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    margin: 25px 0 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #d8d9da;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}


/* =========================================================
   SHOW COMPETITION DETAILS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-details:checked ~ .panel-details {
    display: block;
}


/* =========================================================
   SHOW REQUIREMENTS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-requirements:checked ~ .panel-requirements {
    display: block;
}


/* =========================================================
   SHOW RESTRICTIONS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-restrictions:checked ~ .panel-restrictions {
    display: block;
}


/* =========================================================
   SHOW BENEFITS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-benefits:checked ~ .panel-benefits {
    display: block;
}


/* =========================================================
   SHOW RESOURCES
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-resources:checked ~ .panel-resources {
    display: block;
}


/* =========================================================
   SHOW QUESTIONS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-questions:checked ~ .panel-questions {
    display: block;
}


/* =========================================================
   SHOW PAST EVENTS
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-past:checked ~ .panel-past {
    display: block;
}


/* =========================================================
   SHOW PHOTO GALLERY
   ========================================================= */

#container_one #tabs.ctf-tabs
> #ctf-gallery:checked ~ .panel-gallery {
    display: block;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

#container_one .cyber-section-title {
    margin: 0 0 25px;
    padding: 0 0 9px;
    color: #663399;
    border-bottom: 2px solid #B8860B;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
   INFORMATION GRID
   ========================================================= */

#container_one .cyber-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
}


/* =========================================================
   INFORMATION CARDS
   ========================================================= */

#container_one .cyber-info-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    background: #faf9fc;
    border: 1px solid #ddd7e5;
}


/* =========================================================
   INFORMATION LABEL
   ========================================================= */

#container_one .info-label {
    display: block;
    margin-bottom: 6px;
    color: #663399;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .04em;
}


/* =========================================================
   INFORMATION VALUE
   ========================================================= */

#container_one .info-value {
    display: block;
    color: #000000;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.55;
}


/* =========================================================
   IMPORTANT NOTICE
   ========================================================= */

#container_one .cyber-important {
    margin: 25px 0 0;
    padding: 18px 20px;
    background: #faf9fc;
    border-left: 5px solid #B8860B;
    border-top: 1px solid #ddd7e5;
    border-right: 1px solid #ddd7e5;
    border-bottom: 1px solid #ddd7e5;
    color: #000000;
    font-size: .98rem;
    line-height: 1.6;
}


/* =========================================================
   ACTION BUTTON AREA
   ========================================================= */

#container_one .cyber-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}


/* =========================================================
   BUTTON
   ========================================================= */

#container_one .cyber-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    background: #663399;
    color: #ffcc00 !important;
    border: 1px solid #B8860B;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}


/* =========================================================
   BUTTON HOVER
   ========================================================= */

#container_one .cyber-button:hover,
#container_one .cyber-button:focus {
    background: #4f2678;
    color: #ffcc00 !important;
    text-decoration: none;
}


/* =========================================================
   ORDERED / UNORDERED LISTS
   ========================================================= */

#container_one .cyber-list {
    margin: 0;
    padding-left: 28px;
    color: #000000;
    font-size: 1rem;
    line-height: 1.7;
}

#container_one .cyber-list li {
    margin-bottom: 12px;
    padding-left: 5px;
}

#container_one .cyber-list li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   RESOURCES
   ========================================================= */

#container_one .cyber-resource-group {
    margin: 0 0 25px;
    padding: 20px;
    background: #faf9fc;
    border: 1px solid #ddd7e5;
}

#container_one .cyber-resource-group:last-child {
    margin-bottom: 0;
}


/* =========================================================
   RESOURCE SUBTITLE
   ========================================================= */

#container_one .cyber-subtitle {
    margin: 0 0 10px;
    padding: 0 0 7px;
    color: #663399;
    border-bottom: 1px solid #B8860B;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
   RESOURCE PARAGRAPHS
   ========================================================= */

#container_one .cyber-resource-group p {
    margin: 0 0 12px;
    color: #000000;
    font-size: .98rem;
    line-height: 1.7;
}

#container_one .cyber-resource-group p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CONTACT GRID
   ========================================================= */

#container_one .cyber-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   CONTACT CARDS
   ========================================================= */

#container_one .cyber-contact-card {
    min-width: 0;
    padding: 22px;
    background: #faf9fc;
    border: 1px solid #ddd7e5;
}


/* =========================================================
   CONTACT NAME
   ========================================================= */

#container_one .cyber-contact-card > strong {
    display: block;
    margin-bottom: 10px;
    color: #663399;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}


/* =========================================================
   CONTACT PARAGRAPHS
   ========================================================= */

#container_one .cyber-contact-card p {
    margin: 0 0 7px;
    color: #000000;
    font-size: .95rem;
    line-height: 1.55;
}

#container_one .cyber-contact-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PAST EVENTS
   ========================================================= */

#container_one .past-event {
    margin: 0 0 30px;
    padding: 22px;
    background: #faf9fc;
    border: 1px solid #ddd7e5;
}

#container_one .past-event:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PAST EVENT TITLE
   ========================================================= */

#container_one .past-event-title {
    margin: 0 0 8px;
    color: #663399;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
   PAST EVENT LOCATION
   ========================================================= */

#container_one .past-event > p {
    margin: 0 0 20px;
    color: #000000;
    font-size: .95rem;
    line-height: 1.6;
}


/* =========================================================
   WINNER GRID
   ========================================================= */

#container_one .winner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}


/* =========================================================
   WINNER CARD
   ========================================================= */

#container_one .winner-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #ddd7e5;
}


/* =========================================================
   WINNER PLACE
   ========================================================= */

#container_one .winner-place {
    display: block;
    margin-bottom: 9px;
    padding-bottom: 7px;
    color: #663399;
    border-bottom: 1px solid #B8860B;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}


/* =========================================================
   WINNER NAME
   ========================================================= */

#container_one .winner-name {
    display: block;
    margin-bottom: 4px;
    color: #000000;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.45;
}

#container_one .winner-name:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

#container_one .cyber-back-top {
    margin-top: 30px;
    text-align: center;
}

#container_one .cyber-back-top a {
    display: inline-block;
    padding: 9px 15px;
    background: #663399;
    color: #ffcc00 !important;
    border: 1px solid #B8860B;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

#container_one .cyber-back-top a:hover,
#container_one .cyber-back-top a:focus {
    background: #4f2678;
    color: #ffcc00 !important;
    text-decoration: none;
}


/* =========================================================
   PHOTO GALLERY INTRODUCTION
   ========================================================= */

#container_one .gallery-intro {
    margin: 0 0 25px;
    color: #000000;
    font-size: .98rem;
    line-height: 1.7;
}


/* =========================================================
   PHOTO GALLERY YEAR SECTIONS
   ========================================================= */

#container_one .gallery-year-section {
    width: 100%;
    margin: 25px 0 0;
    padding: 0;
}

/* Separation between 2026 and previous-year photos */

#container_one .gallery-year-section
+ .gallery-year-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0dbe6;
}


/* =========================================================
   PREVIOUS-YEAR GALLERY DESCRIPTION
   ========================================================= */

#container_one .gallery-description {
    margin: -8px 0 20px;
    color: #686270;
    font-size: .92rem;
    line-height: 1.6;
}


/* =========================================================
   GALLERY YEAR HEADING
   ========================================================= */

#container_one .gallery-year-section .cyber-subtitle {
    margin: 0 0 20px;
    padding: 0 0 10px;
    color: #663399;
    border-bottom: 2px solid #B8860B;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
}


/* =========================================================
   GALLERY GRID
   ========================================================= */

#container_one .cyber-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}


/* =========================================================
   GALLERY CARD
   ========================================================= */

#container_one .cyber-gallery-card {
    min-width: 0;
    overflow: hidden;
    background: #faf9fc;
    border: 1px solid #ddd7e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}


/* =========================================================
   IMAGE CONTAINER
   ========================================================= */

#container_one .cyber-gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1edf5;
}


/* =========================================================
   GALLERY IMAGES
   ========================================================= */

#container_one .cyber-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

#container_one .cyber-gallery-card:hover
.cyber-gallery-image img {
    transform: scale(1.04);
}


/* =========================================================
   PHOTO CAPTION
   ========================================================= */

#container_one .cyber-gallery-caption {
    padding: 13px 15px;
    background: #faf9fc;
    border-top: 2px solid #B8860B;
    color: #663399;
    font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    #container_one .cyber-content {
        padding: 25px 20px 40px;
    }

    #container_one #tabs.ctf-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #container_one #tabs.ctf-tabs
    > .competition-tab-panel {
        grid-column: 1 / -1;
    }

    #container_one .cyber-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    #container_one .cyber-content {
        padding: 22px 16px 35px;
    }

    #container_one .cyber-intro {
        padding: 20px;
    }

    #container_one #tabs.ctf-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #container_one #tabs.ctf-tabs
    > .competition-tab-panel {
        padding: 22px;
    }

    #container_one .cyber-info-grid {
        grid-template-columns: 1fr;
    }

    #container_one .cyber-contact-grid {
        grid-template-columns: 1fr;
    }

    #container_one .winner-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery: two columns on tablet */

    #container_one .cyber-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    #container_one .gallery-year-section
    + .gallery-year-section {
        margin-top: 40px;
        padding-top: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #container_one .cyber-page-title {
        padding: 16px 15px;
        font-size: 2rem;
    }

    #container_one .cyber-content {
        padding: 15px 10px 30px;
    }

    #container_one .cyber-intro {
        margin-bottom: 20px;
        padding: 17px;
    }

    #container_one .cyber-intro p {
        font-size: .95rem;
    }

    #container_one #tabs.ctf-tabs {
        grid-template-columns: 1fr;
    }

    #container_one #tabs.ctf-tabs
    > label.ctf-tab-label {
        width: 100%;
        min-height: 50px;
        margin: 0;
        padding: 10px 12px;
        font-size: .9rem;
    }

    #container_one #tabs.ctf-tabs
    > .competition-tab-panel {
        margin-top: 15px;
        padding: 17px;
    }

    #container_one .cyber-section-title {
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

    #container_one .cyber-info-card {
        padding: 15px;
    }

    #container_one .cyber-important {
        padding: 15px;
    }

    #container_one .cyber-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    #container_one .cyber-button {
        width: 100%;
    }

    #container_one .cyber-resource-group {
        padding: 16px;
    }

    #container_one .cyber-contact-card {
        padding: 17px;
    }

    #container_one .past-event {
        padding: 17px;
    }

    /* Gallery: one column on mobile */

    #container_one .cyber-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #container_one .cyber-gallery-caption {
        padding: 12px;
        font-size: .9rem;
    }

    #container_one .gallery-year-section
    + .gallery-year-section {
        margin-top: 35px;
        padding-top: 25px;
    }

    #container_one .gallery-year-section .cyber-subtitle {
        margin-bottom: 16px;
        font-size: 1.08rem;
    }

    #container_one .gallery-description {
        margin-top: -5px;
        margin-bottom: 17px;
        font-size: .9rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    #container_one .cyber-page-title {
        font-size: 1.7rem;
    }

    #container_one .cyber-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    #container_one #tabs.ctf-tabs
    > label.ctf-tab-label {
        font-size: .85rem;
    }

    #container_one .cyber-list {
        padding-left: 23px;
        font-size: .94rem;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    #container_one .cyber-page-title {
        font-size: 1.5rem;
    }

    #container_one .cyber-intro {
        padding: 15px;
    }

    #container_one #tabs.ctf-tabs
    > .competition-tab-panel {
        padding: 14px;
    }

}
