/* Desi Shaadi & Co. — real weddings (.rw-) list, story page, and saved page (.sv-) */
[data-ic] { display: inline-flex; }
[hidden] { display: none !important; }
/* hero band (edge to edge, cream, photo on the right fading into the text side) */
.rw-hero { position: relative; background: var(--cream); overflow: hidden; }
.rw-hero .wrap { position: relative; z-index: 1; min-height: 398px; display: flex; align-items: center; }
.rw-hero-txt { max-width: 560px; padding: 44px 0 46px; }
.rw-eye { color: var(--rose); font-size: 12.5px; letter-spacing: .2em; }
.rw-hero h1 { font-size: 72px; line-height: 1.02; margin-top: 16px; }
.rw-hero .sub { margin-top: 22px; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink-2); max-width: 500px; }
.rw-hero-ph { position: absolute; top: 0; bottom: 0; right: 0; width: 57%; }
.rw-hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rw-hero-ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(250,246,242,.6) 12%, rgba(250,246,242,0) 32%); z-index: 1; }

/* filter band: search + three labelled selects + clear */
.rw-filters { background: #FBF9F7; border-bottom: 1px solid var(--line); }
.rw-bar { display: flex; align-items: flex-end; gap: 22px; padding: 18px 0 20px; }
.rw-search { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: text; flex: 1 1 470px; min-width: 0; align-self: flex-end; }
.rw-search .ic { color: var(--ink-2); width: 20px; height: 20px; }
.rw-search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font-size: 14px; }
.rw-search input::placeholder { color: var(--mut); }
.rw-f { display: flex; flex-direction: column; gap: 6px; flex: 0 1 205px; min-width: 0; }
.rw-f label { font-size: 13.5px; color: var(--ink); }
.rw-f .inw .ic { width: 18px; height: 18px; color: var(--ink-2); }
.rw-f .sel { height: 40px; font-size: 14px; padding-left: 40px; }
.rw-sep { width: 1px; height: 44px; background: var(--line); flex: none; }
.rw-clear { border: 0; background: none; color: var(--rose); font-size: 14.5px; height: 40px; padding: 0 2px; flex: none; }
.rw-clear:hover { text-decoration: underline; text-underline-offset: 3px; }

/* featured split */
.rw-featured { margin-top: 26px; }
.rw-feat { display: grid; grid-template-columns: 59% minmax(0, 1fr); gap: 30px; align-items: center; }
.rw-feat .ph { aspect-ratio: 633 / 309; border-radius: 4px; }
.rw-feat .eye { color: var(--rose); font-size: 12px; letter-spacing: .2em; }
.rw-feat h2 { font-size: 60px; margin-top: 10px; line-height: 1; }
.rw-feat .ttl { font-family: var(--serif); font-size: 26px; margin-top: 10px; color: var(--ink); }
.rw-feat .meta { margin-top: 14px; font-size: 15px; }
.rw-feat .tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.rw-feat .tags .tag { height: 32px; padding: 0 16px; border-radius: 999px; background: var(--blush-2); color: var(--ink); font-size: 14.5px; }
.rw-feat .blurb { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.rw-feat .btn { margin-top: 22px; height: 52px; padding: 0 44px; font-size: 17px; background: var(--rose-d); border-color: var(--rose-d); }
.rw-feat .btn:hover { background: var(--rose); border-color: var(--rose); }
.rw-feat .btn .ic { width: 20px; height: 20px; }

/* grid of stories */
.rw-more-h { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; }
.rw-h2 { font-size: 52px; }
.rw-sample { color: var(--rose); font-size: 15.5px; display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); }
.rw-sample i { width: 34px; height: 1px; background: var(--line); }
.rw-grid { margin-top: 24px; gap: 24px; }
.rw-lc { display: block; }
.rw-lc .ph { aspect-ratio: 347 / 226; border-radius: 4px; }
.rw-lc h3 { font-size: 28px; margin-top: 16px; }
.rw-lc .meta { margin-top: 6px; font-size: 14px; }
.rw-lc .blurb { margin-top: 8px; font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--ink); }
.rw-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }
.rw-empty h3 { font-size: 28px; margin-bottom: 6px; }

/* saved.html still uses the older bordered card */
.rw-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.rw-card .ph { aspect-ratio: 4 / 3; }
.rw-card .heart.txt { background: rgba(255,255,255,.94); color: var(--rose); }
.rw-card .heart.txt .ic { width: 16px; height: 16px; }
.rw-card .cb { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; cursor: default; align-items: stretch; gap: 0; }
.rw-card h3 { font-size: 24px; }
.rw-card .meta { margin-top: 6px; }
.rw-card .meta .ic { color: var(--rose); }
.rw-card .blurb { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.rw-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.rw-card .tags .tag { height: 24px; border-radius: 999px; }
.rw-card .lnk { margin-top: 14px; font-size: 14px; }
.rw-card .team { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--mut); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rw-card .team .sep { width: 1px; height: 12px; background: var(--line); margin: 0 4px; }
.rw-card .team a { color: var(--rose); display: inline-flex; align-items: center; gap: 4px; }
.rw-card .team a .ic { width: 12px; height: 12px; }

/* submit band */
.rw-submit { margin-top: 36px; display: flex; align-items: center; gap: 20px; background: #F6EBE5; border-radius: 4px; padding: 14px 20px; min-height: 108px; position: relative; overflow: hidden; }
.rw-fl { width: 148px; height: 98px; object-fit: contain; flex: none; }
.rw-fl.l { margin-right: 8px; }
.rw-fl.r { margin-left: 8px; }
.rw-submit-txt { flex: 1; min-width: 0; }
.rw-submit-txt h2 { font-size: 29px; }
.rw-submit-txt p { margin-top: 6px; color: var(--ink-2); font-family: var(--serif); font-size: 18px; }
.rw-submit-btn { height: 48px; padding: 0 24px; font-size: 16px; background: var(--rose-d); border-color: var(--rose-d); }
.rw-submit-btn:hover { background: var(--rose); border-color: var(--rose); }

/* story page */
.rw-story .hero { aspect-ratio: 16 / 9; border-radius: var(--r); }
.rw-story .hero .heart { top: 18px; right: 18px; background: rgba(255,255,255,.94); color: var(--rose); }
.rw-story .body { max-width: 760px; margin: 28px auto 0; text-align: center; }
.rw-story .body h1 { font-size: 54px; }
.rw-story .body .ttl { font-family: var(--serif); font-size: 26px; margin-top: 8px; color: var(--ink-2); }
.rw-story .body .meta { justify-content: center; margin-top: 12px; font-size: 14.5px; }
.rw-story .body .meta .ic { color: var(--rose); }
.rw-story .body .tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.rw-story .body .tags .tag { height: 26px; border-radius: 999px; }
.rw-story .body .blurb { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.rw-team { margin-top: 44px; }
.rw-team .sec-h h2 { font-size: 34px; }
.rw-team .sec-h p { color: var(--ink-2); }

/* saved page */
.sv-sec { margin-top: 30px; }
.sv-sec h2 { font-size: 32px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.sv-sec h2 small { font-family: var(--sans); font-size: 14px; color: var(--mut); }
.sv-idea { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; position: relative; }
.sv-idea .ph { aspect-ratio: 4 / 3; }
.sv-idea .ib { padding: 14px 16px; }
.sv-idea .ib small { color: var(--mut); font-size: 12px; }
.sv-idea h3 { font-size: 20px; margin-top: 2px; }
.sv-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--r); margin-top: 24px; }
.sv-empty .ic { width: 40px; height: 40px; color: var(--rose); margin: 0 auto 12px; }
.sv-empty h2 { font-size: 34px; }
.sv-empty p { color: var(--ink-2); margin-top: 8px; }
.sv-empty .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 1080px) {
  .rw-hero h1 { font-size: 54px; }
  .rw-hero .wrap { min-height: 0; }
  .rw-hero-txt { max-width: 50%; }
  .rw-hero-ph { width: 52%; }
  .rw-bar { flex-wrap: wrap; }
  .rw-search { flex-basis: 100%; }
  .rw-f { flex: 1 1 160px; }
  .rw-feat { grid-template-columns: 1fr; }
  .rw-feat h2 { font-size: 48px; }
  .rw-story .body h1 { font-size: 42px; }
}
@media (max-width: 820px) {
  .rw-hero .wrap { display: block; }
  .rw-hero-txt { max-width: none; padding: 30px 0 26px; }
  .rw-hero h1 { font-size: 40px; }
  .rw-hero .sub { font-size: 18px; }
  .rw-hero-ph { position: static; width: auto; margin: 0 -16px; }
  .rw-hero-ph img { aspect-ratio: 659 / 320; height: auto; }
  .rw-hero-ph::before { display: none; }
  .rw-bar { gap: 14px; }
  .rw-f { flex-basis: 100%; }
  .rw-sep { display: none; }
  .rw-feat { gap: 18px; }
  .rw-feat h2 { font-size: 40px; }
  .rw-feat .ttl { font-size: 21px; }
  .rw-more-h { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
  .rw-h2 { font-size: 36px; }
  .rw-submit { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .rw-fl { display: none; }
  .rw-submit-txt h2 { font-size: 26px; }
  .rw-submit-btn { width: 100%; }
  .rw-story .hero { aspect-ratio: 4 / 3; }
  .rw-story .body h1 { font-size: 34px; }
  .rw-story .body .ttl { font-size: 20px; }
  .crumbs .back span { display: none; }
}

/* story page: facts and credits for weddings shared through the submit form */
.wd-gallery { columns: 3; column-gap: 16px; margin: 40px auto 0; max-width: 1180px; }
.wd-gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: 4px; overflow: hidden; background: var(--cream); }
.wd-gallery img { display: block; width: 100%; height: auto; }
.wd-credit { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); } .wd-credit .ic { width: 16px; height: 16px; color: var(--rose); } .wd-credit a { color: var(--rose); text-decoration: underline; }
@media (max-width: 820px) { .wd-gallery { columns: 2; column-gap: 10px; } .wd-gallery figure { margin-bottom: 10px; } }
.wd-facts { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, #eadfd8); }
.wd-facts dt { display: flex; align-items: center; gap: 8px; } .wd-facts dt .ic { width: 16px; height: 16px; } .wd-facts a { color: var(--rose); text-decoration: underline; }
.wd-credits { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.wd-credits li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; } .wd-credits li .ic { width: 18px; height: 18px; color: var(--rose); } .wd-credits li span { color: var(--ink-2); } .wd-credits li a { margin-left: 6px; color: var(--rose); text-decoration: underline; }
