/* =============================================================
   Wijet Guest Post Page — guest-post.css  v2.0
   Loaded ONLY on /write-for-us-guest-post
   All classes prefixed wgp- to avoid theme conflicts
   ============================================================= */

:root {
  --wgp-gold:     #C9A84C;
  --wgp-gold-dim: #9A7A35;
  --wgp-cream:    #F9F6EF;
  --wgp-dark:     #0F0E0B;
  --wgp-dark-2:   #1A1915;
  --wgp-mid:      #3A3830;
  --wgp-text:     #E8E4D9;
  --wgp-muted:    #9A9485;
  --wgp-border:   rgba(201,168,76,0.2);
}

/* FULL-WIDTH WRAPPER */
.wijet-gp-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--wgp-dark);
  color: var(--wgp-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── FIXED SIDEBAR CTA ──────────────────────────────────────── */
.wgp-sidebar-cta {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-110%);
  z-index: 99999;
  text-decoration: none !important;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  /* Force out of any stacking context */
  will-change: transform, opacity;
}

.wgp-sidebar-cta.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.wgp-sidebar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--wgp-dark-2);
  border: 1px solid var(--wgp-border);
  border-left: none;
  padding: 20px 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wgp-gold);
  transition: background 0.3s, border-color 0.3s;
  cursor: pointer;
}

.wgp-sidebar-cta:hover .wgp-sidebar-inner {
  background: rgba(201,168,76,0.1);
  border-color: var(--wgp-gold);
}

.wgp-sidebar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wgp-gold);
  flex-shrink: 0;
  animation: wgpPulse 2s ease infinite;
}

.wgp-sidebar-inner svg {
  transform: rotate(90deg);
  flex-shrink: 0;
}

@keyframes wgpPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@media (max-width: 768px) {
  .wgp-sidebar-cta { display: none; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.wgp-hero {
  position: relative;
  min-height: 75vh; /* reduced from 92vh */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px 70px; /* tighter top padding */
  overflow: hidden;
}

.wgp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.wgp-hero-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--wgp-gold));
  margin: 0 auto 32px;
  animation: wgpFadeDown 1.2s ease forwards;
}

.wgp-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--wgp-gold); margin-bottom: 20px;
  opacity: 0; animation: wgpFadeUp 0.8s ease 0.3s forwards;
}

.wgp-hero h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(44px, 7vw, 88px) !important;
  font-weight: 300 !important; line-height: 1.05 !important;
  color: var(--wgp-cream) !important; margin-bottom: 14px !important;
  opacity: 0; animation: wgpFadeUp 0.8s ease 0.5s forwards;
}

.wgp-hero h1 em { font-style: italic; color: var(--wgp-gold); }

.wgp-hero-sub {
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--wgp-muted);
  margin-bottom: 36px;
  opacity: 0; animation: wgpFadeUp 0.8s ease 0.7s forwards;
}

.wgp-hero-desc {
  max-width: 540px; font-size: 15px;
  color: var(--wgp-muted); line-height: 1.8; margin-bottom: 44px;
  opacity: 0; animation: wgpFadeUp 0.8s ease 0.9s forwards;
}

.wgp-cta-btn {
  display: inline-block; padding: 15px 44px;
  border: 1px solid var(--wgp-gold); color: var(--wgp-gold) !important;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none !important; position: relative; overflow: hidden;
  transition: color 0.4s ease;
  opacity: 0; animation: wgpFadeUp 0.8s ease 1.1s forwards;
}

.wgp-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--wgp-gold); transform: translateX(-101%);
  transition: transform 0.4s ease;
}

.wgp-cta-btn:hover { color: var(--wgp-dark) !important; }
.wgp-cta-btn:hover::before { transform: translateX(0); }
.wgp-cta-btn span { position: relative; z-index: 1; }

/* ── METRICS ────────────────────────────────────────────────── */
.wgp-metrics-bar {
  background: var(--wgp-dark-2);
  border-top: 1px solid var(--wgp-border);
  border-bottom: 1px solid var(--wgp-border);
  padding: 44px 24px;
}

.wgp-metrics-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.wgp-metric {
  text-align: center; padding: 20px 16px;
  border-right: 1px solid var(--wgp-border);
  transition: background 0.3s;
}

.wgp-metric:last-child { border-right: none; }
.wgp-metric:hover { background: rgba(201,168,76,0.04); }

.wgp-metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 300;
  color: var(--wgp-gold); line-height: 1; margin-bottom: 8px;
}

.wgp-metric-small { font-size: 22px; }

.wgp-metric-label {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--wgp-muted);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.wgp-section {
  max-width: 900px; margin: 0 auto; padding: 80px 24px;
}

.wgp-eyebrow-sm {
  font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--wgp-gold); margin-bottom: 20px;
}

.wgp-section h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(30px, 5vw, 52px) !important;
  font-weight: 300 !important; color: var(--wgp-cream) !important;
  line-height: 1.15 !important; margin-bottom: 28px !important;
}

.wgp-section h2 em { font-style: italic; color: var(--wgp-gold); }

.wgp-section p {
  font-size: 15px; color: var(--wgp-muted);
  margin-bottom: 20px; max-width: 680px;
}

.wgp-section strong { color: var(--wgp-cream); }

/* ── HERITAGE ───────────────────────────────────────────────── */
.wgp-heritage {
  background: var(--wgp-dark-2); border: 1px solid var(--wgp-border);
  padding: 52px; position: relative; overflow: hidden; margin: 52px 0;
}

.wgp-heritage::before {
  content: '"'; position: absolute; top: -20px; left: 36px;
  font-family: 'Cormorant Garamond', serif; font-size: 180px;
  color: var(--wgp-gold); opacity: 0.06; line-height: 1;
}

.wgp-heritage p {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important; font-style: italic; font-weight: 300 !important;
  color: var(--wgp-cream) !important; line-height: 1.6 !important;
  max-width: 100%; margin: 0 !important;
}

.wgp-heritage-source {
  margin-top: 20px; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wgp-gold-dim);
}

/* ── AUDIENCE GRID ──────────────────────────────────────────── */
.wgp-audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--wgp-border);
  border: 1px solid var(--wgp-border); margin: 40px 0;
}

.wgp-audience-item { background: var(--wgp-dark); padding: 32px 26px; transition: background 0.3s; }
.wgp-audience-item:hover { background: var(--wgp-dark-2); }
.wgp-audience-icon { font-size: 22px; margin-bottom: 14px; display: block; }

.wgp-audience-item h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important; font-weight: 400 !important;
  color: var(--wgp-cream) !important; margin-bottom: 8px !important;
}

.wgp-audience-item p { font-size: 13px; color: var(--wgp-muted); margin: 0; }

/* ── IMAGE BREAKS ───────────────────────────────────────────── */
.wgp-img-break {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.wgp-img-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: brightness(0.8);
}

.wgp-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,14,11,0.4) 0%,
    transparent 30%,
    transparent 70%,
    rgba(15,14,11,0.5) 100%
  );
}

.wgp-img-break--end { height: 220px; }

/* ── TOPICS ─────────────────────────────────────────────────── */
.wgp-topics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin: 40px 0;
}

.wgp-topic-card {
  border: 1px solid var(--wgp-border); padding: 26px;
  transition: border-color 0.3s, background 0.3s; position: relative;
}

.wgp-topic-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--wgp-gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}

.wgp-topic-card:hover { border-color: var(--wgp-gold-dim); background: rgba(201,168,76,0.03); }
.wgp-topic-card:hover::after { transform: scaleX(1); }

.wgp-topic-card h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important; color: var(--wgp-cream) !important; margin-bottom: 10px !important;
}

.wgp-topic-card ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.wgp-topic-card ul li {
  font-size: 13px; color: var(--wgp-muted);
  padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 8px; list-style: none !important;
}

.wgp-topic-card ul li::before { content: '—'; color: var(--wgp-gold-dim); font-size: 11px; flex-shrink: 0; }

/* ── KEYWORD ACCORDION ──────────────────────────────────────── */
.wgp-accordion {
  border: 1px solid var(--wgp-border);
  background: var(--wgp-dark-2);
}

.wgp-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.wgp-accordion-btn:hover { background: rgba(201,168,76,0.04); }

.wgp-accordion-label { flex: 1; }

.wgp-accordion-title {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wgp-gold);
  margin-bottom: 6px;
}

.wgp-accordion-sub {
  display: block;
  font-size: 13px;
  color: var(--wgp-muted);
  letter-spacing: 0.02em;
}

.wgp-accordion-chevron {
  color: var(--wgp-gold);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.wgp-accordion-btn.is-open .wgp-accordion-chevron {
  transform: rotate(180deg);
}

.wgp-accordion-panel {
  border-top: 1px solid var(--wgp-border);
  padding: 36px 32px 32px;
}

.wgp-kw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px 24px;
}

.wgp-kw-col h5 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--wgp-cream) !important;
  margin-bottom: 12px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wgp-border);
}

.wgp-kw-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wgp-kw-col ul li {
  font-size: 12.5px;
  color: var(--wgp-muted);
  padding: 3px 0;
  line-height: 1.5;
  list-style: none !important;
  transition: color 0.2s;
}

.wgp-kw-col ul li:hover { color: var(--wgp-text); }

/* ── GUIDELINES ─────────────────────────────────────────────── */
.wgp-guidelines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }

.wgp-guideline-block { background: var(--wgp-dark-2); border: 1px solid var(--wgp-border); padding: 32px; }

.wgp-guideline-block h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important; color: var(--wgp-cream) !important;
  margin-bottom: 18px !important; display: flex; align-items: center; gap: 10px;
}

.wgp-gold { color: var(--wgp-gold); }
.wgp-cross-icon { color: #8B4040; }

.wgp-guideline-block ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.wgp-guideline-block ul li {
  font-size: 13px; color: var(--wgp-muted);
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; gap: 10px; list-style: none !important;
}

.wgp-check { color: var(--wgp-gold); font-size: 12px; margin-top: 2px; flex-shrink: 0; }
.wgp-cross { color: #8B4040; font-size: 12px; margin-top: 2px; flex-shrink: 0; }

/* ── PRICING ────────────────────────────────────────────────── */
.wgp-pricing-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px; background: var(--wgp-border); border: 1px solid var(--wgp-border); margin: 40px 0;
}

.wgp-price-card { background: var(--wgp-dark); padding: 36px 28px; text-align: center; position: relative; }
.wgp-price-card.wgp-featured { background: var(--wgp-dark-2); }

.wgp-price-card.wgp-featured::before {
  content: 'MOST POPULAR'; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); background: var(--wgp-gold); color: var(--wgp-dark);
  font-size: 9px; font-weight: 600; letter-spacing: 0.2em; padding: 4px 14px;
}

.wgp-price-card h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important; color: var(--wgp-cream) !important; margin-bottom: 14px !important;
}

.wgp-price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px; font-weight: 300; color: var(--wgp-gold); line-height: 1; margin-bottom: 4px;
}

.wgp-price-note { font-size: 11px; color: var(--wgp-muted); letter-spacing: 0.1em; margin-bottom: 20px; }

.wgp-price-features { list-style: none !important; padding: 0 !important; text-align: left; }

.wgp-price-features li {
  font-size: 13px; color: var(--wgp-muted);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; gap: 8px; list-style: none !important;
}

.wgp-footnote { font-size: 12px; color: var(--wgp-muted); }

/* ── STEPS ──────────────────────────────────────────────────── */
.wgp-steps { margin: 40px 0; }

.wgp-step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 20px; padding: 28px 0;
  border-bottom: 1px solid var(--wgp-border); align-items: start;
}

.wgp-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 300; color: var(--wgp-border); line-height: 1; text-align: center;
}

.wgp-step h4 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important; color: var(--wgp-cream) !important; margin-bottom: 6px !important;
}

.wgp-step p { font-size: 14px; color: var(--wgp-muted); margin: 0; }

/* ── CONTACT ────────────────────────────────────────────────── */
.wgp-contact-section {
  background: var(--wgp-dark-2);
  border-top: 1px solid var(--wgp-border); border-bottom: 1px solid var(--wgp-border);
  padding: 90px 24px; text-align: center;
}

.wgp-contact-inner { max-width: 580px; margin: 0 auto; }

.wgp-contact-inner h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(34px, 5vw, 52px) !important; font-weight: 300 !important;
  color: var(--wgp-cream) !important; margin-bottom: 14px !important;
}

.wgp-contact-inner h2 em { font-style: italic; color: var(--wgp-gold); }
.wgp-contact-inner p { color: var(--wgp-muted); font-size: 15px; margin-bottom: 40px; }

.wgp-email-display {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--wgp-gold); padding: 18px 36px;
  font-size: 15px; color: var(--wgp-gold) !important;
  letter-spacing: 0.05em; margin-bottom: 28px;
  text-decoration: none !important; transition: background 0.3s;
}

.wgp-email-display::before { content: '✉'; font-size: 17px; }
.wgp-email-display:hover { background: rgba(201,168,76,0.08); }

.wgp-subject-hint {
  font-size: 11px; color: var(--wgp-muted); letter-spacing: 0.15em; text-transform: uppercase;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.wgp-trust-bar {
  padding: 36px 24px; text-align: center; border-top: 1px solid var(--wgp-border);
}

.wgp-trust-bar p {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--wgp-muted); margin-bottom: 18px;
}

.wgp-trust-logos { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }

.wgp-trust-badge {
  font-size: 11px; color: var(--wgp-mid);
  letter-spacing: 0.1em; font-weight: 500; text-transform: uppercase;
  border: 1px solid var(--wgp-mid); padding: 5px 12px;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.wgp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.wgp-reveal.wgp-visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes wgpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wgpFadeDown {
  from { opacity: 0; transform: scaleY(0); transform-origin: top; }
  to   { opacity: 1; transform: scaleY(1); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wgp-guidelines { grid-template-columns: 1fr; }
  .wgp-kw-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 16px; }
}

@media (max-width: 768px) {
  .wgp-hero { min-height: 60vh; padding: 32px 20px 52px; }
  .wgp-heritage { padding: 32px 22px; }
  .wgp-metric-value { font-size: 30px; }
  .wgp-step { grid-template-columns: 44px 1fr; }
  .wgp-pricing-row { grid-template-columns: 1fr; }
  .wgp-email-display { padding: 14px 22px; font-size: 13px; }
  .wgp-accordion-btn { padding: 20px 20px; }
  .wgp-accordion-panel { padding: 24px 20px 20px; }
  .wgp-img-break { height: 160px; }
  .wgp-img-break--end { height: 160px; }
}
