/* Medovy blog. Activated only when this rubric contains its own hub marker. */
body.type-posts-listing { --blog-ink:#352817; --blog-brown:#875d32; --blog-cream:#f8f3e9; --blog-paper:#fffdf8; --blog-line:#e7ddcc; background:var(--blog-cream); color:var(--blog-ink); }
body.type-posts-listing #header .header-title { display:none!important; }
body.type-posts-listing .content-wrapper, body.type-posts-listing #content { background:transparent; }
body.type-posts-listing .content-wrapper.container { width:100%; max-width:1220px; padding:0 24px; }
body.type-posts-listing #content { width:100%; padding:0; }
body.type-posts-listing .breadcrumbs-wrapper { margin:0; padding:20px 0 16px; }
body.type-posts-listing .breadcrumbs { font-size:12px; }
body.type-posts-listing .sectionDescription { margin:0; padding:0; }
body:has(#c02-blog-hub) .sectionDescription > h1,
body:has(#c02-blog-hub) #content > .content-inner > .subcategories { display:none!important; }
#c02-blog-hub, #c02-blog-hub * { box-sizing:border-box; }
#c02-blog-hub { font-family:Roboto,Arial,sans-serif; color:var(--blog-ink,#352817); font-weight:400; }
#c02-blog-hub .blog-hero { display:grid; grid-template-columns:1.05fr 1fr; overflow:hidden; border-radius:22px; background:#f3e7d0; }
#c02-blog-hub .blog-copy { padding:48px 44px; align-self:center; }
#c02-blog-hub .blog-kicker { margin:0 0 18px; color:#7c5835; font-size:11px; font-weight:800; letter-spacing:.16em; line-height:1.5; text-transform:uppercase; }
#c02-blog-hub h1 { display:block; color:var(--blog-ink,#352817); font-size:clamp(38px,4.2vw,58px); font-weight:800; letter-spacing:-.045em; line-height:1.04; margin:0 0 24px; text-transform:none; }
#c02-blog-hub .blog-lead { max-width:420px; margin:0 0 28px; font-size:17px; font-weight:400; line-height:1.65; }
#c02-blog-hub .blog-cta { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:46px; padding:12px 20px; background:var(--blog-brown,#875d32); border:1px solid transparent; border-radius:8px; color:#fffdf8; font-size:14px; font-weight:700; line-height:1.35; text-decoration:none; }
#c02-blog-hub .blog-cta:hover { background:#6e4726; color:#fff; }
#c02-blog-hub .blog-photo { position:relative; align-self:stretch; min-height:400px; margin:0; }
#c02-blog-hub .blog-photo img { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:50% 35%; }
#c02-blog-hub .blog-photo figcaption { position:absolute; left:20px; right:20px; bottom:20px; margin:0; padding:12px 16px; background:#fffdf8; border-radius:8px; color:#463621; font-size:12px; line-height:1.5; }
#c02-blog-hub .blog-photo figcaption span { color:#926436; font-size:19px; margin-right:9px; }
#c02-blog-hub .blog-topics { display:flex; flex-wrap:wrap; gap:9px; padding:28px 0 0; margin:0; }
#c02-blog-hub .blog-topics a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:10px 17px; border:1px solid #dacdb7; border-radius:999px; background:transparent; color:#59442e; font-size:14px; font-weight:600; line-height:1.35; text-decoration:none; }
#c02-blog-hub .blog-topics a:hover { border-color:#875d32; background:#f0e5d3; }
#c02-blog-hub .blog-topics a[aria-current=page] { color:#fffdf8; background:#875d32; border-color:#875d32; }
#c02-blog-hub .blog-list-title { margin:36px 0 22px; font-size:28px; font-weight:750; letter-spacing:-.025em; line-height:1.2; }
body.type-posts-listing #newsWrapper { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; margin:0; padding:0; border:0; }
body.type-posts-listing #newsWrapper::before, body.type-posts-listing #newsWrapper::after { content:none; }
body.type-posts-listing #newsWrapper .news-item { display:flex; flex-direction:column; width:100%; min-width:0; float:none; margin:0; padding:0; border:1px solid var(--blog-line); border-radius:17px; background:var(--blog-paper); overflow:hidden; box-shadow:none; }
body.type-posts-listing #newsWrapper .news-item > .image { display:block; width:100%; height:auto; flex:none; float:none; margin:0; padding:0; overflow:hidden; border:0; }
body.type-posts-listing #newsWrapper .news-item > .image a { display:block; position:relative; aspect-ratio:16/10; width:100%; height:auto; overflow:hidden; background:#e9e4d7; }
body.type-posts-listing #newsWrapper .news-item > .image a::after { content:'↗'; position:absolute; right:14px; bottom:14px; display:flex; align-items:center; justify-content:center; width:35px; height:35px; border-radius:50%; background:#fffdf8; color:#73502d; font-size:20px; line-height:1; }
body.type-posts-listing #newsWrapper .news-item > .image img { display:block; width:100%; max-width:none; height:100%; max-height:none; margin:0; object-fit:cover; transition:transform .25s ease; }
body.type-posts-listing #newsWrapper .news-item:hover > .image img { transform:scale(1.025); }
body.type-posts-listing #newsWrapper .news-item > .text { display:flex; flex-direction:column; flex:1; width:100%; min-width:0; float:none; margin:0; padding:22px 24px 24px; }
body.type-posts-listing #newsWrapper .news-item .title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:0 0 14px; padding:0; color:var(--blog-ink); font-family:Roboto,Arial,sans-serif; font-size:22px; font-weight:750; line-height:1.22; letter-spacing:-.025em; text-decoration:none; text-transform:none; }
body.type-posts-listing #newsWrapper .news-item .title:hover { color:#875d32; }
body.type-posts-listing #newsWrapper .news-item time { display:block; order:-1; margin:0 0 12px; padding:0; color:#7b705f; font-size:12px; font-weight:400; line-height:1.4; }
body.type-posts-listing #newsWrapper .news-item .description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:0; padding:0; color:#655846; font-size:15px; font-weight:400; line-height:1.6; }
body.type-posts-listing #newsWrapper .news-item .description p { margin:0; color:inherit; font-size:inherit; font-weight:400; line-height:inherit; }
body.type-posts-listing .listingControls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:20px; width:100%; margin:38px 0 60px; padding:26px 0 0; border-top:1px solid var(--blog-line); }
body.type-posts-listing .listingControls .pagination { flex:0 0 auto; order:0; width:auto; float:none; margin:0; padding:0; }
body.type-posts-listing .pagination__list { display:flex; align-items:center; gap:7px; margin:0; padding:0; }
body.type-posts-listing .pagination__list > li { margin:0; padding:0; }
body.type-posts-listing .pagination__list a, body.type-posts-listing .pagination__currentPage { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; padding:0; border:1px solid #d6c6ad; border-radius:50%; background:#fffdf8; color:#6d4c2b; font-size:15px; line-height:1; }
body.type-posts-listing .pagination__list .pagination__currentPage { color:#fffdf8; background:#875d32; border-color:#875d32; }
body.type-posts-listing .pagination__list a:hover { background:#eee2cc; border-color:#875d32; }
body.type-posts-listing .listingControls .itemsTotal { order:2; width:100%; float:none; text-align:center; color:#756652; font-size:13px; }
body.type-posts-listing .listingControls .goToTop { flex:0 0 auto; order:1; position:static; width:auto; margin:0; }
body.type-posts-listing .goToTop__button { min-height:42px; padding:10px 16px; border:1px solid #d6c6ad; border-radius:999px; color:#6d4c2b; background:transparent; font-size:13px; line-height:20px; }
body.type-posts-listing .goToTop__button:hover { background:#eee2cc; }
body.type-posts-listing #content a:focus-visible { outline:3px solid #ad7c34; outline-offset:4px; }
@media(min-width:768px) { #c02-blog-hub[data-rubric]:not([data-rubric=blog]) .blog-photo { min-height:330px; } #c02-blog-hub[data-rubric]:not([data-rubric=blog]) h1 { font-size:clamp(36px,4vw,52px); } }
@media(max-width:1099px) { body.type-posts-listing #newsWrapper { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } #c02-blog-hub .blog-copy { padding:36px 30px; } #c02-blog-hub .blog-photo { min-height:370px; } }
@media(max-width:767px) { body.type-posts-listing .content-wrapper.container { padding:0 16px; } body.type-posts-listing .breadcrumbs-wrapper { padding:15px 0 12px; } #c02-blog-hub .blog-hero { grid-template-columns:1fr; border-radius:17px; } #c02-blog-hub .blog-copy { padding:32px 26px; } #c02-blog-hub h1 { font-size:43px; margin-bottom:21px; } #c02-blog-hub .blog-lead { font-size:16px; max-width:440px; } #c02-blog-hub .blog-photo { min-height:310px; } #c02-blog-hub .blog-photo img { object-position:50% 44%; } #c02-blog-hub .blog-photo figcaption { left:14px; right:14px; bottom:14px; padding:10px 12px; } #c02-blog-hub .blog-topics { padding-top:22px; gap:8px; } #c02-blog-hub .blog-topics a { padding:9px 14px; font-size:13px; min-height:40px; } #c02-blog-hub .blog-list-title { margin:30px 0 20px; font-size:26px; } body.type-posts-listing #newsWrapper .news-item > .text { padding:20px; } body.type-posts-listing #newsWrapper .news-item .title { font-size:21px; } }
@media(max-width:559px) { body.type-posts-listing #newsWrapper { grid-template-columns:1fr; gap:22px; } #c02-blog-hub h1 { font-size:39px; } #c02-blog-hub .blog-kicker { font-size:10px; letter-spacing:.13em; } #c02-blog-hub .blog-copy { padding:30px 24px; } #c02-blog-hub .blog-photo { min-height:300px; } body.type-posts-listing .listingControls { gap:16px; margin-bottom:42px; } }
@media(prefers-reduced-motion:reduce) { body.type-posts-listing #newsWrapper .news-item > .image img { transition:none; } }

/* Original hand-painted bee. Crop and alpha only, no generated artwork. */
#c02-blog-hub .blog-copy { position:relative; }
#c02-blog-hub .blog-ornament { position:absolute; top:24px; right:24px; width:88px; height:auto; pointer-events:none; }
@media(max-width:767px) { #c02-blog-hub .blog-ornament { top:auto; bottom:26px; right:16px; width:64px; } }

@media(min-width:768px) and (max-width:1099px) { #c02-blog-hub .blog-ornament { display:none; } }
@media(max-width:374px) { #c02-blog-hub .blog-ornament { display:none; } }

/* The CMS omits rubric description on pages 2+. Keep native heading and links there. */
body.type-posts-listing:not(:has(#c02-blog-hub)) .sectionDescription > h1 { display:block; margin:20px 0 22px; color:#352817; font-size:42px; font-weight:800; letter-spacing:-.035em; line-height:1.15; }
body.type-posts-listing:not(:has(#c02-blog-hub)) .pagination-appendix { display:block; margin-top:10px; color:#7b705f; font-size:15px; font-weight:400; letter-spacing:0; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories { display:flex!important; flex-wrap:wrap; gap:9px; margin:0 0 30px; padding:0; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories > li { flex:0 1 auto!important; width:auto!important; padding:0; margin:0; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories a { display:flex!important; align-items:center; min-height:42px; padding:10px 17px!important; border:1px solid #dacdb7; border-radius:999px; background:transparent; color:#59442e; font-size:14px; font-weight:600; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories a:hover { background:#f0e5d3; border-color:#875d32; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories .image { display:none!important; }
body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories .text { padding:0!important; width:auto; line-height:1.35; }
@media(max-width:767px) { body.type-posts-listing:not(:has(#c02-blog-hub)) .sectionDescription > h1 { font-size:34px; } body.type-posts-listing:not(:has(#c02-blog-hub)) #content .subcategories a { font-size:13px; padding:9px 14px!important; } }

/* Shared article navigation. Article content is updated in separate editorial batches. */
body.type-post:has(.news-item-detail) { background:#f8f3e9; }
body.type-post:has(.news-item-detail) #header .header-title { display:none!important; }
body.type-post:has(.news-item-detail) .content-wrapper, body.type-post:has(.news-item-detail) #content { background:transparent; }
body.type-post .news-item-detail > h1 { color:#352817; font-family:Roboto,Arial,sans-serif; font-size:40px; font-weight:800; line-height:1.15; letter-spacing:-.035em; }
body.type-post .news-item-detail > time { color:#7b705f; font-size:13px; }
body.type-post .news-item-detail .next-prev { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:32px 0 16px; padding-top:24px; border-top:1px solid #e7ddcc; }
body.type-post .news-item-detail .next-prev > a { display:inline-flex; justify-content:center; align-items:center; min-height:44px; margin:0; padding:11px 19px; border:1px solid #b99b72!important; border-radius:999px; background:transparent!important; color:#6e4b28!important; font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; }
body.type-post .news-item-detail .next-prev > a:hover { background:#eee2cc!important; border-color:#875d32!important; }
body.type-post .news-item-detail .next-prev > a:focus-visible { outline:3px solid #ad7c34; outline-offset:4px; }
@media(max-width:559px) { body.type-post .news-item-detail > h1 { font-size:32px; } body.type-post .news-item-detail .next-prev > a { flex:1 1 auto; padding:10px 13px; font-size:13px; } }
