/*
Theme Name: Monum Memorial
Theme URI: https://pamyatniki-venok.ru/
Author: Cursor Agent
Description: WordPress theme based on included HTML layer (HTML5 UP structure) adapted for a memorial monuments business. Includes demo content (WXR).
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monum
Tags: custom-menu, featured-images, theme-options
*/

/* Small overrides on top of html/assets/css/main.css */
body { font-display: swap; }

/* Ensure WP admin bar doesn't overlap sticky header */
body.admin-bar #header { margin-top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #header { margin-top: 46px; }
}

/* Make template images load even without raster photos */
.image.featured img { background: #0b0f14; }

/* Dark overlay over header background image for readability */
#header {
  position: relative;
}
#header:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  pointer-events: none;
}
#header > * {
  position: relative;
  z-index: 1;
}

/* Put main nav first (flow) and match dropdown background */
#nav {
  position: relative;
  top: 0;
  padding: 2.2em 0 1.25em 0;
}

/* Make the whole top-level menu have the same background as dropdown */
#nav > ul {
  background: rgba(44, 50, 63, 0.925) url("html/assets/css/images/overlay.png");
  background-size: auto;
  background-position: 0 0;
}

/* Ensure logo sits below the menu */
#logo {
  margin-top: 0;
}

