/* Presentation updates for the existing NCALayer PHP pages. */
.ncalayer-updated .main { background: #f6f6f5; padding: 0 0 36px !important; }
/* The original theme sets container and table dimensions with !important. */
.ncalayer-updated .main > .container,
.ncalayer-updated .header > .container { width: calc(100% - 48px) !important; max-width: 1024px !important; margin: 0 auto !important; padding: 0 !important; }
.ncalayer-updated .header .navbar { padding: 6px 0 !important; }
.ncalayer-updated .main > .container > .col-sm-12 { padding-inline: 0; }
.ncalayer-updated .bread-crumbs { margin: 32px 0 0; position: relative; top: 20px; }
.ncalayer-updated .bread-crumbs ul { margin: 0; padding: 0; font: 16px/24px Arial, sans-serif; }
.ncalayer-updated .main .title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ncalayer-updated .nca-text { margin: 0; }
.ncalayer-updated .nca-intro { display: flex; align-items: center; min-height: 195px; margin: 24px 0 18px; }
.ncalayer-updated .nca-intro .wp-block-image { flex: 0 0 300px; margin: 0; }
.ncalayer-updated .nca-intro figure { float: none; margin: 0; }
.ncalayer-updated .nca-intro img { display: block; width: 300px; height: 195px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ncalayer-updated .nca-intro-copy { flex: 1; min-width: 0; }
.ncalayer-updated .nca-intro-copy p { margin: 0; color: #111; font: 400 22px/1.15 Arial, sans-serif; letter-spacing: -.025em; }
.ncalayer-updated .nca-intro-copy p + p { margin-top: 10px; }
.ncalayer-updated .ncl-table { width: 100% !important; max-width: none !important; table-layout: auto; border-collapse: separate; border-spacing: 0; margin: 0 !important; background: #fff; border-radius: 13px; box-shadow: 0 5px 15px #182b2b36; }
.ncalayer-updated .ncl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ncalayer-updated .ncl-table td { padding: 12px; border: 0; vertical-align: middle; background: transparent; color: #373737; font: 400 .9375rem/1.2 'Montserrat', sans-serif; word-break: normal !important; overflow-wrap: normal !important; }
.ncalayer-updated .ncl-table tr.dev-table-main-row:not(:first-child) td { border-top: 1px solid #c5c7c7; }
.ncalayer-updated .ncl-table .platform-cell { width: 34% !important; padding-left: 20px; color: #111; font: 400 22px/1.15 Arial, sans-serif; letter-spacing: -.025em; white-space: nowrap; }
.ncalayer-updated .platform-cell strong { font-weight: 400; vertical-align: middle; }
.ncalayer-updated .platform-icon, .ncalayer-updated .button-icon, .ncalayer-updated .requirements-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ncalayer-updated .platform-icon { display: inline-block; width: 33px; height: 34px; margin-right: 16px; color: #78939f; vertical-align: middle; }
.ncalayer-updated .ncl-table .download-cell { width: 20% !important; }
.ncalayer-updated .ncl-table .instruction-cell { width: 28% !important; }
.ncalayer-updated .ncl-table a.download-button,
.ncalayer-updated .ncl-table a.instruction-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 9px 8px; border-radius: 9px; color: #fff; text-decoration: none; font: 18px/1.15 Arial, sans-serif; white-space: nowrap; word-break: normal !important; }
.ncalayer-updated .ncl-table a.download-button { background: #007eab; box-shadow: 0 3px 7px #00577545; font: 400 22px/1.15 Arial, sans-serif; }
.ncalayer-updated .ncl-table a.instruction-button { background: #c43c29; box-shadow: 0 3px 7px #8b271b45; }
.ncalayer-updated .ncl-table a.download-button:hover { background: #00678d; }
.ncalayer-updated .ncl-table a.instruction-button:hover { background: #aa2e1f; }
.ncalayer-updated .button-icon { width: 23px; height: 24px; flex: none; }
.ncalayer-updated .ncl-table .checksum-cell { width: auto !important; padding: 0 20px 16px 12px; vertical-align: top; }
.ncalayer-updated .ncl-table .checksum-spacer { padding: 0; }
.ncalayer-updated .checksum-values { margin-top: 8px; color: #344750; font: 14px/1.45 Consolas, monospace; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ncalayer-updated .checksum-values strong { font-weight: 600; }
.ncalayer-updated .system-requirements { display: flex; align-items: flex-start; gap: 12px; margin: 29px 22px 0; }
.ncalayer-updated .requirements-icon { width: 27px; height: 29px; flex: none; color: #22343b; }
.ncalayer-updated .system-requirements h4 { margin: 0 0 5px; color: #111; font: 400 21px/1.25 Arial, sans-serif; letter-spacing: -.02em; }
.ncalayer-updated .system-requirements p { margin: 0; color: #111; font: 17px/1.5 Arial, sans-serif; }
.ncalayer-updated .ncl-table a:focus-visible { outline: 3px solid #005c80; outline-offset: 4px; }
@media (max-width: 1100px) {
    .ncalayer-updated .ncl-table .platform-cell { font-size: 20px; }
    .ncalayer-updated .platform-icon { margin-right: 12px; }
    .ncalayer-updated .ncl-table a.download-button { font-size: 21px; }
    .ncalayer-updated .ncl-table a.instruction-button { gap: 6px; font-size: 16px; }
    .ncalayer-updated .checksum-toggle { font-size: 19px; }
}
@media (max-width: 1000px) {
    .ncalayer-updated .nca-intro-copy p { font-size: 19px; }
    .ncalayer-updated .nca-intro .wp-block-image { flex-basis: 240px; }
    .ncalayer-updated .nca-intro img { width: 240px; height: 156px; }
    .ncalayer-updated .ncl-table, .ncalayer-updated .ncl-table tbody { display: block; }
    .ncalayer-updated .ncl-table tr.dev-table-main-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px 20px; padding: 18px 20px 12px; }
    .ncalayer-updated .ncl-table tr.dev-table-main-row:not(:first-child) { border-top: 1px solid #c5c7c7; }
    .ncalayer-updated .ncl-table tr.dev-table-main-row td { display: block; width: auto; min-width: 0; padding: 0; border: 0; }
    .ncalayer-updated .ncl-table td.platform-cell,
    .ncalayer-updated .ncl-table td.download-cell,
    .ncalayer-updated .ncl-table td.instruction-cell { width: auto !important; padding: 0; }
    .ncalayer-updated .ncl-table .platform-cell { display: flex; align-items: center; min-height: 46px; white-space: normal; }
    .ncalayer-updated .platform-icon { flex: none; }
    .ncalayer-updated .ncl-table .instruction-cell { grid-column: 1 / -1; }
    .ncalayer-updated .ncl-table tr.checksum-row { display: block; }
    .ncalayer-updated .ncl-table td.checksum-spacer { display: none; }
    .ncalayer-updated .ncl-table td.checksum-cell { display: block; width: auto !important; padding: 0 20px 18px; border: 0; }
    .ncalayer-updated .system-requirements { margin-inline: 0; }
}
@media (max-width: 600px) {
    .ncalayer-updated .main > .container,
    .ncalayer-updated .header > .container { width: calc(100% - 32px) !important; }
    .ncalayer-updated .bread-crumbs { margin-top: 22px; }
    .ncalayer-updated .nca-intro { flex-direction: column; gap: 4px; margin: 12px 0 28px; }
    .ncalayer-updated .nca-intro .wp-block-image { flex-basis: auto; }
    .ncalayer-updated .nca-intro img { width: 220px; height: 143px; }
    .ncalayer-updated .ncl-table tr.dev-table-main-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 16px 12px; }
    .ncalayer-updated .ncl-table .platform-cell { min-height: 32px; }
    .ncalayer-updated .ncl-table td.checksum-cell { padding: 0 16px 16px; }
    .ncalayer-updated .nca-intro-copy p { font-size: 18px; line-height: 1.3; }
    .ncalayer-updated .nca-intro-copy p + p { margin-top: 12px; }
    .ncalayer-updated .ncl-table a.instruction-button { font-size: 17px; }
    .ncalayer-updated .checksum-toggle { font-size: 18px; }
    .ncalayer-updated .system-requirements h4 { font-size: 19px; }
    .ncalayer-updated .system-requirements p { font-size: 16px; }
    .ncalayer-updated .system-requirements { gap: 10px; margin-top: 28px; }
}

/* The toggle stays on the right; Bootstrap expands its checksum row underneath. */
.ncalayer-updated .checksum-toggle { display: flex; width: 100%; justify-content: center; padding: 0; border: 0; background: transparent; align-items: center; gap: 14px; min-height: 46px; color: #626c70; font: 21px/1.15 Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; white-space: nowrap; }
.ncalayer-updated .checksum-toggle::-webkit-details-marker { display: none; }
.ncalayer-updated .checksum-toggle::after { content: ''; width: 8px; height: 8px; flex: none; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.ncalayer-updated .checksum-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px, -1px); }
.ncalayer-updated .checksum-toggle:hover { color: #00698f; }
.ncalayer-updated .checksum-toggle:focus-visible { outline: 3px solid #005c80; outline-offset: 4px; }

.ncalayer-updated .ncl-table .checksum-toggle-cell { width: 18% !important; padding-right: 20px; }
.ncalayer-updated .ncl-table tr.checksum-row.collapse:not(.show) { display: none !important; }
.ncalayer-updated .ncl-table tr.checksum-row.collapsing { transition: none; }
@media (max-width: 1100px) { .ncalayer-updated .checksum-toggle { font-size: 19px; gap: 10px; } }
@media (max-width: 1000px) {
    .ncalayer-updated .ncl-table td.checksum-toggle-cell { width: auto !important; padding: 0; }
    .ncalayer-updated .ncl-table .instruction-cell { grid-column: 1; }
    .ncalayer-updated .ncl-table .checksum-toggle-cell { grid-column: 2; }
    .ncalayer-updated .checksum-toggle { justify-content: flex-end; }
}
@media (max-width: 600px) {
    .ncalayer-updated .ncl-table .instruction-cell,
    .ncalayer-updated .ncl-table .checksum-toggle-cell { grid-column: 1; }
    .ncalayer-updated .checksum-toggle { justify-content: flex-start; font-size: 18px; }
}

.ncalayer-updated .nca-intro-copy strong { font-weight: 400; }




