/* eWedding v1.9.47 – viewport-centered desktop header; fixes legacy .app width constraint */
:root{
  --ew45-coral:#ea647a;
  --ew45-line:#eadfda;
  --ew45-text:#181412;
  --ew45-muted:#716761;
  --ew45-shadow:0 10px 32px rgba(79,53,42,.08);
  --ew45-serif:Georgia,"Times New Roman",serif;
  --ew45-sans:Arial,Helvetica,sans-serif;
}
.app{
  display:block!important;
  grid-template-columns:none!important;
  position:relative!important;
  min-height:100vh!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

.ew45-topbar{
  position:relative!important;
  z-index:50!important;
  width:100%!important;
  max-width:none!important;
  left:auto!important;
  right:auto!important;
  height:124px!important;
  min-height:124px!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(225,211,204,.78)!important;
  backdrop-filter:blur(10px);
  overflow:visible!important;
}
.ew45-topbar *{box-sizing:border-box}
.ew45-topbar a{color:inherit;text-decoration:none}
.ew45-topbar svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Desktop: symmetric side columns keep the navigation exactly centered. */
.ew45-topbar-inner{
  width:min(1460px,calc(100% - 72px))!important;
  max-width:none!important;
  height:100%!important;
  min-height:124px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(220px,280px) minmax(720px,1fr) minmax(220px,280px)!important;
  align-items:center!important;
  justify-content:center!important;
  gap:20px!important;
}
.ew45-brand{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  min-width:0!important;
  color:#bd8a37!important;
}
.ew45-brand .brand-word{display:flex!important;align-items:baseline!important;white-space:nowrap!important;font-family:var(--ew45-serif)!important;font-size:30px!important;letter-spacing:-.7px!important;line-height:1!important}
.ew45-brand .brand-word em{font-weight:400!important}.ew45-brand .brand-word small{font-family:var(--ew45-sans)!important;font-size:13px!important;font-style:normal!important;color:#6f5b4d!important;margin-left:2px!important}
.ew45-brand .brand-ornament{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;width:144px!important;height:auto!important;object-fit:contain!important;opacity:.88!important;pointer-events:none!important}
.ew45-brand .brand-ornament-top{top:14px!important}.ew45-brand .brand-ornament-bottom{bottom:10px!important;transform:translateX(-50%) rotate(180deg)!important;width:112px!important;opacity:.66!important}

.ew45-main-nav{
  display:grid!important;
  grid-template-columns:repeat(9,minmax(76px,1fr))!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  align-items:stretch!important;
  gap:2px!important;
  overflow:visible!important;
}
.ew45-nav-item{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  height:100%!important;
  padding:4px 5px 0!important;
  border:0!important;
  background:transparent!important;
  color:#282523!important;
  font-family:var(--ew45-sans)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.15!important;
  transition:.18s ease!important;
}
.ew45-nav-item svg{width:25px!important;height:25px!important;font-size:25px!important;flex:0 0 25px!important}
.ew45-nav-item span{display:block!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.ew45-nav-item:hover,.ew45-nav-item.active{color:var(--ew45-coral)!important}
.ew45-nav-item.active:after{content:""!important;position:absolute!important;bottom:0!important;left:14%!important;right:14%!important;height:2px!important;border-radius:2px!important;background:var(--ew45-coral)!important}

.ew45-profile-zone{
  position:relative!important;
  width:100%!important;
  height:70%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:center!important;
  border-left:1px solid #eadfda!important;
  padding-left:24px!important;
  gap:10px!important;
}
.ew45-profile-card{
  border:0!important;background:transparent!important;display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important;
  padding:0!important;cursor:pointer!important;text-align:left!important;color:var(--ew45-text)!important;font:inherit!important;min-width:0!important
}
.ew45-profile-card .avatar{width:58px!important;height:58px!important;border-radius:50%!important;overflow:hidden!important;background:#ead5ca!important;box-shadow:0 2px 9px rgba(86,58,45,.12)!important}
.ew45-profile-card .avatar img{width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.08)!important}
.ew45-profile-card .profile-copy{min-width:0!important}.ew45-profile-card .profile-copy strong{display:block!important;font-family:var(--ew45-serif)!important;font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ew45-profile-card .profile-copy small{display:block!important;margin-top:5px!important;color:var(--ew45-muted)!important;font-size:11px!important}.ew45-profile-card .down{font-size:15px!important;color:#5b514c!important}
.ew45-bell-btn{position:relative!important;border:0!important;background:transparent!important;width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center!important;cursor:pointer!important;color:#222!important;padding:0!important}
.ew45-bell-btn svg{width:25px!important;height:25px!important;font-size:25px!important}.ew45-bell-btn i{position:absolute!important;right:8px!important;top:5px!important;width:8px!important;height:8px!important;border-radius:50%!important;background:var(--ew45-coral)!important;box-shadow:0 0 0 2px white!important}.ew45-bell-btn.no-unread i{display:none!important}
.ew45-topbar .profile-menu{position:absolute!important;right:50px!important;top:70px!important;width:190px!important;background:#fff!important;border:1px solid var(--ew45-line)!important;border-radius:14px!important;box-shadow:var(--ew45-shadow)!important;padding:8px!important;z-index:80!important}.ew45-topbar .profile-menu a{display:block!important;padding:10px 12px!important;border-radius:9px!important;font-size:13px!important}.ew45-topbar .profile-menu a:hover{background:#fff5f4!important}.ew45-topbar .profile-menu a.logout{color:#b53f49!important}
.ew45-topbar .mobile-menu-btn{display:none!important}.ew45-topbar .mobile-extra-links{display:none!important}

/* The old top-left flower stays removed. */
.decor-left{display:none!important}

/* Slightly tighter but still centered on medium desktop widths. */
@media(max-width:1450px) and (min-width:1241px){
  .ew45-topbar-inner{width:calc(100% - 44px)!important;grid-template-columns:minmax(200px,250px) minmax(700px,1fr) minmax(200px,250px)!important;gap:16px!important}
  .ew45-brand .brand-word{font-size:28px!important}
  .ew45-main-nav{grid-template-columns:repeat(9,minmax(76px,1fr))!important}
  .ew45-nav-item{font-size:12px!important;padding-left:3px!important;padding-right:3px!important}.ew45-nav-item svg{width:23px!important;height:23px!important;font-size:23px!important}
  .ew45-profile-zone{padding-left:16px!important}.ew45-profile-card{grid-template-columns:52px minmax(0,1fr) 16px!important;gap:9px!important}.ew45-profile-card .avatar{width:52px!important;height:52px!important}.ew45-profile-card .profile-copy strong{font-size:15px!important}
}

/* Switch to the approved hamburger instead of squeezing desktop navigation. */
@media(max-width:1240px){
  .ew45-topbar{height:auto!important;min-height:84px!important}
  .ew45-topbar-inner{width:calc(100% - 32px)!important;min-height:84px!important;grid-template-columns:190px 1fr auto!important;gap:14px!important}
  .ew45-brand{height:84px!important}.ew45-brand .brand-ornament{display:none!important}
  .ew45-topbar .mobile-menu-btn{justify-self:end!important;display:flex!important;align-items:center!important;gap:5px!important;border:1px solid var(--ew45-line)!important;background:#fff!important;border-radius:12px!important;padding:9px 12px!important;cursor:pointer!important}.ew45-topbar .mobile-menu-btn span{display:block!important;width:18px!important;height:2px!important;background:#342c28!important}.ew45-topbar .mobile-menu-btn b{font-size:12px!important;margin-left:4px!important}
  .ew45-main-nav{display:none!important;position:absolute!important;left:16px!important;right:16px!important;top:82px!important;width:auto!important;min-width:0!important;height:auto!important;background:#fff!important;border:1px solid var(--ew45-line)!important;border-radius:14px!important;box-shadow:var(--ew45-shadow)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;z-index:90!important}
  .ew45-main-nav.open{display:grid!important}
  .ew45-nav-item{height:62px!important;flex-direction:row!important;justify-content:flex-start!important;padding:0 12px!important;gap:10px!important;border-radius:10px!important;font-size:12px!important}.ew45-nav-item svg{width:22px!important;height:22px!important;font-size:22px!important}.ew45-nav-item.active:after{display:none!important}.ew45-nav-item.active{background:#fff2f2!important}
  .ew45-profile-zone{border-left:0!important;padding-left:0!important;grid-template-columns:42px!important;height:auto!important}.ew45-profile-card{display:none!important}
  .ew45-topbar .mobile-extra-links{display:grid!important;grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;border-top:1px solid var(--ew45-line)!important;margin-top:4px!important;padding-top:6px!important}.ew45-topbar .mobile-extra-links a{padding:11px 12px!important;border-radius:9px!important;font-size:12px!important;color:#554b46!important}
}
@media(max-width:650px){
  .ew45-topbar-inner{grid-template-columns:1fr auto auto!important;width:calc(100% - 24px)!important}
  .ew45-brand{justify-content:flex-start!important}.ew45-brand .brand-word{font-size:25px!important}
  .ew45-bell-btn{width:38px!important;height:38px!important}.ew45-main-nav{grid-template-columns:1fr!important}.ew45-topbar .mobile-extra-links{grid-template-columns:1fr!important}
}

/* v1.9.48 – valódi párfotó / monogram a fejlécben */
.ew45-profile-card .avatar{
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
}
.ew45-profile-card .avatar img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
}
.ew45-profile-card .avatar-initials{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:19px!important;
  line-height:1!important;
  letter-spacing:.06em!important;
  font-weight:700!important;
  color:#fff!important;
  background:linear-gradient(135deg,#d48782,#b88a5b)!important;
  text-transform:uppercase!important;
}
@media(max-width:1450px) and (min-width:1241px){
  .ew45-profile-card .avatar-initials{font-size:17px!important}
}
