.post-thumbnail {
  max-width: 100%;
}
.cp-news-latest-article img,
.post-thumbnail img {
    width: 100%;
    height: auto;
}

.cp-news-single-content .alignright {
  float: right;
  margin-left: 5px;
}

.cp-news-single-content {
  padding-top: 5px;
}

.cp-news-single-content:after {
  content: "";
  clear: both;
  display: table;
}

.cp-news-single-content img.left,
.cp-news-single-content img.right {
  float: none;
}

.cp-news-single-content .alignleft {
  float: left;
  margin-right: 5px;
}

.cp-news-single-content .wp-caption,
.cp-news-single-content img {
  max-width: 100%;
}

.cp-news-single-content .wp-caption img {
  display: block;
}

div#middle #page-content.cp-news-single-content .wp-caption-text {
   font-size: 11px;
   font-style: italic;
}

@media (max-width: 767px) {
  .cp-news-single-content .alignleft, .cp-news-single-content .alignright {
      float: none;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
}

/* ====== Content Wrappers ====== */
.cp-main-content {
  background: var(--whiteColor);
  margin-bottom: 6px;
  min-height: 900px;
}

/* ====== Blog Post Meta & Social Sharing ====== */
.cp-blog-eta {
  display: flex;
  flex-direction: row;
}

/* ====== Heading Border for Section Titles ====== */
.cp-heading-border:before {
  width: 100%;
  border-top: 4px double var(--darkGrayColorMenu);
  content: "";
  height: 0px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: 0;
}

.cp-heading-border {
  position: relative;
  text-align: center;
  width: 100%;
}

.cp-heading-border span {
  background: var(--whiteColor);
  position: relative;
  z-index: 3;
}
/* ===== Recent Articles ===== */
.cp-top-cg .cp-top-cg-story a img {
    object-fit: cover;
    width: 100%;
}
#middle .cp-top-cg-story img,
#middle .cp-top-cg-story a {
    display: block;
    margin-bottom: 0;
}
.cp-top-cg .cp-top-cg-story .newsinfo {
    line-height: normal;
}
#middle .cp-top-cg-story .newsinfo a {
    line-height: 19px;
    display: inline-block;
    font-size: 12px;
    margin: 0;
}
.cp-top-cg .cp-top-cg-story .newsinfo a:hover {
    text-decoration: underline;
}
.cp-news-latest-article .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cp-news-latest-article .col1 {
    width: calc(33.333% - 30px) !important;
    display: inline-block;
    vertical-align: top;
}

@media screen and (max-width: 768px) {
    #middle .cp-top-cg-story .newsinfo a  {
      font-size: 14px;
    }

    .cp-news-latest-article .row {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0;
        justify-content: flex-start;
        text-align: center;
    }
    .cp-news-latest-article .col1 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #middle .cp-top-cg-story img {
      height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

}

/* ====== Single post/page sidebar ====== */
section.widget:has(#rated) {
  padding: 10px;
  background-color: #e5e5e5;
}

#single-sidebar,
#home-sidebar {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px !important;
}

#single-sidebar {
  gap: 16px;
}

#home-sidebar {
  gap: 20px;
}

#single-sidebar #rated {
  padding: 0;
}

#single-sidebar .widgettitle {
  background-color: #b31800;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  padding: 0 4px 0 4px;
  float: none !important;
  margin-bottom: 12px;
}

#single-sidebar .widgettitle:after {
  content: "";
  display: block;
  width: 15px;
  height: 8px;
  line-height: 8px;
  background-image:url('../img/base/main.png');
  background-position: -285px -104px;
  position: relative;
  bottom: 0px;
  left: 10px;
  margin-bottom: -12px;
}

div#middle #single-sidebar li {
  line-height: 12px;
  margin-bottom: 0;
  padding: 4px 0;
  border-bottom: 1px solid #ccc;
}

div#middle #single-sidebar a {
  font-size: 11px;
  font-weight: bold;
  line-height: 12px;
}

/* ====== Widgets ====== */

/* Social Links */
.widget_social_links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 4px;
}

.widget_social_links a {
  display: flex;
  width: calc(50% - 2px);
}

.widget_social_links a:first-of-type {
  width: 100%;
}

.widget_social_links img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Clickable Box */
div.ad-label {
  margin-bottom: 4px;
  background-color: #e5e5e5;
}

div.ad-label div.header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12px;
  padding: 2px 6px;
  font-size: 7px;
  line-height: 1;
  color: #858585;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  text-align: center;
}

.widget_clickable_box .text-ad {
  margin: 1px;
  padding: 10px 20px;
  font-size: 11px;
  line-height: 14px;
  font-weight: bold;
  background-color: #fff;
}

/* Page css */

#middle .author-pages__page__content .title, 
#middle .internal-linking-guids__page__content .title {
  font-size: 14px;
}

#middle .author-pages__page__content .excerpt,
#middle .internal-linking-guids__page__content .excerpt {
  font-size: 12px;
}

.internal-linking-guids {
  margin: 20px 0;
}

.author-pages__title,
.internal-linking-guids__title {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
  margin-bottom: 10px;
  color: #666666;
  font-weight: bold;
}
.author-pages__title:before,
.author-pages__title:after,
.internal-linking-guids__title:before,
.internal-linking-guids__title:after {
  content: '';
  height: 3px;
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid #666666;
  border-top: 1px solid #666666;
}
.author-pages__title:before,
.internal-linking-guids__title:before {
  margin-right: 5px;
}
.author-pages__title:after,
.internal-linking-guids__title:after {
  margin-left: 5px;
}

#page-content .author-pages__page,
.internal-linking-guids__page {
  display: flex;
  margin-bottom: 16px;
  border-bottom: none;
}
.author-pages__page__img,
.internal-linking-guids__page__img {
  margin-right: 10px;
  display: flex;
  border: 5px solid #dedede;
}
.author-pages__page__img img,
.internal-linking-guids__page__img img {
  object-fit: cover;
  margin: auto 0;
  display: block;
  max-width: 120px;
  min-height: 50px;
  max-height: 70px;
  height: auto;
  width: 100%;
}
.author-pages__page__content,
.internal-linking-guids__page__content {
  display: flex;
  align-items: center;
  flex: 1;
}
.author-pages__page__content .title,
.internal-linking-guids__page__content .title{
  color: #660000;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
}
.author-pages__page__content .excerpt,
.internal-linking-guids__page__content .excerpt {
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 767px) {
  .author-pages__page__img img,
  .internal-linking-guids__page__img img{
      max-width: 90px;
      object-fit: contain;
  }
  .author-pages__page__content .title,
  .internal-linking-guids__page__content .title{
      font-size: 16px;
      line-height: 18px;
      margin-bottom: 4px;
  }
  .author-pages__page__content .excerpt,
  .internal-linking-guids__page__content .excerpt {
      font-size: 14px;
      line-height: 18px;
  }
}


#by-line{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size:12px;
}
#by-line .separator {
  color: #B3B3B3!important;
  padding: 0px 1px 0px 4px;
  font-size: 12px;
  margin-bottom: 0;
}
.byline-left{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}
div#middle .byline-left p,
div#middle #by-line a {
  margin-bottom: 0 !important;
}	
div#middle .byline-left p{
  margin-right:5px;
}

#by-line a {
  color:#990000!important;
}	
div#middle .byline-left p{
  margin-right:5px;
  font-size:11px !important;
  line-height:17px !important;
  margin-bottom: 0!important;
}
.byline-left-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.byline-right{
  display: grid;
  position:relative;
  margin-bottom: 3px;
  grid-template-columns: max-content;
}

.byline-right > div{
  margin-bottom: 5px!important;
  margin-left:8px;
}

.byline-right .btn{
  border: 1px solid #B3B3B3;
  border-radius:2px;
  line-height:24px;
  min-width: 100px;
  max-height: 26px!important;
  margin-bottom: 0 !important;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  font-size:11px!important;
  padding: 0 8px;
  box-sizing: border-box;
}

.byline-tooltip{
  right:0;
  z-index: 1;
  position: absolute;
  max-width:100%;
  min-width:200px;
  font-size:11px!important;
  background-color:white;
  line-height: 1.4em!important;
  border-radius:4px;
  will-change: filter;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .30));
}

.byline-tooltip.t1:before {
  border-bottom: 10px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: "";
  height: 0;
  left: calc(50% + 50px);
  position: absolute;
  top: -9px;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 0;
}

.byline-tooltip.t2:before {
  border-bottom: 10px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: "";
  height: 0;
  right: 30px;
  position: absolute;
  top: -9px;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 0;
}
.byline-tooltip.t2 {
  top: 36px;
}
.byline-tooltip.t1 {
  top: 36px;
}
.byline-tooltip span{
  display:block;
  padding:15px;
}
#middle #by-line .byline-tooltip p,
#middle #by-line .byline-tooltip a {
  line-height: 1.4em !important;
  font-size: 11px !important;
  margin: 0;
}

.byline-tooltip[style*="display: none"],
.byline-tooltip[style*="display: none"]  span {
  filter: none !important;
}

.byline-right .t1 {
  display:none;
}
.byline-right .t2 {
  display:none;
}

@media screen and (max-width: 440px) {
  #by-line .separator {
    display: none;
  }
}

#page-content li:has(img.alignright),
#page-content p:has(img.alignright)  {
  text-align: right;
}

#page-content li:has(img.aligncenter),
#page-content p:has(img.aligncenter)  {
  text-align: center;
}

#page-content li:has(img.alignleft),
#page-content p:has(img.alignleft)  {
  text-align: left;
}
