/*
Theme Name: Wedding Edit Journal
Theme URI: https://theweddingeditjournal.com
Author: Autumn
Description: A timeless, editorial WordPress theme built for venue discovery + curated wedding edits.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wedding-edit-journal
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

/* ---------------------------
   Wedding Edit Journal — Editorial System
   --------------------------- */

:root {
  --wej-bg: #fbfaf7;           /* keep */
  --wej-ink: #111111;          /* slightly richer */
  --wej-muted: rgba(17,17,17,.62);
  --wej-hairline: rgba(17,17,17,.14);

  --wej-card: rgba(255,255,255,.78);
  --wej-shadow: 0 18px 40px rgba(0,0,0,.10);
  --wej-radius: 22px;

  /* new: “antique gold” accent (subtle) */
  --wej-gold: rgba(138,115,70,.65);

  --wej-max: 1120px;

  /* Type */
  --wej-serif: "Playfair Display", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --wej-sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;


  /* Rhythm */
  --wej-1: 6px;
  --wej-2: 10px;
  --wej-3: 16px;
  --wej-4: 24px;
  --wej-5: 36px;
  --wej-6: 56px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--wej-ink);
body{
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(0,0,0,.035), transparent 55%),
    radial-gradient(900px 600px at 120% 0%, rgba(0,0,0,.03), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 30%),
    var(--wej-bg);
}


img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.wej-wrap { width: min(var(--wej-max), calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) {
  .wej-wrap { width: calc(100% - 28px); }
}

.wej-skip {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.wej-skip:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 12px; background: #fff; border: 1px solid var(--wej-hairline);
  border-radius: 12px; z-index: 9999;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(251,250,247,.78);
  border-bottom: 1px solid var(--wej-hairline);
}

.wej-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wej-3);
  padding: 14px 0;
}

.site-brand a {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.site-brand__title {
  font-family: var(--wej-serif);
  letter-spacing: .02em;
  font-size: 18px;
  line-height: 1.1;
}
.site-brand__tag {
  font-size: 12px;
  color: var(--wej-muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 999px;
}
.nav a:hover {
  background: rgba(20,20,20,.06);
}

.wej-hero {
  padding: var(--wej-6) 0 var(--wej-5);
}
.wej-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--wej-5);
  align-items: start;
}
@media (max-width: 920px) {
  .wej-hero__grid { grid-template-columns: 1fr; }
}
.wej-kicker {
  color: var(--wej-muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 var(--wej-2);
}
.wej-h1 {
  font-family: var(--wej-serif);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(34px, 4.2vw, 54px);
  margin: 0 0 var(--wej-3);
}
.wej-lede {
  color: var(--wej-muted);
  font-size: 16px;
  max-width: 58ch;
  margin: 0 0 var(--wej-4);
}
.wej-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wej-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--wej-hairline);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wej-btn:hover {
  transform: translateY(-1px);
  transition: transform .15s ease;
}
.wej-btn--solid {
  background: var(--wej-ink);
  color: #fff;
  border-color: rgba(20,20,20,.2);
}

.wej-card {
  border-radius: var(--wej-radius);
  border: 1px solid var(--wej-hairline);
  background: var(--wej-card);
  box-shadow: var(--wej-shadow);
  overflow: hidden;
}
.wej-card__pad { padding: 18px 18px 16px; }
.wej-card__label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wej-muted);
}
.wej-card__title {
  margin: 0 0 8px;
  font-family: var(--wej-serif);
  font-weight: 500;
  line-height: 1.12;
  font-size: 22px;
}
.wej-card__meta {
  margin: 0;
  color: var(--wej-muted);
  font-size: 14px;
}

.wej-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.wej-col-8 { grid-column: span 8; }
.wej-col-4 { grid-column: span 4; }
@media (max-width: 920px) {
  .wej-col-8, .wej-col-4 { grid-column: span 12; }
}

main.site-main { padding: 26px 0 70px; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.section-title h2 {
  margin: 0;
  font-family: var(--wej-serif);
  font-weight: 500;
  letter-spacing: .01em;
  font-size: 24px;
}
.section-title a {
  color: var(--wej-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
}
.section-title a:hover { background: rgba(20,20,20,.06); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card{
  border-radius: var(--wej-radius);
  border: 1px solid rgba(17,17,17,.10);
  background: rgba(255,255,255,.82);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.post-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 55px rgba(0,0,0,.14);
}

.post-card__thumb{
  aspect-ratio: 4 / 3;
  background: rgba(17,17,17,.04);
}

.post-card__thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.02);
}
.post-card__title{
  font-family: var(--wej-serif);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.12;
  font-size: 19px;
}


.article {
  width: min(820px, 100%);
  margin-inline: auto;
}
.article h1 {
  font-family: var(--wej-serif);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.1;
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0 0 14px;
}
.article .meta {
  color: var(--wej-muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.article .content {
  font-size: 17px;
  line-height: 1.75;
}
.article .content p { margin: 0 0 18px; }
.article .content h2 {
  font-family: var(--wej-serif);
  font-weight: 500;
  margin: 34px 0 12px;
  line-height: 1.15;
}
.article .content h3 {
  font-family: var(--wej-serif);
  font-weight: 500;
  margin: 26px 0 10px;
}
.article .content blockquote {
  border-left: 2px solid var(--wej-hairline);
  margin: 22px 0;
  padding: 6px 0 6px 16px;
  color: var(--wej-muted);
}

.wej-related {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--wej-hairline);
}

footer.site-footer {
  border-top: 1px solid var(--wej-hairline);
  padding: 26px 0 40px;
  color: var(--wej-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-small {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dress-name {
  font-family: "Playfair Display", "Georgia", cursive;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.dress-list {
  padding-left: 0;
  margin: 0;
}

.dress-list li {
  list-style: none;
  margin-bottom: 2.5rem;   /* increase spacing between dresses */
  line-height: 1.6;
}

.dress-list a {
  text-decoration: underline;
}