/* CSS Document */

/* Divorced Princess — Magazine styling (premium editorial) */

:root{
  --dp-ink: var(--wp--preset--color--ink);
  --dp-paper: var(--wp--preset--color--paper);
  --dp-mist: var(--wp--preset--color--mist);
  --dp-rose: var(--wp--preset--color--rose-noir);
  --dp-gold: var(--wp--preset--color--gold-dust);
  --dp-slate: var(--wp--preset--color--slate);

  --dp-radius-s: var(--wp--custom--radius--s);
  --dp-radius-m: var(--wp--custom--radius--m);
  --dp-radius-l: var(--wp--custom--radius--l);
  --dp-shadow-soft: var(--wp--custom--shadow--soft);
  --dp-shadow-lift: var(--wp--custom--shadow--lift);
}

/* Base */
body{
  background: var(--dp-paper);
  color: var(--dp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a{ text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover{ opacity: .9; }

/* Conteúdo */
.wp-site-blocks{
  overflow-x: clip;
}

.dp-shell{
  position: relative;
}

/* “Magazine rail” — linha editorial */
.dp-rail{
  position: relative;
}
.dp-rail:before{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: min(1200px, calc(100% - 48px));
  height: 1px;
  background: rgba(14,15,18,.10);
}

/* Cards */
.dp-card{
  border-radius: var(--dp-radius-l);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(14,15,18,.10);
  box-shadow: var(--dp-shadow-soft);
  overflow: hidden;
}
.dp-card--lift:hover{
  transform: translateY(-2px);
  box-shadow: var(--dp-shadow-lift);
}
.dp-card--lift{
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

/* Tag editorial */
.dp-kicker{
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .74rem;
  opacity: .75;
}

/* Meta */
.dp-meta{
  font-size: .92rem;
  opacity: .75;
}

/* Hero editorial com textura */
.dp-hero{
  border-radius: var(--dp-radius-l);
  background:
    radial-gradient(800px 280px at 15% 0%, rgba(122,46,69,.22), transparent 55%),
    radial-gradient(700px 240px at 85% 10%, rgba(176,138,58,.20), transparent 55%),
    linear-gradient(180deg, rgba(14,15,18,.06), transparent 40%),
    var(--dp-paper);
  border: 1px solid rgba(14,15,18,.10);
  box-shadow: var(--dp-shadow-soft);
  overflow: hidden;
}

/* “coluna” de revista / sidebar */
.dp-sidebar{
  position: sticky;
  top: 24px;
  border-radius: var(--dp-radius-l);
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(14,15,18,.10);
  box-shadow: var(--dp-shadow-soft);
}

/* Separadores editorial */
hr, .wp-block-separator{
  border: none;
  height: 1px;
  background: rgba(14,15,18,.10);
}

/* Imagens */
.wp-block-post-featured-image img,
.wp-block-image img{
  border-radius: var(--dp-radius-m);
}

/* Botões */
.wp-block-button__link{
  border-radius: 999px !important;
  padding: .78em 1.1em;
  font-weight: 600;
}

/* Ajustes de lista de posts */
.wp-block-post-template{
  gap: 18px;
}

/* Small screens */
@media (max-width: 900px){
  .dp-sidebar{ position: relative; top: 0; }
}
