:root {
    --guide-teal: #087f79;
    --guide-deep: #123b38;
    --guide-ink: #152d2b;
    --guide-muted: #657774;
    --guide-line: #e3ebe8;
    --guide-gold: #efb600;
}

body:has(.blog-page) { background: #f5f8f7; }
.blog-page { overflow: clip; }
.blog-hero {
    position: relative;
    width: min(1240px, calc(100% - 40px));
    margin: 22px auto 0;
    padding: clamp(28px, 4.4vw, 54px);
    border: 1px solid #dce9e5;
    border-radius: 30px;
    background: radial-gradient(ellipse at 0% 100%, rgba(8,127,121,.10), transparent 43%), linear-gradient(135deg, #fff 5%, #f4faf7 65%, #eaf5ef 100%);
    box-shadow: 0 18px 50px rgba(16,60,56,.075);
}
.blog-hero-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); align-items: center; gap: clamp(25px, 5vw, 72px); max-width: 1120px; margin: auto; }
.blog-hero-inner { width: 100%; max-width: 650px; margin: 0; text-align: left; }
.blog-eyebrow { margin-bottom: 15px; padding: 7px 11px; font-size: 10px; letter-spacing: .12em; }
.blog-hero h1 { margin: 0 0 14px; font-size: clamp(34px, 4.3vw, 53px); line-height: 1.08; letter-spacing: -.045em; }
.blog-hero h1 span { color: var(--guide-teal); }
.blog-hero-copy { max-width: 580px; margin: 0; font-size: clamp(14px, 1.45vw, 17px); line-height: 1.65; }
.blog-search { width: min(570px, 100%); margin: 22px 0 0; }
.blog-search input { min-height: 52px; padding-right: 52px; border-color: #dce7e3; border-radius: 14px; box-shadow: 0 5px 16px rgba(16,60,56,.055); }
.blog-search kbd { position: absolute; top: 50%; right: 14px; display: grid; width: 26px; height: 26px; place-items: center; transform: translateY(-50%); border: 1px solid #e6eeeb; border-radius: 7px; color: #81908d; background: #f8fbfa; font: 15px system-ui,sans-serif; }
.hero-topics { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 18px; color: #536762; font-size: 11px; font-weight: 700; }
.hero-topics i { margin-right: 5px; color: var(--guide-teal); }
.hero-planner { position: relative; isolation: isolate; overflow: hidden; min-height: 250px; padding: 22px; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; color: #fff; background: linear-gradient(145deg, #164c47, #0d302e); box-shadow: 0 18px 36px rgba(12,55,51,.18); }
.planner-topline { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #b9ddd5; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.planner-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #0f615b; background: #dff4eb; font-size: 15px; }
.planner-live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 6px 8px; border-radius: 999px; color: #c9f4df; background: rgba(255,255,255,.09); letter-spacing: .06em; }
.planner-live i { width: 6px; height: 6px; border-radius: 50%; background: #70e8a8; }
.planner-title { position: relative; z-index: 1; margin: 17px 0 11px; font: 700 23px/1.15 'Playfair Display', Georgia,serif; }
.planner-step { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.planner-step > span { color: #edc54d; font-size: 10px; font-weight: 850; }
.planner-step div { display: grid; gap: 2px; }
.planner-step strong { color: #fff; font-size: 12px; }
.planner-step small { color: #c3d8d4; font-size: 10px; }
.planner-step > i { margin-left: auto; color: #6ce1a4; font-size: 12px; }
.hero-planner > a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 11px 13px; border-radius: 11px; color: #163d39; background: #f2c547; text-decoration: none; font-size: 11px; font-weight: 850; }
.planner-orbit { position: absolute; z-index: -1; border: 1px solid rgba(139,219,191,.12); border-radius: 50%; }
.planner-orbit-one { width: 220px; height: 220px; right: -88px; top: -125px; }
.planner-orbit-two { width: 150px; height: 150px; right: -54px; top: -90px; }
.blog-content { width: min(1240px, calc(100% - 40px)); padding-bottom: 30px; }
.category-browser { margin: 18px 0 10px; border: 1px solid var(--guide-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 15px rgba(16,60,56,.035); }
.category-browser-summary { display: flex; min-height: 68px; align-items: center; gap: 12px; padding: 11px 16px; list-style: none; cursor: pointer; }
.category-browser-summary::-webkit-details-marker { display: none; }
.category-browser-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #087f79; background: #eaf7f2; }
.category-browser-summary > span:nth-child(2) { display: grid; gap: 2px; }
.category-browser-summary strong { color: var(--guide-ink); font-size: 13px; }
.category-browser-summary small { color: var(--guide-muted); font-size: 11px; }
.category-browser-action { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--guide-teal); font-size: 11px; font-weight: 800; }
.category-browser[open] .category-browser-action i { transform: rotate(180deg); }
.category-browser-action i { transition: transform .2s ease; }
.category-section { margin: 0; padding: 4px 16px 16px; border: 0; }
.category-heading { margin: 10px 0 14px; }
.category-heading h2 { font: 700 22px/1.2 'Playfair Display', Georgia,serif; }
.category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.catalog-category { gap: 10px; padding: 9px; border-radius: 13px; }
.category-thumb { flex-basis: 48px; width: 48px; height: 48px; border-radius: 11px; }
.category-thumb i { font-size: 17px; }
.category-details h3 { font-size: 12px; }
.category-details p { font-size: 10px; }
.category-status { font-size: 9px; }
.category-directory-note { margin: 11px 0 0; font-size: 11px; }
.blog-filters { gap: 8px; padding: 20px 1px 13px; margin: 8px 0 0; }
.topic-filter { padding: 9px 14px; font-size: 11px; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.topic-filter:hover { transform: translateY(-1px); }
.blog-section-heading { align-items: end; margin: 9px 0 18px; }
.blog-section-heading h2 { margin-top: 5px; font-size: clamp(25px,3vw,34px); }
.section-kicker { color: var(--guide-teal); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.guide-count { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--guide-line); border-radius: 999px; color: #647673; background: #fff; font-size: 10px; font-weight: 800; }
.guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.guide-card { border-color: #e4ebe8; border-radius: 19px; box-shadow: 0 5px 17px rgba(16,60,56,.045); }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,60,56,.1); }
.guide-cover { height: auto; aspect-ratio: 16/8.7; }
.guide-cover img { object-fit: cover; }
.cover-stockroom { background: linear-gradient(135deg,#e8f6ee,#cceadf); }
.cover-cost { background: linear-gradient(135deg,#fdf4da,#f5e6c0); }
.guide-copy { padding: 17px 18px 18px; }
.guide-meta { margin-bottom: 8px; font-size: 9px; }
.guide-copy h3 { font-size: 18px; line-height: 1.32; }
.guide-copy p { margin-bottom: 14px; font-size: 12px; line-height: 1.6; }
.guide-read { padding-top: 11px; }
.reorder-tool { display: grid; grid-template-columns: minmax(240px,.82fr) minmax(0,1.18fr); gap: clamp(20px,4vw,48px); align-items: center; margin: 42px 0 0; padding: clamp(22px,3.5vw,38px); border: 1px solid #dbe9e3; border-radius: 24px; background: linear-gradient(140deg,#fff,#f1f8f4); box-shadow: 0 12px 35px rgba(16,60,56,.055); }
.tool-kicker { display: inline-flex; align-items: center; gap: 7px; color: #087f79; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.reorder-tool-intro h2 { margin: 11px 0 9px; color: var(--guide-deep); font: 700 clamp(25px,3vw,34px)/1.15 'Playfair Display',Georgia,serif; letter-spacing: -.025em; }
.reorder-tool-intro p { margin: 0; color: var(--guide-muted); font-size: 13px; line-height: 1.65; }
.reorder-tool-intro > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--guide-teal); text-decoration: none; font-size: 12px; font-weight: 850; }
.reorder-tool-intro > small { display: block; margin-top: 17px; color: #7a8985; font-size: 10px; line-height: 1.5; }
.reorder-form { min-width: 0; padding: 18px; border: 1px solid #e5ece9; border-radius: 17px; background: #fff; box-shadow: 0 6px 20px rgba(16,60,56,.05); }
.reorder-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.reorder-fields label { display: grid; gap: 6px; color: #334b47; font-size: 10px; font-weight: 800; }
.reorder-fields label span { display: inline; color: #82908d; font-weight: 600; }
.reorder-fields input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #dde7e3; border-radius: 10px; outline: 0; color: #1b3834; background: #fbfdfc; font: 600 13px 'Plus Jakarta Sans',sans-serif; }
.reorder-fields input:focus { border-color: var(--guide-teal); box-shadow: 0 0 0 3px rgba(8,127,121,.12); }
.pack-size-field { grid-column: 1 / -1; }
.reorder-result-row { display: flex; align-items: stretch; gap: 10px; margin-top: 13px; }
.reorder-result { display: grid; flex: 1; min-width: 0; gap: 3px; align-content: center; padding: 11px 13px; border-radius: 12px; background: #edf8f3; }
.result-label { color: #5c7971; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.reorder-result strong { overflow: hidden; color: #086c63; font-size: 19px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.reorder-result > span:last-child { color: #617873; font-size: 9px; line-height: 1.35; }
.reorder-calculate { display: inline-flex; min-width: 122px; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border: 0; border-radius: 12px; color: #fff; background: var(--guide-teal); font: 800 11px 'Plus Jakarta Sans',sans-serif; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.reorder-calculate:hover { transform: translateY(-1px); background: #056c67; }
.reorder-error { margin: 9px 0 0; color: #bd3c47; font-size: 11px; }
.catalog-cta { margin-top: 28px; }
.catalog-cta a { box-shadow: 0 6px 14px rgba(8,127,121,.18); }
.guide-card-link:focus-visible,.catalog-category:focus-visible,.topic-filter:focus-visible,.category-browser-summary:focus-visible,.reorder-calculate:focus-visible,.catalog-cta a:focus-visible { outline: 3px solid rgba(8,127,121,.38); outline-offset: 3px; }
.article-sources { margin: 36px 0 0; padding: 21px 22px; border: 1px solid #dfeae5; border-radius: 16px; background: #f7fbf9; }
.article-sources h2 { margin: 0 0 7px !important; font: 700 22px/1.25 'Playfair Display',Georgia,serif !important; color: var(--guide-deep) !important; }
.article-sources > p { margin: 0 0 14px; color: #61736e; font-size: 12px; line-height: 1.6; }
.article-sources ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.article-sources li { display: grid; gap: 3px; padding: 0; }
.article-sources li a { width: fit-content; color: var(--guide-teal); text-decoration: none; font-size: 12px; font-weight: 800; }
.article-sources li a:hover { text-decoration: underline; }
.article-sources li span { color: #71817d; font-size: 11px; line-height: 1.55; }

@media (max-width: 900px) {
    .blog-hero-layout { grid-template-columns: minmax(0,1fr) minmax(250px,.78fr); gap: 24px; }
    .hero-planner { padding: 18px; }
    .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .reorder-tool { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
    .blog-hero { width: calc(100% - 24px); margin-top: 12px; padding: 22px 17px 16px; border-radius: 22px; }
    .blog-hero-layout { grid-template-columns: 1fr; gap: 17px; }
    .blog-hero h1 { font-size: clamp(31px,9vw,40px); }
    .blog-hero-copy { font-size: 13px; }
    .blog-search { margin-top: 17px; }
    .hero-topics { gap: 8px 12px; margin-top: 13px; font-size: 9px; }
    .hero-planner { min-height: 0; padding: 14px; border-radius: 16px; }
    .planner-title { margin: 11px 0 7px; font-size: 20px; }
    .planner-step { padding: 8px 0; }
    .planner-step small { font-size: 9px; }
    .hero-planner > a { margin-top: 7px; padding: 10px 11px; }
    .blog-content { width: calc(100% - 24px); }
    .category-browser { margin-top: 12px; }
    .category-browser-summary { min-height: 60px; gap: 9px; padding: 9px 11px; }
    .category-browser-icon { flex-basis: 34px; width: 34px; height: 34px; }
    .category-browser-summary strong { font-size: 11px; }
    .category-browser-summary small { font-size: 9px; }
    .category-browser-action { gap: 5px; font-size: 9px; }
    .category-section { padding: 0 10px 12px; }
    .category-heading h2 { font-size: 20px; }
    .category-grid { grid-template-columns: 1fr; }
    .blog-filters { padding-top: 16px; gap: 7px; }
    .topic-filter { padding: 8px 11px; font-size: 10px; }
    .blog-section-heading { align-items: start; margin: 4px 0 14px; }
    .blog-section-heading h2 { font-size: 25px; }
    .blog-section-heading p { max-width: 270px; font-size: 11px; }
    .guide-count { margin-top: 12px; font-size: 9px; }
    .guide-grid { grid-template-columns: 1fr; gap: 12px; }
    .guide-card-link { display: grid; grid-template-columns: 106px minmax(0,1fr); min-height: 135px; }
    .guide-cover { height: 100%; min-height: 135px; aspect-ratio: auto; }
    .guide-copy { padding: 12px; }
    .guide-meta { margin-bottom: 5px; font-size: 8px; letter-spacing: .055em; }
    .guide-copy h3 { margin-bottom: 6px; font-size: 15px; line-height: 1.28; }
    .guide-copy p { margin-bottom: 8px; font-size: 10px; line-height: 1.45; }
    .guide-read { padding-top: 7px; font-size: 10px; }
    .reorder-tool { gap: 16px; margin-top: 26px; padding: 17px 14px; border-radius: 19px; }
    .reorder-tool-intro h2 { font-size: 25px; }
    .reorder-tool-intro p { font-size: 12px; }
    .reorder-form { padding: 12px; }
    .reorder-fields { gap: 9px; }
    .reorder-fields label { font-size: 9px; }
    .reorder-fields input { min-height: 40px; padding: 8px; font-size: 12px; }
    .reorder-result-row { flex-direction: column; }
    .reorder-calculate { min-height: 44px; }
    .catalog-cta { margin-top: 20px; }
    .article-sources { margin-top: 27px; padding: 17px; }
    .article-sources h2 { font-size: 20px !important; }
    .article-sources > p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .guide-card,.guide-card:hover,.catalog-category,.topic-filter,.category-browser-action i,.guide-cover img { transition: none !important; transform: none !important; }
}
