/* Single Blog Post Page Styles */

.blog-single-hero {
    margin-bottom: 60px;
}

.blog-single-header {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-single-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(180deg, #e76de5 0%, #000000 100%);
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.blog-single-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.blog-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.blog-single-date {
    color: #80ACF3;
}

.blog-single-author {
    color: rgba(255, 255, 255, 0.8);
}

.blog-single-main {
    padding: 0;
    margin: 0;
}

.blog-single-section {
    padding: 0 20px;
    margin-bottom: 200px;
}

/* Blog Single Article */

.blog-single-featured-image {
    /*width: 100%;*/
    height: 500px;
    margin-bottom: 60px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.single-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.blog-single-title {
    color: var(--WHITE, #FFF);
    font-family: "Red Hat Display";
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.312px;
}

.blog-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    height: auto;
    width: 40%;
    flex-wrap: wrap;
}

.blog-card-meta-row .blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-meta-row .blog-meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #ffffff;
    display: inline-block;
    vertical-align: middle;
}

.blog-card-meta-row .blog-meta-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-meta-row .blog-meta-text {
    color: #ffffff;
    line-height: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.blog-single-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.blog-single-content {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 32px;
    margin-bottom: 60px;
}

.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4,
.blog-single-content h5,
.blog-single-content h6 {
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-single-content h2 {
    font-size: 36px;
}

.blog-single-content h3 {
    font-size: 28px;
}

.blog-single-content h4 {
    font-size: 24px;
}

.blog-single-content p {
    margin-bottom: 24px;
}

.blog-single-content a {
    color: #80ACF3;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-single-content a:hover {
    color: #ffffff;
}

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.blog-single-content li {
    margin-bottom: 12px;
}

.blog-single-content blockquote {
    border-left: 4px solid #80ACF3;
    padding-left: 24px;
    margin: 40px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
}

.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-single-content code {
    background: rgba(128, 172, 243, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 16px;
    color: #80ACF3;
}

.blog-single-content pre {
    background: linear-gradient(180deg, #292929 0%, #000000 100%);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-single-content pre code {
    background: none;
    padding: 0;
    color: #ffffff;
}

/* Tags */
.blog-single-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(180deg, #292929 0%, #000000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #80ACF3;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: linear-gradient(180deg, #80acf3 0%, #000000 100%);
    border-color: #80acf3;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Post Navigation */
.blog-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
    padding: 40px 0;
    /*border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
}

.nav-post-prev,
.nav-post-next {
    padding: 24px;
    background: linear-gradient(180deg, #292929 0%, #000000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-post-next {
    text-align: right;
}

.nav-post-prev:hover,
.nav-post-next:hover {
    border-color: #80acf3;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(128, 172, 243, 0.2);
}

.nav-post-prev a,
.nav-post-next a {
    text-decoration: none;
    color: #ffffff;
    display: block;
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #80ACF3;
    transition: color 0.3s ease;
}

.nav-post-prev:hover .nav-title,
.nav-post-next:hover .nav-title {
    color: #ffffff;
}

/* Related Posts */
.blog-related-posts {
    margin-top: 80px;
    padding-top: 60px;
    /*border-top: 1px solid rgba(255, 255, 255, 0.1);*/
}

.related-posts-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    /*margin-bottom: 50px;*/
}

.related-post-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: linear-gradient(180deg, #292929 0%, #000000 100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.related-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-thumbnail {
    transform: scale(1.05);
}

.related-post-content {
    padding: 24px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #80ACF3;
}

.related-post-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Entry Footer */
.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    /*border-top: 1px solid rgba(255, 255, 255, 0.1);*/
}

.edit-link a {
    color: #80ACF3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

/*///////////////////////////*/


/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0.625px;
    background: #ffffff !important;
    border: 0.625px solid #efefef !important;
    border-radius: 14px !important;
    background-image: none !important;
    background-origin: initial !important;
    background-clip: initial !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.blog-card:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);*/
}

.blog-card-image {
    width: 100%;
    height: 191.992px;
    overflow: hidden;
    position: relative;
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, #393939 0%, #000000 100%);
    /*border: 1px solid #000000;*/
    min-height: 291.904px;
    position: relative;
}

/* Category Label */
.blog-category-label {
    position: absolute;
    left: 23.99px;
    top: 23.99px;
    background: #f2f7fe;
    color: #3b68b0;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding: 0;
    height: 23.984px;
    border-radius: 20971500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 83.018px;
    padding: 0 13.88px;
    text-align: center;
    white-space: nowrap;
}

.blog-category-label-single {
    /*position: absolute;*/
    left: 23.99px;
    top: 23.99px;
    background: #f2f7fe;
    color: #3b68b0;
    font-family: 'Red Hat Display', sans-serif;
    /*font-size: 12px;*/
    font-weight: 400;
    line-height: 16px;
    padding: 0;
    height: 23.984px;
    border-radius: 20971500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 83.018px;
    padding: 0 13.88px;
    text-align: center;
    white-space: nowrap;
    padding: 20px;
}

.blog-card-title {
    position: absolute;
    left: 23.99px;
    top: 59.97px;
    width: 478.77px;
    max-width: calc(100% - 47.98px);
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    margin: 0;
    color: #ffffff;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #80ACF3;
}

.blog-card-excerpt {
    position: absolute;
    left: 23.99px;
    top: 119.95px;
    width: 478.77px;
    max-width: calc(100% - 47.98px);
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #ffffff;
    margin: 0;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card-footer {
    position: absolute;
    left: 23.99px;
    top: 207.93px;
    width: 478.77px;
    max-width: calc(100% - 47.98px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

/* Tags */
.blog-card-tags {
    display: flex;
    gap: 8px;
    height: 23.984px;
    align-items: flex-start;
}

.blog-tag {
    background: #efefef;
    color: #050505;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding: 4.62px 8px;
    border-radius: 4px;
    white-space: nowrap;
    height: 23.984px;
    display: inline-flex;
    align-items: center;
}


/*//////////////////////////*/

.edit-link a:hover {
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-single-title {
        font-size: 36px;
    }
    
    .blog-single-meta {
        font-size: 14px;
        gap: 16px;
    }
    
    .blog-single-content {
        font-size: 16px;
    }
    
    .blog-single-content h2 {
        font-size: 28px;
    }
    
    .blog-single-content h3 {
        font-size: 24px;
    }
    
    .blog-single-featured-image {
        height: 300px;
        margin-bottom: 40px;
    }
    
    .blog-card-meta-row {
        width: 100%;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .blog-card-meta-row .blog-meta-text {
        font-size: 12px;
        line-height: 18px;
    }
    
    .blog-card-meta-row .blog-meta-icon {
        width: 14px;
        height: 14px;
    }
    
    .blog-category-label-single {
        font-size: 11px;
        padding: 6px 12px;
        height: auto;
    }
    
    .blog-single-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-post-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .blog-single-featured-image {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .blog-card-meta-row {
        gap: 12px;
    }
    
    .blog-card-meta-row .blog-meta-text {
        font-size: 11px;
        line-height: 16px;
    }
    
    .blog-card-meta-row .blog-meta-icon {
        width: 12px;
        height: 12px;
    }
    
    .blog-category-label-single {
        font-size: 10px;
        padding: 5px 10px;
    }
}
