.ascet-table-wrap{width:100%;font-size:var(--ascet-font-size,inherit)}
/* Optional outer frame. Cell separator settings remain independent. */
.ascet-table-wrap.ascet-has-outer-border{border:var(--ascet-outer-border-width,0px) var(--ascet-outer-border-style,solid) var(--ascet-outer-border-colour,currentColor);box-sizing:border-box}
.ascet-table-wrap.ascet-has-rounded-corners{border-radius:var(--ascet-corner-radius,0px);overflow:hidden}
.ascet-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ascet-table{width:100%;border-collapse:collapse;border-spacing:0;margin:0}
.ascet-table th,.ascet-table td{padding:var(--ascet-pad-y,20px) var(--ascet-pad-x,0);text-align:left;vertical-align:top;border:0;border-bottom:var(--ascet-border-width,1px) solid var(--ascet-border,#ddd)}
.ascet-table tr:first-child th,.ascet-table tr:first-child td{border-top:var(--ascet-border-width,1px) solid var(--ascet-border,#ddd)}
/* Let the outer frame provide the upper and lower rules when requested.
   Interior row separators remain, including on responsive stacked layouts. */
.ascet-table-wrap.ascet-outer-replaces-edges .ascet-table tr:first-child > th,
.ascet-table-wrap.ascet-outer-replaces-edges .ascet-table tr:first-child > td{border-top:0}
.ascet-table-wrap.ascet-outer-replaces-edges .ascet-table tr:last-child > th,
.ascet-table-wrap.ascet-outer-replaces-edges .ascet-table tr:last-child > td{border-bottom:0}
.ascet-table-type-information .ascet-col-1{font-weight:var(--ascet-first-weight,700)}
.ascet-table-cell p{margin:0 0 .5em}.ascet-table-cell p:last-child{margin-bottom:0}
.ascet-mobile-scroll .ascet-table{min-width:var(--ascet-min-table-width,600px)}

/* Optional table colours: leave existing theme styles intact when unset. */
.ascet-table-wrap.ascet-has-table-bg .ascet-table{background-color:var(--ascet-table-bg)}
.ascet-table-wrap.ascet-has-table-text .ascet-table{color:var(--ascet-table-text)}
.ascet-table-wrap.ascet-table-has-header.ascet-has-header-bg .ascet-table tr.ascet-table-heading-row > th{background-color:var(--ascet-header-bg)}
.ascet-table-wrap.ascet-table-has-header.ascet-has-header-colour .ascet-table tr.ascet-table-heading-row > th{color:var(--ascet-header-text)}
.ascet-table-wrap.ascet-has-row-hover .ascet-table tr:hover > th,
.ascet-table-wrap.ascet-has-row-hover .ascet-table tr:hover > td{background-color:var(--ascet-row-hover)}

/* Optional per-column alignment for manual, ACF Repeater and saved tables.
   When unset, preserve the original left alignment and site overrides. */
.ascet-table-wrap[style*="--ascet-col-1-align:"] .ascet-table .ascet-col-1{text-align:var(--ascet-col-1-align)}
.ascet-table-wrap[style*="--ascet-col-2-align:"] .ascet-table .ascet-col-2{text-align:var(--ascet-col-2-align)}
.ascet-table-wrap[style*="--ascet-col-3-align:"] .ascet-table .ascet-col-3{text-align:var(--ascet-col-3-align)}
.ascet-table-wrap[style*="--ascet-col-4-align:"] .ascet-table .ascet-col-4{text-align:var(--ascet-col-4-align)}

/* Full-width information rows share the table's column grid, without fake cells.
   This remains a single cell when the table stacks at mobile breakpoints. */
.ascet-table-wrap .ascet-table tr.ascet-table-full-row > .ascet-table-full-cell{
  text-align:var(--ascet-full-row-align,left);
  font-weight:var(--ascet-full-row-weight,inherit);
}
.ascet-table-wrap.ascet-has-full-row-bg .ascet-table tr.ascet-table-full-row > .ascet-table-full-cell{
  background-color:var(--ascet-full-row-bg);
}
.ascet-table-wrap.ascet-has-full-row-text .ascet-table tr.ascet-table-full-row > .ascet-table-full-cell{
  color:var(--ascet-full-row-text);
}
