/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f4f6;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #1e73be;
  transition: 0.2s;
}

a:hover {
  color: #000;
}

/* =========================
   CONTAINER SYSTEM
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

[class*="col-"] {
  padding: 15px;
}

/* Desktop columns */
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* =========================
   HEADER
========================= */
.header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.top-bar {
  background: #111;
  padding: 8px 0;
  font-size: 13px;
  color: #fff;
}

.top-bar__title {
  font-weight: bold;
  margin-right: 15px;
}

.navbar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.main-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-menu > li > a {
  display: block;
  padding: 18px 10px;
  font-weight: 500;
  color: #333;
}

.main-menu > li > a:hover {
  color: #1e73be;
}

/* =========================
   MAIN CONTENT LAYOUT
========================= */
.main-content {
  padding: 40px 0;
}

/* =========================
   POST CARD
========================= */
.b-post {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.b-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.entry-media img {
  width: 100%;
  height: auto;
}

.entry-main {
  padding: 20px;
}

.entry-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.entry-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

.entry-content {
  font-size: 14px;
  color: #555;
}

/* =========================
   SIDEBAR
========================= */
.section-area {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ui-title-inner__inner {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  border-left: 4px solid #1e73be;
  padding-left: 10px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 40px 0;
}

.footer a {
  color: #ddd;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  background: #111;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #888;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 992px) {

  .col-md-8,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .main-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

}

/* Mobile */
@media (max-width: 768px) {

  .container {
    padding: 0 15px;
  }

  .main-menu {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .main-menu > li > a {
    padding: 12px;
  }

  .entry-title {
    font-size: 16px;
  }

  .entry-main {
    padding: 15px;
  }

}


/* =========================
   BASE
========================= */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f6f8;
  color: #2c2c2c;
  line-height: 1.6;
}

a {
  color: #1e73be;
  transition: 0.2s ease;
}

a:hover {
  color: #111;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   HEADER
========================= */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar {
  background: #111;
  padding: 6px 0;
}

.top-bar__title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
}

.top-bar__ticker a {
  color: #ddd !important;
  font-size: 13px;
}

.top-bar__ticker a:hover {
  color: #fff !important;
}

.navbar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.main-menu > li > a {
  font-weight: 500;
  padding: 15px 18px;
  color: #333;
}

.main-menu > li > a:hover {
  background: #f2f2f2;
}

/* =========================
   SECTION TITLES
========================= */
.ui-title-inner {
  margin-bottom: 20px;
  position: relative;
}

.ui-title-inner__inner {
  font-size: 18px;
  font-weight: 600;
  border-left: 4px solid #1e73be;
  padding-left: 10px;
}

/* =========================
   POST CARDS
========================= */
.b-post {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: 0.2s ease;
}

.b-post:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.entry-media img {
  border-radius: 6px 6px 0 0;
}

.entry-main {
  padding: 15px;
}

.entry-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.entry-title a {
  color: #222;
}

.entry-title a:hover {
  color: #1e73be;
}

.entry-meta {
  font-size: 12px;
  color: #888;
}

.entry-content p {
  font-size: 14px;
  color: #555;
}

/* =========================
   SIDEBAR
========================= */
.section-area {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.b-post_img-65 .entry-title {
  font-size: 14px;
}

.bg-grey-2 {
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #1c1c1c;
  color: #bbb;
  padding-top: 40px;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: #fff;
}

.footer-section__title {
  font-size: 16px;
  margin-bottom: 15px;
}

.copyright {
  background: #111;
  padding: 15px 0;
  font-size: 13px;
  text-align: center;
  color: #888;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 992px) {

  .col-md-8,
  .col-md-4 {
    width: 100%;
  }

  .navbar .main-menu {
    text-align: center;
  }

  .main-menu > li {
    float: none;
    display: inline-block;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .main-menu {
    display: block;
  }

  .main-menu > li {
    display: block;
    text-align: center;
  }

  .b-post_img-left {
    display: block;
  }

  .entry-media {
    margin-bottom: 10px;
  }

  .ui-title-inner__inner {
    font-size: 16px;
  }

  .entry-title {
    font-size: 15px;
  }

  .section-area {
    padding: 15px;
  }
}

/* =========================
   FIXED MENU WRAPPER
========================= */

.wrap-fixed-menu {
    display:none!important;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* внутрішній контейнер */
.wrap-fixed-menu .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* меню */
.wrap-fixed-menu .main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 60px;
}

/* пункти */
.wrap-fixed-menu .main-menu > li {
  list-style: none;
}

.wrap-fixed-menu .main-menu > li > a {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  padding: 8px 5px;
  position: relative;
}

/* hover underline анімація */
.wrap-fixed-menu .main-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e73be;
  transition: 0.3s ease;
}

.wrap-fixed-menu .main-menu > li > a:hover::after {
  width: 100%;
}

.wrap-fixed-menu .main-menu > li > a:hover {
  color: #1e73be;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .wrap-fixed-menu .main-menu {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .wrap-fixed-menu .main-menu > li > a {
    padding: 10px;
    display: block;
  }

}