/*
Theme Name: Trilis Bioscience
Author: Trilis Bioscience
Description: The approved Trilis Bioscience website with its original animations and responsive layouts. A custom classic theme, independent of page builders.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trilis-bioscience
*/

/* WordPress-only integration. The original visitor stylesheet is kept intact
   in frontend/style.css. These toolbar rules affect signed-in users only. */
body.admin-bar .header { top: 32px; }
body.admin-bar .skip:focus { top: 42px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .skip:focus { top: 56px; }
}
@media (max-width: 600px) {
  /* Keep the admin toolbar fixed to match the fixed site header while editing. */
  body.admin-bar #wpadminbar { position: fixed; }
}

/* Existing WordPress pages retain their content and get a simple reading layout. */
html.trilis-standard-page { scroll-snap-type: none; scroll-padding-top: 0; }
.trilis-content-header { padding: 32px var(--pad); border-bottom: 1px solid #ffffff24; }
.trilis-content-main { width: min(100% - 48px, 960px); margin: 0 auto; padding: 64px 0 96px; line-height: 1.7; }
.trilis-content-entry { margin-bottom: 56px; }
.trilis-content-main h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.12; margin-bottom: 32px; }
.trilis-content-main h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin: 32px 0 20px; }
.trilis-content-main h3 { font-size: 24px; line-height: 1.3; margin: 28px 0 16px; }
.trilis-content-main p { margin-bottom: 20px; }
.trilis-content-main a { text-decoration: underline; text-underline-offset: .2em; }
.trilis-content-main img { max-width: 100%; height: auto; }
