/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Child theme developed by Hamid.
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.12.1762341271
Updated: 2025-11-05 11:14:31

*/

/* ------------------------------
   Dark Single Post Layout (Astra Child)
--------------------------------*/
/* Custom Scrolbar */
/* width */
.post-details .custom-post-wrapper .post-right::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.post-details .custom-post-wrapper .post-right::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.post-details .custom-post-wrapper .post-right::-webkit-scrollbar-thumb {
  background: #61ce70; 
  border-radius: 10px;
}

/* Handle on hover */
.post-details .custom-post-wrapper .post-right::-webkit-scrollbar-thumb:hover {
  background: #61ce70 
}
/* end scrolbar  */
.main-header-menu .sub-menu{
	background: #000000db;
}
.wp-singular.single.ast-single-post .site-content .ast-container {
  width: 100%;
  max-width: 100%;
  padding: 0
}
.wp-singular.single.ast-single-post .post-navigation{
  display: none;
}
.wp-singular.single.ast-single-post .site-content .ast-container #primary {
  padding: 0;
  margin: 0;
}

.wp-singular.single.ast-single-post .site-content .ast-container .ast-article-single:not(.ast-related-post) {
  padding: 0;
  margin: 0;
}

.wp-singular.single.ast-single-post .site-header {
  position: absolute;
  width: 100%;
  top: 0;
}

.wp-singular.single.ast-single-post .site-header .main-header-bar {
  background-color: transparent;
}

.custom-dark-single {
  background: #0e0e0e;
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
}

.custom-post-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* Hero Header */
.custom-hero-header {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  box-shadow: 0px 0px #00000070;
  overflow: visible;
  order: initial;
  border-color: inherit;
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: auto;
  background-attachment: fixed;
  background-image: url(http://akacs.co.uk/wp-content/uploads/2023/03/interior-header-image.jpg);
  background-clip: padding-box;
}

.custom-hero-header::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: -0px;
  left: -0px;
  width: calc(100% + 0px + 0px);
  height: calc(100% + 0px + 0px);
  border-color: inherit;
  background: rgb(0 0 0 / 80%);
}

.custom-hero-header img {
  /* width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(45%); */
}

.custom-hero-header .hero-overlay {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  height: 100%;
}

.custom-hero-header .post-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-transform: capitalize !important;
}

.custom-hero-header .post-meta {
  color: #bbb;
  font-size: 0.95rem;
  margin-top: 10px;
}

.green-line {
  width: 60px;
  height: 3px;
  background: #61ce70;
  margin-top: 25px;
}

/* Main two-column section */
.custom-post-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.post-details {
  padding: 4rem 0;
  background-color: #000;
}

/* Left: Post Content */
.post-details .custom-post-wrapper .post-left {
  line-height: 1.8;
  font-size: 1rem;
}

.post-details .custom-post-wrapper .post-left .post-thumnail {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.post-details .custom-post-wrapper .post-left .post-thumnail img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  /* vertical-align: middle; */
}

.post-details .custom-post-wrapper .post-left a {
  color: #61ce70;
  text-decoration: underline;
}

.post-details .custom-post-wrapper .post-left p {
  margin-bottom: 20px;
}

/* Right: Sidebar (Recent Posts) */
.post-details .custom-post-wrapper .post-right {
  background: #1a1a1a;
  padding: 25px 30px;
  border-radius: 10px;
}

.post-details .custom-post-wrapper .post-right h3 {
  color: #61ce70;
  margin-bottom: 20px;
  border-bottom: 2px solid #61ce70;
  display: inline-block;
  padding-bottom: 5px;
  text-transform: capitalize !important;
}

.post-details .custom-post-wrapper .recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-details .custom-post-wrapper .recent-posts-list li {
  margin-bottom: 14px;
}

.post-details .custom-post-wrapper .recent-posts-list a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-details .custom-post-wrapper .recent-posts-list a:hover {
  color: #61ce70;
}

@media(min-width: 1025px) {
  .post-details .custom-post-wrapper .post-right {
    position: sticky;
    top: 70px;
    height: fit-content;
    max-height: 700px;
	  overflow: auto;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {

  .custom-hero-header .post-title {
    font-size: 2.3rem;
  }

  .custom-post-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}