/* LazybuBirza.com — 2026 rebuild. Same look as the Bootstrap 3 version, no framework. */

:root {
  --blue: #0054a6;
  --blue-light: #0270dc;
  --green: #87b629;
  --green-dark: #608811;
  --text: #3b3b3b;
  --line: #ebebeb;
  --bg: #f5f8fb;
  --card: #fff;
  --shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
  --radius: .7em;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  color: #333;
  background: var(--bg);
  border-top: 5px solid var(--blue);
  overflow-wrap: break-word;
}

img { border: 0; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { color: var(--blue); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

p { color: var(--text); font-size: 14px; line-height: 1.8em; margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 700; line-height: 1.2; color: inherit; margin: 20px 0 10px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
strong, b { font-weight: 700; }

.icon { width: 1em; height: 1em; vertical-align: -.125em; flex: none; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ------------------------------------------------------------ layout */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }

.layout, .layout-wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }

@media (min-width: 992px) {
  .layout { grid-template-columns: minmax(0, 278fr) minmax(0, 847fr); column-gap: 15px; }
  .layout .content { grid-column: 2; grid-row: 1; }
  .layout .sidebar { grid-column: 1; grid-row: 1; }
}

/* ------------------------------------------------------------ header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 65px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 20px;
}
.logo { display: inline-block; padding: 9px 0 9px 15px; line-height: 0; }
.logo img { height: 45px; width: auto; }
.logo .logo-hover { display: none; }
.logo:hover .logo-main, .logo:focus .logo-main { display: none; }
.logo:hover .logo-hover, .logo:focus .logo-hover { display: inline-block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li > a,
.site-nav summary {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  padding: 21px 19px;
  text-decoration: none;
  cursor: pointer;
}
.site-nav > ul > li > a:hover, .site-nav > ul > li > a:focus, .site-nav > ul > li > a.active { color: var(--blue); text-decoration: none; }

.admin-menu details { position: relative; }
.admin-menu summary { list-style: none; }
.admin-menu summary::-webkit-details-marker { display: none; }
.admin-menu details ul { position: absolute; right: 0; z-index: 20; min-width: 170px; background: var(--blue); box-shadow: var(--shadow); }
.admin-menu details a, .admin-menu details button {
  display: block; width: 100%; text-align: left; color: #fff; font: inherit; font-size: 13px; padding: .5em .8em;
  background: none; border: 0; cursor: pointer;
}
.admin-menu details a:hover, .admin-menu details button:hover { background: var(--blue-light); text-decoration: none; color: #fff; }
.admin-menu form { margin: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 34px;
  padding: 7px 10px;
  border: 0; border-radius: 0;
  background: var(--green);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 1px; }
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle:hover, .nav-toggle:focus { background: var(--green-dark); }

@media (min-width: 768px) {
  .logo { width: 25%; }
  .site-nav { width: 75%; }
  .site-nav > ul { display: flex; flex-wrap: wrap; }
  .site-nav > ul > li:first-child > a { padding-left: 0; }
  .admin-menu { margin-left: auto; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .site-nav > ul > li > a, .site-nav summary { padding: 21px 11px; font-size: 15px; }
}

@media (max-width: 767px) {
  .site-header { min-height: 0; }
  .logo { padding: 8px 0; }
  .logo img { height: 40px; }
  .nav-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .site-nav { width: 100%; padding: 4px 0 10px; }
  .site-nav > ul > li > a, .site-nav summary { font-size: 15px; padding: .55em 0; border-top: 1px solid var(--line); }
  .admin-menu details ul { position: static; }
}

/* ------------------------------------------------------------ content card */
.content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4em 1.5em;
  margin-bottom: 3em;
  box-shadow: var(--shadow);
  min-width: 0;
  outline: 0;
}
.content h1, .content h2 { font-size: 24px; font-weight: 400; color: var(--blue); }
.content h1 { margin-top: 0; }
.content > h2:first-child { margin-top: 0; }
.content h2.h3 { font-size: 22px; font-weight: 700; color: var(--text); }

@media (max-width: 479px) {
  .container { padding: 0 10px; }
  .content { padding: 1.1em 1em; border-radius: .5em; }
}

.breadcrumbs { font-size: 12px; color: #777; margin: -.3em 0 .9em; line-height: 1.6; }
.breadcrumbs a { color: #777; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span[aria-hidden] { margin: 0 .25em; }

.notice { background: #fff6d6; border: 1px solid #f0d77a; padding: .6em 1em; border-radius: 4px; }

/* home tiles */
.content-menu { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 1.4em 0; margin-bottom: 1.4em; }
.content-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; }
.content-menu a.content-menu-item {
  display: block; text-align: center; min-height: 170px; padding: .5em; border-radius: var(--radius); text-decoration: none;
}
.content-menu a.content-menu-item img { display: block; margin: 0 auto; width: 104px; height: auto; }
.content-menu a.content-menu-item span { display: block; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.45em; margin: 20px 0 10px; }
.content-menu a.content-menu-item:hover, .content-menu a.content-menu-item:focus { background: var(--bg); box-shadow: var(--shadow); }
.content-menu a.content-menu-item:hover span, .content-menu a.content-menu-item:focus span { color: var(--blue); }

@media (max-width: 767px) {
  .content-menu ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .content-menu a.content-menu-item { min-height: 0; }
  .content-menu a.content-menu-item img { width: 80px; }
  .content-menu a.content-menu-item span { margin: 10px 0 6px; font-size: 13.5px; }
}
@media (max-width: 379px) {
  .content-menu ul { grid-template-columns: minmax(0, 1fr); }
  .content-menu a.content-menu-item { display: flex; align-items: center; gap: 12px; text-align: left; }
  .content-menu a.content-menu-item img { width: 64px; margin: 0; }
  .content-menu a.content-menu-item span { margin: 0; }
}

/* news list */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); padding: 1em 1em 1em 30px; margin-bottom: 1em; }
.news-list article { max-width: 75%; }
.news-list h3, .news-list .h3 { font-size: 22px; font-weight: 700; margin: 0 0 .2em; color: var(--text); }
.news-list h3 a, .news-list .h3 a { color: var(--text); }
.news-list h3 a:hover, .news-list .h3 a:hover { color: var(--blue); text-decoration: none; }
.news-list p { font-size: 13px; margin-bottom: .5em; }
.more-link { text-align: right; margin: 0; }

@media (max-width: 767px) {
  .news-list li { padding: 1em; text-align: center; }
  .news-list article { max-width: none; }
  .news-list h3, .news-list .h3 { font-size: 19px; }
  .news-list .btn { display: block; width: 100%; }
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 4px;
  padding: 3px 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn:hover, .btn:focus { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: #e3e8ee; color: var(--text); }
.btn-secondary:hover { background: #d3dae2; color: var(--text); }
.btn-danger { background: #c9302c; }
.btn-danger:hover { background: #a02622; }

/* pagination */
.pagination-wrap { text-align: center; }
.pagination { display: inline-flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 10px 0 0; }
.pagination li a, .pagination li span {
  display: block; min-width: 36px; padding: 6px 12px; margin-left: -1px; line-height: 1.43;
  color: var(--blue); background: #fff; border: 1px solid #ddd;
}
.pagination li:first-child a, .pagination li:first-child span { border-radius: 4px 0 0 4px; margin-left: 0; }
.pagination li:last-child a, .pagination li:last-child span { border-radius: 0 4px 4px 0; }
.pagination li a:hover { background: #eee; text-decoration: none; }
.pagination li.active span { color: #fff; background: var(--green); border-color: var(--green); }

/* ------------------------------------------------------------ post content (legacy HTML from the editor) */
.entry > hr:first-of-type { margin-top: 10px; }
.entry .pic { margin-bottom: 1rem; }
.entry-content { overflow-wrap: break-word; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content [style*="font-family"], .entry-content font { font-family: inherit !important; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; margin: 0 0 1em; color: var(--text); line-height: 1.7; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .25em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .img-responsive, .img-responsive { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.entry-content .pull-left, .entry-content .alignleft { float: left; margin: 0 12px 10px 0 !important; }
.entry-content .pull-right, .entry-content .alignright { float: right; margin: 0 0 10px 12px !important; }
.entry-content .clearfix::after { content: ""; display: table; clear: both; }
.entry-content h2 { margin-top: 1.2em; clear: both; }
.entry-content h3 { font-size: 20px; margin-top: 1.2em; }
.entry-content blockquote { margin: 0 0 1em; padding: .5em 1em; border-left: 4px solid var(--line); }
.entry-content a.pop { display: inline-block; vertical-align: top; margin: 0 8px 10px 0; cursor: zoom-in; max-width: calc(50% - 8px); }
.entry-content a.pop img { float: none !important; margin: 0 !important; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; }
@media (min-width: 480px) { .entry-content a.pop { max-width: calc(33.33% - 8px); } }
.entry-content p:empty { display: none; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1em; }
.table-wrap table { border-collapse: collapse; max-width: none; }
.entry-content table { font-size: 13px; color: var(--text); }
.entry-content td, .entry-content th { padding: 4px 6px; vertical-align: top; }
.entry-content th { text-align: left; }

.video { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin: 0 auto 1em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 479px) {
  .entry-content .pull-left, .entry-content .alignleft,
  .entry-content .pull-right, .entry-content .alignright { max-width: 45%; }
  .entry-content img[width] { height: auto; }
}

.child-list { margin-top: 2em; border-top: 2px solid var(--line); padding-top: 1em; }
.child-list h2 { font-size: 20px; margin-top: 0; }
.child-list ul, .link-list { list-style: none; padding: 0; margin: 0; columns: 2 260px; column-gap: 2em; }
.child-list li, .link-list li { padding: .35em 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* ------------------------------------------------------------ sidebar */
.sidebar { min-width: 0; }
.sidebar-block { background: var(--card); border-radius: var(--radius); margin-bottom: 1em; box-shadow: var(--shadow); overflow: hidden; }
.title-header {
  display: flex; align-items: center; gap: 6px;
  padding: 1em 1em .8em; margin: 0;
  font-size: 18px; font-weight: 700; color: var(--blue); text-transform: uppercase;
}
.title-header .icon { color: var(--green); }

.side-menu { padding-bottom: .5em; color: var(--text); }
.side-menu ul { list-style: none; margin: 0; padding: 0; }
.side-menu > ul { border-top: 1px solid var(--line); }
.side-menu > ul > li { border-bottom: 1px solid var(--line); }
.side-menu > ul > li:last-child { border-bottom: 0; }
.side-menu a, .side-menu summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 4px 15px; color: var(--text); font-size: 14px; line-height: 1.43; text-decoration: none; cursor: pointer;
}
.side-menu summary { list-style: none; }
.side-menu summary::-webkit-details-marker { display: none; }
.side-menu summary .icon { color: #b5b5b5; font-size: 18px; transition: transform .15s; }
.side-menu details[open] > summary .icon { transform: rotate(180deg); }
.side-menu a:hover, .side-menu a:focus, .side-menu summary:hover { text-decoration: underline; background: var(--bg); color: var(--text); }
.side-menu a[aria-current] { color: var(--blue); font-weight: 700; }
.side-menu .sub-menu { background: #f8f8f8; border-top: 1px solid var(--line); padding: 2px 0; }
.side-menu .sub-menu a { font-size: 13px; padding: 2px 15px 2px 25px; }

.bet-list { list-style: none; margin: 0; padding: 0; }
.bet-list li { border-top: 1px solid var(--line); padding: 3px 15px 8px; }

/* ------------------------------------------------------------ footer */
.site-footer { margin-bottom: 1.5em; }
.site-footer .rg { font-size: 12px; color: #666; text-align: center; margin: 0 0 .6em; line-height: 1.5; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5em 1em; }
.site-footer .copyright { font-size: 13px; margin: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.footer-menu li { padding: 0 .8em; border-left: 1px solid var(--line); }
.footer-menu li:first-child { border-left: 0; padding-left: 0; }

@media (max-width: 767px) {
  .footer-row { flex-direction: column-reverse; }
  .footer-menu { justify-content: center; }
  .site-footer .copyright { text-align: center; }
}

/* ------------------------------------------------------------ lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .75); }
.lightbox img { display: block; max-width: 95vw; max-height: 90vh; width: auto; height: auto; border-radius: 4px; background: #fff; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: #fff; color: #333; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* ------------------------------------------------------------ admin */
.form-group { margin-bottom: 15px; }
.form-group label, .form-label { display: block; font-weight: 700; margin-bottom: 5px; }
.form-control {
  display: block; width: 100%; padding: 6px 12px; font: inherit; font-size: 14px; line-height: 1.43; color: #555;
  background: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.form-control:focus { border-color: #66afe9; outline: 0; box-shadow: 0 0 0 3px rgba(102, 175, 233, .35); }
textarea.form-control { min-height: 90px; }
.form-narrow { max-width: 320px; }
.form-check { margin-bottom: 10px; }
.form-check label { font-weight: 400; display: inline; margin-left: 4px; }
.form-row { display: grid; gap: 0 15px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.alert { padding: 10px 15px; margin-bottom: 15px; border-radius: 4px; border: 1px solid transparent; }
.alert-success { background: #dff0d8; border-color: #d6e9c6; color: #3c763d; }
.alert-danger { background: #f2dede; border-color: #ebccd1; color: #a94442; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 6px 8px; border-top: 1px solid #ddd; text-align: left; vertical-align: top; }
.admin-table th { border-bottom: 2px solid #ddd; }
.admin-table .muted { color: #999; }
.badge { display: inline-block; padding: 1px 6px; border-radius: 8px; font-size: 11px; background: #eee; color: #666; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 15px; margin: 1em 0; }
.image-card { border: 1px solid var(--line); border-radius: 5px; padding: 8px; font-size: 12px; }
.image-card .thumb { display: flex; align-items: center; justify-content: center; height: 130px; background: #f8f8f8; margin-bottom: 6px; }
.image-card .thumb img { max-height: 130px; max-width: 100%; width: auto; }
.image-card .actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.image-card .actions button, .image-card .actions form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; }
.link-button.danger { color: #c9302c; }
.search-form { display: flex; gap: 8px; margin-bottom: 1em; }
.search-form .form-control { flex: 1; }
.st-ok { color: #3c763d; font-weight: 700; }
.st-warn { color: #b8860b; font-weight: 700; }
.st-fail { color: #c9302c; font-weight: 700; }
