/*
 * Theme Name: Twenty Twenty-One Child
 * Template: twentytwentyone
 * Text Domain: twentytwentyone-child
 */

:root {
    --border-radius: 0.25rem;
    --color-text: #1e355e;
    --color-primary: #7026b9;
    --bg-primary: #1e355e;
    --bg-secondary: #b55837;
    --font-poppins: 'Poppins', sans-serif;
    --font-source: 'Source Sans Pro', sans-serif;
    --font-lg: 1.125rem;
    --font-md: 1rem;
    --font-sx: 0.75rem;
    --line-height-loose: 1.75;
    --line-height-normal: 1.5;
    --line-height-dense: 1.1;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 4rem;
    --space-7: 7.5rem;
    --space-huge: 15.62rem;
    --size-content: 54rem;
    --size-gutter: var(--space-6);
    --size-gap: var(--space-6);
    --bg-gray: #f7f7f7;
    /* font-size: 62.5%; */
}

/* // https://piccalil.li/blog/a-modern-css-reset */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

/* Set core body defaults */
body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    font-family: var(--font-source);
    background-color: #fff;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

#hero {
    background: url("../images/Mask-Group-Filter.png");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.hero-wrapper {
    padding: 20px var(--space-huge) 20px var(--space-huge);
    padding-bottom: 0px;
}

#hero div {
    width: fit-content;
}

.hero-desc {
    font-size: 1.225rem;
    text-align: center;
    margin: 30px 0 0 0;
    padding: 30px;
    /* width: 130px; */
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.contact-form {
    padding: 2rem 2rem 0 0;
}

.contact-form input,
textarea {
    padding: 1rem 1.5rem;
    border: .12rem solid #919191;
    width: 99%;
    margin: .5rem .32rem;
    font-family: sans-serif;
}

.nav-link:hover {
    background: var(--bg-secondary);
    /* background: orangered; */
    /* background: orange; */
}

.highlight-nav {
    background: var(--bg-secondary);
    /* background: orange; */
}

table {
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 0.0625rem solid black;
    padding: 1rem 1.5rem;
    text-align: center;
}

th {
    font-size: 1.125rem;
    font-weight: bolder;
}

.header {
    font-family: var(--font-poppins);
    font-size: 2.5rem;
    margin: .5rem 0 1.5rem 0;
    text-align: center;
    font-weight: bolder;
    color: var(--bg-primary);
}

.padding-usual {
    padding: var(--space-4) var(--space-huge);
    font-size: var(--font-lg);
    /* display: flex;  */
    flex-wrap: wrap;
    padding-top: 10px;
}

/* Reduce top padding for sections after factsheet toggle */
#Quarterly-Fact-Sheet.padding-usual,
#Quarterly-Fact-Sheet.sections {
    padding-top: 5px !important;
}

/* Ensure sections have minimal top spacing */
.sections {
    padding-top: 10px;
}

.space-paras p {
    margin: 20px 0;
}

.space-paras ul {
    margin-left: 30px;
}

.card {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    background: white;
    border-radius: 2px;
    cursor: pointer;
    width: fit-content;
    margin: 1.5rem;
}

.card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

#bio-modal {
    border-radius: 5px;
    z-index: 20;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -500%);
    background: white;
    width: 50vw;
    min-height: 20vh;
    opacity: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

#bio-modal.visible {
    transform: translate(-50%, -20%);
    opacity: 1;
}

.close-btn {
    cursor: pointer;
    color: white;
    position: absolute;
    right: -12px;
    top: -12px;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* Old conflicting modal styles removed - using newer flex-based modal system below */

a {
    cursor: pointer;
    /* color: #551A8B; */
    color: var(--bg-primary);
    text-decoration: underline;
    font-weight: bold;
    word-wrap: break-word;
}

/* Old confirm-modal button styles removed - using newer styles below */

.card img {
    width: 19rem;
    /* height: 16rem; */
    align-self: start;
    object-fit: cover;
}

.card h1 {
    font-weight: 800;
    font-family: var(--font-poppins);
    font-size: 19px;
    color: #54668E;
}

.card h1:hover {
    color: var(--bg-secondary);
}

.card b {
    font-weight: bold;
}

.card p {
    /* margin-top: 20px; */
    /* font-size: 0.85rem; */
}

.card div {
    width: 15rem;
    text-align: center;
    margin: 20px auto 5px auto;

}

.tabs {
    margin-left: var(--space-huge);
    display: flex;
}

.tab-section {
    position: relative;
}

.tab-opts {
    background: #72341d;
}

.tab-opts:hover {
    background: var(--bg-secondary);
}

.tab-selected {
    background: var(--bg-secondary)
}

.tabs span,
.tab-opts {
    color: white;
    padding: 15px 18px;
    cursor: pointer;
    font-weight: bold;
}

.anchor-links {
    color: var(--bg-primary) !important;
    cursor: pointer;
}

.anchor-links:hover {
    color: var(--bg-secondary) !important;
}

.resources-list {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    /* padding: 1rem 0.7rem; */
    margin: 0.8rem;
    font-size: 0.9rem;
    width: 34rem;
    white-space: nowrap;
    overflow: hidden;
    /* cursor: pointer; */
}

.resources-list:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    color: var(--bg-secondary);
}

.resources-list span {
    padding: 1rem;
}

.resources-list span:nth-child(1) {
    /* max-width: 9.1rem; */
    width: 130px;
    display: inline-block;
    color: var(--color-text);
    font-weight: bold;
    border-right: 1px solid #cdd;
    /* padding: 1rem 1.7rem; */
}

/* Legal Documents specific styling for proper two-column layout */
#Legal-Documents {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

#Legal-Documents .resources-list {
    width: 48% !important;
    margin: 0.8rem 1% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Ensure title text truncates with ellipsis on desktop too */
#Legal-Documents .resources-list span:nth-child(2) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 150px) !important; /* Account for the date column */
}

/* Ensure even distribution - target specific items for column placement */
#Legal-Documents .resources-list:nth-child(odd) {
    margin-left: 0 !important;
    margin-right: 1% !important;
}

#Legal-Documents .resources-list:nth-child(even) {
    margin-left: 1% !important;
    margin-right: 0 !important;
}

/* For tablet screens - maintain two columns */
@media (min-width: 769px) and (max-width: 1100px) {
    #Legal-Documents .resources-list {
        width: 48% !important;
        margin: 0.6rem 1% !important;
    }
}

/* For smaller desktop screens */
@media (min-width: 1100px) and (max-width: 1400px) {
    #Legal-Documents .resources-list {
        width: 48% !important;
        margin: 0.6rem 1% !important;
    }
}

.category-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#nav-header {
    display: flex;
    background: transparent;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 100; /* Ensure nav header is above subscribe section */
}

.shrink-nav {
    background: transparent; /* No background when closed */
    width: 100vw !important;
    position: fixed !important;
    z-index: 1000;
    overflow: hidden;
    overflow-y: auto; /* Allow scrolling if content is long */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 0;
    transition: height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transform: translateX(0) !important; /* Force position reset */
}

/* Only show blue background when menu is opened */
.shrink-nav.menu-open {
    background: #1e355e;
    height: auto !important; /* Auto height based on content */
    max-height: 100vh !important; /* But don't exceed viewport */
    min-height: fit-content !important;
}

.ham {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002; /* Higher than mobile menu to stay on top */
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent background for visibility */
    padding: 8px;
    border-radius: 4px;
}

.contact-box {
    flex: 2;
    background: #eaeaea;
    margin: 40px 0 0 1rem;
    height: 370px;
    padding: var(--space-3);
}

.contact-box h2 {
    text-align: center;
    font-family: var(--font-poppins);
    font-weight: 800;
    font-size: 22px;
    border-bottom: 3px solid var(--bg-secondary);
    padding: var(--space-3) 0;
    margin: 0 var(--space-3) 30px var(--space-3);
}

.contact-box p {
    margin-left: 40px;
}

.drop-down {
    position: absolute;
    padding: 0.7rem 0;
    margin: 0.2rem;
    background: #1e3553;
    color: white;
    display: flex;
    flex-direction: column;
}

/* .flex-p { */
/*     width: 100%; */
/* } */
.disclaimer {
    font-style: italic;
    margin-bottom: 15px;
}

.subcat-wrapper {
    position: absolute;
    border: 1px solid #dde;
}

.year-selected:after {
    content: "⌄";
    margin-left: 10px;
    margin-right: -10px;
    position: relative;
    bottom: 4px;
}

.subcat {
    padding: 3px 10px;
    width: 240px;
    background-color: #72341D;
    cursor: pointer;
    font-size: 16px;
    color: white;
}

.subcat:hover {
    background: var(--bg-secondary);
}

.highlight-subcat {
    background-color: var(--bg-secondary);
}

.selected-subcat {
    margin-right: 10px;
    display: inline-block;
    padding: 7.5px 20px;
    width: fit-content;
    font-size: 16px;
    margin-bottom: 3px;
    cursor: pointer;
    border-radius: 2px;
    background: var(--bg-secondary);
    color: white;
}

.contact-selected {
    padding: 0.5rem 1.5rem;
    border: .12rem solid #919191;
    width: 180px;
    margin: .5rem .32rem;
    font-family: sans-serif;
    cursor: pointer;
}

.pulsate {
    animation: PULSE 1.25s infinite;
}

.page-name {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 5px 15px;
}

/* .page-name:hover { */
/*     background: var(--bg-secondary); */
/*     width: fit-content; */
/*     margin: 0.5rem auto 1.5rem auto; */
/* } */
.portfolio-image {
    filter: grayscale(100%);
}

.portfolio-image:hover {
    filter: grayscale(0%);
}

.footer-link {
    padding: 0 10px;
}

.footer-link:hover {
    background: var(--bg-secondary);
}

/*
         ----- animations ------
  */

@-webkit-keyframes PULSE {
    0% {
        opacity: 0.3;
    }

    110% {
        opacity: 1;
    }
}

@-ms-keyframes PULSE {
    0% {
        opacity: 0.3;
    }

    110% {
        opacity: 1;
    }
}

@keyframes PULSE {
    0% {
        opacity: 0.3;
    }

    110% {
        opacity: 1;
    }
}

.logo-wrapper {
    height: 170px;
    margin-top: 60px;
}


.nav-link {
    margin: 0px 5px;
    padding: 5px 20px;
    text-decoration: none;
    font-size: var(--font-lg);
    color: white;
    font-weight: bolder;
    overflow: hidden;
    text-transform: uppercase;
}

#primary-menu-list {
    position: fixed;
    background: transparent;
    display: flex;
    padding: 20px;
    left: 0;
    z-index: 30;
    width: 100%;
    justify-content: center;
    list-style-type: none;
}

/* CRITICAL FIX: Ensure desktop menu is NEVER visible on mobile screens */
@media screen and (max-width: 768px) {
    #primary-menu-list,
    #primary-menu-list.change-bg,
    .primary-menu-container {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -9999 !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* Additional mobile breakpoints for comprehensive coverage */
@media screen and (max-width: 1024px) {
    #primary-menu-list,
    #primary-menu-list.change-bg,
    .primary-menu-container {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -9999 !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
}


.change-bg {
    background: #1e355e !important;
    top: 0px;
}

/* Hamburger styling when change-bg is applied */
.ham.change-bg {
    background: rgba(30, 53, 94, 0.9) !important; /* More solid blue background when scrolled */
}

.bar:hover {
    filter: drop-shadow(5px 5px 3px rgb(0 0 0/.4));
}

.sub-menu-toggle {
    display: none;
}

.sub-menu {
    background: #1e3553;
    color: #fff;
    display: none;
    flex-direction: column;
    margin: 0.2rem;
    padding: 0.7rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.sub-menu li {
    list-style: none;
}

.sub-menu li a {
    text-transform: none;
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.sub-menu li a:hover {
    background: var(--bg-secondary);
}

/* Desktop hover functionality */
@media (min-width: 769px) {
    #primary-menu-list li:hover .sub-menu {
        display: flex !important;
    }
    
    .menu-item-has-children {
        position: relative;
    }
}

/* Simple Mobile Menu - Works with Flexbox */
@media (max-width: 768px) {
    /* Hide the subscription banner on mobile - CRITICAL for hamburger menu visibility */
    .subscribe-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Show hamburger menu on mobile */
    .ham {
        display: block !important;
    }

    /* Hide desktop navigation */
    nav {
        display: none !important;
    }

    /* CRITICAL: Hide the fixed desktop menu that appears as blue banner */
    #primary-menu-list,
    #primary-menu-list.change-bg {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        background: transparent !important;
        z-index: -1000 !important;
        pointer-events: none !important;
    }

    /* Hide any other desktop menu elements */
    .primary-menu-container {
        display: none !important;
    }

    .shrink-nav {
        padding: 80px 20px 20px 20px; /* Top padding to account for hamburger icon */
    }

    .shrink-nav > div > div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 0;
    }

    .shrink-nav .plus {
        color: white;
        cursor: pointer;
    }

    .shrink-nav > div > div > a.nav-link {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .shrink-nav p a.nav-link {
        display: block;
        padding: 8px 0;
        font-size: 16px;
        font-weight: normal;
        text-transform: none;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .shrink-nav p a.nav-link:last-child {
        border-bottom: none;
    }
}


#subscribe-modal {
    border-radius: 10px;
    z-index: 60;
    position: fixed;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, -500%);
    background: white;
    width: 80vw;
    min-height: 20vh;
    opacity: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

#subscribe-modal.visible {
    transform: translate(-50%, -40%);
    opacity: 1;
}

.subscribe {
    position: absolute;
    top: 13px;
    right: 20px;
    background: rgb(179, 86, 54);
    color: white;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    width: 200px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid black;
    z-index: 50;
    animation: 1s ease-in infinite colourSlide;
    animation-fill-mode: none;
}

.subscribe-mb {
    background: rgb(179, 86, 54);
    color: white;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    width: 190px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid black;
    margin: 10px 25px;
    animation: 1s ease-in infinite colourSlide;
    animation-fill-mode: none;
}

@keyframes colourSlide {


    0% {
        background-size: 200% auto;
        background-image: linear-gradient(-45deg, #6d2d18, #bb6a4f, #b55636);
        background-position: left center;
    }

    100% {
        background-size: 200% auto;
        background-image: linear-gradient(-45deg, #6d2d18, #bb6a4f, #b55636);
        background-position: right center;
    }
}

.subscribe-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 6px solid rgb(179, 86, 54);
    color: black;
    font-weight: normal;
    font-size: 14px;
    font-family: var(--font-source);
    width: 100%;
    padding: 5px;
    position: relative;
    z-index: 1; /* Keep subscribe section below navigation */
}

.subscribing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 5px 0px;
    flex-wrap: wrap;
}

.sub-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 65px;
}

.sub-row input {
    padding: 5px;
    border: 2px solid #919191;
    width: 300px;
    font-family: sans-serif;
    border-radius: 3px;
}

.sub-submit {
    background: #1e355e;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
    cursor: pointer;
    padding: 8px;
}

#head-section {
    display: flex;
    justify-content: center;
    width: 95%;
    text-align: center;
}

.filter-section {
    padding-bottom: 0px;
    padding-top: 15px;
    margin-left: 0.8rem;
    display: flex;
    justify-content: flex-start;
    width: 90%;
}

/* Specific adjustment for factsheet toggle on desktop */
.factsheet-btn.filter-section {
    padding-top: 15px;
    padding-bottom: 5px;
}

/* Reduce spacing for year filter dropdown */
.filter-section:has(.year-selected) {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Alternative selector if :has() is not supported */
.padding-usual.filter-section {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.distri-disclosure {
    font-style: italic;
    font-size: 16px;
}

.footer-disclosure {
    padding-top: 2.3rem;
    padding-bottom: 1rem;
    background: rgb(240, 239, 239);
    font-size: 1.125rem;
}

.since-fund {
    font-size: 22px;
    text-align: center;
    font-weight: bold;
}

.foot-anchor {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    font-size: var(--font-lg);
    color: white;
    font-weight: bolder;
    overflow: hidden;
}

.blue-footer-container {
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    background: rgb(30, 53, 94) !important;
    color: white;
}

.blue-footer {
    border-left: 2px solid rgb(179, 86, 54);
    border-right: 2px solid rgb(179, 86, 54);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px 0px 10px;
    margin: 0px 0px;
    flex-wrap: wrap;
}

.bottom-menu {
    text-align: left;
}

.blogger-tab {
    display: grid;
    grid-template-columns: 33% 65%;
    grid-gap: 0 20px;
}

.tab-question,
.tab-answer {
    background-color: var(--bg-gray);
    padding: 20px;
    font-size: 16px;
    border-radius: 3px;
}

.tab-question {
    height: 100%;
    max-height: 550px;
    overflow-y: auto;
}

.tab-container {
    height: 100%;
    max-height: 550px;
    overflow-y: auto;
}

.tab-question::-webkit-scrollbar,
.tab-container::-webkit-scrollbar {
    width: 5px;
}

.tab-answer {
    height: auto;
    margin-bottom: 20px;
}

.tab-answer:last-child {
    margin: 0;
}

.tab-answer .header {
    margin: 0;
    margin-bottom: 0.5rem;
}

.tab-question .question-opt {
    font-family: var(--font-poppins);
    color: var(--bg-primary);
    line-height: 1.2rem;
    display: flex;
    cursor: pointer;
    margin-bottom: 15px;
}

.tab-question .question-opt:last-child {
    margin-bottom: 0;
}

.question-opt .question-index {
    width: 20px;
    min-width: 20px;
    text-align: end;
    margin-right: 8px;
}

.tab-question .question-opt.tab-selected {
    font-weight: 700;
    background-color: transparent;
}

.glossary-header {
    position: fixed;
    bottom: 5%;
    right: 5%;
    background-color: var(--bg-secondary);
    color: var(--bg-gray);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#glossary-modal {
    border-radius: 5px;
    z-index: 40;
    position: fixed;
    top: 0;
    right: 0;
    transform: translate(100%, 0%);
    width: 100%;
    height: 100vh;
    opacity: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    z-index: 99999;
}

#glossary-modal.visible {
    transform: translate(0%, 0%);
    opacity: 1;
}

.glossary-container {
    padding: 15px;
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 600px;
    top: 0;
    right: 0;
    overflow-y: auto;
    background-color: var(--bg-gray);
    color: #000;
    z-index: 99999;
}

.glossary-bg {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.glossary-container .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--bg-primary);
    border-bottom: 1px solid #dbd5d5;
    padding: 10px 0;
}

.glossary-container .modal-scrollable-container {
    margin-top: 10px;
    height: calc(100vh - 150px);
    overflow-y: auto;
}

.glossary-container .modal-scrollable-container::-webkit-scrollbar {
    width: 5px;
}

.glossary-search {
    margin-top: 20px;
    border: 1px solid #dbd5d5;
    padding: 8px;
    width: 100%;
    display: flex;
}

.glossary-search img {
    background-color: transparent;
    margin-right: 5px;
}
.glossary-search input {
    border: none;
    background-color: transparent;
    width: calc(100% - 40px);
    font-size: 13px;
    outline: none;
    color: #898282;
}
.cef-disclosure{
    font-size: 14px;
    font-style: italic;
}

/*
          ---- responsive section ----
*/

@media (min-width: 1100px) and (max-width: 1600px) {
    .padding-usual {
        padding: var(--space-4);
    }

    .tabs {
        margin-left: var(--space-4);
    }

    .shrink-nav {
        display: none;
    }
}


@media (max-width: 1100px) {
    #bio-modal {
        width: 75vw;
        top: 25%;
    }

    /* Old confirm-modal mobile styles removed - using newer flex-based modal system */

    .contact-box {
        margin-left: 0;
    }

    .contact-box p {
        margin-left: 10px;
    }

    .padding-usual {
        padding: var(--space-4);
    }

    .tabs {
        margin-left: var(--space-4);
    }

    #hero {
        padding: 0 var(--space-3);
    }

    .hero-wrapper {
        padding: 20px var(--space-4);
        padding-bottom: 0px;
    }

    .header {
        font-size: 1.7rem;
    }

    .flex-p {
        max-width: 700px;
    }

    .table-wrapper {
        width: 100%;
        margin-bottom: 25px;
    }

    .resources-list span {
        padding: 0.3rem;
    }

    .resources-list span:nth-child(1) {
        padding: 0.3rem;
    }

    .resources-list {
        margin: 0.3rem;
        padding: 0.6rem 0.7rem;
    }

    .card img {
        margin-bottom: 15px;
    }

    .tabs {
        flex-direction: column;
    }

    .tabs span {
        margin-right: 25px;
    }

    td,
    th {
        border: 0.0625rem solid black;
        padding: 0.8rem;
        text-align: center;
        font-size: 0.75rem;
    }

    th {
        font-size: 0.75rem;
        font-weight: bolder;
    }

    .logo-wrapper {
        height: auto;
    }

    .ham {
        display: block !important;
    }

    /* Hide subscription banner when hamburger appears */
    .subscribe-section {
        display: none !important;
    }

    nav {
        display: none;
    }

    .loga {
        margin: 20px auto -40px !important;
    }

    .log {
        width: 200px !important;
    }

    .selected-subcat {
        padding: 7.5px 12px;
    }

    .page-name {
        font-size: 2.0rem;
    }
    #head-recaptcha{
        width: 300px;
    }
    #head-section {
        width: 88% !important;
    }
    #head-section p{
        font-size: 12px !important;
    }
    .sub-row{
        height: 20px;
        margin-bottom: 20px;
    }
    .sub-submit{
        margin-top:-10px !important;
        padding: 5px;
    }
    .g-recaptcha {
        transform: scale(0.70);
        transform-origin: 0 0;
        margin-top:-5px !important;
    }
    #cookie-banner-content {
        font-size: 14px !important;
        box-shadow: rgb(30, 53, 94) -6px -6px 0px 0px !important; 
        padding: 10px !important;
    }
    .filter-section {
        width: 100% !important;
    }

    .distri-disclosure {
        font-size: 14px !important;
    }

    .footer-disclosure {
        font-size: 14px !important;
    }

    .hero-desc {
        font-size: 16px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }

    .par-address {
        font-size: 16px !important;
        text-align: center !important;
    }

    .foot-log {
        width: 200px !important;
    }

    .since-fund {
        font-size: 18px !important;
    }

    .foot-anchor {
        font-size: 16px !important;
    }

    .foot-anchor p {
        margin-bottom: 5px !important;
    }

    .tab-question,
    .tab-answer {
        padding: 15px;
    }

    .blogger-tab {
        grid-template-columns: 34% 65%;
        grid-gap: 0 15px;
    }

    .tab-answer {
        margin-bottom: 15px;
    }

    .tab-question,
    .tab-container {
        max-height: 650px;
        overflow-y: auto;
    }

}

@media(max-width: 820px) {
    .par-address {
        font-size: 16px !important;
        text-align: right !important;
    }
}

@media(max-width: 1024px) {
    .par-address {
        font-size: 16px !important;
        text-align: right !important;
    }

    .blogger-tab {
        grid-gap: 0 12px;
    }

    .tab-question,
    .tab-answer {
        padding: 12px;
    }

    .tab-question .question-opt,
    .tab-answer {
        margin-bottom: 12px;
    }

    .tab-question,
    .tab-container {
        max-height: 700px;
        overflow-y: auto;
    }
    .subscribing {
        flex-direction: row;
        width:85%;
    }
    .sub-submit{
        margin-top:20px;
    }
}

@media(max-width: 768px) {
    .blue-footer {
        padding: 0px 10px;
    }

    .resources-list {
        padding: 0.6rem 0.7rem;
        width: 100% !important; /* Single column on mobile */
    }

    /* Fact Sheet Toggle - Mobile Styles (Horizontal) */
    .factsheet-btn {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px 10px 5px 10px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    /* SEC Filings Toggle - Mobile Styles (Horizontal) */
    .sec-btn {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 15px 0 5px 0 !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    /* Override filter-section padding on mobile */
    .filter-section {
        padding-top: 10px !important;
        padding-bottom: 0px !important;
    }

    /* Reduce spacing for the sections container */
    .sections {
        padding-top: 5px !important;
    }

    .factsheet-btn span {
        font-size: 16px !important;
        white-space: nowrap !important;
        font-weight: bold !important;
        flex: 0 0 auto !important;
    }

    .factsheet-btn span:first-child {
        margin-right: 8px !important;
    }

    .factsheet-btn span:last-child {
        margin-left: 8px !important;
    }

    #toggle-switch {
        margin: 0 !important;
        width: 60px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }

    #toggle-switch div {
        width: 22px !important;
        height: 22px !important;
    }

    /* SEC Toggle Button Styling */
    .sec-btn span {
        font-size: 16px !important;
        white-space: nowrap !important;
        font-weight: bold !important;
        flex: 0 0 auto !important;
    }

    .sec-btn span:first-child {
        margin-right: 8px !important;
    }

    .sec-btn span:last-child {
        margin-left: 8px !important;
    }

    #toggle-switch-sec {
        margin: 0 !important;
        width: 60px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }

    #toggle-switch-sec div {
        width: 22px !important;
        height: 22px !important;
    }

    /* Legal Documents specific for mobile - override desktop styles */
    #Legal-Documents {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    #Legal-Documents .resources-list {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0.5rem 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Ensure the text inside spans also truncates properly */
    #Legal-Documents .resources-list span {
        display: inline-block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        vertical-align: middle !important;
    }

    /* First span (empty for legal docs) should be minimal */
    #Legal-Documents .resources-list span:first-child {
        display: none !important; /* Hide empty date column on mobile */
    }

    /* Second span with the title text */
    #Legal-Documents .resources-list span:nth-child(2) {
        max-width: 100% !important;
        padding-left: 1rem !important;
    }

    #Legal-Documents .resources-list:nth-child(odd),
    #Legal-Documents .resources-list:nth-child(even) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .par-address {
        font-size: 16px !important;
        text-align: right !important;
    }

    .blogger-tab {
        display: block;
    }

    .tab-question {
        margin-bottom: 20px;
        padding: 15px 12px;
    }

    .tab-question,
    .tab-container {
        max-height: unset;
    }

    .glossary-header {
        padding: 8px;
        font-size: 14px;
    }
}

@media(max-width: 720px) {
    .blue-footer {
        flex-direction: column;
    }

    .bottom-menu {
        margin-left: 60px;
    }

    .resources-list {
        padding: 0.6rem 0.7rem;
    }
}

@media(max-width: 480px) {
    .blue-footer {
        flex-direction: column;
    }

    .bottom-menu {
        margin-left: 60px;
    }

    .resources-list {
        padding: 0.6rem 0.7rem;
        width: 100% !important; /* Single column on small mobile */
    }

    /* Fact Sheet Toggle - Small Mobile Styles (Horizontal) */
    .factsheet-btn {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 8px 5px 8px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    /* Override filter-section padding on small mobile */
    .filter-section {
        padding-top: 8px !important;
        padding-bottom: 0px !important;
    }

    .factsheet-btn span {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .factsheet-btn span:first-child {
        margin-right: 6px !important;
    }

    .factsheet-btn span:last-child {
        margin-left: 6px !important;
    }

    #toggle-switch {
        margin: 0 !important;
        width: 55px !important;
        height: 26px !important;
    }

    #toggle-switch div {
        width: 20px !important;
        height: 20px !important;
    }

    /* SEC Toggle Button Styling - Small Mobile */
    .sec-btn {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 12px 0 5px 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    .sec-btn span {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .sec-btn span:first-child {
        margin-right: 6px !important;
    }

    .sec-btn span:last-child {
        margin-left: 6px !important;
    }

    #toggle-switch-sec {
        margin: 0 !important;
        width: 55px !important;
        height: 26px !important;
    }

    #toggle-switch-sec div {
        width: 20px !important;
        height: 20px !important;
    }

    /* Legal Documents specific for small mobile - ensure single column */
    #Legal-Documents {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    #Legal-Documents .resources-list {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0.4rem 0 !important;
        font-size: 0.85rem;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Ensure proper text truncation on small screens */
    #Legal-Documents .resources-list span {
        display: inline-block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #Legal-Documents .resources-list span:first-child {
        display: none !important;
    }

    #Legal-Documents .resources-list span:nth-child(2) {
        max-width: 100% !important;
        padding-left: 0.8rem !important;
    }

    #Legal-Documents .resources-list:nth-child(odd),
    #Legal-Documents .resources-list:nth-child(even) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .par-address {
        font-size: 16px !important;
        text-align: center !important;
    }
}

@media(max-width: 540px) {
    .par-address {
        font-size: 16px !important;
        text-align: center !important;
    }
    .subscribing {
        flex-direction: column;
        align-items: center;
        width:100%;
    }
    .sub-submit{
        margin-top:20px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation:landscape) {
    .shrink-nav {
        max-height: 280px;
        overflow-y: scroll;
    }

    #bio-detail {
        max-height: 200px;
        overflow-y: scroll;
    }
}

@media only screen and (min-device-width: 480px) and (max-device-width: 768px) and (orientation:landscape) {
    .shrink-nav {
        max-height: 350px;
        overflow-y: scroll;
    }

    #bio-detail {
        max-height: 200px;
        overflow-y: scroll;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape) {
    .shrink-nav {
        max-height: 350px;
        overflow-y: scroll;
    }

    #bio-detail {
        max-height: 200px;
        overflow-y: scroll;
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1200px) and (orientation:landscape) {
    .shrink-nav {
        max-height: 400px;
        overflow-y: scroll;
    }

    #bio-detail {
        max-height: 200px;
        overflow-y: scroll;
    }
}



.tableHorizontalScroll {
    overflow: hidden;
    overflow-y: hidden;
    width: 100%
}

.tableHorizontalScroll table,
.tableHorizontalScroll tbody {
    overflow: hidden
}

.tableOverflowIndicator {
    color: #353536;
    width: 100%;
    text-align: center;
    margin: 10px 0 30px 0;
    font-family: Arial, sans-serif;
    display: none
}
#cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100vw; height: fit-content; padding: 16px; z-index: 10;
}
#cookie-banner-content {
    font-size: 16px; width: 95%; margin: auto; border: 1px solid #000 !important;border-radius: 5px;box-shadow: rgb(30, 53, 94) -6px -6px 0px 0px !important; padding: 20px; background: white; position: relative;
}
#cookie-banner h2 {
    font-size: 18px; font-weight: 600; margin-bottom: 12px;
}
#cookie-control {
display: flex; justify-content: flex-end;
}
#cookie-control button {
    margin-top: 12px;
    background: white;
    border: none;
    border-bottom: 2px solid rgba(30, 53, 94, 0.5);
    padding: 2px ;
    cursor: pointer;
    margin-left: 25px;
    outline: none;
}
#cookie-control button:active {
    border: none;
}

/* Modal Styles */
#confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}

#confirm-modal.visible {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#confirm-modal > div {
    background: white;
    border-radius: 6px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#confirm-modal div:last-child {
    padding: 15px 25px;
}

#confirm-modal button {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    background: var(--bg-primary);
    color: white;
    font-weight: normal;
}

#confirm-modal button:first-child {
    background: var(--bg-primary);
    color: white;
}

#confirm-modal a button {
    background: var(--bg-primary);
    color: white;
    margin-right: 0;
}

/* Ensure modal header has proper styling */
#confirm-modal h1 {
    background: var(--bg-primary) !important;
    color: white !important;
    padding: 11px 25px !important;
    margin: 0 !important;
    font-size: 24px !important;
    border-radius: 6px 6px 0 0 !important;
}

/* Modal paragraph text styling */
#confirm-modal p {
    padding: 15px 25px !important;
    margin: 0 !important;
    text-align: left !important;
    color: #333 !important;
    line-height: 1.5 !important;
}

/* Modal button container styling */
#confirm-modal > div > div:last-child {
    padding: 15px 25px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* ===================================================== */
/* Mobile Distribution Chart Responsive Fixes */
/* ===================================================== */

/* Desktop chart container improvements */
@media (min-width: 1101px) {
    /* Ensure chart container doesn't overflow on desktop */
    #graphic {
        max-width: calc(100vw - 4rem) !important;
        overflow: visible !important;
    }
    
    .distributions-section {
        overflow-x: visible !important;
    }
}

@media (max-width: 768px) {
    /* Fix horizontal scroll on mobile for distribution section */
    .distributions-section .padding-usual {
        padding: var(--space-3) var(--space-2) !important;
    }
    
    /* Make chart container mobile-friendly */
    #graphic {
        width: 100% !important;
        max-width: calc(100vw - 2rem) !important;
        overflow-x: auto;
        margin: 1.5rem auto 0px !important;
    }
    
    /* Responsive legend layout */
    #tax-legend {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 0 var(--space-2) !important;
        justify-content: center !important;
    }
    
    #tax-legend p {
        margin: 5px 8px 10px !important;
        font-size: 14px !important;
        flex: 0 1 auto !important;
    }
    
    /* Responsive toggle section */
    .distributions-section .padding-usual > div:last-child {
        padding: 0 var(--space-2) !important;
    }
    
    /* Ensure header doesn't overflow */
    .distributions-section .header {
        font-size: 1.5rem !important;
        text-align: center;
        margin: 0.5rem auto 1.5rem !important;
    }
    
    /* Mobile-specific chart container */
    .distributions-section {
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .distributions-section .padding-usual {
        padding: var(--space-2) var(--space-1) !important;
    }
    
    #graphic {
        max-width: calc(100vw - 1rem) !important;
    }
    
    #tax-legend p {
        font-size: 13px !important;
        margin: 3px 5px 8px !important;
    }
    
    .distributions-section .header {
        font-size: 1.3rem !important;
    }
    
    /* Stack legend items vertically on very small screens */
    #tax-legend {
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
    }
    
    #tax-legend p {
        margin: 3px 0 8px !important;
    }
}

/* Simple Mobile Menu - Works with Flexbox */
@media (max-width: 768px) {
    /* Hide the subscription banner on mobile - CRITICAL for hamburger menu visibility */
    .subscribe-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Show hamburger menu on mobile */
    .ham {
        display: block !important;
    }

    /* Hide desktop navigation */
    nav {
        display: none !important;
    }

    /* CRITICAL: Hide the fixed desktop menu that appears as blue banner */
    #primary-menu-list,
    #primary-menu-list.change-bg {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        background: transparent !important;
        z-index: -1000 !important;
        pointer-events: none !important;
    }

    /* Hide any other desktop menu elements */
    .primary-menu-container {
        display: none !important;
    }
}

/* Additional mobile rules for very small screens */
@media (max-width: 767px) {
    /* Ensure hamburger is visible and clickable */
    .ham {
        display: block !important;
        z-index: 999999 !important;
        cursor: pointer !important;
    }

    /* Ensure desktop menu is completely hidden */
    #primary-menu-list,
    #primary-menu-list.change-bg {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* CRITICAL FIX: Hide subscribe section completely at ALL mobile breakpoints */
@media (max-width: 1100px) {
    .subscribe-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        opacity: 0 !important;
        z-index: -1000 !important;
    }

    /* Also target any parent containers */
    body .subscribe-section,
    html .subscribe-section,
    div .subscribe-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    /* CRITICAL: Hide desktop menu at all mobile breakpoints */
    #primary-menu-list,
    #primary-menu-list.change-bg {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        z-index: -1000 !important;
        background: transparent !important;
        pointer-events: none !important;
    }

    .primary-menu-container {
        display: none !important;
    }

    /* Hide desktop navigation */
    nav {
        display: none !important;
    }
}

/* =====================================================
   Contact Page Mobile Responsive Fixes
   ===================================================== */
/* ===================================================== */

@media (max-width: 768px) {
    /* Stack contact form and info boxes vertically on mobile */
    .wrapper {
        flex-direction: column !important;
        padding: 20px 10px !important;
    }

    .wrapper > div:first-child {
        /* Form container */
        flex: none !important;
        padding-right: 0 !important;
        margin-bottom: 20px;
    }

    .wrapper > div:last-child {
        /* Contact info container */
        flex: none !important;
    }

    .contact-form {
        padding: 1rem 0 0 0 !important;
    }

    .contact-box {
        margin: 20px 0 0 0 !important;
        padding: var(--space-2) !important;
        height: auto !important;
        min-height: 300px;
    }
    
    .contact-box h2 {
        font-size: 18px !important;
    }
    
    .contact-box p {
        margin-left: 20px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile screens */
    .wrapper {
        padding: 15px 5px !important;
    }
    
    .contact-box {
        margin: 15px 0 0 0 !important;
        padding: var(--space-1) !important;
        min-height: 280px;
    }
    
    .contact-box h2 {
        font-size: 16px !important;
        padding-bottom: 8px !important;
    }
    
    .contact-box p {
        margin-left: 15px !important;
        font-size: 14px !important;
    }
    
    /* Make form inputs full width on small screens */
    .contact-form input[type="text"], 
    .contact-form input[type="email"], 
    .contact-form input[type="tel"], 
    .contact-form textarea {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Stack email and phone inputs vertically - but not the toggle container */
    .contact-form div[style*="display: flex"]:not(.toggle-container) {
        flex-direction: column !important;
    }

    /* Ensure toggle container stays horizontal */
    .contact-form .toggle-container {
        flex-direction: row !important;
        display: flex !important;
    }
}

/* =====================================================
   Holdings Page Styles - Matching Legacy Site
   ===================================================== */

/* Back to Fund button */
.holdings-back-button {
    background: rgb(179, 86, 54);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    width: 200px;
    cursor: pointer;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.holdings-back-button a {
    color: white;
    text-decoration: none;
}

/* Holdings table container */
.holdings-table-container {
    overflow-x: auto;
}

/* Holdings table styles */
.holdings-table {
    width: 100%;
    border-collapse: collapse;
}

/* Holdings header row - orange background */
.holdings-header {
    text-align: left;
    background: var(--bg-secondary);
    color: white;
    padding: 15px;
}

.holdings-header em {
    font-style: italic;
}

/* Column headers - gray background */
.holdings-column-headers {
    background: rgb(240, 239, 239);
}

.holdings-column-headers th {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Data rows */
.holdings-data-row {
    font-weight: bold;
}

.holdings-data-row td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

/* Total row - gray background */
.holdings-total-row {
    background: rgb(240, 239, 239);
}

.holdings-total-row th {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.holdings-total-row th:first-child {
    text-align: right;
}

/* Holdings disclaimer */
.holdings-disclaimer {
    font-size: 16px;
    margin-top: 26px;
}

/* =====================================================
   Distributions Table Styles - Matching Legacy Site
   ===================================================== */

/* Distributions header row - orange background */
.distributions-header {
    background: var(--bg-secondary) !important;
    color: white !important;
    text-align: left;
    padding: 15px;
    font-weight: bold;
}

/* Distributions column headers - gray background */
.distributions-column-headers {
    background: rgb(240, 239, 239) !important;
    font-weight: bold;
}

.distributions-column-headers th {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

/* Distributions data rows */
.distributions-data-row {
    font-weight: bold;
}

.distributions-data-row td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

/* Alternating row backgrounds for distributions */
.distributions-data-row:nth-child(even) {
    background: #f9f9f9;
}

.distributions-data-row:nth-child(odd) {
    background: white;
}

/* =====================================================
   Responsive Table Styles for Mobile
   ===================================================== */
@media (max-width: 768px) {
    /* Holdings table responsive styles */
    #holdings table {
        font-size: 14px;
    }

    #holdings th,
    #holdings td {
        padding: 6px !important;
        white-space: nowrap;
    }

    /* Allow company name to wrap */
    #holdings td:first-child {
        white-space: normal;
        min-width: 120px;
    }

    /* Make percentage column narrower */
    #holdings th:last-child,
    #holdings td:last-child {
        min-width: auto;
        width: auto;
    }

    /* Reduce font size for better fit */
    #holdings {
        font-size: 13px;
    }

    /* Performance table responsive */
    #performanceTableWrapper table {
        font-size: 12px;
    }

    #performanceTableWrapper th,
    #performanceTableWrapper td {
        padding: 4px !important;
        font-size: 11px;
    }

    /* Distribution table responsive */
    #distributionTableWrapper table {
        font-size: 12px;
    }

    #distributionTableWrapper th,
    #distributionTableWrapper td {
        padding: 6px !important;
    }
}
