/* ============================================
   AROMA SINGLE POST TEMPLATE STYLES
   Modern design som matchar sajten
   ============================================ */

/* Breadcrumbs */
.custom-breadcrumbs-section {
    padding: 15px 20px;
    background-color: #000;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.yoast-breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.yoast-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yoast-breadcrumbs a:hover {
    color: #d9f89f;
    text-decoration: underline;
}

/* Hero Section */
.post-hero {
    position: relative;
    background: linear-gradient(135deg, #000 0%, #03142B 100%);
    padding: 80px 20px;
    margin-bottom: 60px;
    overflow: hidden;
}

.post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
}

.post-meta-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.post-meta-top span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-top svg {
    opacity: 0.8;
}

.post-category {
    background: var(--accentColor);
    color: #000 !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.post-title {
    font-family: 'sunblock_probold', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin: 20px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.post-excerpt {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    margin-top: 20px;
}

/* Main Content Wrapper */
.post-content-wrapper {
    background: #fff;
    padding: 40px 20px;
}

.post-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Main Content */
.post-main-content {
    min-width: 0;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #000;
}

.post-content h2 {
    font-family: 'sunblock_probold', sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    margin: 50px 0 25px;
    color: #000;
}

.post-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #000;
}

.post-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #000;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.post-content a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.post-content a:hover {
    color: #d9f89f;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-content blockquote {
    border-left: 4px solid var(--accentColor);
    padding: 20px 30px;
    margin: 30px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.1em;
}

/* Tags */
.post-tags {
    margin: 50px 0 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.post-tags h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: #000;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--accentColor);
    color: #000 !important;
    transform: translateY(-2px);
}

/* Share Buttons */
.post-share {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #000 0%, #03142B 100%);
    border-radius: 12px;
    color: #fff;
}

.post-share h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.share-facebook {
    background: #1877f2;
    color: #fff !important;
}

.share-twitter {
    background: #1da1f2;
    color: #fff !important;
}

.share-pinterest {
    background: #e60023;
    color: #fff !important;
}

.share-copy {
    background: var(--accentColor);
    color: #000 !important;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Author Box */
.post-author-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    margin: 40px 0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table of Contents */
.toc-widget {
    background: linear-gradient(135deg, #d9f89f 0%, #fffeea 100%);
}

#post-toc {
    font-size: 15px;
}

#post-toc a {
    display: block;
    padding: 8px 0;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.2s;
}

#post-toc a:last-child {
    border-bottom: none;
}

#post-toc a:hover {
    padding-left: 10px;
    color: #03142B;
}

/* Related Products */
.related-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.related-product-item:hover {
    background: var(--accentColor);
    transform: translateX(5px);
}

.related-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

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

    .post-sidebar {
        position: static;
    }

    .post-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: 60px 20px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-excerpt {
        font-size: 18px;
    }

    .post-meta-top {
        font-size: 13px;
    }

    .post-author-box {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }
}

