/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Loading and content visibility */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shadowBox {
    border: 1px solid black;
    border-radius: 10px; 
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.content-hidden {
    display: none !important;
}

/* Main content layout */
main {
    margin: 200px 0 60px;
}

#content {
    display: flex;
    flex-direction: column;
    width: calc(100% - 320px);
    margin-left: 320px;
    text-align: center;
    padding: 10px 10px 100px;
    overflow-y: auto;
}

/* Headings */
h1, h2 {
    padding-top: 10px;
}

h3 {
    color: #2d4ba4;
    border-bottom: 1px solid #091844;
    font-size: 20px;
    font-family: arial;
    padding-top: 20px;
    margin-bottom: 10px;
}

.contentHeading {
    max-width: 2400px;
    font-family: arial;
    margin-bottom: 20px;
    padding-bottom: 5px;
    color: #17479b;
    background-color: #c5f1ff;
    text-align: center;
    border: solid #376cfd;
    border-width: 1px 0;
}

.contentContainer {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 10px;
    text-align: left;
    flex: 1;
}

.contentContainer p,
.contentContainer a,
.contentContainer ul,
.contentContainer ol {
    font-size: 18px;
    padding: 10px;
}

.contentContainer h2 {
    text-align: left;
    color: #0c3f71;
    border-bottom: solid #5252c8;
    font-size: 25px;
    margin: 20px 0;
}

.contentContainer ul {
    list-style-type: circle;
    margin-left: 20px;
}

.contentContainer ul li {
    margin-bottom: 10px;
}

/* Tables */
table {
    border: 1px solid black;
    border-collapse: collapse;
    margin: 20px auto;
    max-width: 1000px;
    width: 100%;
}

table th,
table td {
    border: 1px solid black;
    padding: 10px;
}

table th {
    text-align: center;
    background-color: lightblue;
}

table th p,
table td p {
    margin: 0;
}

.subheader th,
th.subheader {
    background-color: lightgreen;
}

.white td {
    background-color: white;
}

/* Specialized tables */
#marks th,
#marks td {
    width: 200px;
    text-align: center;
    border: 1px solid;
}

#marks th {
    background-color: lightblue;
}

.binaryTable th,
.binaryTable td {
    border: solid 1px black;
    text-align: center;
    width: 50px;
    height: 50px;
}

.specifications th,
.specifications td {
    border: 1px solid black;
    padding: 20px;
}

.specifications td ul {
    list-style-type: disc;
}

.specifications td ul li ul {
    list-style-type: square;
}

/* Topic buttons and navigation */
.topicButton {
    max-width: 1000px;
    display: block;
    border: 1px solid;
    border-radius: 10px;
    margin: 10px auto;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    padding: 20px;
    background-image: linear-gradient(to bottom, lightgrey, lightslategrey);
}

#CSButton:hover, #CSButton.active {
    background-image: linear-gradient(to bottom, lightblue, rgb(73, 161, 196));
}

#SDDButton:hover, #SDDButton.active {
    background-image: linear-gradient(to bottom, palevioletred, rgb(179, 47, 47));
}

#WDDButton:hover, #WDDButton.active {
    background-image: linear-gradient(to bottom, darkseagreen, seagreen);
}

#DDDButton:hover, #DDDButton.active {
    background-image: linear-gradient(to bottom, lightgoldenrodyellow, yellow);
}

.breakdown {
    max-width: 1000px;
    margin: 0 auto;
    display: none;
}

/* Field properties and specifications */
#fieldProperties {
    list-style-type: none;
    max-width: 1000px;
    margin: auto;
}

.fieldtype {
    text-align: center;
    background-image: linear-gradient(to bottom, lightgrey, lightslategrey);
    padding: 5px;
    border: 1px solid black;
    margin: 10px 0;
    font-size: 20px;
    cursor: pointer;
}

.fieldtype:hover,
.fieldtype.active {
    background-image: linear-gradient(to bottom, lightblue, rgb(73, 161, 196));
}

.fieldProperty {
    background-color: #C5E3ED;
    list-style-type: circle;
}

#CSBreakdown .specifications th {
    background-color: lightblue;
}

#SDDBreakdown .specifications th {
    background-color: palevioletred;
}

#WDDBreakdown .specifications th {
    background-color: lightgreen;
}

#DDDBreakdown .specifications th {
    background-color: lightyellow;
}

/* Examples and layouts */
.example1 {
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 30px;
    background-color: lightyellow;
    padding: 20px;
    border: solid 1px black;
}

.example {
    background-color: #E3FFD8;
    margin-top: 20px;
    padding: 10px;
}

/* Images */
.rImg {
    float: right;
    padding: 20px;
}

.lImg {
    float: left;
    padding: 20px;
}

.cImg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    padding: 20px;
}

.shadow,
.shadowImage {
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.75);
    max-width: 500px;
}

.shadow {
    margin-right: 10px;
}

.shadowImage {
    display: block;
    margin: 0 auto;
}

.ImgAndText {
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.ImgAndText img {
    padding: 20px;
}

/* Buttons */
.button,
.button2 {
    width: 200px;
    margin: auto;
    display: block;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, lightgrey, lightslategrey);
    height: auto;
    text-align: center;
}

.button {
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.button a,
.button2 a {
    text-decoration: none;
    color: black;
    display: block;
}

.button2 a {
    font-size: 15px;
    font-weight: bold;
}

.button:hover {
    background-image: linear-gradient(to bottom, lightblue, rgb(73, 161, 196));
    cursor: pointer;
}

/* ── Past Paper Question card (drawing/diagram questions) ── */
.pq-card {
    background: #fff;
    border: 1px solid #cdd8f0;
    border-radius: 8px;
    margin: 0 auto 24px;
    max-width: 900px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    text-align: left;
}

.pq-card .cImg {
    width: 100%;
}

.pq-card hr {
    border: none;
    border-top: 1px solid #cdd8f0;
    margin: 16px 0;
}

.answerButton {
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    background-image: linear-gradient(to bottom, lightgrey, lightslategrey);
    margin: auto;
    display: block;
    width: 200px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Special elements */
.mi {
    background-color: #238caf;
}

ol li {
    padding: 10px 0;
    margin-left: 30px;
}

.hiddenElement {
    display: none;
}

/* Code styling */
.codeBox {
    max-width: 800px;
    margin: 20px auto;
    border: solid 1px #2a3a22;
    background-color: #1c2112;
    color: white;
    overflow: hidden;
    border-radius: 4px;
}

/* Two-column layout created by codeBoxHighlight.js */
.cb-body {
    display: flex;
    overflow-x: auto;
}
.cb-nums {
    margin: 0;
    padding: 10px 12px 10px 14px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    color: #4a6040;
    line-height: 1.5;
    text-align: right;
    user-select: none;
    border-right: 1px solid #2a3a22;
    background: #141c0c;
    flex-shrink: 0;
}
.cb-code {
    margin: 0;
    padding: 10px 16px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    color: white;
    white-space: pre;
    line-height: 1.5;
    flex: 1;
    overflow-x: auto;
    text-align: left;
}

/* Syntax highlight colours */
.cbh-keyword { color: #a8e060; font-weight: bold; }
.cbh-builtin { color: #79c0ff; }
.cbh-string  { color: #f0c060; }
.cbh-number  { color: #f08080; }
.cbh-comment { color: #4e7845; font-style: italic; }

/* Fallback for non-transformed boxes */
.codeBox p {
    margin: 0;
    padding: 0;
    font-family: "Courier New", Courier, monospace;
}

.codeBox table,
.codeBox th,
.codeBox td {
    border: none;
    padding: 0;
}

.pseudocode {
    font-family: "Courier New", Courier, monospace;
    text-align: left;
    margin: 20px auto;
    background-color: white;
    color: black;
    max-width: 800px;
    border: 1px solid #b0bcd8;
    border-collapse: collapse;
    line-height: 0;
}

/* Inner table (when .pseudocode is a wrapping div) */
.pseudocode table,
table.pseudocode {
    display: table;
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    margin: 0;
}

.pseudocode th,
table.pseudocode th {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #c8daf5;
    padding: 8px 14px;
    border: 1px solid #8aaad8;
    font-size: 0.95em;
    line-height: 1.4;
}

.pseudocode td,
table.pseudocode td {
    padding: 6px 14px;
    border: 1px solid #d0d8ec;
    vertical-align: top;
    line-height: 1.6;
}

/* Step / line number column — first td in every row */
.pseudocode td:first-child,
table.pseudocode td:first-child {
    text-align: center;
    width: 72px;
    min-width: 72px;
    white-space: nowrap;
    background-color: #f0f4fb;
    border-right: 2px solid #8aaad8;
    color: #3a4a6b;
    font-weight: bold;
}

.codeText {
    font-family: "Courier New", Courier, monospace;
}

.borderless table,
.borderless th,
.borderless td {
    border: none;
    background-color: transparent;
}

/* Layout containers */
.tutorial {
    margin: auto;
    max-width: 1000px;
}

.accessTutorial {
    margin:auto;
    max-width: 1000px;
    border: 1px dashed black;
    background-color: #c5e3ed;
    padding:15px;
}

.trinket {
    width: 75%;
    height: 400px;
    margin: 20px auto;
    display: block;
}

.sideBySide {
    display: flex;
    align-content: center;
    justify-content: center;
    margin: 20px auto;
}

.vertAlign {
    align-items: center;
}

.htmlCode {
    border: 1px solid black;
    margin: 10px auto;
    padding: 20px;
    font-family: "Courier New", Courier, monospace;
}

.htmlCode p {
    margin:0;
    padding:0;
}

.htmlCode pre {
    margin-left: -200px;
}

/* List styling */
ul li ul li {
    list-style-type: square;
}

ul li ul li ul li {
    list-style-type: disc;
}

/* Interactive elements */
.laws {
    background-image: linear-gradient(to bottom, lightgrey, lightslategrey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    border: 1px solid black;
}

.arrow {
    margin-left: auto;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    transform: rotate(0deg);
    font-size: 16px;
}

.arrow.rotated {
    transform: rotate(90deg);
}

.law-content {
    transition: all 0.5s;
    padding-left: 20px;
}

/* GDPR specific styling */
#GDPRPrinciples {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 1000px;
}

#GDPRPrinciples li {
    width: 100%;
    max-width: 1000px;
}

#GDPRPrinciples div div {
    background-color: lightgrey;
}

#GDPRPrinciples ol li {
    max-width: 1000px;
}

#GDPRPrinciples div ul li {
    padding-right: 50px;
}

/* Mobile Landscape - Content adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    #content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 10px;
        align-items: center;
    }

    .contentContainer {
        max-width: 100%;
        padding: 10px;
    }

    .contentContainer p,
    .contentContainer a,
    .contentContainer ul,
    .contentContainer ol {
        font-size: 14px;
        line-height: 1.3;
    }

    .contentContainer h2 {
        font-size: 18px;
        margin: 10px 0;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .answerButton {
        width: 90%;
        max-width: 200px;
        font-size: 16px;
        padding: 12px 8px;
        margin: 10px auto;
        touch-action: manipulation;
    }

    #content {
        width: 100%;
        margin-left: 0;
        padding: 15px;
        align-items: center;
    }

    .contentContainer {
        max-width: 100%;
        margin: 10px auto;
        padding: 15px;
    }

    .contentHeading {
        width: 100%;
        margin: 0 auto;
    }

    .contentContainer p,
    .contentContainer a,
    .contentContainer ul,
    .contentContainer ol {
        font-size: 14px;
        line-height: 1.4;
    }

    .contentContainer h2 {
        font-size: 20px;
        margin: 15px 0;
    }

    .contentContainer h3 {
        font-size: 16px;
        margin: 10px 0 8px;
    }

    .contentContainer ul li,
    .contentContainer ol li {
        margin-bottom: 5px;
        font-size: 14px;
    }

    /* Table mobile optimizations */
    table {
        display: block;
        border: none;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        font-size: 10px;
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    table th,
    table td {
        padding: 4px 3px;
        font-size: 12px;
        line-height: 1.3;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 120px;
        min-width: 60px;
        hyphens: auto;
    }

    table td p,
    table th p,
    table td div,
    table td ul,
    table td ol,
    table td li {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 3px 0 !important;
        padding: 0 !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        hyphens: auto;
        max-width: 100% !important;
    }

    table td .codeText,
    table th .codeText {
        font-size: 10px !important;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        white-space: pre-wrap !important;
    }

    .binaryTable {
        font-size: 11px;
    }

    .binaryTable th,
    .binaryTable td {
        width: 30px;
        height: 30px;
        padding: 3px;
        font-size: 11px;
    }

    .specifications {
        font-size: 11px;
    }

    .specifications th,
    .specifications td {
        padding: 6px 4px;
        font-size: 11px;
    }

    .hiddenElement p,
    .hiddenElement ul,
    .hiddenElement ol,
    .hiddenElement li {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 4px 0 !important;
    }

    /* Image and layout mobile adjustments */
    .contentContainer img,
    .shadow,
    .shadowImage,
    .rImg,
    .lImg,
    .cImg {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        float: none;
        margin: 10px auto;
        display: block;
    }

    .ImgAndText {
        flex-direction: column;
    }

    .ImgAndText img {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }

    .topicButton {
        width: 100%;
        font-size: 16px;
        padding: 15px 10px;
    }

    .sideBySide {
        flex-direction: column;
    }

    .breakdown {
        width: 100%;
        font-size: 14px;
        padding: 5px;
    }

    .breakdown table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        font-size: 10px;
        width: 100%;
        max-width: 100%;
    }

    .breakdown th,
    .breakdown td {
        padding: 5px;
    }

    .breakdown table td {
        white-space: nowrap;
    }

    .page-nav {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .page-nav-btn {
        width: 160px;
        max-width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .page-nav-title {
        font-size: 11px;
    }

    /* Prevent accidental horizontal scrolling from oversized embeds */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Push main content down a touch so the fixed top user bar / hamburger
       don't sit on top of headings on pages without a tall masthead. */
    main {
        margin-top: 60px;
    }

    /* Generic fixed-width buttons collapse cleanly on small screens */
    .button,
    .button2 {
        width: auto;
        max-width: 100%;
        min-width: 140px;
        min-height: 44px; /* comfortable tap target */
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Side-by-side flex rows should wrap rather than squish */
    .laws,
    .ImgAndText,
    .sideBySide {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Trinkets/iframes shouldn't overflow */
    .trinket,
    iframe {
        width: 100%;
        max-width: 100%;
    }

    /* Examples shouldn't bleed over edges */
    .example,
    .example1 {
        width: auto;
        max-width: 100%;
        padding: 12px;
        font-size: 18px;
        box-sizing: border-box;
    }
}

/* Page Navigation Buttons */
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1400px;
    width: 100%;
    margin: 30px auto 10px;
    padding: 10px;
    gap: 20px;
}

.page-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-image: linear-gradient(to bottom, #f0f4ff, #d6e0f5);
    text-decoration: none;
    color: #0c3f71;
    font-size: 16px;
    font-weight: bold;
    max-width: 45%;
    transition: background-image 0.2s, box-shadow 0.2s;
}

.page-nav-btn:hover {
    background-image: linear-gradient(to bottom, lightblue, rgb(73, 161, 196));
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    color: white;
}

.page-nav-back {
    margin-right: auto;
}

.page-nav-next {
    margin-left: auto;
}

.page-nav-title {
    font-size: 12px;
    font-weight: normal;
    color: #555;
    margin-top: 4px;
}

.page-nav-btn:hover .page-nav-title {
    color: #eee;
}

.example {
    background-color: #f4fea9;
    width:60%;
    margin:auto;
    margin-bottom: 20px;
    padding: 20px;
    border: 2px dashed black;
}

#examplePseudocode li {
    padding: 0;
    margin-bottom: 0;
}

.LIandSC {
    font-family:Arial;
    font-size: 18px;
    background-color: lightblue;
    border: 1px solid #376cfd;
    margin: 20px auto;
    max-width: 1000px
}

.LIandSC th {
    width:50%;
    text-align: center;
    background-color: #182c62;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.LIandSC td{
    padding:20px;
    vertical-align: top;
}

@media (max-width: 600px) {
    /* Stack the LI/SC table vertically on mobile.
       Hide the original header row and re-inject labels via ::before so the
       order becomes: [LI heading] → LI content → [SC heading] → SC content. */

    /* Override the aggressive general mobile table rules for this table */
    .LIandSC,
    .LIandSC tbody,
    .LIandSC tr,
    .LIandSC td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    /* Hide the original <th> header row */
    .LIandSC tr:first-child {
        display: none !important;
    }

    .LIandSC td {
        padding: 12px !important;
        font-size: 15px !important;
        hyphens: none !important;
        border-top: none;
    }

    .LIandSC td p,
    .LIandSC td li,
    .LIandSC td ul,
    .LIandSC td ol {
        font-size: 15px !important;
        hyphens: none !important;
        max-width: none !important;
    }

    .LIandSC td ul,
    .LIandSC td ol {
        padding-left: 0 !important;
        margin: 6px 0 !important;
        list-style: none !important;
        overflow: visible !important;
    }

    .LIandSC td li {
        padding-left: 1.2em !important;
        margin: 4px 0 !important;
        display: list-item !important;
        list-style: none !important;
        position: relative !important;
    }

    .LIandSC td li::before {
        content: "\2022";
        position: absolute;
        left: 0.2em;
        color: inherit;
    }

    /* Inject column headings as styled labels above each data cell */
    .LIandSC td:first-child::before {
        content: "Learning Intentions";
        display: block;
        background-color: #182c62;
        color: white;
        font-weight: bold;
        font-size: 15px;
        padding: 10px 12px;
        margin: -12px -12px 12px -12px;
    }

    .LIandSC td:last-child::before {
        content: "Success Criteria";
        display: block;
        background-color: #182c62;
        color: white;
        font-weight: bold;
        font-size: 15px;
        padding: 10px 12px;
        margin: -12px -12px 12px -12px;
    }
}

@media (max-width: 768px) {
    .example {
        width: 90%;
    }
}

.example h2 {
    margin-top:0px;
}

.noun {
    background-color: lightpink;
}

.aVerb {
    background-color: lightgreen;
}

.chartExample {
    background-color: white;
    padding: 20px;
    border: 1px solid black;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.chartExample img {
    display: block;
    width: 80%;
    height: auto;
    margin:auto;
}
.flowchart-example {
    width: 60%;
    max-width:900px;
    min-width:500px;
}
.structure-example {
    width: 80%;
    max-width:850px;
    min-width:550px;
}

table img {
    display: block;
    margin: auto;
    width: 120px;
}

.SQLImage {
    display: block;
    margin: 4px auto;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#connector {
    width: 50px;
    margin: auto;
}

.design-symbols-layout {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

.design-symbols-layout table {
    max-width: 600px;
}

.design-symbols-layout > div > p {
    margin-top: 10px;
    margin-left: 15px;
}

.accordion-section {
    border: 2px solid #c8d8f0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-section p {
    margin: auto;
    max-width:900px;
}

.accordion-section summary {
    cursor: pointer;
    padding: 12px 16px;
    background-color: #dce8fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
}
.accordion-section summary::-webkit-details-marker {
    display: none;
}
.accordion-section summary h2 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1.3em;
}
.accordion-section summary::after {
    content: "▶";
    font-size: 0.9em;
    color: #1a3a6b;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.accordion-section[open] > summary::after {
    transform: rotate(90deg);
}
.accordion-content {
    padding: 16px;
}

@media (max-width: 768px) {
    .design-symbols-layout {
        display: block;
        text-align: center;
    }
    .design-symbols-layout table {
        display: inline-table;
        width: 90%;
        text-align: left;
        margin: 10px 0 20px;
    }
    .design-symbols-layout > div {
        text-align: center;
    }
    .flowchart-example,
    .structure-example {
        display: inline-block;
        box-sizing: border-box;
        width:100%;
        min-width:0px;
        margin: 10px 0 20px;
        text-align: left;
    }

    .design-symbols-layout > div > p {
        margin-left: 0;
        text-align: center;
    }

    #connector {
        width: 50px !important;
        margin: auto !important;
    }

    .design-symbols-layout table img {
        width: 100px !important;
    }
    
    .chartExample {
        padding: 20px;
        margin: auto !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Heirarchical Lists */
.heirarchical-list {
    counter-reset: section;
    list-style-type: none;
    padding-left: 0px;
}

.heirarchical-list ol {
    list-style-type: none;
    
}

.heirarchical-list li {
    counter-increment: section;
    padding-left: 2.5rem;
    position: relative;
}

.heirarchical-list li::before {
    content: counters(section, ".") ". ";
    position: absolute;
    left: 0;
    font-weight:bold;
}

/* ── Data Sculptor sandbox embeds ─────────────────────────────────────────
   Change the height value below to resize every database/SQL sandbox
   embed across the whole site at once.                                    */
iframe[id^="ds-embed-"] {
    width: 100%;
    height: 700px;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: block;
    margin: 16px 0;
}
