/* Blog detail page only — loaded from frontend/blog/single.blade.php */

.blog-content-body {
    line-height: 2;
    color: #556070;
}

.blog-content-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-content-body a:hover,
.blog-content-body a:focus {
    color: #1d4ed8;
}

/* Inline CMS blues that fail WCAG AA on white (#2980b9 = 4.3:1) */
.blog-content-body [style*="color:#2980b9"],
.blog-content-body [style*="color: #2980b9"] {
    color: #1a5f8a !important;
}

.blog-content-body :where(strong, b) {
    font-weight: 800 !important;
    color: #1f1f1f !important;
}

.blog-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    background: #fff;
    direction: rtl;
}

.blog-content-body table th,
.blog-content-body table td {
    border: 1px solid #e2e6ea;
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    color: #4a5568;
}

.blog-content-body table thead th {
    background: #3f4a5c;
    color: #fff;
    font-weight: 700;
    border-color: #3f4a5c;
}

.blog-content-body table tbody tr:nth-child(even) {
    background: #f7f8fa;
}

.blog-content-body table tbody tr:hover {
    background: #eef1f5;
}

@media (max-width: 767px) {
    .blog-content-body table {
        font-size: 12px;
        table-layout: fixed;
    }

    .blog-content-body table th,
    .blog-content-body table td {
        padding: 6px 8px;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

.blog-section-gallery {
    position: relative;
    margin: 24px 0 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}

.blog-section-gallery__item {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    background: #111;
    cursor: pointer;
}

.blog-section-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-section-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 38px;
    text-align: center;
    padding: 0;
}

.blog-section-gallery__nav span {
    display: block;
    font-size: 40px;
    line-height: 34px;
}

.blog-section-gallery__nav--prev {
    right: 12px;
}

.blog-section-gallery__nav--next {
    left: 12px;
}

.blog-section-gallery__nav.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.blog-section-gallery-caption,
.blog-section-image figcaption {
    margin-top: 8px;
    color: #555555;
    font-size: 14px;
    text-align: center;
}

.blog-section-image {
    margin: 24px 0;
    text-align: center;
}

.blog-section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.blog-section-video {
    margin: 28px 0;
}

.blog-section-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}

.blog-section-video__frame video,
.blog-section-video__frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.blog-section-video__frame video {
    object-fit: contain;
}

.blog-section-video figcaption {
    margin-top: 8px;
    color: #555555;
    font-size: 14px;
    text-align: center;
}

.blog-section-audio {
    display: block;
    width: 100%;
    margin: 28px 0;
    padding: 16px;
    background: #f4f6f8;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    box-sizing: border-box;
}

.blog-section-audio__player {
    display: block;
    width: 100%;
}

.blog-section-audio figcaption {
    margin-top: 10px;
    color: #555555;
    font-size: 14px;
    text-align: center;
}

.single_article_wrap .article_body_wrap .article_middle_info li .article-meta-item {
    color: #556070;
    display: block;
    letter-spacing: 0;
    line-height: 18px;
}

.single_article_wrap .article_body_wrap .article_middle_info li .article-meta-item .icons {
    margin-left: 10px;
}

.comment-area .article_comments_wrap {
    color: #4a5568;
}

.comment-area .form-group .form-control {
    color: #4a5568;
}

.comment-area .form-group .form-control::placeholder,
.comment-area .form-group .form-control::-webkit-input-placeholder {
    color: #4a5568;
    opacity: 1;
}

.comment-area .btn-info {
    background: #8a6d00;
    border-color: #8a6d00;
    color: #ffffff;
}

.comment-area .btn-info:hover,
.comment-area .btn-info:focus {
    background: #6b5500;
    border-color: #6b5500;
    color: #ffffff;
}

.news-tag .btn-outline-info {
    margin: 2px;
    color: #6b5500 !important;
    border-color: #6b5500 !important;
}

/* Keep former h6 visual size after semantic heading-level fix */
.blog-tags-heading {
    font-size: 16px;
    line-height: 20px;
}

@media (max-width: 767px) {
    .blog-section-gallery__item {
        aspect-ratio: 4 / 3;
    }

    .blog-section-gallery__nav {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

.blog-gallery-lightbox .case-gallery-lightbox__inner {
    padding-bottom: 48px;
}

.page-title .breadcrumb-title {
    padding-top: 25px;
    font-size: 30px;
}

.article_featured_image {
    text-align: center;
}

.comment-box.submit-form {
    padding-top: 20px;
}
