/* ==========================================================================
   exchange.uz Frontend Styles
   Brand colors:
   - Main green: #038b32
   - Dark green: #037129
   - Accent green/gold: #91b00b
   - Footer dark: #27342f
   ========================================================================== */

:root {
    --exchange-green: #038b32;
    --exchange-dark: #037129;
    --exchange-hover: #00630a;
    --exchange-deep: #003b00;
    --exchange-light-green: #2bb35a;
    --exchange-gold: #91b00b;
    --exchange-gold-hover: #698800;
    --exchange-blue: #067fbb;
    --exchange-bg-dark: #27342f;
    --exchange-gray-bg: #f8faf8;
    --exchange-text: #333333;
    --exchange-text-muted: #666666;
    --exchange-border: #e2e8f0;
    --container-width: 1200px;
}

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

html {
    height: 100%;
    font-size: 14px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: var(--exchange-text);
    background-color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

.top-sub-bar,
.mobile-top-bar,
.site-header {
    flex-shrink: 0;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-content-section {
    flex: 1 0 auto;
    width: 100%;
}

.pre-footer-section,
.footer-main {
    flex-shrink: 0;
    width: 100%;
}

.pre-footer-section,
.site-main + .footer-main {
    margin-top: auto;
}


a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--exchange-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ==========================================================================
   TOP SUB-BAR & ACCESSIBILITY (BVI)
   ========================================================================== */
.top-sub-bar {
    width: 100%;
    background-color: #F6F6F6;
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    color: #555555;
    padding: 5px 0;
    position: relative;
    z-index: 950;
}

.top-sub-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-sub-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-home {
    color: #555555;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}

.breadcrumb-home i {
    color: var(--exchange-green);
    font-size: 13px;
}

.breadcrumb-home:hover {
    color: var(--exchange-green);
}

.top-sub-separator {
    width: 1px;
    height: 14px;
    background-color: #e0e0e0;
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 2px;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

.top-icon-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #ffffff;
}

.top-icon-fb {
    background-color: #3b5998;
}

.top-icon-tg {
    background-color: #2ea5da;
}

.top-icon-search {
    background-color: #037129;
}

.sitemap-link {
    color: #555555;
    font-size: 12px;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.15s;
}

.sitemap-link:hover {
    color: var(--exchange-green);
}

.top-sub-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    max-width: 100%;
}

/* Accessibility (BVI) Toggle Button in Top Bar */
.bvi-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #f4f6f4;
    border: 1px solid #d2ded2;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}

.bvi-toggle-btn i {
    color: var(--exchange-green);
    font-size: 13px;
    transition: color 0.2s ease;
}

.bvi-toggle-btn:hover,
.bvi-toggle-btn.active {
    background-color: var(--exchange-green);
    border-color: var(--exchange-green);
    color: #ffffff;
}

.bvi-toggle-btn:hover i,
.bvi-toggle-btn.active i {
    color: #ffffff;
}

/* Language Switcher matching exchange.uz */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-item a {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 12px;
    color: #555555;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.3;
}

.lang-item a:hover {
    color: var(--exchange-green);
}

.lang-item.active a {
    background-color: var(--exchange-green);
    color: #ffffff;
    font-weight: 600;
}

.bvi-toggle-text-short {
    display: none;
}

.lang-short {
    display: none;
}


/* --------------------------------------------------------------------------
   BVI (ACCESSIBILITY) TOOLBAR PANEL
   -------------------------------------------------------------------------- */
.bvi-panel {
    background-color: #f7faf7;
    border-top: 1px solid #dbe6db;
    border-bottom: 2px solid var(--exchange-green);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bvi-panel-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.bvi-block {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bvi-label {
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bvi-label i {
    color: var(--exchange-green);
}

.bvi-btn-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bvi-btn {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 26px;
    text-align: center;
    font-family: inherit;
}

.bvi-btn:hover {
    border-color: var(--exchange-green);
    color: var(--exchange-green);
}

.bvi-btn.active {
    background-color: var(--exchange-green);
    border-color: var(--exchange-green);
    color: #ffffff;
}

/* BVI Theme Palette Buttons */
.bvi-theme-standard {
    background: #ffffff;
    color: #333333;
    border-color: #bbbbbb;
}

.bvi-theme-bw {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.bvi-theme-invert {
    background: #000000;
    color: #ffffff;
    border: 2px solid #333333;
}

.bvi-theme-blue-btn {
    background: #063462;
    color: #ffeb3b;
    border: 2px solid #063462;
}

.bvi-theme-btn.active {
    outline: 2px solid #037129;
    outline-offset: 1px;
}

/* BVI Reset and Close Buttons */
.bvi-btn-reset {
    background-color: #e8f5e9;
    color: var(--exchange-green);
    border-color: #a5d6a7;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.bvi-btn-reset:hover {
    background-color: var(--exchange-green);
    color: #ffffff;
    border-color: var(--exchange-green);
}

.bvi-btn-close {
    background: transparent;
    border: 1px solid transparent;
    font-size: 14px;
    color: #666666;
    padding: 3px 8px;
}

.bvi-btn-close:hover {
    color: #d32f2f;
    border-color: #ffcdd2;
    background-color: #ffebee;
}

/* --------------------------------------------------------------------------
   BVI GLOBAL ACTIVE MODES (FONT SCALING & CONTRAST THEMES)
   -------------------------------------------------------------------------- */
/* Font scaling */
.bvi-font-medium,
body.bvi-font-medium {
    font-size: 16px;
}

.bvi-font-medium .nt-section-title,
.bvi-font-medium .actual-card-title,
.bvi-font-medium .branding-title {
    font-size: 1.25em !important;
}

.bvi-font-medium .actual-card-excerpt,
.bvi-font-medium .news-item-title,
.bvi-font-medium .trading-btn {
    font-size: 1.15em !important;
}

.bvi-font-large,
body.bvi-font-large {
    font-size: 18px;
}

.bvi-font-large .nt-section-title,
.bvi-font-large .actual-card-title,
.bvi-font-large .branding-title {
    font-size: 1.4em !important;
}

.bvi-font-large .actual-card-excerpt,
.bvi-font-large .news-item-title,
.bvi-font-large .trading-btn {
    font-size: 1.25em !important;
}

/* Images toggle */
.bvi-images-off img,
.bvi-images-off .actual-card-img img,
.bvi-images-off .news-item-img img,
.bvi-images-off .hero-slide-bg {
    filter: grayscale(100%) opacity(10%) !important;
}

/* High Contrast: Black on White (Theme White) */
.bvi-theme-white,
body.bvi-theme-white {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.bvi-theme-white * {
    border-color: #000000 !important;
}

.bvi-theme-white a {
    color: #000000 !important;
    text-decoration: underline !important;
}

.bvi-theme-white .trading-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* High Contrast: White on Black / Invert (Theme Black) */
.bvi-theme-black,
body.bvi-theme-black {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.bvi-theme-black .site-header,
.bvi-theme-black .header-main,
.bvi-theme-black .top-sub-bar,
.bvi-theme-black .main-nav-bar,
.bvi-theme-black .news-trading-section,
.bvi-theme-black .site-footer,
.bvi-theme-black .footer-bottom,
.bvi-theme-black .bvi-panel {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #444444 !important;
}

.bvi-theme-black * {
    color: #ffffff !important;
}

.bvi-theme-black a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

.bvi-theme-black .trading-btn {
    background-color: #222222 !important;
    border: 1px solid #ffff00 !important;
    color: #ffff00 !important;
}

.bvi-theme-black .helpline-icon {
    border-color: #ffff00 !important;
}

.bvi-theme-black .helpline-icon i,
.bvi-theme-black .helpline-phone {
    color: #ffff00 !important;
}

.bvi-theme-black .nt-col-heading .nt-col-line {
    background-color: #333333 !important;
}

/* High Contrast: Yellow on Blue (Theme Blue) */
.bvi-theme-blue,
body.bvi-theme-blue {
    background-color: #063462 !important;
    color: #ffeb3b !important;
}

.bvi-theme-blue .site-header,
.bvi-theme-blue .header-main,
.bvi-theme-blue .top-sub-bar,
.bvi-theme-blue .main-nav-bar,
.bvi-theme-blue .news-trading-section,
.bvi-theme-blue .site-footer,
.bvi-theme-blue .footer-bottom,
.bvi-theme-blue .bvi-panel {
    background-color: #063462 !important;
    color: #ffeb3b !important;
    border-color: #0a4f94 !important;
}

.bvi-theme-blue * {
    color: #ffeb3b !important;
}

.bvi-theme-blue a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.bvi-theme-blue .trading-btn {
    background-color: #042444 !important;
    border: 1px solid #ffeb3b !important;
    color: #ffeb3b !important;
}

.bvi-theme-blue .helpline-icon {
    border-color: #ffeb3b !important;
}

.bvi-theme-blue .helpline-icon i,
.bvi-theme-blue .helpline-phone {
    color: #ffeb3b !important;
}

.bvi-theme-blue .nt-col-heading .nt-col-line {
    background-color: #0a4f94 !important;
}

/* ==========================================================================
   HEADER BRANDING
   ========================================================================== */
.header-main {
    width: 100%;
    background-color: #ffffff;
    padding: 16px 0 12px;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.branding-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-symbol {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.branding-text {
    line-height: 1.25;
}

.branding-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: -0.2px;
}

.branding-subtitle {
    font-size: 12px;
    color: #2c2c2c;
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 36px;
}

.contact-widget {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-widget-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.contact-widget-top {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.1px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

a.contact-widget-top:hover {
    color: var(--exchange-green);
}

.contact-widget-bottom {
    font-size: 15px;
    font-weight: 400;
    color: #8c8c8c;
    line-height: 1.3;
    margin-top: 3px;
    white-space: nowrap;
}

/* ==========================================================================
   NAVIGATION (DESKTOP)
   ========================================================================== */
.main-nav-bar {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    background-color: var(--exchange-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.main-nav-bar>.container {
    padding-left: 0;
    padding-right: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-item {
    position: relative;
    border-right: 1px solid #025c21;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item:hover>.nav-link,
.nav-item.active>.nav-link {
    background-color: var(--exchange-hover);
    color: #ffffff;
}

/* Dropdown Level 1 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #00630a;
    border: 1px solid #004507;
    border-top: 3px solid var(--exchange-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    list-style: none;
    display: none;
    z-index: 1000;
    padding: 4px 0;
}

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

.dropdown-item {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-link i {
    color: #ffffff;
}

.dropdown-item:last-child>.dropdown-link {
    border-bottom: none;
}

.dropdown-item:hover>.dropdown-link {
    background-color: #004d08;
    color: #ffffff;
}

/* Nested Dropdown Level 2 */
.dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background-color: #00630a;
    border: 1px solid #004507;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    list-style: none;
    display: none;
    z-index: 1001;
    padding: 4px 0;
}

.dropdown-item:hover>.dropdown-submenu {
    display: block;
}

/* Nested Dropdown Level 3 */
.dropdown-sub-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background-color: #00630a;
    border: 1px solid #004507;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    list-style: none;
    display: none;
    z-index: 1002;
    padding: 4px 0;
}

.dropdown-item:hover>.dropdown-sub-submenu {
    display: block;
}

/* Mobile Toggle Bar */
.mobile-top-bar {
    display: none;
    background-color: #171717;
    color: #ffffff;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 900;
}

.mobile-hamburger {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.mobile-bar-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    color: #ffffff;
}

.mobile-bar-spacer {
    width: 38px;
    flex-shrink: 0;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background-color: #333333;
    color: #ffffff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding-bottom: 30px;
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer-header {
    background-color: #222222;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
}

.mobile-drawer-title {
    font-size: 15px;
    font-weight: 700;
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-search-box {
    padding: 12px 15px;
    background-color: #2a2a2a;
    border-bottom: 1px solid #444;
}

.mobile-search-box input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #fff;
    font-size: 13px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #414141;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav-link:hover {
    color: var(--exchange-gold);
}

.mobile-accordion-toggle {
    background: none;
    border: none;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
}

.mobile-sub-menu {
    list-style: none;
    background-color: #262626;
    display: none;
}

.mobile-sub-menu.open {
    display: block;
}

.mobile-sub-item {
    border-bottom: 1px solid #333333;
}

.mobile-sub-link {
    display: block;
    padding: 10px 20px 10px 30px;
    color: #dddddd;
    font-size: 13px;
}

/* ==========================================================================
   HOMEPAGE: HERO SLIDER
   ========================================================================== */
.hero-slider-section {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background-color: #eef3ef;
    overflow: hidden;
}

.hero-slides-wrapper {
    position: relative;
    height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
}

.hero-slide .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-content {
    max-width: 650px;
    padding: 40px 0;
    margin-left: 40px;
}

.hero-slide-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--exchange-dark);
    margin-bottom: 16px;
    white-space: pre-line;
}

.hero-slide.dark-theme .hero-slide-title {
    color: #ffffff;
}

.hero-slide-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: #444444;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-slide.dark-theme .hero-slide-subtitle {
    color: #e0f2e3;
}

.hero-slide-buttons {
    display: flex;
    gap: 12px;
}

.btn-readon {
    display: inline-block;
    padding: 10px 22px;
    background-color: var(--exchange-green);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-readon:hover {
    background-color: var(--exchange-hover);
    color: #ffffff;
}

.btn-readon-blue {
    background-color: var(--exchange-blue);
}

.btn-readon-blue:hover {
    background-color: #056a9c;
}

.btn-readon-gold {
    background-color: var(--exchange-gold);
}

.btn-readon-gold:hover {
    background-color: var(--exchange-gold-hover);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--exchange-green);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.hero-dot.active {
    background-color: var(--exchange-green);
    transform: scale(1.2);
}

/* ==========================================================================
   HOMEPAGE: TICKER
   ========================================================================== */
.ticker-section {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    align-items: center;
}

.ticker-marquee {
    width: 100%;
    white-space: nowrap;
}

/* ==========================================================================
   HOMEPAGE: 4 FEATURE SERVICES
   ========================================================================== */
.features-section {
    padding: 30px 0 25px;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.feature-card {
    border: 1px solid #e2e8e2;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.feature-card-img {
    width: 100%;
    height: 155px;
    overflow: hidden;
    background-color: #f7f9f7;
    position: relative;
}

.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-img img {
    transform: scale(1.03);
}

.feature-card-body {
    padding: 22px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    min-height: 120px;
}

.feature-card-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #262626;
    line-height: 1.45;
    text-align: center;
    margin: 0;
}

.feature-card-btn {
    display: block;
    width: 100%;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: 0.6px;
    border: none;
    border-radius: 0;
    margin: 0;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.feature-card-btn:hover {
    color: #ffffff !important;
    filter: brightness(0.92);
}

/* Button colors matching authentic 4 shades */
.btn-light-green {
    background-color: #27ae60;
}

.btn-green {
    background-color: #038b32;
}

.btn-dark-green {
    background-color: #00630a;
}

.btn-deep-green {
    background-color: #003b00;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card-img {
        height: 170px;
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-img {
        height: 180px;
    }
}

/* ==========================================================================
   HOMEPAGE: 3-COLUMN SECTION (Actual / News / Trading)
   ========================================================================== */
.news-trading-section {
    padding: 25px 0 35px;
    background-color: #ffffff;
}

.news-trading-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Column container — clean layout on white background */
.nt-column {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Column heading — uppercase title + gray bar to the right */
.nt-col-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    line-height: 1;
}

.nt-col-heading .nt-col-title {
    font-size: 17px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
}

.nt-col-heading a.nt-col-title:hover {
    color: var(--exchange-green);
}

.nt-col-heading .nt-col-line {
    flex-grow: 1;
    height: 16px;
    background-color: #f4f4f4;
}

/* Column 1: Actual */
.actual-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.actual-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 14px;
}

.actual-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.actual-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

.actual-card-title a {
    color: #222222;
    text-decoration: none;
}

.actual-card-title a:hover {
    color: var(--exchange-green);
}

.actual-card-excerpt {
    font-size: 13px;
    color: #444444;
    line-height: 1.45;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.news-date {
    font-size: 12px;
    color: #888888;
    font-weight: 400;
}

.actual-card .news-date {
    margin-top: auto;
}

/* Column 2: News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item-img {
    width: 96px;
    height: 68px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-item-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.news-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    line-height: 1.35;
    margin: 0;
}

.news-item-title a {
    color: #222222;
    text-decoration: none;
}

.news-item-title a:hover {
    color: var(--exchange-green);
}

.news-item-content .news-date {
    font-size: 11px;
    color: #888888;
}

.view-all-news-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    transition: color 0.2s;
}

.view-all-news-link:hover {
    color: var(--exchange-green);
}

/* Column 3: Trading Shortcuts & Helpline */
.trading-links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trading-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8.5px 14px;
    border-radius: 2px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.trading-btn:hover {
    opacity: 0.92;
    color: #ffffff;
    transform: translateX(2px);
}

/* Authentic color progression matching exchange.uz */
.trading-btn:nth-child(1) {
    background-color: #16a048;
}

.trading-btn:nth-child(2) {
    background-color: #118c3e;
}

.trading-btn:nth-child(3) {
    background-color: #0d7934;
}

.trading-btn:nth-child(4) {
    background-color: #0a692b;
}

.trading-btn:nth-child(5) {
    background-color: #075722;
}

.trading-btn:nth-child(6) {
    background-color: #05461a;
}

.trading-btn:nth-child(7) {
    background-color: #043813;
}

.trading-btn i {
    color: #ffffff;
    font-size: 14px;
    flex-shrink: 0;
}

/* Helpline box matching exchange.uz */
.helpline-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
    background: transparent;
    border: none;
}

.helpline-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2.5px solid #008744;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.helpline-icon i {
    color: #008744;
    font-size: 24px;
}

.helpline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.helpline-title {
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.helpline-phone {
    font-size: 20px;
    font-weight: 700;
    color: #008744;
    letter-spacing: 0.2px;
    text-decoration: none;
    line-height: 1.2;
}

.helpline-phone:hover {
    color: #006834;
}

/* ==========================================================================
   HOMEPAGE: BROKERS & MEMBERS CARDS SLIDER
   ========================================================================== */
.brokers-section {
    padding: 35px 0 30px;
    background-color: #ffffff;
}

.brokers-header-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}

.brokers-section-title {
    font-size: 20px;
    font-weight: 500;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.brokers-header-line {
    flex-grow: 1;
    height: 18px;
    background-color: #f6f6f6;
}

.brokers-slider-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
}

.broker-slider-dot {
    height: 10px;
    width: 12px;
    border-radius: 5px;
    background-color: #c4c4c4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.broker-slider-dot:hover {
    background-color: #a8a8a8;
}

.broker-slider-dot.active {
    width: 22px;
    background-color: #038b32;
}

.brokers-slider-viewport {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.brokers-slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.brokers-slide {
    width: 33.333333%;
    flex-shrink: 0;
}

.brokers-slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.broker-slide-card {
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: #ffffff;
    height: 100%;
}

.broker-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.broker-slide-card.tone-light {
    background-color: #475f56;
}

.broker-slide-card.tone-medium {
    background-color: #3f4f49;
}

.broker-slide-card.tone-dark {
    background-color: #173429;
}

.broker-slide-img-wrap {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
    background-color: #27342f;
    margin: 0;
    padding: 0;
}

.broker-slide-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.broker-slide-card:hover .broker-slide-banner-img {
    transform: scale(1.04);
}

.broker-slide-icon-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #037229;
    color: #ffffff;
    margin: -38px auto 16px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.broker-slide-card:hover .broker-slide-icon-badge {
    background-color: #038b32;
    transform: scale(1.08);
}

.broker-slide-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 16px 14px;
    letter-spacing: 0.4px;
    line-height: 1.35;
    text-align: center;
}

.broker-slide-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.broker-slide-text {
    font-size: 13px;
    line-height: 1.45;
    color: #ffffff !important;
    margin: 0;
    padding: 0 22px 34px;
    text-align: center;
    opacity: 0.95;
    flex-grow: 1;
}

/* Fallback grid classes for compatibility */
.brokers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.broker-card {
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.broker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.broker-card-banner {
    height: 120px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f1;
}

.broker-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.broker-card-icon-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--exchange-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.broker-card-body {
    padding: 24px 18px 18px;
}

.broker-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.broker-card-text {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .brokers-slide-grid {
        gap: 16px;
    }

    .broker-slide-banner {
        height: 150px;
    }

    .broker-slide-icon-badge {
        width: 64px;
        height: 64px;
        margin-top: -32px;
        font-size: 26px;
    }

    .broker-slide-body {
        min-height: 185px;
        padding: 14px 12px 24px;
    }

    .broker-slide-title {
        font-size: 13.5px;
    }

    .broker-slide-text {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .brokers-slide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .broker-slide-banner {
        height: 180px;
    }
}

.wide-promo-banner-wrap {
    margin-top: 30px;
    width: 100%;
}

.wide-promo-banner-link {
    display: block;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #ffffff;
    text-decoration: none;
    line-height: 0;
}

.wide-promo-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wide-promo-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1200 / 400;
}

.wide-promo-banner {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--exchange-border);
    background: linear-gradient(135deg, var(--exchange-dark), var(--exchange-green));
    color: #ffffff;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wide-promo-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.wide-promo-subtitle {
    font-size: 14px;
    color: #d2ecd6;
    max-width: 700px;
    margin: 0 auto 18px;
}

/* ==========================================================================
   HOMEPAGE: EVENTS & DELEGATIONS
   ========================================================================== */
.events-section {
    padding: 30px 0 35px;
    background-color: #ffffff;
    border-top: none;
}

.events-header-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.events-section-title {
    font-size: 20px;
    font-weight: 500;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.events-header-line {
    flex: 1;
    height: 18px;
    background-color: #f6f6f6;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.event-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-card-img {
    width: 100%;
    aspect-ratio: 600 / 255;
    overflow: hidden;
    background-color: #f0f0f0;
}

.event-card-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-img img {
    transform: scale(1.02);
}

.event-card-body {
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.event-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    line-height: 1.38;
    margin: 0 0 6px 0;
}

.event-card-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card-title a:hover {
    color: var(--exchange-green, #038b32);
}

.event-card-date {
    font-size: 12px;
    color: #777777;
    margin-top: auto;
    padding-top: 6px;
}

/* ==========================================================================
   HOMEPAGE: CONTACT INFORMATION (AUTHENTIC EXCHANGE.UZ STYLE)
   ========================================================================== */
.contact-info-section {
    padding: 35px 0 45px;
    background-color: #ffffff;
}

.contacts-header-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.contacts-section-title {
    font-size: 20px;
    font-weight: 500;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.contacts-header-line {
    flex: 1;
    height: 18px;
    background-color: #f6f6f6;
}

.contacts-icon-group {
    background: #ffffff url('/images/ffon_min.jpg') no-repeat center top / cover;
    padding: 40px 40px 35px;
    box-sizing: border-box;
    width: 100%;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 45px;
    row-gap: 32px;
    align-items: stretch;
}

.contacts-item {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.contacts-icon-circle-link {
    text-decoration: none;
    display: block;
    flex-shrink: 0;
}

.contacts-icon-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    border: 3px solid #037129;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #037129;
    margin-right: 22px;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contacts-icon-circle-link:hover .contacts-icon-circle,
.contacts-item:hover .contacts-icon-circle {
    transform: scale(1.04);
    border-color: #02571f;
    color: #02571f;
    box-shadow: 0 4px 12px rgba(3, 113, 41, 0.16);
}

.contacts-item-body {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.contacts-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 7px 0;
    letter-spacing: 0.2px;
}

.contacts-title-link {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-title-link:hover {
    color: #037129;
}

.contacts-highlight {
    color: #037129;
    font-weight: 700;
    margin-left: 5px;
    display: inline-block;
    white-space: nowrap;
}

.contacts-item-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #444444;
    margin: 0;
}

.contacts-inline-link {
    color: #037129;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contacts-inline-link:hover {
    color: #02571f;
    text-decoration: none;
}

@media (max-width: 991px) {
    .contacts-icon-group {
        padding: 25px 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }
}

@media (max-width: 575px) {
    .contacts-icon-circle {
        width: 58px;
        height: 58px;
        min-width: 58px;
        font-size: 26px;
        margin-right: 15px;
    }

    .contacts-item-title {
        font-size: 14px;
    }

    .contacts-item-text {
        font-size: 13px;
    }
}

/* Fallback / Legacy classes */
.contact-cards-section {
    padding: 30px 0 35px;
    background-color: #ffffff;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-info-card {
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info-card:hover {
    border-color: var(--exchange-green);
    box-shadow: 0 4px 10px rgba(3, 139, 50, 0.08);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #eaf5ee;
    color: var(--exchange-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.contact-info-subtitle {
    font-size: 14px;
    font-weight: 800;
    color: var(--exchange-green);
}

.contact-info-text {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   HOMEPAGE: PRE-FOOTER (4 Dark Columns)
   ========================================================================== */
.pre-footer-section {
    width: 100%;
    background-color: #22332c;
    color: #bcc4bf;
    padding: 40px 0 35px;
    font-size: 13px;
    border-bottom: none;
}

.pre-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.footer-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pre-footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    padding: 0;
    border: none;
    white-space: nowrap;
}

.footer-col-line {
    flex: 1;
    height: 12px;
    background-color: #374740;
}

.pre-footer-text {
    line-height: 1.6;
    color: #bcc4bf;
    font-size: 13px;
}

/* White Card for Newsletter Subscription */
.subscribe-white-card {
    background-color: #ffffff;
    padding: 16px 18px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 260px;
}

.subscribe-white-card .subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.subscribe-label {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.subscribe-input {
    width: 100%;
    max-width: 180px;
    height: 32px;
    padding: 5px 8px;
    border-radius: 2px;
    border: 1px solid #c0c0c0;
    background-color: #ffffff;
    font-size: 13px;
    color: #333333;
    box-sizing: border-box;
    outline: none;
}

.subscribe-input:focus {
    border-color: #038b32;
}

.subscribe-btn {
    padding: 6px 20px;
    background-color: #038b32;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.subscribe-btn:hover {
    background-color: #006b26;
}

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

.pre-footer-links li {
    margin-bottom: 12px;
    border: none;
    padding: 0;
    line-height: 1.4;
}

.pre-footer-links a {
    color: #bcc4bf;
    font-size: 13px;
    transition: color 0.15s ease;
    text-decoration: none;
}

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

.pre-footer-contacts {
    display: flex;
    flex-direction: column;
    color: #bcc4bf;
    font-size: 13px;
}

.pre-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bcc4bf;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pre-footer-contact-item i {
    color: #bcc4bf;
    font-size: 14px;
    margin-top: 3px;
    width: 14px;
    text-align: center;
}

.pre-footer-contact-item.address-item {
    margin-bottom: 16px;
}

.contact-address-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-address-street {
    color: #bcc4bf;
}

.contact-address-city {
    color: #bcc4bf;
}

.contact-how-to-find {
    color: var(--exchange-gold);
    font-weight: 500;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
    transition: color 0.2s ease;
}

.contact-how-to-find:hover {
    color: #ffffff;
    text-decoration: underline;
}

.pre-footer-phones-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ==========================================================================
   FOOTER (Bottom Area)
   ========================================================================== */
.footer-main {
    width: 100%;
    background-color: #22332c;
    color: #8c9792;
    padding: 22px 0 28px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 22px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #c5cec9;
    font-weight: 600;
    font-size: 13px;
}

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

.footer-copyright {
    color: #8c9792;
    line-height: 1.6;
    font-size: 12px;
}

.footer-cit-link {
    color: var(--exchange-gold);
    font-weight: 600;
    text-decoration: none;
}

.footer-cit-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background-color: var(--exchange-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.2s, transform 0.2s;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--exchange-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
}

.site-header,
.site-main,
.site-footer,
.top-sub-bar,
.header-main,
.mobile-top-bar,
.ticker-section,
.features-section,
.news-trading-section,
.brokers-section,
.events-section,
.contact-cards-section,
.pre-footer-section,
.footer-main,
.footer-bottom {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-x: clip;
}

@media (max-width: 1024px) {
    .news-trading-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-trading-grid>.nt-column:nth-child(3) {
        grid-column: span 2;
    }

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

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

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

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

@media (max-width: 900px) {
    .main-nav-bar {
        display: none;
    }

    .mobile-top-bar {
        display: flex;
    }

    .header-contacts {
        display: none;
    }

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

    .hero-slides-wrapper {
        height: 360px;
    }

    .hero-slide-title {
        font-size: 26px;
    }
}

@media (max-width: 900px) {
    .top-sub-bar {
        font-size: 11px;
        padding: 6px 0 7px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-slide-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        padding: 24px 0 !important;
    }

    .top-sub-bar-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .top-sub-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 3px;
        border-bottom: 1px solid #e8e8e8;
    }

    .top-sub-right {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bvi-toggle-text {
        display: none !important;
    }

    .bvi-toggle-text-short {
        display: inline !important;
    }

    .lang-full {
        display: none !important;
    }

    .lang-short {
        display: inline !important;
        font-weight: 700;
        font-size: 11px;
    }

    .top-sub-separator {
        display: none !important;
    }

    .bvi-toggle-btn {
        padding: 3px 8px;
        font-size: 11px;
        white-space: nowrap;
        gap: 5px;
        line-height: 1.25;
    }

    .lang-switcher {
        display: flex;
        align-items: center;
        gap: 2px;
        margin: 0;
        padding: 0;
    }

    .lang-item a {
        padding: 3px 6px;
        font-size: 11px;
        line-height: 1.2;
    }

    .top-social-links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        margin-left: auto;
    }

    .top-icon-btn,
    .top-social-links .social-icon-btn {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .sitemap-link {
        font-size: 11px;
        margin-left: 3px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }

    .bvi-panel {
        padding: 10px 0;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .bvi-panel-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .bvi-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
    }

    .bvi-actions {
        justify-content: flex-end;
    }

    .header-main {
        padding: 10px 0;
    }

    .header-main-inner {
        justify-content: center;
    }

    .branding-logo {
        gap: 10px;
        max-width: 100%;
        min-width: 0;
    }

    .logo-symbol {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .logo-symbol img {
        max-height: 50px !important;
        width: auto !important;
    }

    .branding-text {
        min-width: 0;
        word-break: break-word;
    }

    .branding-title {
        font-size: 13px;
        line-height: 1.25;
    }

    .branding-subtitle {
        font-size: 10px;
    }

    .news-trading-grid {
        grid-template-columns: 1fr;
    }

    .news-trading-grid>.nt-column:nth-child(3) {
        grid-column: span 1;
    }

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

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

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

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

    .pre-footer-col-title {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .top-sub-bar {
        padding: 4px 0 5px;
    }

    .top-sub-right {
        gap: 5px;
    }

    .bvi-toggle-text-short {
        display: none !important;
    }

    .bvi-toggle-btn {
        padding: 3px 6px;
    }

    .sitemap-link .sitemap-text {
        display: none !important;
    }

    .sitemap-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        background: #e8e8e8;
        border-radius: 2px;
        color: #555555;
        margin-left: 2px;
    }

    .hero-slides-wrapper {
        height: 320px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-subtitle {
        font-size: 13px;
    }

    .hero-slide-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-readon {
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   Internal Pages & News Styles
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, var(--exchange-bg-dark) 0%, #1c2722 100%);
    color: #ffffff;
    padding: 30px 0;
    border-bottom: 3px solid var(--exchange-green);
}

.breadcrumb-trail {
    font-size: 13px;
    color: #a8b8b0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-trail a {
    color: #c4d8ce;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-trail a:hover {
    color: var(--exchange-gold);
}

.breadcrumb-trail .separator {
    color: #72857b;
}

.breadcrumb-trail .current {
    color: #ffffff;
    font-weight: 600;
}

.page-main-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.article-meta-info {
    margin-top: 10px;
    font-size: 13px;
    color: #9cb5a6;
}

.page-content-section {
    padding: 40px 0 60px;
    background-color: var(--exchange-light-bg);
    min-height: 450px;
}

.empty-state-box {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 4px;
    padding: 50px 20px;
    text-align: center;
    color: #666666;
}

/* News Category Filter Tabs */
.news-filter-wrapper {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2ef;
}

.news-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.news-filter-tab {
    display: inline-block;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    background: #f4f6f5;
    border: 1px solid #e1e7e3;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-filter-tab:hover {
    background: #e8f0ec;
    color: var(--exchange-green);
    border-color: #c9d8ce;
}

.news-filter-tab.active {
    background: var(--exchange-green);
    color: #ffffff;
    border-color: var(--exchange-green);
    box-shadow: 0 2px 6px rgba(0, 99, 10, 0.25);
}

/* News Category Badges (3 clean variants) */
.news-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.news-detail-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.badge-news {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.badge-announcement {
    background: #fef7e0;
    color: #b06000;
    border: 1px solid #feefc3;
}

.badge-event {
    background: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #d2e3fc;
}

@media (max-width: 768px) {
    .news-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .news-filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-archive-card {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-archive-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-archive-img {
    position: relative;
    width: 100%;
    height: 190px;
    background: #eef2ef;
    overflow: hidden;
}

.news-archive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-archive-card:hover .news-archive-img img {
    transform: scale(1.04);
}

.news-archive-date {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
}

.news-archive-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-archive-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.news-archive-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s;
}

.news-archive-title a:hover {
    color: var(--exchange-green);
}

.news-archive-excerpt {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 15px;
    flex: 1;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
    width: 100%;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    background: #ffffff;
    border: 1px solid #dcdfdc;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination li a:hover {
    background: #e8f4ec;
    color: #1a6f44;
    border-color: #1a6f44;
    text-decoration: none;
}

.pagination li.active span {
    background: #1a6f44;
    color: #ffffff;
    border-color: #1a6f44;
    box-shadow: 0 2px 6px rgba(26, 111, 68, 0.25);
}

.pagination li.disabled span {
    color: #a0aba5;
    background: #f8faf9;
    border-color: #e5e8e6;
    cursor: not-allowed;
}

.article-detail-box {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 4px;
    padding: 35px 40px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.article-hero-media {
    margin-bottom: 25px;
    max-height: 480px;
    overflow: hidden;
    border-radius: 4px;
}

.article-hero-media img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.article-lead-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    font-weight: 600;
    border-left: 4px solid var(--exchange-green);
    padding-left: 16px;
    margin-bottom: 25px;
}

.article-rich-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.article-rich-content p {
    margin-bottom: 16px;
}

.article-rich-content h2,
.article-rich-content h3 {
    color: var(--exchange-dark);
    margin: 24px 0 12px;
}

.article-rich-content ul,
.article-rich-content ol {
    margin: 12px 0 16px 24px;
}

.article-nav-actions {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e2e7e4;
}

.pagination-wrapper {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-detail-box {
        padding: 25px 20px;
    }
}

@media (max-width: 640px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
    }

    .page-main-title {
        font-size: 20px;
    }
}

/* ==========================================================================
   DOCUMENT CMS PAGE STYLES
   ========================================================================== */
.docs-filter-container {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.docs-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2ef;
}

.docs-filter-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--exchange-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-year-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-year-select {
    padding: 6px 14px;
    border: 1px solid var(--exchange-border);
    border-radius: 4px;
    font-size: 13px;
    color: #333333;
    background-color: #fdfdfd;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.docs-year-select:focus {
    border-color: var(--exchange-green);
}

.category-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-pill-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.category-pill-btn.active {
    background: var(--exchange-green);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(3, 139, 50, 0.25);
}

.category-pill-badge {
    display: inline-block;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.08);
}

.category-pill-btn.active .category-pill-badge {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.documents-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.document-item-row {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
}

.document-item-row:hover {
    border-color: #a7d3b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.doc-type-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.doc-icon-pdf {
    background: linear-gradient(135deg, #e11d48, #be123c);
}

.doc-icon-doc {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.doc-icon-xls {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.doc-icon-generic {
    background: linear-gradient(135deg, #64748b, #475569);
}

.doc-main-content {
    flex: 1;
    min-width: 0;
}

.doc-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.doc-category-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--exchange-green);
    background: #eaf6ee;
    padding: 2px 8px;
    border-radius: 4px;
}

.doc-date-tag,
.doc-number-tag {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-title-text {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin: 0 0 6px;
}

.doc-desc-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.doc-action-col {
    flex-shrink: 0;
}

.doc-action-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.doc-title-link {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.doc-title-link:hover {
    color: var(--exchange-green);
}

.btn-doc-preview {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--exchange-green);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-doc-preview:hover {
    background: var(--exchange-green);
    border-color: var(--exchange-green);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 99, 10, 0.2);
}

.btn-doc-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--exchange-green);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-doc-download:hover {
    background: var(--exchange-dark);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-doc-disabled {
    display: inline-block;
    padding: 8px 14px;
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 4px;
    text-align: center;
}

/* PDF Viewer Modal */
.pdf-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.pdf-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-container {
    width: 100%;
    max-width: 1100px;
    height: 88vh;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdf-modal-overlay.active .pdf-modal-container {
    transform: scale(1);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pdf-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pdf-modal-icon {
    font-size: 20px;
    color: #dc2626;
    flex-shrink: 0;
}

.pdf-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pdf-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.pdf-modal-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.pdf-modal-btn-download {
    background: var(--exchange-green);
    color: #ffffff;
    border-color: var(--exchange-green);
}

.pdf-modal-btn-download:hover {
    background: var(--exchange-dark);
    color: #ffffff;
    border-color: var(--exchange-dark);
}

.pdf-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 4px;
}

.pdf-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.pdf-modal-body {
    flex: 1;
    position: relative;
    background: #525659;
    overflow: hidden;
}

.pdf-modal-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
}

.pdf-modal-loading i {
    font-size: 28px;
    color: var(--exchange-green);
}

.pdf-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   INLINE EMBEDDED PDF VIEWER (Directly inside page/article content)
   ========================================================================== */
.embedded-pdf-wrapper {
    margin: 28px 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.embedded-pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.embedded-pdf-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.embedded-pdf-title i {
    color: #dc2626;
    font-size: 16px;
}

.embedded-pdf-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.embedded-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--exchange-green);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.embedded-pdf-download:hover {
    background: var(--exchange-green);
    color: #ffffff;
}

.embedded-pdf-frame,
iframe.embedded-pdf-frame,
.article-rich-content iframe.embedded-pdf-frame {
    width: 100%;
    height: 680px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: block;
    background: #525659;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin: 24px 0;
}

.embedded-pdf-wrapper .embedded-pdf-frame,
.embedded-pdf-wrapper iframe.embedded-pdf-frame {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* -------------------------------------------------------------------------
 * Year Tabs & Interactive Tab Switcher Component
 * ------------------------------------------------------------------------- */
.year-tabs-container {
    margin: 24px 0 32px;
    width: 100%;
}

.year-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.year-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background-color: #5ba4e5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    text-decoration: none;
    line-height: 1.25;
}

.year-tab-btn:hover {
    background-color: #4290d8;
    color: #ffffff;
}

.year-tab-btn.active {
    background-color: #278d38;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.year-tabs-content {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.year-tabs-content .embedded-pdf-wrapper {
    margin: 16px;
}

.year-tab-pane {
    display: none;
    animation: fadeInTab 0.22s ease-in-out;
}

.year-tab-pane.active {
    display: block;
}

/* Striped data table inside tabs matching Image 3 */
.year-tabs-content table,
.year-tab-pane table,
.year-table-striped {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    background: #ffffff;
}

.year-tabs-content table th,
.year-tabs-content table td,
.year-tab-pane table th,
.year-tab-pane table td,
.year-table-striped th,
.year-table-striped td {
    padding: 12px 18px;
    border: 1px solid #dcdcdc;
    vertical-align: middle;
    line-height: 1.5;
}

.year-tabs-content table tr:nth-child(even),
.year-tab-pane table tr:nth-child(even),
.year-table-striped tr:nth-child(even) {
    background-color: #fafafa;
}

.year-tabs-content table tr:hover,
.year-tab-pane table tr:hover,
.year-table-striped tr:hover {
    background-color: #f5f9f6;
}

.year-tabs-content table td:first-child,
.year-tab-pane table td:first-child,
.year-table-striped td:first-child {
    font-weight: 700;
    width: 62%;
    color: #1f2937;
}

.year-tabs-content table td:last-child,
.year-tab-pane table td:last-child,
.year-table-striped td:last-child {
    color: #374151;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .year-tabs-nav {
        gap: 6px;
        border-bottom: none;
    }
    .year-tab-btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 4px;
    }
    .year-tabs-content {
        border-top: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 12px;
    }
}

/* Embedded Generic Iframe (Maps, Widgets, External services) */
.embedded-iframe-wrapper {
    margin: 24px 0;
    width: 100%;
    max-width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.embedded-iframe-wrapper iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block;
}

/* Embedded Video Styles */
.embedded-video-wrapper {
    margin: 24px 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.embedded-video-player {
    display: block;
    width: 100%;
    max-height: 540px;
    background: #000;
    outline: none;
}

.embedded-video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.embedded-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embedded-video-caption {
    background: #14281d;
    color: #e2f0e6;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #1a6f44;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.btn-video-link:hover {
    background: #135534;
    color: #fff !important;
    text-decoration: none;
}

/* ==========================================================================
   RICH CONTENT: EMBEDDED IMAGES, SIZING & TEXT WRAPPING
   ========================================================================== */
.embedded-image-box {
    margin: 24px 0;
    max-width: 100%;
    box-sizing: border-box;
}

.embedded-image-box .embedded-image-inner {
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8fafc;
}

.embedded-image-box .embedded-image-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.embedded-image-box .embedded-image-zoomable {
    cursor: zoom-in;
}

.embedded-image-box .embedded-image-zoomable:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.embedded-image-caption {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    font-style: italic;
    margin-top: 8px;
    text-align: center;
    padding: 0 6px;
}

/* Alignment variants */
.embedded-image-box.embedded-image-center {
    margin: 28px auto;
    display: table;
    clear: both;
}

.embedded-image-box.embedded-image-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0;
    clear: both;
}

.embedded-image-box.embedded-image-left {
    float: left;
    margin: 8px 28px 20px 0;
    display: block;
    clear: left;
}

.embedded-image-box.embedded-image-right {
    float: right;
    margin: 8px 0 20px 28px;
    display: block;
    clear: right;
}

/* Clearfix for rich content container */
.article-rich-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Native images inside .article-rich-content */
.article-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.article-rich-content p[style*="text-align: center"] img,
.article-rich-content p[style*="text-align:center"] img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-rich-content p[style*="text-align: end"] img,
.article-rich-content p[style*="text-align:end"] img,
.article-rich-content p[style*="text-align: right"] img,
.article-rich-content p[style*="text-align:right"] img {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

/* Image Lightbox Modal */
.image-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.image-lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.image-lightbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-lightbox-content {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-lightbox-caption {
    margin-top: 12px;
    color: #e2e8f0;
    font-size: 14px;
    text-align: center;
    max-width: 700px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .embedded-image-box.embedded-image-left,
    .embedded-image-box.embedded-image-right {
        float: none !important;
        margin: 20px auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}



@media (max-width: 768px) {
    .document-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .doc-action-col {
        width: 100%;
    }

    .doc-action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-doc-preview,
    .btn-doc-download {
        width: 100%;
        justify-content: center;
    }

    .pdf-modal-overlay {
        padding: 0;
    }

    .pdf-modal-container {
        height: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .pdf-modal-header {
        padding: 10px 14px;
    }

    .pdf-modal-actions span {
        display: none;
    }

    .pdf-modal-btn {
        padding: 6px 10px;
    }

    .embedded-pdf-frame,
    iframe.embedded-pdf-frame,
    .article-rich-content iframe.embedded-pdf-frame {
        height: 480px;
        margin: 16px 0;
    }

    .docs-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .docs-year-filter {
        width: 100%;
        justify-content: space-between;
    }

    .docs-year-select {
        flex: 1;
    }
}

/* ==========================================================================
   Broker Registry Module Styles (Iteration 13)
   ========================================================================== */

.brokers-filter-panel {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brokers-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.brokers-filter-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brokers-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.brokers-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.brokers-search-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 13px;
    pointer-events: none;
}

.brokers-search-input {
    padding: 9px 34px 9px 34px;
    font-size: 13px;
    border: 1px solid var(--exchange-border);
    border-radius: 4px;
    width: 320px;
    max-width: 100%;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    color: #374151;
    background: #ffffff;
}

.brokers-search-input:focus {
    border-color: var(--exchange-green);
    box-shadow: 0 0 0 3px rgba(31, 122, 64, 0.12);
}

.brokers-search-clear {
    position: absolute;
    right: 10px;
    color: #9ca3af;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    padding: 4px;
}

.brokers-search-clear:hover {
    color: #e11d48;
}

.btn-brokers-search {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--exchange-green);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-brokers-search:hover {
    background: var(--exchange-dark);
}

.brokers-reset-btn {
    font-size: 12px;
    font-weight: 600;
    color: #e11d48;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fff1f2;
    transition: all 0.2s;
}

.brokers-reset-btn:hover {
    background: #ffe4e6;
    color: #be123c;
}

.brokers-region-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brokers-region-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.brokers-region-pill:hover {
    background: #e5e7eb;
    color: #111827;
    border-color: #d1d5db;
}

.brokers-region-pill.active {
    background: var(--exchange-green);
    color: #ffffff;
    border-color: var(--exchange-green);
}

.brokers-pill-badge {
    display: inline-block;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    background: #e5e7eb;
    color: #374151;
    transition: all 0.2s;
}

.brokers-region-pill.active .brokers-pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Empty Box */
.brokers-empty-box {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    padding: 55px 20px;
    text-align: center;
}

.empty-state-icon {
    font-size: 46px;
    color: #a0aba5;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.empty-state-desc {
    font-size: 14px;
    color: #6b7280;
    max-width: 520px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

/* Desktop Table */
.brokers-desktop-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brokers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #374151;
}

.brokers-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.brokers-table th {
    padding: 13px 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #475569;
    text-align: left;
    border: none;
}

.brokers-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s;
}

.brokers-table tbody tr:hover {
    background-color: #f8fafc;
}

.brokers-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.broker-seat-badge {
    display: inline-block;
    padding: 3px 9px;
    background: #eaf6ee;
    color: var(--exchange-green);
    border: 1px solid #c4e4d0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.broker-seat-empty {
    color: #9ca3af;
    font-weight: 600;
}

.broker-firm-name {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 4px;
}

.broker-firm-address {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.broker-region-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 8px;
    white-space: nowrap;
}

.broker-director-name {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
}

.broker-contact-row {
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

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

.broker-contact-row a {
    color: var(--exchange-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.broker-contact-row a:hover {
    color: var(--exchange-dark);
    text-decoration: underline;
}

.broker-license-tag {
    font-size: 12px;
    font-weight: 600;
    color: #0f766e;
    display: flex;
    align-items: center;
    gap: 5px;
}

.broker-license-date {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.broker-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.broker-term-indefinite {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
}

.broker-text-muted {
    color: #9ca3af;
}

/* Mobile Cards (Hidden on desktop) */
.brokers-mobile-cards-wrapper {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.broker-mobile-card {
    background: #ffffff;
    border: 1px solid var(--exchange-border);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.broker-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.broker-card-firm {
    flex: 1;
    min-width: 0;
}

.broker-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.35;
    word-break: break-word;
}

.broker-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.broker-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.broker-card-label {
    color: #6b7280;
    font-weight: 600;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.broker-card-value {
    color: #1f2937;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.broker-card-value a {
    color: var(--exchange-green);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .brokers-desktop-table-wrapper {
        display: none;
    }

    .brokers-mobile-cards-wrapper {
        display: flex;
    }

    .brokers-filter-header {
        flex-direction: column;
        align-items: stretch;
    }

    .brokers-search-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .brokers-search-input-wrap {
        width: 100%;
    }

    .brokers-search-input {
        width: 100%;
    }

    .btn-brokers-search {
        width: 100%;
        text-align: center;
    }

    .brokers-reset-btn {
        justify-content: center;
    }
}

/* ==========================================================================
   SITE SEARCH STYLES
   ========================================================================== */
.search-section {
    padding: 35px 0 60px 0;
    background-color: #f7f9f8;
    min-height: 480px;
}

.search-form-container {
    background: #ffffff;
    border: 1px solid #dce4e0;
    border-radius: 8px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-form-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #88988f;
    font-size: 16px;
}

.search-input-field {
    width: 100%;
    height: 46px;
    padding: 8px 16px 8px 44px;
    font-size: 15px;
    font-family: inherit;
    color: #2b332e;
    background: #fbfdfc;
    border: 1px solid #ced8d2;
    border-radius: 6px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input-field:focus {
    background: #ffffff;
    border-color: #00630a;
    box-shadow: 0 0 0 3px rgba(0, 99, 10, 0.12);
}

.search-submit-btn {
    height: 46px;
    padding: 0 28px;
    background: #00630a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: #004d08;
    box-shadow: 0 2px 6px rgba(0, 99, 10, 0.3);
}

.search-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2ebe6;
}

.search-results-headline {
    font-size: 20px;
    font-weight: 700;
    color: #1f2b23;
    margin: 0;
}

.search-count-badge {
    font-size: 14px;
    color: #556b5e;
    background: #eaf1ed;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.search-highlight-query {
    font-style: italic;
    color: #00630a;
    margin-left: 4px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.search-result-card {
    background: #ffffff;
    border: 1px solid #dce4df;
    border-radius: 8px;
    padding: 22px 26px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.search-result-card:hover {
    border-color: #00630a;
    box-shadow: 0 4px 14px rgba(0, 99, 10, 0.08);
    transform: translateY(-1px);
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.search-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.search-type-badge.type-page {
    background-color: #e6f4ea;
    color: #0d652d;
    border-color: #b7e1cd;
}

.search-type-badge.type-news {
    background-color: #e8f0fe;
    color: #1a73e8;
    border-color: #aecbfa;
}

.search-type-badge.type-document {
    background-color: #fef7e0;
    color: #b06000;
    border-color: #fdd663;
}

.search-type-badge.type-broker {
    background-color: #f3e8fd;
    color: #7627bb;
    border-color: #d7aefb;
}

.search-type-badge.type-tender {
    background-color: #fce8e6;
    color: #c5221f;
    border-color: #f5b7b1;
}

.search-result-date {
    font-size: 13px;
    color: #7f8c8d;
}

.search-result-date i {
    margin-right: 4px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.search-result-title a {
    color: #1a2b20;
    text-decoration: none;
    transition: color 0.15s ease;
}

.search-result-title a:hover {
    color: #00630a;
}

.search-result-description {
    font-size: 14px;
    line-height: 1.6;
    color: #505d54;
    margin: 0 0 14px 0;
}

.search-result-footer {
    display: flex;
    align-items: center;
}

.search-read-more-link {
    font-size: 13px;
    font-weight: 600;
    color: #00630a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.search-read-more-link:hover {
    color: #004d08;
    gap: 8px;
}

.search-state-notice {
    background: #ffffff;
    border: 1px solid #dce4df;
    border-radius: 8px;
    padding: 50px 30px;
    text-align: center;
    color: #64756b;
}

.search-state-notice .notice-icon {
    font-size: 42px;
    color: #a4b5ab;
    margin-bottom: 16px;
}

.search-state-notice .notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #2b3b30;
    margin: 0 0 8px 0;
}

.search-state-notice .notice-desc {
    font-size: 14px;
    color: #708277;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.search-pagination-wrap {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.search-pagination {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
}

.search-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d2ded7;
    border-radius: 4px;
    background: #ffffff;
    color: #2c3e34;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-pagination .page-item .page-link:hover {
    background: #f0f6f2;
    border-color: #00630a;
    color: #00630a;
}

.search-pagination .page-item.active .page-link {
    background: #00630a;
    border-color: #00630a;
    color: #ffffff;
    font-weight: 700;
}

.search-pagination .page-item.disabled .page-link {
    background: #f8faf9;
    border-color: #e3ede7;
    color: #a6b5ad;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .search-form-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-submit-btn {
        width: 100%;
    }

    .search-header-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-result-card {
        padding: 18px 16px;
    }

    .search-result-title {
        font-size: 16px;
    }
}

/* ==========================================================================
   Public Information Pages & System Errors
   ========================================================================== */

/* 1. FAQ Accordion Styles */
.faq-page-section {
    background: #f7faf8;
    padding: 40px 0 60px;
}

.faq-container {
    max-width: 960px;
    margin: 0 auto;
}

.faq-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f4ec;
    color: #00630a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.faq-lead-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5c53;
    margin-bottom: 25px;
}

.faq-accordion-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.faq-item[open] {
    border-color: #00630a;
    box-shadow: 0 4px 14px rgba(0, 99, 10, 0.08);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    font-size: 16px;
    font-weight: 600;
    color: #1a2c23;
    list-style: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-summary {
    background: #f4faf6;
    color: #00630a;
    border-bottom: 1px solid #e2eee7;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    line-height: 1.4;
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eef6f1;
    color: #00630a;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item[open] .faq-number {
    background: #00630a;
    color: #ffffff;
}

.faq-icon {
    font-size: 14px;
    color: #8da498;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: #00630a;
}

.faq-answer {
    padding: 20px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: #3b4d43;
    background: #ffffff;
}

.faq-answer p {
    margin: 0;
}

.faq-help-cta {
    background: linear-gradient(135deg, #182e23 0%, #0d1e15 100%);
    border-radius: 10px;
    padding: 28px 32px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.faq-help-icon i {
    font-size: 42px;
    color: #2ecc71;
}

.faq-help-content {
    flex: 1;
}

.faq-help-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.faq-help-content p {
    font-size: 14px;
    color: #b7cbbf;
    margin: 0;
}

.faq-help-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-faq-appeal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00630a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-faq-appeal:hover {
    background: #00870e;
    color: #ffffff;
}

.btn-faq-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-faq-phone:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* 2. Contacts & Regional Branches Styles */
.contacts-page-section {
    background: #f7faf8;
    padding: 24px 0 40px;
}

.contacts-section-head {
    margin-bottom: 16px;
}

.contacts-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f4ec;
    color: #00630a;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contacts-section-tag.tag-branches {
    background: #e6f0fa;
    color: #09599e;
}

.contacts-block-title {
    font-size: 20px;
    font-weight: 800;
    color: #122119;
    margin-bottom: 4px;
}

.contacts-block-lead {
    font-size: 14px;
    color: #4a5c53;
    max-width: 800px;
    margin-bottom: 18px;
}

.central-office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

.contact-info-card.card-highlighted {
    border-color: #27ae60;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcf8 100%);
}

.card-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eaf4ee;
    color: #00630a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 12px;
}

.card-icon-bubble.bubble-trust {
    background: #e5f6eb;
    color: #27ae60;
}

.card-details h4 {
    font-size: 14px;
    font-weight: 700;
    color: #63776d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-text-main {
    font-size: 16px;
    font-weight: 700;
    color: #122119;
    line-height: 1.4;
    margin-bottom: 6px;
}

.card-text-main a {
    color: #122119;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-text-main a:hover {
    color: #00630a;
}

.card-text-sub {
    font-size: 13px;
    color: #5c6e64;
    margin-bottom: 12px;
}

.card-text-sub a {
    color: #5c6e64;
    text-decoration: none;
}

.card-text-sub a:hover {
    color: #00630a;
}

.card-badge-tag {
    display: inline-block;
    padding: 3px 8px;
    background: #eef4f1;
    color: #4a5c53;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.card-link-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00630a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 10px;
    transition: color 0.2s ease;
}

.card-link-action:hover {
    color: #00870e;
    text-decoration: underline;
}

.contacts-map-box {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contacts-map-header {
    background: #f2f7f4;
    padding: 12px 20px;
    border-bottom: 1px solid #e1ebe5;
    font-size: 14px;
    font-weight: 600;
    color: #273b31;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacts-map-frame-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
}

.contacts-schedule-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.schedule-banner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f9fbf9;
}

.schedule-banner-item.highlight-lunch {
    background: #fff9e6;
    border: 1px solid #f6e0a4;
}

.schedule-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #e8f4ec;
    color: #00630a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.schedule-banner-item.highlight-lunch .schedule-icon-wrap {
    background: #faecc3;
    color: #b7791f;
}

.schedule-content {
    display: flex;
    flex-direction: column;
}

.schedule-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #63776d;
    font-weight: 700;
    margin-bottom: 2px;
}

.schedule-val {
    font-size: 14px;
    font-weight: 700;
    color: #122119;
}

.card-inline-hint {
    font-size: 12px;
    font-weight: 400;
    color: #6a7c73;
    margin-left: 4px;
}

/* Department Email Directory */
.tag-departments {
    background: #eaf2fb !important;
    color: #09599e !important;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.dept-card {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dept-card:hover {
    transform: translateY(-2px);
    border-color: #09599e;
    box-shadow: 0 6px 18px rgba(9, 89, 158, 0.08);
}

.dept-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dept-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eef6f1;
    color: #00630a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.dept-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #122119;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.dept-card-desc {
    font-size: 12px;
    color: #5c6e64;
    line-height: 1.45;
    margin: 0;
}

.dept-card-bottom {
    padding-top: 12px;
    border-top: 1px dashed #e1ebe5;
}

.dept-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #09599e;
    background: #f0f6fa;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dept-email-link:hover {
    background: #09599e;
    color: #ffffff;
}

/* Site Responsible Person Box */
.site-responsible-box {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbf8 100%);
    border: 1px solid #c9ded3;
    border-left: 4px solid #00630a;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 45px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.site-responsible-header {
    margin-bottom: 18px;
}

.site-responsible-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00630a;
    background: #e8f4ec;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.site-responsible-title {
    font-size: 17px;
    font-weight: 700;
    color: #122119;
    margin: 0;
}

.site-responsible-body {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 28px;
    align-items: center;
}

.site-responsible-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.responsible-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e8f4ec;
    color: #00630a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.responsible-name {
    font-size: 17px;
    font-weight: 700;
    color: #122119;
    margin: 0 0 4px 0;
}

.responsible-position {
    font-size: 13px;
    color: #273b31;
    line-height: 1.4;
    margin: 0 0 2px 0;
    font-weight: 500;
}

.responsible-org {
    font-size: 12px;
    color: #63776d;
    margin: 0;
}

.site-responsible-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e1ebe5;
    border-radius: 8px;
    padding: 16px;
}

.responsible-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.responsible-contact-item i {
    color: #09599e;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.res-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #71847a;
    margin-bottom: 2px;
}

.res-val {
    font-size: 13px;
    font-weight: 700;
    color: #09599e;
    text-decoration: none;
}

.res-val:hover {
    text-decoration: underline;
}

.res-val-text {
    font-size: 12px;
    color: #273b31;
    line-height: 1.35;
}

/* Branch Grid & Cards (Compact) */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.branch-card {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.branch-card:hover {
    border-color: #09599e;
    box-shadow: 0 4px 12px rgba(9, 89, 158, 0.08);
    transform: translateY(-2px);
}

.branch-card-featured {
    border: 2px solid #00630a;
    background: #fcfffd;
    box-shadow: 0 3px 10px rgba(0, 99, 10, 0.06);
}

.branch-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf3f0;
}

.branch-region-badge {
    font-size: 14px;
    font-weight: 700;
    color: #122119;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.branch-region-badge i {
    color: #00630a;
}

.branch-card-body {
    margin-bottom: 0;
}

.branch-prop-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 6px;
}

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

.prop-icon {
    color: #09599e;
    width: 14px;
    margin-top: 1px;
    flex-shrink: 0;
    text-align: center;
    font-size: 12px;
}

.prop-data {
    display: flex;
    flex-direction: column;
}

.prop-label {
    font-size: 10px;
    color: #71847a;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.prop-val-highlight {
    color: #00630a;
    font-size: 12.5px;
    font-weight: 700;
}

.prop-val {
    color: #273b31;
    font-size: 12px;
}

.prop-link {
    color: #09599e;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
}

.prop-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .contacts-schedule-banner {
        grid-template-columns: 1fr;
    }
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-responsible-body {
        grid-template-columns: 1fr;
    }
    .site-responsible-contacts {
        grid-template-columns: 1fr;
    }
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
    .branches-grid {
        grid-template-columns: 1fr;
    }
}

/* 3. Citizen Appeals Styles */
.appeals-page-section {
    background: #f7faf8;
    padding: 40px 0 60px;
}

.appeals-layout-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start;
}

.appeals-info-card {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.appeals-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.appeals-info-header i {
    font-size: 26px;
    color: #00630a;
}

.appeals-info-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #122119;
    margin: 0;
    line-height: 1.3;
}

.appeals-info-text {
    font-size: 13px;
    line-height: 1.6;
    color: #4a5c53;
    margin-bottom: 22px;
}

.appeals-rules-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.rule-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rule-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #eef6f1;
    color: #00630a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.rule-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a2c23;
    margin-bottom: 2px;
}

.rule-text span {
    font-size: 12px;
    line-height: 1.4;
    color: #5c6e64;
}

.appeals-direct-contact {
    background: #f4faf6;
    border: 1px dashed #b8dbca;
    border-radius: 8px;
    padding: 16px;
}

.appeals-direct-contact h4 {
    font-size: 13px;
    font-weight: 700;
    color: #122119;
    margin-bottom: 6px;
}

.direct-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #00630a;
    text-decoration: none;
    margin-bottom: 4px;
}

.direct-phone-link:hover {
    color: #00870e;
}

.appeals-direct-contact p {
    font-size: 11px;
    color: #63776d;
    margin: 0;
}

.appeal-form-box {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 10px;
    padding: 35px 32px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.form-header-box {
    margin-bottom: 24px;
    border-bottom: 1px solid #edf3f0;
    padding-bottom: 16px;
}

.form-header-box h2 {
    font-size: 20px;
    font-weight: 800;
    color: #122119;
    margin-bottom: 6px;
}

.form-header-box p {
    font-size: 13px;
    color: #63776d;
    margin: 0;
}

.alert-form-danger {
    background: #fdf2f2;
    border: 1px solid #f8b4b4;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #9b1c1c;
}

.alert-form-danger .alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-form-danger ul {
    margin: 6px 0 0 16px;
    padding: 0;
    font-size: 13px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #273b31;
    margin-bottom: 6px;
}

.required-star {
    color: #e02424;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cfded6;
    border-radius: 6px;
    font-size: 14px;
    color: #122119;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00630a;
    box-shadow: 0 0 0 3px rgba(0, 99, 10, 0.12);
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
    border-color: #e02424;
    background: #fffafa;
}

.field-error-text {
    display: block;
    font-size: 12px;
    color: #e02424;
    margin-top: 4px;
    font-weight: 500;
}

.form-group-checkbox {
    margin: 20px 0 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #00630a;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-text {
    font-size: 13px;
    line-height: 1.5;
    color: #3b4d43;
    user-select: none;
}

.form-actions-box {
    margin-top: 24px;
}

.btn-submit-appeal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #00630a;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 3px 8px rgba(0, 99, 10, 0.2);
}

.btn-submit-appeal:hover {
    background: #00870e;
    transform: translateY(-1px);
}

.btn-submit-appeal:active {
    transform: translateY(0);
}

/* 4. Citizen Appeals Success Page */
.appeals-success-section {
    background: #f7faf8;
    padding: 50px 0 80px;
}

.success-card-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.success-card-box {
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 12px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.success-icon-bubble {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.success-title {
    font-size: 22px;
    font-weight: 800;
    color: #122119;
    margin-bottom: 16px;
}

.success-reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2f7f4;
    border: 1px solid #cce0d6;
    border-radius: 30px;
    padding: 8px 18px;
    margin-bottom: 20px;
}

.reg-label {
    font-size: 13px;
    color: #5c6e64;
}

.reg-number {
    font-size: 15px;
    color: #00630a;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.success-lead-text {
    font-size: 15px;
    line-height: 1.7;
    color: #3b4d43;
    margin-bottom: 24px;
    text-align: left;
}

.success-info-notice {
    background: #eef6f1;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #273b31;
    text-align: left;
    margin-bottom: 30px;
}

.success-info-notice i {
    font-size: 16px;
    color: #00630a;
    margin-top: 2px;
    flex-shrink: 0;
}

.success-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-success-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00630a;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-success-home:hover {
    background: #00870e;
    color: #ffffff;
}

.btn-success-contacts {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2f7f4;
    border: 1px solid #cce0d6;
    color: #273b31;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-success-contacts:hover {
    background: #e3ede7;
    color: #122119;
}

/* 5. System Error Pages */
.error-page-section {
    background: #f7faf8;
    padding: 60px 0 80px;
}

.error-box-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid #d9e6df;
    border-radius: 12px;
    padding: 45px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.error-code-badge {
    display: inline-block;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: #00630a;
    background: #eaf5ee;
    padding: 12px 28px;
    border-radius: 12px;
    margin-bottom: 22px;
    letter-spacing: 2px;
}

.error-code-badge.badge-warning {
    color: #b45309;
    background: #fef3c7;
}

.error-code-badge.badge-danger {
    color: #c81e1e;
    background: #fde8e8;
}

.error-code-badge.badge-maintenance {
    color: #1d4ed8;
    background: #dbeafe;
    font-size: 46px;
}

.error-heading {
    font-size: 22px;
    font-weight: 800;
    color: #122119;
    margin-bottom: 14px;
    line-height: 1.3;
}

.error-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5c53;
    margin-bottom: 30px;
}

.error-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-error-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00630a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-error-primary:hover {
    background: #00870e;
    color: #ffffff;
}

.btn-error-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef4f1;
    color: #273b31;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d2ded7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-error-secondary:hover {
    background: #e1ebe5;
    color: #122119;
}

.btn-error-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #00630a;
    color: #00630a;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-error-outline:hover {
    background: #00630a;
    color: #ffffff;
}

/* Responsive Breakpoints for Public Info & Errors */
@media (max-width: 992px) {
    .central-office-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .faq-help-cta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .faq-help-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .central-office-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .appeal-form-box {
        padding: 24px 18px;
    }

    .success-card-box {
        padding: 30px 20px;
    }

    .error-box-container {
        padding: 35px 20px;
    }

    .faq-summary {
        padding: 14px 16px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 16px 16px;
    }

    .faq-help-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-faq-appeal,
    .btn-faq-phone {
        width: 100%;
        justify-content: center;
    }

    .error-actions-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-error-primary,
    .btn-error-secondary,
    .btn-error-outline {
        width: 100%;
        justify-content: center;
    }
}