h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Icon Fonts */
@font-face {
    font-family: 'icomoon';
    src: url('https://ext.same-assets.com/964181928/4183075473.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before { content: "\f09a"; }
.icon-twitter:before { content: "\f099"; }
.icon-pinterest:before { content: "\f0d2"; }
.icon-instagram:before { content: "\f16d"; }
.icon-search:before { content: "\f002"; }
.icon-chevron-down:before { content: "\f078"; }

/* Main Content */
.article-main-content {
    padding: 60px 0;
}

.blogpost-article {
    margin: 0 auto;
}

/* Content */
.pe-article-content {
    font-size: 16px;
    line-height: 1.8;
}

.pe-article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #3c3932;
}

.pe-article-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Article Title */
.pe-blogpost-article-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
    color: #3c3932;
    margin-left: 20px;
    margin-right: 20px;
}

/* Post Meta */
.pe-article-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.pe-article-date {
    color: #666;
    margin-top: 20px;
}

/* Quote Section */
.pe-article-quote-section {
    background-color: #f5f5f5;
    padding: 60px 40px;
    margin: 60px 0;
    text-align: center;
    border-radius: 12px;
    position: relative;
}

.pe-article-quote-line {
    width: 60px;
    height: 4px;
    background-color: #3c3932;
    margin: 0 auto 30px;
}

.pe-article-quote-section blockquote {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #3c3932;
    margin-bottom: 20px;
    font-style: normal;
}

.pe-article-quote-section cite {
    font-size: 14px;
    color: #666;
    font-style: normal;
}

/* Author Info */
.pe-article-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
}

.pe-article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pe-article-author-info a {
    color: #3c3932;
    font-weight: 500;
}

/* Author Bio */
.pe-article-author-bio {
    background-color: white;
    padding: 40px;
    margin-bottom: 60px;
}

.pe-article-author-bio h4 {
    margin-bottom: 30px;
    color: #3c3932;
}

.pe-article-bio-content {
    display: flex;
    gap: 30px;
}

.pe-article-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pe-article-bio-info h6 {
    margin-bottom: 5px;
}

.pe-article-bio-info h6 a {
    color: #3c3932;
    font-weight: 600;
}

.pe-article-location {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px !important;
}

.pe-article-description {
    margin-bottom: 20px;
}

.pe-article-social-stats {
    display: flex;
    gap: 25px;
}

.pe-article-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pe-article-stat:hover {
    color: #3c3932;
}

/* Hero Image */
.pe-article-hero-image {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
}

.pe-article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Body */
.pe-article-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

/* Social Share Sidebar */
.pe-article-social-share-sidebar {
    top: 100px;
    height: fit-content;
}

.pe-article-social-share-sidebar h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3c3932;
}

.pe-article-share-btn {
    display: flex;
    align-items: center;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    gap: 12px;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pe-article-share-btn:hover {
    color: #3c3932;
    transform: translateX(5px);
}

.pe-article-share-btn .icon-social {
    width: 24px;
    height: 24px;
    margin-left: 16px;
}

/* Tags */
.pe-article-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

.pe-article-tag-label {
    font-weight: 600;
    color: #3c3932;
}

.pe-article-tag {
    background-color: #f5f5f5;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pe-article-tag:hover {
    background-color: #3c3932;
    color: white;
}

/* Post Navigation */
.pe-article-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.pe-article-nav-item {
    display: flex;
    flex-direction: column;
}

.pe-article-nav-item.next {
    text-align: right;
}

.pe-article-nav-label {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pe-article-nav-item h6 {
    margin: 0;
}

.pe-article-nav-item h6 a {
    color: #3c3932;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pe-article-nav-item h6 a:hover {
    color: #92623c;
}

/* Recipe Section */
.pe-article-recipes-section {
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
}

.pe-article-recipes-section h2 {
    font-size: var(--font-size-xl); /* Updated */
    font-weight: 700;
    font-family: var(--secondary-font);
    color: var(--color-text);
    margin-bottom: 16px;
    margin-top: 40px;
}

.pe-article-recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pe-article-recipe-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.2s;
    cursor: pointer;
    min-height: 310px;
}

.pe-article-recipe-card:hover {
    transform: translateY(-1px);
}

.pe-article-recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pe-article-recipe-content {
    padding: 12px;
    padding-top: 0;
}

.pe-article-recipe-type {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.pe-article-recipe-content h3 {
    font-size: var(--font-size-m); /* Updated (was 0.9375rem) */
    font-weight: 700;
    color: var(--color-text);
    margin: 6px 0 6px;
    line-height: 1.2;
}

.pe-article-recipe-creator {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs); /* Updated (was 0.5625rem) */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pe-recipe-rating {
    margin-bottom: 8px;
}

.pe-recipe-rating .star-icon {
    width: 12px;
    height: 12px;
    color: var(--color-star);
}

@media (min-width: 1025px) {
    .pe-article-sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
        align-self: flex-start;
    }

    .purchase-book-pe-wrapper.article {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #e8e8e8;
        position: relative;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pe-article-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pe-article-social-share-sidebar {
        display: flex;
        gap: 20px;
        position: static;
    }

    .pe-article-social-share-sidebar h6 {
        margin-bottom: 0;
    }

    .pe-article-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pe-article-tags {
        flex-wrap: wrap;
    }

    .pe-article-sidebar {
        display: grid;
        grid-template-columns: 1fr 200px;
        gap: 40px;
        align-items: start;
    }

    .purchase-book-pe-wrapper.article {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .purchase-book-pe-wrapper.article h3 {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .pe-article-title {
        font-size: 36px;
    }

    .pe-article-bio-content {
        flex-direction: column;
        gap: 20px;
    }

    .pe-article-post-navigation {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pe-article-nav-item.next {
        text-align: left;
    }

    .pe-article-recipes-grid {
        grid-template-columns: 1fr;
    }

    .pe-article-sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .purchase-book-pe-wrapper.article {
        margin-top: 0;
        padding-top: 20px;
        border-top: 1px solid #e8e8e8;
    }

    .purchase-book-pe-wrapper.article a {
        max-width: 300px;
        margin: 0 auto;
    }

    .pe-article-toast-notification.article-show-toast {
        bottom: 50px;
    }
}

@media (max-width: 480px) {
    .pe-article-title {
        font-size: 28px;
    }

    .pe-article-quote-section {
        padding: 40px 20px;
    }

    .pe-article-quote-section blockquote {
        font-size: 20px;
    }

    .pe-article-social-share-sidebar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: static;
    }

    .pe-article-share-btn {
        width: 100%;
        padding: 8px 12px;
        box-sizing: border-box;
    }

    .pe-article-sidebar {
        gap: 15px;
    }

    .purchase-book-pe-wrapper.article {
        padding-top: 15px;
    }

    .purchase-book-pe-wrapper.article h3 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 16px;
    }

    .purchase-book-pe-wrapper.article a {
        max-width: 100%;
    }
}

/* Toast notification styles */
.pe-article-toast-notification {
    position: fixed;
    bottom: 30px;
    right: -350px;
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 12px;
    z-index: 1000;
    transition: right 0.4s ease-in-out;
    cursor: pointer;
}

.pe-article-toast-notification.article-show-toast {
    right: 30px;
}

.pe-article-toast-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.pe-article-toast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pe-article-toast-content {
    flex: 1;
}

.pe-article-toast-content p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
}

.pe-article-lazy-load-container {
    width: 100%;
    position: relative;
}

.pe-article-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    width: 100%;
}

.pe-article-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pe-article-spinner-container p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Purchase Book Section */
.purchase-book-pe-wrapper.article {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.purchase-book-pe-wrapper.article h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3c3932;
    text-align: left;
}

.purchase-book-pe-wrapper.article a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.purchase-book-pe-wrapper.article a:hover {
    transform: translateY(-4px);
}

.purchase-book-pe-wrapper.article .book-cover {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sidebar container for social share and book */
.pe-article-sidebar {
    display: flex;
    flex-direction: column;
}


/* Content Image */
.pe-article-content-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
}

.pe-article-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pe-article-content-image-caption {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 10px;
}