/* ========================================
   Blog Single Page Styles
   ======================================== */

/* Breadcrumb */
.blog-breadcrumb {
    background-color: #fff;
    padding: 30px 0;
    font-size: 16px;
}

.blog-breadcrumb a {
    color: #5B5B5B;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: #235582;
}

.blogs-btn svg {
    transform: rotate(180deg);
    margin-right: 8px;
}
.blogs-btn {
    font-weight: 600;
    color: #000;
    font-size: 16px;
    text-decoration: underline;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.blog-breadcrumb strong {
    color: #235582;
}

/* Blog Single Container */
.blog-single {
    padding: 3rem 0;
}

.blog-single__inner {
    max-width: 1050px;
    margin: 0 auto;
}

/* Header */
.blog-single__header {
    margin-bottom: 2rem;
}

.blog-single__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 50px;
    color: #000;
}

/* Meta Information */
.blog-single__meta {
    display: flex;
/*    justify-content: space-between;*/
    align-items: flex-start;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blog-meta-left {
    display: flex;
    gap: 3rem;
}

.blog-meta__category,
.blog-meta__reading-time {
    font-size: 16px;
    line-height: 16px;
    color: #000;
    min-width: 170px;
    border-right: 1px solid #B0B0B0;
    padding: 4px 55px 4px 0px;
}

.blog-meta__category strong,
.blog-meta__reading-time strong,
.blog-meta__share strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.blog-meta__share {
    padding-left: 20px;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: transparent;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
}

/*.share-btn:hover {
    background-color: #212529;
    color: #ffffff;
    transform: translateY(-2px);
}*/

/*.share-btn svg {
    width: 18px;
    height: 18px;
}*/

/* Featured Image */
.blog-single__featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-single__featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Audio Player */
.blog-single__audio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    border: 1px solid #E3E3E3;
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1);
}

.audio-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background-color: #0066cc;
    color: #ffffff;
}

.audio-play-btn svg {
    width: 20px;
    height: 20px;
}

.audio-label {
    font-weight: 500;
    flex-grow: 1;
}

.audio-speed {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.audio-rewind,
.audio-forward {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.audio-rewind:hover,
.audio-forward:hover {
    opacity: 0.7;
}

.audio-rewind svg,
.audio-forward svg {
    width: 20px;
    height: 20px;
}

.audio-time {
    font-weight: 600;
    min-width: 45px;
    text-align: right;
}

/* Content */
.blog-single__content {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #000;
    margin-bottom: 3rem;
}

.blog-single__content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 42px;
    margin-bottom: 1rem;
    color: #000;
}

.blog-single__content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    color: #212529;
}

.blog-single__content p {
    margin-bottom: 1.5rem;
}

.blog-single__content ul,
.blog-single__content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-single__content li {
    margin-bottom: 0.5rem;
}

.blog-single__content a {
    color: #0066cc;
    text-decoration: underline;
}

.blog-single__content a:hover {
    color: #004c99;
}

.blog-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-single__content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Post Navigation */
.blog-single__navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 3rem;
}
.blog-single__tags-nav {
    border-top: 1px solid #C8C8C8;
    padding-top: 20px;
}
.post-tags__label {
    font-weight: 600;
    font-size: 14px;
    color: #000;
}
.post-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}
.post-tags .post-tag {
    border: 1px solid #C8C8C8;
    border-radius: 200px;
    padding: 6px 15px;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}
.post-nav__link {
    display: block;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav__link:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.post-nav__label {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.post-nav__title {
    display: block;
    font-size: 1rem;
    color: #212529;
    font-weight: 600;
}

.post-nav--next {
    text-align: right;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-single__title {
        font-size: 2rem;
    }

    .blog-single__meta {
        flex-direction: column;
    }

    .blog-meta-left {
        gap: 2rem;
    }

    .blog-single__audio-player {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .blog-single__content {
        font-size: 1rem;
    }

    .blog-single__navigation {
        grid-template-columns: 1fr;
    }

    .post-nav--next {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .blog-single__title {
        font-size: 1.75rem;
    }

    .blog-meta-left {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-single__actions {
        justify-content: center;
    }

    .action-btn {
        flex: 1;
        min-width: calc(50% - 0.375rem);
        justify-content: center;
    }
}


/* ===== Related Articles ===== */
.related-articles {
  margin: 80px 0;
}
.related-title {
  text-align: center;
  font-size: 44px;
  font-weight: 600;
  color: #000;
  margin-bottom: 50px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.related-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease;
  padding-bottom: 60px;
  position: relative;
}
.related-item > a {
    height: 300px;
    overflow: hidden;
    display: inline-block;
    border: 1px solid #EAEAEA;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.related-item:hover {
/*  transform: translateY(-5px);*/
}
.related-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .2s ease;
}
.related-item:hover img {
    transform: scale(1.1);
}
.related-content {
  padding: 15px;
}
.related-content h3 {
  font-size: 22px;
  line-height: 34px;
  color: #000;
  font-weight: 600;
  margin-bottom: 10px;
}
.related-content p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  color: #555;
}
.related-btn {
  display: inline-block;
  font-size: 16px;
  margin-top: 10px;
  font-weight: 600;
  color: #000;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-articles .related-btn {
  position: absolute;
  bottom: 8px;
  left: 20px; 
}
