        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: #fff;
            color: #000;
            min-height: 100vh;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 999;
            opacity: 0.025;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
        }

        header {
            background: #fff;
            padding: 0 clamp(20px, 5vw, 80px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid #f0ddd8;
        }

        .header-logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.25rem;
            font-weight: 900;
            color: #e85d3f;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero {
            background: linear-gradient(.25turn, #ff3232, #F6922799);
            padding: 56px clamp(20px, 5vw, 80px) 48px;
            position: relative;
            overflow: hidden;
        }

        .hero::after {
            content: '';
            position: absolute;
            right: -60px;
            top: -60px;
            width: 380px;
            height: 380px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(232, 93, 63, 0.18) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-eyebrow {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 14px;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 900;
            color: #fff;
            line-height: 1.1;
            max-width: 560px;
        }

        .hero h1 em {
            font-style: italic;
        }

        .hero-sub {
            margin-top: 16px;
            color: #fff;
            font-size: 1rem;
            max-width: 420px;
            line-height: 1.6;
        }

        .hero-stats {
            display: flex;
            gap: 32px;
            margin-top: 32px;
            flex-wrap: wrap;
        }

        .stat {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .stat-num {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            line-height: 1;
        }

        .stat-label {
            font-size: 0.75rem;
            color: #fff;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .page {
            display: flex;
            gap: 28px;
            padding: 40px clamp(20px, 5vw, 80px) 80px;
            max-width: 1600px;
            margin: 0 auto;
            align-items: flex-start;
        }

        .blog-area {
            flex: 1 1 75%;
            min-width: 0;
        }

        .search-wrap {
            margin-bottom: 28px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 13px 20px 13px 46px;
            border: 1.5px solid #f0ddd8;
            border-radius: 40px;
            font-size: 0.9rem;
            font-family: 'DM Sans', sans-serif;
            background: #fff;
            color: #000;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 16px rgba(232, 93, 63, 0.08);
        }

        .search-input:focus {
            border-color: #e85d3f;
            box-shadow: 0 0 0 3px rgba(232, 93, 63, 0.12);
        }

        .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #e85d3f;
            pointer-events: none;
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .post-count-badge {
            background: #e85d3f;
            color: #fff;
            border-radius: 20px;
            padding: 4px 14px;
            font-size: 0.78rem;
            font-weight: 500;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 16px rgba(232, 93, 63, 0.08);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.35s cubic-bezier(.22, .68, 0, 1.2), box-shadow 0.35s ease;
            cursor: pointer;
            border: 1.5px solid #f0ddd8;
            animation: fadeUp 0.5s ease both;
        }

        .card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: 0 12px 40px rgba(232, 93, 63, 0.22);
            border-color: rgba(232, 93, 63, 0.3);
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card::before {
            content: '';
            display: block;
            height: 4px;
            background: linear-gradient(90deg, #e85d3f, #f0a058);
            flex-shrink: 0;
        }

        .card-img-wrap {
            position: relative;
            overflow: hidden;
            height: 180px;
        }

        .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            display: block;
        }

        .card:hover .card-img-wrap img {
            transform: scale(1.07);
        }

        .card-img-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(232, 93, 63, 0.55) 100%);
            opacity: 0;
            transition: opacity 0.35s ease;
            pointer-events: none;
        }

        .card:hover .card-img-wrap::after {
            opacity: 1;
        }

        .card-cat {
            position: absolute;
            top: 12px;
            left: 12px;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border-radius: 20px;
            padding: 4px 12px;
            color: #fff;
            background: #e85d3f;
            box-shadow: 0 2px 8px rgba(232, 93, 63, 0.4);
        }

        .card-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .card-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.35;
            color: #000;
            transition: color 0.2s;
        }

        .card:hover .card-title {
            color: #e85d3f;
        }

        .card-desc {
            font-size: 0.84rem;
            color: #888077;
            line-height: 1.6;
            flex: 1;
        }

        .card-read-more {
            font-size: 0.78rem;
            font-weight: 600;
            color: #e85d3f;
            display: flex;
            align-items: center;
            gap: 5px;
            opacity: 0;
            transform: translateX(-6px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .card:hover .card-read-more {
            opacity: 1;
            transform: translateX(0);
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 20px;
            border-top: 1.5px solid #f0ddd8;
            background: #fff4ef;
        }

        .author {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #e85d3f;
            box-shadow: 0 0 0 2px rgba(232, 93, 63, 0.15);
            background: #f0ddd8;
        }

        .author-name {
            font-size: 0.78rem;
            font-weight: 500;
        }

        .card-date {
            font-size: 0.72rem;
            color: #888077;
        }

        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 80px 20px;
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .empty-state.show {
            display: flex;
        }

        .empty-icon {
            color: #e85d3f;
            opacity: 0.5;
        }

        .empty-state p {
            color: #888077;
        }

        .card.hidden {
            display: none;
        }

        .sidebar {
            flex: 0 0 25%;
            min-width: 220px;
            position: sticky;
            top: 88px;
        }

        .sidebar-card {
            background: #fff;
            border-radius: 16px;
            border: 1.5px solid #f0ddd8;
            box-shadow: 0 2px 16px rgba(232, 93, 63, 0.08);
            overflow: hidden;
        }

        .sidebar-header {
            background: linear-gradient(135deg, #e85d3f, #c44a2d);
            padding: 18px 22px;
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cat-list {
            padding: 10px 0;
            list-style: none;
        }

        .cat-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 13px 22px;
            cursor: pointer;
            transition: background 0.2s, padding-left 0.25s;
            border-left: 3px solid transparent;
            user-select: none;
        }

        .cat-item:hover {
            background: #fff4ef;
            padding-left: 28px;
        }

        .cat-item.active {
            background: #fde8e3;
            border-left-color: #e85d3f;
            padding-left: 28px;
        }

        .cat-name {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .cat-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
            background: #e85d3f;
        }

        .cat-count {
            background: #f0ddd8;
            color: #888077;
            border-radius: 20px;
            padding: 2px 10px;
            font-size: 0.75rem;
            font-weight: 600;
            min-width: 32px;
            text-align: center;
        }

        .cat-item.active .cat-count {
            background: #e85d3f;
            color: #fff;
        }

        .sidebar-divider {
            height: 1px;
            background: #f0ddd8;
            margin: 6px 0;
        }

        .sidebar-note {
            padding: 14px 22px 18px;
            font-size: 0.78rem;
            color: #888077;
            line-height: 1.6;
        }

        .sidebar-note strong {
            color: #e85d3f;
        }

        #articleView {
            display: none;
        }

        #articleView.active {
            display: block;
        }

        #gridView.hidden {
            display: none;
        }

        .article-page {
            display: flex;
            gap: 28px;
            padding: 40px clamp(20px, 5vw, 80px) 80px;
            max-width: 1600px;
            margin: 0 auto;
            align-items: flex-start;
        }

        .article-main {
            flex: 1 1 72%;
            min-width: 0;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: 1.5px solid #f0ddd8;
            border-radius: 40px;
            padding: 9px 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #e85d3f;
            cursor: pointer;
            margin-bottom: 28px;
            transition: background 0.2s, border-color 0.2s;
            font-family: 'DM Sans', sans-serif;
        }

        .back-btn:hover {
            background: #fff4ef;
            border-color: #e85d3f;
        }

        .article-hero-img {
            width: 100%;
            height: 340px;
            object-fit: cover;
            border-radius: 20px;
            margin-bottom: 32px;
            display: block;
        }

        .article-cat-badge {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            background: #e85d3f;
            color: #fff;
            border-radius: 20px;
            padding: 5px 14px;
            margin-bottom: 16px;
        }

        .article-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.6rem, 4vw, 2.6rem);
            font-weight: 900;
            line-height: 1.15;
            margin-bottom: 20px;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .article-author {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .article-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid #e85d3f;
            background: #f0ddd8;
        }

        .article-author-name {
            font-size: 0.88rem;
            font-weight: 600;
        }

        .article-date {
            font-size: 0.82rem;
            color: #888077;
        }

        .article-read-time {
            font-size: 0.82rem;
            color: #888077;
            background: #f0ddd8;
            border-radius: 20px;
            padding: 3px 12px;
        }

        .action-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .action-bar.bottom {
            margin-top: 40px;
            margin-bottom: 0;
            padding-top: 32px;
            border-top: 1.5px solid #f0ddd8;
        }

        .like-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1.5px solid #f0ddd8;
            border-radius: 40px;
            padding: 10px 20px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #888077;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'DM Sans', sans-serif;
            user-select: none;
        }

        .like-btn:hover {
            border-color: #e85d3f;
            color: #e85d3f;
            background: #fff4ef;
        }

        .like-btn.liked {
            background: #fde8e3;
            border-color: #e85d3f;
            color: #e85d3f;
        }

        .like-btn .heart-icon {
            display: inline-flex;
            align-items: center;
            line-height: 1;
        }

        @keyframes heartPop {
            0% {
                transform: scale(1);
            }

            40% {
                transform: scale(1.55);
            }

            100% {
                transform: scale(1.3);
            }
        }

        .like-btn.pop .heart-icon {
            animation: heartPop 0.3s ease forwards;
        }

        .share-wrap {
            position: relative;
        }

        .share-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1.5px solid #f0ddd8;
            border-radius: 40px;
            padding: 10px 20px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #888077;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'DM Sans', sans-serif;
        }

        .share-btn:hover {
            border-color: #e85d3f;
            color: #e85d3f;
            background: #fff4ef;
        }

        .share-dropdown {
            position: absolute;
            bottom: calc(100% + 8px);
            left: 0;
            background: #fff;
            border: 1.5px solid #f0ddd8;
            border-radius: 14px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            padding: 8px;
            min-width: 190px;
            display: none;
            z-index: 50;
            flex-direction: column;
            gap: 2px;
        }

        .share-dropdown.open {
            display: flex;
        }

        .share-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.15s;
            border: none;
            background: none;
            font-family: 'DM Sans', sans-serif;
            width: 100%;
            text-align: left;
            color: #000;
        }

        .share-option:hover {
            background: #fff4ef;
            color: #e85d3f;
        }

        .share-option svg {
            flex-shrink: 0;
        }

        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: #111;
            color: #fff;
            border-radius: 40px;
            padding: 12px 24px;
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            z-index: 1000;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .article-body {
            font-size: 1.02rem;
            line-height: 1.85;
            color: #2a2a2a;
        }

        .article-body p {
            margin-bottom: 20px;
        }

        .article-body h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.45rem;
            font-weight: 700;
            margin: 36px 0 14px;
            color: #000;
        }

        .article-body h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.15rem;
            font-weight: 700;
            margin: 28px 0 10px;
        }

        .article-body blockquote {
            border-left: 4px solid #e85d3f;
            padding: 16px 24px;
            background: #fff4ef;
            border-radius: 0 12px 12px 0;
            margin: 28px 0;
            font-style: italic;
            font-size: 1.05rem;
            color: #444;
            line-height: 1.7;
        }

        .article-body ul {
            padding-left: 24px;
            margin-bottom: 20px;
        }

        .article-body li {
            margin-bottom: 8px;
        }

        .article-sidebar {
            flex: 0 0 25%;
            min-width: 220px;
            position: sticky;
            top: 88px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .other-posts-card {
            background: #fff;
            border-radius: 16px;
            border: 1.5px solid #f0ddd8;
            box-shadow: 0 2px 16px rgba(232, 93, 63, 0.08);
            overflow: hidden;
        }

        .other-posts-header {
            background: linear-gradient(135deg, #e85d3f, #c44a2d);
            padding: 16px 20px;
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
        }

        .other-post-item {
            display: flex;
            gap: 12px;
            padding: 14px 16px;
            border-bottom: 1px solid #f0ddd8;
            cursor: pointer;
            transition: background 0.2s;
        }

        .other-post-item:last-child {
            border-bottom: none;
        }

        .other-post-item:hover {
            background: #fff4ef;
        }

        .other-post-thumb {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .other-post-info {
            flex: 1;
            min-width: 0;
        }

        .other-post-cat {
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #e85d3f;
            margin-bottom: 4px;
        }

        .other-post-title {
            font-family: 'Playfair Display', serif;
            font-size: 0.82rem;
            font-weight: 700;
            line-height: 1.3;
            color: #000;
        }

        .other-post-item:hover .other-post-title {
            color: #e85d3f;
        }

        @media (max-width: 1100px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 860px) {

            .page,
            .article-page {
                flex-direction: column;
                padding-top: 28px;
            }

            .sidebar,
            .article-sidebar {
                position: static;
                flex: none;
                width: 100%;
                min-width: 0;
            }

            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .share-dropdown {
                bottom: auto;
                top: calc(100% + 8px);
            }
        }

        @media (max-width: 560px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }

            .hero h1 {
                font-size: 1.8rem;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(16px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-enter {
            animation: fadeIn 0.4s ease forwards;
        }