/*
Theme Name: Hanlin International Education
Theme URI: https://6edu.org/
Author: Hanlin International Education
Author URI: https://6edu.org/
Description: 翰林国际教育官网主题。基于 Academic Excellence System 设计系统的 Full Site Editing(FSE)块主题,适用于国际竞赛 / 国际课程 / 学术背景提升业务展示。集成 9 学科竞赛 CPT、4 大课程体系 CPT、师资 CPT、录取案例 CPT,以及配套的 block patterns。
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanlin
Tags: full-site-editing, block-patterns, education, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ============================================
 * Hanlin Theme — Custom utility styles
 * Most styling is driven by theme.json. This file
 * holds only the bits that don't fit in theme.json:
 *  - Icon font tweaks
 *  - Marquee / carousel resets
 *  - Print styles
 * ============================================ */

/* Material Symbols icon variation defaults */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

.material-symbols-outlined--filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Sticky side-consultation rail */
.hanlin-side-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}

@media (max-width: 768px) {
  .hanlin-side-rail { display: none; }
}

/* Hero overlay gradient — layered above hero image */
.hanlin-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 67, 59, 0.85) 0%, rgba(164, 16, 52, 0.7) 50%, transparent 100%);
}

/* Stat number typography (used in patterns) */
.hanlin-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Print: drop the side rail and CTA bars */
@media print {
  .hanlin-side-rail,
  .hanlin-cta-bar { display: none !important; }
}
