/*
 * pv-global.css — Passion Vista Design System
 * ═══════════════════════════════════════════════════════════════════
 * Build Standard: GODADDY_STANDALONE_WP_THEME_STANDARD v1.0
 * PV_BUILD_LAW_01 (colours) + PV_BUILD_LAW_02 (typography) LOCKED
 * ═══════════════════════════════════════════════════════════════════
 */

/* ── CSS VARIABLES ── */
:root {
  --pv-bg:       #0D0D0D;
  --pv-card:     #0E1420;
  --pv-dark:     #111827;
  --pv-gold:     #C9971A;
  --pv-gold2:    #DFB54A;
  --pv-red:      #B8312A;
  --pv-text:     #F2EDE0;
  --pv-muted:    #C8C0AD;
  --pv-dim:      #7A7060;
  --pv-bdr:      #2A3A52;
  --pv-green:    #22C55E;
  --pv-navy:     #080C14;

  /* Edition accent colours */
  --ed-gi:   #C9971A;
  --ed-coe:  #2E86AB;
  --ed-wl:   #B8312A;
  --ed-hof:  #8B5E3C;
  --ed-magi: #C97B1A;
  --ed-gg:   #4A7C59;
  --ed-ml:   #7A6098;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--pv-bg);
  color: var(--pv-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--pv-gold); }

/* ── KEYFRAMES ── */
@keyframes heroUp    { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:translateY(0) } }
@keyframes greenPulse { 0%,100%{ box-shadow:0 0 0 3px rgba(34,197,94,.15) } 50%{ box-shadow:0 0 0 8px rgba(34,197,94,.04) } }
@keyframes scrollLeft { 0%{ transform:translateX(0) } 100%{ transform:translateX(-50%) } }
@keyframes fadeIn    { from { opacity:0 } to { opacity:1 } }
@keyframes blink     { 0%,100%{ opacity:.2 } 50%{ opacity:1 } }

/* ── NAV — PV_BUILD_LAW_02 compliant ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px; padding: 0 clamp(16px,5vw,72px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--pv-bdr);
}
.nav-logo img      { height: 36px; width: auto; mix-blend-mode: screen; filter: brightness(1.8) contrast(1.2); }
.nav-logo-text     { font-family: Georgia,serif; font-size: 20px; font-weight: 700; font-style: italic; color: var(--pv-gold); display: none; }
.nav-links         { display: flex; list-style: none; gap: clamp(8px,1.6vw,22px); }
.nav-links a       { font-size: 10px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--pv-dim); transition: color .25s; white-space: nowrap; }
.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current-page-ancestor > a { color: var(--pv-gold); }
.nav-r             { display: flex; align-items: center; gap: 10px; }
.btn-nom           { font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-navy); background: var(--pv-gold); padding: 8px 18px; transition: background .25s; white-space: nowrap; display: inline-block; }
.btn-nom:hover     { background: var(--pv-gold2); }
#navHam            { display: none; flex-direction: column; gap: 5px; padding: 4px; }
#navHam span       { display: block; width: 22px; height: 1px; background: var(--pv-text); transition: all .3s; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  #navHam    { display: flex; }
}
#mobMenu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,.98); z-index: 999;
  flex-direction: column; padding: 32px clamp(16px,6vw,60px);
  border-top: 1px solid #1E2A3C; overflow-y: auto;
}
#mobMenu.open    { display: flex; }
#mobMenu a       { font-size: 11px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--pv-dim); padding: 17px 0; border-bottom: 1px solid #1E2A3C; transition: color .25s; }
#mobMenu a:hover { color: var(--pv-gold); }

/* ── FOMO TICKER ── */
.fomo-bar  { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 16px; border-bottom: 1px solid rgba(42,58,82,.4); min-height: 34px; }
.fomo-dot  { width: 7px; height: 7px; background: var(--pv-green); border-radius: 50%; flex-shrink: 0; animation: greenPulse 2.2s infinite; }
.tk-feed   { font-size: 11px; color: var(--pv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.tk-feed b { color: var(--pv-text); font-weight: 500; }
.tk-ctr    { font-size: 10px; color: var(--pv-dim); letter-spacing: .06em; white-space: nowrap; }
.tk-ctr b  { color: var(--pv-gold); font-weight: 600; }

/* ── FLAG IMAGES (Twemoji) ── */
.flag-img { width: 18px; height: 18px; vertical-align: middle; display: inline-block; margin-right: 2px; }
.flag-txt { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--pv-gold); background: rgba(201,151,26,.12); padding: 1px 5px; border-radius: 2px; vertical-align: middle; margin-right: 3px; }

/* ── HERO ── */
.hero          { padding: 120px clamp(20px,5vw,80px) 60px; text-align: center; position: relative; overflow: hidden; }
.hero::before  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(201,151,26,.06) 0%, transparent 65%); pointer-events: none; }
.hero-h1       { font-family: Georgia,serif; font-size: clamp(36px,7vw,76px); font-weight: 700; font-style: italic; color: #FDFAF4; line-height: .95; margin-bottom: 14px; animation: heroUp .9s cubic-bezier(.16,1,.3,1) .3s both; }
.hero-h1 em    { color: var(--pv-gold); display: block; }
.hero-sub      { font-family: Georgia,serif; font-size: clamp(14px,1.8vw,19px); font-weight: 300; font-style: italic; color: var(--pv-muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; animation: heroUp .9s cubic-bezier(.16,1,.3,1) .45s both; }

/* ── EYEBROW / SECTION LABELS — PV_BUILD_LAW_02 ── */
.sec-eyebrow { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--pv-gold); margin-bottom: 10px; font-weight: 400; }
.sec-h2      { font-family: Georgia,serif; font-size: clamp(28px,4vw,48px); font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.05; margin-bottom: 8px; }
.sec-h2 em   { color: var(--pv-gold); }
.sec-sub     { font-size: 14px; color: var(--pv-muted); line-height: 1.7; }

/* ── BUTTONS ── */
.btn-gold         { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pv-navy); background: var(--pv-gold); padding: 14px 36px; transition: background .25s, transform .2s; }
.btn-gold:hover   { background: var(--pv-gold2); transform: translateY(-2px); }
.btn-outline      { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-gold); border: 1px solid rgba(201,151,26,.5); padding: 12px 28px; transition: all .25s; }
.btn-outline:hover{ border-color: var(--pv-gold); background: rgba(201,151,26,.06); }

/* ── ARTICLE GRID (used in category.php, archive.php) ── */
.pv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

/* ── POST CARD ── */
.pv-card            { border: 1px solid rgba(42,58,82,.3); background: var(--pv-card); transition: border-color .25s, transform .2s; overflow: hidden; }
.pv-card:hover      { border-color: rgba(201,151,26,.35); transform: translateY(-3px); }
.pv-card-link       { display: block; }
.pv-card-img        { aspect-ratio: 16/9; overflow: hidden; background: var(--pv-dark); }
.pv-card-thumb      { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pv-card:hover .pv-card-thumb { transform: scale(1.04); }
.pv-card-img-ph     { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: Georgia,serif; font-size: 32px; font-weight: 700; font-style: italic; color: rgba(201,151,26,.15); }
.pv-card-body       { padding: 20px 22px; }
.pv-card-cat        { font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.pv-card-title      { font-family: Georgia,serif; font-size: 18px; font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.2; margin-bottom: 8px; }
.pv-card-excerpt    { font-size: 13px; color: var(--pv-muted); line-height: 1.65; margin-bottom: 12px; }
.pv-card-date       { font-size: 10px; color: var(--pv-dim); letter-spacing: .06em; }

/* ── ARTICLE / SINGLE POST ── */
.article-hero           { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.article-hero-img       { position: absolute; inset: 0; }
.article-hero-img img   { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay   { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.2) 0%, rgba(13,13,13,.85) 70%, #0D0D0D 100%); }
.article-hero-content   { position: relative; z-index: 2; padding: 48px clamp(20px,5vw,80px); width: 100%; max-width: 900px; }
.article-cat            { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pv-gold); display: block; margin-bottom: 12px; }
.article-title          { font-family: Georgia,serif; font-size: clamp(28px,5vw,56px); font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.05; margin-bottom: 14px; }
.article-meta           { font-size: 11px; color: var(--pv-dim); letter-spacing: .06em; }
.article-sep            { margin: 0 8px; }
.article-body           { max-width: 780px; margin: 0 auto; padding: 48px clamp(16px,5vw,80px) 80px; }
.article-content.pv-content { font-size: 16px; color: var(--pv-muted); line-height: 1.85; }
.pv-content h2          { font-family: Georgia,serif; font-size: clamp(22px,3vw,30px); font-weight: 700; font-style: italic; color: #FDFAF4; margin: 40px 0 16px; }
.pv-content h3          { font-family: Georgia,serif; font-size: clamp(18px,2.5vw,24px); font-weight: 700; font-style: italic; color: #FDFAF4; margin: 32px 0 12px; }
.pv-content p           { margin-bottom: 20px; }
.pv-content a           { color: var(--pv-gold); border-bottom: 1px solid rgba(201,151,26,.3); transition: border-color .2s; }
.pv-content a:hover     { border-color: var(--pv-gold); }
.pv-content blockquote  { font-family: Georgia,serif; font-size: clamp(18px,2.5vw,24px); font-weight: 300; font-style: italic; color: #FDFAF4; padding: 20px 0 20px 24px; border-left: 3px solid var(--pv-gold); margin: 32px 0; }
.pv-content img         { max-width: 100%; border-radius: 2px; margin: 28px 0; }
.pv-content ul, 
.pv-content ol          { padding-left: 24px; margin-bottom: 20px; color: var(--pv-muted); }
.pv-content li          { margin-bottom: 8px; line-height: 1.7; }
.article-tags           { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; padding-top: 24px; border-top: 1px solid rgba(42,58,82,.3); }
.article-tag            { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--pv-dim); border: 1px solid rgba(42,58,82,.4); padding: 4px 12px; transition: all .2s; }
.article-tag:hover      { color: var(--pv-gold); border-color: rgba(201,151,26,.4); }

/* ── RELATED POSTS ── */
.related-posts  { padding: 48px 0; border-top: 1px solid rgba(42,58,82,.3); }
.related-h2     { font-family: Georgia,serif; font-size: clamp(22px,3vw,32px); font-weight: 700; font-style: italic; color: #FDFAF4; margin-bottom: 24px; }
.related-h2 em  { color: var(--pv-gold); }
.related-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-card   { border: 1px solid rgba(42,58,82,.3); background: var(--pv-card); transition: border-color .25s, transform .2s; overflow: hidden; display: block; }
.related-card:hover { border-color: rgba(201,151,26,.3); transform: translateY(-2px); }
.related-img    { aspect-ratio: 16/9; overflow: hidden; }
.related-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.related-card:hover .related-img img { transform: scale(1.04); }
.related-body   { padding: 14px 16px; }
.related-cat    { font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pv-gold); display: block; margin-bottom: 6px; }
.related-title  { font-family: Georgia,serif; font-size: 15px; font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.2; margin-bottom: 6px; }
.related-date   { font-size: 10px; color: var(--pv-dim); }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

/* ── ARTICLE CTA STRIP ── */
.article-cta-strip      { text-align: center; padding: 56px 0; border-top: 1px solid rgba(42,58,82,.3); margin-top: 48px; }
.article-cta-h          { font-family: Georgia,serif; font-size: clamp(22px,3vw,36px); font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.1; margin-bottom: 24px; }
.article-cta-h em       { color: var(--pv-gold); }

/* ── PAGINATION ── */
.pv-pagination          { text-align: center; padding: 32px 0; }
.pv-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pv-pagination .page-numbers { font-size: 12px; font-weight: 500; padding: 8px 14px; border: 1px solid rgba(42,58,82,.4); color: var(--pv-dim); transition: all .2s; }
.pv-pagination .page-numbers:hover,
.pv-pagination .page-numbers.current { color: var(--pv-gold); border-color: rgba(201,151,26,.5); background: rgba(201,151,26,.05); }

/* ── LEADER CARD (Featured Leaders) ── */
.ldr-card           { border: 1px solid rgba(42,58,82,.3); background: var(--pv-card); overflow: hidden; transition: border-color .25s, transform .2s; }
.ldr-card:hover     { border-color: rgba(201,151,26,.35); transform: translateY(-3px); }
.ldr-card-link      { display: block; }
.ldr-img            { aspect-ratio: 3/4; overflow: hidden; background: var(--pv-dark); }
.ldr-img img        { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; filter: grayscale(60%); }
.ldr-card:hover .ldr-img img { transform: scale(1.04); filter: grayscale(0); }
.ldr-img-ph         { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: Georgia,serif; font-size: 36px; font-weight: 700; font-style: italic; color: rgba(201,151,26,.2); }
.ldr-body           { padding: 16px 18px; }
.ldr-edition        { font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pv-gold); display: block; margin-bottom: 6px; }
.ldr-name           { font-family: Georgia,serif; font-size: 17px; font-weight: 700; font-style: italic; color: #FDFAF4; line-height: 1.2; margin-bottom: 4px; }
.ldr-desig          { font-size: 12px; color: var(--pv-muted); margin-bottom: 8px; line-height: 1.4; }
.ldr-country        { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--pv-dim); margin-bottom: 6px; }
.ldr-year           { font-size: 10px; color: var(--pv-dim); letter-spacing: .08em; }

/* ── FOOTER ── */
.ft             { padding: 48px clamp(16px,5vw,80px) 24px; border-top: 1px solid rgba(42,58,82,.3); background: var(--pv-bg); }
.ft-grid        { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.ft-col-h       { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--pv-gold); margin-bottom: 12px; font-weight: 500; }
.ft-list        { list-style: none; }
.ft-list li     { margin-bottom: 8px; }
.ft-list a      { font-size: 12px; color: var(--pv-dim); transition: color .25s; }
.ft-list a:hover{ color: var(--pv-gold); }
.ft-logo        { height: 28px; mix-blend-mode: screen; filter: brightness(1.8) contrast(1.2); margin-bottom: 14px; }
.ft-bot         { text-align: center; padding-top: 24px; border-top: 1px solid rgba(42,58,82,.2); }
.ft-copy        { font-size: 10px; color: var(--pv-dim); line-height: 1.8; }
.ft-copy a      { color: var(--pv-gold); }

/* ── SCROLL TO TOP — PV_BUILD_LAW_SCROLLTOP ── */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 40px; height: 40px;
  background: rgba(13,13,13,.9);
  border: 1px solid rgba(201,151,26,.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, border-color .25s, background .25s;
  backdrop-filter: blur(8px);
  color: var(--pv-gold);
}
#scrollTop.show         { opacity: 1; visibility: visible; }
#scrollTop:hover        { border-color: var(--pv-gold); background: rgba(201,151,26,.12); }

/* ── CONTACT FORM 7 — PV styled ── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: #111827;
  border: 1px solid var(--pv-bdr);
  color: var(--pv-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  padding: 12px 16px;
  transition: border-color .25s;
  border-radius: 0;
  outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--pv-gold); }
.wpcf7-form textarea    { min-height: 120px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pv-navy); background: var(--pv-gold);
  border: none; padding: 14px 44px; cursor: pointer;
  transition: background .25s, transform .2s;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--pv-gold2); transform: translateY(-2px); }
.wpcf7-form label       { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-dim); display: block; margin-bottom: 6px; }
.wpcf7-not-valid-tip    { font-size: 11px; color: var(--pv-red); margin-top: 4px; display: block; }
.wpcf7-response-output  { font-size: 13px; padding: 12px 16px; margin-top: 16px; border-radius: 0; }
.wpcf7-mail-sent-ok     { border-color: rgba(34,197,94,.4) !important; color: #86EFAC !important; background: rgba(34,197,94,.08) !important; }
.wpcf7-validation-errors{ border-color: rgba(184,49,42,.4) !important; color: #F5A0A0 !important; background: rgba(184,49,42,.08) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ft-grid        { grid-template-columns: 1fr 1fr; }
  .pv-grid        { grid-template-columns: 1fr; }
  .article-hero   { min-height: 360px; }
  .article-body   { padding: 32px clamp(16px,4vw,40px) 60px; }
}
@media (max-width: 480px) {
  .ft-grid        { grid-template-columns: 1fr; }
  #scrollTop      { bottom: 18px; right: 16px; width: 36px; height: 36px; }
}
