/*
Theme Name: Apexium
Theme URI: https://example.com/apexium
Author: Chandrabhan Shekhawat
Author URI: https://gigaikripaservices.com/
Description: Apexium – Corporate & Enterprise. A custom corporate WordPress theme with dynamic page content, admin-managed animations, theme settings, and upload-ready structure.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apexium
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: #111;
	display: block;
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: 10px;
	line-height: normal;
	padding: 12px 18px;
	top: 10px;
	width: auto;
	z-index: 100001;
}

body.admin-bar .nav {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .nav {
		top: 46px;
	}
}

.custom-logo-link,
.custom-logo {
	display: block;
}

.site-default-page,
.site-default-index {
	position: relative;
	z-index: 2;
}

.site-default-page .section,
.site-default-index .section {
	padding-top: clamp(120px, 14vw, 170px);
}

.apexium-copy {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid rgba(150, 178, 214, 0.14);
	border-radius: 26px;
	background: rgba(18, 26, 42, 0.55);
	backdrop-filter: blur(12px);
}

.apexium-copy > * + * {
	margin-top: 1rem;
}

.apexium-copy--generic,
.apexium-copy--entry {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
}

.apexium-copy h1,
.apexium-copy h2,
.apexium-copy h3 {
	margin-top: 2rem;
}

.apexium-copy h1:first-child,
.apexium-copy h2:first-child,
.apexium-copy h3:first-child {
	margin-top: 0;
}

.apexium-copy img,
.apexium-copy iframe,
.apexium-copy video,
.apexium-copy canvas,
.apexium-copy svg {
	max-width: 100%;
	height: auto;
}

.apexium-copy a {
	color: #6f9cf0;
}

.apexium-copy p,
.apexium-copy li,
.apexium-copy blockquote,
.apexium-copy figcaption,
.apexium-copy td,
.apexium-copy th {
	color: rgba(234, 241, 251, 0.82);
	line-height: 1.8;
}

.apexium-copy blockquote {
	margin: 2rem 0;
	padding: 1.4rem 1.5rem;
	border-left: 3px solid #4f8bf5;
	border-radius: 18px;
	background: rgba(79, 139, 245, 0.08);
	font-size: 1.05rem;
}

.apexium-copy pre {
	margin: 2rem 0;
	padding: 1.25rem 1.4rem;
	overflow: auto;
	border: 1px solid rgba(150, 178, 214, 0.16);
	border-radius: 20px;
	background: rgba(6, 10, 18, 0.95);
	color: #eaf1fb;
}

.apexium-copy code,
.apexium-copy kbd,
.apexium-copy samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.apexium-copy hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid rgba(150, 178, 214, 0.14);
}

.apexium-copy table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

.apexium-copy td,
.apexium-copy th {
	padding: 0.9rem 1rem;
	border: 1px solid rgba(150, 178, 214, 0.14);
}

.apexium-copy figcaption {
	margin-top: 0.8rem;
	font-size: 0.92rem;
}

.apexium-copy .wp-block-image,
.apexium-copy .wp-block-gallery,
.apexium-copy .wp-block-embed,
.apexium-copy .wp-block-columns,
.apexium-copy .wp-block-cover {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.apexium-copy .wp-block-button__link,
.apexium-copy .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #4f8bf5, #7ea6f8);
	box-shadow: 0 18px 40px -22px rgba(79, 139, 245, 0.9);
	color: #08101d;
	font-weight: 700;
	text-decoration: none;
}

.apexium-copy .wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid rgba(150, 178, 214, 0.18);
	background: rgba(18, 26, 42, 0.45);
	color: #eaf1fb;
	box-shadow: none;
}

.apexium-copy .wp-block-separator {
	max-width: none;
	border-color: rgba(150, 178, 214, 0.14);
}

.apexium-copy__featured {
	margin: 0 0 2rem;
	overflow: hidden;
	border: 1px solid rgba(150, 178, 214, 0.16);
	border-radius: 28px;
	background: rgba(18, 26, 42, 0.55);
}

.apexium-copy__featured img {
	display: block;
	width: 100%;
	height: auto;
}

.apexium-generic-page {
	position: relative;
	z-index: 2;
}

.apexium-generic-page__inner {
	max-width: 940px;
	margin: 0 auto;
}

.apexium-generic-page__panel {
	position: relative;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid rgba(150, 178, 214, 0.14);
	border-radius: 28px;
	background:
		radial-gradient(120% 120% at 100% 0, rgba(79, 139, 245, 0.08), transparent 54%),
		rgba(18, 26, 42, 0.56);
	backdrop-filter: blur(14px);
}

.apexium-generic-page__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(79, 139, 245, 0.45), transparent 42%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.75;
	pointer-events: none;
}

.apexium-copy ul,
.apexium-copy ol {
	padding-left: 1.4rem;
}

.apexium-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.apexium-post-card {
	height: 100%;
}

.apexium-post-card .article__meta {
	margin-top: auto;
}

.apexium-pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 32px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(150, 178, 214, 0.2);
	border-radius: 999px;
	background: rgba(18, 26, 42, 0.55);
	color: #eaf1fb;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: #4f8bf5;
}

.apexium-empty-state {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.apexium-comments {
	max-width: 860px;
	margin: 48px auto 0;
	padding: 32px;
	border: 1px solid rgba(150, 178, 214, 0.14);
	border-radius: 26px;
	background: rgba(18, 26, 42, 0.55);
}

.apexium-comments a {
	color: #6f9cf0;
}

.apexium-comments input[type="text"],
.apexium-comments input[type="email"],
.apexium-comments input[type="url"],
.apexium-comments textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(150, 178, 214, 0.18);
	border-radius: 18px;
	background: rgba(8, 12, 20, 0.72);
	color: #eaf1fb;
}

.apexium-comments label {
	display: inline-block;
	margin-bottom: 0.5rem;
	color: rgba(234, 241, 251, 0.82);
	font-weight: 600;
}

.apexium-comments .submit,
.apexium-comments button,
.apexium-search-form__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.35rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #4f8bf5, #7ea6f8);
	color: #08101d;
	font-weight: 700;
}

.apexium-comments .comment-form > * + *,
.apexium-comments .comment-list > li + li {
	margin-top: 1rem;
}

.comment-list,
.comment-list .children {
	list-style: none;
	padding-left: 0;
}

.comment-list .children {
	margin-left: 1.5rem;
}

.comment-body {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(150, 178, 214, 0.14);
}

.apexium-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
}

.apexium-search-form__field {
	flex: 1;
	min-height: 50px;
	padding: 0 1rem;
	border: 1px solid rgba(150, 178, 214, 0.18);
	border-radius: 999px;
	background: rgba(8, 12, 20, 0.72);
	color: #eaf1fb;
}

.wp-block-search__button,
button,
input[type="submit"] {
	cursor: pointer;
}

@media (max-width: 980px) {
	.apexium-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.apexium-post-grid {
		grid-template-columns: 1fr;
	}
}
