:root {
    --brand-red: #b8212d;
    --brand-red-dark: #851720;
    --brand-gold: #d7a63f;
    --ink: #15202b;
    --muted: #667085;
    --line: #e7eaf0;
    --paper: #ffffff;
    --soft: #f6f8fb;
    --deep: #17324d;
    --green: #167f67;
}

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

html {
    overflow-x: hidden;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-width: 320px;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--brand-red);
    text-decoration: none;
}

a:hover {
    color: var(--brand-red-dark);
}

.top-strip {
    background: var(--deep);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.45rem 0;
}

.top-strip a {
    color: rgba(255, 255, 255, 0.86);
}

.top-strip a:hover {
    color: #fff;
}

.main-nav {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.navbar-brand {
    margin-right: 1rem;
    max-width: min(58vw, 440px);
}

.navbar .nav-link {
    color: var(--ink);
    font-weight: 650;
    font-size: 0.92rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--brand-red);
}

.brand-mark {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    gap: 0.72rem;
    min-width: 0;
    vertical-align: middle;
}

.brand-mark:hover {
    color: var(--ink);
}

.brand-symbol {
    align-items: center;
    background: var(--brand-red);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 1.4rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
}

.brand-logo {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 46px;
    height: 46px;
    justify-content: center;
    overflow: hidden;
    width: 46px;
}

.brand-logo img {
    height: 100%;
    object-fit: contain;
    padding: 4px;
    width: 100%;
}

.brand-mark strong,
.brand-mark small {
    display: block;
    line-height: 1.05;
    min-width: 0;
}

.brand-mark strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-mark small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.18rem;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    white-space: normal;
}

.btn-brand {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #fff;
}

.btn-gold {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #2c2108;
}

.btn-gold:hover {
    background: #c3932e;
    border-color: #c3932e;
    color: #1f1706;
}

.hero {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.hero-card {
    background: #101828;
    color: #fff;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.hero-card img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.hero-card::after {
    background: linear-gradient(90deg, rgba(10, 19, 32, 0.88), rgba(10, 19, 32, 0.4), rgba(10, 19, 32, 0.1));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    max-width: 680px;
    padding: 5.5rem 0;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.05;
    max-width: 12ch;
    overflow-wrap: anywhere;
}

.hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.7;
}

.eyebrow {
    color: var(--brand-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--brand-gold);
}

.quick-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 100%;
    padding: 1.2rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-card:hover {
    box-shadow: 0 14px 32px rgba(21, 32, 43, 0.08);
    transform: translateY(-3px);
}

.quick-card img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.section-pad {
    padding: 4.6rem 0;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.section-copy {
    color: var(--muted);
    line-height: 1.75;
}

.program-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.program-card img,
.news-card img,
.activity-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.program-card .content,
.news-card .content,
.activity-card .content {
    padding: 1.25rem;
    min-width: 0;
}

.program-icon {
    align-items: center;
    background: #fff4dc;
    border: 1px solid #f0d9a2;
    border-radius: 8px;
    color: #8b5d08;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.about-band {
    background: var(--deep);
    color: #fff;
}

.about-band .section-copy {
    color: rgba(255, 255, 255, 0.78);
}

.stat-box {
    border-left: 3px solid var(--brand-gold);
    padding-left: 1rem;
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.business-showcase-card,
.business-profile-panel,
.alumni-card,
.news-card,
.activity-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.business-showcase-card {
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.business-showcase-card:hover {
    box-shadow: 0 18px 42px rgba(21, 32, 43, 0.1);
    transform: translateY(-2px);
}

.business-cover-wrap {
    background: #eef2f6;
    position: relative;
}

.business-cover {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.business-cover-wrap::after {
    background: linear-gradient(180deg, rgba(16, 24, 40, 0), rgba(16, 24, 40, 0.42));
    content: "";
    inset: auto 0 0;
    height: 42%;
    pointer-events: none;
    position: absolute;
}

.alumni-avatar {
    border: 3px solid #fff;
    border-radius: 999px;
    bottom: -28px;
    box-shadow: 0 10px 24px rgba(21, 32, 43, 0.18);
    height: 64px;
    left: 1rem;
    object-fit: cover;
    position: absolute;
    width: 64px;
}

.multi-business-badge {
    align-items: center;
    background: rgba(16, 24, 40, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.35rem;
    line-height: 1;
    padding: 0.48rem 0.65rem;
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    z-index: 2;
}

.alumni-photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.business-showcase-card .content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2.4rem 1rem 1rem;
    min-width: 0;
}

.alumni-card .content {
    padding: 1rem;
    min-width: 0;
}

.business-profile-panel .content {
    padding: 1rem;
    min-width: 0;
}

.business-detail-cover img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.owner-mini-profile {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
}

.owner-mini-profile img {
    border-radius: 999px;
    flex: 0 0 54px;
    height: 54px;
    object-fit: cover;
    width: 54px;
}

.owner-mini-profile strong,
.owner-mini-profile small {
    display: block;
    line-height: 1.25;
    min-width: 0;
}

.owner-mini-profile small {
    color: var(--muted);
    font-size: 0.8rem;
}

.related-business-list {
    display: grid;
    gap: 0.65rem;
}

.related-business-list a {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    gap: 0.7rem;
    padding: 0.55rem;
}

.related-business-list a:hover {
    border-color: #d8dde7;
    color: var(--brand-red);
}

.related-business-list img {
    border-radius: 8px;
    flex: 0 0 58px;
    height: 48px;
    object-fit: cover;
    width: 58px;
}

.related-business-list strong,
.related-business-list small {
    display: block;
    line-height: 1.25;
}

.related-business-list small {
    color: var(--muted);
    font-size: 0.8rem;
}

.business-chain {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.business-chain span {
    color: var(--muted);
    flex-basis: 100%;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.business-chain a {
    background: #fff7e7;
    border: 1px solid #f2dfb8;
    border-radius: 999px;
    color: #5d430b;
    font-size: 0.82rem;
    font-weight: 750;
    max-width: 100%;
    overflow: hidden;
    padding: 0.34rem 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-chain a:hover {
    background: #fff0cc;
    color: var(--brand-red);
}

.business-logo-card,
.business-logo-detail,
.logo-preview {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: contain;
}

.business-logo-card {
    height: 44px;
    padding: 0.35rem;
    width: 96px;
}

.business-logo-detail {
    height: 68px;
    padding: 0.45rem;
    width: 132px;
}

.business-hero-banner {
    background: #101828;
    color: #fff;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.business-hero-banner > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.business-hero-banner::after {
    background:
        linear-gradient(90deg, rgba(12, 20, 32, 0.92), rgba(12, 20, 32, 0.62), rgba(12, 20, 32, 0.32)),
        linear-gradient(0deg, rgba(12, 20, 32, 0.78), rgba(12, 20, 32, 0));
    content: "";
    inset: 0;
    position: absolute;
}

.business-hero-banner .container {
    position: relative;
    z-index: 1;
}

.business-hero-content {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    min-height: 520px;
    padding: 4.5rem 0;
}

.business-hero-main {
    max-width: 820px;
    min-width: 0;
}

.business-hero-main h1 {
    font-size: 3.2rem;
    font-weight: 850;
    line-height: 1.04;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

.business-hero-main p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 1.4rem;
    max-width: 760px;
}

.owner-hero-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.65rem;
    max-width: 100%;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
}

.owner-hero-chip img {
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    flex: 0 0 46px;
    height: 46px;
    object-fit: cover;
    width: 46px;
}

.owner-hero-chip span {
    min-width: 0;
}

.owner-hero-chip small,
.owner-hero-chip strong,
.owner-hero-chip em {
    display: block;
    line-height: 1.24;
    min-width: 0;
}

.owner-hero-chip small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.owner-hero-chip strong {
    color: #fff;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-hero-chip em {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-style: normal;
}

.business-hero-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    color: var(--ink);
    min-width: 0;
    padding: 1.15rem;
}

.hero-facts {
    display: grid;
    gap: 0.6rem;
}

.hero-facts span {
    align-items: flex-start;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 0.55rem;
    line-height: 1.45;
    min-width: 0;
    padding: 0.7rem;
}

.hero-facts i {
    color: var(--brand-red);
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.multi-business-band {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 0;
}

.multi-business-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.multi-business-card {
    align-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 82px minmax(0, 1fr);
    min-width: 0;
    padding: 0.65rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.multi-business-card:hover {
    border-color: #d8dde7;
    box-shadow: 0 12px 28px rgba(21, 32, 43, 0.08);
    color: var(--ink);
    transform: translateY(-2px);
}

.multi-business-card.active {
    background: #fff7e7;
    border-color: #e7bf67;
}

.multi-business-card img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    height: 76px;
    object-fit: cover;
    width: 82px;
}

.multi-business-card span,
.multi-business-card small,
.multi-business-card strong,
.multi-business-card em {
    display: block;
    min-width: 0;
}

.multi-business-card small {
    color: var(--brand-red);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.multi-business-card strong {
    font-size: 0.98rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-business-card em {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.38;
    margin-top: 0.2rem;
}

.business-detail-main {
    background: #f8fafc;
}

.business-showcase-section {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.showcase-feature-grid {
    display: grid;
    gap: 0.75rem;
    grid-auto-rows: 172px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-feature-grid figure {
    background: #101828;
    border-radius: 8px;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.showcase-feature-grid figure.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-feature-grid img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
    width: 100%;
}

.showcase-feature-grid figure:hover img {
    transform: scale(1.035);
}

.showcase-feature-grid figcaption {
    background: linear-gradient(180deg, rgba(16, 24, 40, 0), rgba(16, 24, 40, 0.78));
    bottom: 0;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 650;
    left: 0;
    line-height: 1.35;
    padding: 2.4rem 0.8rem 0.75rem;
    position: absolute;
    right: 0;
}

.info-stack {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 88px;
}

.business-owner-card,
.business-info-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.business-owner-card .owner-mini-profile img {
    flex-basis: 50px;
    height: 50px;
    width: 50px;
}

.business-info-list {
    display: grid;
    gap: 0.65rem;
}

.business-info-list span {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    min-width: 0;
    padding: 0.7rem 0.75rem;
}

.business-info-list small {
    color: var(--muted);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 0.18rem;
    text-transform: uppercase;
}

.business-info-list strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.logo-preview {
    height: 52px;
    padding: 0.35rem;
    width: 92px;
}

.business-pitch {
    background: #fff7e7;
    border: 1px solid #f2dfb8;
    border-radius: 8px;
    color: #4d3609 !important;
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.7 !important;
    margin-bottom: 1rem;
    padding: 1rem;
}

.business-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-gallery figure {
    margin: 0;
    min-width: 0;
}

.business-gallery img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.business-gallery figcaption {
    color: var(--muted);
    font-size: 0.86rem;
    margin-top: 0.45rem;
}

.dashboard-gallery-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-gallery-item {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.55rem;
}

.dashboard-gallery-item img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.55rem;
    object-fit: cover;
    width: 100%;
}

.business-showcase-card h2,
.business-showcase-card h3,
.business-profile-panel h1,
.alumni-card h2,
.alumni-card h3,
.news-card h2,
.news-card h3,
.activity-card h2,
.activity-card h3,
.program-card h3 {
    overflow-wrap: anywhere;
}

.badge-soft {
    background: #eef7f4;
    color: var(--green);
}

.badge-red {
    background: #fff0f1;
    color: var(--brand-red);
}

.meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.cta-band {
    background: #fff7e7;
    border-block: 1px solid #f2dfb8;
}

.quote-band {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.quote-band blockquote {
    color: var(--deep);
    font-size: 1.4rem;
    font-weight: 750;
    line-height: 1.5;
}

.page-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 3.8rem 0;
}

.business-directory-hero {
    background:
        linear-gradient(90deg, rgba(14, 29, 47, 0.94), rgba(14, 29, 47, 0.78), rgba(14, 29, 47, 0.48)),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80") center / cover;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.business-directory-hero .eyebrow {
    color: var(--brand-gold);
}

.business-directory-hero .section-copy {
    color: rgba(255, 255, 255, 0.8);
}

.filter-box,
.form-panel,
.table-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    min-width: 0;
}

.form-control,
.form-select {
    border-radius: 8px;
    min-height: 44px;
}

.article-body {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2rem;
    min-width: 0;
}

.article-body p {
    color: #344054;
    font-size: 1.03rem;
    line-height: 1.85;
}

.site-footer {
    background: #0f1f32;
    color: rgba(255, 255, 255, 0.76);
    padding: 3.4rem 0 1.2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.76);
    display: block;
    margin-bottom: 0.45rem;
}

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

.site-footer h6 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer .brand-mark strong {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    margin-top: 2.4rem;
    padding-top: 1rem;
}

.dashboard-body {
    background: #eef2f6;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.dashboard-sidebar {
    background: #102235;
    color: #fff;
    padding: 1.4rem;
    min-width: 0;
}

.dashboard-sidebar .brand-mark strong {
    color: #fff;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 0.35rem;
}

.dashboard-sidebar nav a {
    align-items: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
}

.dashboard-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dashboard-main {
    min-width: 0;
    padding: 1.5rem;
}

.dashboard-topbar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-topbar h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.admin-pill {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.1rem;
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.login-page {
    align-items: center;
    background: linear-gradient(135deg, #102235, #263f5f);
    display: flex;
    min-height: 100vh;
    padding: 1rem;
}

.login-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    margin: auto;
    max-width: 430px;
    padding: 1.6rem;
    width: 100%;
}

.table img.thumb {
    border-radius: 8px;
    height: 54px;
    object-fit: cover;
    width: 72px;
}

.table {
    margin-bottom: 0;
}

.table th,
.table td {
    vertical-align: middle;
}

.table-responsive {
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        max-width: calc(100vw - 92px);
    }

    .navbar-collapse {
        border-top: 1px solid var(--line);
        margin-top: 0.9rem;
        padding-top: 0.75rem;
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 0.2rem;
    }

    .navbar .nav-link {
        border-radius: 8px;
        padding: 0.72rem 0.75rem;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: #fff3f4;
    }

    .navbar .btn {
        display: flex;
        justify-content: center;
        margin-top: 0.35rem;
        width: 100%;
    }

    .hero-card {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 2.35rem;
        max-width: 100%;
    }

    .hero-content {
        padding: 4.25rem 0;
    }

    .hero-card::after {
        background: linear-gradient(180deg, rgba(10, 19, 32, 0.9), rgba(10, 19, 32, 0.68), rgba(10, 19, 32, 0.5));
    }

    .page-hero {
        padding: 3rem 0;
    }

    .business-hero-content {
        align-items: start;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 4rem 0;
    }

    .business-hero-main h1 {
        font-size: 2.35rem;
    }

    .business-hero-card {
        max-width: 460px;
    }

    .showcase-feature-grid {
        grid-auto-rows: 168px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-feature-grid figure.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .info-stack {
        position: static;
    }

    .article-body {
        padding: 1.5rem;
    }

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

    .dashboard-sidebar {
        position: static;
    }

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

    .dashboard-sidebar nav a {
        min-height: 46px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-symbol,
    .brand-logo {
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .brand-mark {
        gap: 0.55rem;
    }

    .brand-mark strong {
        font-size: 0.94rem;
    }

    .brand-mark small {
        font-size: 0.64rem;
        max-width: calc(100vw - 150px);
    }

    .section-pad {
        padding: 2.75rem 0;
    }

    .section-title {
        font-size: 1.62rem;
    }

    .hero-card {
        min-height: 560px;
    }

    .hero-content {
        padding: 3.5rem 0;
    }

    .hero h1 {
        font-size: 1.92rem;
        line-height: 1.12;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .hero .btn,
    .page-hero .btn,
    .cta-band .btn {
        width: 100%;
    }

    .program-card .content,
    .news-card .content,
    .activity-card .content,
    .business-profile-panel .content,
    .alumni-card .content {
        padding: 1rem;
    }

    .program-card img,
    .news-card img,
    .activity-card img,
    .business-cover,
    .business-gallery img,
    .dashboard-gallery-item img {
        aspect-ratio: 4 / 3;
    }

    .alumni-photo {
        aspect-ratio: 4 / 3;
    }

    .quote-band blockquote {
        font-size: 1.08rem;
    }

    .page-hero {
        padding: 2.5rem 0;
    }

    .business-directory-hero {
        background:
            linear-gradient(180deg, rgba(14, 29, 47, 0.96), rgba(14, 29, 47, 0.78)),
            url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80") center / cover;
    }

    .business-hero-banner {
        min-height: 0;
    }

    .business-hero-content {
        gap: 1.3rem;
        padding: 3.2rem 0;
    }

    .business-hero-main h1 {
        font-size: 1.88rem;
        line-height: 1.12;
    }

    .business-hero-main p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .owner-hero-chip {
        align-items: flex-start;
        border-radius: 8px;
        width: 100%;
    }

    .business-hero-card,
    .business-showcase-section,
    .business-owner-card,
    .business-info-card {
        padding: 0.9rem;
    }

    .business-hero-card .btn {
        width: 100%;
    }

    .multi-business-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .multi-business-card img {
        height: 68px;
        width: 72px;
    }

    .showcase-feature-grid {
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
    }

    .showcase-feature-grid figure.featured {
        grid-column: auto;
        grid-row: auto;
    }

    .showcase-feature-grid img {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .filter-box,
    .form-panel,
    .table-panel,
    .article-body {
        padding: 0.9rem;
    }

    .table {
        font-size: 0.88rem;
    }

    .table img.thumb {
        height: 44px;
        width: 58px;
    }

    .site-footer {
        padding-top: 2.6rem;
    }

    .dashboard-main {
        padding: 0.85rem;
    }

    .dashboard-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .dashboard-topbar h1 {
        font-size: 1.45rem;
    }

    .admin-pill {
        border-radius: 8px;
        justify-content: flex-start;
        width: 100%;
    }

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

    .metric-card {
        padding: 0.95rem;
    }

    .metric-card strong {
        font-size: 1.7rem;
    }

    .login-page {
        align-items: flex-start;
        padding-top: 2rem;
    }

    .login-card {
        padding: 1.15rem;
    }

    .business-gallery,
    .dashboard-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .brand-mark small {
        display: none;
    }

    .hero h1 {
        font-size: 1.72rem;
    }

    .section-title {
        font-size: 1.45rem;
    }
}
