/* Red & gold theme for the guest-memory screens on the homecoming pages.
   Loaded after memories.css, only for the homecoming event. */

.hc-mem-theme{
  --red-deep:#4A0711;--red:#7A0C1B;--crimson:#B01530;
  --gold:#D4AF37;--gold-deep:#B8902A;--gold-pale:#F0DFA0;
  --cream:#FBF3E4;--ink:#3A0A10;
  /* memories.css redefines these two; restore the homecoming values */
  --muted:#7B5A4A;--line:rgba(212,175,55,.4);
}

/* ---------- homecoming gallery page: base (the invitation page has its own) ---------- */
body.amwed-hcmem-page{
  font-family:"Jost",sans-serif;color:var(--cream);line-height:1.7;overflow-x:hidden;min-height:100vh;
  background-color:#5A0914;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='rgb(212,175,55)' stroke-opacity='.14' stroke-width='1'><circle cx='36' cy='36' r='14'/><path d='M36 8 L64 36 L36 64 L8 36 Z'/><circle cx='0' cy='0' r='14'/><circle cx='72' cy='0' r='14'/><circle cx='0' cy='72' r='14'/><circle cx='72' cy='72' r='14'/></g></svg>"),
    linear-gradient(180deg,#6B0B19 0%,#4A0711 100%);
}
.amwed-hcmem-page a{color:inherit;text-decoration:none}
.amwed-hcmem-page video{display:none !important}
.amwed-hcmem-page.enweby-fullscreen-background-video{background-color:#5A0914 !important}
.amwed-hcmem-page #moments{background:rgba(0,0,0,.14)}

/* marigold toran across the top of the gallery hero */
.mem-toran{
  position:absolute;top:0;left:0;right:0;height:74px;pointer-events:none;z-index:1;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='74' viewBox='0 0 90 74'><path d='M0 4 Q45 18 90 4' fill='none' stroke='rgb(184,144,42)' stroke-width='2'/><path d='M45 14 V60' stroke='rgb(184,144,42)' stroke-width='1.4'/><circle cx='45' cy='22' r='7' fill='rgb(242,140,40)'/><circle cx='45' cy='36' r='7' fill='rgb(255,193,7)'/><circle cx='45' cy='50' r='7' fill='rgb(242,140,40)'/><path d='M45 58 L38 70 L52 70 Z' fill='rgb(176,21,48)'/></svg>") repeat-x top center;
}

/* ---------- headings, pills, dividers, buttons ---------- */
.hc-mem-theme .mem-eyebrow{color:var(--gold);background:rgba(74,7,17,.6);border-color:var(--line);box-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hc-mem-theme .mem-divider{color:var(--gold)}
.hc-mem-theme .mem-divider::before{background:linear-gradient(90deg,transparent,var(--gold))}
.hc-mem-theme .mem-divider::after{background:linear-gradient(270deg,transparent,var(--gold))}
.hc-mem-theme .mem-divider span{color:var(--gold)}
.hc-mem-theme .mem-btn{color:var(--red-deep);background:linear-gradient(135deg,var(--gold-pale),var(--gold) 55%,var(--gold-deep));box-shadow:0 12px 28px -12px rgba(0,0,0,.6)}
.hc-mem-theme .mem-btn:hover{background:linear-gradient(135deg,var(--gold-pale),var(--gold) 55%,var(--gold-deep));filter:brightness(1.06)}
.hc-mem-theme .mem-btn-ghost{background:transparent;color:var(--gold-pale);border:1.5px solid var(--gold-deep);box-shadow:none}
.hc-mem-theme .mem-btn-ghost:hover{background:rgba(212,175,55,.16);color:var(--gold-pale);filter:none}

/* ---------- gallery page hero ---------- */
.hc-mem-theme .mem-names{font-family:"Cinzel Decorative","Cormorant Garamond",serif;font-weight:400;font-size:clamp(2.3rem,8.5vw,4.8rem);color:var(--gold-pale)}
.hc-mem-theme .mem-names span{color:var(--gold)}
.hc-mem-theme .mem-date{color:var(--gold)}
.hc-mem-theme .mem-lead{color:var(--cream)}
.hc-mem-theme .mem-back{top:5.2rem;z-index:3;color:var(--gold);background:rgba(74,7,17,.6);border-color:var(--line)}
.hc-mem-theme .mem-back:hover{background:rgba(74,7,17,.92)}

/* ---------- upload card ---------- */
.hc-mem-theme .mem-card{
  background:linear-gradient(160deg,rgba(251,243,228,.97),rgba(251,243,228,.9));color:var(--ink);
  border:2px solid var(--gold);outline:1px solid var(--gold-deep);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.16),0 40px 80px -40px rgba(0,0,0,.65);
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.hc-mem-theme .mem-drop{border-color:rgba(184,144,42,.7);background:rgba(255,255,255,.6)}
.hc-mem-theme .mem-drop:hover,.hc-mem-theme .mem-drop.over{background:#fff;border-color:var(--crimson)}
.hc-mem-theme .drop-icon{background:rgba(212,175,55,.2);color:var(--crimson)}
.hc-mem-theme .drop-title{color:var(--ink)}
.hc-mem-theme .mem-field label{color:var(--gold-deep)}
.hc-mem-theme .mem-field input,.hc-mem-theme .mem-field textarea{border-color:rgba(184,144,42,.6);color:var(--ink)}
.hc-mem-theme .mem-field input:focus,.hc-mem-theme .mem-field textarea:focus{border-color:var(--crimson)}
.hc-mem-theme .mem-note{color:var(--crimson)}
.hc-mem-theme .mem-closed{color:var(--muted)}

/* ---------- gallery ---------- */
.hc-mem-theme .mem-total{color:var(--gold-pale)}
.hc-mem-theme .mem-empty{color:var(--cream)}
.hc-mem-theme .mem-item{background:#fffaf0;box-shadow:0 26px 44px -22px rgba(0,0,0,.75)}
.hc-mem-theme .mem-item img{background:#f3e3c8}
.hc-mem-theme .mem-item .nm{color:var(--crimson)}
.hc-mem-theme .mem-item .ws{color:var(--ink)}
.hc-mem-theme .mem-item.fresh{box-shadow:0 0 0 3px var(--gold),0 26px 44px -22px rgba(0,0,0,.75)}

/* ---------- footer ---------- */
.hc-mem-theme .mem-foot{background:rgba(0,0,0,.22)}
.hc-mem-theme .mem-monogram{border-color:var(--gold);outline:1px solid rgba(212,175,55,.45);outline-offset:5px;color:var(--gold);font-family:"Cinzel Decorative",serif}
.hc-mem-theme .mem-thanks{color:var(--gold-pale)}
.hc-mem-theme .mem-foot-link a{color:var(--gold);border-bottom-color:rgba(212,175,55,.5)}

/* ---------- viewer + hearts ---------- */
.hc-mem-theme .mem-lb{background:rgba(40,5,12,.93)}
.hc-mem-theme .lb-name{color:var(--gold-pale)}
.hc-mem-theme .lb-wish{color:var(--cream)}
.hc-mem-theme .mem-heart{color:var(--gold)}

@media(max-width:640px){
  .hc-mem-theme .mem-back{top:4.8rem}
}

/* ---------- same photo background + red/gold cards as the homecoming invitation ---------- */
:root{
  --hc-photo:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Red-and-Gold-Wedding-Stage-1024x576.png");
  --hc-photo-m:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Burgundy-Rose-Ceremony-Stage-768x1365.png");
}
@media(min-width:900px){
  :root{--hc-photo:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Red-and-Gold-Wedding-Stage-1536x864.png")}
}
body.amwed-hcmem-page{background:#4A0711 !important}
body.amwed-hcmem-page::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(40,3,10,.28),rgba(40,3,10,.5)),
    var(--hc-photo) center/cover no-repeat,
    #4A0711;
}
@media(max-width:899px) and (orientation:portrait){
  body.amwed-hcmem-page::before{
    background:
      linear-gradient(180deg,rgba(40,3,10,.25),rgba(40,3,10,.45)),
      var(--hc-photo-m) center/cover no-repeat,
      #4A0711;
  }
}
.hc-mem-theme .mem-toran{display:none}
/* keep all page content above the photo layer (and above the Fullscreen Background plugin layer) */
body.amwed-hcmem-page .mem{position:relative;z-index:1}
body.amwed-hcmem-page{background-color:#4A0711 !important;background-image:none !important}
/* readable text over the photo */
.hc-mem-theme .mem-hero-card{text-shadow:0 2px 14px rgba(40,3,10,.85)}
.hc-mem-theme .mem-lead,.hc-mem-theme .mem-date{text-shadow:0 2px 12px rgba(40,3,10,.9)}
.hc-mem-theme #moments{background:rgba(40,3,10,.28)}
.hc-mem-theme .mem-foot{background:rgba(40,3,10,.4)}

/* upload card: red glass like the invitation card */
.hc-mem-theme .mem-card{
  background:linear-gradient(160deg,rgba(150,16,38,.82),rgba(90,9,22,.88));color:var(--cream);
  border:2px solid var(--gold);outline:1px solid rgba(212,175,55,.55);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.16),0 0 40px rgba(212,175,55,.18),0 40px 80px -40px rgba(0,0,0,.7);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.hc-mem-theme .mem-drop{background:rgba(255,255,255,.08);border-color:rgba(212,175,55,.7);color:var(--cream)}
.hc-mem-theme .mem-drop:hover,.hc-mem-theme .mem-drop.over{background:rgba(255,255,255,.16);border-color:var(--gold)}
.hc-mem-theme .drop-icon{background:rgba(212,175,55,.22);color:var(--gold-pale)}
.hc-mem-theme .drop-title{color:var(--gold-pale)}
.hc-mem-theme .drop-sub{color:var(--cream)}
.hc-mem-theme .mem-pick button{background:rgba(74,7,17,.7);color:var(--gold-pale);border-color:var(--gold)}
.hc-mem-theme .mem-field label{color:var(--gold-pale)}
.hc-mem-theme .mem-field input,.hc-mem-theme .mem-field textarea{background:rgba(255,250,240,.95)}
.hc-mem-theme .mem-counter{color:var(--gold-pale)}
.hc-mem-theme .mem-note{color:var(--gold-pale)}
.hc-mem-theme .mem-fine{color:var(--cream);opacity:.85}
.hc-mem-theme .mem-closed{color:var(--cream)}

/* top widget card */
.hc-mem-theme .mem-hero-card{max-width:620px;margin:0 auto;padding:0;text-align:center;position:relative;z-index:2}
.hc-mem-theme .mem-hero-card .mem-names{margin-top:0;line-height:1.15}
/* three rows: Malan / & / Anuradha */
.hc-mem-theme .mem-hero-card .mem-names span{display:block;font-size:.6em;line-height:1.1;margin:.1em 0}
.hc-mem-theme .mem-hero-card .mem-divider{margin:.8rem auto}
.hc-mem-theme .mem-hero-card .mem-actions{justify-content:center}
