﻿/**
 * Kalendari 2027 â€” luxury templatei (modal + stranice).
 */

body.rigel-kal-modal-open {
  overflow: hidden;
}

.rigel-kal-modal {
  --kal-forest: #1b261e;
  --kal-forest-2: #2f3e33;
  --kal-gold: #c89a43;
  --kal-cream: #f7f5f1;
  --kal-serif: "Cormorant Garamond", Georgia, serif;
  --kal-sans: "Inter", system-ui, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 100210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.rigel-kal-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.rigel-kal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 17, 0.65);
  backdrop-filter: blur(4px);
}

.rigel-kal-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1080px);
  max-height: min(94vh, 860px);
  min-height: 0;
  border-radius: 18px;
  background: var(--kal-cream);
  border: 1px solid rgba(47, 62, 51, 0.12);
  box-shadow: 0 28px 64px rgba(15, 20, 17, 0.28);
  overflow: hidden;
}

.rigel-kal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 28px) 14px;
  border-bottom: 1px solid rgba(47, 62, 51, 0.1);
  background: linear-gradient(135deg, var(--kal-forest) 0%, var(--kal-forest-2) 100%);
  color: #fff;
}

.rigel-kal-modal__title {
  margin: 0;
  font-family: var(--kal-serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
}

.rigel-kal-modal__lead {
  margin: 0.45rem 0 0;
  font-family: var(--kal-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.rigel-kal-modal__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.rigel-kal-modal__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(18px, 3vw, 28px);
}

.rigel-kal-modal__body--pick-design {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-design-picker-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  margin-right: -4px;
}

.rigel-kal-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.rigel-kal-pick {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2px solid rgba(47, 62, 51, 0.12);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rigel-kal-pick:hover {
  border-color: rgba(200, 154, 67, 0.55);
  box-shadow: 0 12px 32px rgba(27, 38, 30, 0.1);
  transform: translateY(-2px);
}

.rigel-kal-pick__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #1b261e;
  line-height: 0;
  min-height: 160px;
  overflow: hidden;
}

.rigel-kal-pick__photo {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.rigel-kal-pick--wall .rigel-kal-pick__thumb {
  min-height: 220px;
}

.rigel-kal-pick__meta {
  padding: 12px 14px 16px;
}

.rigel-kal-pick__label {
  display: block;
  font-family: var(--kal-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--kal-forest-2);
}

.rigel-kal-pick__desc {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--kal-sans);
  font-size: 11px;
  line-height: 1.4;
  color: #5c5f62;
}

.rigel-kal-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}

.rigel-kal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rigel-kal-form__back {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--kal-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--kal-forest-2);
  cursor: pointer;
  text-decoration: underline;
}

.rigel-kal-field__label,
.rigel-kal-field__opt {
  font-family: var(--kal-sans);
  font-size: 12px;
  font-weight: 700;
}

.rigel-kal-field__opt {
  font-weight: 500;
  color: #5c5f62;
}

.rigel-kal-field__input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(47, 62, 51, 0.16);
  border-radius: 10px;
  font-family: var(--kal-sans);
  font-size: 14px;
}

.rigel-kal-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px dashed rgba(47, 62, 51, 0.22);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.rigel-kal-logo__input {
  display: none;
}

.rigel-kal-logo__preview {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f3f1ed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  color: #5c5f62;
}

.rigel-kal-logo__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rigel-kal-form__error {
  margin: 0;
  font-family: var(--kal-sans);
  font-size: 13px;
  color: #b42318;
}

.rigel-kal-save {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--kal-gold);
  border-radius: 10px;
  background: var(--kal-gold);
  color: #fff;
  font-family: var(--kal-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.rigel-kal-save:disabled {
  opacity: 0.65;
  cursor: wait;
}

.rigel-kal-preview-wrap {
  position: sticky;
  top: 0;
}

.rigel-kal-preview-label {
  margin: 0 0 0.5rem;
  font-family: var(--kal-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5f62;
  text-align: center;
}

.rigel-kal-preview-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 16px;
  background: linear-gradient(145deg, #eceae4 0%, #f8f6f2 100%);
  border: 1px solid rgba(47, 62, 51, 0.1);
}

.rigel-kal-preview-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.rigel-kal-preview-nav__btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(47, 62, 51, 0.18);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.rigel-kal-preview-nav__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.rigel-kal-preview-nav__label {
  min-width: 90px;
  text-align: center;
  font-family: var(--kal-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--kal-forest-2);
}

.rigel-kal-modal__foot {
  padding: 12px clamp(18px, 3vw, 28px) 18px;
  border-top: 1px solid rgba(47, 62, 51, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.rigel-kal-modal__foot-note {
  margin: 0;
  font-family: var(--kal-sans);
  font-size: 12px;
  text-align: center;
  color: #5c5f62;
}

/* Off-screen PDF render */
.rigel-kal-pdf-render {
  position: fixed;
  left: -9999px;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

.rigel-kal-pdf-render__page {
  margin-bottom: 8px;
}

/* â”€â”€ Base page sizes â”€â”€ */
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Allura&family=Montserrat:wght@500;600;700;800&family=Oswald:wght@600;700&family=Roboto+Condensed:wght@500;600;700&family=DM+Sans:wght@500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");

.rigel-kal-page {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 20, 17, 0.16);
  font-family: var(--kal-sans);
  background: #fff;
}

/* Zidni â€” uspravan A4 */
.rigel-kal-page--wall {
  width: min(100%, 320px);
  aspect-ratio: 210 / 297;
}

/* Stolni â€” poloÅ¾en (landscape) */
.rigel-kal-page--desk,
.rigel-kal-page--desk-tent {
  width: min(100%, 420px);
  aspect-ratio: 297 / 210;
}

.rigel-kal-page--thumb {
  width: 100%;
  max-width: none;
  box-shadow: 0 4px 14px rgba(15, 20, 17, 0.12);
  font-size: 7px;
}

.rigel-kal-pick--wall .rigel-kal-page--thumb {
  max-width: 120px;
}

.rigel-kal-pick--desk .rigel-kal-page--thumb,
.rigel-kal-pick--desk-tent .rigel-kal-page--thumb {
  max-width: 160px;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   5 RAZLIÄŒITIH KALENDARSKIH TEMA â€” slike ostaju, dizajn je nov
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Allura&family=Montserrat:wght@500;600;700;800&family=Oswald:wght@600;700&family=Roboto+Condensed:wght@500;600;700&family=DM+Sans:wght@500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");

.rigel-kal-page {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  background: #fff;
}

/* â”€â”€ Shared structure â”€â”€ */
.rigel-kal-wall__inner,
.rigel-kal-desk__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rigel-kal-wall__photo,
.rigel-kal-desk__photo-strip {
  overflow: hidden;
  position: relative;
}

.rigel-kal-wall__photo img,
.rigel-kal-desk__photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-wall__body,
.rigel-kal-desk__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-page--wall:not(.rigel-kal-page--thumb) {
  font-size: clamp(9px, 2.55vw, 12.5px);
}

.rigel-kal-page--desk:not(.rigel-kal-page--thumb),
.rigel-kal-page--desk-tent:not(.rigel-kal-page--thumb) {
  font-size: clamp(8px, 1.7vw, 11px);
}

.rigel-kal-cal__sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-photo__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.rigel-kal-photo__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.rigel-kal-cal__head {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  margin-bottom: 0.55em;
  padding: 0;
  border: 0;
}

.rigel-kal-cal__head-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5em;
}

.rigel-kal-cal__head-line {
  height: 3px;
  border-radius: 2px;
  opacity: 0.85;
}

.rigel-kal-cal__title {
  margin: 0;
  font-size: 1.45em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.05;
}

.rigel-kal-cal__year {
  font-size: 0.92em;
  font-weight: 700;
  padding: 0.28em 0.55em;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.rigel-kal-cal__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 0.35em;
  padding: 0.25em 0;
}

.rigel-kal-cal__dow-cell {
  text-align: center;
  font-size: 0.58em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rigel-kal-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: 1;
  padding: 2px;
}

.rigel-kal-cal__day {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68em;
  font-weight: 600;
  min-height: 1.75em;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.rigel-kal-cal__day.is-empty { visibility: hidden; }

.rigel-kal-brand {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 3.4em;
  overflow: hidden;
}

.rigel-kal-brand__stripe {
  flex: 0 0 4px;
  width: 100%;
}

.rigel-kal-brand__inner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.6em 0.85em;
  min-height: 0;
}

.rigel-kal-brand__logo {
  flex: 0 0 auto;
  width: 2.3em;
  height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rigel-kal-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rigel-kal-brand__logo-ph {
  display: block;
  width: 60%;
  height: 60%;
  border-radius: 3px;
  opacity: 0.35;
  background: currentColor;
}

.rigel-kal-brand__name {
  display: block;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rigel-kal-brand__contact {
  display: block;
  font-size: 0.56em;
  line-height: 1.35;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rigel-kal-cover__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10%;
}

/* Početna — mosaic svih 12 mjeseci */
.rigel-kal-cover__inner--mosaic {
  padding: 3.2% 3.8% 3.8%;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
}

.rigel-kal-cover__mosaic-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.5em;
  flex: 0 0 auto;
  width: 100%;
  z-index: 2;
}

.rigel-kal-cover__mosaic-head .rigel-kal-cover__logo {
  width: 3em;
  height: 3em;
  margin: 0;
  flex-shrink: 0;
}

.rigel-kal-cover__mosaic-head-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.rigel-kal-cover__mosaic-head .rigel-kal-cover__company {
  font-size: 0.92em;
  margin: 0;
  line-height: 1.15;
}

.rigel-kal-cover__mosaic-head .rigel-kal-cover__subtitle {
  margin: 0.12em 0 0;
  font-size: 0.52em;
  letter-spacing: 0.14em;
}

.rigel-kal-cover__mosaic-head .rigel-kal-cover__contact {
  flex: 0 0 auto;
  text-align: right;
  font-size: 0.4em;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

.rigel-kal-cover__mosaic {
  flex: 1;
  display: grid;
  gap: 0.28em;
  width: 100%;
  min-height: 0;
  align-content: start;
}

.rigel-kal-cover__mosaic--wall {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.rigel-kal-cover__mosaic--desk {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.rigel-kal-cover__mosaic-cell {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
  background: #fff;
  container-type: inline-size;
}

.rigel-kal-cover__mosaic--wall .rigel-kal-cover__mosaic-cell {
  aspect-ratio: 210 / 297;
}

.rigel-kal-cover__mosaic--desk .rigel-kal-cover__mosaic-cell {
  aspect-ratio: 297 / 210;
}

.rigel-kal-cover__mosaic-scale {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.rigel-kal-cover__mosaic .rigel-kal-page--thumb,
.rigel-kal-cover__mosaic .rigel-kal-page--cover-mini {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 210 / 297;
  font-size: clamp(2px, 2.6cqw, 7px);
  box-shadow: none;
  border-radius: 0;
}

.rigel-kal-page--cover.rigel-kal-page--wall:not(.rigel-kal-page--thumb) {
  width: min(100%, 320px);
  aspect-ratio: 210 / 297;
  font-size: clamp(7px, 1.85vw, 10px);
}

.rigel-kal-page--cover-mini .rigel-kal-wall-office__waves,
.rigel-kal-page--cover-mini .rigel-kal-wall-office__contact-bar {
  display: none;
}

.rigel-kal-page--cover-mini .rigel-kal-wall-office__footer-main {
  padding: 0.35em 0.4em;
}

.rigel-kal-page--cover-mini .rigel-kal-wall__binding {
  display: none !important;
}

.rigel-kal-cover__mosaic .rigel-kal-wall__binding {
  display: none;
}

.rigel-kal-cover__mosaic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.12em 0.2em;
  font-size: 0.34em;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  pointer-events: none;
}

.rigel-kal-page--cover .rigel-kal-cover__mosaic-head .rigel-kal-cover__contact li {
  white-space: nowrap;
}

.rigel-kal-cover__year {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5em;
  font-weight: 800;
  opacity: 0.06;
  pointer-events: none;
}

.rigel-kal-cover__frame { display: none; }

.rigel-kal-cover__logo {
  width: 22%;
  aspect-ratio: 1;
  margin-bottom: 0.65em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.rigel-kal-cover__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rigel-kal-cover__company {
  margin: 0;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.1;
  z-index: 1;
}

.rigel-kal-cover__subtitle {
  margin: 0.4em 0 0;
  font-size: 0.72em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 1;
}

.rigel-kal-cover__contact {
  margin: 0.6em 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.68em;
  line-height: 1.5;
  z-index: 1;
}

.rigel-kal-desk__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

/* ═══ PROFESIONALNI LAYOUTI — standardni 7-stupčani grid ═══ */

/* 1. Classic — foto gore, kalendar ispod (wall); foto traka + grid (desk) */
.rigel-kal-layout--classic .rigel-kal-wall__photo { flex: 0 0 50%; }
.rigel-kal-layout--classic .rigel-kal-wall__body { flex: 1; padding: 4.5% 5.5% 3%; }
.rigel-kal-layout--classic .rigel-kal-desk__photo-strip { flex: 0 0 30%; }
.rigel-kal-layout--classic .rigel-kal-desk__main { flex: 1; padding: 4% 5%; }

/* 2. Sidebar — foto lijevo, puni kalendar desno */
.rigel-kal-layout--sidebar .rigel-kal-wall__inner--sidebar {
  flex-direction: row;
  height: 100%;
}

.rigel-kal-wall__photo--side {
  flex: 0 0 42%;
  height: auto;
  min-height: 100%;
}

.rigel-kal-wall__side-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4% 4.5% 3.5% 3%;
}

.rigel-kal-layout--sidebar .rigel-kal-wall__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0;
}

.rigel-kal-desk__inner--sidebar {
  display: grid;
  grid-template-columns: 1fr 34%;
  grid-template-rows: 1fr auto;
  height: 100%;
}

.rigel-kal-desk__inner--sidebar .rigel-kal-desk__spine { display: none; }
.rigel-kal-desk__inner--sidebar .rigel-kal-desk__main { grid-column: 1; grid-row: 1; padding: 4% 4.5%; }
.rigel-kal-desk__photo-strip--side { grid-column: 2; grid-row: 1 / 3; min-height: 100%; }
.rigel-kal-desk__inner--sidebar .rigel-kal-brand { grid-column: 1; grid-row: 2; }

/* 3. Hero — full bleed foto + donji kalendar band */
.rigel-kal-layout--hero .rigel-kal-wall__inner--hero,
.rigel-kal-desk__inner--hero {
  position: relative;
  height: 100%;
}

.rigel-kal-wall__photo--hero-bg,
.rigel-kal-desk__photo-strip--hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  flex: none;
  height: auto;
  border: 0;
}

.rigel-kal-wall__hero-band {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex: 0 0 48%;
  min-height: 48%;
}

.rigel-kal-wall__hero-band-cal {
  flex: 1;
  padding: 4% 5% 2%;
  min-height: 0;
}

.rigel-kal-wall__hero-band .rigel-kal-brand {
  flex: 0 0 auto;
}

.rigel-kal-desk__hero-band {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 0 0 52%;
  min-height: 52%;
}

.rigel-kal-desk__hero-band-cal {
  flex: 1;
  padding: 3.5% 4% 3%;
  min-width: 0;
}

.rigel-kal-desk__hero-band .rigel-kal-brand {
  flex: 0 0 28%;
  max-width: 32%;
}

.rigel-kal-desk__hero-band .rigel-kal-brand__inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35em;
}

/* 4. Stack — kalendar gore, foto dolje */
.rigel-kal-layout--stack .rigel-kal-wall__body--stack-top {
  flex: 0 0 58%;
  padding: 4.5% 5.5% 3%;
}

.rigel-kal-layout--stack .rigel-kal-wall__photo--stack {
  flex: 1;
  min-height: 34%;
}

.rigel-kal-layout--stack .rigel-kal-desk__main--stack {
  flex: 0 0 58%;
  padding: 4% 5%;
}

.rigel-kal-layout--stack .rigel-kal-desk__photo-strip--stack {
  flex: 1;
  min-height: 30%;
}

/* 2. Split-dark (poslovni) — foto gore 50%, crni kalendar dolje */
.rigel-kal-page--wall.rigel-kal-layout--split-dark {
  background: #0a0a0a;
}

.rigel-kal-wall__inner--split-dark {
  flex-direction: column;
  height: 100%;
  background: #0a0a0a;
}

.rigel-kal-wall__photo--dark-split {
  flex: 0 0 50%;
  position: relative;
  overflow: visible;
}

.rigel-kal-wall__photo--dark-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-wall__photo--dark-split .rigel-kal-photo__shade,
.rigel-kal-wall__photo--dark-split .rigel-kal-photo__frame {
  display: none;
}

.rigel-kal-month-script {
  position: absolute;
  right: 7%;
  bottom: -0.12em;
  z-index: 4;
  font-family: var(--t-script-font, "Dancing Script", "Segoe Script", cursive);
  font-size: clamp(2.4em, 9vw, 4.2em);
  font-weight: 500;
  color: #fff;
  line-height: 0.95;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.rigel-kal-wall__body--dark-split {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  padding: 5% 7% 6%;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.rigel-kal-wall__body--dark-split .rigel-kal-cal__sheet,
.rigel-kal-wall__body--dark-split .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-wall__binding {
  position: absolute;
  top: -1.7%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 94%;
  aspect-ratio: 1481 / 98;
  height: auto;
  z-index: 20;
  pointer-events: none;
  line-height: 0;
}

.rigel-kal-wall__binding-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.14));
}

.rigel-kal-page--thumb .rigel-kal-wall__binding {
  top: -1.4%;
  width: 94%;
}

.rigel-kal-page--wall-bound {
  position: relative;
}

.rigel-kal-page--wall-bound > .rigel-kal-wall__inner,
.rigel-kal-page--wall-bound > .rigel-kal-cover__inner,
.rigel-kal-page--wall-bound > .rigel-kal-gold-cover,
.rigel-kal-page--wall-bound > .rigel-kal-valovi-cover,
.rigel-kal-page--wall-bound > .rigel-kal-noir-cover,
.rigel-kal-page--wall-bound > .rigel-kal-laguna-cover,
.rigel-kal-page--wall-bound > .rigel-kal-terra-cover,
.rigel-kal-page--wall-bound > .rigel-kal-ai-cover {
  position: relative;
  z-index: 1;
}

.rigel-kal-page--cover.rigel-kal-layout--gold-split {
  display: flex;
  flex-direction: column;
}

.rigel-kal-page--cover.rigel-kal-layout--gold-split > .rigel-kal-gold-cover {
  flex: 1;
  min-height: 0;
}

.rigel-kal-desk__inner--split-dark {
  flex-direction: column;
  height: 100%;
  background: #0a0a0a;
}

.rigel-kal-desk__photo-strip--dark-split {
  flex: 0 0 46%;
  position: relative;
  overflow: visible;
  border: 0;
}

.rigel-kal-desk__photo-strip--dark-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rigel-kal-desk__main--dark-split {
  flex: 1;
  background: #0a0a0a;
  padding: 3.5% 5% 4%;
  min-height: 0;
}

.rigel-kal-desk__inner--split-dark .rigel-kal-month-script {
  font-size: clamp(1.8em, 5vw, 3em);
  right: 5%;
}

.rigel-kal-cal__dow--dark {
  margin-bottom: 0.55em;
  gap: 0;
}

.rigel-kal-cal__dow--dark .rigel-kal-cal__dow-cell {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.2em 0;
}

.rigel-kal-cal__grid--dark {
  gap: 0;
  flex: 1;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.rigel-kal-cal__day--dark {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 2.15em;
  font-size: 0.82em;
  font-weight: 600;
  color: #fff;
}

.rigel-kal-cal__day--dark.is-empty {
  visibility: hidden;
}

/* 5. Editorial — kalendar lijevo, foto desno (standardni grid) */
.rigel-kal-wall__inner--edit {
  flex-direction: row;
  height: 100%;
}

.rigel-kal-wall__edit-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rigel-kal-wall__body--edit {
  flex: 1;
  padding: 4% 5%;
  min-height: 0;
}

.rigel-kal-wall__photo--edit {
  flex: 0 0 36%;
  min-height: 100%;
}

.rigel-kal-desk__inner--edit {
  display: grid;
  grid-template-columns: 30% 1fr;
  grid-template-rows: 1fr auto;
  height: 100%;
}

.rigel-kal-desk__inner--edit .rigel-kal-desk__spine { display: none; }
.rigel-kal-desk__photo-strip--edit { grid-column: 1; grid-row: 1 / 3; min-height: 100%; }
.rigel-kal-desk__edit-main { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; min-width: 0; }
.rigel-kal-desk__main--edit { flex: 1; padding: 4% 5%; min-height: 0; }

.rigel-kal-cover__mag-lines {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* Grid varijante — sve koriste 7×5/6 redova */
.rigel-kal-cal__grid--corp,
.rigel-kal-cal__grid--band,
.rigel-kal-cal__grid--lux,
.rigel-kal-cal__grid--edit {
  gap: 2px;
  background: rgba(0, 0, 0, 0.03);
  padding: 3px;
  border-radius: 5px;
}

.rigel-kal-cal__grid--corp .rigel-kal-cal__day--corp,
.rigel-kal-cal__grid--band .rigel-kal-cal__day--band,
.rigel-kal-cal__grid--lux .rigel-kal-cal__day--lux,
.rigel-kal-cal__grid--edit .rigel-kal-cal__day--edit {
  min-height: 2em;
  font-size: 0.74em;
}

.rigel-kal-cal__dow--corp .rigel-kal-cal__dow-cell,
.rigel-kal-cal__dow--band .rigel-kal-cal__dow-cell,
.rigel-kal-cal__dow--lux .rigel-kal-cal__dow-cell,
.rigel-kal-cal__dow--edit .rigel-kal-cal__dow-cell {
  font-size: 0.6em;
  padding: 0.35em 0;
}

.rigel-kal-cal__dow--corp {
  border-bottom: 2px solid currentColor;
  margin-bottom: 0.4em;
  opacity: 0.9;
}

.rigel-kal-cal__dow--band {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  padding: 0.3em 0.2em;
}

.rigel-kal-cal__dow--lux {
  border-top: 2px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding: 0.35em 0;
}

.rigel-kal-cal__dow--edit {
  border-bottom: 3px solid currentColor;
  margin-bottom: 0.45em;
}

.rigel-kal-cal__day--corp {
  border: 1px solid #dce4ec;
  background: #fff;
  border-radius: 2px;
}

.rigel-kal-cal__day--band {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rigel-kal-cal__day--lux {
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.15);
}

.rigel-kal-cal__day--edit {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  font-weight: 600;
}

/* â•â•â• TEMA 1: Botanical Light (priroda) â•â•â• */
.rigel-kal-theme--priroda {
  --t-primary: #5a8f7b;
  --t-secondary: #c67b5c;
  --t-bg: #faf9f6;
  --t-text: #2d3436;
  --t-head-font: "Cormorant Garamond", Georgia, serif;
  --t-body-font: "Inter", system-ui, sans-serif;
}
.rigel-kal-theme--priroda .rigel-kal-cover__inner {
  background: linear-gradient(165deg, #e8f0ec 0%, #faf9f6 45%, #f5ebe4 100%);
  color: var(--t-text);
}
.rigel-kal-theme--priroda .rigel-kal-cover__company { font-family: var(--t-head-font); color: #3d5a4a; }
.rigel-kal-theme--priroda .rigel-kal-cover__subtitle { color: var(--t-secondary); font-family: var(--t-body-font); }
.rigel-kal-theme--priroda .rigel-kal-cover__logo { border-radius: 50%; border: 2px solid var(--t-primary); background: #fff; }
.rigel-kal-theme--priroda .rigel-kal-wall__body,
.rigel-kal-theme--priroda .rigel-kal-desk__main { background: var(--t-bg); padding: 4% 5%; }
.rigel-kal-theme--priroda .rigel-kal-wall__photo,
.rigel-kal-theme--priroda .rigel-kal-desk__photo-strip { border-bottom: 4px solid var(--t-primary); }
.rigel-kal-theme--priroda .rigel-kal-cal__head { border-bottom: 2px solid var(--t-primary); }
.rigel-kal-theme--priroda .rigel-kal-cal__title { font-family: var(--t-head-font); color: #3d5a4a; }
.rigel-kal-theme--priroda .rigel-kal-cal__year { color: var(--t-secondary); font-family: var(--t-head-font); }
.rigel-kal-theme--priroda .rigel-kal-cal__dow-cell { color: var(--t-primary); font-family: var(--t-body-font); }
.rigel-kal-theme--priroda .rigel-kal-cal__dow-cell.is-weekend { color: var(--t-secondary); }
.rigel-kal-theme--priroda .rigel-kal-cal__day { font-family: var(--t-body-font); color: var(--t-text); background: #fff; }
.rigel-kal-theme--priroda .rigel-kal-cal__day.is-weekend:not(.is-empty) {
  background: #f5ebe4; color: var(--t-secondary); font-weight: 700;
}
.rigel-kal-theme--priroda .rigel-kal-brand {
  background: linear-gradient(90deg, #3d5a4a, var(--t-primary));
  color: #fff;
  border-top: 3px solid var(--t-secondary);
}
.rigel-kal-theme--priroda .rigel-kal-brand__name { font-family: var(--t-head-font); }
.rigel-kal-theme--priroda .rigel-kal-brand__logo { border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); }

/* ═══ TEMA 2: Nordic Corporate (poslovni) — split-dark ═══ */
.rigel-kal-theme--poslovni {
  --t-primary: #0a0a0a;
  --t-accent: #5ec8e8;
  --t-bg: #0a0a0a;
  --t-text: #fff;
  --t-head-font: "Inter", system-ui, sans-serif;
  --t-script-font: "Dancing Script", "Segoe Script", cursive;
}

.rigel-kal-theme--poslovni .rigel-kal-cover__inner {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
}

.rigel-kal-theme--poslovni .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rigel-kal-theme--poslovni .rigel-kal-cover__subtitle {
  color: var(--t-accent);
  letter-spacing: 0.3em;
}

.rigel-kal-theme--poslovni .rigel-kal-cover__logo {
  border-radius: 6px;
  border: 2px solid var(--t-accent);
  background: rgba(255, 255, 255, 0.08);
}

.rigel-kal-theme--poslovni.rigel-kal-layout--split-dark .rigel-kal-cal__dow--dark .rigel-kal-cal__dow-cell.is-weekend {
  color: var(--t-accent);
}

.rigel-kal-theme--poslovni.rigel-kal-layout--split-dark .rigel-kal-cal__day--dark {
  font-family: var(--t-head-font);
}

.rigel-kal-theme--poslovni.rigel-kal-layout--split-dark .rigel-kal-cal__day--dark.is-weekend:not(.is-empty) {
  color: var(--t-accent);
  background: transparent;
}

/* Page brand — logo + naziv na svakoj stranici */
.rigel-kal-page-brand {
  display: flex;
  align-items: center;
  gap: 0.45em;
  z-index: 6;
}

.rigel-kal-page-brand__logo {
  flex: 0 0 auto;
  width: 1.8em;
  height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.rigel-kal-page-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rigel-kal-page-brand__logo .rigel-kal-brand__logo-ph {
  width: 55%;
  height: 55%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.rigel-kal-page-brand__name {
  font-size: 0.58em;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12em;
}

.rigel-kal-page-brand--split-dark {
  margin-top: auto;
  padding-top: 0.5em;
  color: rgba(255, 255, 255, 0.85);
}

.rigel-kal-page-brand--split-dark .rigel-kal-page-brand__logo {
  border: 1px solid rgba(94, 200, 232, 0.45);
}

.rigel-kal-page-brand--sketch-split {
  position: absolute;
  right: 5%;
  bottom: 5%;
  padding: 0.35em 0.55em;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  color: #2d5016;
}

.rigel-kal-page-brand--sketch-split .rigel-kal-page-brand__logo {
  background: #f5f5f0;
  border: 1px solid rgba(45, 80, 22, 0.2);
}

.rigel-kal-page-brand--hero {
  align-self: center;
  padding: 0 0.5em;
}

/* 3. Wall-office (zivotinje) — foto gore, grid s linijama, mini kalendari, kontakt traka */
.rigel-kal-page--wall.rigel-kal-layout--wall-office {
  background: #fff;
}

.rigel-kal-wall__inner--wall-office {
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.rigel-kal-wall__photo--office {
  flex: 0 0 34%;
  position: relative;
  overflow: hidden;
}

.rigel-kal-wall__photo--office img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-wall__photo-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.rigel-kal-wall__photo-month {
  font-family: var(--t-head-font, "Inter", system-ui, sans-serif);
  font-size: clamp(1.8em, 8vw, 3.4em);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--t-primary, #2d5016);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.65);
  line-height: 1;
}

.rigel-kal-wall__photo-year {
  font-size: clamp(0.85em, 3vw, 1.15em);
  font-weight: 500;
  color: #9a9a9a;
  letter-spacing: 0.12em;
}

.rigel-kal-wall__body--office {
  flex: 1;
  padding: 2.5% 7% 1.5%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.rigel-kal-cal__dow--office {
  margin-bottom: 0.35em;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.25em;
}

.rigel-kal-cal__dow--office .rigel-kal-cal__dow-cell {
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
}

.rigel-kal-cal__dow--office .rigel-kal-cal__dow-cell.is-weekend {
  color: #c0392b;
}

.rigel-kal-cal__grid--office {
  gap: 0;
  flex: 1;
  padding: 0;
  background: transparent;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
}

.rigel-kal-cal__day--office {
  background: #fff;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  box-shadow: none;
  border-radius: 0;
  min-height: 2em;
  font-size: 0.78em;
  font-weight: 500;
  color: #333;
}

.rigel-kal-cal__day--office.is-empty {
  background: #fafafa;
  color: transparent;
}

.rigel-kal-cal__day--office.is-weekend:not(.is-empty) {
  color: #c0392b;
  font-weight: 600;
}

.rigel-kal-wall-office__footer {
  flex: 0 0 auto;
  padding: 0 5% 4%;
  position: relative;
}

.rigel-kal-wall-office__waves {
  position: absolute;
  left: 0;
  bottom: 18%;
  width: 28%;
  height: 2.8em;
  pointer-events: none;
  opacity: 0.85;
  background:
    radial-gradient(ellipse 120% 80% at 20% 80%, rgba(45, 80, 22, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 100% 60% at 10% 90%, rgba(120, 140, 100, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 90% 50% at 0% 100%, rgba(45, 80, 22, 0.12) 0%, transparent 60%);
}

.rigel-kal-wall-office__footer-main {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  margin-bottom: 0.65em;
}

.rigel-kal-mini {
  flex: 0 0 auto;
  min-width: 5.5em;
}

.rigel-kal-mini__title {
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.35em;
  text-align: center;
}

.rigel-kal-mini__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  font-size: 0.42em;
  line-height: 1.35;
  text-align: center;
}

.rigel-kal-mini__day {
  color: #444;
}

.rigel-kal-mini__day.is-empty {
  visibility: hidden;
}

.rigel-kal-mini__day.is-weekend:not(.is-empty) {
  color: #c0392b;
}

.rigel-kal-wall-office__contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em 0.85em;
  padding: 0.55em 0.75em;
  background: var(--t-primary, #2d5016);
  color: #fff;
  font-size: 0.52em;
  border-radius: 3px;
}

.rigel-kal-wall-office__contact-logo {
  flex: 0 0 auto;
  width: 1.4em;
  height: 1.4em;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-wall-office__contact-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-wall-office__contact-item {
  white-space: nowrap;
}

.rigel-kal-wall-office__contact-item + .rigel-kal-wall-office__contact-item::before {
  content: "|";
  margin-right: 0.85em;
  opacity: 0.45;
}

/* Desk / tent — wall-office kompaktno */
.rigel-kal-desk__inner--wall-office {
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-wall__photo--office {
  flex: 0 0 38%;
}

.rigel-kal-desk__main--office {
  flex: 1;
  padding: 2% 5% 1%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-wall-office__footer {
  padding: 0 4% 3%;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-wall-office__footer-main {
  gap: 0.8em;
  margin-bottom: 0.4em;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-mini {
  min-width: 4.2em;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-wall-office__contact-bar {
  font-size: 0.48em;
  padding: 0.45em 0.6em;
}

.rigel-kal-desk__inner--wall-office .rigel-kal-wall-office__waves {
  width: 22%;
  height: 2em;
  bottom: 22%;
}

/* 4. Wave-sunset (cuda) — foto gore, valoviti banner, amber grid */
.rigel-kal-wall__inner--wave-sunset,
.rigel-kal-desk__inner--wave-sunset {
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.rigel-kal-wall__photo--wave {
  flex: 0 0 37%;
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}

.rigel-kal-wall__photo--wave img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-wave-photo__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 40%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.rigel-kal-wave-banner {
  position: relative;
  z-index: 4;
  margin-top: -3.2%;
  min-height: 2.6em;
  padding: 0.45em 5% 0.55em;
}

.rigel-kal-wave-banner__curve {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, #f7c948 0%, #f09837 48%, #e86a2d 100%);
  clip-path: polygon(
    0 42%,
    7% 24%,
    16% 38%,
    27% 20%,
    38% 34%,
    50% 16%,
    62% 30%,
    74% 18%,
    86% 32%,
    100% 22%,
    100% 100%,
    0 100%
  );
  box-shadow: 0 3px 10px rgba(232, 106, 45, 0.22);
}

.rigel-kal-wave-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.rigel-kal-wave-banner__logo {
  flex: 0 0 auto;
  width: 2.2em;
  height: 2.2em;
  padding: 0.22em;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rigel-kal-wave-banner__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-wave-banner__label {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.rigel-kal-wall__body--wave {
  flex: 1;
  padding: 0.2em 6% 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.rigel-kal-wave-month-title {
  margin: 0 0 0.35em;
  text-align: center;
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.95em;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #222;
}

.rigel-kal-cal__dow--wave {
  background: linear-gradient(90deg, #f7b733 0%, #ef8f32 55%, #e87830 100%);
  border-radius: 3px;
  margin-bottom: 0.35em;
  padding: 0.38em 0.2em;
}

.rigel-kal-cal__dow--wave .rigel-kal-cal__dow-cell {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.rigel-kal-cal__dow--wave .rigel-kal-cal__dow-cell.is-weekend {
  color: #fff8e8;
}

.rigel-kal-cal__grid--wave {
  gap: 0;
  flex: 1;
  padding: 0;
  background: transparent;
}

.rigel-kal-cal__day--wave {
  background: #fff;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 1.85em;
  font-size: 0.74em;
  font-weight: 500;
  color: #333;
}

.rigel-kal-cal__day--wave.is-empty {
  visibility: hidden;
}

.rigel-kal-cal__day--wave.is-weekend:not(.is-empty) {
  color: #e87830;
  font-weight: 700;
}

.rigel-kal-wave-company {
  text-align: center;
  margin-top: 0.35em;
  padding: 0.25em 0 0.15em;
}

.rigel-kal-wave-company__name {
  display: block;
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e87830;
  text-transform: uppercase;
}

.rigel-kal-wave-company__tagline {
  display: block;
  margin-top: 0.15em;
  font-size: 0.5em;
  color: #666;
  letter-spacing: 0.04em;
}

.rigel-kal-wave-contact {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.75em;
  padding: 0.5em 5% 0.6em;
  font-size: 0.46em;
  color: #555;
  border-top: 1px solid #ececec;
  background: #fafafa;
}

.rigel-kal-wave-contact__item {
  white-space: nowrap;
}

/* Desk / tent — wave-sunset kompaktno */
.rigel-kal-desk__inner--wave-sunset .rigel-kal-wall__photo--wave {
  flex: 0 0 40%;
}

.rigel-kal-desk__main--wave {
  flex: 1;
  padding: 0.15em 5% 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.rigel-kal-desk__inner--wave-sunset .rigel-kal-wave-banner {
  margin-top: -4%;
  min-height: 2.2em;
  padding: 0.35em 4% 0.45em;
}

.rigel-kal-desk__inner--wave-sunset .rigel-kal-wave-month-title {
  font-size: 0.82em;
}

.rigel-kal-desk__inner--wave-sunset .rigel-kal-wave-contact {
  font-size: 0.42em;
  padding: 0.4em 4% 0.5em;
}

/* 5. Wave-promo (valovi) — Aurora modern: gradient, foto, čist grid */
.rigel-kal-wall__inner--wave-promo,
.rigel-kal-desk__inner--wave-promo {
  position: relative;
  height: 100%;
  background: #f8fafc;
  overflow: hidden;
}

.rigel-kal-valovi-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  font-family: var(--t-body-font, "DM Sans", "Montserrat", system-ui, sans-serif);
}

.rigel-kal-valovi-modern__hero {
  position: relative;
  flex: 0 0 46%;
  min-height: 0;
  overflow: hidden;
  background: #0f172a;
}

.rigel-kal-valovi-modern__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.rigel-kal-valovi-modern__hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.35) 55%,
    rgba(15, 23, 42, 0.82) 100%
  );
  pointer-events: none;
}

.rigel-kal-valovi-modern__hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.8em;
  background: #f8fafc;
  clip-path: ellipse(68% 100% at 50% 100%);
  pointer-events: none;
}

.rigel-kal-valovi-modern__hero-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65em;
  padding: 0 6%;
}

.rigel-kal-valovi-modern__badge {
  position: relative;
  flex: 0 0 auto;
  width: 3.4em;
  height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #6366f1, #ec4899, #22d3ee, #6366f1);
  padding: 3px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.rigel-kal-valovi-modern__badge-ring {
  display: none;
}

.rigel-kal-valovi-modern__badge-num {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--t-head-font, "DM Sans", "Montserrat", sans-serif);
  font-size: 1.35em;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.rigel-kal-valovi-modern__tagline {
  flex: 1;
  margin: 0;
  text-align: right;
  font-family: var(--t-head-font, "DM Sans", "Montserrat", sans-serif);
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.rigel-kal-valovi-modern__sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.35em 5% 0.5em;
  background: #f8fafc;
}

.rigel-kal-valovi-modern__head {
  flex: 0 0 auto;
  margin-bottom: 0.35em;
}

.rigel-kal-valovi-modern__month {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  font-family: var(--t-head-font, "DM Sans", "Montserrat", sans-serif);
  line-height: 1;
}

.rigel-kal-valovi-modern__month-name {
  font-size: 0.95em;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
  text-transform: uppercase;
}

.rigel-kal-valovi-modern__month-year {
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6366f1;
}

.rigel-kal-valovi-modern__accent {
  height: 3px;
  margin-top: 0.38em;
  border-radius: 99px;
  background: linear-gradient(90deg, #6366f1 0%, #ec4899 48%, #22d3ee 100%);
}

.rigel-kal-valovi-modern__layout {
  flex: 1;
  display: flex;
  gap: 0.45em;
  min-height: 0;
}

.rigel-kal-valovi-modern__cal {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 0.55em;
  padding: 0.42em 0.38em 0.35em;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.rigel-kal-valovi-modern__cal .rigel-kal-cal__sheet,
.rigel-kal-valovi-modern__cal .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-valovi-modern__aside {
  flex: 0 0 34%;
  max-width: 34%;
  display: flex;
  flex-direction: column;
  gap: 0.38em;
  min-height: 0;
}

.rigel-kal-valovi-modern__mini-card {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 0.55em;
  padding: 0.42em 0.38em 0.35em;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rigel-kal-valovi-modern__mini-label {
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35em;
}

.rigel-kal-valovi-modern__mini-card .rigel-kal-mini {
  flex: 1;
  min-height: 0;
}

.rigel-kal-valovi-modern__mini-card .rigel-kal-mini__title {
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #6366f1;
  margin-bottom: 0.3em;
}

.rigel-kal-valovi-modern__mini-card .rigel-kal-mini__grid {
  gap: 0.08em;
}

.rigel-kal-valovi-modern__mini-card .rigel-kal-mini__day {
  font-size: 0.36em;
  font-weight: 600;
  color: #334155;
}

.rigel-kal-valovi-modern__mini-card .rigel-kal-mini__day.is-weekend:not(.is-empty) {
  color: #ec4899;
}

.rigel-kal-valovi-modern__brand {
  flex: 0 0 auto;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-radius: 0.55em;
  padding: 0.45em 0.42em;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.28em;
}

.rigel-kal-valovi-modern__brand-logo {
  width: 1.55em;
  height: 1.55em;
  border-radius: 0.35em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-valovi-modern__brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-valovi-modern__brand-name {
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}

.rigel-kal-valovi-modern__brand-lines {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-size: 0.36em;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
}

.rigel-kal-cal__dow--promo {
  margin-bottom: 0.28em;
}

.rigel-kal-cal__dow--promo .rigel-kal-cal__dow-cell {
  font-family: var(--t-head-font, "DM Sans", sans-serif);
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.rigel-kal-cal__dow--promo .rigel-kal-cal__dow-cell.is-weekend {
  color: #ec4899;
}

.rigel-kal-cal__grid--promo {
  gap: 0.18em 0.12em;
  flex: 1;
  padding: 0;
}

.rigel-kal-cal__day--promo {
  background: #f1f5f9;
  border: none;
  border-radius: 0.42em;
  min-height: 1.55em;
  font-size: 0.64em;
  font-weight: 600;
  color: #1e293b;
  box-shadow: none;
}

.rigel-kal-cal__day--promo.is-empty {
  background: transparent;
  visibility: hidden;
}

.rigel-kal-cal__day--promo.is-weekend:not(.is-empty) {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
}

/* Valovi cover — dark aurora */
.rigel-kal-page--cover.rigel-kal-layout--wave-promo {
  display: flex;
  flex-direction: column;
}

.rigel-kal-page--cover.rigel-kal-layout--wave-promo > .rigel-kal-valovi-cover {
  flex: 1;
  min-height: 0;
}

.rigel-kal-page--wall-bound > .rigel-kal-valovi-cover {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
}

.rigel-kal-valovi-cover {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #0b1120;
  color: #fff;
}

.rigel-kal-valovi-cover__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 20%, rgba(99, 102, 241, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(236, 72, 153, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 90%, rgba(34, 211, 238, 0.28) 0%, transparent 55%);
  pointer-events: none;
}

.rigel-kal-valovi-cover__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.12));
  clip-path: ellipse(90% 100% at 50% 100%);
  pointer-events: none;
}

.rigel-kal-valovi-cover__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10% 8% 8%;
  text-align: center;
  gap: 0.35em;
}

.rigel-kal-valovi-cover__logo {
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.55em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35em;
}

.rigel-kal-valovi-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-valovi-cover__year {
  font-family: var(--t-head-font, "DM Sans", sans-serif);
  font-size: clamp(3em, 20vw, 5.2em);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 45%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rigel-kal-valovi-cover__title {
  font-family: var(--t-head-font, "DM Sans", sans-serif);
  font-size: clamp(0.75em, 4.5vw, 1.15em);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #94a3b8;
  margin-top: 0.15em;
}

.rigel-kal-valovi-cover__company {
  margin: 0.65em 0 0;
  font-size: 0.52em;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.04em;
}

.rigel-kal-valovi-cover__contact {
  list-style: none;
  margin: 0.35em 0 0;
  padding: 0;
  font-size: 0.42em;
  color: #94a3b8;
  line-height: 1.55;
}

.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__hero {
  flex: 0 0 42%;
}

.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__aside,
.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__tagline {
  display: none;
}

.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__hero-row {
  bottom: 8%;
  padding: 0 5%;
}

.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__badge {
  width: 2.2em;
  height: 2.2em;
}

.rigel-kal-valovi-modern--mini .rigel-kal-valovi-modern__badge-num {
  width: 1.85em;
  height: 1.85em;
  font-size: 1em;
}

.rigel-kal-page--thumb .rigel-kal-valovi-cover__year {
  font-size: clamp(1.6em, 12vw, 2.4em);
}

.rigel-kal-page--thumb .rigel-kal-valovi-cover__title {
  font-size: 0.48em;
  letter-spacing: 0.22em;
}

.rigel-kal-theme--valovi {
  --t-primary: #6366f1;
  --t-secondary: #ec4899;
  --t-accent: #22d3ee;
  --t-text: #0f172a;
  --t-bg: #f8fafc;
  --t-head-font: "DM Sans", "Montserrat", system-ui, sans-serif;
  --t-body-font: "DM Sans", "Montserrat", system-ui, sans-serif;
}

.rigel-kal-theme--valovi .rigel-kal-cover__inner {
  background: linear-gradient(165deg, #0b1120 0%, #1e293b 55%);
}

.rigel-kal-theme--valovi .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  color: #e2e8f0;
}

.rigel-kal-theme--valovi .rigel-kal-cover__subtitle {
  color: #a5b4fc;
  font-family: var(--t-body-font);
}

/* ═══ TEMA 5: Golden Split (zlatni) — gold-split ═══ */
.rigel-kal-theme--zlatni {
  --t-primary: #d4a017;
  --t-accent: #111;
  --t-weekend: #111;
  --t-bg: #efefec;
  --t-text: #111;
  --t-head-font: "Oswald", "Roboto Condensed", system-ui, sans-serif;
  --t-body-font: "Roboto Condensed", "Oswald", system-ui, sans-serif;
}

.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-month-bar,
.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-notes,
.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-cover__right {
  background: var(--t-primary);
}

.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-cover__year-wrap::before,
.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-cover__title-wrap::before {
  color: var(--t-primary);
}

.rigel-kal-theme--zlatni.rigel-kal-layout--gold-split .rigel-kal-gold-cal-panel {
  background: var(--t-bg);
}

/* 6. Golden Split (zlatni) — žuto-bijeli split cover, foto + grid + bilješke */
.rigel-kal-gold-cover {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.rigel-kal-gold-cover__split {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}

.rigel-kal-gold-cover__left {
  flex: 1;
  background: #fff;
}

.rigel-kal-gold-cover__right {
  flex: 1;
  background: #d4a017;
}

.rigel-kal-gold-cover__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Ccircle cx='12' cy='18' r='5' fill='none' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M48 8 L58 28 L38 28 Z' fill='none' stroke='%23000' stroke-width='1'/%3E%3Crect x='8' y='44' width='10' height='10' fill='none' stroke='%23000' stroke-width='1' transform='rotate(12 13 49)'/%3E%3Cpath d='M52 52 L62 62 M62 52 L52 62' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}

.rigel-kal-gold-cover__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 6% 4%;
  gap: 0.15em;
}

.rigel-kal-gold-cover__logo {
  position: absolute;
  top: 6%;
  left: 6%;
  width: 2.4em;
  height: 2.4em;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-gold-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-gold-cover__year-wrap,
.rigel-kal-gold-cover__title-wrap {
  position: relative;
  width: 100%;
  text-align: center;
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  user-select: none;
}

.rigel-kal-gold-cover__year-wrap {
  font-size: clamp(3.2em, 22vw, 5.8em);
  margin-top: 0.05em;
}

.rigel-kal-gold-cover__title-wrap {
  font-size: clamp(1.05em, 6.5vw, 1.75em);
  letter-spacing: 0.18em;
  margin-top: 0.35em;
}

.rigel-kal-gold-cover__year-wrap::before,
.rigel-kal-gold-cover__year-wrap::after {
  content: attr(data-year);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.rigel-kal-gold-cover__title-wrap::before,
.rigel-kal-gold-cover__title-wrap::after {
  content: attr(data-title);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.rigel-kal-gold-cover__year-wrap::before,
.rigel-kal-gold-cover__title-wrap::before {
  color: #d4a017;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.rigel-kal-gold-cover__year-wrap::after,
.rigel-kal-gold-cover__title-wrap::after {
  color: #111;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.rigel-kal-gold-cover__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rigel-kal-gold-cover__footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 0 8% 5%;
}

.rigel-kal-gold-cover__footer-line {
  height: 2px;
  background: #111;
  margin-bottom: 0.65em;
}

.rigel-kal-gold-cover__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35em 0.75em;
  font-family: var(--t-body-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.46em;
  font-weight: 500;
  color: #222;
}

.rigel-kal-gold-cover__contact {
  white-space: nowrap;
}

/* Gold-split month page */
.rigel-kal-wall__inner--gold-split,
.rigel-kal-desk__inner--gold-split {
  flex-direction: column;
  height: 100%;
  background: #fff;
  padding: 0.55em 0.55em 0.48em;
  box-sizing: border-box;
}

.rigel-kal-gold-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.rigel-kal-gold-hero {
  position: relative;
  flex: 0 0 57%;
  min-height: 0;
  z-index: 1;
}

.rigel-kal-gold-photo {
  height: 100%;
  min-height: 0;
  background: #ddd;
  overflow: hidden;
  border-radius: 0.28em;
}

.rigel-kal-gold-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-gold-body {
  flex: 1;
  display: flex;
  min-height: 0;
  gap: 0;
  align-items: stretch;
}

.rigel-kal-gold-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  padding-top: 0.15em;
}

.rigel-kal-gold-month-bar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  transform: translateY(-58%);
  background: #d4a017;
  padding: 0.52em 1.55em 0.48em 0.72em;
  border-top-right-radius: 1.15em;
}

.rigel-kal-gold-month-bar__name {
  font-family: var(--t-head-font, "Oswald", "Roboto Condensed", sans-serif);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  text-transform: uppercase;
  line-height: 1;
}

.rigel-kal-gold-cal-panel {
  flex: 1;
  min-height: 0;
  background: #efefec;
  border-radius: 0.22em;
  margin-right: 0.28em;
  margin-top: 0.55em;
  padding: 0.62em 0.52em 0.48em 0.58em;
  display: flex;
  flex-direction: column;
}

.rigel-kal-gold-cal {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.rigel-kal-gold-cal .rigel-kal-cal__sheet,
.rigel-kal-gold-cal .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-gold-notes {
  flex: 0 0 27%;
  max-width: 27%;
  background: #d4a017;
  padding: 0.72em 0.48em 0.55em 0.52em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.42em;
  min-height: 0;
  border-top-left-radius: 1.55em;
  position: relative;
  z-index: 2;
  align-self: stretch;
  margin-top: 0.15em;
}

.rigel-kal-gold-notes__year-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  line-height: 0.92;
  font-family: var(--t-head-font, "Oswald", "Roboto Condensed", sans-serif);
  font-size: clamp(1.55em, 6.5vw, 2.35em);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  flex: 0 0 auto;
}

.rigel-kal-gold-notes__year-part {
  display: block;
}

.rigel-kal-gold-notes__label {
  font-family: var(--t-head-font, "Oswald", "Roboto Condensed", sans-serif);
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  align-self: flex-start;
  margin-left: 0.2em;
}

.rigel-kal-gold-notes__lines {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0 0.15em 0.1em;
  min-height: 0;
}

.rigel-kal-gold-notes__line {
  height: 1px;
  background: rgba(0, 0, 0, 0.38);
}

.rigel-kal-cal__dow--gold {
  margin-bottom: 0.35em;
}

.rigel-kal-cal__dow--gold .rigel-kal-cal__dow-cell {
  font-family: var(--t-head-font, "Oswald", "Roboto Condensed", sans-serif);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
}

.rigel-kal-cal__dow--gold .rigel-kal-cal__dow-cell.is-weekend {
  color: #111;
}

.rigel-kal-cal__grid--gold {
  gap: 0.08em 0;
  flex: 1;
  padding: 0;
  background: transparent;
}

.rigel-kal-cal__day--gold {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 1.55em;
  font-size: 0.7em;
  font-weight: 600;
  font-family: var(--t-body-font, "Roboto Condensed", sans-serif);
  color: #111;
}

.rigel-kal-cal__day--gold.is-empty {
  visibility: hidden;
}

.rigel-kal-cal__day--gold.is-weekend:not(.is-empty) {
  color: #111;
  font-weight: 600;
}

.rigel-kal-desk__inner--gold-split {
  padding: 0.45em 0.45em 0.4em;
}

.rigel-kal-desk__inner--gold-split .rigel-kal-gold-hero {
  flex: 0 0 52%;
}

.rigel-kal-desk__inner--gold-split .rigel-kal-gold-notes {
  flex: 0 0 24%;
  max-width: 24%;
}

.rigel-kal-desk__inner--gold-split .rigel-kal-gold-month-bar {
  border-top-right-radius: 0.95em;
  transform: translateY(-52%);
}

.rigel-kal-desk__inner--gold-split .rigel-kal-gold-notes {
  border-top-left-radius: 1.2em;
}

.rigel-kal-page--thumb .rigel-kal-wall__inner--gold-split {
  padding: 0.35em;
}

.rigel-kal-page--thumb .rigel-kal-gold-month-bar {
  transform: translateY(-50%);
  padding: 0.35em 0.85em 0.32em 0.45em;
  border-top-right-radius: 0.65em;
}

.rigel-kal-page--thumb .rigel-kal-gold-cal-panel {
  margin-top: 0.35em;
}

.rigel-kal-page--thumb .rigel-kal-gold-notes {
  border-top-left-radius: 0.85em;
  padding: 0.45em 0.28em 0.35em;
}

.rigel-kal-page--thumb .rigel-kal-gold-notes__year-stack {
  font-size: 1.05em;
}

.rigel-kal-page--thumb .rigel-kal-gold-photo {
  border-radius: 0.18em;
}

.rigel-kal-page--thumb .rigel-kal-gold-cover__year-wrap {
  font-size: clamp(1.8em, 14vw, 2.8em);
}

.rigel-kal-page--thumb .rigel-kal-gold-cover__title-wrap {
  font-size: clamp(0.55em, 4vw, 0.85em);
}

.rigel-kal-page--thumb .rigel-kal-gold-cover__contacts {
  font-size: 0.32em;
}

.rigel-kal-page--thumb .rigel-kal-gold-cover__logo {
  width: 1.4em;
  height: 1.4em;
}

/* 7. Yellow-bold (urban) — foto gore, crna traka, žuti grid, vertikalna godina */
.rigel-kal-wall__inner--yellow-bold,
.rigel-kal-desk__inner--yellow-bold {
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.rigel-kal-bold-photo {
  flex: 0 0 46%;
  display: flex;
  min-height: 0;
  background: #e6e6e6;
}

.rigel-kal-bold-photo__img {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.rigel-kal-bold-photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-bold-photo__accent {
  flex: 0 0 3.8%;
  background: #e8dfd0;
}

.rigel-kal-bold-month-bar {
  flex: 0 0 auto;
  background: #111;
  padding: 0.5em 6%;
  text-align: right;
}

.rigel-kal-bold-month-bar__name {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
}

.rigel-kal-bold-cal {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0.25em;
  background: #f5c518;
  padding: 0.45em 0.5em 0.45em 0.65em;
  min-height: 0;
}

.rigel-kal-bold-cal__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rigel-kal-bold-cal__year {
  flex: 0 0 auto;
  align-self: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: clamp(1.6em, 7vw, 2.6em);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  user-select: none;
}

.rigel-kal-cal__dow--bold {
  margin-bottom: 0.35em;
}

.rigel-kal-cal__dow--bold .rigel-kal-cal__dow-cell {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.5em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.rigel-kal-cal__dow--bold .rigel-kal-cal__dow-cell.is-weekend {
  color: #c1121f;
}

.rigel-kal-cal__grid--bold {
  gap: 0;
  flex: 1;
  padding: 0;
  background: transparent;
}

.rigel-kal-cal__day--bold {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 1.75em;
  font-size: 0.72em;
  font-weight: 600;
  color: #111;
}

.rigel-kal-cal__day--bold.is-empty {
  visibility: hidden;
}

.rigel-kal-cal__day--bold.is-weekend:not(.is-empty) {
  color: #c1121f;
  font-weight: 800;
}

.rigel-kal-bold-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0.5em 5% 0.6em;
  background: #fff;
  border-top: 1px solid #ececec;
}

.rigel-kal-bold-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.45em;
  min-width: 0;
  flex: 0 1 auto;
}

.rigel-kal-bold-footer__logo {
  flex: 0 0 auto;
  width: 1.5em;
  height: 1.5em;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-bold-footer__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-bold-footer__name {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.48em;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #222;
  line-height: 1.2;
}

.rigel-kal-bold-footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25em 0.65em;
  font-size: 0.42em;
  color: #444;
  text-align: right;
}

.rigel-kal-bold-footer__item {
  white-space: nowrap;
}

/* Desk / tent — yellow-bold */
.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-photo {
  flex: 0 0 44%;
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-month-bar {
  padding: 0.4em 5%;
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-month-bar__name {
  font-size: 0.72em;
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-cal {
  padding: 0.35em 0.45em 0.35em 0.55em;
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-cal__year {
  font-size: clamp(1.3em, 5vw, 2em);
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-footer {
  padding: 0.4em 4% 0.5em;
}

.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-footer__name,
.rigel-kal-desk__inner--yellow-bold .rigel-kal-bold-footer__contact {
  font-size: 0.38em;
}

/* 6. Blue-wave (plava) — foto, SVG valovi, badge godine, footer */
.rigel-kal-wall__inner--blue-wave,
.rigel-kal-desk__inner--blue-wave {
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.rigel-kal-blue-wave__photo {
  flex: 0 0 44%;
  overflow: hidden;
  background: #d8d8d8;
}

.rigel-kal-blue-wave__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-blue-wave__band {
  position: relative;
  flex: 0 0 auto;
  margin-top: -3.5%;
  height: 3.2em;
  z-index: 3;
}

.rigel-kal-blue-wave__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rigel-kal-blue-wave__badge {
  position: absolute;
  left: 7%;
  top: -0.55em;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: linear-gradient(145deg, #5a9fe0 0%, #2f6fad 100%);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(47, 111, 173, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.rigel-kal-blue-wave__badge-year {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.52em;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.rigel-kal-blue-wave__month {
  position: absolute;
  right: 7%;
  bottom: 0.35em;
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #2f6fad;
  z-index: 4;
}

.rigel-kal-blue-wave__body {
  flex: 1;
  padding: 0.45em 7% 0.25em;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.rigel-kal-cal__dow--blue-wave {
  margin-bottom: 0.4em;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.3em;
}

.rigel-kal-cal__dow--blue-wave .rigel-kal-cal__dow-cell {
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
}

.rigel-kal-cal__dow--blue-wave .rigel-kal-cal__dow-cell.is-weekend {
  color: #d62839;
}

.rigel-kal-cal__grid--blue-wave {
  gap: 0;
  flex: 1;
  padding: 0;
  background: transparent;
}

.rigel-kal-cal__day--blue-wave {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 1.75em;
  font-size: 0.72em;
  font-weight: 500;
  color: #222;
}

.rigel-kal-cal__day--blue-wave.is-empty {
  visibility: hidden;
}

.rigel-kal-cal__day--blue-wave.is-weekend:not(.is-empty) {
  color: #d62839;
  font-weight: 700;
}

.rigel-kal-blue-wave__footer {
  flex: 0 0 auto;
  padding: 0.35em 6% 0.55em;
  background: #fff;
}

.rigel-kal-blue-wave__footer-line {
  height: 2px;
  margin: 0 0 0.45em;
  background: linear-gradient(90deg, transparent, #2f6fad 8%, #2f6fad 92%, transparent);
  border-radius: 2px;
  position: relative;
}

.rigel-kal-blue-wave__footer-line::before,
.rigel-kal-blue-wave__footer-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: #2f6fad;
}

.rigel-kal-blue-wave__footer-line::before {
  left: 6%;
}

.rigel-kal-blue-wave__footer-line::after {
  right: 6%;
}

.rigel-kal-blue-wave__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}

.rigel-kal-blue-wave__footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45em;
  min-width: 0;
}

.rigel-kal-blue-wave__footer-logo {
  flex: 0 0 auto;
  width: 1.45em;
  height: 1.45em;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-blue-wave__footer-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-blue-wave__footer-text strong {
  display: block;
  font-family: var(--t-head-font, "Montserrat", system-ui, sans-serif);
  font-size: 0.46em;
  font-weight: 800;
  color: #222;
  line-height: 1.2;
}

.rigel-kal-blue-wave__footer-text span {
  display: block;
  font-size: 0.38em;
  color: #666;
  margin-top: 0.1em;
}

.rigel-kal-blue-wave__footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2em 0.55em;
  font-size: 0.4em;
  color: #444;
}

.rigel-kal-blue-wave__footer-item {
  white-space: nowrap;
}

.rigel-kal-desk__inner--blue-wave .rigel-kal-blue-wave__photo {
  flex: 0 0 42%;
}

.rigel-kal-desk__inner--blue-wave .rigel-kal-blue-wave__band {
  height: 2.6em;
  margin-top: -4%;
}

.rigel-kal-desk__inner--blue-wave .rigel-kal-blue-wave__body {
  padding: 0.35em 5.5% 0.2em;
}

.rigel-kal-desk__inner--blue-wave .rigel-kal-blue-wave__footer {
  padding: 0.3em 5% 0.45em;
}

/* ═══ TEMA 6: Blue Wave Pro (plava) — blue-wave ═══ */
.rigel-kal-theme--plava {
  --t-primary: #2f6fad;
  --t-accent: #4a8fd4;
  --t-weekend: #d62839;
  --t-bg: #fff;
  --t-text: #222;
  --t-head-font: "Montserrat", system-ui, sans-serif;
}

.rigel-kal-theme--plava .rigel-kal-cover__inner--blue-wave {
  background: linear-gradient(165deg, #4a8fd4 0%, #2f6fad 55%, #1a4a78 100%);
  color: #fff;
  justify-content: center;
}

.rigel-kal-theme--plava .rigel-kal-cover__inner:not(.rigel-kal-cover__inner--blue-wave) {
  background: linear-gradient(165deg, #4a8fd4 0%, #2f6fad 55%, #1a4a78 100%);
  color: #fff;
}

.rigel-kal-theme--plava .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rigel-kal-theme--plava .rigel-kal-cover__subtitle {
  color: #e8f2fc;
  letter-spacing: 0.2em;
}

.rigel-kal-theme--plava .rigel-kal-cover__logo {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}

.rigel-kal-theme--plava.rigel-kal-layout--blue-wave .rigel-kal-blue-wave__month {
  color: var(--t-primary);
}

.rigel-kal-theme--plava.rigel-kal-layout--blue-wave .rigel-kal-cal__dow--blue-wave .rigel-kal-cal__dow-cell.is-weekend,
.rigel-kal-theme--plava.rigel-kal-layout--blue-wave .rigel-kal-cal__day--blue-wave.is-weekend:not(.is-empty) {
  color: var(--t-weekend);
}

/* ═══ TEMA 3: Nature Office (zivotinje) — wall-office ═══ */
.rigel-kal-theme--zivotinje {
  --t-primary: #2d5016;
  --t-accent: #2d5016;
  --t-bg: #fff;
  --t-text: #333;
  --t-head-font: "Inter", system-ui, sans-serif;
}

.rigel-kal-theme--zivotinje .rigel-kal-cover__inner {
  background: linear-gradient(180deg, #fff 0%, #f5f8f2 100%);
  color: var(--t-text);
}

.rigel-kal-theme--zivotinje .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  color: var(--t-primary);
  font-weight: 700;
}

.rigel-kal-theme--zivotinje .rigel-kal-cover__subtitle {
  color: var(--t-accent);
  letter-spacing: 0.2em;
}

.rigel-kal-theme--zivotinje .rigel-kal-cover__logo {
  border-radius: 4px;
  border: 2px solid var(--t-accent);
  background: #fff;
}

.rigel-kal-theme--zivotinje.rigel-kal-layout--wall-office .rigel-kal-wall__photo-month {
  color: var(--t-primary);
}

.rigel-kal-theme--zivotinje.rigel-kal-layout--wall-office .rigel-kal-cal__dow--office .rigel-kal-cal__dow-cell.is-weekend {
  color: #c0392b;
}

.rigel-kal-theme--zivotinje.rigel-kal-layout--wall-office .rigel-kal-cal__day--office.is-weekend:not(.is-empty) {
  color: #c0392b;
  font-weight: 600;
}

.rigel-kal-theme--zivotinje .rigel-kal-wall-office__contact-bar {
  background: var(--t-primary);
}

/* ═══ TEMA 4: Amber Wave (cuda) — wave-sunset ═══ */
.rigel-kal-theme--cuda {
  --t-primary: #e87830;
  --t-accent: #f7b733;
  --t-bg: #fff;
  --t-text: #2a2a2a;
  --t-head-font: "Montserrat", system-ui, sans-serif;
}

.rigel-kal-theme--cuda .rigel-kal-cover__inner--wave-sunset {
  background: linear-gradient(165deg, #f7c948 0%, #ef8f32 42%, #e86a2d 100%);
  color: #fff;
  justify-content: center;
  padding-top: 12%;
}

.rigel-kal-theme--cuda .rigel-kal-cover__inner:not(.rigel-kal-cover__inner--wave-sunset) {
  background: linear-gradient(165deg, #f7c948 0%, #ef8f32 42%, #e86a2d 100%);
  color: #fff;
}

.rigel-kal-theme--cuda .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rigel-kal-theme--cuda .rigel-kal-cover__subtitle {
  color: #fff8e8;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.rigel-kal-theme--cuda .rigel-kal-cover__logo {
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}

.rigel-kal-theme--cuda.rigel-kal-layout--wave-sunset .rigel-kal-wave-banner__curve {
  background: linear-gradient(108deg, #f7c948 0%, #f09837 48%, #e86a2d 100%);
}

.rigel-kal-theme--cuda.rigel-kal-layout--wave-sunset .rigel-kal-wave-company__name {
  color: var(--t-primary);
}

.rigel-kal-theme--cuda.rigel-kal-layout--wave-sunset .rigel-kal-cal__day--wave.is-weekend:not(.is-empty) {
  color: var(--t-primary);
}

/* ═══ TEMA 5: Bold Yellow (urban) — yellow-bold ═══ */
.rigel-kal-theme--urban {
  --t-primary: #111;
  --t-accent: #f5c518;
  --t-weekend: #c1121f;
  --t-bg: #fff;
  --t-text: #111;
  --t-head-font: "Montserrat", system-ui, sans-serif;
}

.rigel-kal-theme--urban .rigel-kal-cover__inner--yellow-bold {
  background: linear-gradient(165deg, #f5c518 0%, #e8b80a 38%, #111 100%);
  color: #fff;
  justify-content: center;
}

.rigel-kal-theme--urban .rigel-kal-cover__inner:not(.rigel-kal-cover__inner--yellow-bold) {
  background: linear-gradient(165deg, #f5c518 0%, #e8b80a 38%, #111 100%);
  color: #fff;
}

.rigel-kal-theme--urban .rigel-kal-cover__company {
  font-family: var(--t-head-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rigel-kal-theme--urban .rigel-kal-cover__subtitle {
  color: #fff9e0;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.rigel-kal-theme--urban .rigel-kal-cover__logo {
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}

.rigel-kal-theme--urban.rigel-kal-layout--yellow-bold .rigel-kal-bold-cal {
  background: var(--t-accent);
}

.rigel-kal-theme--urban.rigel-kal-layout--yellow-bold .rigel-kal-cal__dow--bold .rigel-kal-cal__dow-cell.is-weekend,
.rigel-kal-theme--urban.rigel-kal-layout--yellow-bold .rigel-kal-cal__day--bold.is-weekend:not(.is-empty) {
  color: var(--t-weekend);
}

/* ═══ PRO UNUTRAŠNJOST — 5 tema × 3 formata ═══ */

.rigel-kal-desk__inner--tent {
  position: relative;
}

.rigel-kal-desk__inner--tent::before,
.rigel-kal-desk__inner--tent::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  z-index: 4;
  pointer-events: none;
}

.rigel-kal-desk__inner--tent::before {
  left: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.14) 0%, transparent 72%);
}

.rigel-kal-desk__inner--tent::after {
  right: 0;
  background: linear-gradient(-105deg, rgba(0, 0, 0, 0.14) 0%, transparent 72%);
}

.rigel-kal-desk__inner--tent .rigel-kal-desk__spine {
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

/* — TEMA 1 Botanical: klasični hero + kartica — */
.rigel-kal-theme--priroda .rigel-kal-photo__shade {
  background: linear-gradient(180deg, transparent 55%, rgba(45, 52, 54, 0.22) 100%);
}

.rigel-kal-theme--priroda .rigel-kal-cal__head-line { background: linear-gradient(90deg, var(--t-primary), var(--t-secondary)); }
.rigel-kal-theme--priroda .rigel-kal-cal__year { background: rgba(90, 143, 123, 0.12); color: var(--t-secondary); }
.rigel-kal-theme--priroda .rigel-kal-brand__stripe { background: var(--t-secondary); }

.rigel-kal-theme--priroda.rigel-kal-page--wall .rigel-kal-wall__body {
  margin: -7% 4.5% 0;
  position: relative;
  z-index: 2;
  border-radius: 12px;
  box-shadow: 0 14px 44px rgba(61, 90, 74, 0.2);
  border: 1px solid rgba(90, 143, 123, 0.2);
}

.rigel-kal-theme--priroda.rigel-kal-page--wall .rigel-kal-cal__sheet-inner {
  padding: 0.15em 0.1em;
}

.rigel-kal-theme--priroda.rigel-kal-page--desk .rigel-kal-desk__main,
.rigel-kal-theme--priroda.rigel-kal-page--desk-tent .rigel-kal-desk__main {
  background: linear-gradient(180deg, #fff 0%, var(--t-bg) 100%);
  border-left: 3px solid var(--t-primary);
}

.rigel-kal-theme--priroda.rigel-kal-page--desk-tent .rigel-kal-desk__photo-strip {
  border-right: 3px solid var(--t-secondary);
}

/* — TEMA 2 poslovni: split-dark koristi gornje layout pravila — */

/* — TEMA 3 Glass Editorial: hero overlay — */
.rigel-kal-theme--zivotinje .rigel-kal-photo__shade {
  background: linear-gradient(160deg, rgba(13, 79, 92, 0.15) 0%, rgba(13, 79, 92, 0.55) 100%);
}

.rigel-kal-theme--zivotinje .rigel-kal-cal__head-line { background: var(--t-accent); }
.rigel-kal-theme--zivotinje .rigel-kal-cal__year { background: rgba(255, 107, 91, 0.15); color: #c0392b; }
.rigel-kal-theme--zivotinje .rigel-kal-brand__stripe { background: var(--t-accent); }

.rigel-kal-theme--zivotinje .rigel-kal-cal__grid--band { gap: 3px; }
.rigel-kal-theme--zivotinje .rigel-kal-cal__day--band {
  font-size: 0.7em;
  font-weight: 700;
}

/* — TEMA 4 Amber Wave: wave-sunset — */
.rigel-kal-theme--cuda.rigel-kal-page--wall .rigel-kal-wall__body--wave {
  box-shadow: inset 0 4px 14px rgba(232, 120, 48, 0.04);
}

.rigel-kal-theme--cuda .rigel-kal-cal__grid--wave .rigel-kal-cal__day--wave {
  min-height: 1.85em;
}

.rigel-kal-theme--cuda.rigel-kal-page--desk .rigel-kal-desk__main--wave,
.rigel-kal-theme--cuda.rigel-kal-page--desk-tent .rigel-kal-desk__main--wave {
  box-shadow: inset 0 3px 10px rgba(232, 120, 48, 0.04);
}

/* — TEMA 5 Bold Yellow: yellow-bold — */
.rigel-kal-theme--urban.rigel-kal-page--wall .rigel-kal-bold-cal {
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.04);
}

.rigel-kal-theme--urban .rigel-kal-cal__grid--bold .rigel-kal-cal__day--bold {
  min-height: 1.7em;
}

/* Zajednički brand bar polish */
.rigel-kal-brand__logo {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.rigel-kal-brand__contact {
  margin-top: 0.15em;
  letter-spacing: 0.02em;
}

/* ═══ MODERN TEMPLATES 6–8: Slate Noir, Ocean Glass, Terra Editorial ═══ */

.rigel-kal-wall__inner--slate-noir,
.rigel-kal-desk__inner--slate-noir,
.rigel-kal-wall__inner--ocean-glass,
.rigel-kal-desk__inner--ocean-glass,
.rigel-kal-wall__inner--terra-editorial,
.rigel-kal-desk__inner--terra-editorial {
  height: 100%;
  overflow: hidden;
}

/* — Slate Noir — */
.rigel-kal-wall__inner--slate-noir,
.rigel-kal-desk__inner--slate-noir {
  background: #09090b;
}

.rigel-kal-noir {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  color: #f5f0e8;
}

.rigel-kal-noir__hero {
  position: relative;
  flex: 0 0 47%;
  min-height: 0;
  overflow: hidden;
  background: #18181b;
}

.rigel-kal-noir__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.05);
}

.rigel-kal-noir__hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.1) 0%, rgba(9, 9, 11, 0.75) 100%);
  pointer-events: none;
}

.rigel-kal-noir__hero-meta {
  position: absolute;
  left: 6%;
  bottom: 10%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.rigel-kal-noir__hero-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 0.9;
  color: #c9a962;
  letter-spacing: 0.04em;
}

.rigel-kal-noir__hero-year {
  font-family: "DM Sans", sans-serif;
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(245, 240, 232, 0.72);
}

.rigel-kal-noir__sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.45em 5% 0.5em;
}

.rigel-kal-noir__head {
  flex: 0 0 auto;
  margin-bottom: 0.35em;
}

.rigel-kal-noir__month {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f0e8;
}

.rigel-kal-noir__rule {
  height: 1px;
  margin-top: 0.38em;
  background: linear-gradient(90deg, #c9a962 0%, rgba(201, 169, 98, 0.15) 72%, transparent 100%);
}

.rigel-kal-noir__layout {
  flex: 1;
  display: flex;
  gap: 0.42em;
  min-height: 0;
}

.rigel-kal-noir__cal {
  flex: 1;
  min-width: 0;
  background: #141416;
  border: 1px solid rgba(201, 169, 98, 0.18);
  border-radius: 0.5em;
  padding: 0.42em 0.38em 0.35em;
  display: flex;
  flex-direction: column;
}

.rigel-kal-noir__cal .rigel-kal-cal__sheet,
.rigel-kal-noir__cal .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-noir__aside {
  flex: 0 0 33%;
  max-width: 33%;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  min-height: 0;
}

.rigel-kal-noir__mini {
  flex: 1;
  min-height: 0;
  background: #141416;
  border: 1px solid rgba(201, 169, 98, 0.14);
  border-radius: 0.5em;
  padding: 0.38em 0.35em 0.32em;
  overflow: hidden;
}

.rigel-kal-noir__mini-label {
  display: block;
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a962;
  margin-bottom: 0.32em;
}

.rigel-kal-noir__mini .rigel-kal-mini__title {
  font-size: 0.4em;
  color: #e8e0d0;
}

.rigel-kal-noir__mini .rigel-kal-mini__day {
  font-size: 0.34em;
  color: #a8a29e;
}

.rigel-kal-noir__mini .rigel-kal-mini__day.is-weekend:not(.is-empty) {
  color: #c9a962;
}

.rigel-kal-noir__brand {
  flex: 0 0 auto;
  padding: 0.4em 0.38em;
  border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.rigel-kal-noir__brand-logo {
  width: 1.45em;
  height: 1.45em;
  border-radius: 0.3em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25em;
}

.rigel-kal-noir__brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-noir__brand-name {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  color: #f5f0e8;
  line-height: 1.2;
}

.rigel-kal-noir__brand-lines {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-top: 0.2em;
  font-size: 0.34em;
  color: #78716c;
}

.rigel-kal-noir__tagline {
  flex: 0 0 auto;
  margin: 0.38em 0 0;
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a962;
  text-align: center;
}

.rigel-kal-cal__dow--noir {
  margin-bottom: 0.28em;
}

.rigel-kal-cal__dow--noir .rigel-kal-cal__dow-cell {
  font-size: 0.44em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
}

.rigel-kal-cal__dow--noir .rigel-kal-cal__dow-cell.is-weekend {
  color: #c9a962;
}

.rigel-kal-cal__grid--noir {
  gap: 0.14em 0.1em;
  flex: 1;
}

.rigel-kal-cal__day--noir {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.38em;
  min-height: 1.5em;
  font-size: 0.62em;
  font-weight: 600;
  color: #e7e5e4;
}

.rigel-kal-cal__day--noir.is-empty {
  background: transparent;
  border-color: transparent;
  visibility: hidden;
}

.rigel-kal-cal__day--noir.is-weekend:not(.is-empty) {
  color: #c9a962;
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.08);
}

.rigel-kal-page--cover.rigel-kal-layout--slate-noir {
  display: flex;
  flex-direction: column;
}

.rigel-kal-page--cover.rigel-kal-layout--ai-cover {
  display: flex;
  flex-direction: column;
}

.rigel-kal-page--cover.rigel-kal-layout--slate-noir > .rigel-kal-noir-cover,
.rigel-kal-page--cover.rigel-kal-layout--ocean-glass > .rigel-kal-laguna-cover,
.rigel-kal-page--cover.rigel-kal-layout--terra-editorial > .rigel-kal-terra-cover,
.rigel-kal-page--cover.rigel-kal-layout--ai-cover > .rigel-kal-ai-cover {
  flex: 1;
  min-height: 0;
}

.rigel-kal-noir-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #09090b;
  color: #f5f0e8;
  position: relative;
  overflow: hidden;
}

.rigel-kal-noir-cover__frame {
  position: absolute;
  inset: 7% 8%;
  border: 1px solid rgba(201, 169, 98, 0.35);
  pointer-events: none;
}

.rigel-kal-noir-cover__frame::before,
.rigel-kal-noir-cover__frame::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(201, 169, 98, 0.45);
}

.rigel-kal-noir-cover__frame::before { top: 0; }
.rigel-kal-noir-cover__frame::after { bottom: 0; }

.rigel-kal-noir-cover__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12% 10%;
  text-align: center;
  gap: 0.3em;
}

.rigel-kal-noir-cover__logo {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.4em;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35em;
}

.rigel-kal-noir-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-noir-cover__year {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8em, 18vw, 4.8em);
  font-weight: 700;
  line-height: 0.92;
  color: #c9a962;
}

.rigel-kal-noir-cover__title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.72);
}

.rigel-kal-noir-cover__company {
  margin: 0.55em 0 0;
  font-size: 0.5em;
  font-weight: 500;
  color: #f5f0e8;
}

.rigel-kal-noir-cover__contact {
  list-style: none;
  margin: 0.35em 0 0;
  padding: 0;
  font-size: 0.4em;
  color: #a8a29e;
  line-height: 1.55;
}

.rigel-kal-noir--mini .rigel-kal-noir__aside,
.rigel-kal-noir--mini .rigel-kal-noir__tagline {
  display: none;
}

/* — Ocean Glass — */
.rigel-kal-wall__inner--ocean-glass,
.rigel-kal-desk__inner--ocean-glass {
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 42%, #f0f9ff 100%);
}

.rigel-kal-laguna {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.rigel-kal-laguna__hero {
  position: relative;
  flex: 0 0 44%;
  min-height: 0;
  overflow: hidden;
  background: #0284c7;
}

.rigel-kal-laguna__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-laguna__hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 165, 233, 0.55) 100%);
  pointer-events: none;
}

.rigel-kal-laguna__panel {
  flex: 1;
  margin: -1.1em 4.5% 0.45em;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.75em;
  box-shadow: 0 12px 36px rgba(2, 132, 199, 0.14);
  padding: 0.48em 0.45em 0.42em;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-laguna__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35em;
  margin-bottom: 0.32em;
  padding-bottom: 0.28em;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.rigel-kal-laguna__month {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88em;
  font-weight: 800;
  color: #0c4a6e;
  letter-spacing: 0.02em;
}

.rigel-kal-laguna__year {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0284c7;
}

.rigel-kal-laguna__layout {
  flex: 1;
  display: flex;
  gap: 0.38em;
  min-height: 0;
}

.rigel-kal-laguna__cal {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rigel-kal-laguna__cal .rigel-kal-cal__sheet,
.rigel-kal-laguna__cal .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-laguna__aside {
  flex: 0 0 34%;
  max-width: 34%;
  display: flex;
  flex-direction: column;
  gap: 0.32em;
  min-height: 0;
}

.rigel-kal-laguna__mini {
  flex: 1;
  min-height: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0.55em;
  padding: 0.35em 0.32em 0.3em;
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.rigel-kal-laguna__mini .rigel-kal-mini__title {
  font-size: 0.4em;
  font-weight: 800;
  color: #0369a1;
}

.rigel-kal-laguna__mini .rigel-kal-mini__day {
  font-size: 0.34em;
  color: #334155;
}

.rigel-kal-laguna__mini .rigel-kal-mini__day.is-weekend:not(.is-empty) {
  color: #0284c7;
}

.rigel-kal-laguna__brand {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border-radius: 0.55em;
  padding: 0.4em 0.38em;
  color: #fff;
}

.rigel-kal-laguna__brand-logo {
  width: 1.4em;
  height: 1.4em;
  border-radius: 0.32em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.22em;
}

.rigel-kal-laguna__brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-laguna__brand-name {
  display: block;
  font-size: 0.4em;
  font-weight: 700;
  line-height: 1.2;
}

.rigel-kal-laguna__brand-lines {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  margin-top: 0.18em;
  font-size: 0.33em;
  opacity: 0.88;
}

.rigel-kal-cal__dow--glass .rigel-kal-cal__dow-cell {
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.rigel-kal-cal__dow--glass .rigel-kal-cal__dow-cell.is-weekend {
  color: #0284c7;
}

.rigel-kal-cal__grid--glass {
  gap: 0.16em 0.12em;
  flex: 1;
}

.rigel-kal-cal__day--glass {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(2, 132, 199, 0.1);
  border-radius: 0.45em;
  min-height: 1.48em;
  font-size: 0.62em;
  font-weight: 600;
  color: #1e293b;
}

.rigel-kal-cal__day--glass.is-empty {
  background: transparent;
  border-color: transparent;
  visibility: hidden;
}

.rigel-kal-cal__day--glass.is-weekend:not(.is-empty) {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.22);
}

.rigel-kal-laguna-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #0ea5e9;
}

.rigel-kal-laguna-cover__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 15%, rgba(255, 255, 255, 0.45) 0%, transparent 55%),
    linear-gradient(165deg, #38bdf8 0%, #0284c7 55%, #0369a1 100%);
  pointer-events: none;
}

.rigel-kal-laguna-cover__card {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 78%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.85em;
  box-shadow: 0 18px 48px rgba(3, 105, 161, 0.22);
  padding: 1.1em 0.85em 0.95em;
  text-align: center;
}

.rigel-kal-laguna-cover__logo {
  width: 2.3em;
  height: 2.3em;
  margin: 0 auto 0.4em;
  border-radius: 0.5em;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rigel-kal-laguna-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-laguna-cover__year {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.4em, 16vw, 4em);
  font-weight: 800;
  line-height: 0.95;
  color: #0369a1;
}

.rigel-kal-laguna-cover__title {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #64748b;
  margin-top: 0.2em;
}

.rigel-kal-laguna-cover__company {
  margin: 0.5em 0 0;
  font-size: 0.48em;
  font-weight: 600;
  color: #0f172a;
}

.rigel-kal-laguna-cover__contact {
  list-style: none;
  margin: 0.32em 0 0;
  padding: 0;
  font-size: 0.38em;
  color: #64748b;
  line-height: 1.5;
}

.rigel-kal-laguna--mini .rigel-kal-laguna__aside {
  display: none;
}

.rigel-kal-laguna--mini .rigel-kal-laguna__panel {
  margin-top: -0.65em;
}

/* — Terra Editorial — */
.rigel-kal-wall__inner--terra-editorial,
.rigel-kal-desk__inner--terra-editorial {
  background: #faf7f2;
}

.rigel-kal-terra {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.rigel-kal-terra__photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e7e5e4;
}

.rigel-kal-terra__photo--top {
  flex: 0 0 30%;
}

.rigel-kal-terra__photo--bottom {
  flex: 0 0 24%;
}

.rigel-kal-terra__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-terra__photo--top img {
  object-position: center 35%;
}

.rigel-kal-terra__photo--bottom img {
  object-position: center 68%;
}

.rigel-kal-terra__photo-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 45%;
  pointer-events: none;
}

.rigel-kal-terra__photo-fade--top {
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, #faf7f2 100%);
}

.rigel-kal-terra__photo-fade--bottom {
  top: 0;
  background: linear-gradient(0deg, transparent 0%, #faf7f2 100%);
}

.rigel-kal-terra__core {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.15em 5.5% 0.35em;
  background: #faf7f2;
}

.rigel-kal-terra__head {
  flex: 0 0 auto;
  margin-bottom: 0.28em;
  text-align: center;
}

.rigel-kal-terra__num {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 0.95;
  color: #c2410c;
}

.rigel-kal-terra__month {
  margin: 0.06em 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #292524;
}

.rigel-kal-terra__year {
  display: block;
  margin-top: 0.12em;
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #a8a29e;
}

.rigel-kal-terra__cal-wrap {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 0.55em;
  border: 1px solid rgba(194, 65, 12, 0.12);
  padding: 0.38em 0.42em 0.32em;
  box-shadow: 0 8px 24px rgba(120, 53, 15, 0.07);
  display: flex;
  flex-direction: column;
  max-width: 94%;
  margin: 0 auto;
  width: 100%;
}

.rigel-kal-terra__cal-wrap .rigel-kal-cal__sheet,
.rigel-kal-terra__cal-wrap .rigel-kal-cal__sheet-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rigel-kal-terra__footer {
  flex: 0 0 auto;
  display: flex;
  gap: 0.35em;
  margin-top: 0.32em;
  align-items: stretch;
  max-width: 94%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.rigel-kal-terra__mini {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 0.45em;
  border: 1px solid rgba(194, 65, 12, 0.1);
  padding: 0.3em 0.28em 0.26em;
}

.rigel-kal-terra__mini .rigel-kal-mini__title {
  font-size: 0.34em;
  font-weight: 800;
  color: #c2410c;
}

.rigel-kal-terra__mini .rigel-kal-mini__day {
  font-size: 0.3em;
  color: #44403c;
}

.rigel-kal-terra__brand {
  flex: 0 0 40%;
  max-width: 40%;
  background: #292524;
  border-radius: 0.45em;
  padding: 0.32em 0.3em;
  color: #faf7f2;
}

.rigel-kal-terra__brand-logo {
  width: 1.3em;
  height: 1.3em;
  border-radius: 0.28em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.18em;
}

.rigel-kal-terra__brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-terra__brand-name {
  display: block;
  font-size: 0.36em;
  font-weight: 700;
  line-height: 1.2;
}

.rigel-kal-terra__brand-lines {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  margin-top: 0.12em;
  font-size: 0.28em;
  color: #a8a29e;
}

.rigel-kal-cal__dow--terra .rigel-kal-cal__dow-cell {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8a29e;
}

.rigel-kal-cal__dow--terra .rigel-kal-cal__dow-cell.is-weekend {
  color: #c2410c;
}

.rigel-kal-cal__grid--terra {
  gap: 0.12em 0.1em;
  flex: 1;
}

.rigel-kal-cal__day--terra {
  background: #faf7f2;
  border: none;
  border-radius: 0.35em;
  min-height: 1.45em;
  font-size: 0.6em;
  font-weight: 600;
  color: #292524;
}

.rigel-kal-cal__day--terra.is-empty {
  background: transparent;
  visibility: hidden;
}

.rigel-kal-cal__day--terra.is-weekend:not(.is-empty) {
  color: #c2410c;
  background: rgba(194, 65, 12, 0.08);
  font-weight: 700;
}

.rigel-kal-terra-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #faf7f2;
  position: relative;
  overflow: hidden;
}

.rigel-kal-terra-cover__block {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 55%;
  background: linear-gradient(145deg, #c2410c 0%, #9a3412 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

.rigel-kal-terra-cover__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 12% 10% 10%;
  gap: 0.25em;
}

.rigel-kal-terra-cover__logo {
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.4em;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(194, 65, 12, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35em;
}

.rigel-kal-terra-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-terra-cover__year {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6em, 17vw, 4.5em);
  font-weight: 700;
  line-height: 0.92;
  color: #292524;
}

.rigel-kal-terra-cover__title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #c2410c;
}

.rigel-kal-terra-cover__company {
  margin: 0.45em 0 0;
  font-size: 0.5em;
  font-weight: 600;
  color: #44403c;
}

.rigel-kal-terra-cover__contact {
  list-style: none;
  margin: 0.3em 0 0;
  padding: 0;
  font-size: 0.4em;
  color: #78716c;
  line-height: 1.5;
}

.rigel-kal-terra--mini .rigel-kal-terra__footer,
.rigel-kal-terra--mini .rigel-kal-terra__photo--bottom {
  display: none;
}

.rigel-kal-terra--mini .rigel-kal-terra__photo--top {
  flex: 0 0 42%;
}

.rigel-kal-terra--mini .rigel-kal-terra__core {
  padding-bottom: 0.25em;
}

.rigel-kal-theme--noir {
  --t-primary: #c9a962;
  --t-secondary: #f5f0e8;
  --t-weekend: #c9a962;
  --t-bg: #141416;
  --t-text: #e7e5e4;
  --t-head-font: "DM Sans", system-ui, sans-serif;
  --t-body-font: "DM Sans", system-ui, sans-serif;
}

.rigel-kal-theme--laguna {
  --t-primary: #0284c7;
  --t-secondary: #0ea5e9;
  --t-weekend: #0369a1;
  --t-bg: #f0f9ff;
  --t-text: #0f172a;
  --t-head-font: "DM Sans", system-ui, sans-serif;
  --t-body-font: "DM Sans", system-ui, sans-serif;
}

.rigel-kal-theme--terra {
  --t-primary: #c2410c;
  --t-secondary: #9a3412;
  --t-weekend: #c2410c;
  --t-bg: #faf7f2;
  --t-text: #292524;
  --t-head-font: "DM Sans", system-ui, sans-serif;
  --t-body-font: "DM Sans", system-ui, sans-serif;
}

.rigel-kal-page--thumb .rigel-kal-noir__hero-num {
  font-size: 1.4em;
}

.rigel-kal-page--thumb .rigel-kal-terra__num {
  font-size: 1em;
}

.rigel-kal-desk__inner--terra-editorial .rigel-kal-terra {
  flex-direction: column;
}

.rigel-kal-preview-month-upload__input {
  display: none;
}

.rigel-kal-preview-month-upload {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f3f1ed;
  border: 1px solid rgba(47, 62, 51, 0.1);
}

.rigel-kal-preview-month-upload__hint {
  margin: 0 0 0.45rem;
  font-family: var(--kal-sans);
  font-size: 12px;
  font-weight: 600;
  color: #3d4a42;
}

.rigel-kal-preview-month-upload__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.rigel-kal-preview-month-upload__btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--kal-gold);
  border-radius: 8px;
  background: #fff;
  font-family: var(--kal-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--kal-forest-2);
  cursor: pointer;
}

.rigel-kal-preview-month-upload__btn:hover {
  background: #faf8f4;
}

.rigel-kal-preview-month-upload__btn--ghost {
  border-color: rgba(47, 62, 51, 0.18);
  color: #5c5f62;
  font-weight: 600;
}

.rigel-kal-preview-month-upload__count {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--kal-sans);
  font-size: 11px;
  color: #5c5f62;
}

.rigel-kal-month-photos {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 12px;
  border: 1px solid rgba(47, 62, 51, 0.14);
  border-radius: 12px;
  background: linear-gradient(165deg, #f8faf8 0%, #fff 100%);
}

.rigel-kal-month-photos__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rigel-kal-month-photos__label {
  font-family: var(--kal-sans);
  font-size: 12px;
  font-weight: 700;
  color: #1a1c1d;
}

.rigel-kal-month-photos__clear {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--kal-sans);
  font-size: 11px;
  font-weight: 600;
  color: #b42318;
  cursor: pointer;
  text-decoration: underline;
}

.rigel-kal-month-photos__hint {
  margin: 0;
  font-family: var(--kal-sans);
  font-size: 11px;
  line-height: 1.45;
  color: #5c5f62;
}

.rigel-kal-month-photos__pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed rgba(47, 62, 51, 0.24);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.rigel-kal-month-photos__input {
  display: none;
}

.rigel-kal-month-photos__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.rigel-kal-month-photos__pick-text {
  font-family: var(--kal-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--kal-forest-2);
}

.rigel-kal-month-photos__strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.rigel-kal-month-photos__cell {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #eceae6;
  border: 1px solid rgba(47, 62, 51, 0.1);
}

.rigel-kal-month-photos__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rigel-kal-month-photos__cell-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  font-family: var(--kal-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

/* Design picker — 4 u redu, scroll za više templatea */
.rigel-kal-form__back--inline { margin-bottom: 1rem; }
.rigel-kal-design-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
  padding-bottom: 4px;
}
.rigel-kal-design-pick {
  display: flex; flex-direction: column; padding: 0;
  border: 2px solid rgba(47, 62, 51, 0.12); border-radius: 14px;
  background: #fff; cursor: pointer; text-align: left; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rigel-kal-design-pick:hover,
.rigel-kal-design-pick.is-selected {
  border-color: rgba(47, 62, 51, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.rigel-kal-design-pick__thumb {
  padding: 12px;
  background: #f0eeea;
  display: flex; justify-content: center; overflow: hidden;
}
.rigel-kal-design-pick__meta { padding: 12px 14px 16px; }
.rigel-kal-design-pick__label { display: block; font-size: 13px; font-weight: 700; color: #1a1c1d; }
.rigel-kal-design-pick__desc { display: block; margin-top: 0.35rem; font-size: 10px; line-height: 1.4; color: #5c5f62; }

@media (max-width: 1100px) {
  .rigel-kal-design-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rigel-kal-picker { grid-template-columns: 1fr; }
  .rigel-kal-design-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rigel-kal-workspace { grid-template-columns: 1fr; }
  .rigel-kal-preview-wrap { position: static; }
}

/* Cosmos AI — full-bleed generated cover background */
.rigel-kal-ai-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  overflow: hidden;
  color: #f0f9ff;
}

.rigel-kal-ai-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}

.rigel-kal-ai-cover__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 20, 0.72) 0%, rgba(5, 8, 20, 0.28) 42%, rgba(5, 8, 20, 0.55) 100%);
  pointer-events: none;
}

.rigel-kal-ai-cover__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12% 10%;
  text-align: center;
  gap: 0.3em;
}

.rigel-kal-ai-cover__logo {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.45em;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35em;
}

.rigel-kal-ai-cover__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rigel-kal-ai-cover__year {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8em, 18vw, 4.8em);
  font-weight: 700;
  line-height: 0.92;
  color: #e0f2fe;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.rigel-kal-ai-cover__title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(224, 242, 254, 0.78);
}

.rigel-kal-ai-cover__company {
  margin: 0.55em 0 0;
  font-size: 0.5em;
  font-weight: 500;
  color: #f8fafc;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.rigel-kal-ai-cover__contact {
  list-style: none;
  margin: 0.45em 0 0;
  padding: 0;
  font-size: 0.38em;
  line-height: 1.55;
  color: rgba(224, 242, 254, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.rigel-kal-page--thumb .rigel-kal-ai-cover__year {
  font-size: clamp(2em, 14vw, 3.2em);
}

.rigel-kal-page--thumb .rigel-kal-ai-cover__title {
  font-size: 0.48em;
}
