/*-----------------------------------*\
  RESET/BASIC
\*-----------------------------------*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0; padding:0; border:0; outline:0; 
	vertical-align:baseline; background:transparent;
}

* { box-sizing: border-box; }

html {
    font-size: 62.5%;
}

body {
    font-family: "proxima-nova", sans-serif;
    font-size: 1.6rem; line-height: 1.5;
    color: #00071E; font-weight: 400;
    background: #ebebe7; min-height: 100vh;
    display: flex; flex-direction: column;
}

body.subpage {
    font-family: poppins, sans-serif;
    font-size: 1.3rem; 
    color: #00164D; background: #fff; 
}

@media screen and (max-device-width: 480px){
	body{
		-webkit-text-size-adjust: none;
	}
}

img, svg {
    width: 100%; height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.2s ease-in;
}

.btn-comm {
    display: inline-block; border-radius: 9999em;
    background: #C0121F; color: #EBEBE7; line-height: 38px;
    font-family: "oswald", sans-serif; font-size: 1.3rem;
    padding: 0 24px 2px; letter-spacing: 0.1em; font-weight: 600;
    text-transform: uppercase; border: 1px solid #C0121F;
}

.btn-comm:hover {
    background: #fff; color: #C0121F;
}

.btn-comm.btn-lined {
    background: none; line-height: 37px;
    border: 1.5px solid #EBEBE7;
}

.btn-comm.btn-lined:hover {
    background: #EBEBE7;
}

h1,h2,h3 {
    font-family: "oswald", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.basic {
    padding: 0 20px; margin: 0 auto;
    max-width: 1480px;
}

.lgbreak {
    display: none;
}

.smallintro {
    font-family: "oswald", sans-serif;
    text-transform: uppercase; font-size: 1.1rem;
    font-weight: 700; letter-spacing: 0.145em;
    color: #fff; line-height: 26px;
    padding: 0 11px; min-height: 28px;
    display: inline-block;
}

.starintro {
    text-transform: uppercase; font-size: 1.4rem;
    font-weight: 700; letter-spacing: 0.02em;
    display: inline-flex; align-items: center;
    margin-bottom: 16px;
}

.icn-star {
    width: 24px;
    margin-right: 4px;
}

@media only screen and (min-width: 768px) {

    .basic {
        padding: 0 30px; 
    }

    .lgbreak {
        display: block;
    }

    .bflex {
        display: flex; align-items: center;
        justify-content: space-between;
    }

}

@media only screen and (min-width: 1024px) {

    .basic {
        padding: 0 40px; 
    }

    .starintro {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .icn-star {
        width: 30px;
        margin-right: 8px;
    }

}

@media only screen and (min-width: 1440px) {

    .basic {
        padding: 0 80px; 
    }

}

/*-----------------------------------*\
  NAV
\*-----------------------------------*/



/*-----------------------------------*\
  HERO
\*-----------------------------------*/

#commhero {
    position: relative;
    color: #fff;
}

.ch-inner {
    position: absolute; inset: 0;
    display: flex; justify-content: center;
    align-items: center; padding: 0 20px;
}

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

.commlogo {
    width: 164px;
    margin: 0 auto 16px;
}

.sublogo {
    width: 100px;
    margin: 0 auto 16px;
}

.sublogo.yplogo {
    width: 54px;
}

h1 {
    font-size: 3.2rem; line-height: 1; 
    letter-spacing: -0.02em;
    margin-bottom: 16px; color: #ebebe7;
}

.subhero h1 {
    line-height: 1.1;
}

.ch-content p {
    margin-bottom: 24px;
    font-weight: 700;
}

.subhero .ch-content p {
    font-weight: 500;
}

.ch-btns a:first-of-type {
    margin-bottom: 16px;
}

@media only screen and (min-width: 768px) {

    h1 {
        font-size: 4.8rem;
    }

    .ch-btns a:first-of-type {
        margin-bottom: 0;
        margin-right: 8px;
    }

}

@media only screen and (min-width: 1024px) {

    .commlogo {
        width: 200px;
    }

    .sublogo {
        width: 124px;
    }

    h1 {
        font-size: 6rem;
    }

}

@media only screen and (min-width: 1280px) {

    .commlogo {
        width: 302px;
        margin: 0 auto 24px;
    }

    .sublogo {
        width: 156px;
    }

    h1 {
        font-size: 8.8rem;
        margin-bottom: 24px;
        letter-spacing: -0.017em;
    }

    .subpage h1 {
        font-size: 7.5rem;
        margin-bottom: 18px;
    }

    .ch-content p {
        margin-bottom: 40px;
        font-size: 1.8rem;
    }

    .subpage .ch-content p {
        margin-bottom: 24px;
        font-size: 1.5rem;
    }

}

/*-----------------------------------*\
  ABOUT
\*-----------------------------------*/

#about {
    padding: 60px 0;
    background: url(../img/comm/bg-gray.webp) no-repeat top left;
    background-size: cover;
}

.subpage #about {
    background: #fff;
}

.about-copy {
    margin-bottom: 30px;
}

.subpage #about .basic {
    max-width: 1360px;
}

#about .smallintro {
    min-width: 144px;
    background: url(../img/comm/smbg-about.png) no-repeat;
    background-size: 144px 28px;
    margin-bottom: 20px;
}

#about h2 {
    font-size: 3rem; line-height: 1.1;
    margin-bottom: 20px; color: #1a1a1a;
}

#about.subabout h2 {
    font-family: poppins, sans-serif;
    font-size: 2.2rem; line-height: 1.4;
    margin-bottom: 16px; color: #00071E;
    text-transform: none; font-weight: 500;
    letter-spacing: -0.03em;
}

#about p {
    margin-bottom: 20px;
}

.subpage #about p {
    line-height: 1.7;
}

@media only screen and (min-width: 768px) {

    #about {
        padding: 72px 0;
    }

    .about-copy {
        margin-bottom: 0;
        width: 48%;
    }

    .about-img {
        width: 48%;
    }

}

@media only screen and (min-width: 1024px) {

    #about {
        padding: 96px 0;
    }

    .about-copy {
        width: 41.4%;
    }

    .subpage .about-copy {
        width: 44%;
    }

    #about h2 {
        font-size: 3.6rem; 
    }

    .about-img {
        width: 52.5%;
    }

    .subpage .about-img {
        width: 49%;
    }

}

@media only screen and (min-width: 1280px) {

    #about {
        padding: 140px 0;
    }

    .subpage #about {
        padding: 112px 0;
    }

    #about .smallintro {
        margin-bottom: 32px;
    }

    #about h2 {
        font-size: 5rem; 
        margin-bottom: 32px;
    }

    #about.subabout h2 {
        font-size: 2.6rem; 
        margin-bottom: 20px;
    }

    #about p {
        margin-bottom: 32px;
    }

}

/*-----------------------------------*\
  STATS
\*-----------------------------------*/

#stats {
    padding: 40px 0;
    background: url(../img/comm/bg-stats.jpg) repeat top left;
    text-align: center;
}

.statbox {
    margin-bottom: 40px;
}

.statbox:last-of-type {
    margin-bottom: 0;
}

.statnumber {
    font-family: "adobe-handwriting-tiffany", sans-serif;
    line-height: 1; font-size: 6.4rem;
    color: #EBEBE7; margin-bottom: 10px;
}

.statlabel {
    font-family: "oswald", sans-serif;
    font-size: 1.1rem; font-weight: 600;
    color: #A6B8CC; letter-spacing: 0.1636em;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {

    #stats {
        padding: 60px 0;
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 5px;
    }

    .statbox {
        margin-bottom: 0;
    }

    .statbox:nth-of-type(2) {
        position: relative;
    }

    .statbox:nth-of-type(2):before {
        content: ""; display: block;
        position: absolute; left: 0;
        top: 10px; width: 1px; height: 48px;
        background: #EBEBE7; opacity: 0.3;
    }

    .statbox:nth-of-type(2):after {
        content: ""; display: block;
        position: absolute; right: 0;
        top: 10px; width: 1px; height: 48px;
        background: #EBEBE7; opacity: 0.3;
    }

    .statnumber {
        font-size: 5rem;
    }

}

@media only screen and (min-width: 1024px) {

    #stats {
        padding: 96px 0;
    }

    .statbox:nth-of-type(2):before,
    .statbox:nth-of-type(2):after {
        top: 12px; height: 72px;
    }

    .statnumber {
        font-size: 7.2rem;
    }

}

@media only screen and (min-width: 1440px) {

    #stats {
        padding: 136px 0;
    }

    .statbox:nth-of-type(2):before,
    .statbox:nth-of-type(2):after {
        top: 16px; height: 100px;
    }

    .statbox:nth-of-type(2):after {
        right: 2px;
    }

    .statnumber {
        font-size: 10rem;
        margin-bottom: 14px;
    }

}

/*-----------------------------------*\
  PICK
\*-----------------------------------*/

#pick {
    padding: 40px 0; position: relative;
    background: url(../img/comm/bg-gray.webp) no-repeat top left;
    background-size: cover;
}

#pick .basic {
    position: relative; z-index: 2;
}

.pick-intro {
    text-align: center;
    margin-bottom: 30px;
}

#pick .smallintro {
    min-width: 157px;
    background: url(../img/comm/smbg-pick.png) no-repeat;
    background-size: 157px 28px;
    margin-bottom: 20px;
}

#pick h2 {
    font-size: 3rem; line-height: 1.1;
    margin-bottom: 20px; color: #1a1a1a;
    letter-spacing: -0.00833em;
}

.cardlink {
    display: block; background: #EBEBE7; 
    margin-bottom: 20px; color: #023049;
    border-radius: 8px;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08);
}

.card {
    border-radius: 8px;
    transition: all 0.2s ease-out;
    display: block; 
}

.cardlink:hover {
    background: #fff;
}

.card-img {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.cardlogo {
    position: absolute; top: 50%;
    left: 50%; transform: translate(-50%, -50%);
    transition: all 0.2s ease-out; z-index: 2;
}

#card-rise .cardlogo {
    width: 45.57%;
}

#card-families .cardlogo {
    width: 68.8%;
}

#card-yp .cardlogo {
    width: 24%;
}

#card-heroes .cardlogo {
    width: 66%;
}

.cardlink:hover .cardlogo {
    transform: translate(-50%, -50%) scale(1.1);
}

.cardpic {
    transition: all 0.2s ease-out;
}

.cardlink:hover .cardpic {
    transform: rotate(-1.5deg) scale(1.1);
}

.card-copy {
    padding: 24px 22px 28px;
}

.cardlink .card h3 {
    color: #1A1A1A; font-size: 2.4rem;
    line-height: 1; letter-spacing: -0.0125em;
    margin-bottom: 12px;
}

.card p {
    margin-bottom: 20px;
}

.join {
    font-family: "oswald", sans-serif;
    display: inline-block; position: relative;
    font-size: 1.2rem; font-weight: 700;
    color: #C0121F; letter-spacing: 0.08333em;
    text-transform: uppercase;
}

.join:after {
    content: ""; display: inline-block;
    position: absolute; top: 6px; right: -22px;
    width: 22px; height: 8px; opacity: 0;
    background: url(../img/comm/arrow.png) no-repeat;
    background-size: 22px 8px; transition: all 0.2s ease-out;
}

.cardlink:hover .join:after {
    opacity: 1;
    transform: translateX(10px);
}

.cardsbg, .cardsbg-md {
    display: none;
}

@media only screen and (min-width: 768px) {

    #pick {
        padding: 60px 0;
    }

    .pick-intro {
        margin-bottom: 40px;
    }

    #pick h2 {
        font-size: 4.8rem;
    }

    .cardrow {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
    }

}

@media only screen and (min-width: 1024px) {

    #pick {
        padding: 20px 0 40px;
    }

    #pick .basic {
        background: url(../img/comm/cardsbg-md.webp) no-repeat center top;
        background-size: 100%;
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .pick-intro {
        margin-bottom: 52px;
    }

    #pick h2 {
        font-size: 6rem;
    }

    .cardrow {
        grid-template-columns: repeat(4, 1fr);
    }

    .cardlink {
        margin-bottom: 0;
    }

}

@media only screen and (min-width: 1440px) {

    #pick {
        padding: 80px 0;
    }

    #pick .basic {
        background: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .cardsbg {
        display: block; position: absolute;
        top: 25px; left: 50%;
        transform: translateX(-50%);
        width: 100%; max-width: 1440px;
    }

}

/*-----------------------------------*\
  VOTE
\*-----------------------------------*/

#vote {
    background: url(../img/comm/bg-vote.jpg) no-repeat top left;
    background-size: cover;
    padding: 40px 0;
}

#vote .smallintro {
    min-width: 116px;
    background: url(../img/comm/smbg-vote.png) no-repeat;
    background-size: 116px 28px;
    margin-bottom: 20px;
}

.vote-copy {
    margin-bottom: 30px;
}

#vote h2 {
    font-size: 3rem; line-height: 1.1;
    margin-bottom: 20px; color: #EBEBE7;
}

#vote p {
    margin-bottom: 20px;
    color: #C7D1DB;
}

@media only screen and (min-width: 768px) {

    #vote {
        padding: 60px 0;
    }

    .vote-copy {
        margin-bottom: 0;
        width: 48%;
    }

    .vote-img {
        width: 48%;
    }

}

@media only screen and (min-width: 1024px) {

    #vote {
        padding: 80px 0;
    }

    .vote-copy {
        width: 41%;
    }

    #vote h2 {
        font-size: 3.6rem; 
    }

    .vote-img {
        width: 42.1875%;
    }

}

@media only screen and (min-width: 1280px) {

    #vote .smallintro {
        margin-bottom: 28px;
    }

    #vote h2 {
        font-size: 5.6rem; 
        margin-bottom: 28px;
    }

    #vote p {
        margin-bottom: 28px;
        font-size: 1.8rem;
    }

}

/*-----------------------------------*\
  ACTION
\*-----------------------------------*/

#action {
    padding: 60px 0; color: #fff;
    background: #01071E;
}

.topsec {
    margin-bottom: 16px;
}

.topsec .starintro {
    margin-bottom: 8px;
}

.topsec h2 {
    font-size: 3rem; line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.00833em;
}

.topsec p {
    margin-top: 8px;
    font-weight: 500;
    line-height: 1.6;
}

.at-desc {
    margin-top: 8px;
    font-weight: 500;
    line-height: 1.6;
}

@media only screen and (min-width: 768px) {

    #action {
        padding: 72px 0;
    }

}

@media only screen and (min-width: 1024px) {

    #action {
        padding: 96px 0;
    }

    .topsec {
        margin-bottom: 20px;
    }

    .topsec h2 {
        font-size: 3.6rem;
    }

    .topsec p {
        font-size: 1.5rem;
    }

    .at-row {
        display: flex; align-items: center;
    }

    .at-desc {
        margin-top: 0; width: 41%;
        font-size: 1.5rem;
        margin-left: auto;
    }

}

@media only screen and (min-width: 1280px) {

    #action {
        padding: 112px 0;
    }

    .topsec {
        margin-bottom: 24px;
    }

    .topsec h2 {
        font-size: 5rem;
    }

}

/*-----------------------------------*\
  RESOURCES
\*-----------------------------------*/

#resources {
    padding: 60px 0 40px;
}

.cr-item {
    display: flex; padding: 10px;
    border-radius: 9px;
    border: 1px solid rgba(0, 22, 77, 0.08);
    background: #F2F3F4; color: #00071E;
    margin-bottom: 10px;
}

.cr-img {
    width: 36%; overflow: hidden;
    border-radius: 6px;
}

.cr-img img {
    transition: all 0.25s linear;
}

.cr-item:hover .cr-img img {
    transform: scale(1.1);
}

.cr-info {
    width: 64%; display: flex;
    padding-left: 10px;
    flex-direction: column;
}

.cr-top {
    flex-grow: 1;
}

.cr-label {
    display: inline-block; color: #fff;
    background: #C41E49; border-radius: 4px;
    line-height: 1; padding: 4px 5px 2px; font-size: 0.9rem;
    margin-bottom: 6px; text-transform: uppercase;
    font-weight: 700; letter-spacing: 0.04em;
}

.cr-headline {
    font-size: 1.6rem; line-height: 1.2;
    text-transform: uppercase;
    font-weight: 600;
}

.cr-desc {
    font-size: 1rem;
}

@media only screen and (min-width: 768px) {

    #resources {
        padding: 72px 0 60px;
    }

    .cr-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 10px;
    }

}

@media only screen and (min-width: 1024px) {

    #resources {
        padding: 96px 0 72px;
    }

    .cr-item {
        padding: 15px;
        margin-bottom: 18px;
    }

    .cr-info {
        padding-left: 18px;
    }

    .cr-label {
        margin-bottom: 12px; 
    }

    .cr-headline {
        font-size: 2.1rem;
    }

    .cr-desc {
        font-size: 1.2rem;
    }

}

@media only screen and (min-width: 1280px) {

    #resources {
        padding: 112px 0 96px;
    }
	
	.cr-grid {
        grid-template-columns: repeat(3, 1fr);
		grid-column-gap: 18px;
    }
	
	.cr-item {
        margin-bottom: 0;
    }
	
	.cr-img {
		width: 48%;
	}

	.cr-info {
		width: 52%;
	}

}

/*-----------------------------------*\
  ACTION CAROUSEL
\*-----------------------------------*/

.carousel-wrap {
    margin-top: 28px;
}

.comm-carousel {
    position: relative;
}

.cc-viewport {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.cc-viewport:active {
    cursor: grabbing;
}

.cc-track {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.cc-slide {
    position: relative;
    flex: 0 0 86%;
    aspect-ratio: 1.9 / 1;
    border-radius: 12px;
    overflow: hidden;
}

.cc-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.cc-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
    font-family: "oswald", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

/* Arrows */
.cc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: background 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.cc-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cc-prev {
    left: 16px;
}

.cc-prev svg {
    transform: scaleX(-1);
}

.cc-next {
    right: 16px;
}

.cc-arrow:disabled {
    background: rgba(255, 255, 255, 0.55);
    cursor: default;
    box-shadow: none;
}

/* Dots */
.cc-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.cc-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.cc-dot.is-active {
    width: 50px;
    background: #C0121F;
    cursor: default;
}

@media only screen and (min-width: 768px) {

    .carousel-wrap {
        margin-top: 36px;
    }

    .cc-track {
        gap: 20px;
    }

    .cc-slide {
        flex: 0 0 78%;
    }

    .cc-caption {
        left: 22px;
        bottom: 22px;
        padding: 9px 15px;
        font-size: 1.2rem;
    }

    .cc-arrow {
        width: 52px;
        height: 52px;
    }

    .cc-prev {
        left: 20px;
    }

    .cc-next {
        right: 20px;
    }

    .cc-dots {
        margin-top: 28px;
    }

}

@media only screen and (min-width: 1024px) {

    .carousel-wrap {
        margin-top: 44px;
    }

    .cc-track {
        gap: 24px;
    }

    .cc-slide {
        flex: 0 0 67%;
    }

    .cc-caption {
        left: 28px;
        bottom: 28px;
        padding: 10px 16px;
        font-size: 1.3rem;
    }

    .cc-arrow {
        width: 60px;
        height: 60px;
    }

    .cc-arrow svg {
        width: 20px;
        height: 20px;
    }

    .cc-prev {
        left: 24px;
    }

    .cc-next {
        right: 24px;
    }

}

/*-----------------------------------*\
  COMMUNITY HEADER / NAV
\*-----------------------------------*/

.comm-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: #fff;
}

.comm-nav-bar {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%);
    transition: background 0.25s ease;
}

.comm-header.is-open .comm-nav-bar {
    background: #01071E;
}

.comm-nav-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.comm-logo {
    display: block;
    width: 116px;
    flex-shrink: 0;
}

/* Hamburger toggle (mobile only) */
.comm-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.comm-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.comm-header.is-open .comm-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.comm-header.is-open .comm-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.comm-header.is-open .comm-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav links + CTA */
.comm-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comm-nav-links a {
    display: block;
    color: #fff;
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.5;
}

.comm-nav-cta.btn-comm {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

/* Breadcrumb */
.comm-breadcrumb {
    max-width: 1480px;
    margin: 0 auto;
    padding: 4px 20px 0;
}

.parentpage .comm-breadcrumb {
    display: none;
}

.comm-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.comm-breadcrumb a,
.comm-breadcrumb span {
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 21px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.7);
}

.comm-breadcrumb a:hover {
    color: #fff;
}

.comm-breadcrumb [aria-current="page"] {
    color: #fff;
}

.bc-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.6);
}

.bc-sep svg {
    width: 11px;
    height: 11px;
}

/* --- Mobile: collapse into toggle panel --- */
@media only screen and (max-width: 1023px) {

    .comm-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 20px 24px;
        background: #01071E;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    }

    .comm-header.is-open .comm-nav {
        display: flex;
    }

    .comm-nav-links {
        display: flex;
        flex-direction: column;
    }

    .comm-nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .comm-nav-cta.btn-comm {
        align-self: flex-start;
        margin-top: 18px;
        font-size: 1.3rem;
    }
}

/* --- Desktop: horizontal bar --- */
@media only screen and (min-width: 1024px) {

    .comm-nav-inner {
        padding: 24px 20px;
    }

    .comm-logo {
        width: 150px;
    }

    .comm-nav-toggle {
        display: none;
    }

    .comm-nav {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .comm-nav-links {
        display: flex;
        align-items: center;
        gap: clamp(2px, 0.8vw, 14px);
    }

    .comm-nav-links a {
        padding: 8px 14px;
    }

    .comm-nav-links a:hover {
        color: rgba(255, 255, 255, 0.7);
    }

    .comm-breadcrumb {
        padding-top: 6px;
    }
}

/*-----------------------------------*\
  COMMUNITY FOOTER
\*-----------------------------------*/

.comm-footer {
    position: relative;
    color: #fff;
    background-color: #00071E;
    background-image:
        linear-gradient(to bottom, rgba(0, 7, 30, 0) 12%, rgba(0, 7, 30, 0.7) 48%, #00071E 72%),
        url(../img/comm/footer-bg.webp);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto, cover;
}

.cf-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Top: logo + heading + cards */
.cf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cf-logo {
    width: 150px;
    height: auto;
}

.cf-heading {
    margin: 0;
    max-width: 825px;
    text-align: center;
    color: #ebebe7;
    font-size: 3.4rem;
    line-height: 1;
    letter-spacing: -0.015em;
}

.cf-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.cf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 180px;
    padding: 32px 18px 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.04) 100%);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cf-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.cf-card-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cf-card-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 58px;
}

.cf-card-label {
    font-family: "Forum", serif;
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

/* Info: about + social */
.cf-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 421px;
}

.cf-about {
    margin: 0;
    font-family: poppins, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    opacity: 0.8;
}

.cf-follow {
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #B1B1B1;
}

.cf-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cf-social a {
    display: flex;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease;
}

.cf-social a:hover {
    opacity: 0.65;
}

.cf-social svg {
    width: 100%;
    height: 100%;
}

/* Legal */
.cf-legal {
    text-align: center;
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #B1B1B1;
}

.cf-legal a {
    color: #B1B1B1;
}

.cf-legal a:hover {
    color: #fff;
}

@media only screen and (min-width: 768px) {

    .cf-inner {
        padding: 72px 40px 40px;
        gap: 56px;
    }

    .cf-heading {
        font-size: 5rem;
    }

    .cf-card {
        min-height: 240px;
        padding: 48px 24px 26px;
    }

    .cf-card-logo img {
        max-height: 66px;
    }

    .cf-card-label {
        font-size: 1.8rem;
    }
}

@media only screen and (min-width: 1024px) {

    .cf-inner {
        padding: 90px 60px 45px;
        gap: 64px;
    }

    .cf-logo {
        width: 200px;
    }

    .cf-heading {
        font-size: 6.6rem;
        letter-spacing: -0.017em;
    }

    .cf-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .cf-card {
        min-height: 300px;
        padding: 56px 30px 30px;
    }

    .cf-card-logo img {
        max-height: 72px;
    }
}

/*-----------------------------------*\
  EVENTS
\*-----------------------------------*/

#upcoming {
    padding: 60px 0;
}

@media only screen and (min-width: 768px) {

    #upcoming {
        padding: 96px 0;
    }

}

@media only screen and (min-width: 1280px) {

    #upcoming {
        padding: 112px 0;
    }

}
/*-----------------------------------*\
  COMMUNITY EVENTS
\*-----------------------------------*/

#communityevents {
    margin-top: 24px;
}

/* Filter pills */
.ce-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.ce-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Past-events toggle switch */
.ce-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ce-toggle-label {
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00164D;
}

.ce-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #C7CBD3;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ce-switch[aria-checked="true"] {
    background: #C0121F;
}

.ce-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.ce-switch[aria-checked="true"] .ce-switch-thumb {
    transform: translateX(20px);
}

/* Past-events section */
.ce-past[hidden] {
    display: none;
}

.ce-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: clamp(40px, 6vw, 54px) 0;
}

.ce-divider::before,
.ce-divider::after {
    content: "";
    width: 54px;
    height: 1px;
    background: rgba(0, 22, 77, 0.25);
}

.ce-divider span {
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    color: #00164D;
}

/* Past-events pagination */
.ce-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.ce-page,
.ce-page-nav {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #00164D;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ce-page:hover,
.ce-page-nav:not(:disabled):hover {
    background: #F2F3F4;
}

.ce-page.is-active {
    background: #C41E49;
    color: #fff;
}

.ce-page-nav {
    padding: 0 16px;
    border: 1px solid rgba(0, 22, 77, 0.2);
}

.ce-page-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.ce-page-gap {
    min-width: 20px;
    text-align: center;
    color: #00164D;
    opacity: 0.6;
}

.ce-filter {
    padding: 10px 20px;
    border: 0;
    border-radius: 4.5px;
    background: #F2F3F4;
    color: #000;
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.ce-filter:hover {
    background: #E2E4E7;
}

.ce-filter.is-active {
    background: #C41E49;
    color: #fff;
}

/* List + cards */
.ce-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ce-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #F2F3F4;
    border: 0.75px solid rgba(0, 22, 77, 0.08);
    border-radius: 9px;
    overflow: hidden;
}

.ce-card.is-hidden {
    display: none;
}

.ce-media {
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    border-radius: 9px;
    overflow: hidden;
    background: #D9DBDE;
}

.ce-img {
    /* !important overrides the inline width/height/max-width WP Engine injects on featured images */
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}

.ce-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 12px 12px;
}

.ce-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ce-date,
.ce-desc,
.ce-loc {
    margin: 0;
    font-family: poppins, sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #00071E;
    opacity: 0.8;
}

.ce-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ce-tag {
    padding: 8px 12px;
    border-radius: 4.5px;
    background: #fff;
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1A1A1A;
}

.ce-title {
    margin: 0;
    font-family: poppins, sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #00071E;
}

.ce-register.btn-comm {
    align-self: flex-start;
    font-family: "oswald", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    line-height: 34px;
    padding: 0 25px 1px;
}

.ce-empty {
    padding: 24px 0;
    font-family: poppins, sans-serif;
    font-size: 1.4rem;
    color: #00071E;
    opacity: 0.7;
}

@media only screen and (min-width: 768px) {

    .ce-card {
        flex-direction: row;
        gap: 18px;
        align-items: stretch;
    }

    .ce-media {
        width: 44%;
        max-width: 626px;
        aspect-ratio: auto;
        min-height: 260px;
    }

    .ce-content {
        padding: 32px;
    }

    .ce-title {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 1024px) {

    .ce-media {
        width: 47.4%;
    }

    .ce-content {
        padding: 40px;
    }

    .ce-title {
        font-size: 2.1rem;
    }
}