/* Resume templates, A4 at 794 x 1123 px. Photos as background-image (html2canvas). */
.rs { --ac: #8a2c72; --fs: 1; width: 794px; height: 1123px; background: #fff; color: #1f1f24; font-family: "Hind", "Mukta", sans-serif; position: relative; overflow: hidden; font-size: calc(var(--fs) * 14px); line-height: 1.45; }
.rs * { box-sizing: border-box; }
.rs .rs-name { margin: 0; font: 700 calc(var(--fs) * 34px)/1.1 "Poppins", "Hind", sans-serif; letter-spacing: -.01em; }
.rs .rs-title { font-size: calc(var(--fs) * 16px); color: var(--ac); font-weight: 600; margin-top: 4px; }
.rs .rs-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: calc(var(--fs) * 12.5px); color: #4a4a55; margin-top: 8px; }
.rs h2 { font: 700 calc(var(--fs) * 13px)/1.2 "Poppins", "Hind", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); margin: 0 0 8px; padding-bottom: 5px; border-bottom: 2px solid var(--ac); }
.rs section { margin-bottom: calc(var(--fs) * 16px); }
.rs .item { margin-bottom: calc(var(--fs) * 10px); }
.rs .row { display: flex; justify-content: space-between; gap: 12px; }
.rs .row b { font-weight: 700; }
.rs .when { color: #5b5b66; font-size: calc(var(--fs) * 12.5px); white-space: nowrap; }
.rs .org { color: #4a4a55; font-weight: 600; }
.rs ul { margin: 4px 0 0; padding-left: 18px; }
.rs li { margin-bottom: 2px; }
.rs .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rs .tags span { background: #f1eef3; border-radius: 6px; padding: 2px 9px; font-size: calc(var(--fs) * 12.5px); }
.rs .ph { width: 120px; height: 120px; border-radius: 50%; background: center 25% / cover no-repeat; flex: none; }
.rs-wm { position: absolute; inset: -200px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; align-items: center; justify-items: center; transform: rotate(-28deg); pointer-events: none; }
.rs-wm span { font: 700 30px "Hind", sans-serif; color: rgba(0, 0, 0, .09); white-space: nowrap; }

/* classic */
.rs-classic { padding: 50px 56px; }
.rs-classic header { display: flex; gap: 22px; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #ddd; }

/* modern: coloured sidebar */
.rs-modern { display: grid; grid-template-columns: 250px 1fr; }
.rs-modern .side { background: var(--ac); color: #fff; padding: 44px 26px; }
.rs-modern .side h2 { color: #fff; border-color: rgba(255, 255, 255, .5); }
.rs-modern .side .tags span { background: rgba(255, 255, 255, .18); color: #fff; }
.rs-modern .side .rs-contact { color: #fff; flex-direction: column; margin: 0; }
.rs-modern .side .ph { margin: 0 auto 20px; border: 4px solid rgba(255, 255, 255, .6); width: 140px; height: 140px; }
.rs-modern .main { padding: 44px 36px; }
.rs-modern .main header { margin-bottom: 22px; }

/* minimal */
.rs-minimal { padding: 60px 70px; }
.rs-minimal .rs-name { font-family: "Playfair Display", serif; font-weight: 500; font-size: calc(var(--fs) * 40px); }
.rs-minimal h2 { border: 0; color: #1f1f24; letter-spacing: .2em; font-size: calc(var(--fs) * 12px); }
.rs-minimal section { display: grid; grid-template-columns: 150px 1fr; gap: 18px; border-top: 1px solid #e6e6ea; padding-top: 12px; }
.rs-minimal header { margin-bottom: 26px; }
.rs-minimal .rs-title { color: #5b5b66; }

/* executive: dark top band */
.rs-executive header { background: #1f2333; color: #fff; padding: 40px 56px 30px; display: flex; gap: 24px; align-items: center; border-bottom: 6px solid var(--ac); }
.rs-executive header .rs-contact { color: #d6d8e4; }
.rs-executive header .rs-title { color: #e8c983; }
.rs-executive .body { padding: 30px 56px; display: grid; grid-template-columns: 1fr 210px; gap: 30px; }
