.blog-detail-page {
    padding-top: 80px;
}

.blog-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 40px 20px;
}

.blog-detail-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    text-align: center;
}

.blog-detail-title {
    font-size: 32px;
    color: var(--title-color);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    color: var(--text-color);
}

.blog-meta-item {
    display: flex;
    align-items: center;
}

.blog-date::before {
    content: "📅";
    margin-right: 5px;
}

.blog-views::before {
    content: "👁️";
    margin-right: 5px;
}

.blog-category::before {
    content: "📁";
    margin-right: 5px;
}

.blog-detail-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-detail-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.blog-paragraph {
    margin-bottom: 25px;
    text-align: justify;
}

.blog-subtitle {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 35px 0 15px;
    font-weight: 600;
}

.blog-list {
    margin: 20px 0 30px 20px;
    padding-left: 15px;
}

.blog-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}


.blog-detail-content {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
}

.blog-detail-content p {
    margin-top: 0;
}

.blog-detail-content strong{
    color: var(--primary-color);
}

.blog-detail-content ul li a,
.blog-detail-content ol li a{
    text-decoration: none;
}

.blog-detail-content ul li a:hover,
.blog-detail-content ol li a:hover{
    text-decoration: underline;
}

.blog-detail-content ul:not(:first-of-type),
.blog-detail-content ol:not(:first-of-type){
    padding-left: 18px;
    color: #000;
}

.blog-detail-content ul:first-of-type,
.blog-detail-content ol:first-of-type{
    list-style: none;
}

.blog-detail-content ul:first-of-type a,
.blog-detail-content ol:first-of-type a{
    color: #333;
    font-weight: 500;
}

.blog-detail-content hr{
    margin: 10px 0;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6{
    color: var(--primary-color);
    margin-top: 10px;
}

.blog-detail-content p:last-child {
    margin-bottom: 0;
}



table {
    border: 1px solid #cccccc;
    border-collapse: collapse;
    font-size: 16px;
    margin: 15px 0;
}

table th,
table td {
    border: 1px solid #cccccc;
    padding: 10px;
    text-align: left;
}

table td{
    color: #848383;
}

table th{
    color: var(--primary-color);
}

table thead tr {
    background-color: rgb(245, 245, 245);
}

table tbody tr:nth-child(odd) {
    background-color: white;
}

table tbody tr:nth-child(even) {
    background-color: rgb(245, 245, 245);
}


.blog-detail-content img {
    width: 400px !important;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 1rem auto;
}

.blog-detail-content div a:hover{
    text-decoration: underline;
}








.blog-applications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.application-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.application-item h4 {
    color: var(--title-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-quote {
    font-style: italic;
    background-color: #f5f8fc;
    border-left: 4px solid var(--secondary-color);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    color: #555;
}

.blog-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.blog-tags, .blog-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-label, .share-label {
    font-weight: 600;
    color: #555;
}

.blog-tag {
    background-color: #f0f4f8;
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-icon:hover {
    background-color: var(--secondary-color);
    color: white;
}

.related-blogs {
    margin-top: 50px;
}

.related-title {
    font-size: 22px;
    color: var(--title-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}


.related-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: inherit;
}

.related-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--title-color);
    line-height: 1.4;
}

.related-link-title{
    font-size: 16px;
    color:  var(--primary-color);
}

.related-date {
    font-size: 14px;
    color: var(--text-color);
}

