/**
 * Two Column HTML (inc/blocks-layout/two-column-html.php) — two WYSIWYG
 * columns side by side: Left Column ~30%, a 5% gap, Right Column ~65%
 * (30 + 5 + 65 = 100 — CSS Grid's column-gap percentage is EXTRA space on
 * top of the track percentages, not carved out of them, so these three
 * numbers need to keep summing to 100% if you change them). Per chat:
 * "The columns should probably be 30%, maybe a 5% gap, and then 65%?" —
 * starting values, easy to retune below (this is the one file that needs
 * editing for that — nothing else in the block depends on the exact
 * split).
 *
 * Stacks to one column below 700px, left-then-right in source order, same
 * "photo/text stacks on mobile regardless of desktop side" convention as
 * this theme's other side-by-side blocks (e.g. Image + Text).
 *
 * Same iframe/embed/video/img max-width guardrails as Open HTML
 * (assets/css/open-html.css) — a fixed-pixel-width embed code shouldn't be
 * able to overflow its (here, much narrower — as little as 30% of 75rem)
 * column and force horizontal scroll on mobile.
 */

.two-column-html-block {
	max-width: 75rem;
	margin: 0 auto;
	padding: 2rem;
	display: grid;
	grid-template-columns: 30% 65%;
	column-gap: 5%;
  
  a {
    color: black;
  }
}

@media ( max-width: 700px ) {
	.two-column-html-block {
		grid-template-columns: 1fr;
		row-gap: 2rem;
	}
}

/* A column left empty (see this layout's own "don't render an empty block"
   rule in two-column-html.php) just isn't in the markup at all, so an
   empty Left Column doesn't leave a blank 30% gap beside a lonely Right
   Column — the remaining column simply takes over the full grid row. */
.two-column-html-col:only-child {
	grid-column: 1 / -1;
}

.two-column-html-col iframe,
.two-column-html-col embed,
.two-column-html-col video,
.two-column-html-col img {
	max-width: 100%;
}