/*
Theme Name: ISST Exams
Theme URI: https://exams.isst.co.in
Author: Infineural
Description: White block theme for the ISST Entrance Exam site — ISST logo, ISST purple (#510798) accents, built to host the entrance-exam app via the [isst_entrance_exam] shortcode.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: isst-exams
*/

/* Most styling lives in theme.json. Only what theme.json can't express is here. */

.isst-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / 0.92);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-top: 4px solid transparent;
}
/* Full-width ISST purple + teal accent bar across the top of the header. */
.isst-header::before {
	content: "";
	position: absolute;
	inset: -4px 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--wp--preset--color--purple) 0 70%, var(--wp--preset--color--teal) 70% 100%);
}
.admin-bar .isst-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .isst-header { top: 46px; } }

.isst-logo img { height: 64px; width: auto; display: block; }
@media (max-width: 600px) { .isst-logo img { height: 48px; } }

.isst-header .wp-block-navigation a:hover { color: var(--wp--preset--color--purple); }

.isst-footer { border-top: 1px solid var(--wp--preset--color--border); }
.isst-footer .isst-logo img { height: 52px; }

/* The exam app iframe sits flush inside a wide group. */
iframe[id^="isst-exam-"] { border-radius: 16px; }

:where(.wp-site-blocks) :focus-visible { outline: 2px solid var(--wp--preset--color--purple); outline-offset: 2px; }
