:root {
    --tp-blog-ink: #252721;
    --tp-blog-muted: #73786c;
    --tp-blog-line: #e3e7dc;
    --tp-blog-paper: #f6f7f2;
    --tp-blog-card: #fff;
    --tp-blog-accent: #a6bc32;
    --tp-blog-accent-dark: #596b12;
    --tp-blog-soft: #edf2d7;
}

.tp-blog-page {
    background: var(--tp-blog-paper);
    color: var(--tp-blog-ink);
    min-height: 60vh;
    padding: 0 0 96px;
}

.tp-blog-container {
    max-width: 1440px;
    padding-left: 40px;
    padding-right: 40px;
}

.tp-blog-landing-head {
    border-bottom: 1px solid var(--tp-blog-line);
    padding: 74px 0 36px;
}

.tp-blog-kicker,
.tp-blog-post__meta,
.tp-article-card__meta,
.tp-blog-related__head > span {
    color: var(--tp-blog-accent-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tp-blog-landing-head h1 {
    font-size: clamp(46px, 6vw, 86px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
    margin: 16px 0 24px;
    max-width: 980px;
}

.tp-blog-landing-head > p {
    color: #51554d;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
    margin: 0;
    max-width: 820px;
}

.tp-blog-toolbar {
    align-items: flex-end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-top: 46px;
}

.tp-blog-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tp-blog-chip {
    background: transparent;
    border: 1px solid #bbc1b3;
    border-radius: 999px;
    color: var(--tp-blog-ink);
    display: inline-flex;
    font-size: 14px;
    line-height: 1;
    padding: 12px 18px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.tp-blog-chip:hover,
.tp-blog-chip.is-active {
    background: var(--tp-blog-ink);
    border-color: var(--tp-blog-ink);
    color: #fff;
}

.tp-blog-search {
    flex: 0 0 290px;
    position: relative;
}

.tp-blog-search__label {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
}

.tp-blog-search input {
    background: #fff;
    border: 1px solid var(--tp-blog-line);
    border-radius: 16px;
    box-sizing: border-box;
    color: var(--tp-blog-ink);
    font: inherit;
    height: 50px;
    padding: 0 52px 0 18px;
    width: 100%;
}

.tp-blog-search input:focus {
    border-color: var(--tp-blog-accent-dark);
    box-shadow: 0 0 0 3px rgba(166, 188, 50, .18);
    outline: 0;
}

.tp-blog-search button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 4px;
    top: 0;
    width: 46px;
}

.tp-blog-search svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
    width: 21px;
}

.tp-blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.tp-article-card {
    background: var(--tp-blog-card);
    border: 1px solid var(--tp-blog-line);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .25s ease, transform .25s ease;
}

.tp-article-card:hover {
    box-shadow: 0 18px 50px rgba(42, 48, 29, .1);
    transform: translateY(-4px);
}

.tp-article-card--featured {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr);
    min-height: 560px;
}

.tp-article-card__media {
    background: #dfe8bb;
    display: block;
    min-height: 250px;
    overflow: hidden;
    position: relative;
}

.tp-article-card__media img {
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    width: 100%;
}

.tp-article-card:hover .tp-article-card__media img {
    transform: scale(1.035);
}

.tp-article-card__pattern {
    background:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,.8) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 62%, rgba(255,255,255,.55) 0 3px, transparent 4px),
        linear-gradient(135deg, #d8e3a8, #9caf39 52%, #516313);
    inset: 0;
    position: absolute;
}

.tp-article-card__pattern::after {
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    content: "茶";
    color: rgba(255,255,255,.86);
    display: grid;
    font-family: serif;
    font-size: 90px;
    height: 190px;
    left: 50%;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
}

.tp-article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.tp-article-card--featured .tp-article-card__body {
    justify-content: center;
    padding: clamp(34px, 5vw, 68px);
}

.tp-article-card__meta,
.tp-blog-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    letter-spacing: .06em;
}

.tp-article-card__meta > * + *::before,
.tp-blog-post__meta > * + *::before {
    color: #a8ad9f;
    content: "•";
    margin-right: 16px;
}

.tp-article-card h2 {
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.18;
    margin: 20px 0 14px;
}

.tp-article-card--featured h2 {
    display: -webkit-box;
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.04;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.tp-article-card h2 a {
    color: inherit;
}

.tp-article-card__excerpt {
    color: var(--tp-blog-muted);
    display: -webkit-box;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tp-article-card--featured .tp-article-card__excerpt {
    font-size: 17px;
    max-width: 560px;
}

.tp-article-card__more {
    align-items: center;
    color: var(--tp-blog-ink);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
}

.tp-article-card__more span {
    font-size: 18px;
    transition: transform .2s ease;
}

.tp-article-card:hover .tp-article-card__more span {
    transform: translate(3px, -3px);
}

.tp-blog-pagination {
    justify-content: center;
    margin-top: 54px;
}

.tp-blog-post__header {
    margin: 0 auto;
    max-width: 1160px;
    padding: 54px 0 48px;
    text-align: center;
}

.tp-blog-post__back {
    align-items: center;
    color: var(--tp-blog-muted);
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
    margin-bottom: 56px;
}

.tp-blog-post__back:hover {
    color: var(--tp-blog-accent-dark);
}

.tp-blog-post__meta {
    justify-content: center;
}

.tp-blog-post__header h1 {
    font-size: clamp(44px, 6.3vw, 86px);
    font-weight: 500;
    letter-spacing: -.052em;
    line-height: .99;
    margin: 24px auto 0;
    max-width: 1120px;
    text-wrap: balance;
}

.tp-blog-post__article {
    margin: 0 auto;
    max-width: 1180px;
}

.tp-blog-post__cover {
    border-radius: 28px;
    margin: 0 auto 64px;
    max-height: 720px;
    overflow: hidden;
}

.tp-blog-post__cover img {
    display: block;
    height: auto;
    max-height: 720px;
    object-fit: cover;
    width: 100%;
}

.tp-blog-content,
.tp-blog-post__before,
.tp-blog-post__after,
.tp-blog-comments {
    margin-left: auto;
    margin-right: auto;
    max-width: 780px;
}

.tp-blog-content {
    color: #33362f;
    font-size: 18px;
    line-height: 1.78;
}

.tp-blog-content > :first-child {
    margin-top: 0;
}

.tp-blog-content p {
    margin: 0 0 1.55em;
}

.tp-blog-content h2,
.tp-blog-content h3,
.tp-blog-content h4 {
    color: var(--tp-blog-ink);
    font-weight: 500;
    letter-spacing: -.025em;
}

.tp-blog-content h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    margin: 1.75em 0 .7em;
}

.tp-blog-content h3 {
    font-size: 27px;
    line-height: 1.25;
    margin: 1.7em 0 .65em;
}

.tp-blog-content a:not(.tp-blog-product) {
    color: var(--tp-blog-accent-dark);
    text-decoration: underline;
    text-decoration-color: rgba(89,107,18,.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.tp-blog-content blockquote {
    background: var(--tp-blog-soft);
    border: 0;
    border-radius: 22px;
    color: #37400f;
    font-size: 23px;
    line-height: 1.48;
    margin: 2em 0;
    padding: 30px 34px;
}

.tp-blog-content img,
.tp-blog-content video,
.tp-blog-content iframe {
    border-radius: 22px;
    height: auto;
    max-width: 100%;
}

.tp-blog-content table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.tp-blog-content th,
.tp-blog-content td {
    min-width: 96px;
}

.tp-blog-content pre,
.tp-blog-content code {
    overflow-wrap: anywhere;
}

.tp-blog-content pre {
    max-width: 100%;
    overflow-x: auto;
}

.tp-blog-content figure {
    margin: 2.3em 0;
}

.tp-blog-content figcaption {
    color: var(--tp-blog-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
}

.tp-blog-products {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 54px 50%;
    max-width: 1080px;
    transform: translateX(-50%);
    width: min(1080px, calc(100vw - 80px));
}

.tp-blog-products__title {
    font-size: 13px;
    font-weight: 600;
    grid-column: 1 / -1;
    letter-spacing: .12em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tp-blog-product {
    align-items: center;
    background: #fff;
    border: 1px solid var(--tp-blog-line);
    border-radius: 22px;
    color: var(--tp-blog-ink);
    display: grid;
    gap: 20px;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
    overflow: hidden;
    padding: 18px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tp-blog-product:hover {
    border-color: #c8d485;
    box-shadow: 0 14px 36px rgba(45, 52, 28, .1);
    color: var(--tp-blog-ink);
    transform: translateY(-3px);
}

.tp-blog-product__image {
    align-items: center;
    align-self: stretch;
    background: #f4f5ef;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
}

.tp-blog-product__image img {
    border-radius: 0;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.tp-blog-product__placeholder {
    color: #9aaa42;
    font-family: serif;
    font-size: 58px;
}

.tp-blog-product__name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
}

.tp-blog-product__price {
    display: block;
    font-size: 21px;
    font-weight: 600;
    margin-top: 14px;
}

.tp-blog-product__cta {
    color: var(--tp-blog-accent-dark);
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 11px;
}

.tp-blog-related {
    border-top: 1px solid var(--tp-blog-line);
    margin-top: 96px;
    padding-top: 52px;
}

.tp-blog-related__head h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
    margin: 10px 0 0;
}

.tp-blog-empty {
    background: #fff;
    border: 1px solid var(--tp-blog-line);
    border-radius: 24px;
    grid-column: 1 / -1;
    padding: 54px;
    text-align: center;
}

@media (max-width: 1100px) {
    .tp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-article-card--featured { grid-template-columns: 1.2fr 1fr; }
    .tp-blog-products { width: min(900px, calc(100vw - 48px)); }
}

@media (max-width: 767px) {
    .tp-blog-page { padding-bottom: 64px; }
    .tp-blog-container { padding-left: 16px; padding-right: 16px; }
    .tp-blog-landing-head { padding: 42px 0 26px; }
    .tp-blog-landing-head h1 { font-size: 46px; }
    .tp-blog-toolbar { align-items: stretch; flex-direction: column; margin-top: 32px; }
    .tp-blog-topics { flex-wrap: nowrap; margin: 0 -16px; overflow-x: auto; padding: 0 16px 8px; }
    .tp-blog-chip { flex: 0 0 auto; }
    .tp-blog-search { flex: auto; }
    .tp-blog-grid { gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
    .tp-article-card,
    .tp-article-card--featured { display: flex; grid-column: auto; min-height: 0; }
    .tp-article-card__media { min-height: 230px; }
    .tp-article-card__body,
    .tp-article-card--featured .tp-article-card__body { padding: 24px; }
    .tp-article-card--featured h2 { font-size: 34px; }
    .tp-blog-post__header { padding: 28px 0 34px; }
    .tp-blog-post__back { margin-bottom: 34px; }
    .tp-blog-post__header h1 { font-size: 42px; }
    .tp-blog-content { font-size: 17px; line-height: 1.72; }
    .tp-blog-content blockquote { font-size: 20px; margin-left: 0; margin-right: 0; padding: 24px; }
    .tp-blog-products { grid-template-columns: 1fr; margin-bottom: 38px; margin-top: 38px; width: calc(100vw - 32px); }
    .tp-blog-product { grid-template-columns: 108px minmax(0, 1fr); min-height: 142px; padding: 12px; }
    .tp-blog-product__image { min-height: 108px; }
    .tp-blog-product__name { font-size: 16px; }
    .tp-blog-related { margin-top: 68px; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-article-card,
    .tp-article-card__media img,
    .tp-blog-product { transition: none; }
}

/* Shared editorial surfaces for pages, galleries, comments and related content. */
.tp-blog-post__lede {
    color: #5c6253;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.5;
    margin: 28px auto 0;
    max-width: 760px;
}

.tp-blog-related {
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    padding-left: 40px;
    padding-right: 40px;
}

.tp-blog-related__container {
    max-width: 1180px;
    margin: 0 auto;
}

.tp-blog-related .tp-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.tp-article-card--compact {
    min-height: 390px;
}

.tp-article-card--compact .tp-article-card__media {
    min-height: 180px;
}

.tp-article-card--compact .tp-article-card__body {
    padding: 22px;
}

.tp-article-card--compact h2 {
    font-size: 22px;
    margin-top: 14px;
}

.tp-blog-page-view {
    margin: 0 auto;
    max-width: 980px;
    padding: 58px 0 40px;
}

.tp-blog-page-view__back {
    align-items: center;
    color: var(--tp-blog-muted);
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
    margin-bottom: 48px;
}

.tp-blog-page-view__back:hover { color: var(--tp-blog-accent-dark); }

.tp-blog-page-view h1 {
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1;
    margin: 18px 0 34px;
    max-width: 900px;
}

.tp-blog-page-view__nav {
    border-bottom: 1px solid var(--tp-blog-line);
    border-top: 1px solid var(--tp-blog-line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 58px;
    padding: 16px 0;
}

.tp-blog-page-view__nav a {
    color: var(--tp-blog-accent-dark);
    font-size: 14px;
    font-weight: 600;
}

.tp-blog-page-content {
    margin-left: auto;
    margin-right: auto;
}

.tp-blog-gallery {
    margin: 76px auto 0;
    max-width: 980px;
}

.tp-blog-gallery__head {
    margin-bottom: 24px;
}

.tp-blog-gallery__head h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 10px 0 0;
}

.tp-blog-gallery__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-blog-gallery__item {
    background: #e9ecdf;
    border-radius: 18px;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.tp-blog-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    width: 100%;
}

.tp-blog-gallery__item:hover img { transform: scale(1.045); }

.tp-blog-comments-list {
    border-top: 1px solid var(--tp-blog-line);
    margin-top: 86px;
    padding-top: 42px;
}

.tp-blog-comments-list__head h2 {
    color: var(--tp-blog-ink);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.03em;
    margin: 8px 0 26px;
}

.tp-blog-comments-list > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-blog-comments-list li { list-style: none; }

.tp-blog-comment {
    border-bottom: 1px solid var(--tp-blog-line);
    padding: 20px 0;
}

.tp-blog-comment .review__top {
    align-items: center;
    display: flex;
    gap: 14px;
}

.tp-blog-comment .review__top-arrow {
    align-items: center;
    display: flex;
    justify-content: center;
    order: 3;
}

.tp-blog-comment .review__top-arrow svg { height: 12px; width: 18px; }

.tp-blog-comment .review__top-left {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 12px;
}

.tp-blog-comment .review__avatar {
    align-items: center;
    background: var(--tp-blog-soft);
    border-radius: 50%;
    color: var(--tp-blog-accent-dark);
    display: flex;
    flex: 0 0 42px;
    font-size: 14px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    text-transform: uppercase;
    width: 42px;
}

.tp-blog-comment .review__name { color: var(--tp-blog-ink); font-size: 16px; font-weight: 600; }
.tp-blog-comment .review__staff { color: var(--tp-blog-accent-dark); font-size: 12px; margin-top: 3px; }
.tp-blog-comment .review__date { color: var(--tp-blog-muted); font-size: 13px; }
.tp-blog-comment .review__bottom { color: #44483e; font-size: 16px; line-height: 1.65; padding: 14px 0 0 54px; }

.tp-blog-comment-form {
    background: #fff;
    border: 1px solid var(--tp-blog-line);
    border-radius: 22px;
    margin-top: 34px;
    padding: 28px;
}

.tp-blog-comment-form h4 {
    color: var(--tp-blog-ink);
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 20px;
}

.tp-blog-comment-form .wa-field { margin: 0 0 16px; }
.tp-blog-comment-form .wa-name { color: var(--tp-blog-muted); font-size: 13px; margin-bottom: 7px; }
.tp-blog-comment-form input[type="text"],
.tp-blog-comment-form textarea {
    background: #fafbf8;
    border: 1px solid var(--tp-blog-line);
    border-radius: 12px;
    box-sizing: border-box;
    color: var(--tp-blog-ink);
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.tp-blog-comment-form textarea { min-height: 150px; resize: vertical; }
.tp-blog-comment-form input:focus,
.tp-blog-comment-form textarea:focus { border-color: var(--tp-blog-accent-dark); box-shadow: 0 0 0 3px rgba(166,188,50,.16); outline: 0; }
.tp-blog-comment-form input[type="submit"],
.tp-blog-button { background: var(--tp-blog-ink); border: 0; border-radius: 999px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-size: 14px; font-weight: 600; padding: 13px 20px; }
.tp-blog-comment-form input[type="submit"]:hover,
.tp-blog-button:hover { background: var(--tp-blog-accent-dark); color: #fff; }

.tp-blog-error {
    margin: 0 auto;
    max-width: 780px;
    padding: 130px 0 160px;
    text-align: center;
}

.tp-blog-error h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 18px auto; }
.tp-blog-error p { color: var(--tp-blog-muted); font-size: 18px; margin: 0 auto 28px; }
.tp-blog-error__code { color: var(--tp-blog-accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .12em; }

@media (max-width: 767px) {
    .tp-blog-related { padding-left: 16px; padding-right: 16px; }
    .tp-blog-related .tp-blog-grid { grid-template-columns: 1fr; }
    .tp-blog-page-view { padding: 34px 0 20px; }
    .tp-blog-page-view__back { margin-bottom: 34px; }
    .tp-blog-page-view h1 { font-size: 43px; margin-bottom: 26px; }
    .tp-blog-page-view__nav { margin-bottom: 38px; }
    .tp-blog-gallery { margin-top: 52px; }
    .tp-blog-gallery__grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-blog-comment-form { border-radius: 16px; padding: 20px; }
    .tp-blog-comment .review__bottom { padding-left: 0; }
    .tp-blog-error { padding: 90px 16px 120px; }
}
