/* CEvilization shell and homepage. Colors match the existing site: burgundy, red, coral, gold. */

.cev-site {
    --cev-burgundy: #500008;
    --cev-red: #d80d07;
    --cev-red-dark: #bf0c06;
    --cev-coral: #e36159;
    --cev-gold: #f5c518;
    --cev-ink: #1a1012;
    --cev-muted: #5c4a4d;
    --cev-page: #f7f3f3;
    --cev-line: #f0e4e4;
    --cev-radius-sm: 14px;
    --cev-radius: 22px;
    --cev-radius-lg: 28px;
    --cev-radius-pill: 999px;
    background: var(--cev-page);
    font-family: "Poppins", sans-serif;
}

.cev-site .body,
.cev-site .main {
    background: var(--cev-page);
}

.cev-scroll-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.cev-scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cev-scroll-reveal[data-scroll-delay="100"] {
    transition-delay: 100ms;
}

.cev-scroll-reveal[data-scroll-delay="200"] {
    transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
    .cev-scroll-reveal,
    .cev-scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.cev-site .cev-page-header {
    margin: 0 !important;
    padding: 2.4rem 0;
    border: 0;
    border-bottom: 4px solid var(--cev-gold);
    background: var(--cev-burgundy) !important;
}

.cev-page-header h1 {
    color: #fff;
    padding: 1.1rem;
    font-size: 2.1rem;
    font-weight: 800;
}

.cev-page-header .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.cev-page-header .breadcrumb,
.cev-page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
}

.cev-page-header .breadcrumb a:hover {
    color: var(--cev-gold);
}

.cev-subpage-intro {
    padding-top: 2.8rem;
    padding-bottom: 1rem;
    text-align: center;
}

.cev-subpage-intro h2 {
    color: var(--cev-red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cev-subpage-intro h3 {
    color: var(--cev-burgundy);
    font-size: 1.8rem;
    line-height: 1.3;
}

.cev-subpage-content {
    padding-bottom: 2.5rem;
}

.cev-site .cev-committee-page .accordion .card.cev-committee-season,
.cev-site .card.cev-committee-season {
    overflow: hidden;
    margin-bottom: 1rem;
    border: 0 !important;
    border-radius: var(--cev-radius-lg) !important;
    background: #fff;
    box-shadow: 0 12px 30px rgba(80, 0, 8, 0.08);
}

.cev-site .cev-committee-page .accordion .card.cev-committee-season > .card-header.cev-committee-season-header,
.cev-site .cev-committee-season-header {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: var(--cev-radius-lg) var(--cev-radius-lg) 0 0 !important;
    background: #500008;
}

.cev-committee-season-header .card-title {
    font-size: 1rem;
}

.cev-site .cev-committee-page .accordion .card.cev-committee-season > .card-header.cev-committee-season-header a.accordion-toggle,
.cev-committee-season-header .accordion-toggle {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: var(--cev-radius-lg) var(--cev-radius-lg) 0 0 !important;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}

.cev-site .cev-committee-page .accordion .card.cev-committee-season .card-body,
.cev-committee-season .card-body {
    padding: 1rem 1.25rem;
    border-radius: 0 0 var(--cev-radius-lg) var(--cev-radius-lg) !important;
}

.cev-site .cev-committee-file,
.cev-committee-file {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius-sm) !important;
    background: #fff;
}

.cev-committee-file i {
    color: var(--cev-red);
}

.cev-committee-file a {
    color: var(--cev-ink) !important;
    font-weight: 600;
}

.cev-committee-file a:hover {
    color: var(--cev-red) !important;
}

.cev-committee-empty {
    margin: 0;
    padding: 0.5rem 0.25rem;
    color: var(--cev-muted);
}

.cev-ambassador-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2rem;
    max-width: 520px;
}

.cev-ambassador-switch-label {
    margin: 0;
    color: var(--cev-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.cev-ambassador-select {
    min-width: 240px;
    max-width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius-pill);
    background: #fff;
    color: var(--cev-ink);
    font-weight: 600;
}

.cev-ambassador-roster {
    position: relative;
    padding: 0 22px;
}

.cev-ambassador-roster .owl-stage,
.cev-ambassador-roster .owl-item {
    display: flex;
    align-items: stretch;
}

.cev-ambassador-roster .owl-item {
    float: none;
    flex-shrink: 0;
}

.cev-ambassador-roster .owl-item > .cev-ambassador-card {
    width: 100%;
}

.cev-ambassador-roster .owl-stage-outer {
    padding: 0.4rem 0 0.8rem;
}

.cev-ambassador-roster .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    transform: none;
    pointer-events: none;
}

.cev-ambassador-card {
    width: 100%;
    overflow: hidden;
    border-radius: var(--cev-radius-lg);
    background: #fff;
    box-shadow: 0 16px 36px rgba(80, 0, 8, 0.12);
}

.cev-ambassador-roster .owl-nav button.owl-prev,
.cev-ambassador-roster .owl-nav button.owl-next {
    position: absolute;
    top: 34%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 50% !important;
    background: var(--cev-burgundy);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(80, 0, 8, 0.22);
    transform: translateY(-50%);
    pointer-events: auto;
    z-index: 2;
}

.cev-ambassador-roster .owl-nav button.owl-prev:before,
.cev-ambassador-roster .owl-nav button.owl-next:before {
    content: none;
}

.cev-ambassador-roster .owl-nav button.owl-prev {
    left: 0;
}

.cev-ambassador-roster .owl-nav button.owl-next {
    right: 0;
}

.cev-ambassador-roster .owl-nav button:hover {
    background: var(--cev-red);
}

.cev-ambassador-roster .owl-dots {
    margin-top: 0.5rem;
}

.cev-ambassador-roster .owl-dot span {
    background: #dfc9ca;
}

.cev-ambassador-roster .owl-dot.active span,
.cev-ambassador-roster .owl-dot:hover span {
    background: var(--cev-red);
}

.cev-ambassador-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--cev-radius-lg);
}

.cev-ambassador-empty {
    margin: 0;
    color: var(--cev-muted);
}

.cev-notice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
}

.cev-notice-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(80, 0, 8, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cev-notice-card:not(.cev-notice-card-has-image) {
    grid-template-columns: minmax(0, 1fr);
}

.cev-notice-card:hover {
    box-shadow: 0 18px 38px rgba(80, 0, 8, 0.14);
    transform: translateY(-3px);
}

.cev-notice-photo {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 180px;
    margin: 0.7rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--cev-burgundy);
}

.cev-notice-photo::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(40, 0, 6, 0.28);
    content: "";
}

.cev-notice-photo-blur {
    position: absolute;
    z-index: 0;
    inset: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    max-width: none;
    object-fit: cover;
    filter: blur(16px);
    opacity: 0.8;
}

.cev-notice-photo-sharp {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.cev-notice-card-copy {
    flex: 1;
    padding: 1.1rem 1.25rem 1.3rem;
}

.cev-notice-date {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: var(--cev-radius-pill);
    background: var(--cev-gold);
    color: var(--cev-burgundy);
    font-size: 0.75rem;
    font-weight: 700;
}

.cev-notice-title {
    margin: 0 0 0.65rem;
    color: var(--cev-burgundy);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cev-notice-description {
    color: var(--cev-muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cev-notice-description > :first-child {
    margin-top: 0;
}

.cev-notice-description > :last-child {
    margin-bottom: 0;
}

.cev-notice-file-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    background: #fff1f0;
    color: var(--cev-burgundy);
    font-weight: 600;
    text-decoration: none;
}

.cev-notice-file-link:hover {
    background: var(--cev-red);
    color: #fff;
}

.cev-notice-empty {
    grid-column: 1 / -1;
    color: var(--cev-muted);
    text-align: center;
}

.cev-notice-scroll-status {
    min-height: 1px;
    color: var(--cev-muted);
    text-align: center;
}

.cev-notice-scroll-status:not(:empty) {
    padding: 1rem;
}

@media (max-width: 767.98px) {
    .cev-notice-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cev-notice-card,
    .cev-notice-card:not(.cev-notice-card-has-image) {
        grid-template-columns: minmax(0, 1fr);
    }

    .cev-notice-photo {
        min-height: 150px;
    }

    .cev-notice-photo-sharp {
        max-height: 280px;
    }
}

.cev-about-section {
    padding: 2.5rem 0;
    background: var(--cev-page);
}

.cev-about-section-alt {
    background: #fff;
}

.cev-about-section h3 {
    color: var(--cev-burgundy);
    font-size: 1.7rem;
    line-height: 1.35;
}

.cev-about-section p {
    color: var(--cev-muted);
    line-height: 1.8;
}

.cev-about-image {
    display: block;
    width: auto;
    max-width: min(100%, 420px);
    height: auto;
    max-height: 360px;
    margin-inline: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(80, 0, 8, 0.14) !important;
}

.cev-home-about {
    border-top: 1px solid var(--cev-line);
}

.cev-home-about-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--cev-red);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cev-home-about h2 {
    margin-bottom: 0.85rem;
    color: var(--cev-burgundy);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.cev-home-about-copy {
    margin-bottom: 1.2rem;
    color: var(--cev-muted);
    line-height: 1.8;
}

.cev-home-about-copy p:last-child {
    margin-bottom: 0;
}

.cev-home-about-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .cev-about-image {
        max-height: 280px;
    }
}

.cev-contact-page > .row {
    row-gap: 1.5rem;
}

.cev-contact-page h2 {
    color: var(--cev-burgundy);
    font-size: 1.55rem;
}

.cev-contact-details .feature-box {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--cev-line);
}

.cev-contact-details .feature-box-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff1f0;
    color: var(--cev-red);
    font-size: 1rem;
}

.cev-contact-details .feature-box-info h5,
.cev-contact-details .feature-box-info h3 {
    color: var(--cev-burgundy);
}

.cev-contact-details a {
    color: var(--cev-muted) !important;
}

.cev-contact-details a:hover {
    color: var(--cev-red) !important;
}

.cev-contact-form {
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(80, 0, 8, 0.08);
}

.cev-contact-form .form-control {
    min-height: 48px;
    border: 1px solid var(--cev-line);
    border-radius: 8px;
    color: var(--cev-ink);
}

.cev-contact-form textarea.form-control {
    min-height: 140px;
}

.cev-contact-form .form-control:focus {
    border-color: var(--cev-coral);
    box-shadow: 0 0 0 0.2rem rgba(227, 97, 89, 0.16);
}

.cev-contact-submit {
    min-height: 46px;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: 8px;
    background: var(--cev-burgundy);
    color: #fff !important;
    font-weight: 700;
}

.cev-contact-submit:hover,
.cev-contact-submit:focus {
    background: var(--cev-red);
}

.cev-contact-submit .custom-svg-btn-background {
    display: none;
}

.cev-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.85rem 0 0.35rem;
    background: var(--cev-page);
}

.cev-pending-payment-alert {
    border-bottom: 1px solid rgba(80, 0, 8, 0.12);
    background: #fff4d4;
    color: var(--cev-burgundy);
}

.cev-pending-payment-content {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.cev-pending-payment-content > .fa-clock {
    color: var(--cev-red);
}

.cev-pending-payment-content p {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    column-gap: 0.45rem;
    color: var(--cev-ink);
    font-size: 0.88rem;
}

.cev-pending-payment-content strong {
    color: var(--cev-burgundy);
}

.cev-pending-payment-link {
    flex: none;
    color: var(--cev-red-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.cev-pending-payment-link:hover,
.cev-pending-payment-link:focus {
    color: var(--cev-burgundy);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .cev-pending-payment-content {
        align-items: flex-start;
        gap: 0.55rem;
    }

    .cev-pending-payment-content p {
        font-size: 0.8rem;
    }

    .cev-pending-payment-link {
        font-size: 0.8rem;
    }
}

.cev-site .cev-nav .navbar {
    background: #fff !important;
    border-radius: 22px !important;
    padding: 0.4rem 0.55rem 0.4rem 0.9rem;
    box-shadow: 0 12px 32px rgba(80, 0, 8, 0.1);
}

.cev-nav .navbar-brand img {
    height: 52px;
    width: auto;
}

.cev-nav .navbar-nav {
    gap: 0.1rem;
}

.cev-nav .nav-link {
    color: var(--cev-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
}

.cev-nav .nav-link:hover,
.cev-nav .nav-link:focus,
.cev-nav .nav-link.active {
    color: var(--cev-red);
    background: #fff1f0;
}

.cev-toggler {
    border: 1px solid rgba(216, 13, 7, 0.25);
    border-radius: 12px;
    padding: 0.4rem 0.55rem;
}

.cev-toggler .navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23500008' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cev-hero {
    padding: 1.15rem 0 0.5rem;
}

.cev-site .cev-hero .carousel-inner,
.cev-site .cev-hero-slide {
    border-radius: 28px !important;
    overflow: hidden;
}

.cev-hero-slide {
    position: relative;
    background: var(--cev-burgundy);
}

.cev-hero-slide-empty {
    min-height: 420px;
}

.cev-hero-photo {
    width: 100%;
    height: auto;
    display: block;
}

.cev-hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(80, 0, 8, 0.15), rgba(80, 0, 8, 0.55));
    color: #fff;
}

.cev-hero-copy h1 {
    margin: 0.35rem 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cev-hero-copy p {
    max-width: 640px;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.cev-eyebrow {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--cev-gold);
    color: var(--cev-burgundy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cev-hero .carousel-indicators {
    margin-bottom: 1.1rem;
}

.cev-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.cev-hero .carousel-indicators .active {
    width: 28px;
    background: var(--cev-gold);
}

.cev-hero .carousel-control-prev,
.cev-hero .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    margin-top: -24px;
    border-radius: 50%;
    background: rgba(80, 0, 8, 0.72);
    opacity: 1;
}

.cev-hero .carousel-control-prev { left: 1.2rem; }
.cev-hero .carousel-control-next { right: 1.2rem; }

.cev-site .cev-ticker {
    display: flex;
    align-items: stretch;
    min-height: 3.25rem;
    margin: 1.4rem 0 0;
    overflow: hidden;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 10px 28px rgba(80, 0, 8, 0.08);
}

.cev-ticker-label {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background: var(--cev-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cev-ticker-viewport {
    overflow: hidden;
    flex: 1;
}

.cev-ticker-track {
    display: flex;
    width: max-content;
    animation: cev-marquee 36s linear infinite;
}

.cev-ticker:hover .cev-ticker-track {
    animation-play-state: paused;
}

.cev-ticker-group {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    padding: 0.85rem 1.2rem;
}

.cev-ticker-group a {
    color: var(--cev-ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cev-ticker-group a::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.7rem;
    border-radius: 50%;
    background: var(--cev-red);
}

.cev-ticker-group a:hover {
    color: var(--cev-red);
}

@keyframes cev-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cev-register {
    display: flex;
    justify-content: center;
    padding: 1.6rem 0 0.4rem;
}

.cev-site .cev-register a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px !important;
    background: var(--cev-gold);
    color: var(--cev-burgundy);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(80, 0, 8, 0.12);
}

.cev-register a:hover {
    background: #ffe14a;
    color: var(--cev-burgundy);
}

.cev-btn {
    display: inline-flex;
    margin-top: 0.4rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: var(--cev-gold);
    color: var(--cev-burgundy);
    font-weight: 800;
    text-decoration: none;
}

.cev-btn:hover {
    background: #ffe14a;
    color: var(--cev-burgundy);
}

.cev-section {
    padding: 2.4rem 0;
}

.cev-site .cev-season {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 22px !important;
    background: #fff;
    box-shadow: 0 16px 40px rgba(80, 0, 8, 0.07);
}

.cev-season-head {
    padding: 0.95rem 1.3rem;
    background: #500008;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.cev-site .cev-season-head.accordion-button {
    width: 100%;
    border: 0;
    border-radius: 14px 14px 0 0 !important;
    background: #500008;
    color: #fff;
    text-align: left;
    box-shadow: none;
}

.cev-site .cev-season-head.accordion-button::after {
    filter: brightness(0) invert(1);
}

.cev-site .cev-season.accordion-item {
    border: 0;
    border-radius: 14px !important;
    background: transparent;
}

.cev-season-note {
    margin: 0;
    padding: 1rem 1.3rem 0;
    color: var(--cev-muted);
    text-align: center;
}

.cev-season-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
}

.cev-season-sponsors {
    margin: 0 1.2rem 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cev-line);
}

.cev-season-sponsors h3 {
    margin: 0 0 0.75rem;
    color: var(--cev-burgundy);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.cev-season-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 260px));
    justify-content: center;
    gap: 1rem;
}

.cev-season-sponsors .cev-sponsor {
    overflow: hidden;
    padding: 0 0 0.9rem;
    box-shadow: 0 14px 32px rgba(80, 0, 8, 0.14);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.cev-season-sponsors .cev-sponsor:hover {
    box-shadow: 0 18px 38px rgba(80, 0, 8, 0.2);
    transform: translateY(-2px);
}

.cev-season-sponsors .cev-sponsor img {
    display: block;
    width: calc(100% - 1.5rem);
    height: 90px;
    margin: 0.75rem auto 0;
    border-radius: 12px;
}

.cev-season-sponsors .cev-sponsor h3 {
    padding: 0 0.8rem;
}

.cev-event {
    flex: 0 1 calc((100% - 3rem) / 4);
    min-width: 0;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--cev-line);
    text-decoration: none;
    color: var(--cev-ink);
    box-shadow: 0 14px 32px rgba(80, 0, 8, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cev-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(80, 0, 8, 0.2);
    color: var(--cev-red);
}

.cev-event img {
    display: block;
    width: 100%;
    height: 170px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    background: #fff;
    padding: 0.6rem;
}

.cev-event span {
    display: block;
    padding: 0.75rem 0.6rem 0.95rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cev-sponsors {
    padding-bottom: 3rem;
}

.cev-section-head {
    margin-bottom: 1.4rem;
    text-align: center;
}

.cev-section-head h2 {
    margin: 0;
    color: var(--cev-burgundy);
    font-size: 2rem;
    font-weight: 800;
}

.cev-section-head p {
    margin: 0.4rem 0 0;
    color: var(--cev-muted);
}

.cev-sponsor-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.cev-sponsor {
    padding: 1rem 0.8rem 0.9rem;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(80, 0, 8, 0.06);
}

.cev-sponsor img {
    width: 100%;
    height: 90px;
    object-fit: contain;
}

.cev-sponsor h3 {
    margin: 0.6rem 0 0;
    color: var(--cev-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.cev-footer {
    background: var(--cev-burgundy);
    color: rgba(255, 255, 255, 0.84);
    padding: 3rem 0 0;
    margin-top: 1rem;
}

.cev-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

.cev-footer a:hover {
    color: var(--cev-gold);
}

.cev-footer img {
    height: 58px;
    width: auto;
    background: #fff;
    border-radius: 12px;
    padding: 4px 8px;
}

.cev-footer h2 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cev-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.cev-social {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0.8rem 0 0;
    margin: 0;
}

.cev-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cev-social a:hover {
    background: var(--cev-gold);
    color: var(--cev-burgundy);
}

.cev-footer-map {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 12px;
}

.cev-footer-bar {
    margin-top: 1.6rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.88rem;
}

.cev-detail-banner {
    padding: 1.25rem 0 0;
    background: var(--cev-page);
}

.cev-detail-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    border: 1px solid rgba(80, 0, 8, 0.08);
    border-radius: var(--cev-radius-lg);
    box-shadow: 0 18px 40px rgba(80, 0, 8, 0.12);
}

.cev-detail-section {
    padding-top: 1.5rem !important;
    background: var(--cev-page) !important;
}

.cev-detail-section .shape-divider polygon {
    fill: #fff;
}

.cev-detail-image-panel,
.cev-detail-info-card,
.cev-detail-links,
.cev-detail-sponsor-card {
    overflow: hidden;
    border: 1px solid var(--cev-line) !important;
    border-radius: var(--cev-radius) !important;
    background: #fff;
    box-shadow: 0 14px 36px rgba(80, 0, 8, 0.08);
}

.cev-detail-image-panel {
    padding: 0.75rem;
}

.cev-detail-main-image,
.cev-detail-image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--cev-radius-sm);
    background: #f7f3f3;
}

.cev-detail-main-image {
    object-fit: contain;
    padding: 1rem;
}

.cev-detail-image-placeholder {
    display: flex;
    color: var(--cev-coral);
}

.cev-detail-video-action {
    padding: 0.75rem 0 0;
    border: 0;
    background: transparent;
}

.cev-detail-status {
    border-radius: var(--cev-radius-pill);
    font-size: 0.78rem !important;
    font-weight: 800;
}

.cev-detail-status-open {
    background: #e7f5ed;
    color: #206b43;
}

.cev-detail-status-closed {
    background: #f4e9e9;
    color: var(--cev-burgundy);
}

.cev-detail-section h2,
.cev-detail-section h3,
.cev-detail-section h5,
.cev-detail-sponsor-title {
    color: var(--cev-burgundy);
}

.cev-detail-section .text-primary,
.cev-detail-section .text-info,
.cev-detail-section .text-warning,
.cev-detail-section .text-success {
    color: var(--cev-red) !important;
}

.cev-detail-section .bg-warning,
.cev-detail-section .bg-info,
.cev-detail-section .bg-success,
.cev-detail-section .bg-primary {
    background: var(--cev-coral) !important;
}

.cev-detail-section .bg-light-primary,
.cev-detail-section .bg-light-warning,
.cev-detail-section .bg-light-info,
.cev-detail-section .bg-light-success {
    background: #fff1f0 !important;
}

.cev-detail-stat-value {
    display: inline-block;
    color: var(--cev-red);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.cev-detail-card-header {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: calc(var(--cev-radius) - 1px) calc(var(--cev-radius) - 1px) 0 0 !important;
    background: var(--cev-burgundy);
    color: #fff;
}

.cev-detail-info-card .card-body {
    padding: 1.35rem;
    border-radius: 0 0 var(--cev-radius) var(--cev-radius);
}

.cev-detail-entry-label {
    margin-bottom: 0.25rem;
    color: var(--cev-burgundy);
    font-weight: 800;
}

.cev-detail-entry-value {
    display: inline-block;
    max-width: 100%;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #fff1f0;
    color: var(--cev-red);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.cev-detail-primary-button,
.cev-detail-secondary-button,
.cev-detail-gold-button {
    border: 0;
    border-radius: var(--cev-radius-pill);
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cev-detail-primary-button {
    background: var(--cev-red);
    color: #fff;
}

.cev-detail-primary-button:hover {
    background: var(--cev-red-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(216, 13, 7, 0.2);
    transform: translateY(-1px);
}

.cev-detail-secondary-button {
    border: 1px solid rgba(80, 0, 8, 0.2);
    background: #fff;
    color: var(--cev-burgundy);
}

.cev-detail-secondary-button:hover {
    border-color: var(--cev-red);
    background: #fff1f0;
    color: var(--cev-burgundy);
}

.cev-detail-gold-button {
    background: var(--cev-gold);
    color: var(--cev-burgundy);
}

.cev-detail-gold-button:hover {
    background: #ffe14a;
    color: var(--cev-burgundy);
    transform: translateY(-1px);
}

.cev-detail-info-card .border-bottom {
    border-color: var(--cev-line) !important;
}

.cev-detail-links {
    margin: 0;
    padding: 1.25rem;
    row-gap: 0.75rem;
}

.cev-detail-sponsor-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.cev-detail-sponsor-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cev-detail-sponsor-card:hover {
    box-shadow: 0 18px 40px rgba(80, 0, 8, 0.13);
    transform: translateY(-3px);
}

.cev-detail-sponsor-logo {
    display: block;
    width: 100%;
    max-height: 90px;
    object-fit: contain;
    border-radius: var(--cev-radius-sm);
}

.cev-detail-section .bg-white.rounded.shadow-sm,
.cev-detail-section .rounded,
.cev-detail-section .rounded-3 {
    border-radius: var(--cev-radius-sm) !important;
}

.cev-detail-section .list-group-item {
    border-radius: var(--cev-radius-sm) !important;
}

@media (max-width: 575.98px) {
    .cev-detail-banner {
        padding-top: 0.75rem;
    }

    .cev-detail-banner-image {
        border-radius: var(--cev-radius);
    }

    .cev-detail-image-panel {
        padding: 0.55rem;
        border-radius: var(--cev-radius) !important;
    }

    .cev-detail-main-image,
    .cev-detail-image-placeholder {
        border-radius: var(--cev-radius-sm);
    }

    .cev-detail-info-card .card-body,
    .cev-detail-links {
        padding: 1rem;
    }

    .cev-ambassador-card,
    .cev-ambassador-card img {
        border-radius: var(--cev-radius);
    }

    .cev-committee-season {
        border-radius: var(--cev-radius) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cev-detail-primary-button,
    .cev-detail-secondary-button,
    .cev-detail-gold-button,
    .cev-detail-sponsor-card,
    .cev-notice-card {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .cev-sponsor-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .cev-season-grid .cev-event {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .cev-hero-slide-empty {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .cev-hero {
        overflow-x: clip;
    }

    .cev-site .cev-ticker {
        min-height: 2.5rem;
        margin-top: 0.75rem;
        border-radius: 10px !important;
    }

    .cev-ticker-label {
        padding: 0 0.7rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .cev-ticker-group {
        gap: 1rem;
        padding: 0.55rem 0.7rem;
    }

    .cev-ticker-group a {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .cev-ticker-group a::before {
        width: 5px;
        height: 5px;
        margin-right: 0.45rem;
    }

    .cev-sponsor-row {
        grid-template-columns: 1fr;
    }

    .cev-season-sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .cev-season-grid .cev-event {
        flex-basis: 100%;
    }

    .cev-hero .carousel-control-prev,
    .cev-hero .carousel-control-next {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .cev-hero .carousel-control-prev { left: -22px; }
    .cev-hero .carousel-control-next { right: -22px; }
}

@media (prefers-reduced-motion: reduce) {
    .cev-ticker-track {
        animation: none;
    }
}
