/* p24-modern.css v2 – novy kabat 24poradna.eu (2. 11. 2026, chat Zasoba poraden): fotka na pozadi, fotohlavicka, bily sloupec, zelena + jantarova.
   Vratit = p24-modern.css.v1 (puvodni barvy). */
:root { --p24-g: #1f7a55; --p24-gd: #165c40; --p24-a: #e8a33d; --p24-t: #22313f; --p24-m: #6b7785; --p24-l: #eef3f0; }
html, body { background: #e9e4dc url(images/p24-bg.jpg) center top / cover fixed no-repeat !important; }
body { color: var(--p24-t); }
#wrap { max-width: 1180px; margin: 22px auto; background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(40,30,20,.18); padding: 0 0 18px; border: 0; overflow: hidden; }
/* fotohlavicka */
.headerbar { background: linear-gradient(90deg, rgba(16,50,36,.92) 0%, rgba(16,50,36,.72) 45%, rgba(16,50,36,.15) 100%), url(images/p24-hlavicka.jpg) center 35% / cover no-repeat !important;
  border-radius: 0 !important; margin: 0 !important; padding: 26px 26px 30px !important; min-height: 150px; }
.headerbar .site-description h1 { color: #fff; font-size: 34px; font-weight: 700; margin: 4px 0 6px; letter-spacing: -.5px; }
.headerbar .site-description p { color: #f3efe6; font-size: 15px; max-width: 520px; margin-left: 0; }
.headerbar .site-description { max-width: 72%; }
.headerbar .site-description h1, .headerbar .site-description p { overflow: hidden; }
.headerbar .logo { margin-right: 18px; }
.headerbar .site_logo { background-color: rgba(255,255,255,.92); border-radius: 12px; padding: 6px; }
.headerbar .search-header { border-radius: 24px; box-shadow: 0 4px 14px rgba(0,0,0,.2); margin-top: 18px; }
.headerbar .search-header .inputbox { border-radius: 24px 0 0 24px; height: 38px; padding: 0 14px; font-size: 15px; border: 0; }
.headerbar .search-header .button { height: 38px; border: 0; }
.headerbar .search-header .button-search-end { border-radius: 0 24px 24px 0; }
/* menu */
.navbar { background: #fff !important; border-radius: 0 !important; border-bottom: 1px solid #e6ebe8; padding: 6px 20px !important; margin: 0 !important; }
.navbar a, .navbar .icon { color: var(--p24-t) !important; font-size: 14px; }
.navbar a:hover { color: var(--p24-g) !important; }
.navbar ul.linklist > li { padding-top: 4px; padding-bottom: 4px; }
.navbar ul.linklist { padding: 2px 0; }
#page-body { padding: 8px 24px 0; }
#page-footer { padding: 0 24px; }
/* nadpis a tlacitko */
h2.forum-title, h2.topic-title, .page-body h2 { color: var(--p24-t); font-size: 26px; font-weight: 700; }
h2.forum-title a, h2.topic-title a { color: var(--p24-t); }
.action-bar .button[href*="mode=post"], .action-bar .button[href*="mode=post"]:hover, .action-bar .button[href*="mode=post"]:focus {
  background: var(--p24-g) !important; background-image: none !important; border: 1px solid var(--p24-g) !important; color: #fff !important;
  font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 24px; box-shadow: none !important; text-shadow: none !important;
  filter: none !important; transform: none !important; transition: background-color .15s; }
.action-bar .button[href*="mode=post"]:hover, .action-bar .button[href*="mode=post"]:focus { background: var(--p24-gd) !important; border-color: var(--p24-gd) !important; }
.action-bar .button[href*="mode=post"] span, .action-bar .button[href*="mode=post"] i { color: #fff !important; }
/* seznam otazek */
.forabg, .forumbg { background: #fff !important; border: 1px solid #e3e9e5 !important; border-radius: 12px !important; box-shadow: none !important; padding: 0 !important; overflow: hidden; }
.forabg .header, .forumbg .header, ul.topiclist li.header dt, ul.topiclist li.header dd { background: var(--p24-l) !important; color: var(--p24-m) !important; border: 0 !important; }
ul.topiclist li.header { background: var(--p24-l) !important; border-radius: 0 !important; }
ul.topiclist li.header dt, ul.topiclist li.header dd { font-size: 11px; letter-spacing: .4px; }
ul.topiclist li.row, ul.topiclist li.row.bg1, ul.topiclist li.row.bg2 { background: #fff !important; border-top: 1px solid #edf1ee !important; border-bottom: 0 !important; }
ul.topiclist li.row:hover { background: #f7faf8 !important; }
ul.topiclist dl.row-item { background-image: none !important; padding-left: 0; }
ul.topiclist dl.row-item dt { padding-left: 0 !important; }
ul.topiclist dt .list-inner { margin-left: 16px !important; padding-left: 0 !important; }
a.topictitle { font-size: 16.5px; font-weight: 600; color: var(--p24-t) !important; }
a.topictitle:hover { color: var(--p24-g) !important; }
ul.topiclist dd.posts, ul.topiclist dd.views { color: var(--p24-m); font-size: 14px; }
ul.topiclist dd.lastpost { font-size: 13px; color: var(--p24-m); }
.forumbg.announcement { border-color: #f1e2c6 !important; }
.forumbg.announcement ul.topiclist li.header, .forumbg.announcement ul.topiclist li.header dt, .forumbg.announcement ul.topiclist li.header dd { background: #fbf4e6 !important; }
.forumbg.announcement a.topictitle { font-size: 14px; font-weight: 500; }
/* prispevky */
.post.bg1, .post.bg2, .post.bg3 { background: #fff !important; border: 1px solid #e6ece8 !important; border-radius: 12px !important; box-shadow: none !important; }
.post:first-of-type.bg2, .post:first-of-type.bg1 { background: #f7fbf8 !important; border-color: #cfe3d7 !important; }
.postbody .content { font-size: 16.5px; line-height: 1.65; color: var(--p24-t); }
.postprofile .username, .postprofile .username-coloured { font-weight: 600; }
.pagination li a, .pagination li span { border-radius: 8px; }
.pagination li.active span { background: var(--p24-g) !important; border-color: var(--p24-g) !important; }
a { color: var(--p24-g); }
/* prodany odkaz a pruh z blogu nenapadne */
.page-body > a[href*="naprivat"] { font-size: 12px; color: var(--p24-m); }
@media (max-width: 700px) {
  html, body { background-attachment: scroll !important; }
  #wrap { margin: 0; border-radius: 0; }
  .headerbar { padding: 16px 16px 18px !important; min-height: 0; background-position: 70% center !important; }
  .headerbar .site-description h1 { font-size: 24px; }
  .headerbar .site-description p { font-size: 14px; }
  #page-body { padding: 6px 10px 0; }
  .navbar { padding: 4px 10px !important; }
  .action-bar .button[href*="mode=post"] { padding: 12px 16px; font-size: 16px; }
  a.topictitle { font-size: 17px; }
  .postbody .content { font-size: 16px; }
  ul.topiclist li.row .list-inner, ul.topiclist li.row .responsive-show { font-size: 13px; }
  .headerbar .site-description { max-width: 100%; }
}

/* === v3 (6. 11. 2026, Honza): nizka hlavicka bez stareho loga, ne jako forum === */
#wrap { margin-top: 14px; }
.headerbar { min-height: 0; padding: 12px 24px !important; background-position: center 42% !important; }
.headerbar .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.headerbar .site-description { float: none; max-width: none; display: flex; align-items: baseline; gap: 14px; margin: 0; min-width: 0; }
.p24-znacka { margin: 0 !important; font-size: 30px !important; font-weight: 700; letter-spacing: -.6px; line-height: 1.15; }
.p24-znacka a { color: #fff !important; text-decoration: none; }
.p24-znacka b { color: #f4b44f; font-weight: 800; }
.headerbar .site-description p.p24-slogan { margin: 0; color: #f3efe6; font-size: 15px; max-width: none; white-space: nowrap; }
.headerbar .search-header { float: none; margin: 0; flex: 0 0 auto; }
.navbar ul.nav-breadcrumbs { border-top: 0; }
.section-viewforum #nav-breadcrumbs, .section-index #nav-breadcrumbs { display: none; }
/* seznam otazek bez forovych prvku */
.action-bar .search-box, .action-bar .mark-read, .action-bar a.mark, .jumpbox-return, .action-bar.actions-jump, .jumpbox, .stat-block, .copyright, .page-footer .copyright, #page-footer .navbar { display: none !important; }
ul.topiclist dt .list-inner { margin-left: 12px !important; }
/* detail otazky jako otazka a odpovedi */
.post { padding: 14px 18px !important; margin-bottom: 10px; }
.postprofile { float: none !important; width: auto !important; min-height: 0 !important; border: 0 !important; margin: 0 0 6px !important; padding: 0 !important; display: flex; align-items: center; gap: 8px; }
.postprofile .avatar-container { margin: 0; }
.postprofile img.avatar { max-width: 32px; max-height: 32px; border-radius: 50%; }
.postprofile dd.profile-rank, .postprofile dd.profile-posts, .postprofile dd.profile-joined, .postprofile dd.profile-custom-field { display: none; }
.postbody { float: none !important; width: 100% !important; }
.postbody h3 { display: none; }
.post.bg1:first-of-type .postbody h3, #page-body .post-container .post:first-child .postbody h3 { display: none; }
.postbody .author { margin: 0 0 6px; font-size: 13px; color: var(--p24-m); }
.postbody .author .icon, .postbody .notice { display: none; }
.post-buttons { opacity: .55; }
.back2top { display: none; }
.action-bar > .dropdown-container, .action-bar > .quickmod { display: none; }
.action-bar .button[href*="mode=reply"] { background: var(--p24-g) !important; border-color: var(--p24-g) !important; color: #fff !important; border-radius: 24px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.action-bar .button[href*="mode=reply"] span, .action-bar .button[href*="mode=reply"] i { color: #fff !important; }
/* paticka */
#page-footer { margin-top: 18px; font-size: 13px; color: var(--p24-m); text-align: center; }
#page-footer a[href*="naprivat"] { font-size: 12px; color: var(--p24-m); }
#page-footer a[href*="naprivat"] + p { display: none; }
@media (max-width: 700px) {
  .headerbar { padding: 10px 14px !important; }
  .p24-znacka { font-size: 24px !important; }
  .headerbar .site-description p.p24-slogan { font-size: 14px; white-space: normal; }
}
/* doladeni v3 */
@media (min-width: 701px) { .postprofile, #nav-breadcrumbs { display: none !important; } }
.postbody .author { font-size: 13px; }
.postbody .author strong a, .postbody .author .username, .postbody .author .username-coloured { font-size: 15px; font-weight: 600; }
.headerbar .search-header .button-search-end { display: none; }
.headerbar .search-header .button-search { border-radius: 0 24px 24px 0; }
.post-buttons a[href*="report"] { display: none; }
.share-button { display: none !important; }
.action-bar.bar-top + .post, .action-bar.bar-top ~ .post:first-of-type { background: #f4faf6 !important; border-color: #cfe3d7 !important; }
@media (max-width: 700px) { .post-buttons { margin-top: 0; } .postprofile { font-size: 15px; } }
.row-item .list-inner > a.row-item-link, .row-item .list-inner .icon.fa-file, .row-item .list-inner .icon.icon-red, .row-item .list-inner .topic-icon, .post .author .icon { display: none !important; }
/* v3b (7. 11., Honza): seznam zpet minimalisticky a husty jako encykloprdie */
.forumbg.announcement { display: none !important; }
ul.topiclist li.row dl { padding: 0 !important; }
ul.topiclist dl.row-item dt { padding: 5px 0 5px 0 !important; }
a.topictitle { font-size: 15px !important; }
ul.topiclist dt .topic-poster { font-size: 12px; }
ul.topiclist dd.posts, ul.topiclist dd.views { font-size: 13px; padding-top: 7px; }
ul.topiclist dd.lastpost { font-size: 12px; padding-top: 4px; line-height: 1.3; }
ul.topiclist dd.lastpost img.avatar { display: none; }
@media (max-width: 700px) { a.topictitle { font-size: 16px !important; } ul.topiclist dl.row-item dt { padding: 7px 0 !important; } }

/* v4 (7. 11., Honza): jeste minimalistictejsi, hustota jako encykloprdie */
#wrap { margin: 14px auto; border-radius: 10px; }
.headerbar { padding: 8px 20px !important; }
.p24-znacka { font-size: 26px !important; }
.navbar { padding: 4px 20px !important; }
.navbar .linklist > li > a { font-size: 14px; }
#page-body { padding: 0 20px; }
h2.forum-title, .page-body h2 { font-size: 20px !important; margin: 10px 0 6px !important; }
.action-bar { margin: 6px 0 !important; }
.action-bar .button[href*="mode=post"] { font-size: 14px !important; padding: 6px 14px !important; }
.forumbg, .forabg { border-radius: 8px !important; }
ul.topiclist li.header dl { padding: 4px 0 !important; }
ul.topiclist li.header dt, ul.topiclist li.header dd { font-size: 11px !important; }
ul.topiclist li.row dl { margin: 0 !important; }
ul.topiclist dl.row-item dt { padding: 3px 0 !important; }
ul.topiclist dt .list-inner { margin-left: 10px !important; line-height: 1.25; }
a.topictitle { font-size: 15px !important; font-weight: 600 !important; }
ul.topiclist dt .topic-poster { font-size: 11px !important; }
ul.topiclist dd.posts, ul.topiclist dd.views { font-size: 13px; padding-top: 5px !important; }
ul.topiclist dd.lastpost { font-size: 11px !important; padding-top: 2px !important; line-height: 1.25; }
/* tlacitko Odpovedet: bez rozmazani a stinu pri najeti */
.button span, .button:hover span, .button:focus span, .button i, .button:hover i { text-shadow: none !important; }
.button, .button:hover, .button:focus, .button:active { text-shadow: none !important; box-shadow: none !important; filter: none !important; transform: none !important; backdrop-filter: none !important; }
.action-bar .button[href*="mode=reply"]:hover, .action-bar .button[href*="mode=reply"]:focus { background: var(--p24-gd) !important; border-color: var(--p24-gd) !important; color: #fff !important; opacity: 1 !important; }
.post-buttons { opacity: 1; }
.post-buttons .button { background: transparent !important; border-color: transparent !important; }
.post-buttons .button:hover { background: #eef4f0 !important; }
@media (max-width: 700px) {
  #page-body { padding: 0 10px; }
  a.topictitle { font-size: 16px !important; }
  ul.topiclist dl.row-item dt { padding: 6px 0 !important; }
  .action-bar .button[href*="mode=post"] { font-size: 16px !important; padding: 11px 16px !important; }
  .navbar .linklist > li > a { font-size: 16px; line-height: 44px; }
}
.p24-reklama { margin: 10px 0 14px; min-height: 90px; text-align: center; overflow: hidden; }
/* 8. 11.: nadpis tematu/fora je H1 (SEO), vzhled jako dosavadni H2 */
h1.forum-title, h1.topic-title { color: var(--p24-t); font-size: 26px; font-weight: 700; font-family: inherit; line-height: 1.3; margin: 0 0 6px; padding: 0; border: 0; text-transform: none; }
h1.forum-title a, h1.topic-title a { color: var(--p24-t); }
h1.forum-title { font-size: 20px !important; margin: 10px 0 6px !important; }
@media (max-width: 700px) { h1.topic-title { font-size: 21px; } }
