/* Owner: pages/blog-detail. Existing visual rules extracted from style.css. */
.blog-content-page .blog-content {
    /* background: white; */
    /* border-radius: 20px; */
    /* padding: 30px 25px; */
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); */
    /* border: 1px solid rgba(0, 114, 190, 0.1); */
    /* position: relative; */
    /* overflow: hidden; */
    padding: 0;
}

.blog-content-page .blog-content::before {
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* width: 100%; */
    /* height: 4px; */
    /* background: var(--gradient); */
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--dark-color);
    /* font-weight: 700; */
    /* margin-top: 1rem; */
    /* margin-bottom: 1rem; */
    /* line-height: 1.3; */
}

.blog-content h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.blog-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

.blog-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.blog-content li {
    margin-bottom: 0.4rem;
    list-style: auto;
}

.blog-content blockquote {
    background: var(--bg-gradient);
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.blog-content blockquote p {
    font-style: italic;
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark-color);
}

.blog-image {
    margin: 0 0 2rem;
    height: 400px;
}

.blog-content-area ul,
.blog-content-area ol {
    background: linear-gradient(
        135deg,
        rgba(0, 114, 190, 0.1) 0%,
        rgba(0, 165, 80, 0.1) 100%
    );
    border: 1px solid rgba(0, 114, 190, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 1rem 0;
    position: relative;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}
.blog-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 114, 190, 0.1);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 114, 190, 0.12);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-gradient);
}
.author-widget {
    text-align: center;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
    padding: 3px;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.author-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.author-bio {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 114, 190, 0.1);
}

.related-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-thumb img {
    transform: scale(1.1);
}

.related-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: rgba(0, 114, 190, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}
.newsletter-form {
    text-align: center;
}

.newsletter-form p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(0, 114, 190, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-btn {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--gradient-reverse);
    transform: translateY(-2px);
}
.social-sharing {
    background: var(--bg-gradient);
    border-radius: 12px;
    padding: 25px;
    margin: 3rem 0;
    text-align: center;
}

.sharing-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.sharing-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

article.blog-content .share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

@media only screen and (max-width: 991px) {

    .blog-image {
        margin: 0 0 2rem;
        height: auto;
    }
}

.blog-content-page .blog-content img {
    aspect-ratio: 16/9;
}

.toc {
    /*position: sticky;*/
    top: 50px;
    background: white;
    z-index: 99;
    padding: 10px 0;
}
