/*
 Theme Name:   WebsiteValet GeneratePress "AI Refresh" Child Theme
 Theme URI:    http://generatepress.com
 Description:  A child theme customized for: WebsiteValet clients
 Author:       Tim Taricco
 Author URI:   http://www.timtaricco.com
 Template:     generatepress
 Version:      11.10.26
 Tags: none
*/

/*** Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
1  - Base
2  - Content Elements (links, text, tables, quotes, lists, images)
3  - GeneratePress
4  - GenerateBlocks
5  - Components (password form, lightbox)
6  - Gravity Forms
7  - Custom Text Formats Plugin
8  - CSS Class Manager Classes

Design tokens (colors, type, space, radius) are managed in
GenerateBlocks Pro > Design Tokens, not in this file.
***/

/*** 1 - Base
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

/*** Website Scrollbar Styles ***/
::-webkit-scrollbar {
	width: .75em;
	height: .75em;
}
::-webkit-scrollbar-track {
	background: var(--light-1);
	border-radius: 100vw;
	margin-block: 0.5em;
}
::-webkit-scrollbar-thumb {
	background: var(--accent-1);
	border: 0.15em solid var(--light-1);
	border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--accent-2);
}
@supports (scrollbar-color: var(--accent-1) var(--light-1)) {
	* {
		scrollbar-color: var(--accent-1) var(--light-1);
		scrollbar-width: auto;
	}
} /* For Firefox */

/*** 2 - Content Elements
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** WordPress Link Styling Custom CSS ***/
p.gb-text a,
#main :is(p, li) a:any-link:not([class^="button_"]):not([class*=" button_"]) {
	text-decoration: none;
	position: relative;
	background-image: linear-gradient(currentColor, currentColor); /* Underline follows the link color from the 'a' Global Style */
	background-size: 100% var(--link-border-bottom);
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.5s ease-in-out, color 0.3s ease-in-out;
}
p.gb-text a:is(:hover, :focus),
#main :is(p, li) a:any-link:not([class^="button_"]):not([class*=" button_"]):is(:hover, :focus) {
	background-size: 0 var(--link-border-bottom); /* Underline retracts on hover */
	cursor: pointer;
}

/*** WordPress General Styling Custom CSS ***/
#main p:last-child:last-of-type {
	margin-bottom: 0;
} /* Remove bottom margin from last paragraph in a container */
#main sup {
	position: relative;
	font-size: 70%;
	line-height: 0;
	vertical-align: baseline;
	top: -.5em;
} /* Style Superscript */

/*** WordPress Table Block Custom CSS ***/
#main .wp-block-table {
	margin: 0;
} /* Table block formatting */
#main figure.wp-block-table {
	overflow-x: auto;
	overflow-y: hidden;
} /* Allow sideways scroll for table block on mobile */
#main .wp-block-table table {
	min-width: 688px;
	margin: 0;
} /* Allow sideways scroll for table block on mobile */

/*** Horizontal Line Styling ***/
#main hr {
	margin-top: var(--margin-bottom-p);
	margin-bottom: var(--margin-bottom-p);
} /* Adjust HR styling */
#main .wp-block-separator {
	border: .5px solid;
} /* Adjust HR styling */

/*** WordPress Blockquote Block Custom CSS ***/
#main blockquote {
	border: none;
	font-size: var(--text-lg);
	line-height: var(--line-height-lg);
	margin-bottom: var(--margin-bottom-lg);
}
#main blockquote::before {
	content: "\201C";
	display: block;
	font-size: 100px;
	color: var(--accent-1);	
	top: -60px;
	left: -48px;
	position: relative;
	height: 0;
}
#main blockquote p {
	margin-bottom: var(--margin-bottom-p);
}
#main .wp-block-quote {
	border-left: 0 !important;
}
@media (max-width: 767px) {
	#main blockquote::before {
		font-size: 70px;
		top: -40px;
		left: -28px;
	}
}

/*** Lists: square accent bullets (unordered), accent markers (ordered) ***/
#main :is(ul.wp-block-list, .gb-container ul, .acf-wysiwyg-editor-styling ul) {
	margin: 0 0 var(--margin-bottom-p) 0;
	list-style: none;

	& li {
		position: relative;
		padding-left: 25px;

		&::before {
			content: "\25A0";
			color: var(--accent-1);
			font-size: 17px;
			font-weight: 700;
			position: absolute;
			left: 0;
			top: 0;
			transform: translateY(-2px);
		}
	}

	& li ul { /* Nested unordered list */
		margin: 0;
		padding-left: 10px;
		list-style: none;
	}
}
#main :is(ol.wp-block-list, .gb-container ol, .acf-wysiwyg-editor-styling ol) {
	margin: 0 0 var(--margin-bottom-p) 0;
	padding-left: 25px;
	list-style: decimal;

	& li {
		padding-left: 5px;

		&::marker {
			color: var(--accent-1);
			font-weight: bold;
		}
	}

	& ol { /* Nested ordered list */
		margin-bottom: 0;
		padding-left: 20px;
		list-style: lower-alpha;
	}

	& li ul { /* Unordered list inside an ordered list */
		margin: 0;
		padding-left: 10px;
		list-style: none;

		& li {
			position: relative;
			padding-left: 25px;
		}
	}
}

/*** WordPress Core Image Block — Custom Styling (WP 6.7+, Radius Default) ***/
.is-style-radius-default img {
	border-radius: var(--border-radius-default);
}

/*** 3 - GeneratePress
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** Container Sizes ***/
.body-wrapper {
	max-width: var(--body-wrapper-desktop);
	margin: auto;
	background-color: var(--light-1);
} /* Control maximum width of body/content */
#content {
	max-width: 100%;
}
#main {
	min-height: 75vh;
}
@media (max-width: 767px) {
	.body-wrapper {
		max-width: var(--body-wrapper-mobile);
	} /* Control maximum width of body/content */
}

/*** Search ***/
.gp-modal__container {
	background-color: var(--light-1);
}
a[data-gpmodal-trigger="gp-search"] {
	padding-left: 0 !important;
}
@media (min-width: 1025px) {
	a[data-gpmodal-trigger="gp-search"] {
		padding-right: 0 !important;
	}
}

/*** Back-to-Top Button Styling ***/
a.generate-back-to-top,
a.generate-back-to-top:visited,
a.generate-back-to-top:link {
	border-radius: var(--border-radius-default) 0 0 var(--border-radius-default);
	right: 0;
	bottom: 100px;
	width: clamp(1.25rem, 0.861rem + 1.639vw, 2.5rem);
	line-height: 2;
} /* Adjust back-to-top button */
a.generate-back-to-top:focus,
a.generate-back-to-top:hover {
	cursor: pointer;
} /* Adjust back-to-top button */

/*** 4 - GenerateBlocks
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** GenerateBlocks General Tweaks ***/
p.gb-text:last-child:last-of-type {
	margin-bottom: 0;
} /* Remove bottom margin from last paragraph in a container */

/*** GenerateBlocks Buttons Global Styles Tweaks ***/
[class*="button_"] {
	transition: all 0.2s ease-in 0s;
}
/* Button container widths and the icon-text link style live in the GenerateBlocks Global Styles (.buttons-container_fixed, .buttons-container_text, .button_icon-text-v1) */

/*** GenerateBlocks Pagination styling tweaks ***/
.gb-query-loop-pagination span.page-numbers.current {
	font-size: var(--text-base);
	line-height: var(--line-height-base);
	background-color: var(--accent-1);
	color: var(--light-1);
	border: 1px solid var(--accent-1);
	border-radius: var(--border-radius-pill);
	padding: 4px 15px;
}

/*** 5 - Components
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** Password protected page / post (colors come from the 'textarea' and 'button' element Global Styles) ***/
.post-password-form {
	max-width: 300px;
	margin: auto;
}
.post-password-form label {
	padding: 0;
}
.post-password-form input[type="password"] {
	display: block;
	width: 100%;
	font-size: inherit;
	line-height: inherit;
	padding: 12px 20px;
	border-radius: var(--border-radius-default);
}
.post-password-form input[type="submit"] {
	width: 100%;
	margin-top: 20px;
	padding: 8px 30px;
	font-size: inherit;
	font-weight: 600;
	line-height: inherit;
	text-transform: uppercase;
	border-radius: var(--border-radius-default);
}

/*** WordPress Core Image Block Lightbox (WP 6.7+: light overlay, round close button) ***/
.wp-lightbox-overlay {
	background-color: rgb(255 255 255 / 0.75);
	backdrop-filter: blur(10px) saturate(140%);
	animation: wsv-lightbox-fade 0.25s ease-in-out;
} /* Overlay background and fade-in */
.wp-lightbox-overlay .scrim {
	background-color: transparent !important;
} /* Core sets the scrim color inline; keep the page visible behind the overlay */
.wp-lightbox-overlay .lightbox-image-container {
	border-radius: var(--border-radius-default);
}
.wp-lightbox-overlay img {
	border-radius: var(--border-radius-default) !important;
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
	background-color: var(--light-1);
} /* Image with consistent radius */
.wp-lightbox-overlay .wp-lightbox-close-button {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--dark-1) !important;
	border-radius: 50%;
	background-color: var(--light-1) !important;
	color: var(--dark-1);
	transition: all 0.25s ease-in-out;
} /* Core's :not(:hover) rule is very specific, hence the !important */
.wp-lightbox-overlay .wp-lightbox-close-button:is(:hover, :focus) {
	background-color: var(--accent-2) !important;
	border-color: var(--accent-2) !important;
	color: var(--light-1);
}
.wp-lightbox-overlay .wp-lightbox-close-button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
	outline-offset: 2px;
}
.wp-lightbox-overlay .wp-lightbox-close-button svg path {
	fill: var(--dark-1);
	transition: fill 0.25s ease-in-out;
}
.wp-lightbox-overlay .wp-lightbox-close-button:is(:hover, :focus) svg path {
	fill: var(--light-1);
}
@keyframes wsv-lightbox-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/*** 6 - Gravity Forms (Orbital theme, GF 3.x)
Look is driven by Gravity Forms' own --gf-* variables, mapped to the design tokens.
Edit the variable block for per-site changes; the rules below it only cover what GF has no variable for.
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** Variables: tokens -> Orbital
:is(#main, body) and [data-form-index] raise specificity above the inline style GF prints for each form (#gform_wrapper_N[data-form-index].gform-theme), which would otherwise win. ***/
:is(#main, body) .gform_wrapper.gform-theme--framework[data-form-index] {
	/* Brand */
	--gf-color-primary: var(--accent-1);
	--gf-color-primary-darker: var(--accent-1);
	--gf-color-primary-contrast: var(--light-1);
	--gf-color-in-ctrl-primary: var(--accent-1); /* checked checkbox / radio */
	--gf-color-in-ctrl-primary-contrast: var(--light-1);

	/* Layout */
	--gf-form-gap-x: 20px; /* fixed: the 12-column field grid has 11 gaps, so a fluid gap overflows narrow forms on wide screens */
	--gf-form-gap-y: 1.25rem;
	--gf-radius: var(--border-radius-sm);

	/* Typography */
	--gf-font-family-base: inherit;
	--gf-ctrl-font-family: inherit;
	--gf-ctrl-font-size: var(--text-p);
	--gf-ctrl-label-font-family-primary: inherit;
	--gf-ctrl-label-font-size-primary: var(--text-xs);
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-ctrl-label-letter-spacing-primary: 0.05em;
	--gf-ctrl-label-color-primary: var(--dark-1);
	--gf-ctrl-label-font-size-secondary: var(--text-xs);
	--gf-ctrl-label-color-secondary: var(--dark-3);
	--gf-ctrl-label-color-req: var(--accent-1);
	--gf-ctrl-desc-font-size: var(--text-xs);
	--gf-ctrl-desc-color: var(--dark-3);

	/* Inputs, textareas, selects */
	--gf-ctrl-size-md: 3.125rem; /* 50px field height */
	--gf-ctrl-padding-x: 20px;
	--gf-ctrl-padding-y: 12px;
	--gf-ctrl-radius: var(--border-radius-sm);
	--gf-ctrl-color: var(--dark-1);
	--gf-ctrl-bg-color: var(--light-1);
	--gf-ctrl-border-color: color-mix(in srgb, var(--dark-1) 25%, transparent);
	--gf-ctrl-border-color-hover: var(--accent-2);
	--gf-ctrl-border-color-focus: var(--accent-2);
	--gf-ctrl-placeholder-color: var(--dark-3);
	--gf-ctrl-placeholder-opacity: 0.7;
	--gf-ctrl-outline-width-focus: 3px;
	--gf-ctrl-outline-offset: 0;
	--gf-ctrl-outline-color-focus: color-mix(in srgb, var(--accent-2) 20%, transparent);
	--gf-ctrl-icon-color: var(--accent-1); /* dropdown chevron, date icon */
	--gf-ctrl-icon-color-hover: var(--accent-1);
	--gf-ctrl-icon-color-focus: var(--accent-1);
	--gf-ctrl-accent-color: var(--accent-2);

	/* Primary button (Submit / Next) */
	--gf-ctrl-btn-size-md: 3rem;
	--gf-ctrl-btn-padding-x-md: 30px;
	--gf-ctrl-btn-radius: var(--border-radius-sm);
	--gf-ctrl-btn-font-size: var(--text-xs); /* matches button_solid-v1 */
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-letter-spacing: var(--letter-spacing-caps);
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-border-width-primary: 0;
	--gf-ctrl-btn-bg-color-primary: var(--dark-1);
	--gf-ctrl-btn-bg-color-hover-primary: var(--accent-1);
	--gf-ctrl-btn-bg-color-focus-primary: var(--accent-1);
	--gf-ctrl-btn-color-primary: var(--light-1);
	--gf-ctrl-btn-color-hover-primary: var(--light-1);
	--gf-ctrl-btn-color-focus-primary: var(--light-1);

	/* Secondary button (Previous, file select, list add/remove) */
	--gf-ctrl-btn-bg-color-secondary: transparent;
	--gf-ctrl-btn-bg-color-hover-secondary: var(--accent-1);
	--gf-ctrl-btn-bg-color-focus-secondary: var(--accent-1);
	--gf-ctrl-btn-border-color-secondary: var(--accent-1);
	--gf-ctrl-btn-border-color-hover-secondary: var(--accent-1);
	--gf-ctrl-btn-border-color-focus-secondary: var(--accent-1);
	--gf-ctrl-btn-color-secondary: var(--accent-1);
	--gf-ctrl-btn-color-hover-secondary: var(--light-1);
	--gf-ctrl-btn-color-focus-secondary: var(--light-1);
}

/*** Elements GF has no variable for ***/
:is(#main, body) .gform_wrapper.gform-theme--framework {
	& .gfield_label:not(.gform-field-label--type-sub) {
		text-transform: uppercase;
	} /* Small-caps style field labels */
	& .gfield_required {
		text-transform: none;
		letter-spacing: normal;
	}
	& select:not([multiple]) {
		--gf-local-padding-y: 0;
	} /* Vertically center the selected option text */
	& :is(.gform-footer, .gform_page_footer) .button {
		min-width: 200px;
	} /* Button width */
	& :is(.gform-footer, .gform_page_footer) .button:is(:disabled, [data-conditional-logic="hidden"]) {
		display: inline-flex !important;
		opacity: 0.5;
		cursor: not-allowed;
	} /* Conditional logic: show submit as disabled instead of hiding it (GF 3.0+) */
}
:is(#main, body) .gform_wrapper.gform-theme--framework .gform_description {
	margin-bottom: 0.75em;
} /* Beats "#main p:last-child:last-of-type" */
.gform_confirmation_message {
	background: var(--accent-1);
	color: var(--light-1);
	padding: 20px;
	margin: 20px 0;
	border-radius: var(--border-radius-default);
} /* Confirmation message */

/*** Chip-style radios and checkboxes (add .default-checkbox / .default-radio-button to a field to keep the native controls) ***/
:is(#main, body) .gform_wrapper.gform-theme--framework .gfield--type-choice:not(.default-checkbox, .default-radio-button, .gfield--type-image_choice) {
	& :is(.gfield_checkbox, .gfield_radio) {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}
	& .gchoice {
		position: relative;
		display: flex;
	} /* Replaces GF's grid, which reserves a column for the hidden input */
	& .gchoice input {
		position: absolute;
		inset: 0 auto auto 0;
		width: 1px;
		height: 1px;
		margin: 0;
		opacity: 0;
	} /* Visually hidden but still keyboard focusable */
	& .gchoice label {
		display: inline-flex;
		align-items: center;
		max-width: none;
		margin: 0;
		padding: 10px 20px;
		font-size: var(--text-sm);
		color: var(--dark-3);
		background-color: var(--light-1);
		border: 1px solid var(--gf-ctrl-border-color);
		border-radius: var(--gf-ctrl-radius);
		text-align: center;
		cursor: pointer;
		transition: border-color 0.2s, color 0.2s, background-color 0.2s, box-shadow 0.2s;
	}
	& .gchoice:hover label {
		border-color: var(--accent-2);
	}
	& .gchoice input:checked + label {
		color: var(--accent-1);
		border-color: var(--accent-2);
		background-color: color-mix(in srgb, var(--accent-2) 8%, var(--light-1));
		box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 15%, transparent);
	}
	& .gchoice input:focus-visible + label {
		outline: 3px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
		outline-offset: 2px;
	}
}
:is(#main, body) .gform_wrapper.gform-theme--framework .default-radio-button .gfield_radio {
	display: flex;
	flex-flow: row wrap;
	gap: 0.5em 1em;
} /* Native radios sit side by side */

/*** Narrow containers (GenerateBlocks grid columns, .utility_gravity-forms-mobile): Orbital only reacts to viewport width ***/
[class*="grid_"]) .gform_wrapper {
	container-type: inline-size;
}
@container (max-width: 445px) {
	:is(#main, body) .gform_wrapper.gform-theme--framework {
		& .gform-grid-col {
			flex: 0 0 100%;
			max-width: 100%;
		}
		& .gfield {
			grid-column: 1 / -1;
		}
		& :is(.gform-footer, .gform_page_footer) .button {
			width: 100%;
		}
	}
}
@media (max-width: 460px) {
	:is(#main, body) .gform_wrapper.gform-theme--framework :is(.gform-footer, .gform_page_footer) .button {
		width: 100%;
	} /* Full-width buttons on phones */
}

/*** 7 - Custom Text Formats Plugin (icons load from /uploads/gctf/)
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

.uppercase-text {
	text-transform: uppercase;
}
.hyperlink-text-on-dark a,
a .hyperlink-text-on-dark {
	text-decoration: none;
	position: relative;
	color: var(--light-1); /* Normal state color */
	background-image: linear-gradient(var(--light-1), var(--light-1));
	background-size: 0 var(--link-border-bottom);
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.5s ease-in-out, color 0.3s ease-in-out;
}
.hyperlink-text-on-dark a:hover,
.hyperlink-text-on-dark a:focus,
a:hover .hyperlink-text-on-dark,
a:focus .hyperlink-text-on-dark {
	background-size: 100% var(--link-border-bottom); /* Full width underline on hover */
	background-image: linear-gradient(var(--light-1), var(--light-1)); /* Change color of underline on hover */
	cursor: pointer;
	color: var(--light-1); /* Change text color on hover */
}

/*** 8 - CSS Class Manager Classes
–––––––––––––––––––––––––––––––––––––––––––––––––– ***/

/*** Mega Menu Overlay Fix ***/
/* GenerateBlocks Pro's overlay.css sets width:100vw on the mega-menu overlay panel
   (.menu-item-has-gb-mega-menu .gb-overlay--anchored.gb-overlay--width-full). 100vw
   always includes the scrollbar width, so on desktop browsers with a classic
   (space-reserving) scrollbar - e.g. Firefox/Edge on Mac - the panel renders
   scrollbar-width wider than the visible viewport, creating real, draggable
   horizontal overflow. Phones use overlay scrollbars (no reserved space), so the
   bug never showed there. Overriding to 100% here, since the panel's ancestor
   (.gb-menu-container--mobile) is already position:fixed + inset:0, so 100% gives
   the same full-width result without the scrollbar-gutter mismatch. Added 2026-08-29.
*/
@media (max-width: 1024px) {
	.menu-item-has-gb-mega-menu .gb-overlay--anchored.gb-overlay--width-full {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/*** GenerateBlocks Mega Menu ***/
ul.mega-menu-bullet-point {
	margin-left: 0 !important;
}
ul.mega-menu-bullet-point li {
	padding-left: 0 !important;
	position: relative;
	margin-bottom: 5px;
}
ul.mega-menu-bullet-point li a,
ul.mega-menu-bullet-point li a:visited,
ul.mega-menu-bullet-point li a:link {
	text-decoration: none;
	position: relative;
	color: var(--dark-1);
	background-image: linear-gradient(var(--dark-1), var(--dark-1));
	background-size: 0 var(--link-border-bottom);
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.5s ease-in-out, color 0.3s ease-in-out;
}
ul.mega-menu-bullet-point li a:hover,
ul.mega-menu-bullet-point li a:focus {
	background-size: 100% var(--link-border-bottom);
	cursor: pointer;
	color: var(--dark-1);
}
ul.mega-menu-bullet-point li::marker {
	color: transparent !important;
}
ul.mega-menu-bullet-point li::before {
	content: "";
	position: absolute;
	left: -9999px;
}

/*** Gravity Forms HTML field text: use the form's description color instead of inheriting the container's text color. Added 2026-11-15. (v1 HTML field text) ***/
:is(#main, body) .gform_wrapper.gform-theme--framework[data-form-index] .gfield--type-html {
	color: var(--gf-ctrl-desc-color);
}

/*** Gravity Forms dark backgrounds: the dark styling lives in the utility_gravity-forms_dark-bg Global Style (add it to the container around the form).
     Only the select arrow stays here, because Global Styles reject data: URIs. Gravity Forms bakes its fill into the SVG, so this is an --accent-3 (#BDD4E8) copy: update the %23 hex if that token changes. Added 2026-11-15. ***/
:is(#main, body) .utility_gravity-forms_dark-bg .gform_wrapper.gform-theme--framework[data-form-index] {
	--gf-ctrl-select-icon: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='%23BDD4E8'/%3E%3C/svg%3E");
}

/*** Footer lift: the footer has a negative top margin equal to the curve height so its transparent
     curve sits over the last section. Add that height to the last section's bottom padding. Added 2026-11-17; archive selector added same day. ***/
#main .entry-content > .section_default:last-child,
/* Archive / loop templates render sections directly inside #main */
#main > .section_default:last-child,
/* Single post template (content-template element) */
#main .inside-article > .section_default:last-child {
	padding-bottom: calc(var(--padding-md) + clamp(80px, 9vw, 130px));
}
#main .entry-content > .section_sm:last-child {
	padding-bottom: calc(var(--padding-sm) + clamp(80px, 9vw, 130px));
}
#main .entry-content > .section_md:last-child {
	padding-bottom: calc(var(--padding-md) + clamp(80px, 9vw, 130px));
}
#main .entry-content > .section_lg:last-child {
	padding-bottom: calc(var(--padding-lg) + clamp(80px, 9vw, 130px));
}
