/* ============================================================
   HOW TO // AI — Brand Layer
   Variables, typography, and front-end polish.
   Sourced from the AMPLIFIED book cover so site + book feel
   like one product.
   ============================================================ */

:root {
	/* Core palette */
	--htai-navy:        #002263;   /* deep brand navy (matches existing Code Block Pro header) */
	--htai-navy-2:      #0B1840;   /* slightly darker layer for stacked dark sections */
	--htai-blue:        #2D5BD9;   /* cover-banner blue — primary CTA / links */
	--htai-blue-hover:  #1E45B8;
	--htai-spark:       #FFB300;   /* lightning yellow — highlights, hover, "ship it" moments */
	--htai-spark-2:     #FF7A00;   /* lightning orange glow */

	--htai-ink:         #0F172A;   /* body text */
	--htai-ink-soft:    #475569;   /* secondary text / meta */
	--htai-paper:       #FFFFFF;
	--htai-paper-soft:  #F6F7FB;   /* alternate section backgrounds */
	--htai-border:      #E5E7EB;

	/* Type stack */
	--htai-font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--htai-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------
   Map our palette into Astra's CSS custom properties so any
   Astra component that already uses --ast-global-color-* picks
   up the new brand without us editing Astra files.
   ------------------------------------------------------------ */
:root {
	--ast-global-color-0: var(--htai-blue);        /* primary / link */
	--ast-global-color-1: var(--htai-blue-hover);  /* primary hover */
	--ast-global-color-2: var(--htai-ink);         /* body text */
	--ast-global-color-3: var(--htai-ink);         /* headings */
	--ast-global-color-4: var(--htai-paper);       /* default bg */
	--ast-global-color-5: var(--htai-paper-soft);  /* alt bg */
	--ast-global-color-6: var(--htai-border);      /* border */
	--ast-global-color-7: var(--htai-navy);        /* footer / dark accent */
	--ast-global-color-8: var(--htai-spark);       /* highlight */
}

/* ------------------------------------------------------------
   Typography — apply fonts globally without breaking Astra's
   layout calc()s. Body weight is intentionally 400 so 600/700
   has real punch in headings.
   ------------------------------------------------------------ */
body,
button,
input,
select,
optgroup,
textarea,
.ast-container,
.entry-content,
.site-content {
	font-family: var(--htai-font-body);
	color: var(--htai-ink);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.ast-builder-html-element h1,
.ast-builder-html-element h2,
.ast-builder-html-element h3 {
	font-family: var(--htai-font-display);
	letter-spacing: -0.01em;
	color: var(--htai-ink);
}

h1, .entry-title { letter-spacing: -0.02em; font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

/* ------------------------------------------------------------
   Links + buttons — make them carry the brand.
   ------------------------------------------------------------ */
a {
	color: var(--htai-blue);
}
a:hover,
a:focus {
	color: var(--htai-blue-hover);
}

/* Astra "fill" buttons (primary CTAs throughout) */
.wp-block-button__link,
.ast-button,
.ast-custom-button,
.ast-custom-button-link,
button.menu-toggle,
input[type="submit"],
button[type="submit"] {
	font-family: var(--htai-font-display);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.wp-block-button__link,
.ast-custom-button,
.ast-custom-button-link,
input[type="submit"],
button[type="submit"] {
	background-color: var(--htai-blue);
	color: #fff;
	border-radius: 8px;
	transition: background-color 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover,
.ast-custom-button:hover,
.ast-custom-button-link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background-color: var(--htai-blue-hover);
	color: #fff;
}

/* Spark accent button (use class .htai-cta-spark on any button) */
.htai-cta-spark,
.wp-block-button.is-style-spark > .wp-block-button__link {
	background-color: var(--htai-spark) !important;
	color: var(--htai-navy) !important;
	font-weight: 700 !important;
}
.htai-cta-spark:hover,
.wp-block-button.is-style-spark > .wp-block-button__link:hover {
	background-color: var(--htai-spark-2) !important;
	color: var(--htai-navy) !important;
}

/* Outline button — WP core's is-style-outline applies before our blue
   bg rule, leaving blue text on blue background (invisible). Override
   to transparent bg + brand-blue text + brand-blue border, then fill
   on hover. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent !important;
	color: var(--htai-blue) !important;
	border: 2px solid var(--htai-blue) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--htai-blue) !important;
	color: #fff !important;
}

/* ------------------------------------------------------------
   Main nav — tighten menu item horizontal padding at narrow
   desktop sizes (1024–1199) so all six top-level items fit on
   one row before Astra's mobile breakpoint kicks in.
   ------------------------------------------------------------ */
@media (min-width: 922px) and (max-width: 1199px) {
	.main-header-menu .menu-item > .menu-link {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* ------------------------------------------------------------
   Header subscribe button — the existing primary header CTA.
   Note: Astra's actual class is ast-custom-button-link (anchor
   tag), not ast-custom-button. Style both to be safe.
   ------------------------------------------------------------ */
.ast-builder-button-wrap .ast-custom-button-link,
.ast-builder-button-wrap .ast-custom-button {
	background-color: var(--htai-spark);
	color: var(--htai-navy);
	font-family: var(--htai-font-display);
	font-weight: 700;
	letter-spacing: 0.02em;
	border: 0;
	white-space: nowrap;          /* keep "SUBSCRIBE TO OUR NEWSLETTER!" on one line */
	padding: 10px 18px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.ast-builder-button-wrap .ast-custom-button-link:hover,
.ast-builder-button-wrap .ast-custom-button:hover {
	background-color: var(--htai-spark-2);
	color: var(--htai-navy);
}

/* ============================================================
   Page header — light editorial title block at the top of
   non-blog pages. Replaces the dark cover hero we removed:
   smaller, lighter, but still gives the page identity and
   breathing room from the nav. About 150px tall.
   ============================================================ */

.page .entry-content > .htai-page-header {
	text-align: center;
	padding: 56px 24px 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--htai-border);
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

.htai-page-header .htai-eyebrow {
	font-family: var(--htai-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--htai-spark-2);
	margin: 0 0 14px;
	max-width: none;
}

.htai-page-header h1.wp-block-heading,
.htai-page-header h1 {
	font-family: var(--htai-font-display);
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
	color: var(--htai-ink);
	max-width: none;
	font-weight: 700;
}

.htai-page-header .htai-lead {
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--htai-ink-soft);
	/* !important required to beat Astra's
	   .wp-block-group.alignwide > :where(...) rule (spec 0,5,0). */
	max-width: 640px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ------------------------------------------------------------
   Hide Astra's auto-rendered page-title H1 on pages.
   Pages have their own designed headings inside content
   (cover heroes, inline H2s, etc.). The auto title was
   creating a duplicate "page name" floating above content.
   Posts keep their entry-header so blog post titles still show.
   ------------------------------------------------------------ */
.page .entry-header,
.page .ast-archive-description {
	display: none;
}

/* ------------------------------------------------------------
   Category / tag archive header — Astra wraps the "Beginner
   Basics" style title in .ast-archive-entry-banner with a chunky
   51px top + 17px bottom padding. Tighten so the title sits
   closer to the nav and the post grid starts higher on the page.
   ------------------------------------------------------------ */
.ast-archive-entry-banner {
	padding-top: 20px !important;
	padding-bottom: 12px !important;
	min-height: 0 !important;     /* Astra hardcodes 310px; kill it. */
	height: auto !important;
}

/* Archive post grid sits with a 68px top-margin by default.
   Pull the grid up so it follows the title block tightly. */
.archive .content-area.primary {
	margin-top: 24px !important;
}

/* ------------------------------------------------------------
   Reading column — narrow text-bearing direct children of
   .entry-content to 720px on both posts and pages. Structural
   blocks (.alignwide, .alignfull) opt out via the rules below.
   This gives body copy a comfortable reading width without
   squashing hero sections or wide column grids.
   ------------------------------------------------------------ */
.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > h1,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > h5,
.single-post .entry-content > h6,
.single-post .entry-content > blockquote,
.single-post .entry-content > pre,
.single-post .entry-content > .wp-block-code,
.single-post .entry-content > .wp-block-kevinbatdorf-code-block-pro,
.single-post .entry-content > figure.wp-block-image:not(.alignwide):not(.alignfull),
.single-post .entry-content > .wp-block-buttons:not(.alignwide):not(.alignfull):not(.aligncenter),
.page .entry-content > p,
.page .entry-content > ul,
.page .entry-content > ol,
.page .entry-content > h1,
.page .entry-content > h2,
.page .entry-content > h3,
.page .entry-content > h4,
.page .entry-content > h5,
.page .entry-content > h6,
.page .entry-content > blockquote,
.page .entry-content > pre,
.page .entry-content > .wp-block-code,
.page .entry-content > .wp-block-kevinbatdorf-code-block-pro,
.page .entry-content > figure.wp-block-image:not(.alignwide):not(.alignfull),
.page .entry-content > .wp-block-buttons:not(.alignwide):not(.alignfull):not(.aligncenter) {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* Tables share the reading column (comparison tables in cert posts were
   rendering full-width next to 720px body text). Genuinely wide data can
   opt out with .alignwide/.alignfull; anything wider than the column
   scrolls inside the figure instead of blowing out the layout. */
.single-post .entry-content > figure.wp-block-table:not(.alignwide):not(.alignfull),
.page .entry-content > figure.wp-block-table:not(.alignwide):not(.alignfull) {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	overflow-x: auto;
}

/* Tables with 5+ columns use the 1000px wide band instead, so the last column isn't clipped at 720px
   (David, 2026-10-11: "the right column is cut off", 40 tables on 37 pages). Still scrolls on narrow screens. */
.single-post .entry-content > figure.wp-block-table:not(.alignwide):not(.alignfull):has(tr > :nth-child(5)),
.page .entry-content > figure.wp-block-table:not(.alignwide):not(.alignfull):has(tr > :nth-child(5)) {
	max-width: 1000px;
}

/* Credentials line in the existing About-David author box (E-E-A-T byline). */
.htai-author-creds {
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 8px;
}

/* Equal-height edition cards on /amplified/ (4938): the columns row already
   stretches; make each bordered card group fill its column so all four boxes
   bottom-align regardless of copy length. Scoped to the non-hero columns
   (the hero row is vertically centered and excluded by the :not()). */
body.page-id-4938 .wp-block-columns:not(.are-vertically-aligned-center) .wp-block-column > .wp-block-group.has-border-color {
	height: 100%;
	box-sizing: border-box;
}

/* Single-post featured image: Astra renders it at full content width
   (1200px), which at the site's 3:2 image standard is ~800px tall — a
   full viewport before any text. Constrain it to the 720px reading column
   instead; at 3:2 that's a 480px-tall banner, so show the WHOLE image
   (height:auto) rather than center-cropping it — cropping clipped
   edge-to-edge art like the pixel cards. Archive grids untouched. */
.single-post .post-thumb-img-content.post-thumb {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.single-post .post-thumb-img-content.post-thumb img.wp-post-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Default (no-alignment) Group/Columns blocks on posts use the
   reading column too. Pages don't get this — page columns/groups
   without an alignment class default to the entry-content width. */
.single-post .entry-content > .wp-block-group:not(.alignwide):not(.alignfull),
.single-post .entry-content > .wp-block-columns:not(.alignwide):not(.alignfull) {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* Wide-aligned blocks (~1080px) — applies to both posts and pages.
   Astra's .ast-plain-container.ast-no-sidebar rule applies a -80px
   left/right margin to alignwide blocks (its own breakout style),
   which beats `margin: auto` on specificity and pushes the block
   to x=10. We override with !important so blocks actually center. */
.single-post .entry-content > .alignwide,
.page .entry-content > .alignwide,
.ast-plain-container .entry-content > .alignwide,
.ast-separate-container .entry-content > .alignwide {
	max-width: 1080px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Full-aligned blocks: actually break out of Astra's content
   container (which is "content-boxed" at 1200px) and span the
   viewport edge to edge. The negative margins + 100vw width is
   the standard WP "alignfull" pattern. body { overflow-x: clip }
   below prevents horizontal scrollbars from appearing. */
.single-post .entry-content > .alignfull,
.page .entry-content > .alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Prevent horizontal scrollbar when alignfull breakouts use 100vw. */
html, body {
	overflow-x: clip;
}

/* ------------------------------------------------------------
   Post title sizing — bump for editorial feel
   body.page, not .page: WordPress also gives each page's card in a
   search or archive list the class "page", which made those titles
   34px next to 24px post titles (David, 2026-10-22).
   ------------------------------------------------------------ */
.single-post .entry-title,
body.page .entry-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin-bottom: 0.4em;
}

/* ------------------------------------------------------------
   Post meta + category pills
   ------------------------------------------------------------ */
.ast-blog-meta-container,
.entry-meta {
	color: var(--htai-ink-soft);
	font-family: var(--htai-font-body);
	font-size: 0.875rem;
}

.ast-blog-meta-container a,
.entry-meta a {
	color: var(--htai-ink-soft);
	text-decoration: none;
	border-bottom: 1px dotted var(--htai-border);
}
.ast-blog-meta-container a:hover,
.entry-meta a:hover {
	color: var(--htai-blue);
	border-bottom-color: var(--htai-blue);
}

/* ------------------------------------------------------------
   Blockquote — pull quotes get the spark accent
   ------------------------------------------------------------ */
.entry-content blockquote {
	border-left: 4px solid var(--htai-spark);
	background: var(--htai-paper-soft);
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	font-style: normal;
}

/* ------------------------------------------------------------
   Selection
   ------------------------------------------------------------ */
::selection {
	background: var(--htai-spark);
	color: var(--htai-navy);
}

/* ------------------------------------------------------------
   Focus state — accessibility
   ------------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--htai-blue);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ============================================================
   Table of contents — appears on posts with 4+ H2 headings.
   Inline at top of post; styled as a small editorial card.
   ============================================================ */

.single-post .entry-content > .htai-toc {
	max-width: 720px;
	margin: 0 auto 32px;
	padding: 20px 24px;
	background: var(--htai-paper-soft);
	border: 1px solid var(--htai-border);
	border-radius: 12px;
}

.htai-toc-label {
	font-family: var(--htai-font-display) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--htai-spark-2) !important;
	margin: 0 0 12px !important;
	max-width: none !important;
}

.htai-toc-list {
	margin: 0;
	padding: 0 0 0 1.4em;
	font-size: 0.95rem;
	line-height: 1.65;
	list-style-type: decimal;
	color: var(--htai-ink-soft);
}

.htai-toc-list li {
	margin: 0;
	padding: 0;
}

.htai-toc-list li::marker {
	color: var(--htai-ink-soft);
	font-variant-numeric: tabular-nums;
}

.htai-toc-list a {
	color: var(--htai-ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.htai-toc-list a:hover,
.htai-toc-list a:focus-visible {
	border-bottom-color: var(--htai-blue);
	color: var(--htai-blue);
}

/* Smooth scrolling when clicking a TOC link. */
html {
	scroll-behavior: smooth;
}

/* ============================================================
   Post template polish — share row, author bio, newsletter CTA.
   Rendered by htai_render_post_footer() on every single post.
   ============================================================ */

/* Higher-specificity selector to beat Astra's
   .entry-content[data-ast-blocks-layout] > * rule (which would
   otherwise set max-width to the full container width). */
.entry-content[data-ast-blocks-layout] > .htai-post-footer,
.htai-post-footer {
	max-width: 720px;
	margin: 64px auto 0 auto;   /* match reading column width */
	padding-top: 32px;
	border-top: 1px solid var(--htai-border);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Share row ----------------------------------------------------*/

.htai-share {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.htai-share-label {
	font-family: var(--htai-font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--htai-ink-soft);
	margin-right: 4px;
}

.htai-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--htai-paper-soft);
	color: var(--htai-ink);
	border: 1px solid var(--htai-border);
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
	position: relative;
	padding: 0;
	text-decoration: none;
}

.htai-share-btn:hover,
.htai-share-btn:focus-visible {
	background: var(--htai-navy);
	color: #fff;
	border-color: var(--htai-navy);
}

.htai-copy-link .htai-copy-feedback {
	position: absolute;
	top: -28px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--htai-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease;
}

.htai-copy-link.htai-copied .htai-copy-feedback {
	opacity: 1;
}

/* Author bio card ---------------------------------------------*/

.htai-author {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--htai-paper-soft);
	border: 1px solid var(--htai-border);
	border-radius: 12px;
	padding: 24px;
}

.htai-author-photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	flex-shrink: 0;
	object-fit: cover;
	background: #fff;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.htai-author-text {
	flex: 1;
	min-width: 0;
}

.htai-author-text p {
	margin: 0 0 8px 0;
	font-size: 0.95rem;
	line-height: 1.55;
	max-width: none;       /* override the 720px reading column rule */
}

.htai-author-name {
	font-family: var(--htai-font-display) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--htai-ink-soft) !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.htai-author-name strong {
	color: var(--htai-ink);
}

.htai-author-links {
	font-size: 0.875rem !important;
	color: var(--htai-ink-soft);
	margin-top: 12px !important;
}

.htai-author-links span {
	color: var(--htai-border);
	margin: 0 4px;
}

/* Newsletter CTA ----------------------------------------------*/

.htai-newsletter {
	background: var(--htai-navy);
	color: #fff;
	border-radius: 12px;
	padding: 36px 32px;
	text-align: center;
}

.htai-newsletter-title {
	font-family: var(--htai-font-display) !important;
	color: #fff !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	margin: 0 0 8px 0 !important;
	line-height: 1.2;
	max-width: none;
}

.htai-newsletter-sub {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px 0;
	font-size: 1rem;
	max-width: none;
}

.htai-newsletter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--htai-spark);
	color: var(--htai-navy);
	font-family: var(--htai-font-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 8px;
	transition: background-color 160ms ease;
}

.htai-newsletter-btn:hover,
.htai-newsletter-btn:focus-visible {
	background: var(--htai-spark-2);
	color: var(--htai-navy);
}

/* Mobile tweaks -----------------------------------------------*/

@media (max-width: 640px) {
	.htai-author {
		flex-direction: column;
		text-align: left;
	}
	.htai-author-photo {
		width: 72px;
		height: 72px;
	}
	.htai-newsletter {
		padding: 28px 20px;
	}
	.htai-newsletter-title {
		font-size: 1.25rem !important;
	}
}

/* ============================================================
   Homepage category cards — link cards with hover state.
   Used in the "Browse by use case" section on the homepage.
   ============================================================ */

.htai-cat-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 24px 22px;
	border: 1px solid var(--htai-border);
	border-radius: 14px;
	background: #fff;
	color: var(--htai-ink);
	text-decoration: none !important;
	height: 100%;
	transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
	min-height: 168px;
	position: relative;
	overflow: hidden;
}

/* Strip ALL inherited underlines from anything inside the card.
   Astra applies text-decoration: underline to .entry-content a — this overrides it. */
.htai-cat-card,
.htai-cat-card *,
.htai-cat-card:hover,
.htai-cat-card:hover *,
.htai-cat-card:focus,
.htai-cat-card:focus *,
.htai-cat-card:focus-visible,
.htai-cat-card:focus-visible * {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none;
}

/* Re-apply the hover shadow on the card itself (the rule above stripped it from children) */
.htai-cat-card:hover,
.htai-cat-card:focus-visible {
	border-color: var(--htai-blue);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 34, 99, 0.12);
	color: var(--htai-ink);
}

/* Subtle gradient accent strip across the top of the card on hover */
.htai-cat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--htai-blue), var(--htai-spark-2));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 280ms ease;
}

.htai-cat-card:hover::before,
.htai-cat-card:focus-visible::before {
	transform: scaleX(1);
}

/* Arrow at the bottom-right — slides in on hover */
.htai-cat-card::after {
	content: '→';
	position: absolute;
	bottom: 18px;
	right: 22px;
	font-size: 18px;
	font-weight: 700;
	color: var(--htai-spark-2);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.htai-cat-card:hover::after,
.htai-cat-card:focus-visible::after {
	opacity: 1;
	transform: translateX(0);
}

/* Icon container scales up slightly on hover */
.htai-cat-card .htai-cat-icon {
	transition: transform 220ms ease;
}

.htai-cat-card:hover .htai-cat-icon,
.htai-cat-card:focus-visible .htai-cat-icon {
	transform: scale(1.06);
}

.htai-cat-card-eyebrow {
	font-family: var(--htai-font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--htai-spark-2);
	margin-top: 2px;
}

.htai-cat-card-title {
	font-family: var(--htai-font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--htai-ink);
	margin-top: 4px;
}

.htai-cat-card-desc {
	font-size: 15px;
	color: var(--htai-ink-soft);
	line-height: 1.5;
	margin-top: 6px;
	padding-right: 22px; /* keep description text from running into the hover arrow */
}

/* ============================================================
   Beehiiv inline form wrapper — gives the embed some breathing
   room and constrains its width inside dark hero sections.
   ============================================================ */

.htai-newsletter-embed-wrap {
	max-width: 480px;
	margin: 24px auto 0;
}

.htai-newsletter-embed-wrap iframe,
.htai-newsletter-embed-wrap form {
	max-width: 100%;
}

/* ============================================================
   /articles/ intro — light editorial header above the blog feed.
   Lives inside the .ast-row container Astra uses for the blog
   page, before the first article card.
   ============================================================ */

.htai-articles-intro {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 40px;
	padding: 32px 16px 0;
	text-align: center;
}

.htai-articles-intro-h {
	font-family: var(--htai-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--htai-ink);
	margin: 0 0 12px;
}

.htai-articles-intro-lead {
	font-size: 1.0625rem;
	color: var(--htai-ink-soft);
	max-width: 640px;
	margin: 0 auto 24px;
	line-height: 1.55;
}

.htai-articles-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	max-width: 720px;
	margin: 0 auto;
}

.htai-pill {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--htai-border);
	border-radius: 999px;
	background: #fff;
	color: var(--htai-ink);
	font-family: var(--htai-font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.htai-pill:hover,
.htai-pill:focus-visible {
	border-color: var(--htai-blue);
	background: var(--htai-blue);
	color: #fff;
}

/* On category archives the intro doesn't render, but if it ever
   does, we'd want the same look. */
.archive .htai-articles-intro {
	margin-bottom: 32px;
}

/* ============================================================
   Footer breathing room — add space below page content so the
   last block doesn't butt against the footer. Skipped when the
   last block is alignfull (full-bleed navy strips like the
   homepage newsletter blend into the footer intentionally).
   ============================================================ */

.site-main {
	padding-bottom: 80px;
}

/* :has() lets us detect the alignfull case and remove the gap
   so full-bleed sections flow into the footer seamlessly. */
.site-main:has(.entry-content > .alignfull:last-child) {
	padding-bottom: 0;
}

/* ============================================================
   Site footer — multi-column navy. Hides Astra's default
   one-line footer and presents a real editorial/commerce footer.
   ============================================================ */

/* Hide Astra's default footer entirely. */
.site-footer,
[data-section="section-below-footer-builder"],
[data-section="section-primary-footer-builder"],
[data-section="section-above-footer-builder"] {
	display: none !important;
}

.htai-footer {
	background: var(--htai-navy);
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--htai-font-body);
	padding: 64px 32px 24px;
	font-size: 15px;
	line-height: 1.55;
}

.htai-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.htai-footer-grid {
	display: grid;
	/* brand block plus five link columns (Articles, Products, Free Tools, Company, Legal) */
	grid-template-columns: 1.7fr repeat(5, 1fr);
	gap: 40px 32px;
}

/* Brand column */
.htai-footer-brand {
	max-width: 320px;
}
.htai-footer-logo {
	font-family: var(--htai-font-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
	color: #fff;
	margin: 0 0 12px;
}
.htai-footer-tagline {
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 20px;
	font-size: 14px;
}
.htai-footer-social {
	display: flex;
	gap: 10px;
}
.htai-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 160ms ease, color 160ms ease;
	text-decoration: none;
}
.htai-footer-social a:hover,
.htai-footer-social a:focus-visible {
	background: var(--htai-spark);
	color: var(--htai-navy);
}

/* Link columns */
.htai-footer-h {
	font-family: var(--htai-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
}
.htai-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.htai-footer-col li {
	margin: 0 0 8px;
}
.htai-footer-col a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 160ms ease;
	font-size: 14px;
}
.htai-footer-col a:hover,
.htai-footer-col a:focus-visible {
	color: var(--htai-spark);
}

/* Bottom bar */
.htai-footer-bottom {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}
.htai-footer-bottom p {
	margin: 0;
}

/* Tablet */
@media (max-width: 960px) {
	.htai-footer-grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 36px 24px;
	}
	.htai-footer-brand {
		grid-column: 1 / -1;
		max-width: 480px;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.htai-footer {
		padding: 48px 24px 20px;
	}
	.htai-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px 16px;
	}
	.htai-footer-brand {
		grid-column: 1 / -1;
	}
	.htai-footer-bottom {
		flex-direction: column;
		gap: 6px;
		text-align: left;
	}
}

/* ============================================================
   Custom newsletter subscribe form — used on /subscribe/, the
   homepage CTA, and the Amplified page. POSTs to the WP REST
   endpoint /wp-json/htai/v1/subscribe which in turn calls the
   beehiiv API server-side.
   ============================================================ */

.htai-sub-form {
	display: flex !important;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 480px !important;
	width: 100%;
	margin: 24px auto 0 !important;
	align-items: stretch;
}

.htai-sub-form input[type=email] {
	flex: 1;
	min-width: 220px;
	padding: 14px 16px;
	font-size: 16px;
	border: 1.5px solid #CBD5E1;
	border-radius: 10px;
	background: #fff;
	color: #0F172A;
	outline: none;
	transition: border-color 160ms ease;
	line-height: 1.2;
}

.htai-sub-form input[type=email]:focus {
	border-color: var(--htai-spark-2, #FFB300);
}

.htai-sub-form button {
	flex: 0 0 auto;
	padding: 14px 22px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	background: var(--htai-spark-2, #FFB300);
	color: var(--htai-blue, #002263);
	border: 0;
	cursor: pointer;
	transition: all 150ms ease;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.htai-sub-form button:hover {
	background: #FFC633;
	transform: translateY(-1px);
}

.htai-sub-form button:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.htai-sub-msg {
	flex: 1 0 100%;
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

/* When the message is empty, collapse the line so the form sits tight
   against the reassurance text below. Avoids a 20px ghost gap. */
.htai-sub-msg:empty {
	margin: 0;
	min-height: 0;
	display: none;
}

.htai-sub-msg.is-error { color: #FCA5A5; }
.htai-sub-msg.is-success { color: #86EFAC; }

.htai-sub-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(0, 34, 99, 0.25);
	border-top-color: var(--htai-blue, #002263);
	border-radius: 50%;
	animation: htai-sub-spin 0.7s linear infinite;
	vertical-align: -2px;
	margin-right: 6px;
}

@keyframes htai-sub-spin {
	to { transform: rotate(360deg); }
}

/* =====================================================
   Compact archive list layout (blog index /articles/)
   Thumbnail on left, title + meta + excerpt on right.
   ===================================================== */

body.blog .ast-row { display: block !important; }

body.blog article.post.ast-article-post {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	margin: 0 0 18px !important;
}

/* Kill Astra blog-layout-4's outer grid that leaves an empty 180px gutter */
body.blog article.post.ast-article-post .ast-article-inner {
	display: block !important;
	grid-template-columns: none !important;
	border-bottom: 1px solid #e8e8e8;
	padding: 18px !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col {
	display: grid !important;
	grid-template-columns: 240px 1fr !important;
	column-gap: 24px !important;
	row-gap: 4px !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 100% !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-blog-featured-section {
	grid-column: 1 !important;
	grid-row: 1 / span 6 !important;
	margin: 0 !important;
	width: 240px !important;
	align-self: start !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb-img-content,
body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb {
	width: 240px !important;
	max-width: 240px !important;
	height: auto !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb-img-content img {
	width: 240px !important;
	height: 160px !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 6px !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .entry-title,
body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .entry-header,
body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-excerpt-container,
body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-read-more-container,
body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .entry-content {
	grid-column: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: 100% !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .entry-title {
	font-size: 1.35rem !important;
	line-height: 1.3 !important;
	margin-bottom: 4px !important;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-excerpt-container p {
	font-size: 1rem !important;
	line-height: 1.55 !important;
	margin: 6px 0 0 !important;
	color: #444;
}

body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-read-more-container {
	margin-top: 10px !important;
}

/* Mobile: single column, thumb on top */
@media (max-width: 720px) {
	body.blog article.post.ast-article-post .post-content.ast-grid-common-col {
		grid-template-columns: 1fr !important;
	}
	body.blog article.post.ast-article-post .post-content.ast-grid-common-col > .ast-blog-featured-section {
		grid-row: auto !important;
		width: 100% !important;
	}
	body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb-img-content,
	body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb,
	body.blog article.post.ast-article-post .post-content.ast-grid-common-col .post-thumb-img-content img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}
}

/* =====================================================
   Homepage "Start Here — Popular Guides" card grid
   ===================================================== */

.htai-pop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 8px;
}

@media (max-width: 900px) {
	.htai-pop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
	.htai-pop-grid { grid-template-columns: 1fr; }
}

.htai-pop-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e7e9ef;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease;
}

.htai-pop-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 34, 99, .13);
}

.htai-pop-thumb {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
	background: #f1f3f8;
}

.htai-pop-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.htai-pop-title {
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--htai-blue, #002263);
	text-decoration: none;
}

.htai-pop-desc {
	font-size: .86rem;
	line-height: 1.45;
	color: #5b6472;
}

.htai-pop-card:hover .htai-pop-title {
	text-decoration: underline;
}

/* ------------------------------------------------------------
   Reading-column alignment for the post-footer sections.
   The article body, author box, and newsletter box all sit in
   the 720px column — the FAQ accordion and Astra's Related
   Posts were spanning full width and breaking the rhythm.
   (!important: Astra container rules outrank single-class
   selectors here — see content-width gotcha.)
   ------------------------------------------------------------ */
.single-post .entry-content > .htai-faq {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Continuous white surface from the article through prev/next navigation and
   Related Posts — kills the white/gray/white sandwich at the bottom of posts.
   The outer boxes all go white and butt together; inner content stays on the
   720px reading column. */
.single-post article.ast-article-single {
	margin-bottom: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.single-post .ast-single-related-posts-container {
	background: var(--htai-paper-soft);
	max-width: none !important;
	margin: 0 !important;
	padding: 8px 24px 56px;
}
.single-post .ast-related-posts-title-section,
.single-post .ast-related-posts-wrapper {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ------------------------------------------------------------
   Single-post surface: kill the white band between the header
   and the article. #primary carries a 68px top margin and the
   body bg is white, so that margin showed as a white gap above
   the soft-gray article surface. Collapse it and tint the
   content wrapper so the gray runs edge-to-edge from the header.
   ------------------------------------------------------------ */
.single-post #content,
.single-post #primary {
	background: var(--htai-paper-soft);
}
.single-post #primary {
	margin-top: 0 !important;
}

/* Free Kits page: the 3 kit cards sit on the same 720px column as the
   page text (David's call — consistency over sprawl). Scoped: other
   pages use deliberately-wide columns rows. */
.page-id-4940 .entry-content > .wp-block-columns {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;   /* cards flush with the library box edges */
	padding-right: 0 !important;
}

/* Courses page: same width discipline as Free Kits — every box on the
   720px text column; only the page header stays wide. */
.page-id-4939 .entry-content > .wp-block-columns,
.page-id-4939 .entry-content > .wp-block-group.alignwide:not(.htai-page-header) {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Free Kits cards: uniform single-line buttons (labels were wrapping
   to two lines in the narrower cards, giving mismatched button heights). */
.page-id-4940 .entry-content > .wp-block-columns .wp-block-button__link {
	font-size: 15px !important;
	padding: 13px 16px !important;
	white-space: nowrap;
}

/* =====================================================
   Lead-magnet / free-download CTA (newsletter posts)
   Emitted by publish-newsletter.py --cta so every import
   keeps its Notion download instead of dropping it.
   ===================================================== */
.htai-leadmagnet {
	max-width: 720px !important;   /* Astra's .entry-content>* forces 1200px otherwise */
	margin: 2.2rem auto !important;
	padding: 1.35rem 1.5rem;
	background: #F3F6FF;
	border: 1px solid #D6E0FF;
	border-left: 4px solid #2D5BD9;
	border-radius: 12px;
}
.htai-leadmagnet .htai-lm-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .4rem; }
.htai-leadmagnet p { margin: .45rem 0; }
.htai-leadmagnet .htai-lm-btn {
	display: inline-block;
	margin-top: .85rem;
	background: #2D5BD9;
	color: #fff !important;
	font-weight: 600;
	padding: .7rem 1.25rem;
	border-radius: 8px;
	text-decoration: none !important;
}
.htai-leadmagnet .htai-lm-btn:hover { background: #1E46B0; }

/* Post embeds (YouTube etc.) match the 720px reading column — an
   unaligned wp-block-embed otherwise defaults to the wide content
   column, which reads as "video wider than the text". House rule. */
.single-post .entry-content > .wp-block-embed,
.single-post .entry-content .wp-block-embed__wrapper {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------------------------------------------------------------------------
   .htai-wide — the official WIDE MEDIA BAND (added 2026-09-09).
   Two-track layout system: prose stays 720px; card grids, galleries and
   comparison tables get this centered 1000px track. Specificity is two
   classes so it outranks Astra's `.entry-content > *` width cap.
   --------------------------------------------------------------------------- */
.entry-content > .htai-wide,
.entry-content .wp-block-columns.htai-wide,
.entry-content .wp-block-group.htai-wide {
	max-width: 1000px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------------------------------------------------------------------------
   .htai-opts — multiple-choice answer options (added 2026-09-20).
   Practice-question posts write options that already start with "A." / "B.",
   so the list itself carries no marker. prod2/build.py adds this class when it
   sees a lettered option list.
   --------------------------------------------------------------------------- */
.entry-content .wp-block-list.htai-opts {
	list-style: none;
	padding-left: 0;
}
.entry-content .wp-block-list.htai-opts li {
	margin: 0 0 .35em;
}

/* "Study this exam on your phone" app block (.htai-app-cta) on the cert pages.
   It is a wp-block-group, and the 720px reading-column rules above only name
   headings, paragraphs, lists, figures, tables and buttons, so the group was
   spanning the full content width while the body text beside it sat at 720px.
   This was carried by an inline <style> inside reusable block 5926 until
   2026-09-25, when the shared block was replaced by per-exam inline blocks and
   the style went with it. Keep it here so every copy inherits it. */
.entry-content .htai-app-cta {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* Apple's "Download on the App Store" badge. Apple's guidelines require clear space around it of at
   least a quarter of its height, and a minimum on-screen height of 40px. Ours renders 180x60, so the
   margin below is 15px. Do not recolour, crop or animate the badge. Added 2026-09-25. */
.htai-appstore-badge {
	margin: 16px 0;
}
.htai-appstore-badge img {
	display: block;
	height: auto;
}

/* ------------------------------------------------------------
   Content tables: branded card style (David, 2026-10-07: "more eye catching", modelled on the RFPhub tables, in
   HOW TO // AI colours). Applies to every core table block (297 tables on 150 pages): rounded card, navy header
   row with the amber spark underline, zebra rows, a hover highlight and a bold first column. Tables with no
   header row get a tinted first column instead, so two-column "label | value" tables read as a key/value card.
   Wide tables (4+ columns) scroll sideways inside the card on phones rather than squashing.
   ------------------------------------------------------------ */
.entry-content figure.wp-block-table {
	border: 1px solid #DCE3EF;
	border-radius: 12px;
	background: var(--htai-paper);
	box-shadow: 0 1px 3px rgba(0, 34, 99, .08), 0 6px 18px rgba(0, 34, 99, .05);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 1.5em;
	margin-bottom: 1.75em;
}
.entry-content figure.wp-block-table table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0;
	font-size: .95rem;
	line-height: 1.5;
	background: var(--htai-paper);
}
.entry-content figure.wp-block-table th,
.entry-content figure.wp-block-table td {
	padding: 12px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #E8ECF4 !important;
	text-align: left;
	vertical-align: top;
	color: var(--htai-ink);
	min-width: 5.5em;
}
.entry-content figure.wp-block-table thead {
	border: 0 !important;
}
.entry-content figure.wp-block-table thead th,
.entry-content figure.wp-block-table thead td {
	background: var(--htai-navy);
	color: #fff;
	font-family: var(--htai-font-display);
	font-weight: 700;
	font-size: .86rem;
	letter-spacing: .02em;
	border-bottom: 3px solid var(--htai-spark) !important;
	vertical-align: bottom;
}
.entry-content figure.wp-block-table thead a { color: #fff; }
/* Exam codes (CCAO-F, MLA-C01) arrive wrapped in this span by htai-brand.php so they never break at the hyphen. */
.htai-nw { white-space: nowrap; }
.entry-content figure.wp-block-table tbody tr:nth-child(even) > * { background: #F6F8FC; }
.entry-content figure.wp-block-table tbody tr:hover > * { background: #EAF0FB; }
.entry-content figure.wp-block-table tbody tr:last-child > * { border-bottom: 0 !important; }
.entry-content figure.wp-block-table tbody tr > :first-child:not(:only-child) {
	font-weight: 600;
	color: #0F2A55;
}
/* No header row: the first column is the label column. */
.entry-content figure.wp-block-table table:not(:has(thead)) tbody tr > :first-child:not(:only-child) {
	background: #EEF3FB;
	width: 34%;
}
.entry-content figure.wp-block-table table:not(:has(thead)) tbody tr:hover > :first-child { background: #E2EAF8; }
.entry-content figure.wp-block-table tfoot td {
	background: var(--htai-paper-soft);
	font-weight: 600;
	border-top: 1px solid #DCE3EF !important;
}
.entry-content figure.wp-block-table figcaption,
.entry-content figure.wp-block-table .wp-element-caption {
	margin: 0;
	padding: 8px 16px 10px;
	font-size: .85rem;
	color: var(--htai-ink-soft);
	background: var(--htai-paper-soft);
	border-top: 1px solid #E8ECF4;
	text-align: left;
}
@media (max-width: 720px) {
	.entry-content figure.wp-block-table table { font-size: .9rem; }
	.entry-content figure.wp-block-table th,
	.entry-content figure.wp-block-table td { padding: 10px 12px !important; }
	.entry-content figure.wp-block-table table:has(tr > :nth-child(4)) { min-width: 600px; }
	.entry-content figure.wp-block-table table.has-fixed-layout:has(tr > :nth-child(4)) { table-layout: auto; }
}
