/*
Theme Name: PicóRed
Theme URI: https://example.com/picored
Author: PicóRed
Description: Tema visual mobile-first para directorios culturales creados con GeoDirectory y Elementor.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: picored
*/

:root {
  --pr-ink: #11100f;
  --pr-paper: #f5f0e7;
  --pr-cream: #fffaf2;
  --pr-orange: #ff4b18;
  --pr-yellow: #ffd21f;
  --pr-blue: #285cff;
  --pr-lime: #a9eb28;
  --pr-pink: #ff557d;
  --pr-violet: #9c79f6;
  --pr-border: 3px solid var(--pr-ink);
  --pr-shadow: 6px 6px 0 var(--pr-ink);
  --pr-radius: 14px;
  --pr-max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pr-ink); background: var(--pr-paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pr-shell { width: min(var(--pr-max), calc(100% - 40px)); margin-inline: auto; }
.pr-kicker { display: block; margin-bottom: 12px; color: var(--pr-orange); font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; }
.pr-display { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -2px; }
.pr-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 48px; padding: 0 20px; border: var(--pr-border); border-radius: 10px; background: var(--pr-yellow); box-shadow: 4px 4px 0 var(--pr-ink); font-size: 13px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.pr-button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--pr-ink); }

/* Header */
.pr-header { position: relative; z-index: 20; background: var(--pr-cream); border-bottom: 1px solid #1112; }
.pr-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pr-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 950; letter-spacing: -1px; }
.pr-brand__mark { width: 34px; aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; background: var(--pr-orange); box-shadow: 4px 4px 0 var(--pr-yellow); }
.pr-brand__mark::before { content: ""; width: 17px; aspect-ratio: 1; border: 3px solid var(--pr-ink); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--pr-orange); background: var(--pr-ink); }
.pr-brand__mark::after { content: ""; position: absolute; width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--pr-yellow); }
.pr-brand__red { color: var(--pr-orange); }
.pr-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.pr-menu a { position: relative; display: block; padding: 27px 2px; font-size: 13px; font-weight: 800; }
.pr-menu .current-menu-item a::after, .pr-menu a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 6px 6px 0 0; background: var(--pr-orange); }
.pr-header__cta { min-height: 42px; border: 0; border-radius: 999px; padding: 0 18px; background: var(--pr-ink); color: white; font-size: 12px; font-weight: 900; }
.pr-header__cta span { color: var(--pr-yellow); }

/* Hero */
.pr-hero { position: relative; overflow: hidden; min-height: 650px; display: grid; align-items: center; background: var(--pr-orange); }
.pr-hero::before, .pr-texture::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: radial-gradient(#fff 0.8px, transparent 0.8px), radial-gradient(#111 0.7px, transparent 0.7px); background-position: 0 0, 8px 8px; background-size: 16px 16px; mix-blend-mode: overlay; }
.pr-hero__grid { position: relative; display: grid; grid-template-columns: 58% 42%; align-items: center; min-height: 650px; }
.pr-hero__copy { padding-block: 70px; position: relative; z-index: 2; }
.pr-hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; }
.pr-hero__eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--pr-yellow); }
.pr-hero h1 { max-width: 800px; margin: 18px 0 16px; font-size: clamp(64px, 8vw, 116px); line-height: .82; }
.pr-hero h1 span { color: var(--pr-yellow); -webkit-text-stroke: 2px var(--pr-ink); text-shadow: 5px 5px 0 var(--pr-ink); }
.pr-hero__intro { max-width: 610px; margin: 0 0 28px; font-size: 18px; line-height: 1.5; font-weight: 650; }
.pr-search { max-width: 760px; padding: 8px; border: var(--pr-border); border-radius: 13px; background: var(--pr-cream); box-shadow: var(--pr-shadow); }
.pr-search .geodir-search { margin: 0 !important; }
.pr-search form, .pr-search .geodir-search-container { display: flex; align-items: center; gap: 8px; }
.pr-search input, .pr-search select { min-height: 44px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.pr-search button, .pr-search input[type="submit"] { min-height: 44px !important; padding-inline: 22px !important; border: 0 !important; border-radius: 8px !important; background: var(--pr-ink) !important; color: white !important; font-weight: 900 !important; }
.pr-hero__stats { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.pr-stat { padding-right: 20px; border-right: 1px solid #1115; }
.pr-stat strong { display: block; font-size: 21px; }
.pr-stat small { font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.pr-safe { font-size: 11px; font-weight: 800; }
.pr-safe::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; aspect-ratio: 1; margin-right: 6px; border-radius: 50%; background: var(--pr-lime); }
.pr-hero__art { height: 100%; display: grid; place-items: center; position: relative; }
.pr-hero__art::before, .pr-hero__art::after { content: ""; position: absolute; width: 470px; aspect-ratio: 1; border: 2px solid #1116; border-radius: 50%; }
.pr-hero__art::after { width: 360px; }
.pr-hero__speaker { width: min(430px, 94%); max-height: 570px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(18px 20px 0 #111); transform: rotate(2deg); }
.pr-sticker { position: absolute; z-index: 3; padding: 7px 12px; border: 2px solid var(--pr-ink); background: var(--pr-yellow); box-shadow: 3px 3px 0 var(--pr-ink); font-size: 9px; font-weight: 950; letter-spacing: 1.4px; transform: rotate(-7deg); }
.pr-sticker--one { top: 22%; left: 2%; }.pr-sticker--two { top: 38%; right: 0; background: var(--pr-lime); transform: rotate(8deg); }.pr-sticker--three { bottom: 22%; left: 0; background: white; transform: rotate(5deg); }

/* Sections */
.pr-section { padding-block: 82px; }
.pr-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.pr-heading h2 { margin: 0; font-size: clamp(38px, 4.7vw, 62px); line-height: .95; letter-spacing: -3px; }
.pr-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 900; }
.pr-categories { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.pr-category { min-height: 205px; display: flex; flex-direction: column; position: relative; padding: 20px; border: var(--pr-border); border-radius: var(--pr-radius); box-shadow: 5px 5px 0 var(--pr-ink); transition: .2s; }
.pr-category:hover { transform: translate(-2px,-3px); box-shadow: 8px 8px 0 var(--pr-ink); }
.pr-category:nth-child(1) { background: #ff7a42; }.pr-category:nth-child(2) { background: #6ea8f5; }.pr-category:nth-child(3) { background: var(--pr-lime); }.pr-category:nth-child(4) { background: #fa86a5; }.pr-category:nth-child(5) { background: #a986ee; }
.pr-category__icon { width: 47px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--pr-ink); border-radius: 10px; background: #fff7; font-size: 24px; }
.pr-category strong { margin-top: auto; font-size: 18px; }.pr-category small { margin-top: 7px; font-size: 11px; line-height: 1.4; opacity: .74; }.pr-category b { position: absolute; right: 18px; top: 18px; font-size: 20px; }
.pr-dark { position: relative; overflow: hidden; background-color: var(--pr-ink); color: white; }
.pr-dark::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: repeating-radial-gradient(ellipse at 20% 30%, #fff 0, transparent 1px, transparent 4px); background-size: 11px 9px; mix-blend-mode: soft-light; }
.pr-dark > * { position: relative; }
.pr-dark .pr-kicker { color: var(--pr-yellow); }
.pr-featured-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.pr-listings { min-width: 0; }
.pr-listings .geodir-loop-container, .pr-listings .geodir-category-list-view { margin: 0 !important; }
.pr-listings .geodir-post { overflow: hidden; border: 1px solid #fff3 !important; border-radius: 14px !important; background: var(--pr-cream) !important; color: var(--pr-ink) !important; box-shadow: none !important; }
.pr-listings .geodir-entry-title { font-size: 22px !important; font-weight: 900 !important; }
.pr-listings .geodir_post_meta { font-size: 12px !important; }
.pr-fallback-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.pr-fallback-card { overflow: hidden; border-radius: 14px; background: var(--pr-cream); color: var(--pr-ink); }
.pr-fallback-card__visual { height: 190px; display: grid; place-items: center; background: radial-gradient(circle, #ff7b21 0, #43230d 30%, #262626 66%); }
.pr-fallback-card__visual img { height: 160px; width: auto; filter: drop-shadow(8px 9px 0 #111); }
.pr-fallback-card__body { padding: 20px; }.pr-fallback-card h3 { margin: 7px 0; font-size: 23px; }.pr-fallback-card p { color: #625d55; font-size: 12px; line-height: 1.5; }
.pr-quote { min-height: 430px; display: flex; flex-direction: column; justify-content: end; padding: 34px; border-radius: 14px; background: var(--pr-orange); color: var(--pr-ink); }
.pr-quote__mark { margin-bottom: 35px; color: var(--pr-yellow); font: 110px/.35 Georgia,serif; text-shadow: 3px 3px 0 var(--pr-ink); }.pr-quote p { margin: 0; font-size: 27px; line-height: 1.1; font-weight: 950; }.pr-quote small { margin-top: 22px; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.pr-events { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.pr-event { min-height: 190px; display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 18px; border: var(--pr-border); border-radius: 13px; box-shadow: 4px 4px 0 var(--pr-ink); }
.pr-event:nth-child(1) { background: #ff9957; }.pr-event:nth-child(2) { background: var(--pr-violet); }.pr-event:nth-child(3) { background: var(--pr-lime); }
.pr-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 2px solid #1115; }.pr-event__date strong { font-size: 38px; line-height: 1; }.pr-event__date small { margin-top: 6px; font-size: 9px; font-weight: 900; letter-spacing: 2px; }.pr-event h3 { margin: 15px 0 7px; font-size: 18px; }.pr-event p { font-size: 11px; line-height: 1.45; }
.pr-cta { position: relative; overflow: hidden; background: var(--pr-blue); color: white; }.pr-cta::after { content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -90px; bottom: -220px; border: 65px solid #fff1; border-radius: 50%; }.pr-cta__grid { min-height: 310px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 10%; }.pr-cta .pr-kicker { color: var(--pr-lime); }.pr-cta h2 { font-size: clamp(48px,6vw,78px); line-height: .86; }.pr-cta p { max-width: 450px; line-height: 1.5; }

/* General content and GeoDirectory */
.pr-content { min-height: 60vh; padding-block: 60px; }
.pr-content h1 { font-size: clamp(42px,6vw,76px); line-height: .95; }
.geodir-page .geodir-search, .geodir-archive .geodir-search { padding: 12px !important; border: var(--pr-border) !important; border-radius: 12px !important; background: white !important; box-shadow: 5px 5px 0 var(--pr-orange) !important; }
.geodir-page .geodir-post, .geodir-archive .geodir-post { border: 2px solid var(--pr-ink) !important; border-radius: 13px !important; overflow: hidden; background: var(--pr-cream) !important; }
.geodir-page .geodir-entry-title a, .geodir-archive .geodir-entry-title a { font-weight: 900; }
.geodir-page .btn, .geodir-page button, .geodir-page input[type="submit"] { border-radius: 8px !important; font-weight: 800 !important; }

/* Footer and mobile nav */
.pr-footer { padding: 48px 0 34px; background: #0c0c0c; color: white; }.pr-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }.pr-footer__line { margin-top: 28px; padding-top: 18px; border-top: 1px solid #fff2; color: #fff6; font-size: 11px; }.pr-footer p { color: #fff7; font-size: 11px; }
.pr-mobile-nav { display: none; }

@media (max-width: 1024px) {
  .pr-categories { grid-template-columns: repeat(3,1fr); }
  .pr-hero__grid { grid-template-columns: 62% 38%; }
  .pr-hero__art { transform: scale(.87); }
  .pr-events { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 70px; }
  .pr-shell { width: min(100% - 36px, var(--pr-max)); }
  .pr-header__inner { min-height: 62px; }.pr-header nav, .pr-header__cta { display: none; }
  .pr-hero, .pr-hero__grid { min-height: auto; }.pr-hero__grid { display: block; }.pr-hero__copy { padding-block: 52px 44px; }.pr-hero h1 { font-size: 57px; letter-spacing: -2px; }.pr-hero__intro { font-size: 15px; }.pr-hero__art { display: none; }
  .pr-search form, .pr-search .geodir-search-container { display: grid; grid-template-columns: 1fr auto; }.pr-search .gd-search-field-near, .pr-search select { display: none !important; }
  .pr-section { padding-block: 58px; }.pr-heading { align-items: start; }.pr-heading h2 { font-size: 39px; }.pr-heading .pr-link { display: none; }
  .pr-categories { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; }.pr-category { min-width: 190px; scroll-snap-align: start; }
  .pr-featured-layout { grid-template-columns: 1fr; }.pr-fallback-grid { grid-template-columns: 1fr; }.pr-quote { min-height: 300px; }
  .pr-cta__grid { min-height: 400px; grid-template-columns: 1fr; gap: 20px; padding-block: 55px; }.pr-cta h2 { font-size: 51px; }
  .pr-footer__top { align-items: start; flex-direction: column; }
  .pr-mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; min-height: 70px; display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #1112; background: var(--pr-cream); box-shadow: 0 -8px 30px #0002; }
  .pr-mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 9px; font-weight: 850; }.pr-mobile-nav i { font-style: normal; font-size: 21px; }.pr-mobile-nav a:hover { color: var(--pr-orange); }
}

