/* Calendar layouts from the supplied PSDs and Kaja reference. */
.premium .cal-stage.template-bibi{aspect-ratio:2480/3602;background:var(--bibi-bg,#faf8e7)}
.premium .cal-stage.template-bibi .cal-photo-window{left:var(--bibi-x);top:var(--bibi-y);width:var(--bibi-w);height:var(--bibi-h)}
.premium .cal-stage.template-bibi .cal-month-copy{top:64%;bottom:2%;left:3%;width:94%}
.premium .cal-stage.template-bibi .cal-month-copy h3{font-family:Georgia,'Times New Roman',serif;font-weight:700;text-transform:uppercase;justify-content:center;color:#5185af;font-size:4.3cqw}
.premium .cal-stage.template-bibi .cal-month-copy h3 span{position:absolute;right:1%;color:#55616c}
.premium .cal-stage.template-bibi .cal-date-grid{color:#5185af}
.premium .cal-stage.template-bibi .cal-date-grid>.is-sunday{color:#bb1678}
.premium .cal-stage.template-bibi .cal-cover-copy{top:72%}
.premium .cal-stage.template-kaja .cal-month-copy{top:60.24%;bottom:4%;left:0;width:100%}
.premium .cal-stage.template-kaja .cal-month-copy h3{background:#999;margin:0;height:5.6cqw;align-items:center;justify-content:center;font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:3.8cqw;text-transform:uppercase;color:#252525;padding:0 5%}
.premium .cal-stage.template-kaja .cal-month-copy h3 span{position:absolute;right:5%;color:white;font:700 2.8cqw Arial,sans-serif}
.premium .cal-stage.template-kaja .cal-date-grid{grid-template-rows:.7fr repeat(var(--cal-weeks,6),minmax(0,1fr));font-family:Roboto,Arial,sans-serif;color:#151515}
.premium .cal-stage.template-kaja .cal-date-grid>small{background:#252525;color:white;padding:.7cqw 0;font-size:1.85cqw;font-weight:700;align-self:stretch}
.premium .cal-stage.template-kaja .cal-day-number{font-weight:800;font-size:3.6cqw}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-caption{font-weight:600;color:#303030}
.premium .cal-stage.template-kaja .cal-date-grid .is-sunday,.premium .cal-stage.template-kaja .is-sunday .cal-day-caption{color:#d51a84}
/* Avoid subpixel seams at the edge of a clipped transformed background in Chromium. */
body.fkm-homepage-final .hero-main-card,body.fkm-homepage-final .side-card{isolation:isolate;outline:0;border:0}
body.fkm-homepage-final .hero-main-card::before,body.fkm-homepage-final .side-card::before{inset:-2px;border-radius:inherit;backface-visibility:hidden;transform:translateZ(0)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body.fkm-homepage-final .hero-main-card:hover::before,body.fkm-homepage-final .side-card:hover::before{transform:translateZ(0) scale(1.035)}}

.premium .cal-stage.template-nelly.portrait-photo:not(:has(.cal-user-photo[style*="object-fit:cover"])) .cal-photo-window,.premium .cal-stage.template-kaja.portrait-photo:not(:has(.cal-user-photo[style*="object-fit:cover"])) .cal-photo-window{left:26%;top:7%;width:48%;height:52%;border-radius:2px}
.premium .cal-stage.template-nelly.portrait-photo,.premium .cal-stage.template-kaja.portrait-photo{background:#fff}

@font-face{font-family:'Roboto Condensed';src:url('../fonts/RobotoCondensed-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
.premium .cal-stage.template-kaja .cal-day-number,.premium .cal-stage.template-kaja .cal-day-caption{font-family:'Roboto Condensed',Arial,sans-serif;font-weight:700}
.premium .cal-stage.template-bibi .cal-date-grid>small{background:#5485b0;color:#fff;font-family:Georgia,serif;font-size:1.6cqw;padding:.6cqw 0;align-self:stretch}

/* Kaja: reserve a real header row and enough space for the font's ascenders. */
.premium .cal-stage.template-kaja .cal-date-grid{
 grid-template-rows:4.8cqw repeat(var(--cal-weeks,6),minmax(0,1fr));
 row-gap:0;align-items:stretch;
}
.premium .cal-stage.template-kaja .cal-date-grid>small{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-height:4.8cqw;padding:.5cqw .15cqw;margin:0;line-height:1.3;
 font-family:'Roboto Condensed',Arial,sans-serif;font-size:2.3cqw;
 white-space:nowrap;overflow:visible;
}
.premium .cal-stage.template-kaja .cal-date-grid>.cal-day{
 padding-top:.7cqw;box-sizing:border-box;gap:.15cqw;
}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-number{
 width:4.2cqw;height:4.2cqw;min-height:4.2cqw;font-size:3.3cqw;
 line-height:1.15;overflow:visible;
}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"]>.cal-day{padding-top:.4cqw;gap:.1cqw}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"] .cal-day-number{
 width:3.2cqw;height:3.2cqw;min-height:3.2cqw;font-size:2.7cqw;
}

/* Center weekday labels in both colored strips without asymmetric font padding. */
.premium .cal-stage:is(.template-bibi,.template-kaja) .cal-date-grid{
 grid-template-rows:4.8cqw repeat(var(--cal-weeks,6),minmax(0,1fr));
}
.premium .cal-stage:is(.template-bibi,.template-kaja) .cal-date-grid>small{
 display:grid;place-items:center;align-self:stretch;justify-self:stretch;
 box-sizing:border-box;width:100%;height:100%;min-height:0;
 margin:0;padding:0;text-align:center;line-height:1;white-space:nowrap;
}

/* R31 hotfix — Kaja visual repair and typography alignment */
.premium .cal-stage.template-kaja .cal-photo-window{
 left:0 !important;
 top:0 !important;
 width:100% !important;
 height:60.2339% !important;
}
.premium .cal-stage.template-kaja .cal-month-copy{
 top:60.2339% !important;
 bottom:4% !important;
 left:0 !important;
 width:100% !important;
 display:flex !important;
 flex-direction:column !important;
}
.premium .cal-stage.template-kaja .cal-month-copy h3{
 position:relative;
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 min-height:5.8cqw;
 margin:0 !important;
 padding:0 5.4% !important;
 background:#252525 !important;
 color:#ffffff !important;
 font-family:Georgia,'Times New Roman',serif !important;
 font-style:italic;
 font-weight:700 !important;
 font-size:3.5cqw !important;
 line-height:1 !important;
 text-transform:none !important;
 letter-spacing:.01em;
}
.premium .cal-stage.template-kaja .cal-month-copy h3 span{
 position:absolute;
 right:5.2%;
 top:50%;
 transform:translateY(-50%);
 color:#ffffff !important;
 font-family:'Roboto Condensed',Arial,sans-serif !important;
 font-style:normal;
 font-weight:700 !important;
 font-size:2.1cqw !important;
 line-height:1;
}
.premium .cal-stage.template-kaja .cal-date-grid{
 flex:1 1 auto;
 min-height:0;
 padding:.8cqw 4.8% 0 !important;
 box-sizing:border-box;
 grid-template-rows:4.2cqw repeat(var(--cal-weeks,6),minmax(0,1fr)) !important;
 row-gap:0 !important;
 align-items:stretch !important;
 color:#232323 !important;
}
.premium .cal-stage.template-kaja .cal-date-grid > small{
 display:grid !important;
 place-items:center !important;
 width:100%;
 height:100%;
 margin:0 !important;
 padding:0 !important;
 background:#252525 !important;
 color:#ffffff !important;
 font-family:Georgia,'Times New Roman',serif !important;
 font-size:1.45cqw !important;
 font-weight:700 !important;
 line-height:1 !important;
 letter-spacing:0;
 text-transform:none;
}
.premium .cal-stage.template-kaja .cal-date-grid > .cal-day{
 padding-top:.55cqw !important;
 gap:.1cqw !important;
 box-sizing:border-box;
}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-number,
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-caption{
 font-family:Georgia,'Times New Roman',serif !important;
}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-number{
 width:auto !important;
 height:auto !important;
 min-height:0 !important;
 font-size:2.75cqw !important;
 font-weight:700 !important;
 line-height:1.05 !important;
 color:#202020 !important;
}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-caption{
 font-size:.82cqw !important;
 font-weight:400 !important;
 line-height:1.05 !important;
 color:#5b5b5b !important;
}
.premium .cal-stage.template-kaja .cal-date-grid .is-sunday,
.premium .cal-stage.template-kaja .cal-date-grid .is-sunday .cal-day-number,
.premium .cal-stage.template-kaja .cal-date-grid .is-sunday .cal-day-caption{
 color:#d6468a !important;
}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"] > .cal-day{
 padding-top:.35cqw !important;
}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"] .cal-day-number{
 font-size:2.45cqw !important;
}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"] .cal-day-caption{
 font-size:.76cqw !important;
}
