/* base */
:root {
	--ed-color-primary: #111111;
	--ed-color-secondary: #4a4a4a;
	--ed-color-background: #ffffff;
	--ed-color-surface: #f4f4f4;
	--ed-color-surface-alt: #eeeeee;
	--ed-color-text: #111111;
	--ed-color-muted: #666666;
	--ed-color-border: #dddddd;
	--ed-color-border-soft: #e5e5e5;
	--ed-color-border-subtle: #eeeeee;
	--ed-divider-color: #e5e5e5;
	--ed-focus-outline: #555555;
	--ed-link-color: #111111;
	--ed-link-hover-color: #555555;
	--ed-link-visited-color: #333333;
	--ed-header-background: #ffffff;
	--ed-header-text: #111111;
	--ed-header-link: #111111;
	--ed-header-link-hover: #555555;
	--ed-header-hover-background: #f1f1f1;
	--ed-header-icon: #111111;
	--ed-header-action-color: #111111;
	--ed-header-action-background: transparent;
	--ed-header-action-border: transparent;
	--ed-header-action-hover-color: var(--ed-header-link-hover);
	--ed-header-action-hover-background: var(--ed-header-hover-background);
	--ed-header-action-hover-border: #555555;
	--ed-header-action-active-color: #555555;
	--ed-header-action-active-background: #f1f1f1;
	--ed-header-action-active-border: #555555;
	--ed-header-action-focus-color: #555555;
	--ed-header-action-focus-outline: #555555;
	--ed-header-action-border-width: 0px;
	--ed-header-action-radius: 4px;
	--ed-header-search-color: #111111;
	--ed-header-search-background: #ffffff;
	--ed-header-search-bar-border: #e5e5e5;
	--ed-header-search-field-background: #ffffff;
	--ed-header-search-field-text: #111111;
	--ed-header-search-placeholder: #666666;
	--ed-header-search-border: #d4d4d4;
	--ed-header-search-focus-border: #777777;
	--ed-header-search-focus-outline: #555555;
	--ed-search-results-background: #ffffff;
	--ed-search-results-text: #111111;
	--ed-search-results-muted: #666666;
	--ed-search-results-border: #e5e5e5;
	--ed-search-results-hover-background: #eeeeee;
	--ed-search-results-hover-text: #111111;
	--ed-search-results-hover-muted: #111111;
	--ed-header-border: #dddddd;
	--ed-header-border-width: 1px;
	--ed-nav-link: #111111;
	--ed-nav-hover: #555555;
	--ed-nav-hover-background: #f1f1f1;
	--ed-nav-active: #111111;
	--ed-nav-active-background: #f1f1f1;
	--ed-nav-icon: #111111;
	--ed-submenu-background: #ffffff;
	--ed-submenu-text: #111111;
	--ed-submenu-hover-background: #f1f1f1;
	--ed-submenu-hover-text: #111111;
	--ed-submenu-border: #e5e5e5;
	--ed-mobile-menu-background: #ffffff;
	--ed-mobile-menu-text: #111111;
	--ed-mobile-hover-background: #f1f1f1;
	--ed-mobile-hover-text: #555555;
	--ed-mobile-menu-icon: #111111;
	--ed-mobile-menu-border: #e5e5e5;
	--ed-mobile-menu-separator: #e5e5e5;
	--ed-mobile-submenu-background: #f4f4f4;
	--ed-mobile-submenu-text: #111111;
	--ed-mobile-submenu-hover-background: #e5e5e5;
	--ed-mobile-submenu-hover-text: #111111;
	--ed-mobile-submenu-border: #e5e5e5;
	--ed-mobile-action-color: #111111;
	--ed-mobile-action-hover-color: #555555;
	--ed-mobile-action-hover-background: #f1f1f1;
	--ed-mobile-action-focus-color: #555555;
	--ed-mobile-active-text: #111111;
	--ed-mobile-active-background: #f1f1f1;
	--ed-mobile-active-icon: #111111;
	--ed-mobile-active-border: #e5e5e5;
	--ed-footer-background: #111111;
	--ed-footer-text: #dddddd;
	--ed-footer-heading: #ffffff;
	--ed-footer-link: #f4f4f4;
	--ed-footer-link-hover: #cccccc;
	--ed-footer-border: #444444;
	--ed-footer-hover-background: #333333;
	--ed-social-color: #111111;
	--ed-social-hover: #555555;
	--ed-social-size: 20px;
	--ed-footer-social-color: #f4f4f4;
	--ed-footer-social-hover: #ffffff;
	--ed-footer-social-border: #444444;
	--ed-footer-social-hover-background: #333333;
	--ed-button-background: var(--ed-color-primary);
	--ed-button-text: #ffffff;
	--ed-button-hover-background: #444444;
	--ed-button-hover-text: #ffffff;
	--ed-button-border: var(--ed-color-primary);
	--ed-button-hover-border: #444444;
	--ed-button-border-width: 1px;
	--ed-button-radius: 4px;
	--ed-input-background: #ffffff;
	--ed-input-text: #111111;
	--ed-input-border: #d4d4d4;
	--ed-input-focus-border: #777777;
	--ed-card-background: #ffffff;
	--ed-card-border: #e2e2e2;
	--ed-card-shadow: 0 4px 18px rgba(0, 0, 0, .06);
	--ed-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ed-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ed-font-navigation: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ed-site-max-width: 1320px;
	--ed-content-width: 1240px;
	--ed-page-width: var(--ed-content-width);
	--ed-reading-width: 860px;
	--ed-logo-max-width: 260px;
	--ed-logo-dark-max-width: 260px;
	--ed-logo-mobile-max-width: 260px;
	--ed-footer-logo-max-width: 220px;
	--ed-header-logo-max-height: 48px;
	--ed-mobile-logo-max-height: 42px;
	--ed-footer-logo-max-height: 72px;
	--ed-radius: 4px;
	--ed-spacing-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-wrap: break-word;
	color: var(--ed-color-text);
	background: var(--ed-color-background);
	font-family: var(--ed-font-body);
	font-size: var(--ed-font-base-size, 16px);
	font-weight: var(--ed-body-weight, 400);
	line-height: var(--ed-line-height, 1.6);
}
body.ed-mobile-open { overflow: hidden; }
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4, h5, h6 {
	color: var(--ed-color-text);
	font-family: var(--ed-font-heading);
	font-weight: var(--ed-heading-weight, 800);
	text-transform: var(--ed-heading-transform, none);
	letter-spacing: var(--ed-letter-spacing, 0);
}
a {
	color: var(--ed-link-color);
	text-decoration-line: var(--ed-link-decoration, none);
	text-decoration-thickness: var(--ed-link-thickness, 1px);
	text-underline-offset: var(--ed-link-offset, 3px);
	transition: color var(--ed-link-transition, 160ms) ease;
}
a:visited { color: var(--ed-link-visited-color); }
a:hover { color: var(--ed-link-hover-color); text-decoration-line: var(--ed-link-hover-decoration, underline); }
:focus-visible {
	outline: 2px solid var(--ed-focus-outline);
	outline-offset: 2px;
}
.screen-reader-text, .skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	clip-path: none;
	overflow: visible;
	white-space: normal;
	color: #ffffff;
	background: #111111;
}
.ed-container { width: min(calc(100% - 32px), var(--ed-site-max-width)); margin-inline: auto; }
.ed-container-wide { width: min(calc(100% - 32px), var(--ed-site-max-width)); margin-inline: auto; }
.ed-main { min-height: 60vh; }

.ed-button,
.wp-element-button:not(.ed-no-theme-button),
.wp-block-button__link:not(.ed-no-theme-button),
.ed-theme button:not(.ed-no-theme-button):not(.ed-icon-button):not(.ed-footer-menu-toggle):not(.ed-mobile-subtoggle):not(.ed-privacy-button),
.ed-theme input[type="submit"]:not(.ed-no-theme-button),
.ed-theme input[type="button"]:not(.ed-no-theme-button),
.ed-theme input[type="reset"]:not(.ed-no-theme-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: var(--ed-button-padding-y, 10px) var(--ed-button-padding-x, 18px);
	border: var(--ed-button-border-width) solid var(--ed-button-border);
	border-radius: var(--ed-button-radius);
	color: var(--ed-button-text);
	background: var(--ed-button-background);
	box-shadow: var(--ed-button-shadow, none);
	font: inherit;
	font-size: var(--ed-button-font-size, 14px);
	font-weight: var(--ed-button-weight, 700);
	text-transform: var(--ed-button-transform, none);
	text-decoration: none;
	cursor: pointer;
}
.ed-button:hover, .ed-button:focus-visible,
.wp-element-button:not(.ed-no-theme-button):hover, .wp-element-button:not(.ed-no-theme-button):focus-visible,
.wp-block-button__link:not(.ed-no-theme-button):hover, .wp-block-button__link:not(.ed-no-theme-button):focus-visible,
.ed-theme button:not(.ed-no-theme-button):not(.ed-icon-button):not(.ed-footer-menu-toggle):not(.ed-mobile-subtoggle):not(.ed-privacy-button):hover,
.ed-theme button:not(.ed-no-theme-button):not(.ed-icon-button):not(.ed-footer-menu-toggle):not(.ed-mobile-subtoggle):not(.ed-privacy-button):focus-visible,
.ed-theme input[type="submit"]:not(.ed-no-theme-button):hover, .ed-theme input[type="submit"]:not(.ed-no-theme-button):focus-visible,
.ed-theme input[type="button"]:not(.ed-no-theme-button):hover, .ed-theme input[type="button"]:not(.ed-no-theme-button):focus-visible,
.ed-theme input[type="reset"]:not(.ed-no-theme-button):hover, .ed-theme input[type="reset"]:not(.ed-no-theme-button):focus-visible {
	color: var(--ed-button-hover-text);
	background: var(--ed-button-hover-background);
	border-color: var(--ed-button-hover-border);
	text-decoration: none;
}
.ed-button-outline { color: var(--ed-button-background); background: var(--ed-color-background); }
.ed-no-theme-button { all: revert; }
#primary.ed-plugin-full-width button:not(.ed-button):not(.wp-element-button),
#primary.ed-plugin-full-width input[type="submit"]:not(.ed-button),
#primary.ed-plugin-full-width input[type="button"]:not(.ed-button),
#primary.ed-plugin-full-width input[type="reset"]:not(.ed-button) {
	display: revert;
	min-height: revert;
	padding: revert;
	border: revert;
	border-radius: revert;
	color: revert;
	background: revert;
	box-shadow: revert;
	font: revert;
	text-transform: revert;
}
#primary.ed-plugin-full-width input:not(.ed-button),
#primary.ed-plugin-full-width select,
#primary.ed-plugin-full-width textarea {
	min-height: revert;
	padding: revert;
	border: revert;
	border-radius: revert;
	color: revert;
	background: revert;
	font: revert;
}
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="number"], input[type="tel"], input[type="password"], select, textarea {
	max-width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--ed-input-border);
	border-radius: var(--ed-radius);
	color: var(--ed-input-text);
	background: var(--ed-input-background);
	font: inherit;
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--ed-input-focus-border); outline: 2px solid var(--ed-focus-outline); outline-offset: 1px; box-shadow: none; }
#primary.ed-plugin-full-width input:focus, #primary.ed-plugin-full-width select:focus, #primary.ed-plugin-full-width textarea:focus { border-color: revert; outline: revert; outline-offset: revert; box-shadow: revert; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* header */
.site-header {
	position: relative;
	z-index: 50;
	color: var(--ed-header-text);
	background: var(--ed-header-background);
	border-bottom: var(--ed-header-border-width, 1px) solid var(--ed-header-border);
}
.site-header.is-sticky { position: sticky; top: 0; }
.admin-bar .site-header.is-sticky { top: 32px; }
.ed-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: var(--ed-header-height, 64px);
	padding: var(--ed-header-padding-top, 0) clamp(18px, 2.5vw, 40px) var(--ed-header-padding-bottom, 0);
}
.site-branding { flex: 0 0 auto; }
.site-description { margin: 2px 0 0; color: var(--ed-header-text); font-size: .75rem; }
.ed-logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ed-header-link); font-weight: 900; font-size: 1.1rem; text-decoration: none; }
.ed-logo:visited { color: var(--ed-header-link); }
.ed-logo img { width: auto; max-width: var(--ed-logo-max-width, 260px); max-height: var(--ed-header-logo-max-height, 48px); }
.ed-logo-mobile img { max-width: var(--ed-logo-mobile-max-width, 260px); max-height: var(--ed-mobile-logo-max-height, 42px); }
.ed-logo.ed-logo-dark img { max-width: var(--ed-logo-dark-max-width, 260px); }
.ed-header-actions { display: flex; align-items: center; flex: 0 0 auto; margin-left: auto; gap: 6px; }
.ed-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: var(--ed-header-action-border-width, 0) solid var(--ed-header-action-border, transparent);
	border-radius: var(--ed-header-action-radius, 4px);
	color: var(--ed-header-action-color, var(--ed-header-icon));
	background: var(--ed-header-action-background, transparent);
	cursor: pointer;
}
.ed-icon-button:hover { border-color: var(--ed-header-action-hover-border); color: var(--ed-header-action-hover-color); background: var(--ed-header-action-hover-background); }
.ed-icon-button[aria-expanded="true"] { border-color: var(--ed-header-action-active-border); color: var(--ed-header-action-active-color); background: var(--ed-header-action-active-background); }
.ed-icon-button:focus-visible { border-color: var(--ed-header-action-focus-outline); color: var(--ed-header-action-focus-color); outline: 2px solid var(--ed-header-action-focus-outline); outline-offset: 2px; }
.ed-icon-button svg { width: 22px; height: 22px; fill: currentColor; }
.ed-header-search { padding: 12px 0 16px; color: var(--ed-header-search-color); background: var(--ed-header-search-background); border-top: 1px solid var(--ed-header-search-bar-border); }
.ed-header-search .search-form { border: 0; box-shadow: none; }
.ed-header-search .search-field { border: 1px solid var(--ed-header-search-border); background: var(--ed-header-search-field-background); color: var(--ed-header-search-field-text); box-shadow: none; }
.ed-header-search .search-field::placeholder { color: var(--ed-header-search-placeholder); opacity: 1; }
.ed-header-search .search-field:focus { border-color: var(--ed-header-search-focus-border); outline: 2px solid var(--ed-header-search-focus-outline); outline-offset: 1px; box-shadow: none; }
.ed-header-search .ed-button { border: var(--ed-button-border-width) solid var(--ed-button-border); background: var(--ed-button-background); color: var(--ed-button-text); box-shadow: none; }
.ed-header-search .ed-button:hover, .ed-header-search .ed-button:focus-visible { border-color: var(--ed-button-hover-border); background: var(--ed-button-hover-background); color: var(--ed-button-hover-text); box-shadow: none; }

.ed-ticker { overflow: hidden; color: var(--ed-ticker-text); background: var(--ed-ticker-background); font-size: .8125rem; }
.ed-ticker-viewport { overflow: hidden; }
.ed-ticker-inner { display: flex; align-items: center; gap: 18px; min-height: 38px; width: max-content; min-width: 100%; white-space: nowrap; }
.ed-ticker-label { flex: 0 0 auto; color: var(--ed-ticker-label); }
.ed-ticker-content { display: inline-flex; align-items: center; gap: 20px; }
.ed-ticker a, .ed-ticker a:visited { color: var(--ed-ticker-link); }
.ed-ticker.has-animation .ed-ticker-inner { animation: ed-ticker-scroll var(--ed-ticker-speed, 30s) linear infinite; }
.ed-ticker.pause-on-hover:hover .ed-ticker-inner { animation-play-state: paused; }
@keyframes ed-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-18%); } }

.ed-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ed-hero-text); background: var(--ed-hero-background) center / cover no-repeat; }
.ed-hero-overlay { position: absolute; inset: 0; z-index: -1; background: var(--ed-hero-overlay); opacity: var(--ed-hero-overlay-opacity, 0); }
.ed-hero-inner { display: flex; align-items: center; min-height: 420px; padding-block: clamp(52px, 8vw, 112px); }
.ed-hero.height-compact .ed-hero-inner { min-height: 300px; padding-block: clamp(36px, 5vw, 68px); }
.ed-hero.height-wide .ed-hero-inner { min-height: 580px; padding-block: clamp(72px, 10vw, 148px); }
.ed-hero-copy { position: relative; width: min(100%, 780px); }
.ed-hero.align-center .ed-hero-copy { margin-inline: auto; text-align: center; }
.ed-hero.align-right .ed-hero-copy { margin-left: auto; text-align: right; }
.ed-hero h1 { margin: 0 0 18px; color: var(--ed-hero-title); font-size: clamp(2.25rem, 5vw, var(--ed-h1-size, 56px)); line-height: 1.02; }
.ed-hero-subtitle { margin: 0 0 10px; color: var(--ed-hero-text); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ed-hero-text { max-width: 680px; margin: 0 0 28px; color: var(--ed-hero-text); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.ed-hero.align-center .ed-hero-text { margin-inline: auto; }
.ed-hero.align-right .ed-hero-text { margin-left: auto; }
.ed-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ed-hero.align-center .ed-hero-actions { justify-content: center; }
.ed-hero.align-right .ed-hero-actions { justify-content: flex-end; }

@media (max-width: 782px) { .admin-bar .site-header.is-sticky { top: 46px; } }

/* navigation */
.main-navigation { display: flex; justify-content: flex-start; flex: 1 1 auto; min-width: 0; margin-left: 20px; font-family: var(--ed-font-navigation); }
.ed-primary-menu, .ed-primary-menu ul, .ed-mobile-menu, .ed-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.ed-primary-menu { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: var(--ed-nav-gap); }
.ed-primary-menu > li { position: relative; }
.ed-primary-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	border-radius: var(--ed-nav-radius);
	color: var(--ed-nav-link);
	font-size: var(--ed-nav-size);
	font-weight: var(--ed-nav-weight);
	text-transform: var(--ed-nav-transform);
	text-decoration: none;
}
.ed-primary-menu a:visited { color: var(--ed-nav-link); }
.ed-primary-menu svg { color: var(--ed-nav-icon); fill: currentColor; }
.ed-primary-menu a:hover, .ed-primary-menu a:focus-visible { color: var(--ed-nav-hover); background: var(--ed-nav-hover-background); text-decoration: none; }
.ed-primary-menu .current-menu-item > a, .ed-primary-menu .current-menu-ancestor > a, .ed-primary-menu .current_page_item > a, .ed-primary-menu .current_page_ancestor > a { color: var(--ed-nav-active); background: var(--ed-nav-active-background); }
.ed-primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 70;
	min-width: 220px;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	color: var(--ed-submenu-text);
	background: var(--ed-submenu-background);
	border: 1px solid var(--ed-submenu-border);
	border-radius: var(--ed-radius);
	box-shadow: var(--ed-card-shadow);
}
.ed-primary-menu > li > .sub-menu::before { position: absolute; top: -8px; left: 0; width: 100%; height: 8px; content: ""; }
.ed-primary-menu > li.opens-left > .sub-menu { right: 0; left: auto; }
.ed-primary-menu li:hover > .sub-menu, .ed-primary-menu li:focus-within > .sub-menu, .ed-primary-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.ed-primary-menu .sub-menu li { position: relative; }
.ed-primary-menu .sub-menu .sub-menu { top: 0; left: 100%; min-width: 240px; }
.ed-primary-menu .sub-menu .sub-menu::before { position: absolute; top: 0; left: -8px; width: 8px; height: 100%; content: ""; }
.ed-primary-menu .sub-menu li.opens-left > .sub-menu { right: 100%; left: auto; }
.ed-primary-menu .sub-menu li.opens-left > .sub-menu::before { right: -8px; left: auto; }
.ed-primary-menu .sub-menu a { min-height: 36px; color: var(--ed-submenu-text); font-size: max(11px, calc(var(--ed-nav-size) - 1px)); }
.ed-primary-menu .sub-menu a:visited { color: var(--ed-submenu-text); }
.ed-primary-menu .sub-menu .current-menu-item > a, .ed-primary-menu .sub-menu .current-menu-ancestor > a, .ed-primary-menu .sub-menu .current_page_item > a, .ed-primary-menu .sub-menu .current_page_ancestor > a { color: var(--ed-nav-active); background: var(--ed-nav-active-background); }
.ed-primary-menu .sub-menu a:hover, .ed-primary-menu .sub-menu a:focus-visible { color: var(--ed-submenu-hover-text); background: var(--ed-submenu-hover-background); }
.ed-primary-menu > .ed-mega-menu > .sub-menu { left: 50%; display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 8px; width: min(920px, calc(100vw - 32px)); transform: translateX(-50%); }
.ed-primary-menu > .ed-mega-menu.opens-left > .sub-menu { right: 0; left: auto; transform: none; }
.ed-mobile-toggle { display: none; }
.ed-mobile-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); }
.ed-mobile-panel {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 90;
	width: min(100%, 420px);
	padding: 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--ed-mobile-menu-text);
	background: var(--ed-mobile-menu-background);
	border-inline-start: 1px solid var(--ed-mobile-menu-border);
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 160ms ease, visibility 0s linear 160ms;
}
.ed-mobile-panel.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
.ed-mobile-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ed-mobile-panel .ed-logo, .ed-mobile-panel .ed-logo:visited { color: var(--ed-mobile-menu-text); }
.ed-mobile-panel .ed-icon-button { color: var(--ed-mobile-action-color); }
.ed-mobile-panel .ed-icon-button:hover { color: var(--ed-mobile-action-hover-color); background: var(--ed-mobile-action-hover-background); }
.ed-mobile-panel .ed-icon-button:focus-visible { color: var(--ed-mobile-action-focus-color); }
.ed-mobile-menu li { border-bottom: 1px solid var(--ed-mobile-menu-separator); }
.ed-mobile-menu .menu-item-row { display: flex; align-items: stretch; }
.ed-mobile-menu .menu-item-row > a { flex: 1 1 auto; }
.ed-mobile-menu a, .ed-mobile-subtoggle { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; color: var(--ed-mobile-menu-text); background: transparent; border: 0; text-decoration: none; }
.ed-mobile-menu a:visited { color: var(--ed-mobile-menu-text); }
.ed-mobile-subtoggle { flex: 0 0 44px; justify-content: center; cursor: pointer; }
.ed-mobile-subtoggle { color: var(--ed-mobile-menu-icon); }
.ed-mobile-subtoggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform 140ms ease; }
.ed-mobile-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ed-mobile-menu a:hover, .ed-mobile-menu a:focus-visible, .ed-mobile-subtoggle:hover, .ed-mobile-subtoggle:focus-visible { color: var(--ed-mobile-hover-text); background: var(--ed-mobile-hover-background); }
.ed-mobile-menu .current-menu-item > a,
.ed-mobile-menu .current-menu-ancestor > a,
.ed-mobile-menu .current_page_item > a,
.ed-mobile-menu .current_page_ancestor > a,
.ed-mobile-menu .current-menu-item > .menu-item-row > a,
.ed-mobile-menu .current-menu-ancestor > .menu-item-row > a,
.ed-mobile-menu .current_page_item > .menu-item-row > a,
.ed-mobile-menu .current_page_ancestor > .menu-item-row > a { border-inline-start: 1px solid var(--ed-mobile-active-border); color: var(--ed-mobile-active-text); background: var(--ed-mobile-active-background); }
.ed-mobile-menu .current-menu-item > .menu-item-row > .ed-mobile-subtoggle,
.ed-mobile-menu .current-menu-ancestor > .menu-item-row > .ed-mobile-subtoggle,
.ed-mobile-menu .current_page_item > .menu-item-row > .ed-mobile-subtoggle,
.ed-mobile-menu .current_page_ancestor > .menu-item-row > .ed-mobile-subtoggle { border-inline-end: 1px solid var(--ed-mobile-active-border); color: var(--ed-mobile-active-icon); background: var(--ed-mobile-active-background); }
.ed-mobile-menu .sub-menu { display: none; padding-left: 12px; }
.ed-mobile-menu .is-open > .sub-menu { display: block; }

/* EUROPADIARIO® Group: full-width, white institutional mega menu. Existing simple menus are unchanged. */
@media (min-width: 1025px) {
  .site-header .ed-primary-menu > li.ed-mega-menu { position: static; }
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu,
  .site-header .ed-primary-menu > li.ed-mega-menu.opens-left > .sub-menu {
    position: absolute; left: 0; right: 0; top: 100%; transform: none;
    width: 100%; max-width: none; max-height: min(74vh, 650px); overflow-y: auto;
    margin: 0; padding: clamp(20px, 3vw, 44px) max(28px, calc((100vw - 1320px) / 2));
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
    border: 1px solid var(--ed-mega-separator, #edf0f4); border-top: 1px solid var(--ed-mega-separator, #edf0f4); border-radius: 0;
    background: var(--ed-mega-background, #fff); color: var(--ed-mega-text, #444b56); box-shadow: 0 18px 36px rgba(19, 39, 71, .09);
  }
  .site-header .ed-primary-menu > li.ed-mega-cols-2 > .sub-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .ed-primary-menu > li.ed-mega-cols-3 > .sub-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header .ed-primary-menu > li.ed-mega-cols-5 > .sub-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu > li { min-width: 0; border-right: 1px solid var(--ed-mega-separator, #edf0f4); padding-right: 14px; }
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu > li:last-child { border-right: 0; }
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu > li > a { color: var(--ed-mega-heading, #111111); font-weight: 750; font-size: .9rem; letter-spacing: .01em; padding: 5px 8px 10px; border-radius: 0; }
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu > li > .sub-menu,
  .site-header .ed-primary-menu > li.ed-mega-menu > .sub-menu > li.opens-left > .sub-menu {
    position: static; display: block; min-width: 0; width: 100%; opacity: 1;
    visibility: visible; pointer-events: auto; padding: 0; margin: 0;
    border: 0; border-radius: 0; box-shadow: none; transform: none; background: transparent;
  }
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu::before { content: none; }
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu li { border-bottom: 1px solid var(--ed-mega-separator, #edf0f4); }
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu li:last-child { border-bottom: none; }
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu a { color: var(--ed-mega-text, #444b56); padding: 9px 8px; min-height: 38px; background: transparent; white-space: normal; }
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu a:hover,
  .site-header .ed-primary-menu > li.ed-mega-menu .sub-menu .sub-menu a:focus-visible { color: var(--ed-mega-heading, #111111); background: var(--ed-mega-hover, #f4f4f4); }
}
/* Móvil y tableta: colores independientes; nunca imponer hexadecimales al Personalizador. */
@media (max-width: 1024px) {
  .ed-mobile-panel { background: var(--ed-mobile-menu-background); color: var(--ed-mobile-menu-text); border-color: var(--ed-mobile-menu-border); }
  .ed-mobile-panel .ed-mobile-menu > li { border-color: var(--ed-mobile-menu-separator); }
  .ed-mobile-panel .ed-mobile-menu .sub-menu {
    padding-inline-start: 14px;
    background: var(--ed-mobile-submenu-background);
    border-inline-start: 2px solid var(--ed-mobile-submenu-border);
  }
  .ed-mobile-panel .ed-mobile-menu .sub-menu li { border-bottom-color: var(--ed-mobile-submenu-border); }
  .ed-mobile-panel .ed-mobile-menu .sub-menu a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu a:visited { color: var(--ed-mobile-submenu-text); }
  .ed-mobile-panel .ed-mobile-menu .sub-menu .ed-mobile-subtoggle { color: var(--ed-mobile-menu-icon); }
  .ed-mobile-panel .ed-mobile-menu .sub-menu a:hover,
  .ed-mobile-panel .ed-mobile-menu .sub-menu a:focus-visible,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .ed-mobile-subtoggle:hover,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .ed-mobile-subtoggle:focus-visible {
    color: var(--ed-mobile-submenu-hover-text);
    background: var(--ed-mobile-submenu-hover-background);
  }
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current-menu-item > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current-menu-ancestor > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current_page_item > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current_page_ancestor > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current-menu-item > .menu-item-row > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current-menu-ancestor > .menu-item-row > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current_page_item > .menu-item-row > a,
  .ed-mobile-panel .ed-mobile-menu .sub-menu .current_page_ancestor > .menu-item-row > a {
    color: var(--ed-mobile-active-text);
    background: var(--ed-mobile-active-background);
    border-inline-start: 1px solid var(--ed-mobile-active-border);
  }
}
@media (prefers-reduced-motion: reduce) { .ed-mobile-panel { transition: none; } }

/* footer */
/* EUROPADIARIO® footer: visible, semantic and responsive navigation. */
.site-footer { padding:var(--ed-footer-padding-top) 0 var(--ed-footer-padding-bottom); color:var(--ed-footer-text); background:var(--ed-footer-background); border-top:3px solid var(--ed-footer-link-hover); font-size:var(--ed-footer-size); }
.site-footer a,.site-footer a:visited {color:var(--ed-footer-link);text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible {color:var(--ed-footer-link-hover);text-decoration:underline;text-underline-offset:4px}
.ed-footer-main{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
.ed-footer-brand{display:flex;flex-wrap:wrap;align-items:center;column-gap:28px;row-gap:10px;padding-bottom:25px;border-bottom:1px solid var(--ed-footer-border)}
.ed-footer-brand p{flex-basis:100%;max-width:780px;margin:0;color:var(--ed-footer-text);line-height:1.6}
.ed-footer-logo,.site-footer .ed-logo{display:inline-flex;color:var(--ed-footer-heading)}
.ed-footer-logo img,.site-footer .ed-logo-footer img{width:auto;max-width:var(--ed-footer-logo-max-width);max-height:var(--ed-footer-logo-max-height)}
.site-footer .ed-logo.ed-logo-dark img{max-width:min(var(--ed-logo-dark-max-width),var(--ed-footer-logo-max-width))}
.site-footer .ed-social-links{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.site-footer .ed-social-links:empty{display:none}
.site-footer .ed-social-links a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--ed-footer-border);border-radius:4px;color:var(--ed-footer-link)}
.site-footer .ed-social-links a:hover,.site-footer .ed-social-links a:focus-visible{border-color:var(--ed-footer-link-hover);background:var(--ed-footer-hover-background);color:var(--ed-footer-link-hover)}
.site-footer .ed-social-links svg{width:var(--ed-social-size);height:var(--ed-social-size);fill:currentColor}
.ed-footer-menus{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:28px 22px;align-items:start}
.ed-footer-column{min-width:0}
.ed-footer-column-title{margin:0 0 12px;padding:0 0 9px;border-bottom:1px solid var(--ed-footer-border);color:var(--ed-footer-heading);font:800 .93rem/1.35 var(--ed-font-heading);text-transform:uppercase;letter-spacing:.035em;overflow-wrap:anywhere}
.ed-footer-column ul,.ed-legal-menu{margin:0;padding:0;list-style:none}
.ed-footer-column li{margin:0;line-height:1.45}
.ed-footer-column a{display:block;padding:6px 0;color:var(--ed-footer-link);overflow-wrap:anywhere;word-break:normal}
.ed-footer-menu-panel{display:block!important;visibility:visible!important;height:auto!important;overflow:visible!important}
.ed-footer-legal{display:grid;gap:12px;margin-top:34px;padding-top:18px;border-top:1px solid var(--ed-footer-border)}
.site-footer .ed-footer-legal-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px}
.site-footer .ed-footer-legal-nav>div,.site-footer .ed-footer-legal-nav>ul{margin:0}
.site-footer .ed-footer-legal-nav .ed-legal-menu{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.site-footer .ed-footer-legal-nav .ed-legal-menu li{list-style:none}
.site-footer .ed-footer-legal-nav a,.site-footer .ed-privacy-footer-link{display:inline-flex;align-items:center;min-height:36px;padding:5px 0;font:inherit;color:var(--ed-footer-link);text-decoration:none;background:none;border:0;cursor:pointer}
.site-footer .ed-privacy-footer-link:hover,.site-footer .ed-privacy-footer-link:focus-visible{color:var(--ed-footer-link-hover);text-decoration:underline}
.ed-copyright,.ed-footer-legal-text{margin:0;color:var(--ed-footer-text);line-height:1.5}
@media(max-width:640px){.ed-footer-main{gap:24px}.ed-footer-menus{grid-template-columns:1fr;gap:20px}.ed-footer-column a{padding:7px 0}.ed-footer-legal{margin-top:24px}.site-footer .ed-footer-legal-nav{align-items:flex-start}.site-footer .ed-footer-legal-nav .ed-legal-menu{align-items:flex-start}}

/* content */
.ed-content-list, .ed-page-wrap, .ed-reading, .ed-error-page { padding-block: calc(48px * var(--ed-spacing-scale)) calc(72px * var(--ed-spacing-scale)); }
.ed-front-content { width: 100%; margin: 0; padding: 0; }
.ed-front-content > :where(:not(.alignfull)) { width: min(calc(100% - 32px), var(--ed-page-width)); margin-inline: auto; }
.ed-front-content > .alignwide { width: min(calc(100% - 32px), var(--ed-site-max-width)); max-width: none; }
.ed-front-content > .alignfull { width: 100%; max-width: none; }
.ed-front-page .ed-front-content, .ed-singular-page .ed-editorial-content { --wp--style--global--content-size: var(--ed-page-width); --wp--style--global--wide-size: var(--ed-site-max-width); }
.ed-singular-post .ed-editorial-content { --wp--style--global--content-size: var(--ed-reading-width); --wp--style--global--wide-size: var(--ed-site-max-width); }
.ed-page-container { width: min(calc(100% - 32px), var(--ed-page-width)); }
.ed-plugin-canvas, .ed-plugin-full-width { width: 100%; max-width: none; margin: 0; padding: 0; overflow: visible; }
.ed-plugin-full-width > *, .ed-plugin-full-width > article, .ed-plugin-full-width .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.ed-page .entry-title, .ed-single .entry-title, .ed-archive-header h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, var(--ed-h1-size)); line-height: 1.08; }
.ed-archive-header { padding-top: calc(48px * var(--ed-spacing-scale)); }
.ed-content-list { display: grid; gap: calc(28px * var(--ed-spacing-scale)); }
.ed-entry-card { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--ed-divider-color); }
.ed-entry-card.no-thumb { display: block; }
.ed-post-card-thumbnail { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--ed-radius); background: var(--ed-color-surface); }
.ed-post-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.ed-entry-title { margin: 6px 0; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.15; }
.ed-entry-title a { text-decoration: none; }
.ed-entry-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ed-color-secondary); font-size: .875rem; }
.ed-entry-kicker, .ed-entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ed-entry-kicker a, .ed-entry-tags a { color: var(--ed-color-secondary); font-size: .8125rem; font-weight: 700; }
.ed-reading { max-width: var(--ed-reading-width); }
.ed-single-featured-image { width: 100%; margin: 28px 0; }
.ed-single-featured-image img { width: 100%; border-radius: var(--ed-radius); }
.ed-featured-wide .ed-single-featured-image { width: min(var(--ed-site-max-width), calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ed-featured-full .ed-single-featured-image { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ed-editorial-content { color: var(--ed-color-text); }
.ed-editorial-content p, .ed-editorial-content li { color: var(--ed-color-text); }
.ed-editorial-content h1 { margin: 1.4em 0 .45em; font-size: clamp(2rem, 4vw, var(--ed-h1-size)); line-height: 1.08; }
.ed-editorial-content h2 { margin: 1.35em 0 .42em; font-size: clamp(1.65rem, 3vw, var(--ed-h2-size)); line-height: 1.15; }
.ed-editorial-content h3 { margin: 1.25em 0 .4em; font-size: clamp(1.35rem, 2.3vw, var(--ed-h3-size)); line-height: 1.2; }
.ed-editorial-content h4 { margin: 1.15em 0 .35em; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.25; }
.ed-editorial-content > * { max-width: 100%; }
.ed-editorial-content img { height: auto; }
.ed-editorial-content :where(.alignwide) { width: min(var(--ed-site-max-width), calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ed-editorial-content :where(.alignfull) { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ed-editorial-content .wp-block-table, .ed-editorial-table-scroll { width: 100%; margin: 24px 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
.ed-editorial-content table { width: 100%; min-width: 680px; max-width: 100%; border: 1px solid var(--ed-table-border); border-collapse: collapse; background: var(--ed-color-background); color: var(--ed-color-text); }
.ed-editorial-content th, .ed-editorial-content td { padding: 11px 14px; border-bottom: 1px solid var(--ed-table-border); text-align: left; vertical-align: top; }
.ed-editorial-content thead th { border: 1px solid var(--ed-table-border); background: var(--ed-table-header-background); color: var(--ed-table-header-text); font-weight: 700; }
.ed-table-bordered .ed-editorial-content tbody td, .ed-table-striped .ed-editorial-content tbody td { border: 1px solid var(--ed-table-border); }
.ed-table-striped .ed-editorial-content tbody tr:nth-child(even) td { background: var(--ed-table-alt-row); }
.ed-editorial-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 1px solid var(--ed-input-border); background: var(--ed-color-surface); }
.ed-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ed-post-navigation > div { padding: 14px; border: 1px solid var(--ed-color-border-soft); border-radius: var(--ed-radius); background: var(--ed-card-background); }
.ed-single-global-content { margin: 32px 0; }
.ed-single-global-content:empty { display: none; }
.ed-header-search .search-form, .ed-editorial-content .search-form, .ed-archive-header .search-form, .ed-error-page .search-form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.ed-header-search .search-form label, .ed-editorial-content .search-form label, .ed-archive-header .search-form label, .ed-error-page .search-form label { flex: 1 1 260px; }
.ed-header-search .search-field, .ed-editorial-content .search-field { width: 100%; }
.ed-header-search .ed-search-results { position: absolute; top: calc(100% + 6px); left: 0; z-index: 100; width: min(100%, 680px); overflow: hidden; border: 1px solid var(--ed-search-results-border); border-radius: var(--ed-radius); background: var(--ed-search-results-background); color: var(--ed-search-results-text); box-shadow: var(--ed-card-shadow); }
.ed-header-search .ed-search-result, .ed-header-search .ed-search-all, .ed-header-search .ed-search-empty { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 12px; color: var(--ed-search-results-text); text-decoration: none; }
.ed-header-search .ed-search-result:hover, .ed-header-search .ed-search-result:focus, .ed-header-search .ed-search-result.is-active, .ed-header-search .ed-search-result[aria-selected="true"], .ed-header-search .ed-search-all:hover, .ed-header-search .ed-search-all:focus, .ed-header-search .ed-search-all.is-active, .ed-header-search .ed-search-all[aria-selected="true"] { background: var(--ed-search-results-hover-background); color: var(--ed-search-results-hover-text); }
.ed-header-search .ed-search-result img { width: 38px; height: 38px; object-fit: cover; border-radius: var(--ed-radius); }
.ed-header-search .ed-search-result span { display: grid; line-height: 1.25; }
.ed-header-search .ed-search-result small { color: var(--ed-search-results-muted); font-size: .75rem; }
.ed-header-search .ed-search-result:hover small, .ed-header-search .ed-search-result:focus small, .ed-header-search .ed-search-result.is-active small, .ed-header-search .ed-search-result[aria-selected="true"] small { color: var(--ed-search-results-hover-muted); }
.comments-area { margin-top: 48px; }
.navigation.pagination { margin-block: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--ed-color-border-soft); border-radius: var(--ed-radius); }
.nav-links .current { color: var(--ed-button-text); background: var(--ed-button-background); }

hr, .wp-block-separator { height: 0; margin-block: 28px; border: 0; border-top: 1px solid var(--ed-divider-color); }
.entry-footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ed-divider-color); }
.sticky.ed-entry-card { border-top: 1px solid var(--ed-color-border-soft); background: var(--ed-color-surface-alt); }
.bypostauthor > .comment-body { padding-left: 16px; border-left: 1px solid var(--ed-color-border-soft); }

.ed-search-type { display: inline-flex; margin-bottom: 4px; padding: 2px 7px; border: 1px solid var(--ed-color-border-subtle); border-radius: var(--ed-radius); background: var(--ed-color-surface-alt); color: var(--ed-color-secondary); font-size: .75rem; font-weight: 700; }
.ed-search-card .ed-entry-summary { margin: 12px 0; color: var(--ed-color-text); }
.ed-search-categories { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ed-search-more { display: inline-flex; min-height: 32px; align-items: center; color: var(--ed-link-color); font-weight: 700; }

.ed-page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--ed-divider-color); }
.ed-page-links a, .ed-page-links > .ed-page-number { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border: 1px solid var(--ed-color-border-soft); border-radius: var(--ed-radius); text-decoration: none; }
.ed-page-links > .ed-page-number { border-color: var(--ed-button-border); background: var(--ed-button-background); color: var(--ed-button-text); }
.ed-page-links a:hover .ed-page-number, .ed-page-links a:focus-visible .ed-page-number { background: var(--ed-color-surface-alt); }

.ed-editorial-content::after { display: block; clear: both; content: ""; }
.ed-editorial-content .alignleft { float: left; max-width: 100%; margin: 6px 24px 18px 0; }
.ed-editorial-content .alignright { float: right; max-width: 100%; margin: 6px 0 18px 24px; }
.ed-editorial-content .aligncenter { display: block; margin-right: auto; margin-left: auto; }
.ed-editorial-content .alignnone { display: block; max-width: 100%; margin: 0 0 18px; }
.ed-editorial-content .wp-caption { max-width: 100%; padding: 8px; border: 1px solid var(--ed-color-border-subtle); border-radius: var(--ed-radius); background: var(--ed-color-surface-alt); }
.ed-editorial-content .wp-caption img { width: auto; max-width: 100%; margin: 0 auto; }
.ed-editorial-content .wp-caption-text, .ed-editorial-content .gallery-caption { margin: 8px 0 0; color: var(--ed-color-secondary); font-size: .82rem; line-height: 1.45; text-align: center; }
.ed-editorial-content .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; max-width: 100%; margin: 24px 0; overflow: hidden; }
.ed-editorial-content .gallery-item { width: auto !important; max-width: 100%; margin: 0; padding: 8px; border: 1px solid var(--ed-color-border-subtle); border-radius: var(--ed-radius); background: var(--ed-color-background); text-align: center; }
.ed-editorial-content .gallery-item img { width: 100%; height: auto; border: 0; }
.ed-editorial-content .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-editorial-content .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-editorial-content .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-editorial-content .gallery-columns-5, .ed-editorial-content .gallery-columns-6, .ed-editorial-content .gallery-columns-7, .ed-editorial-content .gallery-columns-8, .ed-editorial-content .gallery-columns-9 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

@media (max-width: 600px) {
	.ed-editorial-content .alignleft, .ed-editorial-content .alignright { float: none; margin: 0 auto 18px; }
	.ed-editorial-content .gallery, .ed-editorial-content .gallery-columns-2, .ed-editorial-content .gallery-columns-3, .ed-editorial-content .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	.ed-editorial-content .gallery, .ed-editorial-content .gallery-columns-2, .ed-editorial-content .gallery-columns-3, .ed-editorial-content .gallery-columns-4 { grid-template-columns: 1fr; }
}

/* Páginas: ningún espacio inferior impuesto por el tema; conservar el espaciado editorial de las noticias. */
body.ed-singular-page #primary.ed-main { min-height: 0; padding-bottom: 0; margin-bottom: 0; }
body.ed-singular-page #primary > .ed-page-container,
body.ed-singular-page #primary > .ed-container-wide,
body.ed-singular-page #primary > .ed-page-wrap { padding-bottom: 0; margin-bottom: 0; }
body.ed-singular-page .ed-page,
body.ed-singular-page .ed-page > .entry-content,
body.ed-singular-page .ed-front-content { padding-bottom: 0; margin-bottom: 0; }
body.ed-singular-page .ed-page > .entry-content > :last-child,
body.ed-singular-page .ed-front-content > :last-child { margin-bottom: 0; }

/* responsive */
@media (max-width: 1024px) {
	.main-navigation { display: none; }
	.ed-header-inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 0; padding-right: 12px; padding-left: 12px; }
	.site-branding { grid-column: 2; justify-self: center; min-width: 0; text-align: center; }
	.site-description { display: none; }
	.site-header .ed-logo-header img { max-width: min(var(--ed-logo-max-width), calc(100vw - 140px)); max-height: var(--ed-header-logo-max-height); }
	.ed-mobile-panel .ed-logo-mobile img { max-width: min(var(--ed-logo-mobile-max-width), calc(100vw - 100px)); max-height: var(--ed-mobile-logo-max-height); }
	.ed-mobile-toggle { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; }
	.ed-header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
	.ed-footer-main { grid-template-columns: 1fr; }
	.ed-footer-menus-4, .ed-footer-menus-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.ed-container { width: min(calc(100% - 24px), var(--ed-site-max-width)); }
	.ed-page-container { width: min(calc(100% - 24px), var(--ed-page-width)); }
	.ed-header-inner { min-height: max(58px, var(--ed-header-height)); }
	.ed-hero-inner { min-height: 340px; }
	.ed-entry-card { grid-template-columns: 1fr; }
	.ed-post-navigation { grid-template-columns: 1fr; }
	.ed-footer-menus-3, .ed-footer-menus-4, .ed-footer-menus-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-featured-wide .ed-single-featured-image, .ed-editorial-content :where(.alignwide) { width: calc(100vw - 24px); }
}
@media (max-width: 480px) {
	.ed-footer-menus { grid-template-columns: 1fr; }
	.ed-legal-menu { display: grid; grid-template-columns: 1fr; }
	.ed-legal-menu a { width: 100%; }
	.ed-footer-menu-panel { padding-bottom: 12px; }
	.ed-hero-actions, .ed-hero-actions .ed-button { width: 100%; }
	.ed-header-search .search-form > button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ed-ticker.has-animation .ed-ticker-inner { animation: none; }
}

/* related-posts */
.ed-related-posts { margin: 52px 0; }
.ed-related-posts > h2 { margin: 0 0 22px; font-size: clamp(1.5rem, 2.5vw, var(--ed-h2-size)); }
.ed-related-list { display: grid; grid-template-columns: repeat(var(--ed-related-columns-desktop), minmax(0, 1fr)); gap: 20px; }
.ed-related-card { min-width: 0; overflow: hidden; border: 1px solid var(--ed-card-border); border-radius: var(--ed-radius); background: var(--ed-card-background); box-shadow: var(--ed-card-shadow); }
.ed-related-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ed-color-surface); }
.ed-related-image img { width: 100%; height: 100%; object-fit: cover; }
.ed-related-card-body { padding: 16px; }
.ed-related-card h3 { margin: 0 0 10px; color: var(--ed-color-text); font-size: 1.05rem; line-height: 1.25; }
.ed-related-card h3 a { color: var(--ed-color-text); text-decoration: none; }
.ed-related-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--ed-color-muted); font-size: .78rem; }
.ed-related-category { margin-bottom: 6px; font-size: .75rem; }
.ed-related-card p { color: var(--ed-color-muted); font-size: .9rem; }
.ed-related-button { margin-top: 8px; }
.ed-related-posts.is-carousel .ed-related-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 16px; scrollbar-color: var(--ed-color-muted) var(--ed-color-surface); }
.ed-related-posts.is-carousel .ed-related-card { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
@media (max-width: 1024px) { .ed-related-list { grid-template-columns: repeat(var(--ed-related-columns-tablet), minmax(0, 1fr)); } }
@media (max-width: 600px) { .ed-related-list { grid-template-columns: repeat(var(--ed-related-columns-mobile), minmax(0, 1fr)); } }

/* editorial */
/* Editorial hierarchy and responsive newspaper layouts; header customization stays intact. */
.ed-news-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 20px;color:var(--ed-color-secondary);font-size:.8rem;line-height:1.5}
.ed-news-breadcrumb a{color:var(--ed-link-color)}
.ed-news-breadcrumb [aria-current="page"]{max-width:100%;overflow-wrap:anywhere}
.ed-news-genre{display:inline-block;margin-bottom:13px;padding:3px 9px;background:var(--ed-color-surface);color:var(--ed-color-primary);font-size:.71rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
.ed-news-header .entry-title{margin:0 0 15px;max-width:100%;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}
.ed-news-subtitle{margin:0 0 22px;color:var(--ed-color-secondary);font-size:clamp(1.1rem,2.1vw,1.4rem);line-height:1.55;overflow-wrap:anywhere}
.ed-news-information{padding:15px 0;margin:12px 0 0;border-top:1px solid var(--ed-color-border-soft);border-bottom:1px solid var(--ed-color-border-soft)}
.ed-news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 18px;font-size:.86rem;line-height:1.5}
.ed-news-meta a{text-decoration:underline;text-underline-offset:3px}
.ed-news-author{font-weight:700}
.ed-news-updated{font-size:.8rem}
.ed-news-share{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px}
.ed-news-share a,.ed-news-share .ed-news-share-trigger,.ed-news-share .ed-news-email-copy{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:7px;border:1px solid var(--ed-color-border-soft);border-radius:5px;color:var(--ed-social-color);background:var(--ed-color-background);font:inherit;line-height:1;cursor:pointer;text-decoration:none;transition:color .12s ease,background-color .12s ease,border-color .12s ease}
.ed-news-share a:hover,.ed-news-share a:focus-visible,.ed-news-share .ed-news-share-trigger:hover,.ed-news-share .ed-news-share-trigger:focus-visible,.ed-news-share .ed-news-email-copy:hover,.ed-news-share .ed-news-email-copy:focus-visible{color:var(--ed-social-hover);background:var(--ed-color-surface);border-color:var(--ed-social-hover);text-decoration:none}
.ed-news-share svg{display:block;width:18px;height:18px;fill:currentColor;flex:none}
.ed-news-share :is(a,button):focus-visible{outline:2px solid var(--ed-focus-outline);outline-offset:2px}
.ed-news-share-feedback{color:var(--ed-color-muted);font-size:.75rem}
.ed-news-share-control{position:relative;display:inline-flex}
.ed-news-share .ed-news-share-actions{position:absolute;z-index:15;top:calc(100% + 6px);left:0;display:flex;flex-direction:column;gap:2px;min-width:190px;max-width:min(86vw,280px);padding:6px;background:var(--ed-color-background);border:1px solid var(--ed-color-border-soft);border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.ed-news-share .ed-news-share-actions[hidden]{display:none!important}
.ed-news-share .ed-news-share-actions a,.ed-news-share .ed-news-share-actions button{box-sizing:border-box;display:block;flex:initial;width:100%;height:auto;min-width:0;min-height:0;padding:10px 12px;margin:0;border:0;border-radius:4px;background:transparent;color:var(--ed-color-text);font:inherit;font-size:.88rem;line-height:1.4;text-align:left;white-space:nowrap;cursor:pointer;text-decoration:none}
.ed-news-share .ed-news-share-actions a:hover,.ed-news-share .ed-news-share-actions button:hover,.ed-news-share .ed-news-share-actions a:focus-visible,.ed-news-share .ed-news-share-actions button:focus-visible{background:var(--ed-color-surface);color:var(--ed-social-hover);text-decoration:none}
.ed-news-article .ed-single-featured-image{margin:24px 0 28px}
.ed-news-article .ed-single-featured-image img{display:block;width:100%;height:auto;object-fit:contain;border-radius:2px}
.ed-news-article .ed-single-featured-image figcaption{padding:8px 0 0;color:var(--ed-color-muted);font-size:.78rem;line-height:1.4}
.ed-news-article .ed-editorial-content{font-size:clamp(1.04rem,1.4vw,1.17rem);line-height:1.8;overflow-wrap:break-word}
.ed-news-article .ed-editorial-content>p:first-child{font-size:1.07em}
.ed-news-article .ed-editorial-content h2,.ed-news-article .ed-editorial-content h3{font-weight:800;letter-spacing:-.015em}
.ed-news-article .ed-editorial-content a{text-decoration:underline;text-underline-offset:3px}
.ed-entry-card .ed-entry-title{font-weight:800;letter-spacing:-.012em}
.ed-entry-card .ed-entry-summary{line-height:1.5}
.ed-news-archive .ed-entry-card:first-of-type{grid-column:1 / -1;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;padding-bottom:32px}
.ed-news-archive .ed-entry-card:first-of-type .ed-post-card-thumbnail{aspect-ratio:16/9}
.ed-news-archive .ed-entry-card:first-of-type .ed-entry-title{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.1}
.ed-news-archive .ed-entry-card.no-thumb:first-of-type{display:block}
@media(max-width:768px){.ed-news-archive .ed-entry-card:first-of-type{grid-template-columns:1fr}.ed-news-share{gap:6px}.ed-news-share a,.ed-news-share .ed-news-share-trigger,.ed-news-share .ed-news-email-copy{width:36px;height:36px;padding:7px}.ed-news-header .entry-title{letter-spacing:-.018em}}
