/* Light visual polish on the existing design. Loaded after a11y-fixes.css; remove this file to undo. */

/* Home: investor resources as a row of matching link cards */
.quick-links {
    padding: 28px 0 8px;
}
.quick-links-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.quick-links-list li {
    display: flex;
}
.quick-links-list a {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid #e3e6f0;
    border-top: 3px solid #000080;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: #1f2a44;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.quick-links-list a:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 128, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}
.quick-links-list .fa {
    margin-bottom: 6px;
    font-size: 22px;
    color: #ea4c4c;
}
.quick-links-list .ql-title {
    font-size: 17px;
    font-weight: 700;
    color: #000080;
}
.quick-links-list .ql-note {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
}
@media (max-width: 991.98px) {
    .quick-links-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .quick-links-list {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .quick-links-list a,
    .quick-links-list a:hover {
        transition: none;
        transform: none;
    }
}

/* ---------- Readability: the tables and lists used thin (300) text with stretched letter spacing ---------- */
.tabs-content .div-body {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: normal;
    color: #1f2937;
}
.tabs-content .div-header {
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #000080;
    background: #f5f7fc;
}
.tabs-content .div-body .div-content {
    border-bottom-color: #eef0f5;
    transition: background-color 0.12s ease;
}
.tabs-content .div-body .div-content:hover {
    background-color: #f9fafe;
}
.h-second p {
    color: #4b5563;
}

/* Cards: rounded corners and a softer shadow */
.shadow-div,
.h-second .shadow {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(16, 24, 64, 0.08), 0 1px 2px rgba(16, 24, 64, 0.06) !important;
}
.shadow-div {
    overflow: hidden;
}

/* ---------- Header ---------- */
header {
    position: relative;
    z-index: 5;
    background: #fff;
    box-shadow: 0 1px 0 #e6e8ef;
}
header .navbar-nav a.nav-link {
    color: #1f2a44;
}
/* The two login buttons had an inline 12px size; Investors Login becomes the solid main action. */
.navbar .navbar-nav .login .nav-link {
    font-size: 14px !important;
    border-radius: 6px;
}
header a.nav-link[href*="investors/login"] {
    background: #000080;
    color: #fff !important;
}
header a.nav-link[href*="investors/login"]:hover {
    background: #00005c;
}

/* Laptops and landscape tablets (992-1365px): the header did not fit. The inline margin-left: -100px
   clipped the logo, and "Client login" ran off-screen at 1024-1100px. */
@media (min-width: 992px) and (max-width: 1365.98px) {
    header .navbar-brand {
        margin-left: 0 !important;
    }
}
/* The full menu only fits from 1200px; below that, use the slide-out menu and its button. Before,
   Bootstrap showed the button only below 992px while the site hid the menu below 1024px, so at
   992-1023px the menu could not be opened at all, and at 1024-1150px it ran off-screen. */
@media (max-width: 1199.98px) {
    .navbar-expand-lg .navbar-toggler {
        display: block;
    }
    .navbar-expand-lg .navbar-collapse {
        display: block !important;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        z-index: 9;
        width: 270px;
        overflow-y: auto;
        background-color: #fff;
        transition: left 0.5s;
    }
    .navbar-expand-lg .navbar-collapse.show {
        left: 0;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    .navbar-expand-lg .navbar-collapse {
        transition: none;
    }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
    .navbar .navbar-nav li {
        padding: 0 5px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 13px;
    }
    .navbar .navbar-nav .login .nav-link {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 13px !important;
    }
}

/* Tab bars */
.tabs-1 a {
    font-size: 15px;
}
.tabs-1 a.active {
    font-weight: 600;
}

/* News & circulars: more room, and a visible hover */
.li-left-border li {
    padding-top: 6px;
    padding-bottom: 6px;
}
.li-left-border li:before {
    top: 6px;
}
.li-left-border li a:hover {
    color: #000080 !important;
    text-decoration: underline;
}

/* Forms */
.btn-bg-3 {
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
}
#contactUsForm .form-control:focus {
    border-color: #000080;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.15);
}

/* Footer: the copyright line is text now, styled like its neighbours */
footer .footer-copyright {
    font-size: 14px;
    line-height: 14px;
    color: #fff;
    text-transform: uppercase;
}
