/*
Theme Name: Portal Geek
Theme URI: https://portalgeek.shop
Author: Portal Geek
Description: Portal Geek 2.0 — blog responsivo de achadinhos geek, com cartões, ilustração original e navegação acessível.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portalgeek
Tags: blog, news, full-site-editing, custom-colors, custom-logo, featured-images
*/
:root { color-scheme:dark; }
*, *::before, *::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body { -webkit-font-smoothing:antialiased; }
a {text-underline-offset:3px}
a:hover {color:#c6b4ff}
:where(.wp-site-blocks) {overflow:hidden}
::selection { background:#7655ee; color:#fff }
.pg-site-header {position:relative;z-index:10;border-bottom:1px solid #29273d;background:rgba(13,13,25,.98)}
.pg-brand {gap:12px}
.pg-brand .wp-block-site-title {letter-spacing:-.055em;line-height:1.1}
.pg-brand .wp-block-site-title a {text-decoration:none}
.pg-brand-mark {background:linear-gradient(135deg,#956cff,#5d3cc6); border-radius:12px; width:42px; height:42px; display:grid;place-items:center;box-shadow:0 7px 26px #7b53f044}
.pg-topnav a {font-size:14px;font-weight:600;color:#c9c5da;text-decoration:none}
.pg-topnav a:hover {color:white}
.pg-header-link .wp-block-button__link {padding:10px 18px!important;font-size:13px!important}
.pg-container {max-width:1160px;margin-left:auto!important;margin-right:auto!important}
.pg-hero {overflow:hidden;position:relative;background:linear-gradient(117deg,#1b1534 0%,#141429 49%,#141827 100%);border:1px solid #353052;border-radius:26px;min-height:410px;box-shadow:0 18px 75px rgba(0,0,0,.17)}
.pg-hero:before {content:"";position:absolute;inset:-70% -10% -80% 50%;background:radial-gradient(ellipse at center,#7c51f040 0%,#7c51f00c 36%,transparent 62%);pointer-events:none}
.pg-hero:after {content:"";position:absolute;width:290px;height:290px;right:-105px;top:-95px;border:1px solid #ad8cff22;border-radius:50%;box-shadow:0 0 0 55px #ad8cff07,0 0 0 115px #ad8cff06;pointer-events:none}
.pg-hero-content {position:relative;z-index:2;padding:56px clamp(24px,5vw,64px)!important}
.pg-hero-kicker {display:inline-flex;max-width:fit-content;letter-spacing:.16em;text-transform:uppercase;font-size:11px;font-weight:800;border:1px solid #6e57a0;color:#d4bfff;background:#583e871f;padding:9px 13px;border-radius:50px}
.pg-hero h1 {letter-spacing:-.065em;line-height:1.06;max-width:650px}
.pg-hero p.pg-lede {max-width:570px;line-height:1.7;color:#c9c4df}
.pg-hero-graphic {align-self:stretch;min-width:180px;position:relative}
.pg-display-orb {min-width:230px;min-height:240px;display:flex;align-items:center;justify-content:center;position:relative}
.pg-display-orb:before {content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle at 42% 38%,#8e70e54a,#3c2e7088 65%,#3a315300);box-shadow:0 0 110px #8b63f044}
.pg-display-orb p {z-index:1;filter:drop-shadow(0 14px 16px #0008);font-size:100px;line-height:1;margin:0!important}
.pg-hero .wp-block-buttons {margin-top:26px}
.pg-hero .wp-block-button__link {font-weight:750;box-shadow:0 9px 25px #7d54ee24}
.pg-hero .is-style-outline .wp-block-button__link {box-shadow:none}
.pg-strip {font-size:12px;letter-spacing:.08em;color:#aaa4c5;gap:12px}
.pg-pill {padding:9px 13px;border:1px solid #323044;border-radius:100px;background:#171626;color:#c7c1d7;font-size:12px;font-weight:700;display:inline-flex}
.pg-section-eyebrow {font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#a88cff}
.pg-section-title {letter-spacing:-.045em}
.pg-category-card {min-height:194px;background:linear-gradient(135deg,#201b37 0%,#18172b 100%);border:1px solid #333047;border-radius:20px;position:relative;overflow:hidden;padding:24px!important;transition:border-color .2s,transform .2s}
.pg-category-card:hover {border-color:#8464dd;transform:translateY(-2px)}
.pg-category-card p.pg-cat-icon {font-size:35px;line-height:1;margin:0 0 30px!important}
.pg-category-card h3 {margin-bottom:6px;font-size:20px;letter-spacing:-.03em}
.pg-category-card p.pg-cat-desc {color:#a9a4c0;font-size:13px;line-height:1.5;margin-top:0}
.pg-category-card:after {content:"";position:absolute;right:-44px;top:-48px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#a789ec26,transparent 72%);pointer-events:none}
.pg-post-card {overflow:hidden;background:#181825;border:1px solid #2d2c3e;border-radius:18px;transition:border-color .2s,transform .2s;height:100%}
.pg-post-card:hover {transform:translateY(-2px);border-color:#6d55b6}
.pg-post-card .wp-block-post-featured-image {margin:0;overflow:hidden;aspect-ratio:16/10;background:linear-gradient(135deg,#292044,#121b31);}
.pg-post-card .wp-block-post-featured-image img {width:100%;height:100%;object-fit:cover;transition:transform .3s}
.pg-post-card:hover .wp-block-post-featured-image img {transform:scale(1.04)}
.pg-post-card-body {padding:21px!important}
.pg-post-card .wp-block-post-title {line-height:1.3;letter-spacing:-.027em}
.pg-post-card .wp-block-post-title a {text-decoration:none}
.pg-post-card .wp-block-post-excerpt {color:#aaa6bd;font-size:14px;line-height:1.65}
.pg-post-card .wp-block-post-date,.pg-post-card .wp-block-post-terms {font-size:12px;color:#a890f4}
.pg-post-card .wp-block-post-excerpt__more-link {color:#bdabff;text-decoration:none;font-weight:700}
.pg-query .wp-block-post-template {gap:20px}
.pg-empty {border:1px dashed #4d416c;padding:36px!important;border-radius:18px;background:#1b1828}
.pg-newsletter {background:linear-gradient(110deg,#282047,#211934);border:1px solid #473966;border-radius:20px;padding:31px!important}
.pg-newsletter h2 {letter-spacing:-.04em}
.pg-disclosure {font-size:12px;line-height:1.7;color:#9f99b7}
.pg-site-footer {background:#10101a;border-top:1px solid #2a273b}
.pg-site-footer a {color:#b9afd8;text-decoration:none}
.pg-site-footer a:hover {color:white}
.pg-footer-links {gap:24px}
.pg-footer-links a {font-size:13px}
.pg-content-card {background:#191827;border:1px solid #322e43;padding:clamp(22px,4vw,48px)!important;border-radius:22px}
.pg-content-card h1 {letter-spacing:-.052em}
.pg-content-card :where(p,li) {line-height:1.85;color:#d2cedd}
.pg-content-card :where(h2,h3) {margin-top:1.6em}
.pg-content-card figure img {border-radius:12px}
.pg-content-card .wp-block-post-featured-image img {border-radius:16px}
.pg-post-meta {border-bottom:1px solid #333047;padding-bottom:18px;margin-bottom:26px!important}
.pg-search-form .wp-block-search__input {background:#1e1c2e;border:1px solid #4c455e;border-radius:10px;color:#f1eef9;padding:13px 17px;min-width:0}
.pg-search-form .wp-block-search__button {background:#8459ef;color:#fff;border-radius:10px;border:0;padding:12px 17px}
.wp-block-query-pagination {gap:12px;margin-top:32px}
.wp-block-query-pagination a,.wp-block-query-pagination .current {border-radius:9px;background:#24213a;padding:8px 14px;text-decoration:none}
.wp-block-query-pagination .current {background:#895eed}
.pg-screen-reader-text {position:absolute;left:-9999px}
.wp-block-site-logo img {max-height:52px;width:auto}
.wp-block-navigation__responsive-container.is-menu-open {background:#171529;color:#fff}
@media(max-width:800px){
 .pg-hero-content {padding:32px 24px!important}
 .pg-hero h1 {font-size:clamp(38px,8vw,62px)!important}
 .pg-hero-graphic {display:none}
 .pg-container {padding-inline:18px!important}
 .pg-category-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pg-footer-row {flex-wrap:wrap}
}
@media(max-width:540px){
 .pg-category-grid {grid-template-columns:1fr!important}
 .pg-post-card-body {padding:18px!important}
 .pg-hero {min-height:unset}
 .pg-hero-content {padding:30px 23px!important}
 .pg-hero h1 {font-size:41px!important}
 .pg-strip {flex-wrap:wrap}
 .pg-newsletter {padding:22px!important}
 .pg-site-header .wp-block-site-title {font-size:19px!important}
}


/* PORTAL GEEK V2 — layout fluido, elementos mais legíveis e espaçamento reforçado */
:root {--pg-bg:#0d0d19;--pg-border:#39324f;--pg-purple:#9669ff;--pg-pink:#e582da}
html {scroll-padding-top:90px}
body {background:var(--pg-bg)!important;color:#f7f5ff}
body .wp-site-blocks {width:100%;min-width:0}
body .wp-site-blocks > main {width:100%;min-width:0}
.pg-container {width:min(100% - 44px,1240px)!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:0!important}
.pg-site-header .pg-container {max-width:1240px!important}
.pg-site-header {border-bottom:1px solid #393149;box-shadow:0 4px 20px #08070e35}
.pg-site-header .wp-block-site-title {font-size:25px!important}
.pg-brand-mark {width:46px;height:46px;border-radius:14px;box-shadow:0 0 0 1px #c5a8ff34,0 6px 24px #7b53f044}
.pg-topnav {display:flex;align-items:center;gap:28px;flex-wrap:wrap;justify-content:flex-end}
.pg-topnav a {color:#d5d0e7;text-decoration:none;font-size:15px;font-weight:700}
.pg-topnav a:hover,.pg-topnav a:focus-visible {color:#fff;text-decoration:underline}
.pg-hero {background:radial-gradient(circle at 88% 20%,#533e8a52,transparent 40%),linear-gradient(116deg,#211939 0%,#17172d 57%,#121a2a 100%);border:1px solid #493963;box-shadow:0 24px 80px #0000003c;min-height:480px;max-width:none!important}
.pg-hero-content {padding:64px clamp(30px,5.4vw,76px)!important;gap:36px!important}
.pg-hero h1 {font-size:clamp(44px,4.65vw,68px)!important;font-weight:850!important;line-height:1.08!important;max-width:710px!important;letter-spacing:-.052em}
.pg-hero .pg-lede {font-size:18px!important;max-width:610px;line-height:1.65}
.pg-hero-kicker {font-size:12px!important}
.pg-hero .wp-block-button__link {font-size:15px!important;padding:15px 22px!important}
.pg-hero-graphic {min-width:260px!important;display:block!important}
.pg-hero-scene {position:relative;height:360px;min-width:280px;width:100%;display:flex;align-items:center;justify-content:center;isolation:isolate}
.pg-hero-scene::before {content:'';position:absolute;width:280px;height:280px;border:2px solid #ae90ff60;border-radius:50%;box-shadow:0 0 0 40px #9861ff13,0 0 0 85px #7c4adb08,0 0 100px #7e5ef26b;transform:rotate(-15deg);z-index:-1}
.pg-hero-scene::after {content:'';position:absolute;width:160px;height:160px;background:#b976ff47;filter:blur(70px);z-index:-1}
.pg-controller {width:min(100%,350px);height:auto;filter:drop-shadow(0px 20px 26px #080514bb);transform:rotate(-9deg)}
.pg-hero-chip {position:absolute;display:flex;align-items:center;gap:6px;background:#211a35ef;border:1px solid #7e68a1;border-radius:11px;padding:10px 13px;font-size:12px;font-weight:850;color:#eee7ff;box-shadow:0 15px 35px #06040c80;white-space:nowrap}
.pg-hero-chip-one {top:28px;right:-18px;transform:rotate(8deg)}
.pg-hero-chip-two {bottom:33px;left:-11px;transform:rotate(-5deg)}
.pg-hero-spark {position:absolute;color:#dc99ff;font-size:24px;top:70px;left:17px}
.pg-strip {justify-content:center!important;margin-top:23px!important;margin-bottom:64px!important;row-gap:10px!important}
.pg-pill {font-size:13px!important;padding:11px 16px!important;border-color:#383049;background:#171527}
.pg-section-eyebrow {font-size:13px!important;color:#c7adff}
.pg-section-title {font-size:clamp(28px,3vw,38px)!important;line-height:1.2!important}
.pg-category-grid {gap:18px!important;align-items:stretch!important}
.pg-category-grid > .wp-block-column {min-width:0;display:flex}
.pg-category-card {width:100%;min-height:270px;display:flex;flex-direction:column;gap:12px!important;padding:26px 24px!important;border:1px solid #51416a!important;border-radius:20px;background:linear-gradient(140deg,#231d3b 0%,#171726 100%)!important;box-shadow:0 10px 24px #0000001e}
.pg-category-card .pg-cat-icon {font-size:42px!important;line-height:1!important;margin:0 0 6px!important}
.pg-category-card h3 {font-size:23px!important;margin:0!important;font-weight:800}
.pg-category-card .pg-cat-desc {font-size:15px!important;color:#d1c9e1!important;line-height:1.5!important;margin:0!important;flex:1}
.pg-cat-link {margin:9px 0 0!important;font-size:14px;font-weight:750}
.pg-cat-link a {color:#cfbaff!important;text-decoration:none}
.pg-cat-link a:hover {text-decoration:underline}
.pg-category-card:hover {transform:translateY(-4px);border-color:#a17df5!important}
#ultimos-artigos {padding-top:12px!important}
#ultimos-artigos > p:not(.pg-section-eyebrow) {font-size:16px!important;color:#c3bcda!important}
.pg-query .wp-block-post-template.is-layout-grid,.pg-query .wp-block-post-template {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch}
.pg-query .wp-block-post-template > li {list-style:none;min-width:0;display:flex;flex-direction:column}
.pg-post-card {display:flex!important;flex-direction:column!important;min-height:360px;background:#191727!important;border:1px solid #453958!important;border-radius:20px!important;box-shadow:0 10px 34px #00000025}
.pg-post-card:not(:has(.wp-block-post-featured-image))::before {content:'🎮  PORTAL GEEK';display:flex;align-items:center;justify-content:center;letter-spacing:.15em;font-size:14px;font-weight:900;color:#cbb5ff;min-height:175px;background:radial-gradient(circle at 50% 30%,#7a4fbd53,transparent 65%),linear-gradient(120deg,#302347,#161e35);border-bottom:1px solid #403451}
.pg-post-card-body {padding:24px!important;flex:1;display:flex;flex-direction:column;gap:10px}
.pg-post-card .wp-block-post-title {font-size:21px!important;margin:3px 0!important}
.pg-post-card .wp-block-post-excerpt {font-size:15px!important;line-height:1.58!important;color:#c2bad5!important;margin-top:4px}
.pg-post-card .wp-block-post-date {margin-top:auto!important;font-size:12px!important;color:#b4a9ca!important}
.pg-post-card .wp-block-post-terms {font-size:12px!important;font-weight:800!important}
.pg-newsletter {margin-top:70px!important;padding:40px!important;border-color:#705298;background:linear-gradient(115deg,#30214c,#201b38)}
.pg-newsletter h2 {font-size:30px!important}
.pg-site-footer {margin-top:0!important}
.pg-site-footer .pg-container {padding-top:2px!important}
.pg-site-footer p {font-size:14px!important;line-height:1.7}
.pg-disclosure {font-size:13px!important;line-height:1.7!important}
.pg-content-card {padding:clamp(28px,4vw,50px)!important}
.pg-content-card p {font-size:17px}
button:focus-visible,a:focus-visible {outline:3px solid #d4a9ff!important;outline-offset:3px}
@media(max-width:1020px){
 .pg-hero h1 {font-size:clamp(40px,5vw,56px)!important}
 .pg-hero-content {padding:48px 38px!important;gap:10px!important}
 .pg-hero-scene {min-width:210px}
 .pg-hero-chip-one {right:0}
 .pg-category-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pg-category-card {min-height:240px}
 .pg-query .wp-block-post-template.is-layout-grid,.pg-query .wp-block-post-template {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:740px){
 .pg-container {width:min(100% - 32px,1240px)!important}
 .pg-site-header .pg-container {flex-wrap:wrap!important;justify-content:center!important;gap:12px!important;padding-top:13px!important;padding-bottom:13px!important}
 .pg-site-header .pg-brand {justify-content:center}
 .pg-topnav {justify-content:center;gap:18px}
 .pg-topnav a {font-size:13px}
 .pg-hero-content {padding:34px 27px!important}
 .pg-hero-content.wp-block-columns {display:flex!important;flex-direction:column!important}
 .pg-hero-graphic,.pg-hero-content > .wp-block-column {width:100%!important;flex-basis:auto!important}
 .pg-hero h1 {font-size:clamp(37px,8vw,50px)!important}
 .pg-hero .pg-lede {font-size:16px!important}
 .pg-hero-scene {height:250px!important;min-width:0!important}
 .pg-controller {width:260px!important}
 .pg-hero-scene::before {width:190px;height:190px}
 .pg-hero-chip-one {top:8px;right:4px}
 .pg-hero-chip-two {bottom:8px;left:6px}
 .pg-strip {margin-bottom:45px!important}
 .pg-category-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pg-category-card {padding:21px!important;min-height:250px}
 .pg-category-card h3 {font-size:20px!important}
 .pg-category-card .pg-cat-desc {font-size:14px!important}
 .pg-newsletter {padding:26px!important}
}
@media(max-width:510px){
 .pg-site-header .wp-block-site-title {font-size:21px!important}
 .pg-hero {border-radius:20px}
 .pg-hero-content {padding:30px 22px!important}
 .pg-hero h1 {font-size:40px!important;line-height:1.11!important}
 .pg-hero .wp-block-buttons {gap:10px!important}
 .pg-hero .wp-block-button {width:100%}
 .pg-hero .wp-block-button__link {display:block;text-align:center}
 .pg-category-grid {grid-template-columns:1fr!important}
 .pg-category-card {min-height:205px}
 .pg-query .wp-block-post-template.is-layout-grid,.pg-query .wp-block-post-template {grid-template-columns:1fr!important}
 .pg-newsletter .wp-block-columns {flex-direction:column!important}
 .pg-newsletter h2 {font-size:25px!important}
 .pg-hero-chip {font-size:10px}
 .pg-strip {justify-content:flex-start!important}
}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto}.pg-category-card,.pg-post-card,.pg-controller{transition:none!important;transform:none!important}}
/* Recupera layouts flexíveis mesmo em instalações com estilos básicos mínimos. */
.pg-site-header .pg-container {display:flex;align-items:center;justify-content:space-between;gap:20px}
.pg-brand {display:flex;align-items:center;gap:13px!important}
.pg-newsletter .wp-block-columns {display:flex;align-items:center;gap:25px}
.pg-hero .pg-hero-content {display:flex;align-items:center}
.pg-hero .pg-hero-content > .wp-block-column:first-child {flex:1.55}
.pg-hero .pg-hero-content > .wp-block-column:last-child {flex:1;min-width:0}
@media(max-width:740px){.pg-site-header .pg-container {justify-content:center}.pg-hero .pg-hero-content{flex-direction:column}.pg-hero .pg-hero-content > .wp-block-column{flex-basis:auto!important;flex:auto!important}}
@media(max-width:510px){.pg-newsletter .wp-block-columns{flex-direction:column;align-items:stretch}}
