/*
Theme Name: Tema Aksara Cendikia - Academy Edition
Theme URI: https://academy.aksaracendikia.id
Author: PT. Rizki Surya Permaisondo - Dika Kompor
Author URI: https://aksaracendikia.id
Description: Tema resmi Cendikia Mathematics & English Academy (Subpackage Yayasan Pendidikan Aksara Cendikia). Dirancang khusus untuk lembaga bimbingan belajar, modul akademik, dan portal informasi pendaftaran.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aksara-cendikia
Tags: education, academy, custom-menu, featured-images, responsive-layout, translation-ready
*/

/* ==========================================================================
   1. CSS VARIABLES (PALET WARNA CENDIKIA ACADEMY)
   ========================================================================== */
:root {
	--color-primary-dark: #0f172a;    /* Navy Blue / Slate 950 */
	--color-primary-indigo: #1e1b4b;  /* Deep Indigo */
	--color-blue-accent: #1e40af;     /* Royal Blue 800 */
	--color-sky-bright: #0284c7;      /* Sky Blue 600 */
	--color-text-main: #0f172a;       /* Dark Charcoal Text */
	--color-bg-light: #f8fafc;        /* Off-white Light Slate */
	--color-border-subtle: #e2e8f0;   /* Light Border Gray */
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
html {
	scroll-behavior: smooth;
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	font-family: var(--font-sans);
	color: var(--color-text-main);
	background-color: #ffffff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Keterbacaan Teks Utama & Heading */
h1, h2, h3, h4, h5, h6 {
	color: var(--color-primary-dark);
	font-weight: 900;
	letter-spacing: -0.02em;
}

a {
	color: var(--color-blue-accent);
	text-decoration: none;
	transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

a:hover {
	color: var(--color-primary-indigo);
}

/* Accessibility: Skip Link */
.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: 6px;
	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: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   3. CUSTOM COMPONENTS & CARDS STYLING
   ========================================================================== */

/* Card Container Modern */
.cendikia-card {
	background-color: #ffffff;
	border: 1px solid var(--color-border-subtle);
	border-radius: 1rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cendikia-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

/* Custom Badge Styling */
.badge-academy {
	display: inline-block;
	background-color: #dbeafe;
	color: #1e3a8a;
	font-size: 0.75rem;
	font-weight: 900;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ==========================================================================
   4. FORM STYLING (PENDAFTARAN & KONSULTASI)
   ========================================================================== */
.cendikia-form-input,
.cendikia-form-textarea,
.cendikia-form-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border-subtle);
	border-radius: 0.75rem;
	background-color: #ffffff;
	color: var(--color-text-main);
	font-size: 0.875rem;
	font-weight: 500;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cendikia-form-input:focus,
.cendikia-form-textarea:focus,
.cendikia-form-select:focus {
	outline: none;
	border-color: var(--color-blue-accent);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

/* ==========================================================================
   5. BUKU & MODUL CPT CATALOGUE STYLING
   ========================================================================== */
.buku-card-meta {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 600;
}

.buku-card-title {
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--color-primary-dark);
	margin-top: 0.25rem;
	margin-bottom: 0.5rem;
}

/* Responsive Image Utility */
.alignwide,
.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}