/* The search pages (app/pages.py, templates/pages/): guides, comparisons, dungeons. Built on site.css
   and landing_v6.css (body.v6), scoped to body.pg. */

/* ---------------------------------------------------------------- header band */
.pg .pg-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.pg .pg-hero-in > * { max-width: 980px; }
.pg .crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 26px; padding: 0; font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pg .crumbs li { display: inline-flex; align-items: center; color: #b9ab90; text-shadow: 0 1px 2px #000; }
.pg .crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; transform: rotate(45deg); background: var(--v6-gold-2); }
.pg .crumbs a { color: #d9c9a6; }
.pg .crumbs a:hover { color: #f6d38b; }
.pg .pg-kicker { margin: 0 0 14px; color: var(--v6-gold); font-size: clamp(.82rem, .95vw, .95rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 2px #000; }
.pg .pg-hero h1 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.06; color: #f8e9c6; text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 0 40px rgba(255, 170, 70, .35); }
.pg .pg-hero .rule.left { margin-top: 24px; }
.pg .pg-hero .lede { max-width: 46em; margin: 22px 0 0; color: #eee5d3; font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.65; text-shadow: 0 1px 3px #000; }
.pg .pg-meta { margin: 22px 0 0; color: #a99c83; font-size: .9rem; }
.pg .pg-facts { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 26px 0 0; padding: 0; }
.pg .pg-facts li { padding: 8px 14px; background: rgba(10, 7, 5, .66); border: 1px solid rgba(201, 154, 76, .45); color: #efe2c4; font-size: .95rem; font-weight: 700; text-shadow: 0 1px 2px #000; }
.pg .pg-facts li b { color: var(--v6-gold); font-weight: 700; margin-right: 6px; }
.pg .pg-facts li.new { border-color: #6fc3ff; color: #d8efff; box-shadow: 0 0 14px rgba(80, 170, 255, .25); }

/* ---------------------------------------------------------------- body: article + card */
.pg .pg-body { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 90px); background: var(--v6-bg); }
.pg .pg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.pg .pg-article { min-width: 0; max-width: 820px; }
.pg .pg-article > :first-child { margin-top: 0; }
.pg .prose h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.pg .prose h2:first-child { border-top: 0; padding-top: 0; }
.pg .prose p { margin: 0 0 1.1em; }
.pg .prose .big { font-size: 1.14rem; color: #e8dcc3; }
.pg .pg-aside { position: sticky; top: 96px; }
.pg .pg-card { --ofr: 26px; display: grid; gap: 12px; padding: 22px 22px 24px; }
.pg .pg-card-mark { display: flex; align-items: center; gap: 12px; margin: 0; }
.pg .pg-card-mark .brand-name { font-size: 1.6rem; }
.pg .pg-card-title { margin: 4px 0 0; font-family: var(--v6-title); font-size: 1.32rem; line-height: 1.25; color: #f6e6c0; }
.pg .pg-card-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; color: #d8ccb4; font-size: .98rem; }
.pg .pg-card-list li { display: flex; gap: 10px; align-items: baseline; }
.pg .pg-card-list li::before { content: ""; flex: none; width: 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--v6-gold); box-shadow: 0 0 8px rgba(255, 190, 90, .6); }
.pg .pg-card .btn { width: 100%; }

/* ---------------------------------------------------------------- blocks inside an article */
.pg .pg-callout { margin: 1.8em 0; padding: 22px 24px; background: linear-gradient(180deg, rgba(255, 190, 90, .08), rgba(255, 190, 90, .03)); border: 1px solid rgba(201, 154, 76, .5); border-left: 3px solid var(--v6-gold); }
.pg .pg-callout h3 { margin: 0 0 .4em; font-size: 1.3rem; color: #f3cf7e; }
.pg .pg-callout p:last-child { margin-bottom: 0; }
.pg .pg-callout .cta-row { margin-top: 14px; }
.pg .pg-callout .btn { min-height: 42px; padding: 9px 20px; }
.pg .pg-shot { margin: 1.6em 0; }
.pg .pg-shot .proof { margin: 0 auto; }
.pg .pg-shot figcaption { margin-top: 10px; color: #a99c83; font-size: .92rem; text-align: center; }
.pg .pg-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 1.4em 0 1.8em; }
.pg .pg-verdict > div { padding: 20px 22px; border: 1px solid rgba(201, 154, 76, .35); background: rgba(0, 0, 0, .28); }
.pg .pg-verdict > div.us { border-color: rgba(233, 194, 122, .7); background: linear-gradient(180deg, rgba(255, 190, 90, .09), rgba(255, 190, 90, .03)); }
.pg .pg-verdict h3 { margin: 0 0 .5em; font-size: 1.25rem; }
.pg .pg-verdict ul { margin: 0; }
.pg .pg-points { list-style: none; padding: 0 !important; display: grid; gap: 14px; margin: 1em 0 1.6em; }
.pg .pg-points li { margin: 0; padding: 18px 20px 18px 90px; position: relative; min-height: 88px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pg .pg-points li .med { position: absolute; left: 18px; top: 18px; }
.pg .pg-points li b { display: block; color: #f3e6c8; font-family: var(--v6-title); font-weight: 400; font-size: 1.18rem; margin-bottom: 2px; }
.pg ol.pg-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.pg ol.pg-steps > li { counter-increment: step; position: relative; padding: 2px 0 14px 54px; margin: 0; }
.pg ol.pg-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--v6-gold-2); background: radial-gradient(circle, #2a1d0f, #0e0905); color: #f6dc9c; font-family: var(--v6-title); font-size: 1.15rem; box-shadow: 0 0 12px rgba(255, 180, 80, .25); }
.pg ol.pg-steps > li b { color: #f3e6c8; }
.pg .pg-sources { font-size: .93rem; color: #b5a98f; }
.pg .pg-sources li { margin: .5em 0; }
.pg code, .pg .path { font-family: var(--mono); font-size: .9em; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); border-radius: 2px; padding: .1em .45em; color: #f3e6c8; word-break: break-all; }

/* tables: the comparison, zones, dungeons, quests */
.pg .pg-table-wrap { margin: 1em 0 1.6em; overflow-x: auto; border: 1px solid rgba(201, 154, 76, .35); background: rgba(0, 0, 0, .25); }
.pg .pg-table-wrap table { display: table; margin: 0; min-width: 560px; }
.pg .pg-table-wrap th, .pg .pg-table-wrap td { padding: 11px 14px; }
.pg .pg-table-wrap thead th { background: rgba(201, 154, 76, .1); border-bottom: 1px solid rgba(201, 154, 76, .45); white-space: nowrap; }
.pg .pg-table-wrap tbody tr:hover { background: rgba(255, 190, 90, .04); }
.pg td.num, .pg th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg td .sub { display: block; color: #a99c83; font-size: .88rem; }
.pg .badge-new { display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d8efff; border: 1px solid #6fc3ff; vertical-align: 2px; }
.pg .side-a { color: #8fb8ff; }
.pg .side-h { color: #ff8f7a; }
.pg .cmp-frame { margin: 1.2em 0 1.6em; padding: 4px 6px; }
.pg .cmp { font-size: .98rem; }
.pg .cmp th[scope="row"] { font-size: 1.05rem; padding: 16px 14px 16px 4px; }
.pg .cmp td { padding: 16px 16px; font-size: .97rem; }
.pg .cmp thead td { width: 24%; }
.pg .cmp-name { font-size: 1.35rem; }

/* bosses in kill order */
.pg ol.pg-bosses { list-style: none; padding: 0 !important; margin: 1em 0 1.6em; display: grid; gap: 10px; }
.pg ol.pg-bosses li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; margin: 0; padding: 14px 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pg ol.pg-bosses .n { grid-row: span 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--v6-gold-2); color: #f6dc9c; font-family: var(--v6-title); font-size: 1.05rem; }
.pg ol.pg-bosses b { font-family: var(--v6-title); font-weight: 400; font-size: 1.2rem; color: #f3e6c8; }
.pg ol.pg-bosses .tip, .pg ol.pg-bosses .drop { color: #cdc2ad; font-size: .97rem; }
.pg ol.pg-bosses .tip::before { content: "Tip: "; color: var(--v6-gold); font-weight: 700; }
.pg ol.pg-bosses .drop::before { content: "Quest drop: "; color: var(--v6-gold); font-weight: 700; }

/* the guides index and "keep reading" */
.pg .pg-cards { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1em 0 2em; }
.pg .pg-cards li { margin: 0; }
.pg .pg-cards a, .pg .pg-related a { display: block; height: 100%; padding: 18px 20px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(201, 154, 76, .35); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.pg .pg-cards a:hover, .pg .pg-related a:hover { border-color: var(--v6-gold); background: rgba(255, 190, 90, .06); }
.pg .pg-cards b, .pg .pg-related b { display: block; margin-bottom: 6px; font-family: var(--v6-title); font-weight: 400; font-size: 1.25rem; color: #f3e6c8; }
.pg .pg-cards span, .pg .pg-related span { display: block; color: #b9ad94; font-size: .95rem; line-height: 1.5; }
.pg .pg-related { margin-top: clamp(40px, 5vw, 72px); }
.pg .pg-related h2 { font-size: 1.7rem; margin: 0 0 18px; }
.pg .pg-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg .pg-around { display: flex; justify-content: space-between; gap: 16px; margin: 2em 0 0; }
.pg .pg-around a { padding: 12px 16px; border: 1px solid rgba(201, 154, 76, .35); background: rgba(0, 0, 0, .25); text-decoration: none; color: #e6dac2; }
.pg .pg-around a:hover { border-color: var(--v6-gold); color: #f6d38b; }
.pg .pg-around small { display: block; color: #a99c83; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pg .pg-end { padding: clamp(90px, 11vw, 160px) 0; }
.pg .pg-end h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.pg .pg-faq { max-width: none; margin: .4em 0 0; }

@media (max-width: 1080px) {
  .pg .pg-grid { grid-template-columns: minmax(0, 1fr); }
  .pg .pg-aside { position: static; max-width: 520px; }
  .pg .pg-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pg .pg-cards, .pg .pg-related ul, .pg .pg-verdict { grid-template-columns: minmax(0, 1fr); }
  .pg .pg-points li { padding: 82px 18px 18px; }
  .pg .pg-around { flex-direction: column; }
  .pg .cmp thead td { width: 30%; }
}
