:root {
    --primary-color: #091C3A;
    --secondary-color: #C6C6C8;
    --background-light: #F4F7FA;
    --background-dark: #050F1F;
    --accent-gradient: linear-gradient(135deg, #112D55 0%, #06142A 100%);
    --highlight-color: #E2AD36;
    /* Clean premium gold color accent for the standout element */
}

body {
    min-height: max(884px, 100vh);
    font-family: 'Exo', sans-serif;
    font-size: 14px;
    background-color: var(--background-light);
    color: #374151;
}

body.dark-mode {
    background-color: var(--background-dark);
    color: #f3f4f6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-heading,
.headline {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.btn-link-custom {
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
}

.nav-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box-custom {
    position: relative;
    margin-bottom: 12px;
}

.search-box-custom .glyphicon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-box-custom input {
    width: 100%;
    padding-left: 40px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 8px;
    border: none;
    background-color: white;
}

body.dark-mode .search-box-custom input {
    background-color: #1f2937;
    color: white;
    margin-top: 8px;
}

/* Standout Interactive UI Theme for Search Panel */
.search-panel-standout {
    background: var(--accent-gradient) !important;
    border: 2px solid var(--highlight-color) !important;
    box-shadow: 0 10px 25px -5px rgba(9, 28, 58, 0.3) !important;
}

.search-panel-standout .panel-content {
    border-color: rgba(226, 173, 54, 0.2) !important;
}

.search-panel-standout h2 {
    color: var(--highlight-color) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-panel-standout .panel-badge-highlight {
    background-color: var(--highlight-color) !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 2px 8px rgba(226, 173, 54, 0.4);
    transition: transform 0.2s, opacity 0.2s;
}

.search-panel-standout .panel-badge-highlight:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.search-panel-standout .search-box-custom input {
    background-color: #ffffff !important;
    color: #091C3A !important;
    border: 2px solid transparent;
    font-weight: 500;
}

.search-panel-standout .search-box-custom input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(226, 173, 54, 0.2);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 0;
}

.filter-btn {
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.panel-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.1s;
    margin-bottom: 16px;
}

.panel-link:active {
    transform: scale(0.95);
}

.panel-link .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 28, 58, 0.85);
    transition: background-color 0.2s;
}

.panel-link:hover .bg-overlay {
    background-color: rgba(9, 28, 58, 0.65);
}

.panel-link .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: transform 0.7s;
}

.panel-link:hover .bg-image {
    transform: scale(1.1);
}

.panel-content {
    position: relative;
    z-index: 10;
    padding: 16px;
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85%;
}

.header-content {
    position: relative;
    z-index: 10;
    padding: 16px;
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85%;
    text-align: center;
}

.sub-header-content {
    position: relative;
    z-index: 10;
    padding: 16px;
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85%;
    text-align: center;
}

.panel-lg {
    min-height: 200px;
}

.panel-md {
    min-height: 176px;
}

.panel-sm {
    min-height: 100px;
}

.panel-content h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.header-content h2 {
    color: white;
    font-size: 72px;
    font-weight: 700;
    /* letter-spacing: 0.1em; */
    text-transform: uppercase;
    margin: 0;
}

.sub-header-content h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.panel-content .panel-divider {
    height: 2px;
    width: 48px;
    background-color: white;
    margin: 8px 0;
    margin-bottom: 8px;
}

.header-content .panel-divider {
    height: 2px;
    width: 48px;
    background-color: white;
    margin: 8px 0;
    margin-bottom: 8px;
}

.panel-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-facts {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.dark-mode .quick-facts {
    background-color: #111827;
    border-color: #1f2937;
}

.quick-facts h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

body.dark-mode .quick-facts h2 {
    border-bottom-color: #1f2937;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fact-row:last-child {
    margin-bottom: 0;
}

.fact-label {
    font-size: 14px;
    color: #6b7280;
}

body.dark-mode .fact-label {
    color: #9ca3af;
}

.fact-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

body.dark-mode .fact-value {
    color: white;
}

@media (max-width: 768px) {
    .panel-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .header-content h2 {
        font-size: 32px;
        /* Scaled down from 72px */
    }

    .sub-header-content h2 {
        font-size: 20px;
        /* Scaled down from 36px */
    }
}