
*
Theme Name: Shililanka
Theme URI: https://wendyapparel.com/
Author: WorkBuddy
Author URI: https://www.workbuddy.cn/
Description: Custom theme for the Shililanka OEM/ODM apparel manufacturing site. Reproduces the approved static-site design (top bar, header, mobile drawer, footer). Page content is edited in the block editor using Custom HTML blocks, one block per page section.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shililanka
Tags: custom-menu, featured-images, full-width-template
*/

/* ==========================================================================
   WordPress integration layer.
   The design itself lives in /assets/css/style.css (enqueued first by
   functions.php). Everything below only adapts the WordPress chrome to
   that design - keep it small.
   ========================================================================== */

/* Admin bar: overlay the page instead of pushing the layout down. */
html { margin-top: 0 !important; }
#wpadminbar { position: absolute; top: 0; left: 0; }

/* The page content wrapper must stay transparent: the site stylesheet
   expects full-bleed <section> elements in the normal flow. */
.entry-content { margin: 0; }

/* Core helper class (skip link, hidden labels). */
.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;
}

/* Skip link */
.sl-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100001;
  background: #0F5C4A;
  color: #fff;
  padding: 10px 18px;
  font-family: var(--font-display, "Manrope", sans-serif);
  font-weight: 700;
}
.sl-skip-link:focus { left: 8px; top: 8px; }

/* Menu note:
   SL_Walker_Nav_Menu (functions.php) renders the menu as bare <a> links
   with class="active" on the current item - exactly the markup the static
   site used, so .nav a / .nav a.active apply without any remapping. */

/* Block editor: keep Custom HTML blocks tight in the list view. */
.editor-styles-wrapper .wp-block-html { margin-top: 0; }
