.ast-container {
	display: block !important;
    max-width: 100% !important;
    padding: 0;
}



.custom-single-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.single-main-content {
  width: 75%;
}

.single-sidebar {
  width: 25%;
}

.single-post-title {
  font-family: Roboto,Arial,sans-serif;	
  font-size: 27px;
  font-weight: 600;
  color: #000;
  line-height: 1.35;	
}

.single-post-meta {
  color: #777;
  margin-top: 15px;	
  margin-bottom: 15px;
}

.single-featured-image img {
  width: 100%;
  margin: 20px 0;
  box-shadow: none !important;	
}

.single-social-share a {
  margin-right: 10px;
  font-weight: 600;
}

.single-post-content {
  line-height: 1.8;
  font-size: 17px;
}

.related-post-grid {
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 5px;	
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-post-grid img {
  border-radius: 5px;
}

.related-post-grid h4 {
  font-size: 18px;
  color: #000;
  font-weight: 600;
  line-height: 28px;
  margin-top: 15px;	
  margin-bottom: 10px;		
}

.related-post-grid span {
  font-size: 12px;
  font-weight: 400;
  color: red;
  font-family: Roboto,Arial,sans-serif;
}	

.sidebar-post {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

/* RESPONSIVE */
@media(max-width: 991px){
  .custom-single-container {
    flex-direction: column;
  }
  .single-main-content,
  .single-sidebar {
    width: 100%;
  }
  .related-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 575px){
  .related-post-grid {
    grid-template-columns: 1fr;
  }
  .related-post-grid img {
	  width: 100%;
	}	
}

/* Custom Code */

.single-post-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #777;
}

@media(max-width: 768px){
	.single-post-meta {
  		display: flex;
		flex-wrap: wrap;
	}
}	

.single-post-meta .meta-item {
  font-family: Roboto,Arial,sans-serif;		
  font-size: 16px;
  color: #6e6e6e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-post-meta svg {
  width: 20px;
  height: 20px;
  fill: #6e6e6e;
  flex-shrink: 0;
}

.single-post-meta .meta-separator {
  margin: 0 12px;
  color: #ccc;
}

/* Social Share */
.social-share-wrapper {
  position: relative;
  display: inline-block;
}

.social-icons,
.popup-icons {
  display: flex;
  gap: 12px !important;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Brand colors */
.facebook { background: #3b5998 !important; color: #fff; }
.twitter { background: #000 !important; color: #fff; }
.whatsapp { background: #25D366 !important; color: #fff; }
.share-btn,
.copy-btn { background: #e5e5e5; color: #000; }

/* POPUP */
.share-popup {
  position: absolute;
  top: 60px;
  left: 0;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  z-index: 1001;
}

.share-popup h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}

.share-btn, .copy-btn {
  background: #DFDFDF !important;
  padding: 0;
}

.share-btn img, .copy-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.single-post-content p {
	font-family: Roboto,Arial,sans-serif;
	font-size: 17px;
	color: #000;
	margin-block-start: 0.9rem;
	margin-block-end: 0.9rem;
}

.single-post-content ul, hr {
	margin: 0;
	padding-left: 40px;
}	

.single-post-content a {
	color: #c36;
}

.single-post-content h2 {
	font-size: 23px;
	margin-block-start: 0.5rem;
	margin-block-end: 1rem;
}

/* Sidebar Latest Posts */
.latest-posts-widget {
  padding: 0;
}

.latest-post-item {
  margin-bottom: 14px;
}

.latest-post-link {
  display: flex;
  gap: 10px;
  text-decoration: none;
  align-items: flex-start;
}

.latest-thumb img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
}

.latest-content {
  flex: 1;
}

.latest-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #111;
  margin: 0 0 4px 0;
}

.latest-title:hover {
  color: #d40000;
}

.latest-date {
  font-size: 12px;
  color: #d40000;
  font-weight: 500;
}

/* Section title styling */
.sidebar-widget .section-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-bottom: 6px;
}

/* Desktop separator between content & sidebar */
@media (min-width: 1025px) {

  .single-main-content {
    position: relative;
    padding-right: 30px; /* spacing before line */
  }

  .single-main-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #e5e5e5; /* light grey line */
  }

  .single-sidebar {
    padding-left: 0px; /* spacing after line */
  }
}

@media (min-width: 1201px) {
  .ast-separate-container .ast-article-single {
    padding: 0;
  }
}
