/* =========================================================
   UGB OFFICIAL DIGITAL PLATFORM
   Main Homepage Styles
   Palette:
   Blue  #073b78
   Navy  #031f43
   Deep  #02152e
   Red   #c8202f
   Gold  #e5b63f
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --ugb-blue: #073b78;
    --ugb-blue-bright: #0b4d98;
    --ugb-blue-dark: #031f43;
    --ugb-blue-deep: #02152e;

    --ugb-red: #c8202f;
    --ugb-red-dark: #a81624;

    --ugb-gold: #e5b63f;
    --ugb-gold-light: #f2cf6b;

    --white: #ffffff;
    --off-white: #f7f9fc;
    --light-blue: #edf4fb;

    --text: #162033;
    --muted: #667085;

    --border: rgba(3, 31, 67, 0.12);

    --shadow-sm:
        0 12px 35px rgba(3, 31, 67, 0.09);

    --shadow-md:
        0 22px 60px rgba(3, 31, 67, 0.16);

    --shadow-lg:
        0 35px 90px rgba(0, 0, 0, 0.22);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1200px;
    --header-height: 86px;

    --transition: 220ms ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.65;
}

img,
video {
    display: block;
    max-width: 100%;
}

img {
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

::selection {
    color: var(--ugb-blue-deep);
    background: var(--ugb-gold);
}


/* =========================================================
   TOP ACCENT
========================================================= */

.top-accent {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    display: grid;
    grid-template-columns: 1fr 1fr 0.35fr;
}

.top-accent span {
    display: block;
}

.accent-blue {
    background: var(--ugb-blue);
}

.accent-red {
    background: var(--ugb-red);
}

.accent-gold {
    background: var(--ugb-gold);
}


/* =========================================================
   SHARED
========================================================= */

.section {
    position: relative;
    padding: 105px 0;
}

.section-container {
    width: min(calc(100% - 44px), var(--container));
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.story-header h2,
.action-heading h2,
.about-content h2,
.partnership-content h2,
.advocacy-content h2,
.membership-copy h2 {
    margin-bottom: 18px;

    color: var(--ugb-blue-dark);

    font-size: clamp(2.25rem, 5vw, 4.25rem);
    letter-spacing: -0.045em;
}

.section-heading p:not(.section-kicker) {
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading-light p:not(.section-kicker) {
    color: rgba(255, 255, 255, 0.72);
}

.section-kicker {
    margin-bottom: 11px;

    color: var(--ugb-red);

    font-size: 0.75rem;
    font-weight: 850;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-kicker-gold {
    color: var(--ugb-gold);
}

.title-line {
    width: 78px;
    height: 4px;

    margin: 22px 0 27px;

    border-radius: 99px;

    background:
        linear-gradient(90deg,
            var(--ugb-blue) 0 48%,
            var(--ugb-red) 48% 78%,
            var(--ugb-gold) 78%);
}

.centered-line {
    margin-right: auto;
    margin-left: auto;
}

.gold-line {
    background: var(--ugb-gold);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 800;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-red {
    color: var(--white);
    background: var(--ugb-red);

    box-shadow:
        0 14px 35px rgba(200, 32, 47, 0.32);
}

.button-red:hover {
    background: var(--ugb-red-dark);

    box-shadow:
        0 18px 45px rgba(200, 32, 47, 0.4);
}

.button-glass {
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.42);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);
}

.button-glass:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: absolute;
    z-index: 1000;

    top: 5px;
    right: 0;
    left: 0;

    height: var(--header-height);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);

    background:
        linear-gradient(180deg,
            rgba(2, 21, 46, 0.9),
            rgba(2, 21, 46, 0.48));

    backdrop-filter: blur(8px);
}

.header-container {
    width: min(calc(100% - 44px), 1320px);
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--white);
}

.brand-logo {
    width: 56px;
    height: 56px;

    flex: 0 0 auto;

    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 7px 25px rgba(0, 0, 0, 0.22);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.22rem;
    letter-spacing: 0.05em;
}

.brand-text span {
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.68rem;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 24px;
}

.main-nav>a {
    position: relative;

    color: rgba(255, 255, 255, 0.86);

    font-size: 0.82rem;
    font-weight: 700;

    transition: color var(--transition);
}

.main-nav>a:not(.nav-facebook)::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -9px;
    left: 0;

    height: 2px;

    background: var(--ugb-gold);

    transform: scaleX(0);

    transition: transform var(--transition);
}

.main-nav>a:not(.nav-facebook):hover::after {
    transform: scaleX(1);
}

.main-nav>a:hover {
    color: var(--white);
}

.nav-facebook {
    padding: 10px 17px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
}

.nav-facebook:hover {
    border-color: var(--ugb-gold);
    background: var(--ugb-blue);
}


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

.hero {
    position: relative;

    min-height: 760px;
    height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
    background: var(--ugb-blue-deep);
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background:
        linear-gradient(90deg,
            rgba(2, 21, 46, 0.97) 0%,
            rgba(3, 31, 67, 0.91) 30%,
            rgba(3, 31, 67, 0.64) 57%,
            rgba(2, 21, 46, 0.26) 100%),
        linear-gradient(0deg,
            rgba(2, 21, 46, 0.78) 0%,
            transparent 45%);
}

.hero-decoration {
    position: absolute;
    z-index: 1;

    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration-one {
    width: 520px;
    height: 520px;

    top: -230px;
    left: -200px;

    border: 85px solid rgba(200, 32, 47, 0.13);
}

.hero-decoration-two {
    width: 300px;
    height: 300px;

    right: 7%;
    bottom: -170px;

    border: 55px solid rgba(229, 182, 63, 0.11);
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 44px), var(--container));

    margin: 0 auto;
    padding: 145px 0 125px;
}

.hero-content {
    max-width: 760px;
}

.hero-logo {
    width: 105px;
    height: 105px;

    margin-bottom: 26px;

    border: 4px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.32);
}

.hero-eyebrow {
    margin-bottom: 15px;

    color: var(--ugb-gold);

    font-size: 0.77rem;
    font-weight: 850;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 24px;

    color: var(--white);

    font-size: clamp(3.6rem, 7.3vw, 7.4rem);

    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1.5px rgba(255, 255, 255, 0.82);
}

.hero-description {
    max-width: 650px;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.79);

    font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.hero-bottom-band {
    position: absolute;
    z-index: 3;

    right: 0;
    bottom: 0;
    left: 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

    background: rgba(2, 21, 46, 0.82);

    backdrop-filter: blur(12px);
}

.hero-band-container {
    width: min(calc(100% - 44px), var(--container));

    margin: 0 auto;
    padding: 18px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 0.7rem;
    font-weight: 750;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-band-container span:nth-child(even) {
    color: var(--ugb-gold);
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
    position: relative;
    z-index: 5;

    margin-top: -1px;

    background: var(--white);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.quick-card {
    min-height: 145px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 16px;

    padding: 25px;

    border-right: 1px solid var(--border);

    background: var(--white);

    transition:
        background var(--transition),
        transform var(--transition);
}

.quick-card:last-child {
    border-right: 0;
}

.quick-card:hover {
    position: relative;
    z-index: 2;

    color: var(--white);

    background: var(--ugb-blue);

    transform: translateY(-5px);
}

.quick-number {
    color: var(--ugb-red);

    font-size: 0.72rem;
    font-weight: 900;
}

.quick-card:hover .quick-number {
    color: var(--ugb-gold);
}

.quick-card>div {
    display: flex;
    flex-direction: column;
}

.quick-card strong {
    margin-bottom: 5px;

    color: var(--ugb-blue-dark);

    font-size: 0.95rem;
}

.quick-card:hover strong {
    color: var(--white);
}

.quick-card>div span {
    color: var(--muted);

    font-size: 0.73rem;
}

.quick-card:hover>div span {
    color: rgba(255, 255, 255, 0.7);
}

.quick-arrow {
    color: var(--ugb-blue);

    font-size: 1.2rem;

    transition: transform var(--transition);
}

.quick-card:hover .quick-arrow {
    color: var(--white);

    transform: translateX(4px);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    overflow: hidden;

    background:
        linear-gradient(135deg,
            var(--white),
            var(--off-white));
}

.about-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;

    gap: 85px;
}

.about-images {
    position: relative;

    min-height: 560px;
}

.about-image-main {
    position: absolute;

    top: 0;
    left: 0;

    width: 80%;
    height: 460px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.about-image-main img {
    width: 100%;
    height: 100%;
}

.about-image-small {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 53%;
    height: 275px;

    overflow: hidden;

    border: 8px solid var(--white);
    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.about-image-small img {
    width: 100%;
    height: 100%;
}

.about-badge {
    position: absolute;

    bottom: 62px;
    left: 7%;

    width: 92px;
    height: 92px;

    padding: 6px;

    border-radius: 50%;

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.about-badge img {
    width: 100%;
    height: 100%;

    border-radius: 50%;
}

.about-content h2 span {
    display: block;

    color: var(--ugb-red);
}

.about-content .lead {
    color: var(--text);

    font-size: 1.15rem;
    font-weight: 650;
}

.about-content p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 16px;

    color: var(--ugb-blue);

    font-weight: 850;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   FEATURED ACTIVITIES
========================================================= */

.activities-section {
    background:
        linear-gradient(180deg,
            var(--light-blue),
            var(--white));
}

.activity-feature-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;

    gap: 22px;
}

.activity-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.activity-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.activity-image {
    position: relative;

    height: 250px;

    overflow: hidden;

    background: var(--ugb-blue-dark);
}

.activity-card-large .activity-image {
    height: 335px;
}

.activity-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(0deg,
            rgba(2, 21, 46, 0.55),
            transparent 52%);
}

.activity-image img {
    width: 100%;
    height: 100%;

    transition: transform 450ms ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.035);
}

.activity-category {
    position: absolute;
    z-index: 2;

    bottom: 18px;
    left: 18px;

    padding: 7px 12px;

    border-radius: 999px;

    color: var(--white);

    background: var(--ugb-red);

    font-size: 0.67rem;
    font-weight: 850;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.activity-content {
    padding: 27px;
}

.activity-content h3 {
    margin-bottom: 11px;

    color: var(--ugb-blue-dark);

    font-size: 1.35rem;
}

.activity-card-large .activity-content h3 {
    font-size: 1.65rem;
}

.activity-content p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 0.9rem;
}

.activity-content a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--ugb-blue);

    font-size: 0.83rem;
    font-weight: 850;
}

.activity-content a span {
    transition: transform var(--transition);
}

.activity-content a:hover span {
    transform: translateX(5px);
}


/* =========================================================
   UGB IN ACTION
========================================================= */

.action-section {
    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(circle at 88% 15%,
            rgba(229, 182, 63, 0.13),
            transparent 25%),
        radial-gradient(circle at 8% 80%,
            rgba(200, 32, 47, 0.18),
            transparent 28%),
        linear-gradient(135deg,
            var(--ugb-blue-deep),
            var(--ugb-blue-dark));
}

.action-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.08;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px);

    background-size: 75px 75px;

    pointer-events: none;
}

.action-section .section-container {
    position: relative;
    z-index: 1;
}

.action-heading {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: end;

    gap: 50px;

    margin-bottom: 42px;
}

.action-heading h2 {
    margin-bottom: 0;

    color: var(--white);
}

.action-heading>p {
    margin-bottom: 6px;

    color: rgba(255, 255, 255, 0.66);
}

.featured-video {
    overflow: hidden;

    padding: 9px;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: var(--radius-lg);

    background:
        rgba(255, 255, 255, 0.07);

    box-shadow: var(--shadow-lg);
}

.featured-video video {
    width: 100%;
    max-height: 680px;

    border-radius: calc(var(--radius-lg) - 8px);

    background: #000;
}


/* =========================================================
   PHOTO STORY
========================================================= */

.photo-story-section {
    background: var(--white);
}

.story-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: end;

    gap: 50px;

    margin-bottom: 45px;
}

.story-header h2 {
    margin-bottom: 0;
}

.story-header>p {
    margin-bottom: 8px;

    color: var(--muted);
}

.photo-story-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;

    gap: 18px;
}

.story-photo {
    min-height: 270px;

    margin: 0;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--light-blue);

    box-shadow: var(--shadow-sm);
}

.story-photo-large {
    grid-row: span 2;

    min-height: 558px;
}

.story-photo img {
    width: 100%;
    height: 100%;

    transition: transform 500ms ease;
}

.story-photo:hover img {
    transform: scale(1.025);
}


/* =========================================================
   PARTNERSHIP
========================================================= */

.partnership-section {
    min-height: 680px;

    display: grid;
    grid-template-columns: 1.08fr 0.92fr;

    color: var(--white);

    background: var(--ugb-blue);
}

.partnership-image {
    min-height: 680px;

    overflow: hidden;
}

.partnership-image img {
    width: 100%;
    height: 100%;
}

.partnership-content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px max(50px, calc((100vw - var(--container)) / 2));

    overflow: hidden;

    background:
        radial-gradient(circle at 100% 0%,
            rgba(229, 182, 63, 0.18),
            transparent 30%),
        linear-gradient(145deg,
            var(--ugb-blue),
            var(--ugb-blue-dark));
}

.partnership-content::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -190px;
    bottom: -180px;

    border:
        60px solid rgba(200, 32, 47, 0.18);

    border-radius: 50%;
}

.partnership-content h2 {
    position: relative;

    color: var(--white);
}

.partnership-content>p:not(.section-kicker) {
    position: relative;

    max-width: 550px;

    color: rgba(255, 255, 255, 0.75);
}

.partnership-mini-image {
    position: relative;

    width: min(100%, 390px);
    height: 180px;

    margin-top: 28px;

    overflow: hidden;

    border:
        4px solid rgba(255, 255, 255, 0.16);

    border-radius: var(--radius-sm);

    box-shadow: var(--shadow-md);
}

.partnership-mini-image img {
    width: 100%;
    height: 100%;
}


/* =========================================================
   DOCUMENTED ADVOCACY MATERIAL
========================================================= */

.advocacy-section {
    background:
        linear-gradient(135deg,
            var(--off-white),
            var(--white));
}

.advocacy-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;

    gap: 70px;
}

.advocacy-content p:not(.section-kicker) {
    color: var(--muted);
}

.source-note {
    padding: 16px 18px;

    border-left: 4px solid var(--ugb-gold);

    background: var(--light-blue);

    font-size: 0.86rem;
}

.advocacy-image {
    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--ugb-blue-dark);

    box-shadow: var(--shadow-md);
}

.advocacy-image img {
    width: 100%;
    max-height: 570px;

    object-fit: cover;
}


/* =========================================================
   MEDIA CENTER
========================================================= */

.media-section {
    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(circle at 12% 20%,
            rgba(200, 32, 47, 0.25),
            transparent 28%),
        radial-gradient(circle at 90% 80%,
            rgba(229, 182, 63, 0.13),
            transparent 24%),
        linear-gradient(135deg,
            var(--ugb-blue-deep),
            var(--ugb-blue));
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.media-card {
    min-height: 310px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.065);

    backdrop-filter: blur(10px);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.media-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 255, 255, 0.3);

    background:
        rgba(255, 255, 255, 0.11);
}

.media-symbol {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--ugb-blue-deep);

    background: var(--ugb-gold);

    font-size: 1.3rem;
    font-weight: 900;
}

.media-label {
    color: var(--ugb-gold);

    font-size: 0.68rem;
    font-weight: 850;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.media-card h3 {
    margin: 7px 0 8px;

    color: var(--white);

    font-size: 1.55rem;
}

.media-card p {
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.88rem;
}

.media-facebook .media-symbol {
    color: var(--white);
    background: var(--ugb-blue-bright);
}


/* =========================================================
   MEMBERSHIP
========================================================= */

.membership-section {
    background:
        linear-gradient(180deg,
            var(--white),
            var(--light-blue));
}

.membership-panel {
    position: relative;

    display: grid;
    grid-template-columns: 0.25fr 0.8fr 1fr;
    align-items: center;

    gap: 45px;

    padding: 55px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    color: var(--white);

    background:
        radial-gradient(circle at 95% 15%,
            rgba(229, 182, 63, 0.15),
            transparent 25%),
        linear-gradient(135deg,
            var(--ugb-blue),
            var(--ugb-blue-deep));

    box-shadow: var(--shadow-md);
}

.membership-panel::after {
    content: "";

    position: absolute;

    right: -130px;
    bottom: -220px;

    width: 380px;
    height: 380px;

    border:
        70px solid rgba(200, 32, 47, 0.18);

    border-radius: 50%;

    pointer-events: none;
}

.membership-brand {
    position: relative;
    z-index: 1;
}

.membership-brand img {
    width: 125px;
    height: 125px;

    border:
        4px solid rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}

.membership-copy {
    position: relative;
    z-index: 1;
}

.membership-copy h2 {
    color: var(--white);

    font-size: clamp(2rem, 4vw, 3.4rem);
}

.membership-copy p:not(.section-kicker) {
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.7);
}

.membership-options {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.membership-option {
    min-height: 205px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px;

    border:
        1px solid rgba(255, 255, 255, 0.16);

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.09);

    transition:
        transform var(--transition),
        background var(--transition);
}

a.membership-option:hover {
    transform: translateY(-5px);

    background:
        rgba(255, 255, 255, 0.15);
}

.membership-option>span {
    color: var(--ugb-gold);

    font-size: 0.68rem;
    font-weight: 850;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.membership-option strong {
    color: var(--white);

    font-size: 1.18rem;
}

.membership-option small {
    color: rgba(255, 255, 255, 0.65);
}

.membership-disabled {
    opacity: 0.65;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    padding: 80px 0 30px;

    color: rgba(255, 255, 255, 0.68);

    background: #010d1e;
}

.footer-accent {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(90deg,
            var(--ugb-blue) 0 43%,
            var(--ugb-red) 43% 82%,
            var(--ugb-gold) 82%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer-main {
    max-width: 360px;
}

.footer-logo-row {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}

.footer-logo-row img {
    width: 62px;
    height: 62px;

    border:
        2px solid rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    background: var(--white);
}

.footer-logo-row>div {
    display: flex;
    flex-direction: column;
}

.footer-logo-row strong {
    color: var(--white);

    font-size: 1.45rem;
}

.footer-logo-row span {
    font-size: 0.68rem;
}

.footer-main p {
    font-size: 0.86rem;
}

.footer-grid h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: 0.87rem;
}

.footer-grid a,
.footer-grid>div>span {
    display: block;

    margin-bottom: 11px;

    font-size: 0.82rem;
}

.footer-grid a {
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-grid a:hover {
    color: var(--ugb-gold);

    transform: translateX(3px);
}

.footer-muted {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.76rem;
}


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

@media (max-width: 1050px) {

    :root {
        --header-height: 78px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav>a {
        font-size: 0.75rem;
    }

    .brand-text span {
        display: none;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .about-layout {
        gap: 55px;
    }

    .activity-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-card-large {
        grid-column: 1 / -1;
    }

    .activity-card-large .activity-image {
        height: 420px;
    }

    .membership-panel {
        grid-template-columns: auto 1fr;
    }

    .membership-options {
        grid-column: 1 / -1;
    }

}


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

@media (max-width: 850px) {

    .site-header {
        position: relative;

        top: 5px;

        height: auto;

        background: var(--ugb-blue-deep);
    }

    .header-container {
        min-height: 84px;

        flex-direction: column;
        align-items: flex-start;

        padding: 14px 0 18px;
    }

    .main-nav {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 3px;
    }

    .main-nav>a {
        flex: 0 0 auto;
    }

    .hero {
        height: auto;
        min-height: 760px;
    }

    .hero-container {
        padding-top: 105px;
    }

    .about-layout,
    .advocacy-layout {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 680px;
    }

    .action-heading,
    .story-header {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .partnership-section {
        grid-template-columns: 1fr;
    }

    .partnership-image {
        min-height: 500px;
    }

    .partnership-content {
        padding: 75px 40px;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-card {
        min-height: 230px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


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

@media (max-width: 650px) {

    .section {
        padding: 76px 0;
    }

    .section-container,
    .header-container,
    .hero-container,
    .hero-band-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .main-nav {
        gap: 17px;
    }

    .nav-facebook {
        padding: 7px 12px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-container {
        padding: 85px 0 120px;
    }

    .hero-logo {
        width: 82px;
        height: 82px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 16vw, 5rem);
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-band-container {
        justify-content: flex-start;

        gap: 8px 11px;

        font-size: 0.6rem;
    }

    .quick-grid {
        grid-template-columns: 1fr;

        border-right: 0;
        border-left: 0;
    }

    .quick-card,
    .quick-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .quick-card:last-child {
        border-bottom: 0;
    }

    .about-images {
        min-height: 440px;
    }

    .about-image-main {
        width: 92%;
        height: 340px;
    }

    .about-image-small {
        width: 60%;
        height: 205px;
    }

    .about-badge {
        bottom: 30px;

        width: 72px;
        height: 72px;
    }

    .activity-feature-grid {
        grid-template-columns: 1fr;
    }

    .activity-card-large {
        grid-column: auto;
    }

    .activity-card-large .activity-image,
    .activity-image {
        height: 260px;
    }

    .featured-video {
        padding: 5px;

        border-radius: var(--radius-md);
    }

    .featured-video video {
        border-radius:
            calc(var(--radius-md) - 5px);
    }

    .photo-story-grid {
        grid-template-columns: 1fr;
    }

    .story-photo,
    .story-photo-large {
        grid-row: auto;

        min-height: 260px;
    }

    .partnership-image {
        min-height: 360px;
    }

    .partnership-content {
        padding: 65px 24px;
    }

    .advocacy-layout {
        gap: 40px;
    }

    .membership-panel {
        grid-template-columns: 1fr;

        padding: 34px 25px;
    }

    .membership-brand img {
        width: 95px;
        height: 95px;
    }

    .membership-options {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .membership-option {
        min-height: 180px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid var(--ugb-gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* =========================================================
   MOBILE NAVIGATION BUTTON
========================================================= */

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;

    padding: 11px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.08);

    cursor: pointer;
}

.nav-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 99px;

    background: #ffffff;

    transition:
        transform 220ms ease,
        opacity 220ms ease;
}


/* Hamburger becomes X when open */

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


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

@media (max-width: 850px) {

    .header-container {
        position: relative;

        min-height: 76px;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        padding: 10px 0;
    }

    .nav-toggle {
        display: block;

        position: relative;
        z-index: 1002;

        flex: 0 0 auto;
    }

    .main-nav {
        position: absolute;
        z-index: 1001;

        top: calc(100% + 1px);
        right: 0;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        overflow: visible;

        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0 0 18px 18px;

        background: #02152e;

        box-shadow:
            0 24px 50px rgba(0, 0, 0, 0.32);
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav>a {
        width: 100%;

        padding: 14px 15px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        color: rgba(255, 255, 255, 0.88);

        font-size: 0.84rem;
    }

    .main-nav>a:not(.nav-facebook)::after {
        display: none;
    }

    .main-nav>a:hover {
        color: #ffffff;

        background:
            rgba(255, 255, 255, 0.06);
    }

    .main-nav .nav-facebook {
        width: 100%;

        margin-top: 8px;

        padding: 13px 15px;

        border: 0;
        border-radius: 10px;

        color: #ffffff;

        background: #073b78;

        text-align: center;
    }

}


/* Desktop must always show normal navigation */

@media (min-width: 851px) {

    .main-nav {
        display: flex !important;
    }

}

/* =========================================================
   ABOUT PAGE
========================================================= */

/* ---------------------------------------------------------
   ABOUT HERO
--------------------------------------------------------- */

.about-page-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ugb-blue-deep);
}

.about-page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(2, 21, 46, 0.97) 0%,
            rgba(3, 31, 67, 0.92) 42%,
            rgba(7, 59, 120, 0.68) 70%,
            rgba(2, 21, 46, 0.48) 100%);
}

.about-page-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 70px;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 100px;
}

.about-page-hero-copy {
    max-width: 760px;
    color: var(--white);
}

.about-page-hero-copy h1 {
    margin: 14px 0 22px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
    color: var(--white);
}

.about-page-hero-copy h1 span {
    display: block;
    color: var(--ugb-red);
}

.about-page-hero-copy>p:not(.section-kicker) {
    max-width: 680px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.about-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}


/* THE FORMER MEGA EAGLE 😂 */

.about-page-emblem {
    width: min(320px, 100%);
    aspect-ratio: 1 / 1;
    justify-self: end;
    padding: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 6px solid rgba(229, 182, 63, 0.85);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.about-page-emblem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* ---------------------------------------------------------
   ORGANIZATIONAL OVERVIEW
--------------------------------------------------------- */

.about-page-overview {
    background: var(--white);
}

.about-page-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: start;
}

.about-page-overview-heading h2 {
    margin: 12px 0 22px;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.03;
    color: var(--ugb-blue-dark);
}

.about-page-overview-heading h2 span {
    color: var(--ugb-red);
}

.about-page-overview-copy {
    padding-top: 34px;
}

.about-page-overview-copy p {
    color: var(--muted);
    line-height: 1.85;
}

.about-page-overview-copy .lead {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}


/* ---------------------------------------------------------
   INFORMATION CARDS
--------------------------------------------------------- */

.about-info-section {
    background: var(--off-white);
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.about-info-card {
    position: relative;
    min-width: 0;
    min-height: 300px;
    padding: 32px 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 12px 35px rgba(3, 31, 67, 0.07);
    overflow: hidden;
}

.about-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--ugb-blue),
            var(--ugb-red),
            var(--ugb-gold));
}

.about-info-number {
    display: inline-block;
    margin-bottom: 34px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ugb-red);
}

.about-info-card h3 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--ugb-blue-dark);
}

.about-info-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}

.about-info-status,
.about-info-arrow {
    display: block;
    margin-top: 24px;
    font-size: 0.78rem;
    font-weight: 800;
}

.about-info-status {
    color: var(--muted);
}

.about-info-arrow {
    color: var(--ugb-blue);
}

.about-info-link {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-info-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(3, 31, 67, 0.13);
}


/* ---------------------------------------------------------
   COMMUNITY ACTIVITIES
--------------------------------------------------------- */

.about-community-section {
    background: var(--white);
}

.about-community-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 42px;
}

.about-community-feature {
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(3, 31, 67, 0.08);
}

.about-community-image {
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: var(--light);
}

.about-community-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-community-copy {
    padding: 28px 30px 32px;
}

.about-community-copy>span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ugb-red);
}

.about-community-copy h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    color: var(--ugb-blue-dark);
}

.about-community-copy p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
}


/* ---------------------------------------------------------
   PARTNERSHIP FEATURE
--------------------------------------------------------- */

.about-partnership-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 600px;
    background: var(--ugb-blue-dark);
    overflow: hidden;
}

.about-partnership-photo {
    min-width: 0;
    height: 600px;
    overflow: hidden;
}

.about-partnership-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-partnership-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px clamp(40px, 6vw, 100px);
    color: var(--white);
}

.about-partnership-copy h2 {
    margin: 12px 0 20px;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1;
    color: var(--white);
}

.about-partnership-copy h2 span {
    display: block;
    color: var(--ugb-gold);
}

.about-partnership-copy>p:not(.section-kicker) {
    max-width: 620px;
    margin: 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.about-partnership-small {
    width: min(330px, 100%);
    height: 190px;
    margin-top: 34px;
    overflow: hidden;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.12);
}

.about-partnership-small img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* ---------------------------------------------------------
   EXPLORE MORE
--------------------------------------------------------- */

.about-explore-section {
    background: var(--off-white);
}

.about-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 45px;
}

.about-explore-card {
    min-width: 0;
    min-height: 265px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 10px 30px rgba(3, 31, 67, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(3, 31, 67, 0.12);
}

.about-explore-card>span {
    margin-bottom: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ugb-red);
}

.about-explore-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--ugb-blue-dark);
}

.about-explore-card p {
    margin: 0 0 25px;
    line-height: 1.65;
    color: var(--muted);
}

.about-explore-card strong {
    margin-top: auto;
    color: var(--ugb-blue);
}


/* =========================================================
   ABOUT PAGE — RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .about-page-hero-inner {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 40px;
    }

    .about-page-emblem {
        width: 240px;
    }

    .about-info-grid,
    .about-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .about-page-hero {
        min-height: auto;
    }

    .about-page-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 135px;
        padding-bottom: 70px;
    }

    .about-page-emblem {
        width: 190px;
        justify-self: start;
    }

    .about-page-overview-grid,
    .about-community-grid,
    .about-partnership-section {
        grid-template-columns: 1fr;
    }

    .about-page-overview-grid {
        gap: 30px;
    }

    .about-page-overview-copy {
        padding-top: 0;
    }

    .about-partnership-photo {
        height: 420px;
    }

    .about-partnership-section {
        min-height: 0;
    }

}


@media (max-width: 560px) {

    .about-page-hero-copy h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .about-page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-page-hero-actions .button {
        text-align: center;
    }

    .about-page-emblem {
        width: 150px;
        padding: 12px;
        border-width: 4px;
    }

    .about-info-grid,
    .about-explore-grid {
        grid-template-columns: 1fr;
    }

    .about-community-image {
        height: 250px;
    }

    .about-partnership-photo {
        height: 320px;
    }

    .about-partnership-copy {
        padding: 50px 24px;
    }

}

/* =========================================================
   UGB MEMBER PORTAL — LOGIN
========================================================= */

.portal-page {
    min-height: 100vh;
    margin: 0;
    background: var(--off-white);
    color: var(--text);
}


/* =========================================================
   LOGIN LAYOUT
========================================================= */

.portal-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}


/* =========================================================
   LEFT BRAND PANEL
========================================================= */

.portal-login-brand {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 40px clamp(40px, 6vw, 90px) 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%,
            rgba(229, 182, 63, 0.14),
            transparent 25%),
        radial-gradient(circle at 90% 85%,
            rgba(200, 32, 47, 0.18),
            transparent 30%),
        linear-gradient(145deg,
            var(--ugb-blue-deep),
            var(--ugb-blue-dark) 55%,
            #073b78);
    color: var(--white);
}

.portal-login-brand::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -220px;
    bottom: -190px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, 0.035);
}

.portal-login-brand::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -140px;
    top: 18%;
    border-radius: 50%;
    border: 45px solid rgba(229, 182, 63, 0.04);
}

.portal-back {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.portal-back:hover {
    color: var(--white);
}


.portal-brand-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    margin: auto 0;
}


/* IMPORTANT — CAPTURE MEGA EAGLE */

.portal-logo {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 0 30px;
    padding: 10px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    border: 5px solid rgba(229, 182, 63, 0.9);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}


.portal-brand-content h1 {
    margin: 12px 0 22px;
    font-size: clamp(3.2rem, 6vw, 5.7rem);
    line-height: 0.93;
    letter-spacing: -0.055em;
    color: var(--white);
}

.portal-brand-content h1 span {
    display: block;
    color: var(--ugb-gold);
}

.portal-brand-content>p:not(.section-kicker) {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   PORTAL FEATURES
========================================================= */

.portal-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.portal-feature-list>div {
    min-width: 0;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
}

.portal-feature-list strong {
    display: block;
    margin-bottom: 7px;
    font-size: 0.82rem;
    color: var(--white);
}

.portal-feature-list span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
}


/* =========================================================
   RIGHT LOGIN PANEL
========================================================= */

.portal-login-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px clamp(30px, 5vw, 80px);
    background:
        linear-gradient(135deg,
            #f8fafc,
            #eef3f8);
}

.portal-login-box {
    width: 100%;
    max-width: 520px;
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 25px 70px rgba(3, 31, 67, 0.12);
}


/* =========================================================
   SMALL PORTAL BRAND
========================================================= */

.portal-login-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 38px;
}

.portal-login-heading img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--ugb-gold);
}

.portal-login-heading div {
    display: flex;
    flex-direction: column;
}

.portal-login-heading span {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ugb-red);
}

.portal-login-heading strong {
    margin-top: 3px;
    color: var(--ugb-blue-dark);
    font-size: 1rem;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.portal-status {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 7px 11px;
    border-radius: 100px;
    background: rgba(229, 182, 63, 0.15);
    color: #886200;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.portal-login-box h2 {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
    color: var(--ugb-blue-dark);
}

.portal-intro {
    margin: 0 0 32px;
    line-height: 1.7;
    color: var(--muted);
}


/* =========================================================
   PREVIEW FORM
========================================================= */

.preview-form {
    display: grid;
    gap: 19px;
}

.preview-field {
    display: grid;
    gap: 8px;
}

.preview-field label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ugb-blue-dark);
}

.preview-field input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d5dde8;
    border-radius: 9px;
    background: #f7f9fc;
    color: var(--text);
    font: inherit;
    box-sizing: border-box;
}

.preview-field input::placeholder {
    color: #98a2b1;
}

.preview-field input:disabled {
    opacity: 1;
    cursor: not-allowed;
}


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

.portal-login-button {
    width: 100%;
    min-height: 52px;
    margin-top: 3px;
    border: 0;
    border-radius: 9px;
    background: var(--ugb-blue);
    color: var(--white);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
}

.portal-login-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


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

.portal-notice {
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 4px solid var(--ugb-gold);
    border-radius: 0 8px 8px 0;
    background: #fff9e9;
}

.portal-notice strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ugb-blue-dark);
    font-size: 0.85rem;
}

.portal-notice p {
    margin: 0;
    color: #626b79;
    font-size: 0.8rem;
    line-height: 1.6;
}


/* =========================================================
   DASHBOARD PREVIEW
========================================================= */

.dashboard-preview-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 18px;
    padding: 10px 18px;
    border: 1px solid rgba(7, 59, 120, 0.2);
    border-radius: 9px;
    color: var(--ugb-blue);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 800;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-preview-link:hover {
    background: var(--ugb-blue);
    border-color: var(--ugb-blue);
    color: var(--white);
}


/* =========================================================
   HELP
========================================================= */

.portal-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--muted);
}

.portal-help a {
    color: var(--ugb-blue);
    font-weight: 800;
    text-decoration: none;
}

.portal-help a:hover {
    text-decoration: underline;
}


/* =========================================================
   MEMBER PORTAL RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .portal-login {
        grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    }

    .portal-feature-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 820px) {

    .portal-login {
        grid-template-columns: 1fr;
    }

    .portal-login-brand {
        min-height: auto;
        padding: 32px 28px 55px;
    }

    .portal-brand-content {
        margin-top: 65px;
    }

    .portal-logo {
        width: 115px;
        height: 115px;
    }

    .portal-brand-content h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .portal-feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-login-panel {
        padding: 50px 24px;
    }

}


@media (max-width: 560px) {

    .portal-login-brand {
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-brand-content {
        margin-top: 50px;
    }

    .portal-logo {
        width: 95px;
        height: 95px;
    }

    .portal-brand-content h1 {
        font-size: 3.2rem;
    }

    .portal-feature-list {
        grid-template-columns: 1fr;
    }

    .portal-login-panel {
        padding: 35px 16px;
    }

    .portal-login-box {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .portal-login-heading {
        margin-bottom: 30px;
    }

}

/* =========================================================
   UGB MEMBER DASHBOARD
========================================================= */

.member-dashboard-page {
    margin: 0;
    min-height: 100vh;
    background: #f3f6fa;
    color: var(--text);
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
}


/* =========================================================
   SIDEBAR
========================================================= */

.dashboard-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 30px 22px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 10% 10%,
            rgba(229, 182, 63, 0.12),
            transparent 22%),
        linear-gradient(180deg,
            var(--ugb-blue-deep),
            var(--ugb-blue-dark));
    color: var(--white);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--white);
}

.dashboard-brand img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: block;
    padding: 4px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--ugb-gold);
}

.dashboard-brand div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-brand strong {
    font-size: 1.25rem;
    line-height: 1;
}

.dashboard-brand span {
    margin-top: 4px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   PREVIEW BADGE
========================================================= */

.dashboard-preview-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 28px;
    padding: 7px 10px;
    border: 1px solid rgba(229, 182, 63, 0.28);
    border-radius: 100px;
    background: rgba(229, 182, 63, 0.1);
    color: var(--ugb-gold);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.dashboard-nav {
    display: grid;
    gap: 6px;
    margin-top: 32px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.dashboard-nav a span {
    width: 24px;
    font-size: 0.61rem;
    font-weight: 900;
    color: var(--ugb-gold);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
}

.dashboard-nav a.active {
    box-shadow: inset 3px 0 0 var(--ugb-red);
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.dashboard-sidebar-bottom {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding-top: 30px;
}

.dashboard-sidebar-bottom a {
    display: block;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
}

.dashboard-sidebar-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   MAIN DASHBOARD
========================================================= */

.dashboard-main {
    min-width: 0;
    padding: 0 clamp(28px, 4vw, 65px) 40px;
}


/* =========================================================
   TOP BAR
========================================================= */

.dashboard-topbar {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--border);
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ugb-red);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.dashboard-topbar h1 {
    margin: 0;
    color: var(--ugb-blue-dark);
    font-size: 1.8rem;
}

.dashboard-account {
    display: flex;
    align-items: center;
    gap: 11px;
}

.dashboard-avatar {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ugb-blue);
    color: var(--white);
    font-size: 0.67rem;
    font-weight: 900;
}

.dashboard-account>div:last-child {
    display: flex;
    flex-direction: column;
}

.dashboard-account strong {
    color: var(--ugb-blue-dark);
    font-size: 0.78rem;
}

.dashboard-account span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
}


/* =========================================================
   PREVIEW NOTICE
========================================================= */

.dashboard-demo-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 15px 18px;
    border: 1px solid rgba(229, 182, 63, 0.35);
    border-radius: 9px;
    background: #fff9e8;
}

.dashboard-demo-notice strong {
    flex: 0 0 auto;
    color: var(--ugb-blue-dark);
    font-size: 0.78rem;
}

.dashboard-demo-notice span {
    color: #626b79;
    font-size: 0.75rem;
    line-height: 1.5;
}


/* =========================================================
   WELCOME
========================================================= */

.dashboard-welcome {
    position: relative;
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 40px;
    margin-top: 28px;
    padding: 48px 55px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 85% 20%,
            rgba(229, 182, 63, 0.16),
            transparent 25%),
        linear-gradient(135deg,
            var(--ugb-blue-dark),
            var(--ugb-blue));
    color: var(--white);
}

.dashboard-welcome::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.035);
}

.dashboard-welcome>div,
.dashboard-welcome>img {
    position: relative;
    z-index: 1;
}

.dashboard-welcome h2 {
    margin: 10px 0 15px;
    color: var(--white);
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 0.98;
}

.dashboard-welcome h2 span {
    display: block;
    color: var(--ugb-gold);
}

.dashboard-welcome p:not(.section-kicker) {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.73);
    line-height: 1.7;
}


/* MEGA EAGLE PREVENTION ACT */

.dashboard-welcome>img {
    width: 170px;
    height: 170px;
    justify-self: end;
    display: block;
    padding: 12px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--ugb-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   GENERAL DASHBOARD SECTIONS
========================================================= */

.dashboard-section {
    margin-top: 34px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(3, 31, 67, 0.05);
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-section-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--ugb-red);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dashboard-section-heading h2 {
    margin: 0;
    color: var(--ugb-blue-dark);
    font-size: 1.5rem;
}

.dashboard-section-heading small {
    color: var(--muted);
    font-size: 0.7rem;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-quick-card {
    min-width: 0;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f9fbfd;
}

.dashboard-card-number {
    margin-bottom: 30px;
    color: var(--ugb-red);
    font-size: 0.66rem;
    font-weight: 900;
}

.dashboard-quick-card h3 {
    margin: 0 0 9px;
    color: var(--ugb-blue-dark);
    font-size: 1rem;
}

.dashboard-quick-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.77rem;
    line-height: 1.6;
}

.dashboard-coming {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding: 6px 9px;
    border-radius: 100px;
    background: rgba(229, 182, 63, 0.14);
    color: #8a6500;
    font-size: 0.62rem;
    font-weight: 800;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.dashboard-empty-state {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f9fbfd;
}

.dashboard-empty-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ugb-blue);
    color: var(--white);
    font-size: 0.67rem;
    font-weight: 900;
}

.dashboard-empty-state h3 {
    margin: 0 0 5px;
    color: var(--ugb-blue-dark);
    font-size: 0.95rem;
}

.dashboard-empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}


/* =========================================================
   TWO COLUMN PANELS
========================================================= */

.dashboard-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.dashboard-panel {
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(3, 31, 67, 0.05);
}

.dashboard-panel-label {
    color: var(--ugb-red);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dashboard-panel h2 {
    margin: 8px 0 12px;
    color: var(--ugb-blue-dark);
    font-size: 1.35rem;
}

.dashboard-panel p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.65;
}


/* =========================================================
   DOCUMENT LIST
========================================================= */

.dashboard-document-list {
    display: grid;
}

.dashboard-document-list>div {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.dashboard-document-list>div:last-child {
    border-bottom: 0;
}

.dashboard-document-list>div>span {
    color: var(--ugb-red);
    font-size: 0.65rem;
    font-weight: 900;
}

.dashboard-document-list strong {
    display: block;
    color: var(--ugb-blue-dark);
    font-size: 0.82rem;
}

.dashboard-document-list small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.7rem;
}

.dashboard-document-list em {
    color: #8a6500;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
}


/* =========================================================
   MEMBER SERVICES
========================================================= */

.dashboard-service-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px;
    border-radius: 11px;
    background:
        linear-gradient(135deg,
            #f7f9fc,
            #eef3f8);
}

.dashboard-service-banner h3 {
    margin: 0 0 8px;
    color: var(--ugb-blue-dark);
}

.dashboard-service-banner p {
    max-width: 750px;
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.dashboard-service-banner>span {
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 100px;
    background: rgba(229, 182, 63, 0.16);
    color: #8a6500;
    font-size: 0.65rem;
    font-weight: 900;
}


/* =========================================================
   DASHBOARD FOOTER
========================================================= */

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 25px 0 5px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.68rem;
}


/* =========================================================
   RESPONSIVE DASHBOARD
========================================================= */

@media (max-width: 1100px) {

    .dashboard-shell {
        grid-template-columns: 235px minmax(0, 1fr);
    }

    .dashboard-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .dashboard-shell {
        display: block;
    }

    .dashboard-sidebar {
        position: relative;
        width: auto;
        height: auto;
        padding: 22px;
    }

    .dashboard-preview-badge {
        margin-top: 18px;
    }

    .dashboard-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 20px;
    }

    .dashboard-sidebar-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 20px;
        padding-top: 10px;
    }

    .dashboard-main {
        padding: 0 22px 35px;
    }

    .dashboard-welcome {
        grid-template-columns: 1fr 130px;
        padding: 40px;
    }

    .dashboard-welcome>img {
        width: 125px;
        height: 125px;
    }

}


@media (max-width: 600px) {

    .dashboard-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .dashboard-nav {
        grid-template-columns: 1fr;
    }

    .dashboard-topbar {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 25px 0;
    }

    .dashboard-demo-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .dashboard-welcome {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .dashboard-welcome>img {
        width: 105px;
        height: 105px;
        justify-self: start;
    }

    .dashboard-section {
        padding: 25px 20px;
    }

    .dashboard-quick-grid,
    .dashboard-two-column {
        grid-template-columns: 1fr;
    }

    .dashboard-document-list>div {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .dashboard-document-list em {
        grid-column: 2;
    }

    .dashboard-service-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-footer {
        flex-direction: column;
        gap: 7px;
    }

}