:root {
	--custom-bg: #f4f7fb;
	--custom-ink: #101827;
	--custom-muted: #687486;
	--custom-line: #dfe7f1;
	--custom-surface: #ffffff;
	--custom-primary: #0b7285;
	--custom-primary-dark: #075e6d;
	--custom-accent: #f59e0b;
	--custom-title: #be185d;
	--custom-shadow: 0 14px 34px rgba(16, 24, 39, 0.12);
}

body {
	background: var(--custom-bg);
	color: var(--custom-ink);
	font-family: Arial, Helvetica, sans-serif;
}

a {
	text-underline-offset: 0.18em;
}

.site-header,
#masthead {
	background: var(--custom-surface);
	border-bottom: 1px solid var(--custom-line);
	box-shadow: 0 6px 20px rgba(16, 24, 39, 0.05);
}

.custom-site-shell {
	width: min(1240px, calc(100% - 24px));
	margin: 0 auto;
}

.custom-brand-row {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(260px, 390px);
	gap: 1.25rem;
	align-items: center;
	padding: 1rem 0;
}

.custom-brand {
	display: inline-flex;
	align-items: center;
	color: var(--custom-ink);
	text-decoration: none;
}

.custom-logo-mark {
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-right: 0.72rem;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--custom-primary), #12b981);
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 900;
	box-shadow: 0 10px 22px rgba(11, 114, 133, 0.28);
}

.custom-brand-text strong {
	display: block;
	font-size: clamp(1.85rem, 3vw, 2.45rem);
	line-height: 1;
	letter-spacing: 0;
}

.custom-brand-text span {
	display: block;
	margin-top: 0.28rem;
	color: var(--custom-primary);
	font-size: 0.86rem;
	font-weight: 800;
}

.custom-search {
	display: flex;
	height: 46px;
	overflow: hidden;
	border: 1px solid var(--custom-primary);
	border-radius: 8px;
	background: #ffffff;
}

.custom-search button,
.custom-search input[type="search"] {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.custom-search button {
	width: 54px;
	background: var(--custom-primary);
	color: #ffffff;
	font-size: 1.45rem;
	cursor: pointer;
}

.custom-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0 0.9rem;
	background: #ffffff;
	color: var(--custom-ink);
	font-size: 1rem;
	outline: none;
}

.custom-search input[type="search"]::placeholder {
	color: #7b8795;
}

.custom-nav-strip {
	position: relative;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	min-height: 50px;
	margin: 0 0 1rem;
	padding: 0.25rem;
	border-radius: 8px;
	background: var(--custom-primary);
	box-shadow: 0 8px 18px rgba(11, 114, 133, 0.2);
	overflow: visible;
}

.custom-nav-dropdown {
	position: relative;
}

.custom-nav-dropdown button {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.75rem;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #ffffff;
	font-size: 0.96rem;
	font-weight: 700;
	cursor: pointer;
}

.custom-nav-dropdown button::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 0.45rem;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
}

.custom-nav-dropdown__menu {
	position: absolute;
	z-index: 999;
	top: calc(100% + 0.25rem);
	left: 0;
	display: none;
	min-width: 190px;
	padding: 0.35rem;
	border: 1px solid var(--custom-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: var(--custom-shadow);
}

.custom-nav-dropdown:hover .custom-nav-dropdown__menu,
.custom-nav-dropdown:focus-within .custom-nav-dropdown__menu,
.custom-nav-dropdown.is-open .custom-nav-dropdown__menu {
	display: grid;
}

.custom-nav-dropdown__menu a {
	min-height: 38px;
	color: var(--custom-ink);
}

.custom-nav-dropdown__menu a:hover {
	background: rgba(11, 114, 133, 0.1);
	color: var(--custom-primary-dark);
}

.custom-nav-strip a,
.main-navigation .primary-menu-container > ul > li > a,
.header-navigation .header-menu-container ul > li.menu-item > a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.75rem;
	border-radius: 6px;
	color: #ffffff;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: none;
}

.custom-nav-strip a:hover,
.custom-nav-dropdown button:hover,
.main-navigation .primary-menu-container > ul > li > a:hover,
.header-navigation .header-menu-container ul > li.menu-item > a:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.custom-nav-strip .custom-nav-dropdown__menu a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.75rem;
	border-radius: 6px;
	background: #ffffff;
	color: var(--custom-ink);
	font-size: 0.96rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.custom-nav-strip .custom-nav-dropdown__menu a:hover,
.custom-nav-strip .custom-nav-dropdown__menu a:focus {
	background: rgba(11, 114, 133, 0.1);
	color: var(--custom-primary-dark);
}

.custom-ad-slot {
	display: grid;
	place-items: center;
	min-height: 96px;
	margin: 0.85rem 0;
	padding: 0.75rem;
	border: 1px dashed #9aa8b8;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(11, 114, 133, 0.08), rgba(245, 158, 11, 0.08)),
		#ffffff;
	color: #526173;
	text-align: center;
}

.custom-ad-slot span {
	display: block;
	color: var(--custom-ink);
	font-size: 1.05rem;
	font-weight: 800;
}

.custom-ad-slot small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.custom-ad-slot--leaderboard {
	min-height: 90px;
	margin-top: 0.75rem;
}

.custom-ad-slot--wide {
	min-height: 250px;
}

.custom-ad-slot--feed {
	min-height: 430px;
	margin: 0;
	box-shadow: var(--custom-shadow);
}

.custom-ad-slot--bottom {
	min-height: 120px;
	margin: 2rem 0 0;
}

.custom-feature-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem;
	align-items: end;
	margin: 1rem 0 1.4rem;
	padding: clamp(1.35rem, 3vw, 2.5rem);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(16, 24, 39, 0.96), rgba(11, 114, 133, 0.92)),
		linear-gradient(90deg, #101827, #0b7285);
	box-shadow: var(--custom-shadow);
}

.custom-feature-kicker {
	margin: 0 0 0.7rem;
	color: var(--custom-accent);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.custom-feature-panel h1 {
	max-width: 820px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3.8rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0;
}

.custom-feature-panel p:not(.custom-feature-kicker) {
	max-width: 760px;
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.65;
}

.custom-feature-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 1.1rem;
	border-radius: 8px;
	background: var(--custom-accent);
	color: #171717;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.java-page {
	width: min(1240px, calc(100% - 24px));
	margin: 0 auto;
	padding-bottom: 2rem;
}

.java-header {
	margin: 1rem 0;
	padding: clamp(1.35rem, 3vw, 2.4rem);
	border-radius: 10px;
	background: linear-gradient(135deg, #0b7285, #111827);
	color: #ffffff;
	box-shadow: var(--custom-shadow);
}

.java-header h1 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3.4rem);
	letter-spacing: 0;
}

.java-header p {
	max-width: 760px;
	margin: 0.8rem 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.08rem;
	line-height: 1.7;
}

.java-section {
	margin: 1.4rem 0;
}

.java-section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.9rem;
}

.java-section-title h2 {
	margin: 0;
	color: var(--custom-ink);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	letter-spacing: 0;
}

.java-section-title span {
	color: var(--custom-primary-dark);
	font-weight: 800;
}

.java-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.java-card {
	min-height: 260px;
	padding: 1.25rem;
}

.java-card h3 {
	margin: 0 0 0.7rem;
	color: var(--custom-title);
	font-size: 1.25rem;
	line-height: 1.35;
}

.java-card p {
	color: var(--custom-muted);
	line-height: 1.7;
}

.java-list {
	margin: 1rem 0 0;
	padding-left: 1.1rem;
	color: var(--custom-muted);
	line-height: 1.85;
}

.java-path {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.java-path li {
	padding: 1rem;
	border: 1px solid var(--custom-line);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: var(--custom-shadow);
}

.java-path strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--custom-primary-dark);
}

.java-code {
	overflow-x: auto;
	margin: 1rem 0 0;
	padding: 1rem;
	border-radius: 8px;
	background: #111827;
	color: #e5e7eb;
	font-size: 0.92rem;
	line-height: 1.7;
}

.java-wide-card {
	padding: 1.3rem;
	border: 1px solid var(--custom-line);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: var(--custom-shadow);
}

.java-two-column {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}

.content-bg,
.loop-entry,
.entry,
.preview-card {
	min-height: 390px;
	border: 1px solid var(--custom-line);
	border-radius: 10px;
	background: var(--custom-surface);
	box-shadow: var(--custom-shadow);
	overflow: hidden;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.loop-entry:hover,
.preview-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 44px rgba(16, 24, 39, 0.18);
}

.entry-content-wrap {
	padding: clamp(1.1rem, 2vw, 1.45rem);
}

.entry-title,
.entry-title a,
.entry-header .entry-title {
	color: var(--custom-title);
	font-size: clamp(1.28rem, 1.8vw, 1.55rem);
	font-weight: 850;
	line-height: 1.45;
	letter-spacing: 0;
	text-decoration: none;
}

.entry-title a:hover {
	color: #9d174d;
}

.entry-summary,
.entry-content,
.entry-meta {
	color: var(--custom-muted);
}

.entry-meta,
.byline,
.posted-on {
	color: var(--custom-primary-dark);
	font-weight: 800;
}

.post-thumbnail,
.loop-entry .post-thumbnail,
.loop-entry .post-thumbnail img,
.post-thumbnail img,
.entry-hero img {
	border-radius: 10px 10px 0 0;
}

.entry-taxonomies a,
.category-links a,
.tags-links a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.25rem 0.55rem;
	border-radius: 5px;
	background: rgba(11, 114, 133, 0.1);
	color: var(--custom-primary-dark);
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
}

.sidebar-inner-wrap,
.primary-sidebar .widget,
.widget-area .widget {
	border: 1px solid var(--custom-line);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: var(--custom-shadow);
}

.widget-title {
	color: var(--custom-title);
	font-size: 1.05rem;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: none;
}

button,
.button,
.wp-block-button__link,
input[type="submit"] {
	border-radius: 8px;
	background: var(--custom-primary);
	font-weight: 800;
	box-shadow: none;
}

.site-footer,
#colophon {
	margin-top: 2.5rem;
	border-top: 4px solid var(--custom-primary);
	background: #ffffff;
}

@media (max-width: 900px) {
	.custom-brand-row,
	.custom-feature-panel {
		grid-template-columns: 1fr;
	}

	.java-grid,
	.java-path,
	.java-two-column {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.custom-search {
		max-width: 100%;
	}

	.custom-feature-button {
		width: fit-content;
	}
}

@media (max-width: 560px) {
	.custom-site-shell {
		width: min(100% - 12px, 1240px);
	}

	.custom-logo-mark {
		width: 52px;
		height: 52px;
		font-size: 1.15rem;
	}

	.custom-brand-text strong {
		font-size: 1.55rem;
	}

	.custom-nav-strip {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.custom-nav-strip a {
		white-space: nowrap;
	}

	.java-grid,
	.java-path,
	.java-two-column {
		grid-template-columns: 1fr;
	}

	.java-section-title {
		align-items: flex-start;
		flex-direction: column;
	}
}
