/*
 * SG CATEGORY CONTENT RENDERER V1.7
 * Native Stone Galleria typography and colours
 * Approved 30/70 architectural composition
 */

.sgccb-v15,
.sgccb-v15 * {
    box-sizing: border-box;
}

.sgccb-v15 {
    --sgccb-heading: #30373f;
    --sgccb-body: #616161;
    --sgccb-line: rgba(48,55,63,.18);

    position: relative;
    display: grid;
    grid-template-columns: minmax(0,30%) minmax(0,1fr);
    column-gap: 32px;
    row-gap: 10px;

    margin: 0 0 26px;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    font-family: Jost, sans-serif;
    color: var(--sgccb-body);
}

/* Thin vertical separator approved in Safari */

.sgccb-v15::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(30% + 16px);
    width: 1px;
    background: var(--sgccb-line);
    pointer-events: none;
}

/* Section introduction */

.sgccb-v15-header {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 0 18px 0 0;
}

.sgccb-v15 h2 {
    margin: 0 0 10px;
    color: var(--sgccb-heading);

    font-family: inherit;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: normal;
}

.sgccb-v15-header > p {
    margin: 0;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--sgccb-body);
}

/* Preview metadata, never necessary for public layout */

.sgccb-v15-kicker,
.sgccb-v15-status {
    font-size: 12px;
    line-height: 1.5;
    color: var(--sgccb-body);
}

.sgccb-v15-kicker {
    margin-bottom: 10px;
}

.sgccb-v15-status {
    margin-top: 10px;
}

/* Specifications */

.sgccb-v15-grid {
    grid-column: 2;
    grid-row: 1;

    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: start;

    gap: 18px 26px;
    min-width: 0;
    padding: 0;
}

.sgccb-v15-card {
    min-width: 0;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sgccb-v15-card h3 {
    margin: 0 0 7px;
    color: var(--sgccb-heading);

    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

/* Automatic values presented as editorial text */

.sgccb-v15-tags {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

.sgccb-v15-tag {
    display: inline;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--sgccb-body);
}

.sgccb-v15-tag:not(:last-child)::after {
    content: " · ";
    white-space: pre;
}

/* Full-width editorial content */

.sgccb-v15-card--wide {
    grid-column: 1 / -1;
    padding-top: 13px;
    border-top: 1px solid var(--sgccb-line);
}

.sgccb-v15-card--wide h3 {
    margin: 0 0 5px;
}

/* Fixed unnecessary gap below long-form headings */

.sgccb-v15-body {
    margin: 0;
    padding: 0;

    white-space: pre-line;
    overflow-wrap: anywhere;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--sgccb-body);
}

.sgccb-v15-card--wide .sgccb-v15-body {
    margin: 0;
    padding: 0;
}

/* Custom fields */

.sgccb-v15-fields {
    margin: 8px 0 0;
}

.sgccb-v15-field {
    padding: 5px 0;
    border: 0;
    font-size: 14px;
    line-height: 1.55;
}

.sgccb-v15-field dt {
    font-weight: 500;
    color: var(--sgccb-heading);
}

.sgccb-v15-field dd {
    margin: 0;
}

.sgccb-v15-field small,
.sgccb-v15-table small {
    display: block;
    font-size: 12px;
    color: var(--sgccb-body);
}

/* Technical tables */

.sgccb-v15-table-wrap {
    overflow-x: auto;
}

.sgccb-v15-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sgccb-v15-table th,
.sgccb-v15-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--sgccb-line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.sgccb-v15-table th {
    width: 35%;
    font-weight: 500;
    color: var(--sgccb-heading);
}

/* Footnotes */

.sgccb-v15-note {
    grid-column: 2;
    grid-row: 2;

    margin: 0;
    padding: 0;

    font-size: 12px;
    line-height: 1.5;
    color: var(--sgccb-body);
}

.sgccb-v15-empty,
.sgccb-v15-draft {
    font-size: 12px;
    color: var(--sgccb-body);
}

.sgccb-v15-draft {
    margin-bottom: 8px;
}

.sgccb-v15-card--hidden {
    opacity: .65;
}

/* Text sections can use a full-width editorial flow */

.sgccb-v15--text .sgccb-v15-grid {
    grid-template-columns: 1fr;
}

/* Tablet */

@media (max-width: 900px) {

    .sgccb-v15 {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .sgccb-v15::before {
        display: none;
    }

    .sgccb-v15-header,
    .sgccb-v15-grid,
    .sgccb-v15-note {
        grid-column: 1;
        grid-row: auto;
    }

    .sgccb-v15-header {
        padding: 0;
    }

    .sgccb-v15-grid {
        gap: 16px;
    }
}

/* Mobile */

@media (max-width: 540px) {

    .sgccb-v15 {
        margin-bottom: 22px;
        row-gap: 14px;
    }

    .sgccb-v15 h2 {
        font-size: 25px;
        line-height: 1.3;
    }

    .sgccb-v15-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sgccb-v15-card--wide {
        grid-column: 1;
    }
}

/* Private preview page shell only */

.sgccb-v15-preview-page {
    margin: 0;
    background: #fff;
    color: #616161;
    font-family: Jost, sans-serif;
}

.sgccb-v15-toolbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px max(20px,calc((100% - 1200px)/2));
    border-bottom: 1px solid rgba(48,55,63,.18);
    background: #fff;
    font-size: 14px;
}

.sgccb-v15-toolbar span {
    display: block;
    font-size: 12px;
}

.sgccb-v15-toolbar a {
    color: #30373f;
}

.sgccb-v15-page {
    max-width: 1240px;
    padding: 26px 20px 60px;
    margin: 0 auto;
}

.sgccb-v15-notice {
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(48,55,63,.18);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 540px) {
    .sgccb-v15-page {
        padding: 20px 15px 40px;
    }

    .sgccb-v15-toolbar {
        padding: 14px 15px;
    }
}

/* ======================================================
   SGCCB_PRESENTATION_V20A
   Optional presentation styles.
   The approved AUTO design remains unchanged.
   ====================================================== */

/* Section: Grid */

.sgccb-v15--grid {
    display: block;
}

.sgccb-v15--grid::before {
    display: none;
}

.sgccb-v15--grid .sgccb-v15-header {
    margin-bottom: 20px;
    padding: 0;
    max-width: 850px;
}

.sgccb-v15--grid .sgccb-v15-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Section: Text */

.sgccb-v15--text {
    display: block;
}

.sgccb-v15--text::before {
    display: none;
}

.sgccb-v15--text .sgccb-v15-header {
    margin-bottom: 18px;
    padding: 0;
    max-width: 850px;
}

.sgccb-v15--text .sgccb-v15-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 850px;
    gap: 18px;
}

/* Section: Editorial
   Retains the 30/70 composition, with one content column. */

.sgccb-v15--editorial .sgccb-v15-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

/* Block: Chips */

.sgccb-v15-card--style-chips .sgccb-v15-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sgccb-v15-card--style-chips .sgccb-v15-tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--sgccb-line);
    border-radius: 4px;
    background: transparent;
}

.sgccb-v15-card--style-chips
.sgccb-v15-tag:not(:last-child)::after {
    content: none;
}

/* Block: Cards
   Uses the existing heading colour and border colour. */

.sgccb-v15-card--style-cards {
    padding: 15px;
    border: 1px solid var(--sgccb-line);
    border-radius: 4px;
    background: transparent;
}

.sgccb-v15-card--style-cards .sgccb-v15-tags {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

.sgccb-v15-card--style-cards .sgccb-v15-tag {
    display: block;
    padding: 8px;
    border: 1px solid var(--sgccb-line);
    border-radius: 3px;
    background: transparent;
}

.sgccb-v15-card--style-cards
.sgccb-v15-tag:not(:last-child)::after {
    content: none;
}

/* Block: Rows */

.sgccb-v15-card--style-rows .sgccb-v15-tags {
    display: block;
}

.sgccb-v15-card--style-rows .sgccb-v15-tag {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--sgccb-line);
}

.sgccb-v15-card--style-rows
.sgccb-v15-tag:not(:last-child)::after {
    content: none;
}

/* Block: Text */

.sgccb-v15-card--style-text {
    grid-column: 1 / -1;
}

/* Block: Accordion */

.sgccb-v15-card--style-accordion {
    padding: 0;
}

.sgccb-v2-details {
    border-bottom: 1px solid var(--sgccb-line);
}

.sgccb-v2-details summary {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 11px 28px 11px 0;

    font-family: inherit;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--sgccb-heading);
}

.sgccb-v2-details summary::-webkit-details-marker {
    display: none;
}

.sgccb-v2-details summary::after {
    content: "+";
    position: absolute;
    right: 3px;
    top: 10px;
    font-weight: 400;
}

.sgccb-v2-details[open] summary::after {
    content: "\2212";
}

.sgccb-v2-details[open] summary {
    margin-bottom: 8px;
}

.sgccb-v2-details[open] {
    padding-bottom: 12px;
}

/* Responsive section layouts */

@media (max-width: 900px) {
    .sgccb-v15--grid .sgccb-v15-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .sgccb-v15--grid .sgccb-v15-grid,
    .sgccb-v15--text .sgccb-v15-grid,
    .sgccb-v15--editorial .sgccb-v15-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === SGCCB_VISUAL_FRAME_V1 === */

/* Outer section framing */
.sgccb-v15 {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dfe4e9;
    border-radius: 14px;
    padding: clamp(20px, 2.4vw, 30px);
    margin: 26px 0 30px;
    box-shadow: 0 4px 18px rgba(22, 37, 53, 0.035);
}

/* Section heading separation */
.sgccb-v15-header {
    border-bottom: 1px solid #e9edf1;
    padding-bottom: 16px;
    margin-bottom: 22px;
}

/* Explicit card-style blocks */
.sgccb-v15-card--style-cards {
    background: #fafbfc;
    border: 1px solid #e5e9ed;
    border-radius: 10px;
    padding: 18px;
    box-sizing: border-box;
}

/* Mobile refinement */
@media (max-width: 767px) {
    .sgccb-v15 {
        padding: 18px 16px;
        border-radius: 11px;
        margin: 20px 0 24px;
    }

    .sgccb-v15-header {
        padding-bottom: 14px;
        margin-bottom: 18px;
    }

    .sgccb-v15-card--style-cards {
        padding: 15px;
    }
}

/* === END SGCCB_VISUAL_FRAME_V1 === */

/* === SG_CATEGORY_REFINEMENT_20261010_V2 === */
/* Default/Auto section only. Explicit Grid, Text and Editorial remain selectable. */
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) {
    display: block;
}
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial)::before {
    display: none;
}
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-header {
    padding: 0 0 18px;
    margin: 0 0 22px;
    max-width: none;
    border-bottom: 1px solid #e9edf1;
}
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
/* Frame default blocks without changing Chips, Cards, Rows, Text or Accordion. */
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) .sgccb-v15-card:not(.sgccb-v15-card--wide):not(.sgccb-v15-card--style-chips):not(.sgccb-v15-card--style-cards):not(.sgccb-v15-card--style-rows):not(.sgccb-v15-card--style-text):not(.sgccb-v15-card--style-accordion) {
    padding: 20px;
    border: 1px solid #e5e9ed;
    border-radius: 10px;
    background: #fafbfc;
}
.sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-note {
    margin: 16px 0 0;
}
.sgccb-v15-card h3,
.sgccb-v15-tag { overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) > .sgccb-v15-header {
        padding-bottom: 14px;
        margin-bottom: 18px;
    }
    .sgccb-v15:not(.sgccb-v15--grid):not(.sgccb-v15--text):not(.sgccb-v15--editorial) .sgccb-v15-card:not(.sgccb-v15-card--wide):not(.sgccb-v15-card--style-chips):not(.sgccb-v15-card--style-cards):not(.sgccb-v15-card--style-rows):not(.sgccb-v15-card--style-text):not(.sgccb-v15-card--style-accordion) {
        padding: 16px;
    }
}
/* === END SG_CATEGORY_REFINEMENT_20261010_V2 === */
