:root {
  --phnewsdaily-primary: #2BBAE6;
  --phnewsdaily-primary-text: #f9ffe7;
  --phnewsdaily-background-main: #ffffff;
  --phnewsdaily-background-darker: #eaeaea;
  --phnewsdaily-secondary: #545454;
  --phnewsdaily-secondary-dark: #33202a;
  --phnewsdaily-secondary-text: #FFF;
  --phnewsdaily-text-dark: #111;
  --phnewsdaily-text: #555;
  --phnewsdaily-text-light: #777;
  --phnewsdaily-header-background: #fff;
  --phnewsdaily-header-lighter: #fff;
  --phnewsdaily-header-text: #39c4ff;
  --phnewsdaily-menu-text: #ffffff;
  --phnewsdaily-title-text: #000;
  --phnewsdaily-top-bar-text: #777777;
  --phnewsdaily-top-bar-background: #000;
  --phnewsdaily-mobile-header-background: #FFFFFF;
  --phnewsdaily-mobile-header-text: #222222;
}
#secondary {
  padding: 15px;
  position: sticky;
  top: 0;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 767px) {
  #secondary {
    border: none;
  }
}
button {
  background-color: var(--phnewsdaily-primary);
  color: var(--phnewsdaily-primary-text);
  border: none;
  border-radius: 4px;
}
.widget {
  padding: 15px;
  border: solid 1px var(--phnewsdaily-background-darker);
}
.widget h2,
.widget h3,
.widget h4,
.widget h1,
.widget .widget-title {
  position: relative;
  font-weight: 400;
  font-size: 24px;
  padding-bottom: 10px;
}
.widget h2::before,
.widget h3::before,
.widget h4::before,
.widget h1::before,
.widget .widget-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: var(--phnewsdaily-text-dark);
}
.widget h2::after,
.widget h3::after,
.widget h4::after,
.widget h1::after,
.widget .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: var(--phnewsdaily-text-dark);
}
.widget ul,
.widget ol {
  margin-left: 3px;
  padding-left: 0px;
  list-style: none;
}
.widget li {
  padding: 8px 0;
}
.widget li a {
  color: var(--phnewsdaily-text-light);
  text-decoration: none;
}
.widget li a:hover {
  color: var(--phnewsdaily-secondary-dark);
}
.widget p a {
  text-decoration: underline;
  color: var(--phnewsdaily-primary);
}
.widget .widget_block h1:only-child,
.widget .widget_block h2:only-child,
.widget .widget_block h3:only-child,
.widget .widget_block h4:only-child,
.widget .widget_block h5:only-child,
.widget .widget_block h6:only-child {
  margin-bottom: -40px;
}
.sticky-sidebar {
  position: sticky !important;
  position: -webkit-sticky;
  top: 20px;
}
/* Custom LESS for the Featured Post section in the sidebar */
.featured-post-widget {
  /* Add some padding around the entire widget */
  padding: 10px;
}
.featured-post-widget .fp-sidebar-title {
  font-size: 20px;
  margin-bottom: 15px;
  /* Add some space below the title */
}
.featured-post-widget .featured-sidebar-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.featured-post-widget .featured-sidebar-row .sidebar-thumbnail-wrapper {
  /* Add margin between each post (adjust as needed) */
  margin-bottom: 10px;
}
.featured-post-widget .featured-sidebar-row .sidebar-thumbnail-wrapper img {
  /* Make sure the thumbnail images fit nicely within their containers */
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
}
.featured-post-widget .featured-sidebar-row .sidebar-post-info-wrapper {
  /* Add margin between the post info and the thumbnail (adjust as needed) */
  margin-bottom: 20px;
  padding: 0px;
}
.featured-post-widget .featured-sidebar-row .sidebar-post-info-wrapper .sidebar-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  /* Add some space below the title */
  color: var(--phnewsdaily-text);
  text-transform: capitalize;
}
.featured-post-widget .featured-sidebar-row .sidebar-post-info-wrapper .entry-meta {
  /* Style the entry meta information (date, author, etc.) */
  font-size: 14px;
  color: #888;
}
.featured-post-widget .featured-sidebar-row .sidebar-post-info-wrapper .entry-meta a {
  color: var(--phnewsdaily-secondary);
}
