:root {
  --color-bg: #ffffff;
  --color-text: #073052;
  --color-accent: #9e2022;
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding:0;
}

/*Home page*/
/*.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url('/assets/img/wgnew/wgnews_img/wg_headbanner.png') center/cover no-repeat;
  color: white;
  position: relative;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-img {
  height: 100px;
  width: auto;
}
.site-title {
   font-size: 50px;
   font-family: 'Cinel', serif;
   margin: 0;
   text-shadow: 2px 2px 4px #000;
}
.welcome {
  font-size: 1.5em;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: transparent;
  text-shadow: 5px 5px 8px #070352
}
.main-nav {
  background-color: var(--color-text);
  padding: 0.5em 0;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav li{
   position: relative;
}
.main-nav a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}
.main-nav a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #9e2022;
  border-radius: 5px;
  z-index: -1;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
.main-nav a.active {
  transform: scale(1.05);
}
.main-nav a:hover {
  color: var(--color-accent);
}*/

main {
  padding: 0px;
  text-align: center;
}

/* === WG NEWS SUB MENU === */
.wgnews-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 8px 20px;
  background-color: #9e2022;
  box-shadow: 0 2px 3px var(--color-text , 0.2);
}
.logo-wgnews img {
  height: 80px;
  width: 150px;
  display: flex;
  justify-content: center;
}
.sub-nav {
  display: flex;
  flex: 2;
  gap: 5px;
}
.sub-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
}
.sub-nav a:hover {
  background-color: #073052;
}

/* === METEO === */
.weather-widget {
  background: url('/assets/img/wgnew/wgnews_img/wgmeteo_bg.png') center/cover no-repeat;
  border: 2px solid #073052;
  border-radius: 15px;
  padding: 2px;
  font-family: 'Cinzel', serif;
  color: #073052;
  max-width: 800px;
  max-height: 500px;
  margin: 0px auto auto;
  box-shadow: #9e2022 5px 5px 10px;
  transform: scale(0.7);
}
.weather-header {
  font-size: 1.5em;
  text-align: center;
  text-shadow: 3px 3px 3px white;
}
.season-icon {
  width: 48px;
  height: 48px;
}
.weather-main {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}
.main-icon {
  width: 200px;
  height: 150px;
}
.weather-info h3 {
  font-size: 1.5em;
  margin-bottom: 5px;
  text-shadow: 3px 3px 4px white;
}
.weather-stats {
  display: flex;
  justify-content: center;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 10px 0;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}
.stat-block {
  min-width: 250;
  font-size: 1.2;
  text-align: center;
  flex: 2;
  border-right: 1px solid rgba(0,0,0,0.5);
}
.stat-block:last-child {
  border-right: none;
}
.stat-icon {
  margin: 1px 15px 15px;
  width: auto;
  height: 64px;
}
.stat-value {
  margin: 1px 15px 15px;
  font-size: 1.5em;
  font-family: 'Cinzel', serif;
}
.inline-icon {
  width: 16px;
  height: 24px;
  vertical-align: middle;
  margin-right: 5px;
}
.weather-hourly {
  margin-top: 20px;
}
.weather-hourly h4 {
  text-align: center;
}
.hourly-grid {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.hour-block {
  text-align: center;
  background: rgba(255,255,255,0.5);
  padding: 5px;
  border-radius: 10px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  width: 100px;
}
.hour-block img {
  width: 45px;
  height: 60px;
}

/* === EDITOR === */
.editor-page {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: 'Cinzel', serif;
  color: #073052;
}
form {
  justify-content: center;
  background: url('/assets/img/wgnew/wgnews_img/news_bg.jpg') center/cover no-repeat;
  border: 1px solid #073052;
  box-shadow: 5px 5px 8px #9e2022;
  border-radius: 12px;
  padding: 20px;
}
form input, form select, form textarea {
  width: 90%;
  margin:5px 5px 15px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #073052;
  font-family: 'Cinzel', serif;
  background: #fff;
  color: #073052;
}
form input::placeholder,
form textarea::placeholder {
  color: #ccc;
}
form button {
  background: #073052;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  border: none;
}
#feedback {
  margin-top: 15px;
  font-style: italic;
  color: lightgreen;
}

/* === MAIN PAGE === */
.article-block {
  background: url('/assets/img/wgnew/wgnews_img/news_bg.png') center/cover no-repeat;
  border: 1px solid blue;
  border-radius: 12px;
  padding: 5px;
  margin: 20px auto;
  max-width: 800px;
  color: blue;
  font-family: 'Cinzel', serif;
}
.article-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-thumb {
  width: 120px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.article-content {
  flex: 1;
}
.article-title {
  font-size: 1.4em;
  margin-bottom: 5px;
}
.article-meta {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 10px;
}
.article-preview {
  font-size: 1em;
  margin-bottom: 10px;
}
.read-button {
  display: inline-block;
  padding: 6px 12px;
  background: gold;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.category-page {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: 'Cinzel', serif;
  color: #fff;
}
.editor-access {
  text-align: center;
  margin: 20px 0;
}
.editor-button {
  display: inline-block;
  padding: 10px 20px;
  background: gold;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Cinzel', serif;
}

/* === CAT PAGE === */
.category-page article {
  background: url('/assets/img/wgnew/wgnews_img/news_bg.jpg') center/cover no-repeat;
  border: 2px solid #073052;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 4px 10px #9e2022;
  font-family: 'Cinzel', serif;
}
.category-page h2 {
  font-size: 1.8em;
  color: #073052;
  margin-bottom: 10px;
}
.category-page .meta {
  font-size: 0.9em;
  color: #073052;
  font-style: italic;
  margin-bottom: 15px;
}
.category-page .preview {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  white-space: pre-line;
}
.category-page img {
  display: block;
  max-width: 100%;
  margin: 15px auto 0 auto;
  border-radius: 8px;
}
.homepage-articles article {
  background: url('/assets/img/wgnew/wgnews_img/news_bg.jpg') center/cover no-repeat;
  border: 2px solid #073052;
  padding: 15px;
  margin: 15px auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 2px 6px #9e2022;
}
.homepage-articles img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

