/* ==========================================================================
   Disneyland blog prototype 1.0: listing (/blog/) and article (/blog/<slug>/).
   Loaded after ../css/site.css, which is linked, never edited. Classes start with bl-.
   Plan: ../../disneyland-blog-redesign-plan.md ("Listing direction" M1–M8, article R9–R14 and A1–A16).
   ========================================================================== */
:root{
  --bl-sticky:116px;              /* sticky rails sit under the condensed desktop header */
  --bl-pin:calc(var(--bl-sticky) + 32px); /* 1.2: the article's right column pins with room under the header (user: "no need to be so tight") */
  }

/* ---------- shared bits ---------- */
::selection{background:var(--dl-tint);color:var(--dl-navy)}
.bl-h1{color:var(--dl-navy);font-size:clamp(32px,3.6vw,50px);line-height:1.06;font-weight:800;letter-spacing:-.028em} /* = the ticket page's .tk-h1 */
.bl-h1 i,.bl-body h2 i,.bl-body h3 i,.bl-body h4 i{font-weight:inherit}
.bl-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none;color:var(--dl-muted);font-size:13.5px}
.bl-ahead .bl-crumbs ol{margin-bottom:14px;font-size:13px} /* article (1.2): fine print over the title */
.bl-crumbs li + li::before{content:"/";margin-right:6px;color:var(--dl-line-2)}
.bl-crumbs a{color:var(--dl-blue-600);text-decoration:none}
.bl-crumbs a:hover{text-decoration:underline;text-underline-offset:3px}


/* ==========================================================================
   LISTING
   ========================================================================== */
/* 1. head: the ticket page's head layout and spacing (option C: 18px above, breadcrumb 8px over the H1, the next line 12px under it),
   on white (1.1, user decision: the pale-blue band is gone from the listing; the tab row's thin rule closes the head).
   The article head has no band either since 1.2. */
.bl-head__in{padding-top:18px;padding-bottom:28px}
.bl-intro{max-width:64ch;margin:12px 0 0;color:var(--dl-ink);font-size:17px;line-height:1.6;text-wrap:pretty}


/* category row (1.1, user decision after the Upwork blog): plain text tabs on a thin rule that closes the band.
   The chosen tab is navy and semibold with a 2px navy line on the rule, so the choice never rests on colour alone. One row only. */
.bl-head__in:has(.bl-tabs){padding-bottom:0}
.bl-tabs{display:flex;gap:0 20px;margin-top:20px;box-shadow:inset 0 -1px 0 var(--dl-line-2)} /* the rule is drawn inside, so the chosen line covers it even when the row scrolls */
.bl-tabs button{position:relative;min-height:48px;padding:0 6px;border:0;background:none;color:var(--dl-muted);font-size:16px;font-weight:500;white-space:nowrap;cursor:pointer;transition:color .2s var(--dl-ease)}
.bl-tabs button:hover{color:var(--dl-navy)}
.bl-tabs button[aria-pressed="true"]{color:var(--dl-navy);font-weight:600}
.bl-tabs button:first-child{margin-left:-6px} /* 6px side padding gives the focus ring room; "All" still lines up with the H1 */
.bl-tabs button[aria-pressed="true"]::after{content:"";position:absolute;right:6px;bottom:0;left:6px;height:2px;background:var(--dl-navy)}
.bl-tabs button:focus-visible{outline-offset:-3px;border-radius:8px}
@media (max-width:767px){
  /* phones: the row scrolls sideways to the screen edge, as the homepage filters do */
  .bl-tabs{gap:0 12px;margin:16px -20px 0;padding:0 20px;overflow-x:auto;scrollbar-width:none}
  .bl-tabs::-webkit-scrollbar{display:none}
  .bl-tabs button{flex:none;font-size:15.5px}
}

/* 2. grid of identical cards (M5–M7). The first row rises into the band (M3). */
.bl-posts{position:relative;padding-top:32px;padding-bottom:88px} /* white gap between the band and the first cards */
.bl-posts:focus{outline:0}
/* columns follow the Good Neighbor Hotels grid (vendor/gnh/hotels.css .gnh-grid): 1 up to 767px, 2 from 768px, 3 from 1150px,
   4 from 1600px. 12 posts a page fills whole rows at every count. */
.bl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 24px}
@media (min-width:1600px){.bl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1149px){.bl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 24px}}
@media (max-width:767px){.bl-grid{grid-template-columns:minmax(0,1fr);gap:32px}}
/* card (1.1, user decision after the Upwork blog): no box and no shadow. A 16:9 photo with the media corners (most live post
   images are 16:9, so they show whole), then the category tag, the title and the date. No excerpt, no "Read more".
   Differs from the homepage's boxed .dl-bcard on purpose: the homepage shows a teaser of three posts, the listing is a reading page.
   The title is the one link, stretched over the whole item. */
.bl-card{position:relative;display:flex;flex-direction:column;border-radius:var(--dl-r-media)}
.bl-card__media{aspect-ratio:16/9;overflow:hidden;border-radius:var(--dl-r-media);background:var(--dl-tint)}
.bl-card__media img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;transition:transform .6s var(--dl-ease)} /* only the 8 older square images get cropped top and bottom; leaning up keeps heads whole */
.bl-card:hover .bl-card__media img{transform:scale(1.03)}
.bl-card h3{display:-webkit-box;margin:0;overflow:hidden;color:var(--dl-navy);font-size:19px;font-weight:700;line-height:1.35;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-wrap:pretty}
.bl-card h3 i{font-weight:inherit}
.bl-card h3 a{color:inherit;text-decoration:none}
.bl-card:hover h3 a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
/* a post can have more than one tag (1.4, user decision): they sit in one row, 6px apart */
/* category tag above the title (1.0.8, user decision; CLAUDE.md exception), the homepage offer tag's 6px corners.
   Not a link: the title is the card's one link. Never on the photo. */
.bl-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 10px}
.bl-card__tag{padding:2px 9px;border-radius:6px;color:#fff;font-size:12.5px;font-weight:600;line-height:20px}
/* one cheerful colour per category (1.2.2, user decision: more colourful and cheerful, not neon; was four blues):
   a soft pastel fill with deep text of the same hue, each 5.3:1 or more. No red (prices and offers), no green (savings and trust). */
.bl-card__tag--experiences{background:#F0E8FF;color:#5B3A9E}   /* lavender, 7.0:1 */
.bl-card__tag--trip-planning{background:#DDF5F2;color:#0B6A63} /* mint aqua, 5.7:1 */
.bl-card__tag--food{background:#FFF1B8;color:#7A5200}          /* butter yellow, see contrast note in README (1.4) */
.bl-card__tag--seasonal{background:#FFE9D6;color:#9A4A0E}      /* peach, 5.3:1 */
/* dates line up across a row: from 768px up every title takes its full 3-line height. One column (phones) has nothing to line up with. */
@media (min-width:768px){.bl-card h3{min-height:calc(3 * 1.35em)}}
@media (min-width:1600px){.bl-card h3{font-size:17px}}
/* date: "September 22, 2026", with "Posted on" for screen readers only */
.bl-card__date{margin-top:8px;color:var(--dl-muted);font-size:14.5px;line-height:1.4}
/* focus ring around the whole item, outside the photo's corners */
.bl-card:has(.dl-stretch:focus-visible){outline:3px solid var(--dl-focus);outline-offset:6px}
.bl-card .dl-stretch:focus-visible::after{outline:0}
@media (prefers-reduced-motion:reduce){.bl-card__media img{transition:none}.bl-card:hover .bl-card__media img{transform:none}}

/* empty state: a calm white panel in the cards' place, so it rises into the band like them */
.bl-empty{max-width:560px;margin:0 auto;padding:40px 28px;border-radius:var(--dl-r-card);background:#fff;box-shadow:var(--dl-shadow);text-align:center}
.bl-empty[hidden]{display:none}
.bl-empty__t{color:var(--dl-navy);font-size:20px;font-weight:700}
.bl-empty__s{margin:6px 0 20px;color:var(--dl-muted);font-size:15px}

/* pagination (R7): the shadcn/ui Pagination look in our tokens. Page links are "ghost" (no border, pale-blue hover);
   the current page is "outline" (white, thin line border, soft shadow); Previous / Next carry a chevron and a label
   (label hidden on phones, as shadcn does); "…" marks skipped pages. 40px targets, our 10px button radius. */
.bl-pages{margin-top:56px}
.bl-pages__list{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin:0;padding:0;list-style:none}
.bl-pages__btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:40px;height:40px;padding:0 10px;border:1px solid transparent;border-radius:var(--dl-r-btn);background:transparent;color:var(--dl-navy);font-size:15px;font-weight:500;line-height:1;text-decoration:none;font-variant-numeric:tabular-nums;transition:background-color .15s var(--dl-ease),border-color .15s var(--dl-ease)}
.bl-pages__btn--prev{padding:0 12px 0 8px}
.bl-pages__btn--next{padding:0 8px 0 12px}
a.bl-pages__btn:hover{background:var(--dl-tint-2)}
.bl-pages__btn[aria-current="page"]{border-color:var(--dl-line-2);background:#fff;font-weight:600;box-shadow:0 1px 2px rgba(7,11,83,.06)}
.bl-pages__btn[aria-current="page"]:hover{background:var(--dl-tint-2)}
.bl-pages__btn[aria-disabled]{color:var(--dl-muted);opacity:.5;cursor:default}
.bl-pages__btn .dl-ico{width:16px;height:16px}
.bl-pages__more{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--dl-muted)}
.bl-pages__more .dl-ico{width:16px;height:16px}


/* ==========================================================================
   ARTICLE  (1.2: no head band; post | share, contents and ticket card at 1200+, one column under that)
   ========================================================================== */
.bl-wrap{max-width:1180px;margin:0 auto;padding-left:24px;padding-right:24px} /* = .dl-wrap: edges line up with the header and every other page */

/* 1.2 (user decisions; 1.2.1: no contents list): the post on the left (768px at 1200+), the right column 300px and 64px away, so its right edge
   lines up with the header. The head sits on white in the post column: fine-print breadcrumb, H1, byline, then the hero. */
.bl-art{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"head ." "main side";gap:0 64px;align-items:start;padding-top:24px;padding-bottom:72px}
/* the right column pins under the header. blog.js lowers --bl-side-top when the column is taller than the window,
   so it then pins by its bottom edge and the ticket card is never cut off */
.bl-side{grid-area:side;position:sticky;top:var(--bl-side-top,var(--bl-pin))} /* starts level with the hero photo (1.2, user decision) */
.bl-ahead{grid-area:head;padding-bottom:32px}
.bl-side__t{margin-bottom:12px;color:var(--dl-navy);font-size:15px;font-weight:700}
.bl-main{grid-area:main;min-width:0;width:100%}

/* reading progress (1.2, user request after the Upwork blog): a 3px blue line on the sticky header's bottom edge.
   blog.js sets its width from the post's top to the end of the related posts. */
.bl-progress{position:absolute;right:0;bottom:-3px;left:0;height:3px;pointer-events:none}
.bl-progress span{display:block;height:100%;background:var(--dl-blue);transform:scaleX(0);transform-origin:0 50%}
/* firework stars when the line fills (1.2, user decision; exception to the "no sparkles" rule): blog.js adds them once, never with reduced motion */
.bl-sparks{position:fixed;right:0;z-index:90;width:0;height:0;pointer-events:none} /* blog.js puts it on the line's end; z 90 sits above the header (80), so stars flying up show over the nav */
.bl-spark{position:absolute;top:0;right:8px;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)} /* a five-point star; size set by blog.js */

/* head: breadcrumb, H1, byline, hero (R12) */
.bl-h1--art{font-size:clamp(30px,3.3vw,42px);line-height:1.12;text-wrap:balance} /* same face, weight and tracking as .tk-h1, a little smaller for long titles */
/* byline (1.2: author back, user decision): initials, name, then the muted date line */
.bl-byline{display:flex;align-items:center;gap:12px;margin-top:22px}
.bl-avatar{flex:none;width:44px;height:44px;border-radius:50%;background:var(--dl-tint);object-fit:cover} /* author photo, round */
.bl-byline p{display:flex;flex-direction:column;line-height:1.45}
.bl-byline__name{color:var(--dl-navy);font-size:15px;font-weight:600}
.bl-byline__name a{color:inherit;text-decoration:none}
.bl-byline__role{color:var(--dl-muted);font-weight:400} /* role after the name, set off by a middle dot */
.bl-byline__role::before{content:"·";margin:0 6px}
.bl-byline__name a:hover{text-decoration:underline;text-underline-offset:3px}
.bl-byline__sub{color:var(--dl-muted);font-size:14px}
.bl-hero{margin:0}
.bl-share{display:flex;gap:8px}
.bl-share__b{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--dl-line);border-radius:var(--dl-r-btn);background:#fff;color:var(--dl-navy);cursor:pointer;transition:background-color .2s var(--dl-ease),border-color .2s var(--dl-ease)}
.bl-share__b:hover{background:var(--dl-tint-2);border-color:var(--dl-line-2)}
.bl-share__b .dl-ico{width:19px;height:19px}
.bl-glyph{width:19px;height:19px;fill:currentColor}
.bl-hero img,.bl-fig img{width:100%;border-radius:var(--dl-r-card)}

/* "In short" (A7): a pale-blue band, body-size navy text */
.bl-short{margin-top:32px;padding:24px 28px;border-radius:var(--dl-r-card);background:var(--dl-tint-2)}
.bl-short__t{color:var(--dl-navy);font-size:18px;font-weight:700}
.bl-short p{margin-top:8px;color:var(--dl-ink);font-size:16px;line-height:1.7}
.bl-short i{font-style:italic}

/* body (A8): 17px (= --dl-body, 1.2 user decision; was 18px, large in Poppins), weight 400 */
.bl-body{margin-top:40px;color:var(--dl-ink);font-size:var(--dl-body);line-height:1.7}
.bl-body p + p,.bl-body ul + p,.bl-body p + ul{margin-top:1.1em}
.bl-body h2{margin:52px 0 14px;font-size:var(--dl-h2);font-weight:800;line-height:1.25}
.bl-body h3{margin:30px 0 8px;font-size:20px;font-weight:700;line-height:1.35}
.bl-body h4{margin:20px 0 4px;color:var(--dl-navy);font-size:17px;font-weight:600;line-height:1.4}
.bl-body h2 + h3{margin-top:18px}
.bl-body ul{display:grid;gap:8px;padding-left:24px;list-style:disc}
.bl-body ul li::marker{color:var(--dl-blue)}
.bl-body a{color:var(--dl-blue-600);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.bl-body a:hover{text-decoration-thickness:2px}
.bl-fig{margin:4px 0 24px}
.bl-body h2,.bl-short,.bl-faq,.bl-author{scroll-margin-top:calc(var(--bl-sticky) + 16px)}

/* ticket card (A12, 1.2 user request): the live "Loved the Blog?" card in our one card style (12px, soft shadow).
   Photo on top as a plain band (no text over people), navy panel, one white 10px button (user decision: navy, tried white
   and kept navy; no ticket stub). Replaces the 1.0.2 plain-text closing. */
.bl-tcard{margin-top:24px;overflow:hidden;border-radius:var(--dl-r-card);background:var(--dl-navy);box-shadow:var(--dl-shadow)}
.bl-tcard img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;object-position:50% 0} /* 2:1 keeps the column short; the crop takes the bottom (legs), never a head */
.bl-tcard__body{padding:18px 20px 20px}
.bl-tcard__t{color:#fff;font-size:19px;font-weight:700;line-height:1.3}
.bl-tcard__s{margin:4px 0 16px;color:rgba(255,255,255,.86);font-size:15px;line-height:1.5}
.bl-tcard .dl-btn:focus-visible{outline-color:#fff;outline-offset:3px} /* the focus ring shows on navy */

/* about the author (A15; 1.2 back, user decision): a pale-blue box with our 12px corners, like "In short"; no line above */
.bl-author{display:flex;align-items:flex-start;gap:20px;margin-top:56px;padding:24px 28px;border-radius:var(--dl-r-card);background:var(--dl-tint-2)}
.bl-avatar--lg{width:64px;height:64px}
.bl-author__t{color:var(--dl-navy);font-size:18px;font-weight:700}
.bl-author__role{margin-top:2px;color:var(--dl-muted);font-size:14px}
.bl-author__bio{max-width:60ch;margin-top:6px;color:var(--dl-muted);font-size:16px;line-height:1.65}

/* FAQ, related (A14, A16) */
.bl-faq .dl-h2{margin-bottom:12px} /* section headings use the shared .dl-h2, as on the homepage and ticket page */
.bl-faq{margin-top:64px}
.bl-related{margin-top:64px}
.bl-related .dl-h2{margin-bottom:20px}
.bl-list{display:grid;gap:20px}
.bl-list a{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:18px;border-radius:var(--dl-r-card);color:inherit;text-decoration:none}
.bl-list a:focus-visible{outline-offset:4px}
.bl-list img{width:100%;aspect-ratio:4/3;border-radius:10px;object-fit:cover;box-shadow:var(--dl-shadow)}
.bl-list b{display:-webkit-box;overflow:hidden;color:var(--dl-navy);font-size:16.5px;font-weight:600;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bl-list b i{font-weight:inherit}
.bl-list small{display:block;margin-top:4px;color:var(--dl-muted);font-size:13.5px}
.bl-list a:hover b{text-decoration:underline;text-underline-offset:3px}

/* ==========================================================================
   CONTENT BLOCKS (1.1): the fixed set every post builds from. Catalog with fields and rules: blog/blocks/.
   Each block sits inside .bl-body and carries data-block="…" (one CMS block each). Blocks only change how
   the words are laid out: live copy stays word for word. At most 2–3 visual blocks per H2 section.
   ========================================================================== */
.bl-body .bl-blk{margin:36px 0}
.bl-body .bl-blk + p{margin-top:0}

/* Key points: 2–6 items, each an icon, a short title and one line. Items sit on white, no boxes. */
.bl-body .bl-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px;padding:0;list-style:none}
.bl-body .bl-points li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:start}
.bl-points__ic{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--dl-r-btn);background:var(--dl-tint);color:var(--dl-navy)}
.bl-points__ic .dl-ico{width:22px;height:22px}
.bl-points__t{display:block;color:var(--dl-navy);font-size:17px;font-weight:600;line-height:1.4}
.bl-body .bl-points__t a{color:inherit;font-weight:inherit;text-decoration:none}
.bl-body .bl-points__t a:hover{text-decoration:underline;text-decoration-thickness:1px}
.bl-body .bl-points p{margin:4px 0 0;color:var(--dl-muted);font-size:15.5px;line-height:1.6}

/* Comparison: 2–3 options in one card, split by the ticket-stub dashed perforation (the site's one playful device) */
.bl-compare{display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));border-radius:var(--dl-r-card);background:#fff;box-shadow:var(--dl-shadow)}
.bl-compare__col{display:flex;flex-direction:column;padding:24px 26px 26px}
.bl-compare__col + .bl-compare__col{border-left:2px dashed var(--dl-line-2)}
.bl-compare__t,.bl-body .bl-compare__t{margin:0;color:var(--dl-navy);font-size:19px;font-weight:700;line-height:1.35} /* a <p>, or the post's own <h3> */
.bl-compare__t i{font-weight:inherit}
.bl-body .bl-compare__sum{margin:6px 0 0;color:var(--dl-ink);font-size:16px;line-height:1.6}
.bl-body .bl-compare ul{gap:8px;margin:16px 0 18px;padding:0;list-style:none}
.bl-body .bl-compare li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:15.5px;line-height:1.55}
.bl-compare li .dl-ico{width:18px;height:18px;margin-top:3px;color:var(--dl-green)} /* green = a plus point (trust and savings colour) */
.bl-body .bl-compare__best{margin:auto 0 0;padding-top:14px;border-top:1px solid var(--dl-line);color:var(--dl-muted);font-size:15px;line-height:1.5}
.bl-compare__best b{color:var(--dl-navy);font-weight:600}

/* Steps: numbered items for any "N tips" or "how to". The step titles are the post's own H3s. */
.bl-body .bl-steps{display:grid;gap:0;padding:0;list-style:none;counter-reset:bl-step}
.bl-body .bl-steps > li{position:relative;padding:0 0 28px 60px;counter-increment:bl-step}
.bl-body .bl-steps > li:last-child{padding-bottom:0}
.bl-steps > li::before{content:counter(bl-step);position:absolute;top:0;left:0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--dl-navy);color:#fff;font-size:16px;font-weight:700}
.bl-steps > li:not(:last-child)::after{content:"";position:absolute;top:48px;bottom:8px;left:19px;width:2px;background:var(--dl-line)}
.bl-body .bl-steps h3{margin:6px 0 6px;font-size:20px}
.bl-body .bl-steps p{margin:0}
.bl-body .bl-steps p + p{margin-top:.8em}

/* Callout: one fact worth remembering, "Good to know" or "Tip". Pale panel, icon, label inline. One per section at most. */
.bl-note{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;padding:18px 22px;border-radius:var(--dl-r-card);background:var(--dl-tint-2)}
.bl-note > .dl-ico{width:22px;height:22px;margin-top:3px;color:var(--dl-blue-600)}
.bl-body .bl-note p{margin:0;color:var(--dl-ink);font-size:16.5px;line-height:1.65}
.bl-note__l{color:var(--dl-navy);font-weight:700}
/* Tip box (1.3.3, user request): "Pro tip", "Did you know?" and the like, made by the blog builder.
   The same pale box as "In short": label on its own line, no icon. One per section at most. */
.bl-note--tip{display:block;margin:28px 0;padding:22px 26px}
.bl-note__t{color:var(--dl-navy);font-size:17px;font-weight:700;line-height:1.4}
.bl-body .bl-note--tip .bl-note__t + p{margin-top:6px}
.bl-body .bl-note--tip p + p,.bl-body .bl-note--tip p + ul,.bl-body .bl-note--tip ul + p{margin-top:.8em}
@media (max-width:767px){.bl-note--tip{padding:18px 20px}}

/* Image: full width of the text column, optional caption */
.bl-fig figcaption{margin-top:10px;color:var(--dl-muted);font-size:14.5px;line-height:1.5}

/* Image + text: a photo beside a short paragraph (photo left; text never over the photo) */
.bl-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:28px;align-items:center}
.bl-split img{width:100%;border-radius:var(--dl-r-card)}
.bl-body .bl-split h3{margin-top:0}
.bl-body .bl-split p{margin:0}

/* block catalog page (blog/blocks/, internal): spec on the left, the block at the article's width on the right */
.bl-cat__head{padding-bottom:40px}
.bl-cat{padding-top:56px;padding-bottom:88px}
.bl-cat__row{display:grid;grid-template-columns:300px minmax(0,1fr);gap:64px;padding:48px 0;border-top:1px solid var(--dl-line)}
.bl-cat__row:first-child{padding-top:0;border-top:0}
.bl-cat__t{color:var(--dl-navy);font-size:22px;font-weight:700;line-height:1.3}
.bl-cat__use{margin-top:8px;color:var(--dl-ink);font-size:16px;line-height:1.6}
.bl-cat__dl{margin:20px 0 0}
.bl-cat__dl dt{margin-top:14px;color:var(--dl-navy);font-size:14px;font-weight:600}
.bl-cat__dl dd{margin:2px 0 0;color:var(--dl-muted);font-size:15px;line-height:1.55}
.bl-cat__demo.bl-body{margin-top:0}
.bl-cat__demo > :first-child{margin-top:0}
.bl-cat__demo > :last-child{margin-bottom:0}
.bl-cat__demo .bl-short{margin-top:0}
.bl-cat__demo .bl-short__t{margin:0}
.bl-cat__rules{display:grid;gap:14px;margin:0;padding:0;list-style:none;color:var(--dl-ink);font-size:16.5px;line-height:1.6}
.bl-cat__rules b{color:var(--dl-navy);font-weight:600}
.bl-cat__rules code{font-size:.9em}

@media (max-width:1199px){
  .bl-cat__row{grid-template-columns:minmax(0,1fr);gap:24px}
  .bl-cat__demo{max-width:768px}
}
@media (max-width:767px){
  .bl-cat{padding-top:36px}
  .bl-cat__row{padding:36px 0}
  .bl-body .bl-points{grid-template-columns:minmax(0,1fr);gap:22px}
  .bl-compare{grid-template-columns:minmax(0,1fr)}
  .bl-compare__col{padding:20px}
  .bl-compare__col + .bl-compare__col{border-left:0;border-top:2px dashed var(--dl-line-2)}
  .bl-body .bl-steps > li{padding-left:52px}
  .bl-steps > li::before{width:36px;height:36px;font-size:15px}
  .bl-steps > li:not(:last-child)::after{top:44px;left:17px}
  .bl-note{padding:16px 18px;gap:12px}
  .bl-split{grid-template-columns:minmax(0,1fr);gap:18px}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1199px){
  .bl-art{display:block;padding-top:18px}
  /* the right column follows the post: share row, then the card with its photo beside the text */
  .bl-side{position:static;max-width:720px;margin:56px auto 0;padding-top:32px;border-top:1px solid var(--dl-line)}
  .bl-main,.bl-ahead{max-width:720px;margin:0 auto}
  .bl-tcard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;margin-top:32px}
  .bl-tcard img{height:100%}
  .bl-tcard__body{padding:24px 28px}
}
@media (max-width:1023px){
  :root{--bl-sticky:84px} /* mobile header from 1023px down */
}
@media (max-width:767px){
  .bl-wrap{padding-left:20px;padding-right:20px}
  .bl-intro{font-size:16px}
  .bl-byline{margin-top:16px}
  .bl-ahead{padding-bottom:24px}
  .bl-tcard{display:block}
  .bl-tcard img{height:auto}
  .bl-tcard__body{padding:20px}
  .bl-body{font-size:16px;line-height:1.65}
  .bl-author{gap:16px;padding:20px}
  .bl-avatar--lg{width:52px;height:52px}
  .bl-body h2{margin-top:44px}
  .bl-body h3{font-size:18.5px}
  .bl-short{padding:20px}
  .bl-short p{font-size:16px}
}
@media (max-width:599px){
  .bl-pages .bl-pages__lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .bl-pages__btn--prev,.bl-pages__btn--next{padding:0}
  .bl-list a{grid-template-columns:104px minmax(0,1fr);gap:14px}
  .bl-list b{font-size:15.5px}
}

.bl-tabs a{position:relative;display:inline-flex;align-items:center;min-height:48px;padding:0 6px;color:var(--dl-muted);font-size:16px;font-weight:500;white-space:nowrap;text-decoration:none;transition:color .2s var(--dl-ease)}
.bl-tabs a:hover{color:var(--dl-navy)}
.bl-tabs a[aria-current="page"]{color:var(--dl-navy);font-weight:600}
.bl-tabs a:first-child{margin-left:-6px}
.bl-tabs a[aria-current="page"]::after{content:"";position:absolute;right:6px;bottom:0;left:6px;height:2px;background:var(--dl-navy)}
@media (max-width:767px){.bl-tabs a{flex:none;font-size:15.5px}}
