:root {
    --conexa-black: #080808;
    --conexa-dark: #131313;
    --conexa-charcoal: #232323;
    --conexa-silver: #c9c9c9;
    --conexa-gold: #b98b45;
    --conexa-sand: #f1ece4;
    --conexa-soft: #f5f5f5;
    --conexa-text: #242424;
    --conexa-line: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--conexa-text);
    background: #fbfbfb;
}

a,
button,
.btn,
.post-card,
.resource-card,
.feature-card,
.tool-card,
.event-card,
.testimonial-card,
.community-card,
.service-directory,
.contact-card {
    transition: all 0.25s ease;
}

h1, h2, h3, h4, .display-font {
    font-family: 'League Spartan', sans-serif;
    letter-spacing: -0.03em;
}

.site-logo {
    height: 44px;
    width: auto;
}

.brand-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.brand-stack {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    font-size: 1.15rem;
}

.site-nav {
    background:
        linear-gradient(135deg, rgba(8, 8, 8, 0.95), rgba(27, 27, 27, 0.94)),
        url('../images/brand-reference.jpg') center/cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.navbar .btn-dark {
    background: #ffffff;
    color: #101010;
    border-color: #ffffff;
}

.navbar .btn-dark:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.hero-block {
    background:
        linear-gradient(135deg, rgba(7, 7, 7, 0.94), rgba(38, 38, 38, 0.88)),
        url('../images/brand-reference.jpg') center/cover;
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-block::before,
.dark-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 25%, rgba(255,255,255,0.04) 25% 27%, transparent 27% 52%, rgba(255,255,255,0.03) 52% 54%, transparent 54% 100%),
        linear-gradient(45deg, rgba(255,255,255,0.02), transparent 50%);
    pointer-events: none;
}

.hero-block > .container,
.dark-grid > .container {
    position: relative;
    z-index: 1;
}

.hero-card,
.content-card,
.metric-card,
.resource-card,
.post-card,
.contact-card,
.admin-panel-card {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.12);
}

.section-soft {
    background: linear-gradient(180deg, #ffffff 0%, var(--conexa-soft) 100%);
}

.section-sand {
    background: var(--conexa-sand);
}

.section-dark,
.dark-grid {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(35, 35, 35, 0.96)),
        url('../images/brand-reference.jpg') center/cover;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.metric-card,
.content-card,
.resource-card,
.post-card,
.contact-card {
    background: #fff;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--conexa-dark);
}

.hero-visual {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.preview-frame {
    background: #0a0a0a;
    border-radius: 1.5rem;
    padding: 1rem;
}

.preview-bar {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.preview-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.3);
}

.preview-screen {
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.preview-screen img {
    width: 100%;
    display: block;
}

.resource-cover,
.post-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.resource-type {
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--conexa-gold);
}

.stat-strip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
}

.stat-strip .label {
    color: rgba(255,255,255,0.62);
    font-size: 0.86rem;
}

.stat-strip .value {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
}

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

.inner-hero {
    background:
        linear-gradient(135deg, rgba(8, 8, 8, 0.94), rgba(37, 37, 37, 0.9)),
        url('../images/brand-reference.jpg') center/cover;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 24%, rgba(255,255,255,0.03) 24% 27%, transparent 27% 51%, rgba(255,255,255,0.04) 51% 54%, transparent 54% 100%);
}

.inner-hero > .container {
    position: relative;
    z-index: 1;
}

.service-directory,
.event-card,
.testimonial-card,
.tool-card,
.community-card,
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(19,19,19,0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(17,17,17,0.06);
}

.service-directory:hover,
.feature-card:hover,
.tool-card:hover,
.event-card:hover,
.testimonial-card:hover,
.community-card:hover,
.post-card:hover,
.resource-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(17,17,17,0.1);
}

.dark-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.event-date {
    background: #ffffff;
    color: #111111;
    border-radius: 1.25rem;
    padding: 1rem;
    min-width: 96px;
    text-align: center;
}

.events-carousel .carousel-item {
    padding: 0.25rem;
}

.event-slide {
    background: #fff;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17,17,17,0.08);
    border: 1px solid rgba(17,17,17,0.08);
}

.event-cover {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.event-date strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-family: 'League Spartan', sans-serif;
}

.instagram-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #111111, #404040);
    box-shadow: 0 18px 35px rgba(0,0,0,0.28);
}

.instagram-float:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.instagram-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
}

.instagram-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

.instagram-text {
    font-weight: 700;
}

.podcast-callout {
    background:
        linear-gradient(135deg, rgba(17,17,17,0.98), rgba(45,45,45,0.96)),
        url('../images/brand-reference.jpg') center/cover;
    color: #fff;
    border-radius: 1.75rem;
    position: relative;
    overflow: hidden;
}

.podcast-callout::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.03), transparent 55%);
}

.podcast-callout > * {
    position: relative;
    z-index: 1;
}

.podcast-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.84);
    font-size: 0.85rem;
    font-weight: 700;
}

.share-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(17,17,17,0.09);
    color: var(--conexa-text);
    text-decoration: none;
    font-weight: 700;
}

.share-btn:hover {
    background: var(--conexa-dark);
    color: #fff;
    border-color: var(--conexa-dark);
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
}

.sidebar-stack {
    display: grid;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.social-link:hover {
    background: #fff;
    color: #111;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(17,17,17,0.08);
}

.contact-line:last-child {
    border-bottom: 0;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111111, #3a3a3a);
    color: #fff;
    flex-shrink: 0;
}

.table-responsive .table tr:last-child td {
    border-bottom: 0;
}

.pagination .page-link {
    color: #111;
    border-radius: 999px;
    margin: 0 0.2rem;
    border: 1px solid rgba(17,17,17,0.08);
}

.pagination .active .page-link {
    background: #111;
    border-color: #111;
}

.article-content,
.page-content {
    line-height: 1.85;
    font-size: 1.05rem;
}

.article-content h2,
.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.site-footer {
    background: linear-gradient(135deg, #111111, #1e1e1e);
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.filter-chip {
    border-radius: 999px;
}

.filter-chip.active {
    background: var(--conexa-dark);
    color: #ffffff;
    border-color: var(--conexa-dark);
}

.cta-band {
    background: linear-gradient(135deg, #111111, #2e2416);
    color: #fff;
}

.muted-on-dark {
    color: rgba(255,255,255,0.72);
}

@media (max-width: 991px) {
    .brand-text {
        display: none;
    }

    .hero-block {
        padding: 4rem 0;
    }

    .instagram-text {
        display: none;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }
}
