/*========================================================================================================================================================
  Stranky:   Equilibrie
  Soubor:    style/main.css
  Popis:     Hlavni kaskadove styly webu
========================================================================================================================================================*/

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Fonty
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

@font-face {
  font-family: 'Xenippa';
  src: url("/fonts/xenippa1.woff2?v=1793276311-30296") format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alex Brush';
  src: url("/fonts/alex_brush.woff2?v=1793276311-51832") format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Základní typografie a tělo
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

body {
  font-family: "Segoe UI", Roboto, "Liberation Sans", "DejaVu Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  font-style: italic;
  color: #000;
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

p {
  margin: 0 0 0.8rem 0;
}

blockquote {
  margin: 0.8rem 0;
  padding: 0.4rem 0.8rem;
  border-left: 3px solid rgba(80, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.03);
  font-style: italic;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 5px;
  border-radius: 3px;
  font-style: normal;
}

a {
  color: #500000;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #000;
}

.left {
  text-align: left;
}

div.main_text p:has(> img:only-child) {
  text-align: center;
}

div.main_text img {
  max-width: 100%;
  height: auto;
}

div.main_text p > img:only-child,
div.main_text > img,
img.included {
  display: block;
  margin: 0.8rem auto;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Nadpisy
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

h1,
h2,
h3,
h4 {
  font-style: italic;
  font-weight: bold;
  text-align: center;
  clear: both;
}

h1 {
  font-size: 1.55rem;
  margin: 0 0 0.8rem 0;
}

h2 {
  font-size: 1.35rem;
  margin: 0.8rem 0 0.5rem 0;
}

h3 {
  font-size: 1.15rem;
  margin: 0.7rem 0 0.4rem 0;
}

h4 {
  font-size: 1.05rem;
  margin: 0.5rem 0 0.3rem 0;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Iniciály (Drop-cap)
--------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*
h1+p::first-letter,
h2+p::first-letter,
h3+p::first-letter,
h4+p::first-letter,
hr+p::first-letter,
.oddeleni+p::first-letter,
.oddeleni_550+p::first-letter {
  font-family: 'Xenippa', 'FR KMS 01cs', serif;
  font-size: 2.2em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.15em 0 0;
  color: #000;
  font-style: normal;
  font-weight: normal;
}
*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Hlavní rozvržení stránky
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

div.page_center_a {
  width: 100%;
  display: flex;
  justify-content: center;
}

div.page_center_b {
  position: relative;
  width: 1000px;
  min-height: 100vh;
  text-align: left;
}

div.page_789 {
  position: absolute;
  left: 215px;
  top: 0;
  width: 785px;
  height: 276px;
  overflow: hidden;
  z-index: 1;
}

/* Výřez záhlaví je již přesně 785 × 276 px. */
div.page_789 > img {
  display: block;
  width: 785px;
  height: 276px;
}

div.page_41 {
  position: absolute;
  left: 0;
  top: 0;
  width: 215px;
  height: 100%;
  min-height: 100vh;
  background: #000 url("../grafika/page/eq_stone_column.jpg") left top no-repeat;
  z-index: 2;
}

/* Logo je jen jednou, nad kamenem, nezávislé na střídajících se scénách. */
div.page_41::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 215px;
  height: 190px;
  background: url("../grafika/page/eq_logo_overlay.png") left top no-repeat;
  pointer-events: none;
}

div.page_741 {
  display: none;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Tělo pergamenu (main)
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

div.main_frame {
  position: absolute;
  left: 153px;
  top: 198px;
  width: 847px;
  z-index: 3;
}

div.main_789 {
  position: relative;
  left: 0;
  top: 0;
  width: 847px;
  height: 78px;
  background: url("/grafika/page/main_789.png?v=1793276311-86903") top left no-repeat;
}

div.main_456 {
  position: relative;
  left: 0;
  top: 0;
  width: 847px;
  background: url("/grafika/page/main_456.png?v=1793276311-126281") top left repeat-y;
  display: flow-root;
}

div.main_123 {
  position: relative;
  left: 0;
  top: -1px;
  width: 847px;
  height: 65px;
  background: url("/grafika/page/main_123.png?v=1793276311-69016") top left repeat-y;
  text-align: center;
}

div.main_text {
  position: relative;
  margin: auto;
  top: 0;
  width: 754px;
  text-align: left;
  display: flow-root;
  padding-bottom: 10px;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Panely a navigace
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

div.worlds_frame {
  position: absolute;
  left: 240px;
  top: 5px;
  width: 756px;
  height: 30px;
}

div.status_frame {
  position: absolute;
  left: 637px;
  top: 124px;
  width: 190px;
  box-sizing: border-box;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10;
  text-align: center;
  font-style: normal;
}

.status_host {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e0e0e0;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.status_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 145px;
  margin: 0 auto 2px;
  padding: 1px 0;
  font-size: 0.79rem;
}

.status_online {
  color: #4ade80;
  font-weight: 600;
}

.status_offline {
  color: #f87171;
  font-weight: 600;
  justify-content: center;
}

.status_dot {
  font-size: 0.65rem;
  vertical-align: middle;
  margin-right: 2px;
}

.status_players {
  color: #f0f0f0;
  font-style: italic;
}

.status_time {
  font-size: 0.6875rem;
  color: #bbb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2px;
  letter-spacing: 0.2px;
}

div.menu_frame {
  position: absolute;
  left: 5px;
  top: 190px;
}

div.button {
  position: relative;
  top: 0;
  left: 0;
  transition: transform 0.1s ease;
}

div.button:hover {
  transform: translate(-1px, -1px);
}

a.logo {
  position: absolute;
  z-index: 5;
  left: 1px;
  top: 1px;
  width: 188px;
  height: 188px;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Oddělovače
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

hr,
.oddeleni {
  position: relative;
  display: block;
  clear: both;
  border: 0;
  margin: 1.2rem 0;
  left: 0;
  width: 750px;
  max-width: 100%;
  height: 32px;
  background: url("/grafika/other/oddelovac_01.png?v=1793276311-2759") no-repeat top left;
}

hr.short,
.sidebar_main hr,
.rp_main hr,
.rp_container hr,
.nabizi_main hr,
.oddeleni_550 {
  position: relative;
  display: block;
  clear: both;
  border: 0;
  margin: 1rem 0;
  left: 0;
  width: 550px;
  max-width: 100%;
  height: 30px;
  background: url("/grafika/other/oddelovac_02.png?v=1793276311-1591") no-repeat top left;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Dvousloupcové rozvržení se sidebarem (Unified Sidebar Layout)
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

.sidebar_layout,
.rp_container,
.nabizi_container {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}

.sidebar_main,
.rp_main,
.nabizi_main {
  width: 550px;
  flex-shrink: 0;
  min-width: 0;
}

.sidebar_aside,
.rp_sidebar,
.nabizi_sidebar {
  width: 190px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Podmenu (Submenu mřížka)
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

.submenu_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 740px;
  margin: 0 auto 0.8rem auto;
}

.submenu_item {
  width: 104px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.submenu_item img {
  width: 100px;
  height: 100px;
  border: 0;
  display: block;
  margin-bottom: 4px;
  transition: transform 0.1s ease;
}

.submenu_item:hover img {
  transform: scale(1.04);
}

.submenu_item span {
  color: #500000;
  font-weight: bold;
}

.submenu_item:hover span {
  color: #000;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Partnerské odkazy (levý sloupec dole)
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

div.links_frame {
  position: absolute;
  display: block;
  left: 0;
  top: 830px;
  width: 150px;
}

div.links_789,
div.links_456,
div.links_123 {
  width: 150px;
}

div.links_789 {
  position: relative;
  left: 0;
  top: 0;
  height: 34px;
  background: url("/grafika/links/links_789.jpg?v=1793276311-1718") top left no-repeat;
}

div.links_456 {
  background: url("/grafika/links/links_456.jpg?v=1793276311-2076") top left repeat-y;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

div.links_456 img {
  width: 88px;
  height: 31px;
  border: 0;
  display: block;
}

div.links_123 {
  position: relative;
  left: 0;
  top: 0;
  height: 16px;
  background: url("/grafika/links/links_123.jpg?v=1793276311-993") top left no-repeat;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Tabulky a seznamy
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

table {
  border-collapse: collapse;
}

table[rules="rows"] tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

table.minimal {
  padding: 0;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

td {
  padding: 5px;
  border: 0;
  font-size: 0.875rem;
  font-style: italic;
}

div.menu_frame td,
div.worlds_frame td {
  padding: 0;
}

ul.condensed {
  font-size: 0.75rem;
  list-style-type: disc;
  padding-left: 10px;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Videa
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

.video_container {
  max-width: 560px;
  margin: 0.8rem auto;
  aspect-ratio: 16 / 9;
}

.video_container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  display: block;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
  Podpisy u novinek a textů
--------------------------------------------------------------------------------------------------------------------------------------------------------*/

.news_signature {
  text-align: right;
  font-family: 'Alex Brush', cursive;
  font-size: 2.25rem;
  font-weight: bold;
  color: #1a0f08;
  margin: 0.5rem 0 0.8rem 0;
  padding-right: 15px;
  clear: both;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/*--------------------------------------------------------------------------
  Hlavní levé menu – jednotné textové odkazy namísto PNG
--------------------------------------------------------------------------*/

.eq_text_menu {
  position: absolute;
  left: 5px;
  top: 190px;
  width: 175px;
  z-index: 5;
}

.eq_text_menu .eq_menu_link {
  display: block;
  width: fit-content;
  max-width: 170px;
  padding: 2px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: normal;
  font-style: italic;
  line-height: 1.25;
  color: #f5f2ee;
  text-decoration: none;
  text-shadow: 1px 1px 2px #000;
  transition: color 0.15s ease;
}

.eq_text_menu .eq_menu_link:hover,
.eq_text_menu .eq_menu_link:focus-visible {
  color: #f1d29b;
  text-decoration: none;
}

.eq_text_menu .eq_menu_separator {
  height: 18px;
}

/* ==========================================================================
   EQUILIBRIE — DŘEVĚNÁ NÁSTĚNKA (design ze schváleného náhledu)
   Ponechává živé odkazy a původní pergamen, nemění šířky ani obsah.
   ========================================================================== */
body {
  background: #100b07 url("../grafika/page/eq_board_wood.jpg") center top repeat;
}
div.page_center_b {
  background: #241409 url("../grafika/page/eq_board_wood.jpg") left top repeat-y;
}
div.page_41 {
  position: absolute;
  left: 0; top: 0;
  width: 215px; height: 100%; min-height: 100vh;
  z-index: 2;
  background: transparent;
  box-shadow: inset -6px 0 9px rgba(0,0,0,.36);
}
div.page_41::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 215px; height: 184px;
  background: url("../grafika/page/eq_board_logo.jpg") left top no-repeat;
  pointer-events: none;
}
div.page_789 {
  position: absolute; left: 215px; top: 0;
  width: 785px; height: 198px;
  z-index: 1; overflow: hidden;
  background: url("/grafika/page/eq_board_map_2.webp?v=1793276311-436034") center center no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: inset 0 0 14px 6px rgba(38,14,5,.6);
}
/* Nástěnka má jedinou mapu: žádné další fotky ani druhé logo. */
div.page_789 > img { display: none; }
div.main_frame { left: 153px; top: 198px; width: 847px; z-index: 4; }
/* Všechny položky jsou nad dřevěným pozadím, nikoliv namalované do obrázku. */
.eq_text_menu { position: absolute; left: 5px; top: 190px; width: 175px; z-index: 6; }
.eq_text_menu .eq_menu_link {
  display: block; width: 174px; max-width: 174px;
  padding: 3px 8px 3px 10px; margin-bottom: 2px;
  border-left: 2px solid rgba(13,5,0,.8);
  border-bottom: 1px solid rgba(0,0,0,.4);
  border-top: 1px solid rgba(239,166,85,.15);
  border-radius: 2px; box-sizing: border-box;
  background: linear-gradient(90deg, rgba(91,48,21,.89), rgba(52,26,10,.85));
  color: #f1dec0; text-shadow: 1px 2px 1px #160d07;
}
.eq_text_menu .eq_menu_link:hover { color:#fff8d7; background:rgba(125,69,28,.94); }
.eq_text_menu .eq_menu_separator { height: 12px; }
a.logo { position:absolute; left:0; top:0; width:215px; height:184px; z-index:7; }
div.status_frame { z-index: 8; }
div.worlds_frame { z-index: 8; }
/* Zachovat původní pergamen, včetně dynamické délky jednotlivých článků. */

/* ===== OPRAVA NASTENKY 2026-10-19: ponechat pergamen, text i odkazy ===== */
body { background: #211209 url("/grafika/page/eq_board_wood_hd.webp?v=1793276311-165250") center top repeat-y; }
div.page_center_b { background: #211209 url("/grafika/page/eq_board_wood_hd.webp?v=1793276311-165250") left top repeat-y; }
div.page_41 {
  width: 153px;
  background: transparent;
  box-shadow: none;
}
div.page_41::before {
  width: 215px;
  height: 151px;
  background: url("../grafika/page/eq_board_logo_hd.png") left top no-repeat;
  pointer-events: none;
}
/* Logo je prokliknute pouze v jeho skutecne casti; nenahrazuje menu. */
a.logo { width: 215px; height: 151px; }
/* Menu zustava uvnitr 153px sloupce; na pergamen nezasahuje. */
.eq_text_menu {
  left: 5px;
  top: 185px;
  width: 143px;
  z-index: 6;
}
.eq_text_menu .eq_menu_link {
  width: 143px;
  max-width: 143px;
  padding: 2px 5px 2px 7px;
  margin-bottom: 1px;
  font: italic normal 14px/1.19 Georgia, "Times New Roman", serif;
  box-sizing: border-box;
  border: 0;
  border-left: 2px solid rgba(12,6,3,.85);
  border-bottom: 1px solid rgba(0,0,0,.4);
  border-radius: 1px;
  background: linear-gradient(90deg,rgba(87,48,24,.96),rgba(48,25,12,.94));
  color: #f2dec4;
  text-shadow: 1px 1px 2px #070403;
}
.eq_text_menu .eq_menu_separator { height: 9px; }
/* S reklamami nema menu zadny spolecny prekryvajici se blok. */
div.links_frame { top: 970px; left: 0; z-index: 7; }
/* Pergamen zustava na puvodnich souradnicich. */
div.main_frame { left: 153px; top: 198px; width: 847px; z-index: 4; }

/* ===== EQUILIBRIE: LOGO NAD LEVYM MENU, BEZ LAMPY ===== */
/* Jediný motiv nad menu; žádná změna pergamenu ani mapy. */
div.page_41::before {
  left: 0;
  top: 0;
  width: 153px;
  height: 175px;
  background: url("../grafika/page/eq_board_logo_bez_lampy.png") 0 0 / 153px 175px no-repeat;
}
a.logo {
  left: 0;
  top: 0;
  width: 153px;
  height: 175px;
}
.eq_text_menu { top: 174px; }

/* ============================================================
   EQUILIBRIE — ORIGINÁLNÍ ERB + SAMOSTATNÝ NÁPIS (19. 10. 2026)
   Originální erb je nezměněný PNG; mění se jen jeho zobrazení.
   ============================================================ */

/* Nepoužívá se předchozí zmenšený výřez loga. */
div.page_41::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 153px;
  height: 160px;
  background-image: url("../grafika/page/eq_originalni_erb.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: auto 160px;
  pointer-events: none;
}

/* Nápis odděleně, aby zůstal původní erb neporušený. */
div.page_41::after {
  content: "Equilibrie";
  position: absolute;
  left: 0;
  top: 1px;
  width: 153px;
  height: 24px;
  line-height: 24px;
  box-sizing: border-box;
  text-align: center;
  font: bold 19px/24px Georgia, "Times New Roman", serif;
  color: #e7c990;
  text-shadow: 1px 2px 2px #110703, 0 0 4px #2a160c;
  pointer-events: none;
}

/* Proklik na hlavní stránku pokryje celý znak i jeho nápis. */
a.logo {
  left: 0;
  top: 0;
  width: 153px;
  height: 181px;
}

/* Menu začíná těsně pod erbem. Zachovává odstup od reklam. */
.eq_text_menu {
  top: 184px;
}

/* Equilibrie: schvalene kompletni logo, bez druheho napisu */
div.page_41::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 153px;
  height: 181px;
  background: url("/grafika/page/eq_logo_final_2026.webp?v=1793276311-462748") center center / 153px 181px no-repeat;
  pointer-events: none;
}
div.page_41::after { content: none; display: none; }


/* Posunutí mapy v záhlaví doleva */
div.page_789 {
    left: 153px;
    width: 847px;
}

div.page_789 img {
    width: 847px;
    height: 198px;
    object-fit: cover;
    object-position: center center;
}

/* Partnerské světy – zarovnání vpravo nahoře */
div.worlds_frame {
    position: absolute;
    left: 153px;
    top: 8px;
    width: 815px;
    height: 30px;
    z-index: 10;
}

/* Equilibrie – posunutí panelu se stavem serveru doprava */
div.status_frame {
    transform: none;
}


/* Partnerské světy jsou nově v levém hlavním menu. */
div.worlds_frame {
    display: none !important;
}

/* Nadpis externích odkazů */
.eq_text_menu .eq_menu_link[href="#"] {
    pointer-events: none;
    cursor: default;
    background: transparent;
    border: 0;
    margin-top: 0;
    padding: 4px 2px 5px;
    color: #d5b88a;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
}

/* Externí weby */
.eq_text_menu .eq_menu_link[href="https://new.neverwinter.cz/"] {
    font-size: 13px;
    color: #cbb99f;
}
/* ===== Equilibrie: sjednocení mezery pod počítadlem návštěvnosti =====
   Reklamní blok má v page_sys.php inline top:1120px; zde jej přepisujeme,
   aby byla mezera mezi počítadlem a reklamou podobná ostatním odstupům menu. */
div.links_frame {
    top: 1080px !important;
}
