.libre-baskerville {
    font-family: "Libre Baskerville", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #1a1a1a;
}

.blog-detail {
    /* padding: 4rem 0; */
    padding-top: 150px;
    height: auto !important;
    background: #fff !important;
    background-color: #fff !important;
}

.blog-detail .container {
    width: 100%;
    max-width: 680px;
    /* padding: 0px 350px; */
    padding: 0px;
}

.blog-article {
    /* max-width: 800px; */
    margin: 0 auto;
    background: transparent !important;
    box-shadow: unset !important;
    border: none !important;
    padding: 0px !important;
}

.article-header {
    margin-bottom: 0px;
    padding: 50px 0px !important;
    border: none !important;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 0.5rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-transform: capitalize !important;
}

/* New styles for stats and share row */
.article-stats-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    margin-top: 50px;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 0.95rem;
    color: #666;
}

.stat-item i {
    padding-right: 8px;
}

.stat-item span {
    padding-right: 3px;
}

.stat-item,
.stat-item i,
.stat-item svg,
.stat-item span,
.share-toggle-btn,
.share-toggle-btn i {
    color: #757575 !important;
    fill: #757575 !important;
}

/* Updated Like Button Hover and Active States for Clap Icon */
.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.like-btn:hover {
    color: crimson !important;
    transform: scale(1.1) !important;
}

.like-btn:hover svg {
    fill: crimson !important;
}

.like-btn.liked {
    color: crimson !important;
    cursor: default !important;
}

.like-btn:hover span,
.like-btn.like-btn.liked span {
    color: crimson !important;
}

.like-btn:hover svg,
.like-btn:hover svg path,
.like-btn.liked svg,
.like-btn.liked svg path {
    fill: crimson !important;
    color: crimson !important;
}

/* Added Share Container and Dropdown Styles */
.share-container {
    position: relative;
}

.share-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 1.2rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-toggle-btn:hover {
    color: #1a1a1a;
}

.share-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 200px;
    z-index: 100;
    padding: 8px 0;
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.share-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-arrow {
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    display: none;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: #444;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.dropdown-item:hover {
    background: #f8f8f8;
    color: #1a1a1a;
}

.dropdown-item i {
    width: 18px;
    font-size: 18px;
    color: #666;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.share-icon {
    width: 18px;
    height: 18px;
    font-style: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: transform 0.3s, opacity 0.3s;
}

.share-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0077b5;
}

.whatsapp {
    background: #25d366;
}

.article-excerpt {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-featured-image {
    margin-bottom: 75px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    padding: 0px;
}

.article-section {
    margin-bottom: 75px;
}

.article-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
    text-transform: capitalize !important;
}

.section-content p {
    margin-bottom: 20px;
}

.section-image {
    /* margin: 2rem 0; */
    border-radius: 8px;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-video {
    margin: 2rem 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.section-video iframe,
.section-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-to-blog:hover {
    color: #1a1a1a;
}

.site-footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    text-align: center;
    color: #666;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .main-nav {
        gap: 1rem;
    }

    .blog-detail {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }

    .article-header {
        padding: 0px !important;
        padding-bottom: 50px !important;
    }

    .article-footer {
        margin-top: 0px !important;
        padding: 15px 0px !important;
    }

    .blog-detail .container {
        padding: 0px 20px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .blog-detail .container {
        padding: 0px 40px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .blog-detail .container {
        padding: 0px 40px !important;
    }
}

.section-content p,
.article-excerpt {
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 20px !important;
    line-height: 32px !important;
    color: #242424 !important;
    font-weight: 400 !important;
}

.article-title,
.article-section h2 {
    font-family: "Helvetica Neue" !important;
}