/*
Theme Name: ezSEONews 2026
Theme URI: https://ezseonews.com/
Description: ezSEONews design built on the Twenty Twenty-Five block theme.
Author: ezSEONews
Template: twentytwentyfive
Version: 1.0.0
Text Domain: ezseonews-2026
*/

:root {
	--ezseo-ink: #261e48;
	--ezseo-text: #000;
	--ezseo-card-copy-size: .9375rem;
	--ezseo-muted: #706b87;
	--ezseo-paper: #ffffff;
	--ezseo-wash: #f6f4ff;
	--ezseo-purple: #6b54df;
	--ezseo-cyan: #00a8c4;
	--ezseo-line: #e3def7;
	--ezseo-shadow: 0 18px 45px rgba(48, 36, 98, .09);
	--ezseo-radius: 22px;
}

body {
	background: var(--ezseo-wash);
	color: var(--ezseo-text);
	--ezseo-button-surface: var(--ezseo-paper);
	--ezseo-button-hover: var(--ezseo-wash);
	--ezseo-button-text: var(--ezseo-text);
	--ezseo-button-start: var(--ezseo-purple);
	--ezseo-button-end: var(--ezseo-cyan);
}

main a { color: inherit; }
main a:hover { text-decoration: underline; }
.wp-block-post-content :is(p, li) a:not(.wp-element-button, .ezseo-item-more, .ezseo-video-link) {
	text-decoration: underline;
	text-underline-offset: .15em;
}

main :is(.wp-block-post-date, .wp-block-post-author-name, .wp-block-post-terms, .wp-block-comment-author-name, .wp-block-comment-date) {
	color: inherit;
}

main :is(.wp-block-post-date, .wp-block-post-author-name, .wp-block-post-terms, .wp-block-comment-author-name, .wp-block-comment-date) a {
	color: inherit;
}

.ezseo-header-wrap,
.ezseo-footer-wrap,
.ezseo-promo-panel,
.ezseo-article-promo {
	--ezseo-button-surface: var(--ezseo-ink);
	--ezseo-button-hover: #302653;
	--ezseo-button-text: var(--ezseo-paper);
	--ezseo-button-start: #a493ff;
	--ezseo-button-end: #63d8e3;
}

body :is(
	.wp-block-button__link, .wp-element-button, .wp-block-file__button,
	.wp-block-search .wp-block-search__button, .search-form .search-submit,
	.wp-block-post-comments-form input[type="submit"],
	.ezseo-item-more, .ezseo-list-outbound, .ezseo-outbound-button, .ezseo-video-link,
	.ezseo-book-details-button, .ezseo-book-amazon-button,
	.ezseo-feature-row .ezseo-section-head > a, .ezseo-latest-note .ezseo-section-head > a
) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 9px var(--ezseo-button-padding-inline, 16px);
	border: 2px solid transparent;
	border-radius: 10px;
	background: linear-gradient(var(--ezseo-button-face, var(--ezseo-button-surface)), var(--ezseo-button-face, var(--ezseo-button-surface))) padding-box,
		linear-gradient(115deg, var(--ezseo-button-start) 12%, var(--ezseo-button-end) 90%) border-box;
	color: var(--ezseo-button-text);
	font: 650 14px/1.25 Inter, system-ui, "Segoe UI", sans-serif;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;

	&:hover, &:focus-visible {
		--ezseo-button-face: var(--ezseo-button-hover);
		color: var(--ezseo-button-text);
	}

	&:focus-visible {
		outline: 2px solid var(--ezseo-button-start);
		outline-offset: 3px;
	}

	@media (forced-colors: active) {
		border-color: ButtonText;
	}
}

body.single-post .wp-block-post-content .wp-block-button__link[href^="https://www.udemy.com/course/"] {
	--ezseo-button-face: #30d7e6;
	--ezseo-button-hover: #83edf2;
	--ezseo-button-text: var(--ezseo-ink);
	--ezseo-button-start: #4d39bf;
	--ezseo-button-end: #008ea8;
	--ezseo-button-padding-inline: 22px;
	font-weight: 750;

	&:hover, &:focus-visible {
		--ezseo-button-face: var(--ezseo-button-hover);
	}
}

.ezseo-header-search button[type="submit"],
.ezseo-guide-search button[type="submit"],
.wp-block-search .wp-block-search__button {
	flex: 0 0 auto;
}

.ezseo-guide-search input[type="search"] {
	box-sizing: border-box;
	min-height: 44px;
}

.ezseo-header-wrap {
	background: var(--ezseo-paper);
	border-bottom: 1px solid var(--ezseo-line);
	padding: 19px 24px 0;
}

.ezseo-header-top {
	max-width: 1160px;
	margin: 0 auto;
	min-height: 62px;
}

.ezseo-brand { display: block; width: 290px; max-width: min(42vw, 290px); }
.ezseo-brand svg { display: block; width: 100%; height: auto; }
.ezseo-social-links { gap: 9px !important; }
.ezseo-header-top .ezseo-header-search,
.ezseo-header-top .ezseo-social-links { margin-inline-start: auto; }
.ezseo-header-search {
	display: flex;
	align-items: stretch;
	flex: 0 1 360px;
	gap: 8px;
	min-width: 250px;
	margin: 0;
}
.ezseo-header-search input[type="search"] {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid var(--ezseo-line);
	border-radius: 10px;
	background: var(--ezseo-paper);
	color: var(--ezseo-ink);
	font: inherit;
	font-size: 13px;
}
.ezseo-header-search input[type="search"]:focus { outline: 2px solid var(--ezseo-cyan); outline-offset: 2px; }
.ezseo-social-links a {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ezseo-line);
	border-radius: 50%;
	color: var(--ezseo-ink);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}
.ezseo-social-links a:hover { background: var(--ezseo-wash); color: var(--ezseo-purple); }

.ezseo-nav {
	max-width: 1160px;
	margin: 0 auto;
	justify-content: flex-start !important;
	min-height: 50px;
	font-size: 14px;
	font-weight: 700;
}
.ezseo-nav a { color: var(--ezseo-muted) !important; text-decoration: none; }
.ezseo-nav a:hover, .ezseo-nav .current-menu-item > a { color: var(--ezseo-purple) !important; }
.ezseo-nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) {
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid rgba(255,255,255,.5);
	border-radius: 10px;
	color: var(--ezseo-paper);
}
.ezseo-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	display: inline-flex;
}
.ezseo-nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close):focus-visible {
	outline: 2px solid #65e2eb;
	outline-offset: 2px;
}

.ezseo-main { padding: 36px 24px 60px; }
.ezseo-home-content { max-width: 1160px; margin: 0 auto; }
.ezseo-home-content > * { margin-block-start: 0; }
:where(.home) .ezseo-home-content :is(h1, h2, h3) { color: var(--ezseo-ink); }
.ezseo-kicker {
	color: var(--ezseo-purple);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.ezseo-page-content .ezseo-kicker { color: var(--ezseo-text); }
.ezseo-home-hero {
	display: grid;
	grid-template-columns: 1.16fr .84fr;
	align-items: center;
	gap: 30px;
	padding: clamp(26px, 4vw, 42px);
	background: linear-gradient(115deg, #fff 48%, #f0edff);
	border: 1px solid var(--ezseo-line);
	border-radius: var(--ezseo-radius);
	box-shadow: 0 24px 55px rgba(52, 35, 102, .09);
}
.ezseo-home-hero h1 { max-width: 700px; letter-spacing: -.045em; margin: 12px 0 16px; }
.ezseo-home-hero p:not(.ezseo-kicker) { max-width: 660px; color: var(--ezseo-muted); }
.ezseo-home-art {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-content: center;
	min-height: 250px;
	padding: 20px;
	border-radius: 26px 72px 26px 72px;
	background: linear-gradient(135deg, #eeeaff, #d9f7fb);
	transform: rotate(1deg);
}
.ezseo-art-tile {
	display: flex;
	min-height: 92px;
	flex-direction: column;
	justify-content: center;
	padding: 12px 14px;
	border: 1px solid var(--ezseo-line);
	border-radius: 15px;
	background: white;
	box-shadow: 0 9px 24px rgba(23, 54, 73, .07);
}
.ezseo-art-tile strong { margin: 4px 0 2px; }
.ezseo-art-tile > span:last-child { color: var(--ezseo-muted); }
.ezseo-art-icon { color: var(--ezseo-cyan); font-size: 19px; font-weight: 850; line-height: 1.1; }
.ezseo-art-svg { display: block; width: 25px; height: 25px; flex: 0 0 auto; color: var(--ezseo-cyan); }
.ezseo-home-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.ezseo-home-section { margin-top: 38px; }
.ezseo-section-head { margin-bottom: 16px; }
.ezseo-section-head h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.035em; margin: 0; }
.ezseo-section-head p { margin: 6px 0 0; color: var(--ezseo-muted); }
.ezseo-topic-card {
	min-height: 150px;
	padding: 19px 18px;
	border: 1px solid var(--ezseo-line);
	border-radius: var(--ezseo-radius);
	background: var(--ezseo-paper);
	box-shadow: 0 10px 30px rgba(48, 36, 98, .07);
	text-decoration: none;
	transition: transform .16s ease, box-shadow .16s ease;
}
.ezseo-topic-card:hover { transform: translateY(-3px); box-shadow: var(--ezseo-shadow); }
.ezseo-topic-icon { display: block; margin-bottom: 10px; color: var(--ezseo-cyan); font-size: 24px; font-weight: 800; }
.ezseo-topic-card h3 { margin: 0 0 7px; color: var(--ezseo-ink); }
.ezseo-topic-card p { margin: 0; color: var(--ezseo-muted); }
.ezseo-topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.ezseo-feature-row .ezseo-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 20px; }
.ezseo-feature-row .ezseo-section-head p { flex-basis: 100%; margin: 0; }
.ezseo-latest-note .ezseo-section-head > a { margin-top: 10px; }
.ezseo-feature-row + .ezseo-item-grid { margin-top: 12px; }
.ezseo-promo-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 300px);
	align-items: center;
	gap: 24px;
	margin-top: 36px;
	padding: 24px 28px;
	border-radius: var(--ezseo-radius);
	background: var(--ezseo-ink);
	color: white;
}
.ezseo-promo-image { display: block; box-sizing: border-box; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.18); line-height: 0; }
.ezseo-promo-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ezseo-promo-panel .wp-block-button { grid-column: 2; width: 100%; margin-top: 8px; }
.ezseo-promo-panel h2 { margin: 6px 0; color: white; font-size: 23px; }
.ezseo-promo-panel p { color: rgba(255,255,255,.76); line-height: 1.55; }
.ezseo-promo-panel .ezseo-kicker { color: #5ee0e9; }
.ezseo-promo-panel .wp-block-button__link { width: 100%; }
.ezseo-hosting-promo { margin-block-end: 38px; }
.ezseo-hosting-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ezseo-hosting-actions .wp-block-button__link { width: auto; }
.ezseo-hosting-image {
	width: min(100%, 300px);
	overflow: hidden;
	border-radius: 10px;
	background: var(--ezseo-paper);
}
.ezseo-hosting-image img { display: block; width: 100%; height: auto; }
.ezseo-home-content .ezseo-item-grid { margin-top: 18px; }
.ezseo-home-content .ezseo-featured-videos { margin-top: 42px; }

.ezseo-footer-wrap {
	margin-top: 20px;
	padding: 28px 24px;
	border-top: 1px solid var(--ezseo-line);
	background: var(--ezseo-paper);
	color: var(--ezseo-muted);
	font-size: 13px;
}
.ezseo-footer-inner { max-width: 1160px; margin: 0 auto; }
.ezseo-footer-inner a { text-decoration: none; }
.ezseo-footer-social { display: flex; flex-wrap: wrap; gap: 15px; }
.ezseo-footer-pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	margin: 16px auto 0;
}

.ezseo-page-content { max-width: 900px; margin: 0 auto; padding: 30px 24px 70px; }
.ezseo-page-content > h1 { margin: 0 0 22px; letter-spacing: -.045em; }

@media (min-width: 1100px) {
	.ezseo-page-content:has(.ezseo-courses-catalog) {
		max-width: 1160px;
	}
}

@media (max-width: 760px) {
	.ezseo-header-wrap {
		position: relative;
		padding: 14px 16px;
	}
	.ezseo-header-top { align-items: flex-start; }
	.ezseo-brand { max-width: min(70vw, 270px, calc(100% - 58px)); }
	.ezseo-header-top .ezseo-header-search {
		flex-basis: 302px;
		margin-inline-end: 58px;
	}
	.ezseo-header-wrap > .ezseo-nav {
		position: absolute;
		inset-block-start: 14px;
		inset-inline-end: 16px;
		min-height: 0;
		margin: 0;
	}
	.ezseo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.ezseo-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
	.ezseo-main { padding: 22px 15px 42px; }
	.ezseo-home-hero { grid-template-columns: 1fr; }
	.ezseo-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ezseo-promo-panel { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
	.ezseo-promo-panel .wp-block-button { grid-column: 1; width: min(100%, 420px); margin-top: 0; }
	.ezseo-promo-image { width: 100%; max-width: 420px; justify-self: start; }
}

@media (max-width: 520px) {
	.ezseo-header-top { flex-direction: column; gap: 12px; }
	.ezseo-header-top .ezseo-header-search {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		min-height: 44px;
		margin-inline-end: 0;
	}
	.ezseo-header-search input[type="search"] { font-size: 16px; }
	.ezseo-topic-card { min-height: 138px; }
	.ezseo-promo-panel { grid-template-columns: 1fr; }
	.ezseo-promo-panel .wp-block-button { grid-column: 1; max-width: 360px; }
	.ezseo-promo-image { max-width: 360px; }
}

@media (max-width: 520px) {
	.ezseo-home-art { min-height: 220px; padding: 14px; gap: 9px; }
	.ezseo-art-tile { min-height: 82px; padding: 10px; }
	.ezseo-topic-grid { gap: 10px; }
}

/* Keep the homepage hero, section headings, and cards on the same type scale. */
.home .ezseo-main .ezseo-home-hero h1 {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 750;
	line-height: 1.15;
}

.home .ezseo-main :is(.ezseo-section-head, .ezseo-promo-panel, .ezseo-featured-videos-heading) h2 {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.25;
}

.home .ezseo-main :is(.ezseo-topic-card h3, .ezseo-home-course-card h2, .ezseo-art-tile strong) {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	line-height: 1.35;
}

.home .ezseo-main :is(.ezseo-home-hero, .ezseo-section-head, .ezseo-promo-panel, .ezseo-topic-card, .ezseo-video-copy) p:not(.ezseo-kicker) {
	color: #000;
	font-size: var(--ezseo-card-copy-size);
	font-weight: 400;
	line-height: 1.55;
}

.home .ezseo-main .ezseo-promo-panel p:not(.ezseo-kicker) {
	color: var(--ezseo-paper);
}

.home .ezseo-main .ezseo-art-tile > span:last-child {
	color: #000;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

.home .ezseo-main :is(.ezseo-kicker, .ezseo-video-eyebrow) {
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .12em;
	line-height: 1.4;
}

/* White reading surface, framed by the ezSEONews brand colors. */
body { background: #fff; }
.ezseo-main { background: #fff; }
.ezseo-header-wrap {
	background: var(--ezseo-ink);
	border-bottom: 4px solid var(--ezseo-cyan);
}
.ezseo-brand svg text { fill: #fff !important; }
.ezseo-brand svg circle,
.ezseo-brand svg g > path:first-of-type { stroke: #39c6b7 !important; }
.ezseo-brand svg g > path:last-of-type { stroke: #ffc857 !important; }
.ezseo-header-search input[type="search"] {
	border-color: rgba(255,255,255,.32);
	background: rgba(255,255,255,.98);
}
.ezseo-social-links a {
	border-color: rgba(255,255,255,.32);
	color: #fff;
}
.ezseo-social-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.ezseo-nav a { color: var(--ezseo-paper) !important; }
.ezseo-nav a:hover, .ezseo-nav .current-menu-item > a { color: #65e2eb !important; }
.ezseo-footer-wrap {
	border-top: 4px solid var(--ezseo-cyan);
	background: var(--ezseo-ink);
	color: var(--ezseo-paper);
}
.ezseo-footer-wrap a { color: inherit; }
.ezseo-footer-wrap a:hover { text-decoration: underline; }
.ezseo-page-content { background: #fff; }

