/*
Theme Name: TMC LAB English
Theme URI: https://www.tmc-lab.com/
Author: TMC LAB
Author URI: https://www.tmc-lab.com/
Description: English-language marketing theme for TMC LAB overseas visitors. Editorial layout, single-language, no translation plugin required. Built for electrical and electronic product testing, certification routes and CNAS-accredited scope.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
License URI: https://www.tmc-lab.com/
Text Domain: tmc-en
Tags: business, custom-menu, custom-logo, editor-style, featured-images, translation-ready
*/

/*
 * This file only carries the theme header and WordPress-required baseline rules.
 * The visual system lives in assets/css/site.css, enqueued from functions.php.
 *
 * Keep this file small on purpose: WordPress reads it on every admin page load
 * to render the theme card, so it must stay lightweight.
 */

/* --- WordPress core alignment classes (block editor output) ------------- */
.alignwide {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.alignright {
  float: right;
  margin: 0 0 16px 24px;
}

/* --- WordPress required helpers --------------------------------------- */
.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;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  clip: auto !important;
  clip-path: none;
  color: #0b4da2;
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

.sticky,
.bypostauthor {
  position: relative;
}

/* --- Admin bar offset (logged-in visitors) ----------------------------- */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* --- Editor placeholder note ------------------------------------------ */
.wp-block-post-content > .wp-block-paragraph:empty {
  display: none;
}
