/*
Theme Name: PokéGO Community
Theme URI: https://www.pokemongo.nl/
Author: Pokemongo.nl
Description: Licht, snel en mobiel nieuws- en communitythema voor Pokemongo.nl.
Version: 1.1.2
Text Domain: pokego-community
*/

:root {
  --ink: #07162f;
  --ink-soft: #42526d;
  --blue: #1769e8;
  --blue-dark: #0b49b5;
  --blue-pale: #eaf3ff;
  --yellow: #ffd84d;
  --green: #33a65c;
  --line: #dce5f0;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(13, 48, 94, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 9999;
  padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: relative; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(7,22,47,.08);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 190px; max-height: 58px; object-fit: contain; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  position: relative; padding: 29px 0 25px; color: #15223a;
  font-size: 13px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--blue); border-radius: 4px 4px 0 0; transition: right .2s ease;
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer;
}
.icon-button:hover, .menu-button:hover { background: var(--blue-pale); color: var(--blue); }
.icon-button:focus-visible, .menu-button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; background: var(--blue-pale); color: var(--blue);
}
.menu-icon-close { display: none; }
.menu-button[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-button[aria-expanded="true"] .menu-icon-close { display: block; }
.login-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 0 20px; border-radius: 9px; background: var(--blue); color: white;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(23,105,232,.22);
}
.login-button:hover { background: var(--blue-dark); }
.menu-button { display: none; }
.search-panel {
  display: none; position: absolute; inset: 78px 0 auto; background: white;
  border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); padding: 24px 0;
}
.search-panel.is-open { display: block; }
.search-form { display: flex; max-width: 720px; margin: 0 auto; }
.search-form label { flex: 1; }
.search-form input[type="search"] {
  width: 100%; height: 52px; border: 1px solid var(--line); border-right: 0;
  border-radius: 10px 0 0 10px; padding: 0 18px; color: var(--ink); outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,232,.12); }
.search-form button {
  border: 0; border-radius: 0 10px 10px 0; padding: 0 24px;
  background: var(--blue); color: white; font-weight: 800; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; min-height: 390px; display: grid; place-items: center;
  background-position: center 38%; background-size: cover; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(242,249,255,.98) 0%, rgba(242,249,255,.90) 38%, rgba(242,249,255,.32) 70%, rgba(242,249,255,.13) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 70px; z-index: -1;
  background: linear-gradient(transparent, rgba(255,255,255,.22));
}
.hero-inner { padding: 72px 0; }
.hero-copy { max-width: 610px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 7px 12px; border-radius: 999px; color: var(--blue); background: white;
  box-shadow: 0 5px 18px rgba(13,48,94,.11); font-size: 11px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hero h1 { max-width: 620px; margin: 0 0 14px; font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.05em; }
.hero p { max-width: 560px; margin: 0 0 28px; color: #23344d; font-size: 18px; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 12px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 10px 22px rgba(23,105,232,.25); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: rgba(255,255,255,.82); border-color: #9eb0c7; color: var(--ink); }
.button-secondary:hover { background: white; box-shadow: var(--shadow); }

/* Sections */
.section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.section-soft { background: var(--wash); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; text-transform: uppercase; }
.section-link { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.section-link:hover { color: var(--blue-dark); }
.section-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.section-link:hover span { transform: translateX(3px); }

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-card {
  min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 4px 16px rgba(13,48,94,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: #bdd3f1; box-shadow: var(--shadow); }
.post-card-image { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #dce8f6; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-content { padding: 16px 17px 18px; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; color: #6b7890; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.label {
  display: inline-flex; padding: 3px 7px; border-radius: 5px; background: var(--blue-pale);
  color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
}
.label-green { background: #e4f6ea; color: #208044; }
.label-yellow { background: #fff5c9; color: #8b6900; }
.post-card h3 { margin: 0; font-size: 18px; line-height: 1.28; letter-spacing: -.025em; }

.events-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.events-panel .section-head { margin-bottom: 14px; }
.events-panel .section-head h2 { font-size: 16px; }
.event-list { display: grid; gap: 5px; }
.event-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.event-row:last-child { border-bottom: 0; }
.event-thumb { width: 64px; height: 58px; overflow: hidden; border-radius: 10px; background: #e4ecf7; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-kicker { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.event-row h3 { margin: 2px 0 3px; font-size: 13px; line-height: 1.22; }
.event-date { color: #6b7890; font-size: 10px; font-weight: 700; }

.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide-card { min-height: 176px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.guide-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 50%; background: var(--blue-pale); font-size: 27px; }
.guide-card:nth-child(2) .guide-icon { background: #e9f8e8; }
.guide-card:nth-child(3) .guide-icon { background: #fff4cc; }
.guide-card:nth-child(4) .guide-icon { background: #f0eaff; }
.guide-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.25; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.guide-card:hover { border-color: #b7cff1; box-shadow: var(--shadow); transform: translateY(-3px); }

.community-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 24px; }
.community-feed, .community-cta { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.feed-tabs { display: flex; gap: 4px; padding: 12px; background: var(--wash); border-bottom: 1px solid var(--line); }
.feed-tab { padding: 7px 12px; border-radius: 7px; background: white; color: var(--ink-soft); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.feed-tab.active { color: white; background: var(--blue); }
.community-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.community-item:last-child { border-bottom: 0; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg,#f9d74c,#ff8b3d); font-size: 18px; }
.community-item-main { min-width: 0; flex: 1; }
.community-item h3 { margin: 0; overflow: hidden; font-size: 14px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.community-item p { margin: 2px 0 0; color: #778398; font-size: 11px; }
.community-tag { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; background: var(--blue-pale); color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.community-cta { position: relative; padding: 34px; isolation: isolate; }
.community-cta::after { content: "◓"; position: absolute; right: -25px; bottom: -90px; z-index: -1; color: var(--blue-pale); font-size: 230px; line-height: 1; transform: rotate(-18deg); }
.community-cta h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.03em; }
.community-cta p { margin: 0 0 22px; color: var(--ink-soft); }
.community-cta .button { width: 100%; }

/* Listing and content */
.page-hero { padding: 58px 0 42px; background: linear-gradient(135deg,#eef6ff,#fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(34px,5vw,54px); letter-spacing: -.045em; line-height: 1; }
.page-hero p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 18px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pagination { margin-top: 36px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 7px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; font-weight: 800; }
.pagination .current { border-color: var(--blue); background: var(--blue); color: white; }

.content-layout { display: grid; grid-template-columns: minmax(0,780px) 300px; gap: 44px; align-items: start; }
.article { min-width: 0; }
.article-header { margin-bottom: 26px; }
.article-header h1 { margin: 12px 0 15px; font-size: clamp(36px,5vw,58px); line-height: 1.04; letter-spacing: -.045em; }
.article-byline { display: flex; flex-wrap: wrap; gap: 12px; color: #6b7890; font-size: 13px; }
.article-cover { margin-bottom: 30px; overflow: hidden; border-radius: 22px; background: #e4edf7; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.article-content { font-size: 17px; line-height: 1.8; }
.article-content > * { max-width: 760px; }
.article-content h2 { margin: 42px 0 12px; font-size: 30px; line-height: 1.2; letter-spacing: -.03em; }
.article-content h3 { margin: 32px 0 10px; font-size: 23px; }
.article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { border-radius: 14px; }
.article-content blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); color: var(--ink-soft); font-size: 20px; }
.sidebar-card { margin-bottom: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.sidebar-card h2 { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; }
.sidebar-links { display: grid; gap: 12px; }
.sidebar-link { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; }
.sidebar-link img { width: 62px; height: 52px; object-fit: cover; border-radius: 8px; }
.sidebar-link span { font-size: 12px; font-weight: 800; line-height: 1.3; }
.empty-state { padding: 50px; text-align: center; border: 1px dashed #bac9dc; border-radius: var(--radius); background: var(--wash); }

/* Modern page templates */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.page-hero-rich {
  position: relative; overflow: hidden; padding: 0;
  background:
    radial-gradient(circle at 83% 26%, rgba(87,171,255,.20), transparent 24%),
    linear-gradient(135deg,#eff7ff 0%,#f9fcff 58%,#e9f4ff 100%);
}
.page-hero-rich::before {
  content: ""; position: absolute; inset: 0; opacity: .34; pointer-events: none;
  background-image: radial-gradient(rgba(23,105,232,.22) 1px, transparent 1px);
  background-size: 24px 24px; mask-image: linear-gradient(90deg,transparent 30%,#000 100%);
}
.page-hero-grid {
  position: relative; min-height: 378px; padding-block: 54px;
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 56px; align-items: center;
}
.page-hero-copy { position: relative; z-index: 2; max-width: 750px; }
.breadcrumbs { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 9px; color: #718096; font-size: 12px; font-weight: 700; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero-rich .eyebrow { display: inline-flex; margin-bottom: 12px; }
.page-hero-rich h1 { max-width: 760px; margin-bottom: 16px; font-size: clamp(44px,6vw,72px); line-height: .98; }
.page-hero-rich p { max-width: 670px; color: #40516a; font-size: clamp(17px,2vw,20px); line-height: 1.65; }
.page-quick-links { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 9px; }
.page-quick-links a {
  padding: 8px 12px; border: 1px solid rgba(23,105,232,.16); border-radius: 999px;
  background: rgba(255,255,255,.72); color: #315071; font-size: 11px; font-weight: 850; text-transform: uppercase;
  letter-spacing: .05em; backdrop-filter: blur(6px); transition: .18s ease;
}
.page-quick-links a:hover { border-color: var(--blue); background: white; color: var(--blue); transform: translateY(-1px); }
.page-hero-visual {
  position: relative; justify-self: center; width: 270px; height: 270px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.66); box-shadow: 0 30px 70px rgba(17,90,180,.16), inset 0 0 0 1px rgba(255,255,255,.8);
}
.page-hero-visual::before, .page-hero-visual::after { content: ""; position: absolute; border-radius: 50%; }
.page-hero-visual::before { inset: 32px; border: 1px dashed rgba(23,105,232,.33); }
.page-hero-visual::after { width: 20px; height: 20px; top: 29px; right: 49px; background: var(--yellow); box-shadow: -184px 158px 0 #63c485; }
.page-hero-ring { position: absolute; inset: 72px; border: 12px solid rgba(23,105,232,.10); border-radius: 50%; }
.page-hero-symbol { position: relative; color: var(--blue); font-size: 96px; font-weight: 300; line-height: 1; filter: drop-shadow(0 12px 20px rgba(23,105,232,.12)); }
.page-hero-pokedex .page-hero-symbol { color: #e74444; }
.page-hero-go-map .page-hero-symbol { color: #26a667; }
.page-hero-meewerken-met-pokemongo-nl .page-hero-symbol { color: #8a61df; }
.page-hero-poke-mart .page-hero-symbol { color: #df9f18; }

.section-kicker { display: block; margin-bottom: 6px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.page-section-head { margin-bottom: 28px; }
.page-section-head h2 { max-width: 760px; font-size: clamp(28px,4vw,42px); letter-spacing: -.04em; }
.page-feature-strip { padding: 0; border-bottom: 1px solid var(--line); }
.feature-strip { min-height: 112px; display: grid; grid-template-columns: repeat(3,1fr); }
.feature-strip > div { padding: 28px 40px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.feature-strip > div + div { border-left: 1px solid var(--line); }
.feature-strip strong { color: var(--blue); font-size: 28px; line-height: 1; }
.feature-strip span { color: var(--ink-soft); font-size: 13px; font-weight: 750; }

.guide-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.directory-card {
  min-height: 118px; padding: 22px 22px; display: grid; grid-template-columns: 42px 1fr 30px; gap: 15px; align-items: center;
  border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 6px 20px rgba(20,57,102,.045); transition: .2s ease;
}
.directory-card:hover { border-color: #acd0ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.directory-number { color: #8aa2bd; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.directory-copy { min-width: 0; display: grid; gap: 5px; }
.directory-copy strong { font-size: 17px; letter-spacing: -.015em; }
.directory-copy small { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.directory-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-weight: 900; }
.page-cta-banner { padding: 32px 38px; border: 1px solid #cfe2fb; border-radius: 20px; background: white; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow); }
.page-cta-banner h2 { margin: 0 0 5px; font-size: 25px; letter-spacing: -.03em; }
.page-cta-banner p { margin: 0; color: var(--ink-soft); }
.page-cta-banner .button { flex: 0 0 auto; }

.page-content-layout { grid-template-columns: minmax(0,800px) 300px; }
.legacy-page-content > :first-child, .map-content > :first-child, .shop-intro > :first-child { margin-top: 0; }
.legacy-page-content table, .map-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.legacy-page-content td, .legacy-page-content th, .map-content td, .map-content th { padding: 10px 12px; border: 1px solid var(--line); }
.plain-link-list { display: grid; }
.plain-link-list a { padding: 11px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: #253b58; font-size: 13px; font-weight: 800; }
.plain-link-list a:last-child { border-bottom: 0; }
.plain-link-list a:hover { color: var(--blue); }
.sidebar-card-accent { padding: 25px; background: linear-gradient(145deg,#edf6ff,#f9fcff); border-color: #cfe2fb; }
.sidebar-card-accent p { color: var(--ink-soft); font-size: 13px; }
.sidebar-icon { width: 48px; height: 48px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 14px; background: white; color: var(--blue); font-size: 24px; box-shadow: 0 7px 18px rgba(23,105,232,.12); }
.sidebar-card .button { width: 100%; margin-top: 8px; }

.pokedex-section { padding-top: 54px; }
.pokedex-toolbar {
  position: relative; z-index: 3; margin-bottom: 18px; padding: 20px 22px; display: grid;
  grid-template-columns: 1fr minmax(260px,420px) auto; gap: 18px; align-items: center;
  border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(13,48,94,.08);
}
.pokedex-toolbar h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.pokedex-search { display: block; }
.pokedex-search input {
  width: 100%; height: 50px; padding: 0 17px 0 44px; border: 1px solid #cad8e8; border-radius: 12px;
  color: var(--ink); outline: 0; background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b708c' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 16px center;
}
.pokedex-search input:focus { border-color: var(--blue); background-color: white; box-shadow: 0 0 0 3px rgba(23,105,232,.10); }
.pokedex-result { padding: 7px 10px; border-radius: 8px; background: var(--blue-pale); color: var(--blue); font-size: 11px; font-weight: 900; white-space: nowrap; }
.pokedex-shell { max-width: none; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(13,48,94,.06); }
.pokedex-shell > * { max-width: none; }
.pokedex-shell > p { display: none; }
.pokedex-shell table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.pokedex-shell th { position: sticky; top: 0; z-index: 2; padding: 14px 12px; border-bottom: 1px solid var(--line); background: #edf5ff; color: #315071; font-size: 10px; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.pokedex-shell td { padding: 9px 12px; border-bottom: 1px solid #e8eef5; vertical-align: middle; }
.pokedex-shell tbody tr:nth-child(even) { background: #fbfdff; }
.pokedex-shell tbody tr:hover { background: #edf6ff; }
.pokedex-shell tbody tr[hidden] { display: none; }
.pokedex-shell img { width: 54px; height: 54px; object-fit: contain; border-radius: 0; }
.pokedex-shell a { color: var(--blue); font-weight: 800; text-decoration: none; }
.pokedex-shell .dt-search, .pokedex-shell .dataTables_filter { display: none !important; }

.community-role-grid, .shop-category-grid { margin-bottom: 36px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.role-card, .shop-category-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 7px 22px rgba(13,48,94,.055); }
.role-card > span, .shop-category-grid article > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-pale); color: var(--blue); font-size: 25px; }
.role-card h2, .shop-category-grid h2 { margin: 20px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.role-card p, .shop-category-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.community-join { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(290px,.8fr); gap: 42px; align-items: start; }
.community-join aside { padding: 30px; border-radius: 20px; background: linear-gradient(145deg,#0d5ed5,#1681ee); color: white; box-shadow: 0 18px 40px rgba(23,105,232,.22); }
.community-join aside .section-kicker { color: #bcdcff; }
.community-join aside h2 { margin: 0 0 10px; font-size: 25px; }
.community-join aside p { margin: 0 0 22px; color: #e4f1ff; font-size: 14px; }
.community-join aside .button { width: 100%; background: white; color: var(--blue); }
.shop-intro { max-width: 800px; margin-bottom: 34px; }
.shop-category-grid article:nth-child(2) > span { background: #fff4cb; color: #b57900; }
.shop-category-grid article:nth-child(3) > span { background: #e8f8ef; color: #258a51; }
.notice-card { padding: 25px 28px; display: flex; align-items: center; gap: 30px; border: 1px solid #cfe2fb; border-radius: 16px; background: var(--blue-pale); }
.notice-card strong { flex: 0 0 230px; font-size: 17px; }
.notice-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }

/* Footer */
.site-footer { background: #06142b; color: white; }
.footer-main { padding: 54px 0 42px; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 46px; }
.footer-brand img { width: 190px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.footer-brand p { max-width: 320px; margin: 16px 0 0; color: #9eb0c9; font-size: 14px; }
.footer-col h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; margin: 8px 0; color: #afbed2; font-size: 13px; }
.footer-col a:hover { color: white; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8395ae; font-size: 12px; text-align: center; }

@media (max-width: 1020px) {
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: 11px; }
  .news-layout, .content-layout { grid-template-columns: 1fr; }
  .events-panel { display: block; }
  .event-list { grid-template-columns: repeat(2,1fr); gap: 0 18px; }
  .guide-grid { grid-template-columns: repeat(2,1fr); }
  .archive-grid { grid-template-columns: repeat(2,1fr); }
  .article-sidebar { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
  .page-hero-grid { grid-template-columns: minmax(0,1fr) 230px; gap: 30px; }
  .page-hero-visual { width: 220px; height: 220px; }
  .page-hero-symbol { font-size: 76px; }
  .page-content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { height: 68px; }
  .brand img { width: 155px; }
  .primary-nav {
    position: fixed; inset: 68px 0 0; display: none; margin: 0; padding: 18px 24px 40px;
    z-index: 55; background: white; overflow: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .primary-nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 4px; }
  .primary-nav a::after { display: none; }
  .login-button { display: none; }
  .menu-button { display: inline-grid; }
  .search-panel { inset: 68px 0 auto; padding: 16px 14px; }
  .hero { min-height: 500px; align-items: end; background-position: 62% center; }
  .hero::before { background: linear-gradient(0deg,rgba(242,249,255,.99) 0%,rgba(242,249,255,.94) 52%,rgba(242,249,255,.22) 100%); }
  .hero-inner { padding: 170px 0 44px; }
  .hero-copy { max-width: none; text-align: center; }
  .hero h1 { font-size: 41px; }
  .hero p { font-size: 16px; }
  .button-row { justify-content: center; }
  .button { flex: 1 1 160px; }
  .section { padding: 40px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .post-card { display: grid; grid-template-columns: 132px 1fr; border-radius: 13px; }
  .post-card-image { aspect-ratio: auto; min-height: 120px; }
  .post-card-content { padding: 13px; }
  .post-card h3 { font-size: 15px; }
  .event-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .guide-card { min-height: 150px; padding: 16px; }
  .guide-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .guide-card h3 { font-size: 14px; }
  .guide-card p { display: none; }
  .community-grid { grid-template-columns: 1fr; }
  .community-tag { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1/-1; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid .post-card { grid-template-columns: 138px 1fr; }
  .article-sidebar { display: block; }
  .article-header h1 { font-size: 38px; }
  .article-content { font-size: 16px; }
  .page-hero-grid { min-height: 0; padding-block: 38px 42px; grid-template-columns: 1fr; }
  .page-hero-rich h1 { font-size: 43px; }
  .page-hero-rich p { font-size: 16px; }
  .breadcrumbs { margin-bottom: 20px; }
  .page-hero-visual { display: none; }
  .page-quick-links { margin-top: 20px; }
  .feature-strip > div { padding: 22px 10px; flex-direction: column; gap: 5px; }
  .feature-strip strong { font-size: 22px; }
  .feature-strip span { font-size: 10px; }
  .guide-directory { grid-template-columns: 1fr; }
  .page-cta-banner { padding: 27px; align-items: stretch; flex-direction: column; }
  .page-cta-banner .button { width: 100%; }
  .pokedex-toolbar { grid-template-columns: 1fr; }
  .pokedex-result { justify-self: start; }
  .community-role-grid, .shop-category-grid { grid-template-columns: 1fr; gap: 12px; }
  .role-card, .shop-category-grid article { padding: 22px; }
  .community-join { grid-template-columns: 1fr; gap: 26px; }
  .notice-card { align-items: flex-start; flex-direction: column; gap: 8px; }
  .notice-card strong { flex-basis: auto; }
}

@media (max-width: 480px) {
  .header-actions { gap: 2px; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 18px; }
  .section-link { font-size: 10px; }
  .post-card { grid-template-columns: 116px 1fr; }
  .post-card-image { min-height: 112px; }
  .post-meta { gap: 5px; font-size: 9px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .page-hero-rich h1 { font-size: 37px; }
  .page-quick-links a { padding: 7px 9px; font-size: 9px; }
  .feature-strip { min-height: 94px; }
  .feature-strip > div { padding-inline: 5px; }
  .directory-card { min-height: 104px; padding: 17px 14px; grid-template-columns: 34px 1fr 28px; gap: 10px; }
  .directory-copy strong { font-size: 15px; }
  .directory-copy small { font-size: 11px; }
  .pokedex-section { padding-top: 34px; }
  .pokedex-toolbar { padding: 16px; }
  .pokedex-search input { height: 46px; }
}
