/*
Theme Name: Astra Child
Theme URI: https://example.com
Description: Child theme for Astra
Author: Your Name
Author URI: https://example.com
Template: astra
Version: 1.0.0
*/
.blog .loader-box-one, .single-post .loader-box-one {
    display:none !important;
}
.main-content-with-sidebar {
    display: flex;
    gap: 30px; /* space between post and sidebar */
}
.content-area  {
    margin-top:15%;
}
.detailed-post-content {
    flex: 3; /* takes more space */
}

.sidebar-area {
    flex: 1; /* takes less space */
}
#secondary {
    width:100% !important;
}
.ast-right-sidebar #secondary {
    padding-left:0 !important;
}
.custom-blog-banner-below-header {
    margin-top:10%;
}
.custom-single-post-banner {
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.custom-single-post-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.custom-blog-banner-below-header {
    background-color:#e2c604;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.custom-blog-banner-below-header h1 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.custom-blog-banner-below-header p {
    font-size: 18px;
    color: #444;
    text-align:center;
}
.custom-banner-wrapper {
    background: #f9f9f9;
    padding: 50px 20px;
}

.custom-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.custom-banner-container .banner-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.custom-banner-container .banner-box:hover {
    transform: translateY(-6px);
}

.banner-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.banner-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.banner-box p {
    font-size: 16px;
    color: #666;
}
.custom-banner-heading h3 {
    font-size: 26px;
    margin-bottom: 5px;
}

.custom-banner-heading p {
    color: #666;
    margin-bottom: 30px;
}
.custom-blog-banner-below-header .ast-container {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}
.writeforus i {
    font-size: 26px;
    color: #e2c604;
}
.ast-site-identity .site-title a {
    display:none;
}
.ast-header-break-point .ast-header-search .search-field {
    width: 200px;
    padding: 6px 12px;
}
.ast-icon svg {
    fill: #e2c604;
    font-size: 40px;
}
/* Two-column layout: TOC on left, content on right */
.toc-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding:0px 20px;
}

.toc-area {
  width: 25%;
  min-width: 250px;
  position: sticky;
  top: 100px;
  background: #f9f9f9;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  height: max-content;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.detailed-post-content {
  width:75%;
}
.detailed-post-content #ez-toc-container {
    display:none;
}
.sidebar-main {
    width:100%;
    margin-left:0%;
    width:250px;
}
.custom-single-post-banner-wrapper #ez-toc-container {
    display:none;
}
/* Responsive behavior */
@media (max-width: 768px) {
     .toc-content-wrapper {
    flex-direction: column;
    gap: 0;
  }

  #ez-toc-container,
  .detailed-post-content {
    width: 100%;
    position: static;
  }
  #ez-toc-container,
  .single-post article {
    width: 100% !important;
  }
  .toc-area {
    display:none;
  }
  .sidebar-main {
    display:none;
  }
}

@media (max-width:767px) {
.custom-blog-banner-below-header .ast-container {
    width:100%;
}
.writeforus {
    width:100% !important;
}
.cookieadmin_consent_inside {
    display:none;
}
}



