/* Blog Page Styles */
:root {
    --blog-side-spacing: 65px;
    --blog-content-width: 590px;
    --blog-spacing: 40px;
}

/* Layout structure */
.blog-page .container {
    display: grid;
    grid-template-columns: 265px 1fr;
    gap: var(--blog-spacing);
    position: relative;
    padding: var(--blog-side-spacing) var(--container-padding);
}

/* Blog navigation sidebar */
.blog-navigation {
    position: sticky;
    top: 135px;
    height: fit-content;
    z-index: 5;
}

.blog-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-nav-item {
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    line-height: 25px;
    transition: opacity 0.3s ease;
}

.blog-nav-item:not(.active) {
    opacity: 0.3;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-nav-item.active .blog-nav-link {
    font-weight: 500;
    border-left: 1px solid #fff;
    padding-left: 10px;
}

.nav-indicator {
    width: 20px;
    height: 0;
    border: 1px solid #FFFFFF;
    transform: rotate(90deg);
    display: none;
    position: relative;
    margin-right: 5px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.blog-nav-item.active .nav-indicator {
    display: block;
}

/* Blog content area */
.blog-content {
       max-width: 590px;
    text-align: left;
}

/* Back to blog link */
.blog-back-link {
        display: flex;
        align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.back-to-blog {
    align-items: center;
    background-color: #2A2A2A;
    border-radius: 100px;
    text-decoration: none;
    font-size: 12px!important;
    height: 27px;
    color: #FFFFFF;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    width: 59px;
    justify-content: center;
    display: flex
;
}
.back-to-blog span{
        padding-right: 5px;
}

.back-to-blog:hover {
    opacity: 0.6;
}

.back-icon {
    width: 12px;
    height: 12px;
    position: relative;
    margin-right: 2px;
}



/* Blog header */
.blog-post-header {
    position: relative;
    margin-bottom: 40px;
}

.blog-title {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 80%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
margin: 0 0;
}

.blog-meta {
    display: flex
;
    align-items: center;
    gap: 0px;
    margin-bottom: 20px;
    color: #FFFFFF;
    opacity: 0.3;
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    margin-top: 27px;
}

.meta-separator {
    width: 20px;
    height: 0;
    border: 1px solid #FFFFFF;
    transform: rotate(90deg);
}

.blog-social-share {
    display: flex;
}

.share-btn {
    display: flex;
    justify-content: center;
    align-items: center;

        background: none;
    border: none;
    cursor: pointer;
       transition: all 0.3s ease;
}

.share-btn:hover {
   scale:1.1;
   transition: all 0.3s ease;
}

/* Blog featured image */
.blog-featured-image {
    width: 100%;
    height: 340px;
    overflow: hidden;
    margin-bottom: 26px;
    background-color: #DDDDDD;
    position: relative;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Blog content */
.blog-post-content {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 130%;
    color: #FFFFFF;
        letter-spacing: 0.3px;
    margin-bottom: 40px;
}

.blog-post-content p {
    margin-bottom: 20px;
  
}
/* .blog-section li,p{
  opacity: 0.6;
} */


.blog-section {
    margin: 94px 0;
    position: relative;
}

.blog-section:first-child {
    margin-top: 0;
}

.blog-section h2 {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 80%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.blog-media {
    width: 100%;
    height: 340px;
    background-color: #DDDDDD;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.blog-section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

/* Blog lists */
.blog-list {
    padding-left: 20px;
    margin: 20px 0;
}

.blog-list li {
    margin-bottom: 10px;
}

/* Blog quote */
.blog-quote {
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* AI models section */
.ai-model-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.ai-model-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-model-item h3 {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 80%;
    letter-spacing: -0.03em;
    text-decoration: underline;
    color: #FFFFFF;
}

.model-features {
    padding-left: 20px;
    margin: 0;
}

.model-features li {
    margin-bottom: 5px;
}

.model-logo {
    height: 39px;
    display: flex;
    align-items: center;
}

.model-logo-img {
    height: 100%;
    width: auto;
}

/* Blog tags */
.blog-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 130%;
    color: #FFFFFF;
    opacity: 0.6;
}

.blog-tags a {
    color: #FFFFFF;
    text-decoration: none;
}

.blog-tags a:hover {
    text-decoration: underline;
}

/* Blog share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-text {
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    opacity: 0.3;
    color: #FFFFFF;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

/* Blog comments */
.blog-comments {
    border: 0px;

}
.blog-comments .container {
    display: flex
;
    justify-content: center;
    padding-top: 61px;
    border-top: 0;
        padding-bottom: 58px;
}

.blog-comments h2 {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 80%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 23px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.comment-form textarea {
    width: 100%;
    height: 180px;
    background-color: #2A2A2A;
    border: none;
    padding: 20px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    resize: none;
}

.comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.comment-btn {
    background-color: #FFFFFF;
    color: #000000;
    padding: 8px 16px;
}

/* Related posts section */
.related-posts {
    padding:  0;
    border:0;
}


.related-posts .container {
    display: block;
    position: relative;
    padding-top: 60px;
    padding-bottom: 10px;
    border-bottom: 0;
    border-top: 0;

}

.related-posts h2 {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 80%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.related-posts-navigation {
    position: absolute;
    top: 0;
    right: var(--container-padding);
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 82px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
}

.nav-btn.prev {
    background-color: #2A2A2A;
}

.nav-btn.next {
    background-color: #FFFFFF;
}

.nav-btn.next svg path {
    stroke: #1A1A1A;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.related-post-image {
    width: 100%;
    height: 340px;
    background-color: #DDDDDD;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-post-date {
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
    color: #FFFFFF;
    opacity: 0.3;
}

.related-post-title {
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
}

.related-post-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 130%;
    color: #FFFFFF;
    opacity: 0.6;
    margin: 20px 0;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Saira', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 76px;
    height: 1px;
    background-color: #FFFFFF;
}

@media (min-width: 993px) and (max-width: 1024px) {
.blog-content{
    margin: 0 auto;
}
}
@media (max-width: 992px) {
  .blog-page .container,.blog-content{
    padding: 0 10px;
  }
  .blog-back-link{
    margin: 0;
  }
  .blog-title{
    font-size: 46px;
  }
  .blog-content {
    max-width: 100%;
}
}