/* Styles extracted from inline WordPress/plugin output */

div#toc_container {
    background: #FFFFFF;
    border: 1px solid rgba(123, 87, 228, 0.25);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(94, 53, 177, 0.08);
}

#toc_container > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#toc_container > div:first-child > p {
    margin: 0;
    color: #1A1028;
}

#toc_container input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--gc-purple-light, #7B57E4);
}

#toc_container:not(:has(input[type="checkbox"]:checked)) > ul {
    display: none;
}

#toc_container a {
    color: var(--gc-purple-light, #7B57E4);
}

#toc_container a:hover {
    color: var(--gc-purple, #5E35B1);
}

.banner.main-banner {
    background-image: url('../img/goodman-banner.webp');
}

.main-text-content > div[role="region"] {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid rgba(123, 87, 228, 0.15);
}

.main-text-content > div[role="region"] > table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin: 0;
    table-layout: auto;
}

.main-text-content > div[role="region"] > table th,
.main-text-content > div[role="region"] > table td {
    white-space: nowrap;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.main-text-content table thead th {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--gc-purple-deep, #2A1860) 0%, var(--gc-purple, #5E35B1) 100%);
}

.main-text-content table tbody tr:nth-child(even) {
    color: var(--gc-content-text, #2B2B38);
    background-color: #F8F8FC;
}

.main-text-content table tbody tr:nth-child(odd) {
    color: var(--gc-content-text, #2B2B38);
    background-color: #FFFFFF;
}

.main-text-content table tbody tr:hover {
    color: var(--gc-content-text, #2B2B38);
    background-color: #EDE8FA;
}

table {
    width: 100%;
    margin: 20px auto;
}

thead {
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
}

th, td {
    padding: 12px 14px;
}

#text .main-text-content > a[rel="nofollow"] {
    color: #ffffff;
}

#text .main-text-content > a[rel="nofollow"]:hover {
    color: #ffffff;
}
