/*
Theme Name: Morandi Blog
Theme URI: https://example.com/morandi-blog
Author: Antigravity
Description: A minimalist, Morandi-color themed blog for wellness and journaling.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Morandi Color Palette & Variables */
:root {
    /* Colors */
    --color-bg: #F5F3EF;
    /* 生成り色 (背景) */
    --color-text: #4A4A4A;
    /* ダークグレー (文字) */
    --color-text-light: #7A7A7A;
    /* グレー (薄い文字) */

    --color-sage: #9CAD98;
    /* セージグリーン */
    --color-rose: #C29E9E;
    /* くすみローズ */
    --color-beige: #E6E2D8;
    /* ベージュ (カード背景など) */
    --color-beige-dark: #D4CFC0;
    /* 濃いベージュ */
    --color-slate: #6C7A89;
    /* スレートブルー (アクセント) */

    --color-link: #8F6D6D;
    /* リンク色 (ローズブラウン) */

    /* Typography - Cute Round Feel */
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Zen Maru Gothic', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Border Radius - Soft */
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    /* Prevent horizontal scroll (shake) */
    width: 100%;
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent */
    backdrop-filter: blur(5px);
    padding: var(--spacing-lg) 0;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    /* Make header scroll with page */
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.site-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.site-description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

/* Navigation - Mobile Horizontal Scroll */
.site-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    padding-bottom: 5px;
    /* Space for scrollbar */
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    /* Firefox */
}

.site-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.site-nav ul {
    display: flex;
    gap: var(--spacing-lg);
    white-space: nowrap;
    /* Prevent wrapping */
    padding: 0 var(--spacing-md);
    /* Side padding */
    width: max-content;
    /* Ensure width fits content */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .site-nav {
        width: auto;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .site-nav ul {
        width: auto;
        padding: 0;
    }
}

.site-nav a {
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    display: block;
}

/* Layout (Main + Sidebar) */
.main-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile default */
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
    .main-container {
        grid-template-columns: 3fr 1fr;
        /* PC: Main 3 : Sidebar 1 */
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--color-beige);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

/* Posts Grid */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-rose);
    margin: var(--spacing-sm) auto;
}

.post-grid {
    display: grid;
    gap: var(--spacing-lg);
}

/* Post Card - Side-by-Side & Translucent */
.post-card {
    background-color: rgba(255, 255, 255, 0.6);
    /* Translucent White/Morandi base */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    padding: 0;
    display: flex;
    /* Side by Side */
    flex-direction: column;
    /* Mobile first: vertical */
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 600px) {
    .post-card {
        flex-direction: row;
        /* Tablet/PC: Horizontal */
        align-items: stretch;
        /* Stretch to match height */
        min-height: 200px;
        /* Allow growth */
        height: auto;
    }
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-rose);
    background-color: rgba(255, 255, 255, 0.9);
}

.post-image {
    width: 100%;
    height: 200px;
    /* Default for mobile */
    overflow: hidden;
    border: none;
    margin-bottom: 0;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .post-image {
        width: 35%;
        /* Fixed width for image side */
        height: auto;
        /* Stretch with parent */
        min-height: 100%;
    }
}

.post-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Post Content Layout Fix */
.post-content {
    padding: var(--spacing-md) var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* Important for flex child text wrapping */
}

/* Updated Tag Style - Better Readability */
.post-cat {
    font-size: 0.8rem;
    background-color: transparent;
    color: var(--color-text);
    padding: 3px 10px;
    border: 1px solid var(--color-sage);
    border-radius: 20px;
    /* Pill shape */
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    align-self: flex-start;
    white-space: nowrap;
    /* Prevent tag breaking */
    max-width: 100%;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.post-title a {
    display: block;
    /* Ensure full clickability */
    line-height: 1.4;
}

.post-title a:hover {
    text-decoration: none;
    color: var(--color-rose);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date {
    font-size: 0.9rem;
    /* Slightly larger */
    color: var(--color-text);
    /* Use main text color instead of light gray */
    font-family: var(--font-serif);
    text-align: right;
    /* Align right for cleaner look */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-weight: 500;
}

.post-date::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid var(--color-rose);
    /* Full border */
    transform: rotate(45deg);
    /* Diamond shape */
    margin-right: 8px;
    /* Slightly more space */
    opacity: 0.8;
    background-color: transparent;
    /* Or var(--color-rose) for filled */
    margin-top: -2px;
    /* Slight vertical adjust */
}

.post-date::after {
    /* Optional: Symmetry if desired, or remove */
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: var(--color-rose);
    margin-left: 8px;
    opacity: 0.5;
}

/* Sidebar - Separated Boxes */
.widget {
    margin-bottom: 3rem;
    /* Much larger spacing */
    background: #fff;
    padding: 2rem;
    /* Generous padding */
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-beige-dark);
    padding-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.profile-image {
    width: 120px;
    height: 120px;
    background-color: var(--color-beige);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    padding: 5px;
}

.profile-image img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.profile-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
    text-align: left;
}

.category-widget ul li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-bg);
    padding-bottom: 0.8rem;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
    /* Generic transition */
}

.category-widget ul li:hover {
    padding-left: 0.5rem;
    /* No movement */
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--color-rose);
    /* Neon / Theme Color */
    text-shadow: 0 0 5px rgba(194, 158, 158, 0.6);
    /* Soft Neon Glow */
    font-weight: 500;
}

.category-widget ul li:last-child {
    border-bottom: none;
}

/* Post Content - Typography */
/* Post Content - Images with Shadow & Alignment */
.entry-content img {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.08);
    /* Bottom-right shadow */
    border-radius: var(--radius-md);
    /* Smooth corners */
    margin: 2rem auto;
    transition: transform 0.3s;
    max-width: 100%;
    height: auto;
    display: block;
    /* Default to block for centering with margin: auto */
}

.entry-content img:hover {
    transform: scale(1.02);
}

/* WordPress Standard Alignment Classes */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {

    .alignleft,
    .alignright {
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* Gutenberg Block Support */
.wp-block-image {
    margin: 0 0 2rem;
    text-align: center;
}

.wp-block-image img {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image.aligncenter,
.wp-block-image.alignleft,
.wp-block-image.alignright {
    margin-bottom: 2rem;
}

.wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
}


/* Post Content - Typography */
.entry-content h2 {
    font-size: 1.6rem;
    color: var(--color-text);
    background-color: transparent;
    /* Remove white box if desired, or keep */
    border-left: none;
    /* Remove retro border */
    border-bottom: 2px solid var(--color-rose);
    /* Underline style */
    padding: 10px 0;
    margin: 3rem 0 1.5rem;
    box-shadow: none;
    font-family: var(--font-serif);
    font-weight: bold;
    letter-spacing: 0.1em;
    /* More stylish spacing */
}

.entry-content h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    border-bottom: 2px dashed var(--color-sage);
    padding-bottom: 8px;
    margin: 2.5rem 0 1rem;
    font-weight: 500;
}

.entry-content p {
    margin: 1.5rem 0;
    line-height: 1.9;
}


/* -------------------------------------------
   New Features Styling
------------------------------------------- */


/* TOC Box Style (Standard Box) */
.morandi-toc {
    background-color: #fff;
    border: 3px solid var(--color-beige-dark);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Closed State */
.morandi-toc.closed {
    padding-bottom: 0.5rem;
    /* Reduce padding when closed */
}

.morandi-toc.closed ul {
    display: none;
    /* Hide list */
}

.toc-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--color-beige);
    color: var(--color-text);
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.morandi-toc.closed .toc-title {
    border-bottom: none;
    /* remove separator when closed */
    margin-bottom: 0;
}

.toc-toggle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: normal;
    cursor: pointer;
}

.toc-toggle:hover {
    color: var(--color-rose);
}



/* -------------------------------------------
   Blog Card Styling (Internal Links)
------------------------------------------- */
.blog-card-link {
    text-decoration: none !important;
    display: block;
    margin: 2rem 0;
}

.blog-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--color-beige);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 140px;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    background-color: #fafafa;
}

/* Image (Left) */
.blog-card-image {
    width: 35%;
    /* Fixed width ratio */
    min-width: 120px;
    max-width: 200px;
    height: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
    /* Override content img margin */
    border-radius: 0 !important;
    /* Override content img radius */
    box-shadow: none !important;
    /* Override content img shadow */
}

.blog-card-image .blog-card-no-image {
    background-color: var(--color-beige);
    width: 100%;
    height: 100%;
}

/* Content (Right) */
.blog-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
    /* Fix flex text overflow */
}

.blog-card-title {
    font-size: 1rem !important;
    /* Ensure override */
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.4;
    color: var(--color-text);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.blog-card-site {
    font-size: 0.7rem;
    color: var(--color-sage);
    text-align: right;
    margin-top: auto;
}

@media (max-width: 480px) {
    .blog-card {
        height: auto;
        min-height: 120px;
    }

    .blog-card-image {
        width: 30%;
    }

    .blog-card-title {
        font-size: 0.95rem !important;
    }

    .blog-card-excerpt {
        -webkit-line-clamp: 1;
        /* Reduce lines on mobile */
    }
}



/* Enhanced Navigation */
.post-navigation-enhanced {
    margin: 4rem 0 2rem;
    /* More top margin to separate from comments */
    border-top: 1px solid var(--color-beige);
    padding-top: var(--spacing-lg);
}

.post-navigation-enhanced .nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-direction: column;
}

@media (min-width: 600px) {
    .post-navigation-enhanced .nav-links {
        flex-direction: row;
    }
}

/* -------------------------------------------
   Pagination Styling (Morandi Style)
------------------------------------------- */
.morandi-pagination {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.morandi-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.morandi-pagination .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background-color: #fff;
    border: 1px solid var(--color-beige);
    border-radius: 50%;
    /* Circle shape */
    color: var(--color-text-light);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.morandi-pagination .pagination a.page-numbers:hover {
    background-color: var(--color-beige);
    color: var(--color-text);
    border-color: var(--color-beige-dark);
}

.morandi-pagination .pagination .page-numbers.current {
    background-color: var(--color-sage);
    color: #fff;
    border-color: var(--color-sage);
}

.morandi-pagination .pagination .page-numbers.dots {
    background: transparent;
    border: none;
    min-width: 20px;
}

/* Previous/Next buttons specialized style */
.morandi-pagination .pagination .prev,
.morandi-pagination .pagination .next {
    border-radius: 20px;
    min-width: 100px;
    padding: 0 15px;
}

@media (max-width: 480px) {
    .morandi-pagination .pagination {
        gap: 5px;
    }

    .morandi-pagination .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .morandi-pagination .pagination .prev,
    .morandi-pagination .pagination .next {
        min-width: 80px;
    }
}

.post-navigation-enhanced a {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    background-color: #fff;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.post-navigation-enhanced a:hover {
    background-color: var(--color-bg);
}

.nav-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.nav-next {
    text-align: right;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-next .nav-content {
    justify-content: flex-end;
}

.nav-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.4;
}

/* Related Posts */
.related-posts {
    margin-bottom: 5rem;
    /* Space before comments */
    margin-top: var(--spacing-xl);
    border-top: 2px dashed var(--color-beige);
    padding-top: var(--spacing-lg);
}

/* TOC Items Styling */
.morandi-toc ul {
    list-style: decimal inside;
    /* Numbering 1. 2. 3... */
    color: var(--color-text);
    padding-left: 1rem;
}

.morandi-toc li {
    margin-bottom: 0.5rem;
}

.morandi-toc li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.morandi-toc li a:hover {
    color: var(--color-rose);
    text-decoration: underline;
}

.toc-item-h3 {
    margin-left: 1.5rem;
    /* Indent H3 */
    font-size: 0.95em;
    list-style-type: circle;
    /* Change marker for H3 if desired, or keep decimal */
}

.related-posts-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.related-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-image {
    height: 120px;
    width: 100%;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-image .no-image {
    width: 100%;
    height: 100%;
    background-color: var(--color-beige);
}

.related-title {
    font-size: 0.9rem;
    padding: 10px;
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}

/* Comments Section Styling */
.comments-area {
    margin-top: 4rem;
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
}

.comments-title {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--color-text);
}

.comment-list {
    margin-bottom: 3rem;
    padding: 0;
}

.comment-list .comment {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Comment Form Fields */
.comment-form-field {
    margin-bottom: 1.5rem;
}

.comment-form-field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 500;
}

.comment-form-field input[type="text"],
.comment-form-field input[type="email"],
.comment-form-field input[type="url"],
.comment-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-beige-dark);
    border-radius: var(--radius-md);
    background-color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    outline: none;
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px rgba(194, 158, 158, 0.1);
}

.submit-btn {
    background-color: var(--color-rose);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #ae8a8a;
    transform: translateY(-2px);
}

/* PR Disclosure Label */
.pr-disclosure {
    background-color: var(--color-beige);
    border: 1px solid var(--color-beige-dark);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pr-disclosure::before {
    content: 'PR';
    background-color: var(--color-rose);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

/* PR Disclosure Label Styles Update */
.pr-badge-meta {
    display: inline-block;
    background-color: transparent;
    color: var(--color-rose);
    border: 1px solid var(--color-rose);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 20px;
    /* Oval shape */
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* Post Category & PR Badge Wrapper */
.post-cat-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

/* PR Disclosure Label Styles Update */
.pr-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-rose);
    border: 1px solid var(--color-rose);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 20px;
    /* Oval shape */
    margin-left: 0;
    /* Managed by gap */
    margin-bottom: 0px;
    /* Managed by wrap container */
    vertical-align: top;
    line-height: 1;
    letter-spacing: 0.05em;
    width: auto;
    /* Ensure it doesn't stretch */
    height: 26px;
    /* Explicit height to match category */
}

/* Adjust category list to allow inline badges */
.post-cat {
    display: inline-block;
    /* Revert to inline-block to prevent full width */
    margin-bottom: 0;
    /* Managed by wrap container */
}


.post-cat a {
    margin-right: 0 !important;
    /* Use gap instead */
}

/* Morandi Markers */
.marker-yellow {
    background: linear-gradient(transparent 70%, #E8D5A9 0);
    display: inline;
}

.marker-rose {
    background: linear-gradient(transparent 70%, #C29E9E 0);
    display: inline;
}

.marker-blue {
    background: linear-gradient(transparent 70%, #ABC3C9 0);
    display: inline;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: #ccc;
}

.breadcrumbs a {
    color: #6a7d8c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #8fa3b3;
}

.breadcrumbs li[aria-current="page"] {
    color: #a5a5a5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 10px 0;
        font-size: 0.8rem;
    }
}