.ham-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 3px;
}

.ham-btn span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-drawer {
    background: #0d0d0d;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.mobile-drawer.open {
    max-height: 400px;
}

.mobile-drawer a {
    display: block;
    color: #aaa;
    padding: 12px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #1c1c1c;
}

.mobile-drawer a:hover {
    color: #fff;
    background: #1a1a1a;
}

@media (max-width: 767px) {
    .nav-main-links {
        display: none;
    }

    .ham-btn {
        display: flex;
    }
}

.brand-name {
    font-family: "Samarkan Normal", "PT Serif", serif;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    color: var(--primary-maroon);
    letter-spacing: 0.04em;
    line-height: 1;
    display: block;
}

.brand-tagline {
    font-family: var(--font-editorial);
    font-style: italic;
    color: var(--primary-brown);
    font-size: var(--fs-body-sm);
    letter-spacing: 0.03em;
    margin-top: 5px;
    display: block;
}

.divider-ornament {
    margin: 9px 0 0;
    color: var(--primary-brown);
    font-size: 0.8rem;
    letter-spacing: 10px;
    opacity: 0.4;
}

.breadcrumb-section {
    background: var(--bg-cream);
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-brown);
    font-size: var(--fs-body-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    color: var(--primary-maroon);
}

.breadcrumb-item.active {
    color: var(--text-black);
    font-size: var(--fs-body-xs);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding-top: 3px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-brown);
    content: "⟩";
}

.blog-hero {
    overflow: hidden;
    background: #111;
    line-height: 0;
}

.blog-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.7s ease;
}

.blog-hero:hover .blog-hero-img {
    transform: scale(1.015);
}

@media (max-width: 768px) {
    .blog-hero-img {
        height: 260px;
        object-position: center center;
    }
}

@media (min-width: 1400px) {
    .blog-hero-img {
        height: 560px;
    }
}

.article-body {
    background: var(--bg-white);
    padding-bottom: 56px;
}

.article-header {
    padding: 36px 0 0;
}

.blog-category-badge {
    display: inline-block;
    background: var(--bg-cream);
    color: var(--primary-maroon);
    font-size: var(--fs-body-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 14px;
    border: 1px solid var(--border-dark);
    margin-bottom: 16px;
}

.article-title {
    font-family: var(--font-editorial);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 28px;
}

.article-meta span {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
}

.article-meta .dot {
    color: var(--border-dark);
}

.article-meta .author {
    color: var(--primary-brown);
    font-weight: 500;
}

/* Article content */
.article-content p {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body-loose);
    margin-bottom: 1.4rem;
}

.article-content h2 {
    font-family: var(--font-editorial);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--primary-maroon);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
    border-left: 3px solid var(--primary-maroon);
    padding-left: 14px;
}

.article-content h3 {
    font-family: var(--font-editorial);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--primary-brown);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
}

.article-content blockquote {
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-maroon);
    margin: 1.8rem 0;
    padding: 18px 24px;
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: var(--fs-body-xl);
    color: var(--primary-maroon);
    line-height: 1.6;
}

.article-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: var(--fs-body-sm);
    font-style: normal;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.article-content li {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body-loose);
    margin-bottom: 6px;
}

.article-inline-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 30%;
    margin: 24px 0 8px;
    display: block;
}

.img-caption {
    text-align: center;
    font-size: var(--fs-body-xs);
    color: var(--text-light);
    letter-spacing: var(--ls-body-wide);
    margin-bottom: 24px;
    font-style: italic;
}

/* Tags */
.article-tags {
    margin-top: 28px;
}

.tag-label {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-right: 6px;
}

.tag-pill {
    display: inline-block;
    background: var(--bg-light);
    border: 1px solid var(--border-dark);
    color: var(--primary-brown);
    font-size: var(--fs-body-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    margin: 3px 3px 3px 0;
    transition: all 0.2s;
}

.tag-pill:hover {
    background: var(--primary-brown);
    color: #fff;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.share-label {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    font-size: var(--fs-body-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--border-dark);
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

.share-btn.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.share-btn.wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.share-btn.ig:hover {
    background: #c13584;
    border-color: #c13584;
    color: #fff;
}

.sidebar {
    padding-left: 0;
    margin-top: 36px;
}

@media (min-width: 992px) {
    .sidebar {
        padding-left: 30px;
        margin-top: 36px;
    }
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 24px 20px;
    margin-bottom: 22px;
}

.widget-title {
    font-family: var(--font-primary);
    font-size: var(--fs-body-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary-maroon);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-cream);
}

.about-widget-img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-cream);
    margin: 0 auto 12px;
    display: block;
}

.about-widget p {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 66px;
    height: 66px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-info {
    flex: 1;
}

.recent-post-title {
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.recent-post-title:hover {
    color: var(--primary-maroon);
}

.recent-post-date {
    font-size: var(--fs-body-xs);
    color: var(--text-light);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-dark);
    font-size: var(--fs-body-sm);
    transition: color 0.2s;
}

.category-list a:hover {
    color: var(--primary-maroon);
}

.category-count {
    background: var(--bg-cream);
    color: var(--primary-brown);
    font-size: var(--fs-body-xs);
    font-weight: 600;
    padding: 2px 8px;
    border: 1px solid var(--border-dark);
}

.newsletter-widget {
    background: var(--bg-cream);
    border: 1px solid var(--border-dark);
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 22px;
}

.newsletter-widget .widget-title {
    color: var(--primary-brown);
    border-color: var(--border-dark);
}

.newsletter-widget p {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    margin-bottom: 14px;
}

.newsletter-input {
    width: 100%;
    border: 1px solid var(--border-dark);
    background: var(--bg-white);
    padding: 10px 14px;
    font-size: var(--fs-body-sm);
    font-family: var(--font-body);
    outline: none;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.newsletter-input:focus {
    border-color: var(--primary-brown);
}

.btn-subscribe {
    width: 100%;
    background: var(--btn-primary-bg);
    color: #fff;
    border: none;
    padding: 11px;
    font-size: var(--fs-body-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.btn-subscribe:hover {
    background: var(--primary-brown);
}

.product-card-mini {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.product-card-mini:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-thumb-mini {
    width: 60px;
    height: 76px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-info-mini {
    flex: 1;
}

.product-name-mini {
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
    display: block;
    transition: color 0.2s;
}

.product-name-mini:hover {
    color: var(--primary-maroon);
}

.product-price-mini {
    font-size: var(--fs-body-sm);
    color: var(--primary-maroon);
    font-weight: 600;
}

.related-section {
    background: var(--bg-cream);
    padding: 52px 0 64px;
    border-top: 1px solid var(--border-light);
}

.section-label {
    font-family: var(--font-primary);
    font-size: var(--fs-body-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-maroon);
    text-align: center;
    margin-bottom: 6px;
}

.ornament-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.ornament-row::before,
.ornament-row::after {
    content: "";
    flex: 1;
    max-width: 70px;
    height: 1px;
    background: var(--border-dark);
}

.ornament-row span {
    color: var(--primary-brown);
    font-size: 0.78rem;
    letter-spacing: 6px;
    opacity: 0.7;
}

.related-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-card-img-wrap {
    overflow: hidden;
    flex-shrink: 0;
}

.related-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-img {
    transform: scale(1.07);
}

.related-card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card-cat {
    font-size: var(--fs-body-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-maroon);
    margin-bottom: 7px;
}

.related-card-title {
    font-family: var(--font-editorial);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 10px;
    display: block;
    transition: color 0.2s;
    flex: 1;
}

.related-card-title:hover {
    color: var(--primary-maroon);
}

.related-card-date {
    font-size: var(--fs-body-xs);
    color: var(--text-light);
}
