:root {
    --cbn-primary: #ea2130;
    --cbn-primary-hover: #010f72;
    --cbn-dark: #1a1c1e;
    --cbn-footer: #525252;
    --cbn-white: #ffffff;
    --cbn-gray-light: #f5f7fa;
    --cbn-gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--cbn-primary);
}

a {
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.text-cbn-primary { color: var(--cbn-primary) !important; }
.text-cbn-dark { color: var(--cbn-dark) !important; }
.text-cbn-white { color: var(--cbn-white) !important; }
.bg-cbn-primary { background-color: var(--cbn-primary) !important; }
.bg-cbn-dark { background-color: var(--cbn-dark) !important; }
.bg-cbn-footer { background-color: var(--cbn-footer) !important; }
.bg-cbn-white { background-color: var(--cbn-white) !important; }

.section-kicker {
    color: var(--cbn-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-shell,
.detail-shell {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1rem 2rem rgba(26, 28, 30, 0.08);
}

.info-panel {
    background: var(--cbn-gray-light);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--cbn-primary);
}

.placeholder-note {
    background: #fff4f5;
    border: 1px solid rgba(234, 33, 48, 0.12);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--cbn-dark);
}

.btn-cbn {
    background-color: var(--cbn-primary);
    color: var(--cbn-white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cbn:hover {
    background-color: var(--cbn-primary-hover);
    color: var(--cbn-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 33, 48, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--cbn-white);
    border: 2px solid var(--cbn-white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: var(--cbn-white);
    color: var(--cbn-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--cbn-dark);
}

.header-top .contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-top .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cbn-white);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--cbn-white);
    color: var(--cbn-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--cbn-primary);
    color: var(--cbn-white);
    transform: scale(1.1);
    text-decoration: none;
}

.header-nav {
    background-color: var(--cbn-primary);
}

.header-nav .logo {
    height: 50px;
    width: auto;
}

.header-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: var(--cbn-white) !important;
    padding: 1rem !important;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
    color: var(--cbn-primary-hover) !important;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    background-color: var(--cbn-primary);
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: var(--cbn-white);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--cbn-primary-hover);
    color: var(--cbn-white);
}

@media (min-width: 992px) {
    .header-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    .header-nav .dropdown-menu .dropdown-menu {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 0;
    }

    .header-nav .dropdown-menu > li:hover > .dropdown-menu {
        display: block;
    }
}

.navbar-toggler {
    border-color: var(--cbn-white) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(234, 33, 48, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.page-header {
    background: linear-gradient(135deg, rgba(234, 33, 48, 0.08), rgba(1, 15, 114, 0.08));
}

.breadcrumb-nav {
    margin-top: 1rem;
}

.site-footer {
    margin-top: auto;
}

.footer-main {
    background-color: var(--cbn-footer);
}

.footer-title {
    color: var(--cbn-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-text,
.footer-links a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cbn-white);
}

.footer-logo {
    max-width: 200px;
}

.footer-bottom {
    background: #3f3f3f;
    color: var(--cbn-white);
}

@media (max-width: 991px) {
    .social-links,
    .header-top .contact-info {
        justify-content: center;
    }

    .content-shell,
    .detail-shell {
        padding: 1.5rem;
    }
}
