/* ═══════════════════════════════════════════════════════════
   TURATHYA — INFO PAGES SHARED PREMIUM DESIGN SYSTEM
   Used by: team, how-bidding-works, buyers-guide,
            condition-reports, fees-payments, shipping-pickup,
            authentication, terms, privacy, cookies
═══════════════════════════════════════════════════════════ */

:root {
  --ip-gold:       #c9a96e;
  --ip-gold-2:     #a8844c;
  --ip-gold-line:  rgba(201,169,110,.32);
  --ip-gold-bg:    rgba(201,169,110,.07);
  --ip-shadow:     0 8px 28px rgba(0,0,0,.07);
  --ip-ease:       cubic-bezier(.22,.68,0,1.2);
}

/* ── Scroll reveal ── */
.ip-sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ip-ease), transform .65s var(--ip-ease);
}
.ip-sr.visible { opacity: 1; transform: translateY(0); }
.ip-d1 { transition-delay: .08s; }
.ip-d2 { transition-delay: .16s; }
.ip-d3 { transition-delay: .24s; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.ip-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 96px;
}

.ip-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.ip-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.18) 0%, transparent 55%),
    linear-gradient(175deg, rgba(10,8,4,.62) 0%, rgba(5,4,2,.80) 100%);
  z-index: 1;
}

.ip-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  text-align: center !important;
}

.ip-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
  text-align: center !important;
}

.ip-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.70;
  max-width: 520px;
  margin: 0 auto;
  text-align: center !important;
}

.ip-hero__line {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ip-gold), transparent);
  margin: 20px auto 0;
}

/* Force ALL text inside hero to white + centered */
.ip-hero__title,
.ip-hero__title h1,
.ip-hero__title h2,
.ip-hero__sub,
.ip-hero__sub p,
.ip-hero__sub span,
.ip-hero * {
  color: #ffffff !important;
  text-align: center !important;
}

.ip-hero__title h1 {
  font-family: var(--font-headline) !important;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  margin-bottom: 0 !important;
}

/* ════════════════════════════════════════
   BODY WRAPPER
════════════════════════════════════════ */
.ip-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ── Gold divider ── */
.ip-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 44px 0;
}

.ip-divider__line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ip-gold-line));
}

.ip-divider__line--r {
  background: linear-gradient(90deg, var(--ip-gold-line), transparent);
}

.ip-divider__star {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ip-gold-bg);
  border: 1px solid var(--ip-gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ip-gold);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   SECTION CARD
════════════════════════════════════════ */
.ip-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,.14);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .32s var(--ip-ease), box-shadow .32s ease, border-color .25s;
}

/* Left gold accent line */
.ip-card::before {
  content: '';
  position: absolute;
  top: 20px; bottom: 20px; left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, transparent, var(--ip-gold), transparent);
}

.rtl .ip-card::before {
  left: auto; right: 0;
  border-radius: 3px 0 0 3px;
}

.ip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ip-shadow), 0 0 0 1px rgba(201,169,110,.22);
  border-color: var(--ip-gold-line);
}

/* Section title inside card */
.ip-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  color: var(--theme-text, #1a1208);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Paragraphs inside card */
.ip-card p {
  font-family: 'Inter', sans-serif;
  font-size: .96rem;
  color: #444;
  line-height: 1.80;
  margin-bottom: 12px;
}

.ip-card p:last-child { margin-bottom: 0; }

.ip-card ul, .ip-card ol {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: #444;
  line-height: 1.80;
  padding-inline-start: 1.4em;
}

.ip-card li { margin-bottom: 8px; }

/* Links inside card */
.ip-card a {
  color: var(--ip-gold-2);
  border-bottom: 1px solid var(--ip-gold-line);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.ip-card a:hover { color: var(--ip-gold); border-color: var(--ip-gold); }

/* ════════════════════════════════════════
   HIGHLIGHT / NOTE BLOCK
════════════════════════════════════════ */
.ip-note {
  background: rgba(201,169,110,.07);
  border-inline-start: 3px solid var(--ip-gold);
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  margin: 16px 0;
  font-size: .90rem;
  color: #555;
  line-height: 1.65;
}

.rtl .ip-note {
  border-inline-start: none;
  border-inline-end: 3px solid var(--ip-gold);
  border-radius: 10px 0 0 10px;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 640px) {
  .ip-hero { min-height: 320px; padding: 90px 20px 72px; }
  .ip-body { padding: 44px 16px 60px; }
  .ip-card { padding: 24px 20px; }
}
