/* =============================================================================
   BLOG, third build (Victor, 11 Oct 2026: "lets just stick to Eldorado look. 1 to 1 is best"; popup: their
   structure, our colours). Numbers are Bob's measurements of eldorado.gg/blog and one of its articles at 390
   and 1280, the same day. Loaded after blog_archive.css and blog_post.css on blog pages only. Phone first.
   Headings carry two classes: the theme's `.site h2 { font-size: clamp() }` beats a single class.
   ========================================================================== */

/* Column: 342 wide at 390 (24px each side; the page already gives 15), 1144 on desktop. */
.al-blog .al-blog__container{max-width:1144px;padding-inline:9px}

/* ---- Row: square picture, game name, title, date and read time. No box. ---------------------------- */
.al-bc{position:relative;box-sizing:border-box;display:flex;align-items:center;gap:14px;min-width:0;padding:12px;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#fff}
.al-bc__media{flex:none;box-sizing:border-box;display:block;width:104px;height:104px;border:2px solid #5b6bbd;border-radius:12px;overflow:hidden;background:#eef0fa}
.al-bc__img{display:block;width:100%;height:100%;object-fit:cover}
.al-bc__text{flex:1;min-width:0;display:block}
.al-bc__game{display:block;margin:0 0 3px;font-size:11.5px;font-weight:700;line-height:1.3;letter-spacing:.03em;text-transform:uppercase;color:#5b6bbd}
.al-bc .al-bc__title{margin:0;font-size:15px;font-weight:700;line-height:1.3;letter-spacing:-.01em;color:#111;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.al-bc .al-bc__link{color:inherit;text-decoration:none}
.al-bc__link::after{content:"";position:absolute;inset:0;border-radius:14px}
.al-bc__link:focus-visible{outline:none}
.al-bc__link:focus-visible::after{outline:2px solid #5060b5}
.al-bc__meta{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 6px;margin:5px 0 0;font-size:12px;line-height:1.35;color:#6b7185}
.al-bc__bar{color:#b9bdcc}
.al-bc__read{display:inline-flex;align-items:center;gap:6px}
.al-bc__clock{flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Title card: stands in for a picture until a real one is uploaded. Drawn from the post's game. */
.al-bc__tc{position:relative;box-sizing:border-box;display:flex;align-items:flex-end;padding:8px;background:linear-gradient(135deg,#2c3470,#7482d6);color:#fff}
.al-bc__tc--genshin-impact{background:linear-gradient(135deg,#1d3b4a,#3f8fa8)}
.al-bc__tc--zenless-zone-zero{background:linear-gradient(135deg,#3b2a5c,#8a5bbd)}
.al-bc__tc--gacha-basics{background:linear-gradient(135deg,#4a2a1d,#c47a3f)}
.al-bc__tc--honkai-star-rail{background:linear-gradient(135deg,#1f2a5c,#5b74c9)}
.al-bc__tc--wuthering-waves{background:linear-gradient(135deg,#1d3d36,#3f9c86)}
.al-bc__tc-mark{position:absolute;top:8px;left:8px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.al-mark svg{display:block;width:76%;height:76%;fill:#fff}
.al-bc__tc-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;font-weight:800;line-height:1.1;text-transform:uppercase;overflow-wrap:anywhere}

/* ---- The list ----------------------------------------------------------- */
.al-blist{display:grid;grid-template-columns:minmax(0,1fr);row-gap:12px;margin:0 0 34px}
.al-blog .al-blatest__h{margin:40px 0 16px;font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#111}
.al-blog .al-bfound{margin:16px 0 18px;font-size:14px;color:#6b7185}

/* ---- Header: heading and the category menu (a disclosure of real links) -- */
.al-bh{display:flex;flex-direction:column;gap:12px}
.al-bg__identity{display:flex;align-items:center;gap:12px}
.al-bg__icon{flex:none;border-radius:10px;object-fit:cover}
.al-bmenu{position:relative}
.al-bmenu__sum{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:46px;padding:0 14px;border:1px solid #dedede;border-radius:10px;background:#fff;color:#111;font-size:16px;font-weight:600;line-height:1.2;cursor:pointer;list-style:none}
.al-bmenu__sum::-webkit-details-marker{display:none}
.al-bmenu__sum::after{content:"";flex:none;width:8px;height:8px;margin:-4px 2px 0 10px;border-right:2px solid #6b7185;border-bottom:2px solid #6b7185;transform:rotate(45deg)}
.al-bmenu[open] .al-bmenu__sum::after{margin-top:4px;transform:rotate(-135deg)}
.al-bmenu__panel{position:absolute;z-index:20;top:52px;left:0;right:0;box-sizing:border-box;padding:8px;border:1px solid #dedede;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(17,20,32,.12)}
.al-bmenu:not([open]) .al-bmenu__panel{display:none}
.al-blog .al-bmenu__list{margin:6px 0 0;padding:0;list-style:none}
.al-blog .al-bmenu__list li{margin:0;padding:0}
.al-bmenu__list a{display:flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px;color:#111;font-size:15px;font-weight:500;text-decoration:none}
.al-bmenu__list a:hover{background:#f3f4fa}
.al-bmenu__list a[aria-current="page"]{color:#5060b5;font-weight:700}
.al-blog .al-bmenu__search{position:relative;display:block;margin:0;width:auto;max-width:none}
.al-blog .al-bmenu__search .al-blog__search-input{box-sizing:border-box;width:100%;height:44px;margin:0;padding:0 44px 0 12px;border:1px solid #dedede;border-radius:8px;background:#f7f8fc;color:#111;font-size:16px}
.al-blog .al-bmenu__search .al-blog__search-btn{position:absolute;top:0;right:0;bottom:auto;left:auto;transform:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;background:none;color:#6b7185}

/* ---- Featured card: 340 x 365 on phones, 1142 x 358 on desktop ---------------- */
.al-bf{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;min-height:365px;margin:20px 0 0;padding:16px;border-radius:15px;overflow:hidden;background:linear-gradient(170deg,#8590e0 0%,#4a56a8 55%,#2c3470 100%);color:#fff}
.al-bf__cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.al-bf--cover::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(12,14,34,.25),rgba(12,14,34,.82))}
.al-bf__mark{position:absolute;z-index:2;top:16px;right:16px;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
/* (the mark is an image) */.al-bf__mark--x{display:none}
.al-bf__date{position:relative;z-index:2;display:block;margin:0 0 10px;font-size:14px;font-weight:700;line-height:1.3;color:#ffd28a}
.al-bf .al-bf__title{position:relative;z-index:2;margin:0;font-size:24px;font-weight:700;line-height:1.3;letter-spacing:0;color:#fff;overflow-wrap:anywhere}
.al-bf .al-bf__link{color:inherit;text-decoration:none}
.al-bf__link::after{content:"";position:absolute;inset:0;z-index:3}
.al-bf__link:focus-visible{outline:none}
.al-bf__link:focus-visible::after{outline:2px solid #fff;outline-offset:-4px;border-radius:15px}
.al-bf .al-bf__text{position:relative;z-index:2;margin:12px 0 0;font-size:18px;font-weight:400;line-height:1.4;color:rgba(255,255,255,.84);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* ---- Numbered page links: 42px boxes ------------------------------------------ */
.al-blog .al-blog__pagination{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 40px;padding:0;border:0}
.al-blog .al-blog__pagination .al-blog__page-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid #5b6bbd;border-radius:8px;background:#fff;color:#4d5aa1;font-size:15px;font-weight:600;text-decoration:none}
.al-blog .al-blog__pagination .al-blog__page-link--active{background:#5060b5;border-color:#5060b5;color:#fff}

/* ---- What the guides cover: four items, 2 x 2 on phones ------------------------- */
.al-bhl{margin:40px 0 0}
.al-blog .al-bhl__h{margin:0 0 16px;font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#111}
.al-bhl__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.al-bhl__item{box-sizing:border-box;padding:16px 12px;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#fff;text-align:center}
.al-bhl__icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:#8f7df2}
.al-bhl__icon--b{background:#c9ec7a}
.al-bhl__icon--c{background:#39e0c8}
.al-bhl__icon--d{background:#f8b62c}
.al-bhl__icon svg{width:30px;height:30px;fill:none;stroke:#14161f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.al-blog .al-bhl__t{margin:10px 0 6px;font-size:15px;font-weight:700;line-height:1.3;color:#111}
.al-blog .al-bhl__d{margin:0;font-size:13.5px;line-height:1.45;color:#6b7185}

/* ---- One shop banner at the end ------------------------------------------------ */
.al-bshop{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;margin:40px 0 26px;padding:16px;border:1px solid #cfd4ee;border-radius:15px;background:linear-gradient(135deg,#f3f1ff,#e7ebff)}
.al-blog .al-bshop__t{margin:0;font-size:17px;font-weight:800;line-height:1.25;color:#111}
.al-blog .al-bshop__d{margin:4px 0 0;font-size:13px;line-height:1.45;color:#555}
.al-bshop__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:#5060b5;color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.al-bshop__btn:hover{background:#4553a3;color:#fff}

/* ---- Article ------------------------------------------------------------------- */
/* Our own look (Victor, 12 Oct 2026: "style it in a way that fit our website aesthetic, not exactly 1 to 1"):
   a light header, dark title, the store's text size. The post picture is not used as a band. */
.al-post__hero-img{display:none}
.al-post .al-post__byline--line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:12px 0 0;font-size:13.5px;line-height:1.4;color:#555}
.al-post .al-post__byline--line span[aria-hidden]{color:#b0b5c5}
.al-post__avatar{flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#5b6bbd}
.al-post__avatar--x{display:none}
.al-post__who{font-weight:700;color:#111}
.al-post__upd{white-space:nowrap}
.al-post .al-post__checked{margin:6px 0 0;font-size:12px;color:#8f95a3}
.al-post .al-post__related{max-width:none;margin-top:48px}
.al-brow__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 22px}
.al-post .al-post__related .al-post__related-h{margin:0;font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#111}
.al-brow__all{flex:none;font-size:14px;font-weight:700;color:#4d5aa1;text-decoration:none;white-space:nowrap}
.al-brow__all:hover{text-decoration:underline}
.al-post__related .al-blist{margin-bottom:0}

/* Contents on phones: a 45px floating button at the right edge that opens the list over the text. */
@media (max-width:979px){
  .al-post .al-post__toc{position:fixed;z-index:30;top:46%;right:10px;margin:0;border:0;border-radius:10px;background:none;overflow:visible}
  .al-post .al-post__toc-sum{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:45px;height:45px;min-height:0;margin-left:auto;padding:0;border:1px solid #c9cde0;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(17,20,32,.16);cursor:pointer}
  .al-post .al-post__toc-sum::after,.al-post .al-post__toc[open] .al-post__toc-sum::after{content:"";float:none;display:block;width:20px;height:14px;border-top:2px solid #111;border-bottom:2px solid #111;background:linear-gradient(#111,#111) left center / 14px 2px no-repeat}
  .al-post__toc-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .al-post .al-post__body .al-post__toc .al-post__toc-list{position:absolute;top:51px;right:0;box-sizing:border-box;width:min(300px,calc(100vw - 30px));max-height:min(60vh,420px);margin:0;padding:12px 14px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dedede;border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(17,20,32,.18)}
  .al-brow__head{flex-direction:column;align-items:flex-start;gap:6px}
  /* byline on phones: the name on its own line, then "Updated date - read time"; no bullet left hanging */
  .al-post__who{flex:1 0 calc(100% - 44px)}
  .al-post .al-post__byline--line .al-post__who + span[aria-hidden]{display:none}
}

/* Narrow phones (under 380px): a 16px gutter and the date line without the clock, so the text stays shorter than
   the picture (Bob, 12 Oct). */
@media (max-width:379px){
  .al-blog .al-blog__container{padding-inline:1px}
  .al-bc__meta{font-size:13px;flex-wrap:nowrap;white-space:nowrap}
  .al-bc__clock,.al-bc__bar{display:none}
  /* the Related rows get the hub's 328 width, so their titles are not cut (Bob) */
  .al-post .al-post__related{margin-inline:-15px}
  .al-bc__date::after{content:"\00b7";margin-left:6px;color:#b9bdcc}
}
/* Breadcrumb links: a 44px tall tap area without a taller row */
.al-blog__breadcrumbs-item a{display:inline-block;padding:15px 0;margin:-15px 0}

@media (hover:hover){
  .al-bc:hover .al-bc__link{text-decoration:underline}
}
@media (min-width:700px){
  .al-post__related .al-blist{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .al-bshop{flex-direction:row;align-items:center;justify-content:space-between}
}
@media (min-width:980px){
  .al-blog .al-blog__container{padding-inline:0}
  .al-bh{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
  .al-bh > .al-blog__lede{flex:0 0 100%}
  .al-bmenu{width:220px}

  /* cards: two columns; the picture is 120 and the title has room for three lines beside it */
  .al-bc{gap:16px;padding:14px}
  .al-bc__media{width:120px;height:120px}
  .al-bc__game{font-size:12px}
  .al-bc .al-bc__title{font-size:17px}
  .al-bc__meta{font-size:13px}
  .al-blog .al-blist{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .al-blog .al-blatest__h{margin:48px 0 18px;font-size:24px}

  .al-bf{min-height:358px;padding:40px}
  .al-bf__date{font-size:18px}
  .al-bf .al-bf__title{max-width:860px;font-size:28px;font-weight:700}
  .al-bf .al-bf__text{max-width:860px;font-size:20px}
  .al-bf__mark{top:32px;right:32px;width:72px;height:72px;border-radius:18px}

  .al-blog .al-bhl__h{font-size:24px;margin-bottom:18px}
  .al-bhl__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

  /* Article: text column 809, Contents as a boxed card 251 wide at the right, sticky */
  /* Article on desktop: text column, with Contents as a boxed card at the right that follows the reader */
  .al-post{grid-template-columns:minmax(0,760px) 251px;column-gap:48px;justify-content:center;max-width:1144px}
  .al-post .al-post__head,.al-post .al-post__feature,.al-post .al-post__related,.al-post .al-post__body > *{grid-column:1}
  .al-post .al-post__body > .al-post__toc{grid-column:2;grid-row:1 / span 999;position:sticky;top:104px;align-self:start;margin:0;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:#fff}
  .al-post .al-post__toc-sum{padding:14px 16px;background:none;font-size:14px;font-weight:700}
  .al-post__toc-word{position:static}
  .al-post .al-post__body .al-post__toc .al-post__toc-list{padding:0 16px 14px;font-size:14px;row-gap:9px;max-height:calc(100vh - 200px)}
  .al-post .al-post__body .al-post__toc .al-post__toc-list li{font-size:14px}
  .al-post .al-post__related{max-width:760px}
}
