/* ASCE public shell and homepage */

:root {
    --asce-blue: #006699;
    --asce-blue-dark: #004d73;
    --asce-blue-soft: #e7f4fb;
    --asce-orange: #ff6600;
    --asce-orange-dark: #e55b00;
    --asce-black: #111111;
    --asce-ink: #111111;
    --asce-muted: #333333;
    --asce-page: #f4f7fb;
    --asce-line: #e3edf4;
    --asce-radius: 24px;
}

html body,
html .body {
    background: var(--asce-page);
}

/* Navbar */
.asce-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.85rem 0 0.35rem;
    background: var(--asce-page);
}

.asce-nav .navbar {
    background: #fff;
    border-radius: 22px !important;
    padding: 0.4rem 0.55rem 0.4rem 0.9rem;
    box-shadow: 0 12px 32px rgba(0, 51, 77, 0.1);
}

.asce-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    padding: 0;
    background: transparent;
}

.asce-nav .navbar-nav {
    gap: 0.15rem;
}

.asce-nav .navbar-brand img {
    height: 48px;
    width: auto;
}

.asce-nav .nav-link {
    position: relative;
    color: var(--asce-black);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.asce-nav .nav-link:hover,
.asce-nav .nav-link:focus {
    color: var(--asce-blue);
    background: var(--asce-blue-soft);
    transform: translateY(-1px);
}

.asce-nav .nav-link.active {
    color: var(--asce-blue);
    background: var(--asce-blue-soft);
}

.asce-nav .dropdown-menu {
    border: 1px solid var(--asce-line);
    border-radius: 16px !important;
    padding: 0.4rem;
    margin-top: 0.7rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 51, 77, 0.12);
}

.asce-nav .dropdown-item {
    border-radius: 10px;
    color: var(--asce-black);
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.asce-nav .dropdown-item:hover,
.asce-nav .dropdown-item:focus {
    background: var(--asce-blue-soft);
    color: var(--asce-blue);
    padding-left: 1.05rem;
}

.asce-pill {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.asce-pill:hover,
.asce-pill:focus {
    background: var(--asce-black);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.asce-toggler {
    border: 1px solid rgba(0, 102, 153, 0.25);
    border-radius: 12px !important;
    padding: 0.4rem 0.55rem;
}

.asce-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='%23006699' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.asce-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 153, 0.2);
}

@media (min-width: 992px) {
    .asce-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .asce-nav .navbar {
        padding: 0.55rem 0.75rem;
    }

    .asce-nav .navbar-collapse {
        padding: 0.35rem 0 0.45rem;
    }

    .asce-nav .nav-link {
        margin: 0.1rem 0;
    }

    .asce-pill {
        margin: 0.45rem 0 0.15rem;
    }
}

/* Hero */
.asce-hero {
    position: relative;
    padding: 1.15rem 0 1.5rem;
}

.asce-hero > .container {
    position: relative;
}

.asce-hero .carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--asce-radius);
    box-shadow: 0 18px 40px rgba(0, 102, 153, 0.12);
}

.asce-hero-slide {
    position: relative;
    display: block;
    overflow: hidden;
    height: auto;
    background-color: var(--asce-black);
}

.asce-hero-photo {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    background-color: var(--asce-black);
    transform: scale(1);
    transform-origin: center center;
    transition: transform 7s ease;
}

span.asce-hero-photo {
    min-height: 320px;
}

.carousel-item.active .asce-hero-photo {
    transform: scale(1.08);
}

.asce-hero:hover .carousel-item.active .asce-hero-photo {
    transform: scale(1.12);
}

.asce-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.4) 100%);
}

.asce-hero-slide > .container {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
}

.asce-hero-copy {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.asce-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.asce-hero-copy h1 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-transform: none;
}

.asce-type-caret {
    display: inline-block;
    width: 0.08em;
    min-width: 3px;
    height: 0.82em;
    margin-left: 0.08em;
    background: var(--asce-orange);
    vertical-align: -0.05em;
    animation: asce-caret 0.85s step-end infinite;
}

.carousel-item:not(.active) .asce-type-caret {
    display: none;
}

@keyframes asce-caret {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.asce-hero-copy p {
    margin: 0 auto 1.5rem;
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.65;
}

.asce-hero-copy h1 {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.carousel-item.active .asce-eyebrow,
.carousel-item.active .asce-hero-copy p,
.carousel-item.active .asce-hero-copy .asce-btn {
    animation: asce-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.carousel-item.active .asce-eyebrow {
    animation-delay: 0.1s;
}

.carousel-item.active .asce-hero-copy p {
    animation-delay: 0.3s;
}

.carousel-item.active .asce-hero-copy .asce-btn {
    animation-delay: 0.42s;
}

@keyframes asce-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.asce-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.asce-btn:hover,
.asce-btn:focus {
    background: var(--asce-black);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.asce-btn-ghost {
    background: transparent;
    color: var(--asce-blue) !important;
    border: 1px solid rgba(0, 102, 153, 0.22);
}

.asce-btn-ghost:hover,
.asce-btn-ghost:focus {
    background: var(--asce-blue);
    color: #fff !important;
}

.asce-hero .carousel-control-prev,
.asce-hero .carousel-control-next {
    z-index: 2;
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--asce-black);
    opacity: 1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    transition: background 0.25s ease, transform 0.25s ease;
}

.asce-hero .carousel-control-prev {
    left: 1.15rem;
}

.asce-hero .carousel-control-next {
    right: 1.15rem;
}

.asce-hero .carousel-control-prev:hover,
.asce-hero .carousel-control-next:hover {
    background: var(--asce-orange);
    transform: translateY(-50%) scale(1.08);
}

.asce-hero .carousel-indicators {
    z-index: 2;
    justify-content: center;
    margin: 0;
    left: 0;
    right: 0;
    bottom: 1.15rem;
}

.asce-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;
    transition: width 0.25s ease, background 0.25s ease;
}

.asce-hero .carousel-indicators [data-bs-target]:hover {
    background: #fff;
}

.asce-hero .carousel-indicators .active {
    width: 28px;
    background: var(--asce-orange);
}

/* Notices */
.asce-ticker {
    display: flex;
    align-items: stretch;
    min-height: 3.25rem;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 102, 153, 0.06);
}

.asce-ticker-label {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 1.25rem;
    background: var(--asce-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.asce-ticker-viewport {
    overflow: hidden;
    flex: 1;
}

.asce-ticker-track {
    display: flex;
    width: max-content;
    animation: asce-marquee 36s linear infinite;
}

.asce-ticker:hover .asce-ticker-track {
    animation-play-state: paused;
}

.asce-ticker-group {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    padding: 0.85rem 1.2rem;
}

.asce-ticker-group a {
    color: var(--asce-ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.asce-ticker-group a::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.7rem;
    border-radius: 50%;
    background: var(--asce-orange);
    vertical-align: middle;
}

.asce-ticker-group a:hover {
    color: var(--asce-orange);
}

@keyframes asce-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .asce-ticker-track,
    .carousel-item.active .asce-eyebrow,
    .asce-type-caret,
    .carousel-item.active .asce-hero-copy p,
    .carousel-item.active .asce-hero-copy .asce-btn,
    .asce-detail-card,
    .asce-feed-spinner,
    .asce-event-media-photo,
    .appear-animation {
        animation: none;
        transition: none;
        opacity: 1;
    }

    .asce-hero-photo {
        transform: none;
    }
}

/* Shared sections */
.asce-section {
    padding: 5rem 0;
}

.asce-section-head {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.asce-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.asce-section-head h2,
.asce-about-card h2 {
    margin: 0;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: none;
}

.asce-about {
    background: transparent;
}

.asce-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.asce-stat {
    padding: 1.2rem 1.4rem;
    border-radius: 18px;
    background: #fff;
    color: var(--asce-blue);
    box-shadow: 0 12px 30px rgba(0, 102, 153, 0.07);
}

.asce-stat strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.asce-stat span {
    display: block;
    margin-top: 0.35rem;
    color: var(--asce-muted);
    font-size: 0.88rem;
}

.asce-about-card {
    height: 100%;
    padding: 1.6rem 1.6rem 1.4rem;
    border-radius: 20px;
    background: #fff;
    border: 0;
    box-shadow: 0 16px 40px rgba(0, 102, 153, 0.07);
}

.asce-about-card h2 {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
}

.asce-about-card p {
    margin: 0;
    color: var(--asce-muted);
    line-height: 1.75;
}

.asce-rich-content {
    color: var(--asce-muted);
    line-height: 1.75;
}

.asce-rich-content > :first-child {
    margin-top: 0;
}

.asce-rich-content > :last-child {
    margin-bottom: 0;
}

.asce-copy .asce-rich-content + .asce-rich-content {
    margin-top: 1rem;
}

.asce-events {
    background: transparent;
}

.asce-event-card {
    height: auto;
    align-self: start;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem 1.5rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--asce-line);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 102, 153, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asce-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 102, 153, 0.12);
}

.asce-event-index {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.asce-event-card h3 {
    margin: 0.55rem 0 0;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: -0.02em;
}

.asce-event-card span {
    color: var(--asce-orange);
    font-weight: 700;
    font-size: 0.9rem;
}

.asce-event-card-media {
    padding: 0.7rem 0.7rem 1.15rem;
    gap: 0.95rem;
    overflow: hidden;
}

.asce-event-media {
    position: relative;
    overflow: hidden;
    height: 168px;
    border-radius: 14px;
    background: #e7f4fb;
}

.asce-event-media-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.asce-event-card-media:hover .asce-event-media-photo {
    transform: scale(1.08);
}

.asce-event-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex: 1;
    padding: 0.25rem 0.55rem 0.15rem;
}

.asce-committee {
    background: transparent;
}

.asce-member-slider {
    position: relative;
    padding: 0 22px;
}

.asce-member-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.asce-member-slider .owl-item {
    display: flex;
    float: none;
    flex-shrink: 0;
}

.asce-member-slider .owl-item > .asce-member {
    width: 100%;
    height: 100%;
}

.asce-member-slider .owl-stage-outer {
    padding: 0.4rem 0 0.2rem;
}

.asce-member-slider .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
    pointer-events: none;
}

.asce-member-slider .owl-nav button.owl-prev,
.asce-member-slider .owl-nav button.owl-next {
    position: absolute;
    top: 34%;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50% !important;
    background: var(--asce-blue) !important;
    color: #fff !important;
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 102, 153, 0.2);
    transform: translateY(-50%);
    pointer-events: auto;
    z-index: 2;
}

.asce-member-slider .owl-nav button.owl-prev:before,
.asce-member-slider .owl-nav button.owl-next:before {
    content: none;
}

.asce-member-slider .owl-nav button.owl-prev:hover,
.asce-member-slider .owl-nav button.owl-next:hover {
    background: var(--asce-orange) !important;
}

.asce-member-slider .owl-nav button.owl-prev {
    left: 0;
}

.asce-member-slider .owl-nav button.owl-next {
    right: 0;
}

.asce-member-slider .owl-nav button.owl-prev span,
.asce-member-slider .owl-nav button.owl-next span {
    display: block;
    margin-top: -2px;
    line-height: 1;
}

.asce-member-slider .owl-dots {
    margin-top: 1.1rem;
}

.asce-member-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 999px;
    background: #c9d8e4;
}

.asce-member-slider .owl-dots .owl-dot.active span,
.asce-member-slider .owl-dots .owl-dot:hover span {
    width: 26px;
    background: var(--asce-orange);
}

.asce-member {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 102, 153, 0.12);
}

.asce-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s ease;
}

.asce-member-meta {
    position: static;
    flex: 1 0 auto;
    padding: 0.95rem 1rem 1.05rem;
    background: #fff;
    color: var(--asce-ink);
}

.asce-member h3 {
    margin: 0 0 0.4rem;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
}

.asce-role {
    display: inline-block;
    margin: 0;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
}

.asce-member-contact {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.7rem;
}

.asce-member-contact span,
.asce-member-contact a {
    color: var(--asce-muted);
    font-size: 0.78rem;
    text-decoration: none;
    word-break: break-word;
}

.asce-member-contact i {
    width: 0.9rem;
    margin-right: 0.25rem;
}

@media (hover: hover) {
    .asce-member:hover img {
        transform: scale(1.04);
    }
}

.asce-section-action {
    margin-top: 2rem;
    text-align: center;
}

.asce-committee .asce-btn-ghost {
    border: 0;
    border-radius: 999px;
    background: var(--asce-blue);
    color: #fff !important;
}

.asce-committee .asce-btn-ghost:hover,
.asce-committee .asce-btn-ghost:focus {
    background: var(--asce-orange);
    color: #fff !important;
}

/* Footer */
.asce-footer {
    background: var(--asce-blue);
    color: rgba(255, 255, 255, 0.82);
    padding: 3.2rem 0 0;
    margin-top: 1rem;
}

.asce-footer .container {
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

.asce-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.asce-footer a:hover {
    color: #fff;
}

.asce-footer-logos {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.asce-footer-logos img {
    height: 58px;
    width: auto;
    background: #fff;
    border-radius: 12px;
    padding: 4px 6px;
}

.asce-footer h2,
.asce-footer h3 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.asce-footer p {
    margin-bottom: 1rem;
    color: var(--asce-orange);
    line-height: 1.6;
}

.asce-social {
    display: flex;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.asce-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.asce-social a:hover {
    background: var(--asce-orange);
    color: #fff;
}

.asce-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.asce-footer-map {
    width: 100%;
    height: 160px;
    border: 0;
    border-radius: 16px;
}

.asce-footer-bar {
    margin-top: 2.2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
    .asce-member-slider {
        padding: 0 22px;
    }
}

@media (max-width: 767.98px) {
    .asce-hero {
        padding: 0.85rem 0 1.15rem;
    }

    .asce-hero-slide > .container {
        padding-top: 1rem;
        padding-bottom: 2.1rem;
    }

    .asce-hero-copy h1 {
        font-size: 1.35rem;
    }

    .asce-hero-copy p {
        margin-bottom: 0.75rem;
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .asce-hero-slide::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.62) 100%);
    }

    .asce-hero .carousel-control-prev,
    .asce-hero .carousel-control-next {
        display: none;
    }

    .asce-member-slider {
        padding: 0 17px;
    }

    .asce-member-slider .owl-nav button.owl-prev,
    .asce-member-slider .owl-nav button.owl-next {
        top: 32%;
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .asce-member-slider .owl-nav button.owl-prev span,
    .asce-member-slider .owl-nav button.owl-next span {
        margin-top: -1px;
        font-size: 1.15rem;
    }

    .asce-stats {
        grid-template-columns: 1fr;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    .asce-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.asce-page {
    padding-top: 2.75rem;
}

.asce-empty {
    margin: 0;
    text-align: center;
    color: var(--asce-muted);
    font-weight: 600;
}

.asce-year-switch {
    display: flex;
    justify-content: center;
    margin: -0.4rem auto 2.2rem;
}

.asce-year-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.asce-year-select {
    width: min(100%, 340px);
    padding: 0.78rem 2.7rem 0.78rem 1.15rem;
    border: 1px solid var(--asce-line) !important;
    border-radius: 999px !important;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23006699' d='M4.2 6.2 8 10l3.8-3.8 1.2 1.2L8 12.4 3 7.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 12px 30px rgba(0, 102, 153, 0.08);
}

.asce-year-select:focus {
    outline: none;
    border-color: var(--asce-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.14);
}

.asce-group-title {
    margin: 2.4rem 0 1.15rem;
    text-align: center;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.asce-group-title:first-of-type {
    margin-top: 0;
}

.asce-roster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.15rem;
}

.asce-roster .asce-member {
    width: calc((100% - 3.45rem) / 4);
}

.asce-portrait {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 16px 40px rgba(0, 102, 153, 0.12);
}

.asce-copy h3 {
    margin: 0 0 0.2rem;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.asce-role-line {
    margin: 0 0 1rem !important;
    color: var(--asce-orange) !important;
    font-weight: 700;
}

.asce-copy p + p {
    margin-top: 1rem;
}

.asce-mission {
    margin-top: 1.5rem;
}

.asce-contact-card {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 102, 153, 0.07);
}

.asce-contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--asce-blue-soft);
    color: var(--asce-blue);
}

.asce-contact-card h3 {
    margin: 0 0 0.3rem;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.asce-contact-card p,
.asce-contact-card a {
    margin: 0;
    color: var(--asce-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.asce-contact-card a:hover {
    color: var(--asce-orange);
}

.asce-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.asce-social-row a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px !important;
    background: var(--asce-blue-soft);
    color: var(--asce-blue) !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.asce-social-row a:hover {
    background: var(--asce-orange);
    color: #fff !important;
}

.asce-form-card h2 {
    margin-bottom: 1.1rem;
}

.asce-form-card .form-group {
    margin-bottom: 0.9rem;
}

.asce-form-card .form-control {
    border-radius: 14px !important;
    border: 1px solid var(--asce-line) !important;
    padding: 0.85rem 1rem;
    color: var(--asce-ink);
    box-shadow: none !important;
}

.asce-form-card .form-control:focus {
    border-color: var(--asce-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.12) !important;
}

.asce-form-card .asce-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px !important;
}

@media (max-width: 1199.98px) {
    .asce-roster .asce-member {
        width: calc((100% - 2.3rem) / 3);
    }
}

@media (max-width: 991.98px) {
    .asce-roster .asce-member {
        width: calc((100% - 1.15rem) / 2);
    }
}

.asce-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.asce-detail-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 102, 153, 0.07);
}

.asce-detail-card {
    animation: asce-card-in 0.45s ease both;
}

.asce-detail-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.7rem 0.7rem 0;
    padding: 1.15rem 1rem;
    border-radius: 16px !important;
    background: #102433;
}

.asce-detail-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 32, 0.2);
    z-index: 1;
}

.asce-detail-blur {
    position: absolute;
    inset: -28px;
    width: calc(100% + 56px) !important;
    height: calc(100% + 56px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.08);
    z-index: 0;
}

.asce-detail-sharp {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 14px !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    display: block;
}

.asce-detail-copy {
    padding: 1.15rem 1.25rem 1.35rem;
}

.asce-detail-date {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--asce-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.asce-detail-card h3 {
    margin: 0 0 0.65rem;
    color: var(--asce-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    text-transform: none;
}

.asce-event-body,
.asce-event-body p,
.asce-event-body div {
    color: var(--asce-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.asce-event-body p,
.asce-event-body div {
    margin: 0;
}

.asce-event-body p + p,
.asce-event-body div + div {
    margin-top: 0.35rem;
}

.asce-event-body img {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    margin: 0 0.15em;
    border-radius: 0;
    object-fit: contain;
    display: inline;
    vertical-align: -0.2em;
}

.asce-event-body a {
    color: var(--asce-blue);
    font-weight: 700;
    text-decoration: none;
}

.asce-event-body a:hover {
    color: var(--asce-orange);
}

.asce-page .asce-btn-ghost {
    border: 0;
    border-radius: 999px !important;
    background: var(--asce-blue);
    color: #fff !important;
}

.asce-page .asce-btn-ghost:hover,
.asce-page .asce-btn-ghost:focus {
    background: var(--asce-orange);
    color: #fff !important;
}

.asce-feed-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.35rem;
    color: var(--asce-blue);
    font-size: 0.9rem;
    font-weight: 700;
}

.asce-feed-status[hidden] {
    display: none;
}

.asce-feed-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid var(--asce-blue-soft);
    border-top-color: var(--asce-orange);
    border-radius: 50%;
    animation: asce-spin 0.7s linear infinite;
}

@keyframes asce-card-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes asce-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767.98px) {
    .asce-page {
        padding-top: 1.6rem;
    }

    .asce-roster .asce-member {
        width: calc((100% - 1.15rem) / 2);
        border-radius: 14px;
    }

    .asce-roster .asce-member img {
        aspect-ratio: 1 / 1;
    }

    .asce-roster .asce-member-meta {
        padding: 0.7rem 0.75rem 0.8rem;
    }

    .asce-roster .asce-member h3 {
        font-size: 0.9rem;
    }

    .asce-roster .asce-role {
        padding: 0.18rem 0.45rem;
        font-size: 0.64rem;
    }

    .asce-roster .asce-member-contact {
        gap: 0.22rem;
        margin-top: 0.5rem;
    }

    .asce-roster .asce-member-contact span,
    .asce-roster .asce-member-contact a {
        font-size: 0.66rem;
    }

    .asce-detail-grid {
        grid-template-columns: 1fr;
    }

}
