/* BEE Blog – inherits the theme font; colours driven by --bee-accent */
.bee-blog {
	--bee-accent: #e8a317;
	--bee-ink: #1f1f1f;
	--bee-muted: #6b6b6b;
	--bee-line: #ececec;
	--bee-soft: #f7f6f3;
	--bee-radius: 14px;
	color: var(--bee-ink);
}
.bee-blog *, .bee-blog *::before, .bee-blog *::after { box-sizing: border-box; }
.bee-blog img { max-width: 100%; height: auto; }
.bee-blog a { color: inherit; }

/* ---------- Head + search ---------- */
.bee-blog__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 8px 0 24px; }
.bee-blog__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.bee-blog__intro { color: var(--bee-muted); font-size: 16px; line-height: 1.6; max-width: 640px; margin: 0; }
.bee-blog__cover { margin: 0 0 24px; border-radius: var(--bee-radius); overflow: hidden; }
.bee-blog__cover img { display: block; width: 100%; }
.bee-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--bee-line); border-radius: 999px; padding: 4px 4px 4px 16px; min-width: 260px; flex: 0 1 320px; transition: border-color .2s; }
.bee-search:focus-within { border-color: var(--bee-accent); }
.bee-search input { border: 0; outline: 0; background: transparent; flex: 1; font: inherit; font-size: 14px; min-width: 0; padding: 6px 0; }
.bee-search button { border: 0; background: var(--bee-accent); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }

/* ---------- Pills ---------- */
.bee-pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; margin: 0 0 24px; scrollbar-width: none; }
.bee-pills::-webkit-scrollbar { display: none; }
.bee-pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--bee-soft); font-size: 14px; font-weight: 500; text-decoration: none !important; transition: background .2s, color .2s; }
.bee-pill span { font-size: 12px; opacity: .55; }
.bee-pill:hover { background: #eeebe4; }
.bee-pill.is-active { background: var(--bee-ink); color: #fff !important; }
.bee-pill--sm { padding: 5px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: transparent; border: 1px solid var(--bee-accent); color: var(--bee-ink); }
.bee-pill--sm:hover { background: var(--bee-accent); color: #fff !important; }

/* ---------- Meta / badge ---------- */
.bee-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--bee-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.bee-meta__cat { color: var(--bee-accent); font-weight: 700; }
.bee-badge { display: inline-block; background: var(--bee-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.bee-badge--float { position: absolute; top: 12px; left: 12px; }

/* ---------- Hero ---------- */
.bee-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--bee-soft); border-radius: var(--bee-radius); overflow: hidden; margin: 0 0 32px; }
.bee-hero__media { display: block; min-height: 300px; position: relative; }
.bee-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bee-hero:hover .bee-hero__media img { transform: scale(1.03); }
.bee-hero__body { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.bee-hero__title { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
.bee-hero__title a { text-decoration: none !important; }
.bee-hero__excerpt { color: #444; font-size: 16px; line-height: 1.6; margin: 0 0 20px; }

/* ---------- Grid + cards ---------- */
.bee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; margin-bottom: 32px; }
.bee-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--bee-radius); overflow: hidden; border: 1px solid var(--bee-line); transition: box-shadow .25s, transform .25s; }
.bee-card:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .08); transform: translateY(-3px); }
.bee-card__media { display: block; position: relative; aspect-ratio: 16 / 10.5; background: var(--bee-soft); overflow: hidden; }
.bee-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bee-card:hover .bee-card__media img { transform: scale(1.04); }
.bee-noimg { display: block; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--bee-soft), #ebe6da); }
.bee-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bee-card__title { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; }
.bee-card__title a { text-decoration: none !important; background-image: linear-gradient(var(--bee-accent), var(--bee-accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.bee-card:hover .bee-card__title a, .bee-hero:hover .bee-hero__title a { background-size: 100% 2px; }
.bee-card__excerpt { color: #555; font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.bee-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--bee-muted); }
.bee-more { font-weight: 600; color: var(--bee-ink) !important; text-decoration: none !important; }
.bee-more span { display: inline-block; transition: transform .2s; color: var(--bee-accent); }
.bee-more:hover span { transform: translateX(4px); }
.bee-empty { padding: 48px 0; text-align: center; color: var(--bee-muted); font-size: 16px; }
.bee-pagination { text-align: center; margin: 8px 0 32px; }

/* ---------- Article ---------- */
.bee-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
.bee-progress span { display: block; height: 100%; width: 0; background: var(--bee-accent); transition: width .1s linear; }
.bee-preview { background: #fff4d6; border: 1px dashed var(--bee-accent); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.bee-article { max-width: 780px; margin: 0 auto; }
.bee-article__head { text-align: center; margin: 8px 0 28px; }
.bee-article__cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.bee-article__title { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: 0 0 16px; }
.bee-article__lead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: #4a4a4a; margin: 0 auto 18px; max-width: 680px; }
.bee-article__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--bee-muted); }
.bee-article__meta > * + *::before { content: "·"; margin-right: 16px; color: #c8c8c8; }
.bee-article__hero { margin: 0 0 32px; border-radius: var(--bee-radius); overflow: hidden; }
.bee-article__hero img { display: block; width: 100%; }

.bee-toc { background: var(--bee-soft); border-left: 3px solid var(--bee-accent); border-radius: 0 10px 10px 0; padding: 16px 22px; margin: 0 0 32px; }
.bee-toc summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; }
.bee-toc summary::-webkit-details-marker { display: none; }
.bee-toc summary::after { content: "+"; float: right; color: var(--bee-accent); font-weight: 700; }
.bee-toc[open] summary::after { content: "–"; }
.bee-toc ol { margin: 12px 0 0; padding-left: 20px; }
.bee-toc li { margin: 6px 0; line-height: 1.4; font-size: 15px; }
.bee-toc .bee-toc__l3 { margin-left: 16px; list-style: circle; font-size: 14px; }
.bee-toc a { text-decoration: none !important; }
.bee-toc a:hover { color: var(--bee-accent); }

.bee-article__content { font-size: 18px; line-height: 1.75; color: #2a2a2a; word-wrap: break-word; }
.bee-article__content > *:first-child { margin-top: 0; }
.bee-article__content p, .bee-article__content ul, .bee-article__content ol { margin: 0 0 1.25em; }
.bee-article__content h2 { font-size: 1.6em; line-height: 1.25; margin: 1.8em 0 .6em; font-weight: 700; scroll-margin-top: 100px; }
.bee-article__content h3 { font-size: 1.3em; line-height: 1.3; margin: 1.5em 0 .5em; font-weight: 700; scroll-margin-top: 100px; }
.bee-article__content h4 { font-size: 1.1em; margin: 1.3em 0 .4em; font-weight: 700; }
.bee-article__content a { color: var(--bee-ink); text-decoration: underline; text-decoration-color: var(--bee-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bee-article__content a:hover { color: var(--bee-accent); }
.bee-article__content img { border-radius: 10px; margin: .5em 0; height: auto !important; }
.bee-article__content blockquote { border-left: 4px solid var(--bee-accent); margin: 1.6em 0; padding: 4px 0 4px 22px; font-size: 1.12em; font-style: italic; color: #3a3a3a; }
.bee-article__content ul li, .bee-article__content ol li { margin-bottom: .4em; }
.bee-article__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9em; display: block; overflow-x: auto; }
.bee-article__content th, .bee-article__content td { border: 1px solid var(--bee-line); padding: 10px 12px; text-align: left; }
.bee-article__content th { background: var(--bee-soft); }
.bee-article__content iframe { max-width: 100%; border-radius: 10px; }
.bee-article__content hr { border: 0; border-top: 1px solid var(--bee-line); margin: 2em 0; }

/* ---------- FAQ ---------- */
.bee-faq { margin: 40px 0 24px; }
.bee-faq h2 { font-size: 26px; font-weight: 700; margin: 0 0 16px; }
.bee-faq__item { border-bottom: 1px solid var(--bee-line); }
.bee-faq__item summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.bee-faq__item summary::-webkit-details-marker { display: none; }
.bee-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--bee-accent); transition: transform .2s; }
.bee-faq__item[open] summary::after { transform: rotate(45deg); }
.bee-faq__a { padding: 0 0 18px; color: #444; font-size: 16px; line-height: 1.7; }

/* ---------- Tags + share ---------- */
.bee-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 20px; font-size: 14px; }
.bee-tags > span { color: var(--bee-muted); }
.bee-tag { background: var(--bee-soft); padding: 5px 12px; border-radius: 999px; text-decoration: none !important; font-size: 13px; }
.bee-tag:hover { background: var(--bee-accent); color: #fff !important; }
.bee-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-top: 1px solid var(--bee-line); border-bottom: 1px solid var(--bee-line); margin: 20px 0 8px; }
.bee-share__label { font-weight: 700; font-size: 14px; margin-right: 6px; }
.bee-share__btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bee-soft); border: 0; color: var(--bee-ink) !important; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.bee-share__btn:hover { transform: translateY(-2px); color: #fff !important; background: var(--bee-ink); }
.bee-share--fb:hover { background: #1877f2; }
.bee-share--pin:hover { background: #e60023; }
.bee-share--wa:hover { background: #25d366; }
.bee-share--vb:hover { background: #7360f2; }
.bee-share__copy.is-done { background: #2e7d32; color: #fff !important; }

/* ---------- Sections ---------- */
.bee-section { max-width: 1100px; margin: 48px auto 0; }
.bee-section__title { font-size: 24px; font-weight: 700; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.bee-section__title::after { content: ""; flex: 1; height: 1px; background: var(--bee-line); margin-left: 8px; }
.bee-grid--related { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bee-grid--related .bee-card__title { font-size: 17px; }
.bee-count { background: var(--bee-accent); color: #fff; font-size: 13px; border-radius: 999px; padding: 2px 9px; }

/* ---------- Products ---------- */
.bee-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 0 0 24px; }
.bee-products--inline { margin: 1.8em 0; font-size: 15px; line-height: 1.4; }
.bee-product { background: #fff; border: 1px solid var(--bee-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.bee-product:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.bee-product__media { display: block; aspect-ratio: 1 / 1; background: #fff; }
.bee-product__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 0 !important; margin: 0 !important; }
.bee-product__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bee-article__content .bee-product__name, .bee-product__name { font-weight: 600; text-decoration: none !important; color: var(--bee-ink); font-size: 15px; line-height: 1.35; }
.bee-product__price { font-weight: 700; font-size: 16px; }
.bee-product__price s { color: var(--bee-muted); font-weight: 400; font-size: 13px; }
.bee-product__new { color: #c62828; }
.bee-product__actions { margin-top: auto; display: flex; gap: 6px; }
.bee-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--bee-line); background: #fff; color: var(--bee-ink) !important; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: background .2s, border-color .2s; line-height: 1.2; }
.bee-btn:hover { border-color: var(--bee-ink); }
.bee-btn--primary { background: var(--bee-accent); border-color: var(--bee-accent); color: #fff !important; flex: 1; }
.bee-btn--primary:hover { filter: brightness(.94); border-color: var(--bee-accent); }
.bee-btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Comments ---------- */
.bee-comments { max-width: 780px; }
.bee-comment { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bee-line); }
.bee-comment--reply { border: 0; padding: 14px 0 0; margin-top: 10px; }
.bee-comment--new { animation: beeIn .5s ease; }
.bee-comment__avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--bee-soft); display: grid; place-items: center; font-weight: 700; text-transform: uppercase; color: var(--bee-muted); }
.bee-comment__avatar--store { background: var(--bee-accent); color: #fff; }
.bee-comment__body { flex: 1; min-width: 0; }
.bee-comment__meta { font-size: 13px; color: var(--bee-muted); margin-bottom: 4px; }
.bee-comment__meta b { color: var(--bee-ink); font-size: 15px; }
.bee-comment__text { font-size: 15.5px; line-height: 1.6; word-wrap: break-word; }
.bee-comments__empty { color: var(--bee-muted); }
.bee-comment-form { background: var(--bee-soft); border-radius: var(--bee-radius); padding: 24px; margin-top: 24px; }
.bee-comment-form h3 { margin: 0 0 16px; font-size: 20px; font-weight: 700; }
.bee-comment-form label { display: block; margin: 0 0 14px; font-weight: 400; }
.bee-comment-form label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.bee-comment-form input, .bee-comment-form textarea { width: 100%; border: 1px solid #dedad0; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 15px; background: #fff; outline: 0; transition: border-color .2s; }
.bee-comment-form input:focus, .bee-comment-form textarea:focus { border-color: var(--bee-accent); }
.bee-comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.bee-comment-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bee-comment-form__foot small { color: var(--bee-muted); }
.bee-comment-form__foot .bee-btn--primary { flex: none; padding: 11px 22px; font-size: 14px; }
.bee-comment-form__msg { margin-top: 12px; font-weight: 600; }
.bee-comment-form__msg.is-success { color: #2e7d32; }
.bee-comment-form__msg.is-error { color: #c62828; }
.bee-err { color: #c62828; font-size: 13px; margin-top: 4px; }
.bee-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Module (latest posts) ---------- */
.bee-module { margin: 0 0 32px; }
.bee-module__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.bee-module__head h3 { margin: 0; font-size: 22px; font-weight: 700; }
.bee-module .bee-grid { margin-bottom: 0; }
.bee-mini { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bee-line); text-decoration: none !important; align-items: center; }
.bee-mini:last-child { border-bottom: 0; }
.bee-mini img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.bee-mini__title { font-weight: 600; font-size: 14px; line-height: 1.35; display: block; }
.bee-mini__date { font-size: 12px; color: var(--bee-muted); }
.bee-mini:hover .bee-mini__title { color: var(--bee-accent); }

@keyframes beeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.bee-hero { grid-template-columns: 1fr; }
	.bee-hero__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
	.bee-blog__head { align-items: stretch; }
	.bee-search { flex: 1 1 100%; min-width: 0; }
	.bee-article__content { font-size: 17px; }
	.bee-article__hero { margin-left: -15px; margin-right: -15px; border-radius: 0; }
	.bee-grid { grid-template-columns: 1fr; gap: 20px; }
	.bee-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bee-product__actions { flex-direction: column; }
	.bee-comment-form__row { grid-template-columns: 1fr; }
	.bee-comment-form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.bee-blog *, .bee-blog *::before, .bee-blog *::after { transition: none !important; animation: none !important; }
}

/* ---------- Guard against theme (Journal) global styles ---------- */
.bee-blog .bee-blog__head,
.bee-blog .bee-article__head,
.bee-blog .bee-section,
.bee-blog .bee-faq,
.bee-blog .bee-pills {
	position: static !important;
	background: none !important;
	box-shadow: none !important;
	border: 0 !important;
	transform: none !important;
	z-index: auto !important;
	height: auto !important;
	min-height: 0 !important;
	width: auto;
}
.bee-blog .bee-blog__head::before, .bee-blog .bee-blog__head::after,
.bee-blog .bee-article__head::before, .bee-blog .bee-article__head::after { content: none !important; display: none !important; }
.bee-blog .bee-article__cats { position: relative; z-index: 1; }
.bee-blog .bee-article__head { padding: 0 !important; }
.bee-blog .bee-preview { color: #5a4300; text-align: center; }
