#wpadminbar .ab-top-menu>li>a {
    color: #ccc !important;
}

#wpadminbar .ab-top-menu>li:hover>a,
#wpadminbar .ab-top-menu>li>a:focus {
    color: #fff !important;
}

/* Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:'Lato', Arial, sans-serif;
    background-color: #f7f1f5;
    color: #222;
}

/* Top bar */
.top-bar {
    background-color: #222;
    color: #fff;
    padding: 5px 10px;
    text-align: right;
    font-size: 14px;
}

/* Header */
.header {
    background-color: #000;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 15px;
    position: relative;
    z-index: 1;
}
.header a.logo{
  height:40px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.header img {
    height: 40px;
    display:inline-block;
}

.header h1 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    line-height:40px;
    display:inline-block;
}

.search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search input[type="text"] {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.search button {
    padding: 5px 10px;
    border: none;
    background-color: #fff;
    cursor: pointer;
}

/* Nav wrapper */
.nav {
  background-color: #f44;
}

.nav .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav .nav-menu li {
  margin: 0;
}

.nav .nav-menu li a {
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  display: block;
}

.nav .nav-menu li.current-menu-item a,
.nav .nav-menu li a:hover {
  background-color: #222;
}


/* Layout */
.content {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
    gap: 5px;
}

.main {
    flex: 3;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}

.sidebar {
    flex: 1;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li.title {
    font-weight: bold;
    border-bottom: 2px solid #eee;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .content {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .header {
        flex-wrap: wrap;
    }

    .search {
        width: 100%;
        justify-content: flex-end;
    }

    .nav {
        flex-wrap: wrap;
    }

    .nav a {
        flex: 1 1 50%;
    }
}
/* Post Navigation Container */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;          /* light gray background */
  padding: 20px 30px;
  margin: 40px 0;
  border-radius: 6px;
  /* box-shadow: 0 1px 4px rgba(0,0,0,0.08); */
}

.post-navigation .nav-item {
  display: flex;
  flex-direction: column;
  max-width: 45%;
}

.post-navigation .nav-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}
.post-navigation a {
  font-size: 18px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  align-items: center;
  gap: 8px;
}

.post-navigation a:hover {
  color: #f44;
}

.post-navigation .nav-item.next {
  text-align: right;
}
.post-navigation .nav-item.next .nav-link a {
  justify-content: flex-end;
}

/* ===== Footer (fixed & cleaner) ===== */
.footer {
    background: #222;
    color: #ddd;
    width: 100%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}

.footer-brand img {
    width: 24px;
    height: 24px;
}

.footer-social p {
    margin: 0 0 8px;
}

.footer-social .icons a img {
    width: 20px;
    height: 20px;
    filter: invert(1);
    margin-right: 8px;
}

.footer-link-group h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
}

.footer-link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-group ul li {
    margin-bottom: 5px;
}

.footer-sep {
    border: 0;
    border-top: 1px solid #444;
    margin: 24px 0;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

.footer-bottom .footer-nav {
    margin: 0 0 6px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Single Post Container */

  /* Main content */
  .single-post {
    line-height: 1.7;
  }
  
  .single-post .post-title {
    font-size: 36px;
    font-weight: 500;
    margin-top:0;
    margin-bottom: 10px;
  }
  
  /* Post Content */
  .post-content p {
    margin-bottom: 18px;
    color: #333;
    font-size: 18px;
  }
  .post-content h2, .post-content h3 {
    font-weight: 500;
    font-size: 22px;
    margin: 30px 0 15px;
    padding-bottom: 5px;
  }
  .post-content hr {
    border: none;
    border-top: 1px solid #ddd; 
    margin: 30px 0;
  }


  

/* Responsive */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social .icons a img {
        margin-right: 4px;
    }
}