/*
Theme Name: lyceum113
Text Domain: lyceum113
Version: 1.0
Tested up to: 6.8.2
Requires at least: 1.0
Requires PHP: 8.2
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: Kapustei O.O.
Author URI: 
Theme URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */

/* ----Values------------------------------------------------------------- */
* {
    --color-background: #cccc;
}
/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


html,
body {
	border: none;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

blockquote::before,
blockquote::after {
	content: "";
}


/* --Header------------------------------------------------------------------------ */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.main-menu > ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.main-menu li {
  position: relative;
}

.main-menu li {
  display: inline-block;
  margin-right: 20px;
}

.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-menu li:hover > .sub-menu {
  display: block;
}

.main-menu .sub-menu li {
  display: block;
  padding: 5px 15px;
}

.main-menu a {
  color: #333; /* звичайний колір */
  text-decoration: none;
}

.main-menu a:hover {
  color: #0066cc; /* підсвітка при наведенні */
}

.main-menu .current-menu-item > a {
  color: #e63946; /* яскраво-червоний для активного */
  font-weight: bold; /* можна ще виділити жирним */
}

.main-menu .current-menu-parent > a,
.main-menu .current-menu-ancestor > a {
  color: #e63946; /* теж підсвічуємо батьків */
}

.menu__more {
  display: none; /* ховаємо поки не треба */
  position: relative;
}
.menu__more ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  list-style: none;
  padding: 5px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.menu__more:hover ul {
  display: block;
}

/* --Home Page------------------------------------------------------------------------ */

.home-page {
  margin-top: 0; /* без відступів, щоб картинка пішла під хедер */
}

.hero {
    position: relative;
    width: 100%;
}

/* Стилі для зображення */
.hero_image {
  display: block;       /* прибирає пробіли знизу */
  width: 100%;          /* на всю ширину сторінки */
  height: 700px;         /* автоматична висота */
  object-fit: cover;    /* якщо хочете, щоб не деформувалось при обмеженні */
}