/* URI: /cip-code/16.0407/polish-language-and-literature */
/* Paths: /css/system-below.css,/css/layout-below.css,/css/dashboard/default/default-below.css,/css/dashboard/cip/detail.css */
/* File: /bundles/cbb_7e4c50556492fbaf8cc9cc3d06a06fbb_166515ce.css */
/* Created CSS File: 2026-11-15 08:41:21 */


/* Footer */
footer > div {
    padding: 32px 0;
}

/* Unified Governance Section Container */
#footer-governance-section {
    background: #f8f8f8;
    padding: 0;
}

/* Section 1: Footer Header */
#footer-header {
    padding: 40px 0 24px;
    background: linear-gradient(to bottom, #e6f2fb, #f8f8f8);
}

#footer-header h2 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

/* Section 2: Primary Footer Columns */
#footer-primary-columns {
    padding: 36px 0;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.footer-column-icon {
    flex-shrink: 0;
}

.footer-column-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-column-title a {
    color: #333;
    text-decoration: none;
}

.footer-column-title a:hover {
    color: #2964b0;
    text-decoration: underline;
}

.footer-column-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.footer-column-sublinks {
    margin: 0;
    padding: 0;
}

.footer-column-sublinks a {
    display: block;
    position: relative;
    font-size: 16px;
    line-height: 2;
    color: #2964b0;
    text-decoration: none;
    padding-left: 15px;
}

.footer-column-sublinks a:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2964b0;
}

.footer-column-sublinks.list-style-triangle > :not(.nav-title):before {
    margin-top: 4px;
}

.footer-column-sublinks a:hover {
    text-decoration: underline;
}

/* Section 3: Authority & Trust Block */
#footer-authority-trust {
    padding: 24px 0 28px;
}

.footer-authority-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-authority-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-authority-icon {
    flex-shrink: 0;
}

.footer-authority-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.footer-authority-header h3 a {
    color: #333;
    text-decoration: none;
}

.footer-authority-header h3 a:hover {
    color: #2964b0;
    text-decoration: underline;
}

.footer-authority-intro {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.footer-authority-citations {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
}

.footer-authority-citations a {
    color: #2964b0;
    text-decoration: none;
}

.footer-authority-citations a:hover {
    text-decoration: underline;
}

.sic-citations-link {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.sic-citations-link a {
    color: #2964b0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#main.sic.bg-plain .sic-citations-link {
    margin: 8px 0;
    text-align: left;
}

#main.sic.bg-plain .sic-citations-link a,
.ml-hero .sic-citations-link a {
    color: rgba(255, 255, 255, .9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sic-sources-box .sic-citations-link {
    margin: 12px 0 0;
    font-size: 14px;
}

.sic-sources-box .sic-citations-link a {
    color: #2964b0;
}

.footer-authority-details {
    font-size: 16px;
    color: #666;
    margin: 0 0 16px 0;
}

.footer-authority-details span {
    color: #666;
}

.footer-authority-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Section 4: Legal & Utility Links */
#footer-legal-links {
    padding: 24px 0;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    font-size: 16px;
}

.footer-legal-nav a {
    color: #2964b0;
    text-decoration: none;
    white-space: nowrap;
}

.footer-legal-nav a:hover {
    text-decoration: underline;
}

.footer-link-separator {
    color: #999;
}

/* Section 5: Footer Brand Block */
#footer-brand {
    padding: 32px 0;
    background: #fff;
}

.footer-brand-logo {
    margin: 0 0 12px 0;
}

.footer-brand-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-brand-logo a:hover {
    opacity: 0.8;
}

.footer-brand-logo svg {
    display: block;
    margin: 0 auto;
}

.footer-brand-tagline {
    font-size: 16px;
    color: #666;
    margin: 0 0 4px 0;
}

.footer-brand-since {
    font-size: 16px;
    color: #767676;
    margin: 0;
}

/* Responsive Design */
@media only screen and (max-width: 1199px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #footer-header h2 {
        font-size: 28px;
    }

    .footer-column {
        padding: 20px;
    }

    .footer-authority-header {
        flex-direction: column;
        gap: 12px;
    }

    .footer-authority-header h3 {
        font-size: 20px;
    }

    .footer-legal-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-link-separator {
        display: none;
    }

    .footer-brand-logo {
        font-size: 28px;
    }
}


/* TODO: Move to pages/general-below.css */
.content table td {
    vertical-align: baseline;
}
.content table p,
.content table h6 {
    margin: 0;
}

/* Viewport back-to-top for pages without a sticky search header.
   Search / code-detail templates keep the white icon inside #search. */
button.page-back-to-top {
    display: none;
}

button.page-back-to-top.is-active {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 50;
    display: block;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    text-transform: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background: transparent url(https://siccode.com/images/icons/back-to-top-blue.svg) center / contain no-repeat;
}

button.page-back-to-top.is-active:hover,
button.page-back-to-top.is-active:focus-visible {
    opacity: 0.85;
}


/* EXAMPLE LIST */
.sic:not(.sticky) a,
.sic h3 {
    color: #2964b0;
}

.naics:not(.sticky) a,
.naics h3 {
    color: #00806d;
}

.gold:not(.sticky) a,
.gold h3 {
    color: #704a19;
}

.purple:not(.sticky) a,
.purple h3 {
    color: #75487b;
}

.red:not(.sticky) a,
.red h3 {
    color: #ac3931;
}

.columned-list ul {
    position: relative;
    column-gap: 0;
}

.columned-list ul li {
    padding: 10px;
    break-inside: avoid;
}

.columned-list ul li:empty {
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
    width: 50%;
    height: 52px;
    background-color: #fff;
}

.columned-list.multiplelines.with-note .note span {
    font-weight: 600;
}

.detail-head + p a {
    color: #2964b0;
}

.detail-head.naics + p a {
    color: #00806d;
}

.detail-list-wrap {
    padding: 15px 20px;
    background-color: #f8f8f8;
}

.detail-list li {
    padding-left: 24px;
    background: url(https://siccode.com/images/icons/checked.svg) no-repeat left center;
    /* Important is used to fix critical css issue with this rule */
    background-size: 16px auto !important;
}

ul.digits li, ul.digits li a {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

ul.digits li a:hover {
    text-decoration: none;
}

ul.digits li a:hover span:not(.separator) {
    text-decoration: underline !important;
}

span.fixed-width {
    min-width: 65px;
}

ul.digits li a span:first-child {
    display: block;
}

#extended_sic ul.digits li a span:first-child,
#extended_naics ul.digits li a span:first-child {
    white-space: nowrap;
}

ul.digits li div, ul.digits li a div {
    word-break: break-word;
    color: #444;
}

ul.digits li a div, ul.digits li a span {
    margin-left: 5px;
    /* TODO enable again for multi count display, fix related codes other way */
    /*flex-grow: 0;*/
    /*flex-shrink: 0;*/
}

div.with-note ul li:nth-child(even) {
    background-color: #fff;
}

/* List headers line and counts */
.columned-list ul li.grid-header,
.columned-list-2 ul li.grid-header,
.columned-list-3 ul li.grid-header {
    background: none;
    padding: 0 10px;
    font-size: 14px;
}

.sic:not(.sticky) ul.digits li.grid-header a,
ul.digits li.grid-header a:hover span,
ul.digits li.grid-header a:hover span:not(.separator) {
    text-decoration: none !important;
    color: #333;
}

ul li span.business-count,
ul.digits li a span.business-count {
    margin-left: auto;
    display: inline-flex;
}

ul.digits li a[href=""]:hover span:not(.separator) {
    text-decoration: none !important;
}

ul li span.business-count + span.business-count,
ul.digits li a span.business-count + span.business-count {
    margin-left: 10px;
    width: 120px;
    white-space: nowrap;
    justify-content: right;
}

ul.digits li a span:empty + span:not(.business-count) {
    margin-left: 0;
}

.info-icon.tooltip svg {
    filter: opacity(0.6);
}

.info-icon.tooltip {
    position: relative;
    cursor: pointer;
}

.info-icon[data-tooltip]:not([data-tooltip=""])::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    background-color: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
}

.info-icon[data-tooltip]:not([data-tooltip=""]):hover::before {
    visibility: visible;
    opacity: 1;
}


@media only screen and (min-width: 768px) {

    .columned-list-3 ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-flow: row dense;

    }

    .columned-list-2 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row dense;
    }

    .columned-list-3 ul li.first, .columned-list-2 ul li.first {
        grid-column-start: 1;
    }

    .columned-list-3 ul li.second, .columned-list-2 ul li.second {
        grid-column-start: 2;
    }

    .columned-list-3 ul li.third {
        grid-column-start: 3;
    }

    .columned-list-3 ul li.gray, .columned-list-2 ul li.gray {
        background-color: #f8f8f8;
    }

    .columned-list-3 ul li.white, .columned-list-2 ul li.white {
        background-color: #fff;
    }

    .detail-list {
        display: flex;
        flex-wrap: wrap;
    }

    .detail-list li {
        width: 50%;
    }
}

@media only screen and (min-width: 992px) {
    .detail-list li {
        width: 33.333%;
    }
}

@media only screen and (min-width: 768px) {

    .columned-list ul:after {
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        content: "";
        background-color: #fff;
    }

    .columned-list-2 ul,
    .columned-list-3 ul {
        column-count: 2;
    }

    .columned-list ul li {
        width: 100%;
        border: 2px solid #fff;
        background-color: #f8f8f8;
    }

    .columned-list-2 ul.li-empty-1 li:empty,
    .columned-list-3 ul li:nth-of-type(even):empty {
        display: block;
    }

    .columned-list-2 ul.li-empty-1 li:empty {
        width: 50%;
    }

    .columned-list.multiplelines.with-note ul {
        column-count: 1;
    }

    .columned-list.multiplelines.with-note ul li {
        display: flex;
    }

    .columned-list.multiplelines.with-note ul li:empty {
        display: none;
    }

    .columned-list.multiplelines.with-note ul li:nth-of-type(odd) {
        background-color: #f8f8f8;
    }

    .columned-list.multiplelines.with-note ul li a {
        width: 45%;
    }

    .columned-list.multiplelines.with-note.naics ul li a div {
        padding-left: 72px;
        text-indent: -72px;
    }

    .columned-list.multiplelines.with-note.gold ul li a div {
        padding-left: 52px;
        text-indent: -52px;
    }

    .columned-list.multiplelines.with-note ul li .note {
        width: 50%;
        padding-left: 10px;
    }
}

@media only screen and (min-width: 992px) {

    .columned-list-3 ul.columned-list-over li:nth-of-type(3) {
        height: 104px;
    }

    .columned-list-3 ul:not(.li-empty-1):not(.li-empty-2) li:empty {
        display: none;
    }

    .columned-list-3 ul.li-empty-1 li:empty,
    .columned-list-3 ul.li-empty-2:not(.columned-list-over) li:empty {
        display: block;
        width: 33.3333%;
    }

    .columned-list-3 ul.li-empty-2 li:first-of-type + li:empty {
        width: 66.6666%;
    }

    .columned-list-3 ul.li-empty-2 li:not(:first-of-type) + li:empty {
        height: 104px;
    }
}

@media only screen and (max-width: 767px) {
    .columned-list ul li:nth-of-type(odd) {
        background-color: #f8f8f8;
    }
}

/* HIERARCHY */
#hierarchy.sic a:hover > * {
    color: #2964b0;
}

#hierarchy.naics a:hover > *, #extended_naics.naics a:hover > * {
    color: #00806d;
}

#hierarchy.gold a:hover > * {
    color: #704a19;
}

#hierarchy.purple a:hover > * {
    color: #75487b;
}

#hierarchy.red a:hover > * {
    color: #ac3931;
}

#hierarchy h3 {
    margin-top: 0;
    color: #757575;
}

#hierarchy p {
    margin: 0;
}

.digits .white-rounded {
    width: 98%;
    margin-bottom: 5px;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: white;
}

.digits .color-naics {
    border-color: #00806d;
}

.digits .color-sic {
    border-color: #2964b0;
}

.digits .color-isic {
    border-color: #70491a;
}

.digits .color-soc {
    border-color: #37123c;
}

@media only screen and (min-width: 768px) {
    .hierarchy-list {
        display: flex;
    }

    .hierarchy-list-parent {
        overflow: hidden;
        flex: 2;
    }

    .hierarchy-list-children {
        overflow: hidden;
        flex: 2;
    }
}

@media only screen and (max-width: 991px) {
    .hierarchy-list-parent + .hierarchy-list-children ul {
        column-count: 1;
    }
}

@media only screen and (min-width: 992px) {
    .hierarchy-list-children {
        flex: 4;
    }

    .hierarchy-list-spacing {
        flex: 1;
    }
}

/* CROSS-REFERENCE */
#cross-references li {
    position: relative;
    padding: 20px 20px 20px 45px;
}

#cross-references li:nth-of-type(odd) {
    background-color: #f8f8f8;
}

#cross-references li:before {
    position: absolute;
    top: 20px;
    left: 20px;
    content: "—";
}

#cross-reference .detail-body.sic a {
    color: #2964b0;
}

/* TOP COMPANY */
#company .detail-body a {
    color: #2964b0;
}

#company .detail-body ul li a:hover {
    text-decoration: underline;
}

#company .more-links {
    margin-top: 30px;
    margin-right: 5px;
    padding: 10px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
}

#company .more-links a.more-list {
    font-weight: 600;
    color: #2964b0;
}

#company .more-links a.more-list:before {
    top: 0.6em;
    opacity: 1;
    border-left-color: #2964b0;
}

#company .more-links.naics a.more-list {
    color: #00806d;
}

#company .more-links.naics a.more-list:before {
    border-left-color: #00806d;
}

@media only screen and (min-width: 768px) {
    #company .more-links {
        position: relative;
        display: flex;
        padding: 10px;
        border: 1px solid #ebebeb;
    }

    #company .more-links:after {
        position: absolute;
        bottom: 0;
        left: 50%;
        display: block;
        width: 1px;
        height: 100%;
        content: "";
        background-color: #ebebeb;
    }

    #company .more-links div {
        width: 50%;
        text-align: center;
    }
}

/* EXTENDED CODE & RELATED CODE SYSTEMS */
#extended-code h3,
#related-codes h3 {
    text-transform: uppercase;
}

#extended-code .columned-list li span {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    margin-right: 3px;
    padding: 4px 5px 2px;
    vertical-align: top;
    border-radius: 3px;
    background-color: #e6e6e6;
}

#extended-code li.highlight {
    background-color: #e4f9ff;
}

#related-codes h3 {
    padding-left: 20px;
}

#related-codes .columned-list a:not(:hover) span:not(:first-of-type),
#related-codes .columned-list a .note,
#related-industry-codes .columned-list a:not(:hover) span:not(:first-of-type) {
    color: #555;
}

/* CENSUS */
#census .detail-summary,
.census.detail-summary {
    flex-direction: row;
}

#census .detail-summary table {
    width: 100%;
}

#census .detail-summary table td:last-child {
    text-align: right;
}

/* QUESTIONS AND ANSWERS */
#questions .detail-body > ul > li {
    display: block;
    padding: 15px 20px;
}

#questions .detail-body > ul > li:nth-child(odd) {
    background-color: #f8f8f8;
}

#questions .detail-body > ul > li h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px;
}

#questions .detail-body > ul > li p {
    margin: 0;
}

#questions .detail-body > ul > li a {
    text-decoration: underline;
}
#certifications .detail-body > ul > li a {
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {
    #questions .detail-body > ul > li {
        display: flex;
        padding: 0;
    }

    #questions .detail-body > ul > li h3,
    #questions .detail-body > ul > li div {
        display: inline-block;
        flex: 2;
        padding: 15px 20px;
    }

    #questions .detail-body > ul > li h3 {
        flex: 1;
        margin-bottom: 0;
        padding-right: 0;
    }
}

/* mobile friendly link size fix */
@media only screen and (max-width: 767px) {
    #company .more-links {
        padding: 0;
    }

    #company .more-links a.more-list {
        padding: 10px 10px 10px 30px;
    }

    #company .more-links a.more-list:before {
        top: 1.6em;
        margin-left: 15px;
    }
}


:root {
    --cip-primary: #2C3A5E;
    --cip-dark: #1E2740;
    --cip-accent: #465A8F;
    --cip-surface: #EFF2F7;
    --cip-border: #CBD2E1;
    --soc-primary: #522D5B;
    --soc-dark: #3D2044;
    --soc-accent: #7B438A;
    --soc-surface: #F8F4F9;
    --soc-border: #DECCE3;
    --naics-accent: #00806d;
    --naics-surface: #e8f5f1;
    --naics-ink: #065f46;
}
#cip-code-page {
    color: #333;
    text-align: left;
}

#cip-code-page #main.purple.bg-plain {
    margin: 0;
    height: auto;
    background: var(--cip-primary);
    color: #fff;
    padding: 16px 0 8px;
}

#cip-code-page #main.purple .wrapper,
#cip-code-page .cip-hero,
#cip-code-page #overview > .wrapper {
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}

#cip-code-page #main.purple .wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

#cip-code-page #main.purple h1,
#cip-code-page #main.purple .digit,
#cip-code-page #main.purple .digit b,
#cip-code-page #main.purple #section-nav a {
    color: #fff;
}

#cip-code-page #main.purple h1 {
    width: 100%;
    min-width: 0;
    margin: 0 0 6px;
    overflow-wrap: break-word;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

#cip-code-page #main.purple .digit {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

#cip-code-page #main.purple .digit b {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-weight: 500;
    white-space: normal;
}

#cip-code-page #section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 4px;
    width: 100%;
    margin: 0 0 8px;
}

#cip-code-page #section-nav a {
    flex: 0 0 auto;
    width: auto;
    padding: 6px 8px;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #fff;
    text-decoration: none;
}

#cip-code-page #section-nav a.active,
#cip-code-page #section-nav a:hover,
#cip-code-page #section-nav a:focus-visible {
    border-bottom-color: #fff;
    background: rgba(248, 248, 248, 0.12);
}

#cip-code-page #section-nav a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#cip-code-page #key-facts,
#cip-code-page #definition,
#cip-code-page #examples,
#cip-code-page #cross-references,
#cip-code-page #hierarchy,
#cip-code-page #related-occupations,
#cip-code-page #related-industries,
#cip-code-page #questions,
#cip-code-page #sources {
    scroll-margin-top: 96px;
}

#cip-code-page .cip-intro,
#cip-code-page #overview.detail {
    background: #fff;
}

#cip-code-page .cip-hero {
    padding-top: 22px;
    padding-bottom: 8px;
}

#cip-code-page #overview.detail {
    float: none;
    width: auto;
}

#cip-code-page #overview.detail > .wrapper > .main.fullwidth {
    float: none;
    width: auto;
    padding-bottom: 36px;
}

#cip-code-page .cip-hero-crumbs,
#cip-code-page .cip-hero-scope,
#cip-code-page .cip-drill-support,
#cip-code-page .cip-official,
#cip-code-page .cip-faq p {
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

#cip-code-page .cip-hero-crumbs a,
#cip-code-page .cip-facts a,
#cip-code-page .cip-official a,
#cip-code-page .cip-sources a,
#cip-code-page .cip-about-links a,
#cip-code-page .cip-title-list a,
#cip-code-page .cip-drill-support a {
    color: var(--cip-accent);
    font-weight: 600;
    text-decoration: none;
}

#cip-code-page .cip-hero-crumbs a:hover,
#cip-code-page .cip-facts a:hover,
#cip-code-page .cip-official a:hover,
#cip-code-page .cip-sources a:hover,
#cip-code-page .cip-about-links a:hover,
#cip-code-page .cip-title-list a:hover,
#cip-code-page .cip-drill-support a:hover {
    text-decoration: underline;
}

#cip-code-page .cip-about-links a {
    font-weight: 400;
    color: var(--cip-primary);
}

#cip-code-page .cip-block-heading {
    margin: 0 0 10px;
    color: var(--cip-dark);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

#cip-code-page .cip-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    margin: 0 0 18px;
}

#cip-code-page .cip-facts > div {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid var(--cip-border);
}

#cip-code-page .cip-facts dt,
#cip-code-page .cip-facts dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

#cip-code-page .cip-facts dd {
    min-width: 0;
    overflow-wrap: break-word;
}

#cip-code-page .cip-facts dt {
    color: var(--cip-accent);
    font-weight: 600;
}

#cip-code-page .cip-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    margin: 8px 0 18px;
}

#cip-code-page .cip-notes.is-single {
    grid-template-columns: 1fr;
}

#cip-code-page .cip-note-card {
    padding: 12px 16px 8px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: #fff;
}

#cip-code-page .cip-note-kicker,
#cip-code-page .cip-scope-heading {
    margin: 0 0 8px;
    color: var(--cip-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

#cip-code-page .cip-title-list {
    margin: 0 0 12px;
    padding-left: 1.15em;
}

#cip-code-page .cip-title-list li {
    margin: 0 0 4px;
}

#cip-code-page .cip-block {
    margin-top: 28px;
}

#cip-code-page .cip-hierarchy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

#cip-code-page .cip-hierarchy-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: var(--cip-surface);
    color: #333;
    text-decoration: none;
}

#cip-code-page a.cip-hierarchy-card:hover {
    border-color: var(--cip-accent);
    background: var(--cip-surface);
}

#cip-code-page .cip-hierarchy-card.is-current {
    border-color: var(--cip-primary);
    background: var(--cip-primary);
    color: #fff;
}

#cip-code-page .cip-hierarchy-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#cip-code-page .cip-hierarchy-code {
    font-size: 18px;
    font-weight: 700;
}

#cip-code-page .cip-hierarchy-title {
    font-size: 14px;
    line-height: 1.35;
}

#cip-code-page .cip-hierarchy-card.is-current .cip-hierarchy-title,
#cip-code-page .cip-hierarchy-card.is-current .cip-hierarchy-head {
    color: #fff;
}

#cip-code-page .cip-drill {
    margin-top: 16px;
}

#cip-code-page .cip-drill-intro {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 8px;
}

#cip-code-page .cip-drill-heading {
    margin: 0;
    color: var(--cip-dark);
    font-size: 16px;
    font-weight: 600;
}

#cip-code-page .cip-drill-count {
    color: var(--cip-accent);
    font-size: 13px;
    font-weight: 700;
}

#cip-code-page .cip-drill-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#cip-code-page .cip-drill-rows a,
#cip-code-page .cip-drill-static {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    height: 36px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid var(--cip-border);
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
}

#cip-code-page .cip-drill-rows a:hover {
    border-color: var(--cip-accent);
    background: var(--cip-surface);
}

#cip-code-page .cip-drill-rows a:focus-visible,
#cip-code-page .cip-list-card-action:focus-visible {
    outline: 2px solid var(--cip-primary);
    outline-offset: 2px;
}

#cip-code-page .cip-xwalk-heading {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--soc-surface);
}

#cip-code-page #related-industries .cip-xwalk-heading {
    background: var(--naics-surface);
}

#cip-code-page .cip-system-badge {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    white-space: nowrap;
}

#cip-code-page #related-occupations .cip-system-badge {
    color: var(--soc-accent);
    background: var(--soc-surface);
    border: 1px solid var(--soc-border);
}

#cip-code-page #related-industries .cip-system-badge {
    color: var(--naics-ink);
    background: var(--naics-surface);
    border: 1px solid var(--naics-accent);
}

#cip-code-page #related-occupations .cip-drill-rows a,
#cip-code-page #related-occupations .cip-drill-static,
#cip-code-page #related-industries .cip-drill-rows a,
#cip-code-page #related-industries .cip-drill-static {
    height: auto;
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
}

#cip-code-page #related-occupations .cip-drill-title,
#cip-code-page #related-industries .cip-drill-title {
    color: #333;
}

#cip-code-page #related-occupations .cip-drill-rows a:hover {
    border-color: var(--soc-border);
    background: var(--soc-surface);
}

#cip-code-page #related-industries .cip-drill-rows a:hover {
    border-color: var(--naics-accent);
    background: var(--naics-surface);
}

#cip-code-page #related-occupations .cip-drill-rows a:focus-visible {
    outline-color: var(--soc-accent);
}

#cip-code-page #related-industries .cip-drill-rows a:focus-visible {
    outline-color: var(--naics-accent);
}

#cip-code-page .cip-xwalk-note {
    margin: 16px 0 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

#cip-code-page .cip-drill-code {
    flex: 0 0 auto;
    color: var(--cip-primary);
    font-weight: 700;
}

#cip-code-page .cip-drill-title {
    overflow: hidden;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#cip-code-page .cip-hierarchy-disclose {
    margin-top: 12px;
}

#cip-code-page .cip-hierarchy-disclose summary {
    cursor: pointer;
    color: var(--cip-primary);
    font-weight: 600;
}

#cip-code-page .cip-hierarchy-disclose .cip-drill-rows {
    margin-top: 8px;
}

#cip-code-page .cip-faq details {
    border-bottom: 1px solid var(--cip-border);
}

#cip-code-page .cip-faq summary {
    cursor: pointer;
    padding: 10px 0;
    color: var(--cip-dark);
    font-weight: 600;
}

#cip-code-page .cip-faq summary h3 {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
}

#cip-code-page .cip-sources-box {
    padding: 14px 16px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: var(--cip-surface);
}

#cip-code-page .cip-list-card {
    padding: 16px 18px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: var(--cip-surface);
}

#cip-code-page .cip-sources {
    margin: 0;
    padding: 0;
    list-style: none;
}

#cip-code-page .cip-sources li {
    margin: 0 0 10px;
}

#cip-code-page .cip-source-name {
    display: block;
    color: var(--cip-dark);
    font-weight: 700;
}

#cip-code-page .cip-source-detail,
#cip-code-page .cip-independence,
#cip-code-page .cip-list-card p {
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

#cip-code-page .cip-independence {
    margin: 8px 0 0;
}

#cip-code-page .cip-list-card-kicker {
    margin: 0 0 6px;
    color: var(--cip-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#cip-code-page .cip-list-card-action {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--cip-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

#cip-code-page .cip-list-card-action:hover {
    background: var(--cip-primary);
    color: #fff;
}

#cip-code-page .cip-about-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#cip-code-page .cip-about-links li {
    display: flex;
    align-items: center;
    margin: 0;
}

#cip-code-page .cip-about-links li:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: #c5ced6;
    font-weight: 400;
}

@media only screen and (min-width: 768px) {
    #cip-code-page .cip-drill-rows.is-columns {
        display: block;
        column-count: 2;
        column-gap: 1rem;
    }

    #cip-code-page .cip-drill-rows.is-columns li {
        break-inside: avoid;
        margin-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 767px) {
    #cip-code-page .cip-drill-rows.is-columns {
        column-count: 1;
    }
}

@media only screen and (max-width: 900px) {
    #cip-code-page .cip-facts,
    #cip-code-page .cip-notes {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 767px) {
    /* default-above.css #main.bg-plain #section-nav is a nowrap scroller with a hidden scrollbar. This selector wins so every in-hero item wraps into view. */
    #cip-code-page #main.bg-plain #section-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0 0 8px;
        padding: 0;
        overflow-x: visible;
        overflow-y: visible;
        gap: 2px 4px;
        scrollbar-width: auto;
    }

    #cip-code-page #main.bg-plain #section-nav::-webkit-scrollbar {
        display: block;
        width: auto;
        height: auto;
    }

    #cip-code-page #main.purple h1 {
        font-size: 26px;
    }
}

#search.cip-search.bg-gradient.purple {
    background: var(--cip-primary);
}

#search-menu.clicked .active.cip,
#search:not(.sticky) #search-nav .cip:hover {
    color: var(--cip-primary);
}
