/* ProBusiness v1.3 – polished blog and post sidebar */
.content-layout,
.single-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  column-gap: 42px;
}
.single-layout {
  padding-top: 54px;
}
.content-layout > .content-column,
.single-layout > .content-column {
  min-width: 0;
}
.pb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 108px;
}
.pb-sidebar .widget {
  position: relative;
  margin: 0;
  padding: 23px 22px 21px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f5;
  border-radius: 15px;
  box-shadow: 0 8px 26px rgba(25, 48, 91, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pb-sidebar .widget:hover {
  border-color: #bfd0fa;
  box-shadow: 0 13px 32px rgba(36, 87, 214, .09);
  transform: translateY(-2px);
}
.pb-sidebar .widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  padding: 0 0 13px;
  color: #17243b;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  border-bottom: 1px solid #edf1f8;
}
.pb-sidebar .widget-title::before {
  content: "";
  display: block;
  flex: 0 0 4px;
  width: 4px;
  height: 21px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2457d6, #ff8a35);
}
.pb-sidebar .widget ul,
.pb-sidebar .widget ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: 13px;
}
.pb-sidebar .widget li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f8;
  line-height: 1.55;
}
.pb-sidebar .widget li:first-child { padding-top: 0; }
.pb-sidebar .widget li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.pb-sidebar .widget li a {
  display: inline-block;
  color: #43516a;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, padding .18s ease;
}
.pb-sidebar .widget li a:hover {
  padding-left: 4px;
  color: #2457d6;
}
.pb-sidebar .widget .children,
.pb-sidebar .widget .sub-menu {
  margin: 8px 0 0 12px;
  padding-left: 12px;
  border-left: 2px solid #e7edfb;
}
.pb-sidebar .widget select,
.pb-sidebar .widget input[type="text"],
.pb-sidebar .widget input[type="search"],
.pb-sidebar .widget input[type="email"],
.pb-sidebar .widget textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #344054;
  background: #fbfcff;
  border: 1px solid #dfe6f1;
  border-radius: 9px;
  outline: none;
  font: inherit;
  font-size: 13px;
}
.pb-sidebar .widget input:focus,
.pb-sidebar .widget select:focus,
.pb-sidebar .widget textarea:focus {
  border-color: #7899ed;
  box-shadow: 0 0 0 3px rgba(36, 87, 214, .10);
}
.pb-sidebar .widget button,
.pb-sidebar .widget input[type="submit"] {
  min-height: 42px;
  padding: 9px 16px;
  color: #fff;
  background: #2457d6;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.pb-sidebar .widget button:hover,
.pb-sidebar .widget input[type="submit"]:hover { background: #1745ba; }
.pb-sidebar .widget .search-form,
.pb-sidebar .widget form.search-form {
  display: flex;
  gap: 8px;
  max-width: 100%;
}
.pb-sidebar .widget .search-form label { min-width: 0; flex: 1; }
.pb-sidebar .widget .search-form input[type="search"] { min-width: 0; }
.pb-sidebar .widget .search-form button { flex: 0 0 auto; margin: 0; }
.pb-sidebar .widget .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pb-sidebar .widget .tagcloud a {
  display: inline-flex;
  padding: 6px 10px;
  color: #3459ad;
  background: #f0f4ff;
  border: 1px solid #e1e9ff;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 650;
}
.pb-sidebar .widget .tagcloud a:hover {
  color: #fff;
  background: #2457d6;
  border-color: #2457d6;
}
.pb-sidebar .widget img {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
}
.pb-sidebar .widget p {
  margin: 0 0 12px;
  color: #66748a;
  font-size: 13px;
}
.pb-sidebar .widget p:last-child { margin-bottom: 0; }
.pb-sidebar .widget .post-date,
.pb-sidebar .widget .rss-date {
  display: block;
  margin-top: 3px;
  color: #98a2b3;
  font-size: 11px;
}
.pb-sidebar .pb-ad-slot,
.pb-sidebar .pb-ad-sidebar {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  background: #f8faff;
  border: 1px dashed #cbd8f2;
  border-radius: 13px;
  text-align: center;
}
.pb-sidebar .pb-ad-slot img,
.pb-sidebar .pb-ad-sidebar img { max-width: 100%; height: auto; }
@media (max-width: 980px) {
  .content-layout,
  .single-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 26px;
  }
}
@media (max-width: 760px) {
  .content-layout,
  .single-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
    padding-top: 38px;
  }
  .pb-sidebar {
    display: flex;
    position: static;
    width: 100%;
    gap: 15px;
  }
  .pb-sidebar .widget { padding: 20px; }
}
