/*
Theme Name:        GradientM Insights
Theme URI:         https://www.gradientm.com/
Author:            GradientM IT Consulting & Services Pvt Ltd
Author URI:        https://www.gradientm.com/
Description:       Premium, enterprise-grade custom theme for GradientM IT Consulting & Services. A faithful WordPress conversion of the GradientM Insights blog — sticky glass header, animated hero, filterable article grid, rich single-post layout, and a fully widgetized sidebar & footer. Built with Tailwind + custom CSS, translation-ready, and WordPress-coding-standards compliant.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       gradientm-insights
Tags:              blog, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, two-columns, right-sidebar, full-width-template
*/

/*
 * ---------------------------------------------------------------------------
 * NOTE ON STYLES
 * ---------------------------------------------------------------------------
 * The visual design lives in /assets/css/custom.css (enqueued in functions.php)
 * together with Tailwind (loaded via CDN + inline config, exactly like the
 * original HTML site so the design remains 100% identical).
 *
 * This file only carries the required WordPress theme header plus a small set
 * of WordPress-specific styles (alignment, captions, comments, block widgets,
 * screen-reader helpers) that do not exist in the original static markup.
 * ---------------------------------------------------------------------------
 */

/* WordPress core alignment helpers ---------------------------------------- */
.alignnone { margin: 1.5em 0; }
.aligncenter,
div.aligncenter { display: block; margin: 1.5em auto; }
.alignright { float: right; margin: 0.5em 0 1.25em 1.5em; }
.alignleft { float: left; margin: 0.5em 1.5em 1.25em 0; }
.wp-caption { max-width: 100%; margin-bottom: 1.5em; }
.wp-caption img { display: block; margin: 0 auto; }
.wp-caption .wp-caption-text,
.wp-caption-text { font-size: 0.85rem; color: #94a3b8; text-align: center; font-style: italic; padding-top: 8px; }
.wp-caption-text { margin: 0; }

/* Make embedded/media responsive ------------------------------------------ */
embed, iframe, object, img { max-width: 100%; }
.wp-block-embed { margin: 1.5em 0; }

/* Sticky post badge -------------------------------------------------------- */
.gradientm-blog-card.sticky .gradientm-card-badge::after { content: " ★"; }

/* Screen-reader text (WP standard) ---------------------------------------- */
.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-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* WordPress admin bar compensation ---------------------------------------- */
body.admin-bar .gradientm-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .gradientm-header { top: 46px; }
}
