/* iWorx Invites */
.iv-btn{display:inline-block;background:#9a6a1f;color:#fff!important;padding:.75rem 1.4rem;border-radius:999px;text-decoration:none!important;font-weight:600;border:2px solid #9a6a1f;cursor:pointer;line-height:1.2}
.iv-btn:hover{background:#7d5416;border-color:#7d5416}
.iv-btn.iv-ghost{background:transparent;color:#9a6a1f!important}
.iv-btn.iv-ghost:hover{background:#9a6a1f;color:#fff!important}
.iv-btn.iv-sm{padding:.5rem 1rem;font-size:.9rem}
.iv-h{text-align:center;margin:3rem 0 1.25rem}
.iv-hero{text-align:center;padding:4rem 1.25rem;background:linear-gradient(135deg,#fbf6ec,#f1dfc0);border-radius:18px}
.iv-hero h1{font-size:clamp(2rem,5vw,3.25rem);margin:0 0 1rem;color:#2b2118}
.iv-hero p{max-width:640px;margin:0 auto 1.25rem;color:#4a3b2c}
.iv-chips{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:1rem 0 1.5rem}
.iv-chip{padding:.45rem 1rem;border:1px solid #c9b48a;border-radius:999px;text-decoration:none;color:#4a3b2c;background:#fff}
.iv-chip.on,.iv-chip:hover{background:#9a6a1f;color:#fff;border-color:#9a6a1f}
.iv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.25rem}
.iv-card{border:1px solid #eadfca;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.iv-thumb{aspect-ratio:4/3;background:var(--iv-bg);color:var(--iv-tx);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1rem;position:relative;border-bottom:4px solid var(--iv-ac)}
.iv-thumb-k{font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:var(--iv-ac)}
.iv-thumb-t{font-family:Georgia,serif;font-size:1.35rem;margin-top:.5rem}
.iv-card-b{padding:1rem}
.iv-card-b h3{margin:0 0 .25rem;font-size:1.1rem}
.iv-card-b p{margin:.25rem 0}
.iv-from{color:#7d5416;font-size:.9rem}
.iv-pkgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.iv-pkg{border:1px solid #eadfca;border-radius:16px;padding:1.5rem;background:#fff;text-align:center}
.iv-pkg.feat{border:2px solid #9a6a1f;box-shadow:0 8px 24px rgba(154,106,31,.18)}
.iv-pkg h3{margin:0}
.iv-price{font-size:2rem;font-weight:700;color:#7d5416;margin:.5rem 0}
.iv-pkg ul{list-style:none;padding:0;margin:1rem 0;text-align:left}
.iv-pkg li{padding:.35rem 0 .35rem 1.4rem;position:relative}
.iv-pkg li:before{content:"\2713";position:absolute;left:0;color:#9a6a1f}
.iv-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;text-align:center}
.iv-steps b{display:inline-flex;width:2.5rem;height:2.5rem;border-radius:50%;background:#9a6a1f;color:#fff;align-items:center;justify-content:center}
.iv-form{max-width:720px;margin:0 auto}
.iv-form label{display:block;margin:.75rem 0;font-weight:600}
.iv-form input[type=text],.iv-form input[type=email],.iv-form input[type=tel],.iv-form input[type=url],.iv-form input[type=date],.iv-form input[type=time],.iv-form input[type=number],.iv-form select,.iv-form textarea,.iv-rsvp input[type=text],.iv-rsvp input[type=number],.iv-rsvp select,.iv-rsvp textarea{width:100%;padding:.65rem .8rem;border:1px solid #c9b48a;border-radius:8px;font:inherit;margin-top:.3rem;box-sizing:border-box}
.iv-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:600px){.iv-row{grid-template-columns:1fr}}
.iv-radios label{display:block;font-weight:500}
.iv-check{font-weight:500!important}
.iv-hint{color:#6b5b45;font-size:.9rem}
.iv-honey{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.iv-dash .iv-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;margin:1rem 0}
.iv-dash .iv-stats div{background:#fbf6ec;border-radius:12px;padding:1rem;text-align:center}
.iv-dash .iv-stats b{display:block;font-size:1.8rem;color:#7d5416}
.iv-table{width:100%;border-collapse:collapse;margin-top:1rem}
.iv-table th,.iv-table td{border-bottom:1px solid #eadfca;padding:.5rem;text-align:left}
.iv-contact{max-width:560px;margin:0 auto;font-size:1.05rem}

/* The invitation itself */
.iv-invite{background:var(--iv-bg);color:var(--iv-tx);position:relative;overflow:hidden;border-radius:18px;max-width:760px;margin:1rem auto;box-shadow:0 12px 40px rgba(0,0,0,.15)}
.iv-demo-bar{background:var(--iv-ac);color:#fff;text-align:center;padding:.5rem;font-size:.9rem;position:relative;z-index:2}
.iv-demo-bar a{color:#fff;text-decoration:underline}
.iv-pattern{position:absolute;inset:0;opacity:.08;background:
 repeating-conic-gradient(from 45deg at 50% 50%,var(--iv-ac) 0 25%,transparent 0 50%) 0 0/36px 36px}
.iv-inner{position:relative;z-index:1;padding:3rem 1.75rem;text-align:center}
.iv-k{letter-spacing:.25em;text-transform:uppercase;color:var(--iv-ac);font-size:.85rem}
.iv-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,6vw,3.2rem);margin:.5rem 0;color:var(--iv-tx)}
.iv-host,.iv-line,.iv-msg{margin:.5rem 0;color:var(--iv-tx)}
.iv-rule{width:90px;height:3px;background:var(--iv-ac);margin:1.25rem auto}
.iv-msg{max-width:520px;margin:1.25rem auto;font-style:italic}
.iv-invite .iv-btn{background:var(--iv-ac);border-color:var(--iv-ac);color:#fff!important}
.iv-video{margin:1.5rem auto;max-width:560px}
.iv-rsvp{margin-top:2rem;background:rgba(255,255,255,.55);color:#222;border-radius:14px;padding:1.25rem;text-align:left}
.iv-rsvp h2{text-align:center;margin-top:0}
.iv-rsvp label{display:block;margin:.6rem 0;font-weight:600}
.iv-ok{text-align:center;font-weight:600}
.iv-anim .iv-inner>*{opacity:0;transform:translateY(14px);animation:ivUp .8s ease forwards}
.iv-anim .iv-inner>*:nth-child(2){animation-delay:.15s}
.iv-anim .iv-inner>*:nth-child(3){animation-delay:.3s}
.iv-anim .iv-inner>*:nth-child(4){animation-delay:.45s}
.iv-anim .iv-inner>*:nth-child(n+5){animation-delay:.6s}
@keyframes ivUp{to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.iv-anim .iv-inner>*{animation:none;opacity:1;transform:none}}

/* ---- v1.1 polish ---- */
/* Wider layout for our sections inside the theme's narrow content column */
.wp-block-post-content>:is(.iv-hero,.iv-grid,.iv-pkgs,.iv-steps,.iv-chips,.iv-h,.iv-dash){max-width:1100px!important;margin-left:auto!important;margin-right:auto!important}
.wp-block-post-content>.iv-h{margin-top:3.5rem}
/* No duplicate page title on the home page */
.home .wp-block-post-title,.home .entry-title{display:none}
.home .iv-hero{margin-top:1rem}
.iv-hero{padding:5rem 1.5rem;background:
 radial-gradient(circle at 15% 20%,rgba(184,137,43,.18),transparent 45%),
 radial-gradient(circle at 85% 80%,rgba(217,138,78,.2),transparent 45%),
 linear-gradient(135deg,#fbf6ec,#f1dfc0)}
.iv-hero h1{font-family:Georgia,"Times New Roman",serif}
.iv-hero p{font-size:1.1rem}
/* Template cards */
.iv-card{transition:transform .2s ease,box-shadow .2s ease}
.iv-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.1)}
.iv-card-b{display:flex;flex-direction:column;flex:1;gap:.25rem}
.iv-occ{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#9a6a1f;font-weight:700}
.iv-card-b p.iv-tag{font-size:1rem!important;margin:.15rem 0 0;line-height:1.35;color:#2b2118}
.iv-card-b p.iv-from{font-size:.85rem!important;margin:.25rem 0 .75rem}
.iv-card-b p.iv-actions{margin-top:auto;display:flex;gap:.5rem;flex-wrap:wrap}
.iv-thumb{aspect-ratio:3/2}
.iv-thumb-t{font-size:1.5rem;line-height:1.2}
/* Package cards */
.iv-pkg .iv-btn{display:block;text-align:center}
.iv-pkg p{font-size:.95rem}
.iv-pkg.feat{position:relative}
.iv-pkg.feat:before{content:"Most popular";position:absolute;top:-.8rem;left:50%;transform:translateX(-50%);background:#9a6a1f;color:#fff;font-size:.75rem;padding:.2rem .8rem;border-radius:999px;font-weight:700}
.iv-steps>div{padding:1rem}
.iv-steps h3{margin:.75rem 0 .25rem}
/* Form */
.iv-form h3{margin:2rem 0 .5rem;padding-bottom:.4rem;border-bottom:2px solid #eadfca}
.iv-form .iv-btn{width:100%;font-size:1.05rem;padding:1rem}
.iv-radios label{border:1px solid #eadfca;border-radius:10px;padding:.7rem .9rem;margin:.4rem 0;background:#fff}
.iv-radios input:checked{accent-color:#9a6a1f}
/* Live invites: clean page, no site chrome, no theme post meta */
body.single-iv_invite .wp-block-post-title,
body.single-iv_invite .wp-block-post-author,
body.single-iv_invite .wp-block-post-author-name,
body.single-iv_invite .wp-block-post-date,
body.single-iv_invite .wp-block-post-terms,
body.single-iv_invite .entry-header,
body.single-iv_invite .entry-meta,
body.single-iv_invite .wp-block-post-navigation-link,
body.single-iv_invite .wp-block-comments{display:none!important}
body.iv-live header.wp-block-template-part,
body.iv-live footer.wp-block-template-part,
body.iv-live #wpadminbar{display:none!important}
body.iv-live{background:#efe8da}
body.iv-live .iv-invite{margin:1.5rem auto;min-height:70vh}
body.iv-live .wp-site-blocks{padding-top:0}
.iv-invite .iv-inner{padding:3.5rem 1.5rem}
@media(max-width:600px){.iv-hero{padding:3rem 1rem}.iv-inner{padding:2.5rem 1rem}.iv-card-b p.iv-actions .iv-btn{flex:1;text-align:center}}

/* ---- v1.2 photography (Unsplash) ---- */
.iv-hero{background:
 linear-gradient(180deg,rgba(24,15,8,.55),rgba(24,15,8,.72)),
 url("https://images.unsplash.com/photo-1660675133902-acd1b057f75d?auto=format&fit=crop&q=75&fm=jpg&w=1600") center/cover no-repeat!important;color:#fff}
.iv-hero h1,.iv-hero p{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.iv-hero .iv-btn.iv-ghost{color:#fff!important;border-color:#fff}
.iv-hero .iv-btn.iv-ghost:hover{background:#fff;color:#7d5416!important}
.iv-hero .iv-btn{background:#d9a441;border-color:#d9a441;color:#2b1a08!important}
.iv-thumb-photo{background-size:cover;background-position:center;color:#fff}
.iv-thumb-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.62))}
.iv-thumb-photo .iv-thumb-k,.iv-thumb-photo .iv-thumb-t{position:relative;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.iv-credit{font-size:.68rem;opacity:.9;position:absolute;left:.6rem;bottom:.45rem;z-index:2;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.iv-credit a{color:#fff!important;text-decoration:underline}
.iv-photo{position:relative;height:240px;background-size:cover;background-position:center;border-bottom:5px solid var(--iv-ac)}
.iv-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.35))}
.iv-credits{text-align:center;font-size:.8rem;color:#6b5b45}
.iv-credits .iv-credit{position:static;color:#6b5b45;text-shadow:none;opacity:1}
.iv-credits .iv-credit a{color:#6b5b45!important}

/* ---- v1.3 standalone invite template ---- */
body.iv-standalone{margin:0;background:#efe8da;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.iv-standalone-main{padding:1rem}
body.iv-standalone .iv-invite{margin:1rem auto;min-height:80vh}
body.iv-standalone .iv-demo-bar{padding:.65rem}

/* ---- v1.4 brand logo (designed in Canva) ---- */
header.wp-block-template-part{background:#fcf6ea}
.wp-block-site-title a{display:block;width:230px;height:63px;background:url("../assets/logo.png") left center/contain no-repeat;font-size:0!important;line-height:0;color:transparent!important;overflow:hidden}
@media(max-width:600px){.wp-block-site-title a{width:170px;height:47px}}
