/*
Theme Name:   AI Pulse
Theme URI:    https://example.com/ai-pulse
Description:  A ready-made AI news & tools blog template for the Kadence theme. Includes colours, fonts, header/footer layout, 15 block patterns and a one-click demo importer (Appearance > AI Pulse Setup).
Author:       Shaheen Soft
Template:     kadence
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GNU General Public License v3.0 (or later)
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  ai-pulse
Tags:         blog, news, one-column, three-columns, custom-colors, block-patterns
*/

/* ---------------------------------------------------------------
   Site-wide tweaks to Kadence (front end only).
   Block pattern styles live in assets/css/blocks.css so they load
   in the editor too.
---------------------------------------------------------------- */

:root {
	--aip-ink: #0a0e1d;
	--aip-ink-2: #141a33;
	--aip-cyan: #14c8b8;
	--aip-radius: 14px;
	--aip-radius-sm: 8px;
	--aip-shadow: 0 1px 2px rgba(13, 18, 36, .06), 0 8px 24px rgba(13, 18, 36, .06);
	--aip-shadow-hover: 0 2px 4px rgba(13, 18, 36, .08), 0 16px 40px rgba(13, 18, 36, .12);
	--aip-gradient: linear-gradient(120deg, var(--global-palette1) 0%, #8b5cf6 45%, var(--aip-cyan) 100%);
}

::selection { background: var(--global-palette1); color: #fff; }

/* Header ---------------------------------------------------------- */
#masthead .site-main-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--global-palette7);
}
.site-branding .site-title {
	font-family: var(--global-heading-font-family);
	letter-spacing: -.02em;
}
.site-branding .site-title::after {
	content: "";
	display: inline-block;
	width: .42em;
	height: .42em;
	margin-left: .18em;
	border-radius: 50%;
	background: var(--aip-gradient);
	vertical-align: .05em;
}
.header-navigation .menu > li > a { font-weight: 500; }
.header-button-wrap .header-button {
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(108, 71, 255, .28);
}

/* Blog archive cards ------------------------------------------------ */
.content-wrap .loop-entry.entry,
.content-wrap .loop-entry {
	border-radius: var(--aip-radius);
	overflow: hidden;
	box-shadow: var(--aip-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}
.content-wrap .loop-entry:hover {
	box-shadow: var(--aip-shadow-hover);
	transform: translateY(-2px);
}
.loop-entry .entry-taxonomies a,
.single-content-wrap .entry-taxonomies a,
.entry-hero .entry-taxonomies a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--global-palette1);
}
.loop-entry .entry-title a:hover { color: var(--global-palette1); }
.content-wrap .loop-entry .entry-title {
	font-size: clamp(19px, 1.5vw, 22px);
	line-height: 1.3;
	letter-spacing: -.01em;
}
.content-wrap .loop-entry .entry-summary { font-size: 15px; color: var(--global-palette5); }
.loop-entry .entry-meta { font-size: 14px; }
.entry-meta .aip-read-time { white-space: nowrap; }

/* Single post ---------------------------------------------------- */
.single .entry-content > p:first-of-type { font-size: 1.12em; color: var(--global-palette3); }
.single .entry-content a:not(.wp-block-button__link) {
	text-decoration-color: rgba(108, 71, 255, .35);
	text-underline-offset: 3px;
}
.single .entry-content a:not(.wp-block-button__link):hover { text-decoration-color: currentColor; }
.single .entry-content h2 { margin-top: 1.8em; }
.single .post-thumbnail img,
.single .article-post-thumbnail img { border-radius: var(--aip-radius); }
.entry-author-style-normal,
.entry-author { border-radius: var(--aip-radius); }
.entry-related .entry-related-carousel .loop-entry { box-shadow: var(--aip-shadow); }
.post-navigation .nav-links a:hover .post-title { color: var(--global-palette1); }

/* Sidebar --------------------------------------------------------- */
.primary-sidebar .widget {
	padding: 22px;
	border: 1px solid var(--global-palette7);
	border-radius: var(--aip-radius);
	background: #fff;
}
.primary-sidebar .widget-title,
.primary-sidebar .wp-block-heading {
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Footer (dark) ---------------------------------------------------- */
#colophon {
	background: var(--aip-ink);
	color: #b7bdd3;
}
#colophon .site-middle-footer-wrap .site-footer-row-container-inner,
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	background: transparent;
}
#colophon .site-middle-footer-wrap { padding-top: 24px; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	border-top: 1px solid rgba(255, 255, 255, .08);
}
#colophon h2,
#colophon h3,
#colophon .widget-title,
#colophon .wp-block-heading {
	color: #fff;
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
#colophon .aip-footer-brand {
	font-size: 24px;
	letter-spacing: -.02em;
	text-transform: none;
}
#colophon a { color: #d9ddec; text-decoration: none; }
#colophon a:hover { color: #fff; }
#colophon .wp-block-categories,
#colophon .wp-block-list { list-style: none; padding-left: 0; margin-left: 0; }
#colophon .wp-block-categories li,
#colophon .wp-block-list li { margin-bottom: 8px; }
#colophon .footer-navigation .menu > li > a { color: #b7bdd3; padding-top: .3em; padding-bottom: .3em; }
#colophon .footer-navigation .menu > li > a:hover { color: #fff; }
#colophon .site-footer-section .footer-html,
#colophon .footer-html { color: #8c93ad; font-size: 14px; }
#colophon .wp-block-button__link { color: #fff; }

/* Search modal -------------------------------------------------- */
#search-drawer .drawer-inner { background: rgba(10, 14, 29, .96); }

/* Scroll-to-top ------------------------------------------------- */
#kt-scroll-up { border-radius: 50%; }
