:root {
    --navy: #17314f;
    --line: #e2e8f0;
    --text: #223b57;
    --muted: #66788f;
    --yellow-dark: #d39a16;
    --cal-bg: #f7f3ef;
    --cal-title-bg: #54bfa2;
    --cal-off-bg: #a6d9cc;
    --cal-ink: #5a3a2c;
    --cal-muted: #8f7e73;
    --cal-line: #8e7468;
    --cal-rest: #57b79d;
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    position: relative;
    overflow-x: hidden;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
}

header,
main,
footer {
    position: relative;
}

/* =========================================
   WATERMARK
========================================= */

.site-watermark {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.site-watermark::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(52vw, 860px);
    height: 100vh;
    background: url("assets/media/Executive-Payroll-21-1.png") no-repeat right center / 180% auto;
    transform: translateX(10%) translateY(0);
    transform-origin: right center;
}

/* =========================================
   MINI HERO CARDS
========================================= */

.mini-card-link {
    --card-lift-y: 0px;
    text-decoration: none;
    transform: translate3d(0, var(--card-lift-y), 0);
    transition:
            transform 0.24s ease,
            box-shadow 0.24s ease,
            border-color 0.24s ease,
            background-color 0.24s ease,
            color 0.24s ease;
    will-change: transform, box-shadow, border-color;
    backface-visibility: hidden;
}

.mini-card-link strong,
.mini-card-link span {
    transition: color 0.24s ease;
}

.mini-card-link:hover {
    --card-lift-y: -4px;
    border-color: #d6dee8;
    box-shadow: 0 18px 36px rgba(16, 39, 65, 0.08);
}

.mini-card-link:hover strong {
    color: var(--yellow-dark);
}

.mini-card-link:hover span {
    color: var(--navy);
}

.mini-card-link:focus-visible {
    outline: none;
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 4px rgba(252, 198, 78, 0.18);
}

/* =========================================
   REVEAL
========================================= */

.reveal {
    --reveal-offset-y: 26px;
    --card-lift-y: 0px;
    opacity: 0;
    transform: translate3d(0, calc(var(--reveal-offset-y) + var(--card-lift-y)), 0);
    transition:
            opacity 0.55s ease,
            transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.24s ease,
            border-color 0.24s ease,
            background-color 0.24s ease,
            color 0.24s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.reveal.is-visible {
    --reveal-offset-y: 0px;
    opacity: 1;
}

/* =========================================
   CONTENT CARDS
========================================= */

:is(#overview, #january, #february, #march, #april, #june, #september, #october, #november, #december, #tools) article {
    --card-lift-y: 0px;
    transform: translate3d(0, calc(var(--reveal-offset-y, 0px) + var(--card-lift-y)), 0);
    /* The lift comes from --card-lift-y only; the cards' Tailwind
       hover:-translate-y-1 would add an un-animated 4px jump on top. */
    translate: none;
    will-change: transform, box-shadow, border-color;
    backface-visibility: hidden;
}

:is(#overview, #january, #february, #march, #april, #june, #september, #october, #november, #december, #tools) article:hover {
    --card-lift-y: -7px;
}

:is(#january, #february, #march, #april, #june, #september, #october, #november, #december) article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

:is(#january, #february, #march, #april, #june, #september, #october, #november, #december) article > div:nth-child(2) {
    display: inline-flex !important;
    align-self: flex-start;
    width: auto !important;
    max-width: 100%;
    flex: 0 0 auto;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* =========================================
   BADGE ROW FIXES
========================================= */

.card-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.card-badge,
.employee-card-header .employee-card-badge,
.employee-card-header .employee-card-badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.card-badge--long {
    line-height: 1.35;
    text-align: left;
}

.employee-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.employee-card-header .employee-card-badge {
    padding: 8px 12px;
}

.employee-card-header .employee-card-badge-new {
    padding: 4px 15px;
}

/* =========================================
   HR CARD TRACKER
========================================= */

.hr-card-tracker {
    display: grid;
    gap: 18px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
}

.hr-card-tracker__top {
    display: block;
}

.hr-card-check {
    display: block;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.hr-card-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hr-card-check-ui {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #b7e4d6;
    border-radius: 16px;
    background: #eefaf5;
    transition:
            background-color 0.22s ease,
            border-color 0.22s ease,
            box-shadow 0.22s ease,
            transform 0.18s ease;
}

.hr-card-check:hover .hr-card-check-ui {
    border-color: #57b79d;
    box-shadow: 0 10px 24px rgba(87, 183, 157, 0.14);
}

.hr-card-checkbox:focus-visible + .hr-card-check-ui {
    outline: none;
    border-color: #57b79d;
    box-shadow: 0 0 0 4px rgba(87, 183, 157, 0.18);
}

.hr-card-check-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #dff3ec;
    border: 1px solid #9fd5c3;
    transition:
            background-color 0.22s ease,
            border-color 0.22s ease,
            transform 0.18s ease;
}

.hr-card-check-icon::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.18s ease;
}

.hr-card-check-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #218f73;
    transition: color 0.22s ease;
}

.hr-card-checkbox:checked + .hr-card-check-ui {
    background: #57b79d;
    border-color: #57b79d;
    box-shadow: 0 12px 26px rgba(87, 183, 157, 0.24);
}

.hr-card-checkbox:checked + .hr-card-check-ui .hr-card-check-icon {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.hr-card-checkbox:checked + .hr-card-check-ui .hr-card-check-icon::after {
    transform: rotate(-45deg) scale(1);
}

.hr-card-checkbox:checked + .hr-card-check-ui .hr-card-check-text {
    color: #ffffff;
}

.hr-card-check:active .hr-card-check-ui {
    transform: scale(0.995);
}

.hr-card-notes-wrap {
    display: grid;
    gap: 8px;
}

.hr-card-notes-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.hr-card-notes {
    width: 100%;
    min-height: 68px;
    padding: 10px 12px;
    resize: vertical;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    transition:
            border-color 0.22s ease,
            box-shadow 0.22s ease,
            background 0.22s ease;
}

.hr-card-notes::placeholder {
    color: #8a9ab0;
}

.hr-card-notes:focus {
    outline: none;
    background: #fff;
    border-color: #cfd8e3;
    box-shadow: 0 0 0 4px rgba(23, 49, 79, 0.08);
}

.hr-card-notes-meta {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    line-height: 1;
    color: var(--muted);
}

.hr-card-notes-meta.is-limit {
    color: #b3173a;
}

/* =========================================
   RESOURCE CARD
========================================= */

.resource-card-wrap {
    position: relative;
    overflow: visible;
}

.resource-card-wrap::before {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    border-radius: 36px;
    filter: blur(22px);
    transition: opacity 0.28s ease;
}

.resource-card {
    position: relative;
    z-index: 1;
    box-shadow: 0 16px 36px rgba(16, 39, 65, 0.05);
    transition:
            border-color 0.28s ease,
            box-shadow 0.28s ease;
}

.resource-card-wrap:hover::before {
    opacity: 1;
}

.resource-card-wrap:hover .resource-card {
    border-color: #ecd58f;
    box-shadow: 0 18px 38px rgba(16, 39, 65, 0.07);
}

/* =========================================
   TOOLS HEADER
========================================= */

.tools-head-block {
    padding-top: 32px;
}

.tools-head-text {
    margin-bottom: 10px;
}

.tools-head-button-wrap {
    margin-bottom: 70px;
}

.tools-platforms-label {
    margin-bottom: 14px;
}

/* =========================================
   ANNUAL CALENDAR CONTROLS
========================================= */

.annual-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto 14px;
    padding: 18px 22px;
}

.annual-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.annual-calendar-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.annual-calendar-legend__swatch {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(23, 49, 79, 0.12);
}

.annual-calendar-legend__swatch.is-weekend {
    background: #a6d9cc;
}

.annual-calendar-legend__swatch.is-holiday {
    background: #59b79d;
}

.annual-calendar-legend__swatch.is-hr {
    background: #ffe9a6;
}

.annual-calendar-print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #d6dee8;
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
            transform 0.2s ease,
            border-color 0.22s ease,
            box-shadow 0.22s ease,
            background-color 0.22s ease;
}

.annual-calendar-print-btn:hover {
    transform: translateY(-1px);
    border-color: #bfcbd8;
    background: #fafcff;
    box-shadow: 0 10px 24px rgba(16, 39, 65, 0.08);
}

.annual-calendar-print-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(23, 49, 79, 0.12);
}

.annual-calendar-feedback {
    min-height: 24px;
    margin: 0 0 12px;
    color: #218f73;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

/* =========================================
   ANNUAL CALENDAR
========================================= */

.year-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 38px;
    align-items: start;
}

.month-sheet {
    position: relative;
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
}

.month-sheet__head {
    position: relative;
}

.month-sheet__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    background: var(--cal-title-bg);
    color: var(--cal-ink);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
}

.month-sheet__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin: 8px 0 6px;
    color: var(--cal-muted);
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
}

.month-sheet__weekdays span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
}

.month-sheet__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(6, 28px);
    gap: 3px;
    min-height: 183px;
}

.month-sheet__day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cal-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    appearance: none;
}

.month-sheet__day-number {
    position: relative;
    z-index: 1;
}

.month-sheet__day--empty {
    visibility: hidden;
}

.month-sheet__day.is-weekend {
    background: #a6d9cc;
    color: #17314f;
    font-weight: 800;
}

.month-sheet__day.is-holiday {
    background: #59b79d;
    color: #17314f;
    font-weight: 800;
}

.month-sheet__day.is-hr {
    background: #ffe9a6;
    color: #8b6200;
    font-weight: 800;
    cursor: pointer;
    transition:
            transform 0.18s ease,
            box-shadow 0.18s ease,
            background-color 0.18s ease;
}

.month-sheet__day.is-hr:hover,
.month-sheet__day.is-hr:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(252, 198, 78, 0.18);
}

.month-sheet__day.is-combined {
    background: linear-gradient(135deg, #59b79d 0 50%, #ffe9a6 50% 100%);
    color: #17314f;
}

.month-sheet__day.is-selected {
    box-shadow: none;
}

.month-sheet__day.is-today {
    border-radius: 2px;
    box-shadow: inset 0 0 0 2px #17314f;
}

.month-sheet__day-count {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    border-radius: 999px;
    background: rgba(23, 49, 79, 0.95);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.month-sheet__divider {
    height: 1px;
    margin-top: 14px;
    background: var(--cal-line);
}

.month-sheet__meta {
    margin-top: 8px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.35;
}

.month-sheet__meta-line {
    display: block;
    color: var(--cal-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.month-sheet__meta-line--rest {
    margin-top: 4px;
    color: var(--cal-rest);
}

.month-sheet__hr-block {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(142, 116, 104, 0.28);
}

.month-sheet__hr-title {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.month-sheet__hr-list {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.month-sheet__hr-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #f3df9d;
    border-radius: 14px;
    background: #fffaf0;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition:
            border-color 0.18s ease,
            background-color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
}

.month-sheet__hr-item:hover,
.month-sheet__hr-item:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: #ebc85d;
    background: #fff5d8;
    box-shadow: 0 8px 18px rgba(252, 198, 78, 0.12);
}

.month-sheet__hr-item-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffe39b;
    color: #8b6200;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.month-sheet__hr-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.month-sheet__hr-item-text {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.month-sheet__hr-item-meta {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.month-sheet__hr-empty {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* =========================================
   MONTH CALENDAR DOWNLOAD ACTION
========================================= */

.month-sheet__calendar-action {
    position: absolute;
    top: -13px;
    right: -13px;
    z-index: 6;
    margin: 0;
    text-align: initial;
}

.month-sheet__calendar-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    min-width: 31px;
    height: 31px;
    min-height: 31px;
    padding: 0;
    border: 1px solid rgba(23, 49, 79, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(16, 39, 65, 0.12);
    transition:
            transform 0.18s ease,
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            background-color 0.2s ease,
            color 0.2s ease;
}

.month-sheet__calendar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.month-sheet__calendar-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.month-sheet__calendar-btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
}

.month-sheet__calendar-btn:hover {
    transform: translateY(-1px);
    border-color: #ebc85d;
    background: #fff7db;
    color: #8b6200;
    box-shadow: 0 12px 24px rgba(252, 198, 78, 0.22);
}

.month-sheet__calendar-btn:focus-visible {
    outline: none;
    border-color: #ebc85d;
    box-shadow: 0 0 0 4px rgba(252, 198, 78, 0.24);
}

.month-sheet__calendar-btn::after,
.month-sheet__calendar-btn::before {
    position: absolute;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition:
            opacity 0.18s ease,
            transform 0.18s ease;
}

.month-sheet__calendar-btn::after {
    content: attr(data-calendar-tooltip);
    bottom: calc(100% + 10px);
    z-index: 30;
    width: max-content;
    max-width: 230px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #17314f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    box-shadow: 0 12px 24px rgba(16, 39, 65, 0.18);
}

.month-sheet__calendar-btn::before {
    content: "";
    bottom: calc(100% + 4px);
    right: 10px;
    z-index: 31;
    border-width: 6px 5px 0;
    border-style: solid;
    border-color: #17314f transparent transparent transparent;
}

.month-sheet__calendar-btn:hover::after,
.month-sheet__calendar-btn:hover::before,
.month-sheet__calendar-btn:focus-visible::after,
.month-sheet__calendar-btn:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

.month-sheet__calendar-note {
    display: none;
}

.month-sheet__day.has-holiday-tooltip {
    position: relative;
    cursor: help;
}

.month-sheet__day.has-holiday-tooltip::after,
.month-sheet__day.has-holiday-tooltip::before {
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition:
            opacity 0.18s ease,
            transform 0.18s ease;
}

.month-sheet__day.has-holiday-tooltip::after {
    content: attr(data-holiday);
    bottom: calc(100% + 8px);
    z-index: 20;
    padding: 8px 10px;
    white-space: nowrap;
    background: #17314f;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(16, 39, 65, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.month-sheet__day.has-holiday-tooltip::before {
    content: "";
    bottom: calc(100% + 2px);
    border-width: 6px 5px 0;
    border-style: solid;
    border-color: #17314f transparent transparent transparent;
}

.month-sheet__day.has-holiday-tooltip:hover::after,
.month-sheet__day.has-holiday-tooltip:hover::before,
.month-sheet__day.has-holiday-tooltip:focus-visible::after,
.month-sheet__day.has-holiday-tooltip:focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   PORTFOLIO CAROUSEL
========================================= */

.portfolio-wp {
    position: relative;
}

.portfolio-wp__intro {
    max-width: 760px;
}

.portfolio-wp__title {
    margin: 0;
    color: #4b4b4b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.portfolio-wp__separator {
    width: 100%;
    max-width: 200px;
    height: 10px;
    margin-top: 28px;
    margin-bottom: 34px;
    background: #fcc64e;
}

.portfolio-wp__carousel {
    position: relative;
}

.portfolio-wp__viewport {
    overflow: hidden;
}

.portfolio-wp__track {
    display: flex;
    gap: 13px;
    will-change: transform;
    transition: transform 0.48s ease;
}

.portfolio-wp__slide {
    flex: 0 0 calc((100% - 39px) / 4);
}

.portfolio-wp__slide a {
    display: block;
    text-decoration: none;
}

.portfolio-wp__slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1950 / 1300;
    object-fit: cover;
    background: #f3f3f3;
}

.portfolio-wp__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 37px;
    padding: 0;
    border: 0;
    background: rgba(120, 120, 120, 0.82);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
            background 0.2s ease,
            opacity 0.2s ease;
}

.portfolio-wp__nav:hover {
    background: rgba(95, 95, 95, 0.92);
}

.portfolio-wp__nav span {
    display: block;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-1px);
}

.portfolio-wp__nav--prev {
    left: 0;
}

.portfolio-wp__nav--next {
    right: 0;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-wp {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
    background: transparent;
}

.contact-wp::before {
    display: none;
}

.contact-wp::after {
    content: "";
    position: absolute;
    top: 240px;
    right: clamp(18px, 1.8vw, 36px);
    width: 18px;
    height: 660px;
    background: url("https://sb-bg.com/app/uploads/2026/04/Yellow-vertical-line-design-element.png") center center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.contact-wp > .mx-auto {
    position: relative;
    z-index: 1;
}

.contact-wp__intro {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}

.contact-wp__kicker {
    margin: 0;
    color: #4b4b4b;
    font-size: clamp(1.1rem, 1.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.005em;
    white-space: nowrap;
}

.contact-wp__separator {
    width: min(100%, 752px);
    height: 1px;
    margin: 34px auto 38px;
    background: #efbf43;
}

.contact-wp__subtitle {
    margin: 0;
    color: #4b4b4b;
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.18;
    font-weight: 400;
}

.contact-wp__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: clamp(54px, 6vw, 120px);
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-wp__form {
    margin-top: 0;
}

.contact-wp__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 30px;
}

.contact-wp__field {
    position: relative;
}

.contact-wp__field--full {
    grid-column: 1 / -1;
}

.contact-wp__field input,
.contact-wp__field select,
.contact-wp__field textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: rgba(255, 255, 255, 0.06);
    color: #5a5a5a;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 2px;
    transition:
            border-color 0.18s ease,
            background-color 0.18s ease;
}

.contact-wp__field input,
.contact-wp__field select {
    min-height: 63px;
    padding: 0 18px 0 42px;
}

.contact-wp__field textarea {
    min-height: 122px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-wp__field input::placeholder,
.contact-wp__field textarea::placeholder,
.contact-wp__field select {
    color: #666666;
}

.contact-wp__field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 50px;
    padding-left: 42px;
}

.contact-wp__field input:focus,
.contact-wp__field select:focus,
.contact-wp__field textarea:focus {
    outline: none;
    border-color: #bcbcbc;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.contact-wp__icon {
    position: absolute;
    top: 21px;
    left: 15px;
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: #575757;
    pointer-events: none;
}

.contact-wp__icon svg {
    width: 100%;
    height: 100%;
}

.contact-wp__select-wrap {
    position: relative;
}

.contact-wp__select-arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    display: inline-flex;
    color: #5f5f5f;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-wp__privacy {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b4b4b;
    font-size: 12px;
    line-height: 1.6;
    text-align: justify;
}

.contact-wp__notice {
    display: none;
}

.contact-wp__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.contact-wp__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid #df1c48;
    background: #df1c48;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    transition:
            background 0.18s ease,
            color 0.18s ease,
            border-color 0.18s ease;
}

.contact-wp__submit:visited {
    color: #ffffff;
}

.contact-wp__submit:hover,
.contact-wp__submit:focus-visible {
    background: #ffffff;
    color: #df1c48;
    border-color: #df1c48;
    outline: none;
}

.contact-wp__info-col {
    padding-top: 42px;
    padding-right: clamp(0px, 3vw, 70px);
}

.contact-wp__info-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-wp__info-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
    color: #4b4b4b;
    font-size: 17px;
    line-height: 1.62;
}

.contact-wp__info-item a {
    color: #4b4b4b;
    text-decoration: none;
}

.contact-wp__info-item a:hover {
    text-decoration: underline;
}

.contact-wp__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border-radius: 999px;
    background: #efbf43;
    color: #ffffff;
}

.contact-wp__info-icon svg {
    width: 15px;
    height: 15px;
}

.contact-wp__social-block {
    margin-top: 36px;
}

.contact-wp__social-block h3 {
    margin: 0 0 14px;
    color: #4b4b4b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: 0.01em;
}

.contact-wp__socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-wp__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition:
            transform 0.18s ease,
            opacity 0.18s ease;
}

.contact-wp__social:hover {
    transform: translateY(-1px);
    opacity: 0.86;
}

.contact-wp__social--facebook {
    color: #3b5998;
}

.contact-wp__social--youtube {
    color: #cd201f;
    font-size: 19px;
}

.contact-wp__social--linkedin {
    color: #0077b5;
    font-size: 18px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {
    .portfolio-wp__slide {
        flex-basis: calc((100% - 13px) / 2);
    }

    .contact-wp__layout {
        max-width: 980px;
        gap: 42px 54px;
    }

    .contact-wp__info-col {
        padding-right: 0;
    }
}

@media (max-width: 1100px) {
    .year-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .site-watermark::before {
        width: min(62vw, 700px);
        background-size: 190% auto;
        transform: translateX(14%) translateY(4%);
    }
}

@media (max-width: 1023px) {
    .annual-calendar-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .annual-calendar-print-btn {
        width: 100%;
    }

    .contact-wp::after {
        display: none;
    }

    .contact-wp__layout {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .contact-wp__info-col {
        padding-top: 12px;
    }
}

@media (max-width: 820px) {
    .year-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

@media (max-width: 768px) {
    .site-watermark {
        display: none;
    }

    .month-sheet__calendar-btn::after {
        width: max-content;
        max-width: min(230px, calc(100vw - 40px));
    }

    .month-sheet__day.has-holiday-tooltip::after {
        width: max-content;
        max-width: min(220px, calc(100vw - 32px));
        white-space: normal;
        text-align: center;
    }

    .hr-card-check-ui {
        min-height: 48px;
        padding: 0 14px;
        border-radius: 14px;
    }

    .hr-card-check-text {
        font-size: 14px;
    }

    /*
       Mobile badge system:
       - no duplicated first/last-child font sizes
       - no ellipsis
       - badge pairs fill the card width
    */
    .employee-card-header,
    #february article > header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .employee-card-header .employee-card-badge,
    .employee-card-header .employee-card-badge-new,
    #february article > header > div {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        min-height: 31px;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 8.7px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.01em;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        text-align: center;
        margin-left: 0 !important;
    }

    .employee-card-header .employee-card-badge,
    #february article > header > div:first-child {
        flex: 0 1 auto;
    }

    .employee-card-header .employee-card-badge-new,
    #february article > header > div:last-child {
        flex: 0 1 auto;
        margin-left: auto !important;
    }


}

@media (max-width: 767px) {
    .portfolio-wp__title {
        font-size: 22px;
        line-height: 1.35;
    }

    .portfolio-wp__separator {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .portfolio-wp__slide {
        flex-basis: 100%;
    }

    .portfolio-wp__nav {
        width: 32px;
        height: 34px;
    }

    .contact-wp {
        padding: 56px 0 72px;
    }

    .contact-wp__intro {
        margin-bottom: 36px;
    }

    .contact-wp__separator {
        margin: 24px auto 26px;
    }

    .contact-wp__kicker {
        font-size: 2.1rem;
    }

    .contact-wp__subtitle {
        font-size: 1.9rem;
    }

    .contact-wp__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-wp__privacy {
        text-align: left;
    }

    .contact-wp__actions {
        justify-content: stretch;
    }

    .contact-wp__submit {
        width: 100%;
    }

    .contact-wp__info-item {
        font-size: 16px;
        line-height: 1.58;
    }
}

@media (max-width: 639px) {
    .hero-highlights-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-highlights-list .mini-card-link {
        display: grid;
        grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        min-height: auto;
        padding: 14px 16px;
        border-radius: 16px;
    }

    .hero-highlights-list .mini-card-link strong {
        min-width: 0;
        font-size: 16px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero-highlights-list .mini-card-link span {
        min-width: 0;
        max-width: 100%;
        font-size: 12.5px;
        line-height: 1.3;
        text-align: right;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 520px) {
    .year-grid {
        grid-template-columns: 1fr;
    }

    .month-sheet {
        max-width: 220px;
    }
}

@media (max-width: 390px) {
    .hero-highlights-list .mini-card-link {
        grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
        gap: 10px;
        padding: 13px 14px;
    }

    .hero-highlights-list .mini-card-link strong {
        font-size: 15px;
    }

    .hero-highlights-list .mini-card-link span {
        font-size: 12px;
        line-height: 1.25;
    }

    .employee-card-header,
    #february article > header {
        gap: 7px;
    }

    .employee-card-header .employee-card-badge,
    .employee-card-header .employee-card-badge-new,
    #february article > header > div {
        min-height: 30px;
        padding: 0 8px;
        font-size: 8.2px;
        letter-spacing: 0;
    }
}

@media (max-width: 360px) {
    .employee-card-header,
    #february article > header {
        gap: 6px;
    }

    .employee-card-header .employee-card-badge,
    .employee-card-header .employee-card-badge-new,
    #february article > header > div {
        min-height: 29px;
        padding: 0 7px;
        font-size: 7.7px;
    }
}

/* =========================================
   CONTACT DEMO CTA RESPONSIVE FIX
========================================= */

.contact-demo__heading {
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .contact-demo__heading {
        transform: translateY(-24px);
    }
}
@media (max-width: 1023px) {
    .contact-demo__layout {
        gap: 22px;
    }

    .contact-demo__heading {
        align-items: center;
        justify-content: flex-start;
    }

    #contact-demo h4 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 640px) {
    #contact-demo .reveal {
        padding: 28px 22px;
    }

    .contact-demo__layout {
        gap: 20px;
    }

    .contact-demo__heading > div {
        margin-bottom: 18px;
    }

    #contact-demo h4 {
        max-width: 320px;
        font-size: 26px;
        line-height: 1.2;
    }

    #contact-demo p {
        font-size: 16px;
        line-height: 1.75;
    }
}
/* =========================================
   PRINT
========================================= */

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        size: A4 landscape;
        margin: 10mm;
    }

    body {
        background: #ffffff !important;
        color: #16314f !important;
    }

    .sb-wp-header,
    .sb-wp-header-spacer,
    #hero,
    #january,
    #february,
    #march,
    #april,
    #june,
    #september,
    #october,
    #november,
    #december,
    #risk-audit,
    #tools,
    #solutions-portfolio,
    #contact-demo,
    #sb-site-footer,
    .site-watermark {
        display: none !important;
    }

    #annual-calendar {
        display: block !important;
        padding: 0 !important;
    }

    #annual-calendar .mx-auto {
        max-width: none !important;
        padding: 0 !important;
    }

    .annual-calendar-intro {
        margin-bottom: 12mm !important;
        text-align: center !important;
    }

    .annual-calendar-intro h2 {
        color: #16314f !important;
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-top: 8px !important;
    }

    .annual-calendar-intro p {
        color: #667892 !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        max-width: 720px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .annual-calendar-toolbar {
        box-shadow: none !important;
        border: 1px solid #dbe4ee !important;
        background: #ffffff !important;
        padding: 10px 14px !important;
        margin-bottom: 10mm !important;
    }

    #annual-calendar-print-btn,
    .month-sheet__calendar-action {
        display: none !important;
    }

    .annual-calendar-legend {
        display: flex !important;
        justify-content: center !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .annual-calendar-legend__item {
        color: #16314f !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    .annual-calendar-legend__swatch.is-weekend {
        background: #a9d9ce !important;
        border-color: #8fcabb !important;
    }

    .annual-calendar-legend__swatch.is-holiday {
        background: #55b99d !important;
        border-color: #55b99d !important;
    }

    .annual-calendar-legend__swatch.is-hr {
        background: #ffe58f !important;
        border-color: #f0c54c !important;
    }

    .year-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12mm 8mm !important;
        align-items: start !important;
    }

    .month-sheet {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
        padding: 0 !important;
    }

    .month-sheet__head {
        display: block !important;
    }

    .month-sheet__title {
        background: #55b99d !important;
        color: #5a3226 !important;
        font-size: 16px !important;
        letter-spacing: 0.32em !important;
        padding: 8px 10px !important;
        text-align: center !important;
    }

    .month-sheet__weekdays {
        color: #7f6b61 !important;
        font-size: 10px !important;
        margin-top: 7px !important;
    }

    .month-sheet__days {
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .month-sheet__day {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 11px !important;
        color: #5a3a2f !important;
        background: transparent !important;
    }

    .month-sheet__day.is-weekend {
        background: #a9d9ce !important;
        color: #16314f !important;
        font-weight: 800 !important;
    }

    .month-sheet__day.is-holiday {
        background: #55b99d !important;
        color: #16314f !important;
        font-weight: 800 !important;
    }

    .month-sheet__day.is-hr {
        background: #ffe58f !important;
        color: #6b4a00 !important;
        font-weight: 800 !important;
    }

    .month-sheet__divider {
        border-color: #7c5948 !important;
        margin: 10px 0 7px !important;
    }

    .month-sheet__meta {
        color: #5a3a2f !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
        letter-spacing: 0.12em !important;
    }

    .month-sheet__meta-line--rest {
        color: #55b99d !important;
    }

    .month-sheet__hr-block {
        margin-top: 8px !important;
        padding-top: 8px !important;
        border-top: 1px dashed #dbe4ee !important;
    }

    .month-sheet__hr-title {
        color: #16314f !important;
        font-size: 11px !important;
        letter-spacing: 0.12em !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .month-sheet__hr-list {
        gap: 4px !important;
    }

    .month-sheet__hr-item {
        background: #fffdf5 !important;
        border: 1px solid #f0c54c !important;
        color: #16314f !important;
        min-height: 24px !important;
        padding: 4px 7px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .month-sheet__hr-item-day {
        background: #ffe58f !important;
        color: #6b4a00 !important;
        min-width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .month-sheet__hr-item-text {
        font-size: 9.5px !important;
        line-height: 1.25 !important;
    }

    .month-sheet__hr-empty {
        color: #667892 !important;
        font-size: 10px !important;
    }
}

/* Card top line: colour the card's own top border instead of an absolute
   stripe, so the line follows the rounded corners instead of being clipped. */
article > .absolute.inset-x-0.top-0.h-1 {
    display: none;
}

article:has(> .absolute.inset-x-0.top-0.h-1) {
    border-top-width: 4px;
}

article:has(> .absolute.inset-x-0.top-0.h-1.bg-sb-yellow-main) {
    border-top-color: #fcc64e;
}

article:has(> .absolute.inset-x-0.top-0.h-1.bg-sb-green-main) {
    border-top-color: #4ec5a5;
}

article:has(> .absolute.inset-x-0.top-0.h-1.bg-sb-red-main) {
    border-top-color: #df1c48;
}

/* Slightly tighter gap between the top line and the badge. */
:is(#january, #february, #march, #april, #june, #september, #october, #november, #december) article {
    padding-top: 20px;
}

#risk-audit .resource-card {
    padding-top: 20px;
}

@media (min-width: 768px) {
    #risk-audit .resource-card {
        padding-top: 26px;
    }
}

/* Storage notice modal */
.storage-notice {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 8px;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    color: #17314f;
}

.storage-notice__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 16px 20px;
    border-bottom: 1px solid #dee2e6;
}

.storage-notice__title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #17314f;
}

.storage-notice__close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.storage-notice__close:hover {
    color: #17314f;
    background: #f1f3f5;
}

.storage-notice__body {
    padding: 18px 20px;
}

.storage-notice__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #2c3e55;
}

.storage-notice__note {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5b6b80;
}

.storage-notice__footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid #dee2e6;
}

.storage-notice__confirm {
    min-height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #fcc64e;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.storage-notice__confirm:hover {
    background: #f0b72f;
}

.storage-notice__close:focus-visible,
.storage-notice__confirm:focus-visible {
    outline: 2px solid #17314f;
    outline-offset: 2px;
}

/* =========================================
   ANNUAL CALENDAR 2027 – look taken from the calendar-2027 project
   (overrides the 2026 month-sheet styles above)
========================================= */

#annual-calendar {
    --c27-ink: #1d1d1b;
    --c27-green: #4ec5a5;
    --c27-green-dark: #28947a;
    --c27-green-soft: #d4ece6;
    --c27-line: #9ddccb;
    --c27-font: "Montserrat", Arial, Helvetica, sans-serif;
}

.annual-calendar-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 18px;
    margin: 0 auto 6px;
    color: var(--c27-ink);
    font-family: var(--c27-font);
    font-size: 19px;
    line-height: 1.4;
    text-align: center;
}

.annual-calendar-summary strong {
    font-weight: 700;
}

#annual-calendar .annual-calendar-toolbar {
    justify-content: center;
    margin-bottom: 26px;
}

#annual-calendar .annual-calendar-legend {
    justify-content: center;
    gap: 12px 30px;
}

#annual-calendar .annual-calendar-legend__item {
    color: var(--c27-ink);
    font-family: var(--c27-font);
    font-size: 15px;
    font-weight: 400;
}

#annual-calendar .annual-calendar-legend__swatch {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 4px;
}

#annual-calendar .annual-calendar-legend__swatch.is-holiday {
    background: var(--c27-green);
}

#annual-calendar .annual-calendar-legend__swatch.is-substitute {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--c27-green);
}

#annual-calendar .annual-calendar-legend__swatch.is-weekend {
    background: var(--c27-green-soft);
}

#annual-calendar .annual-calendar-legend__swatch.is-hr {
    background: #ffe9a6;
}

#annual-calendar .year-grid {
    gap: 44px 40px;
}

#annual-calendar .month-sheet {
    max-width: 300px;
    color: var(--c27-ink);
    font-family: var(--c27-font);
}

#annual-calendar .month-sheet__head {
    position: relative;
    height: 100px;
}

#annual-calendar .month-sheet__number {
    position: absolute;
    top: 0;
    right: 6%;
    background: linear-gradient(to bottom, rgba(78, 197, 165, 0.85) 15%, rgba(78, 197, 165, 0) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 106px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.02em;
    user-select: none;
}

#annual-calendar .month-sheet__title {
    position: absolute;
    right: 0;
    bottom: 10px;
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    color: var(--c27-ink);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

#annual-calendar .month-sheet__calendar-action {
    top: 6px;
    right: auto;
    left: 0;
}

#annual-calendar .month-sheet__calendar-btn::after {
    right: auto;
    left: 0;
}

#annual-calendar .month-sheet__calendar-btn::before {
    right: auto;
    left: 10px;
}

#annual-calendar .month-sheet__weekdays {
    margin: 0;
    color: var(--c27-ink);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}

#annual-calendar .month-sheet__weekdays span {
    min-height: 0;
    padding-bottom: 6px;
}

#annual-calendar .month-sheet__weekdays span.is-weekend {
    color: var(--c27-green);
}

#annual-calendar .month-sheet__days {
    grid-template-rows: repeat(6, 26px);
    gap: 4px 0;
    min-height: 176px;
}

#annual-calendar .month-sheet__day {
    justify-self: center;
    width: 29px;
    height: 25px;
    border-radius: 4px;
    color: var(--c27-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
}

#annual-calendar .month-sheet__day.is-weekend {
    background: var(--c27-green-soft);
    color: var(--c27-green-dark);
    font-weight: 400;
}

#annual-calendar .month-sheet__day.is-holiday {
    background: var(--c27-green);
    color: #ffffff;
    font-weight: 400;
}

#annual-calendar .month-sheet__day.is-substitute {
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--c27-green);
    color: var(--c27-green);
}

#annual-calendar .month-sheet__day.is-hr {
    background: #ffe9a6;
    color: #8b6200;
    font-weight: 700;
}

#annual-calendar .month-sheet__day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--c27-ink);
}

#annual-calendar .month-sheet__day.has-holiday-tooltip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--c27-ink);
}

#annual-calendar .month-sheet__day.has-holiday-tooltip::after {
    background: var(--c27-ink);
    border-radius: 8px;
}

#annual-calendar .month-sheet__day.has-holiday-tooltip::before {
    border-color: var(--c27-ink) transparent transparent transparent;
}

#annual-calendar .month-sheet__divider {
    height: 2px;
    margin-top: 20px;
    background: var(--c27-line);
}

#annual-calendar .month-sheet__meta {
    margin-top: 10px;
    line-height: 1.6;
    text-transform: none;
}

#annual-calendar .month-sheet__meta-row {
    display: block;
}

#annual-calendar .month-sheet__meta-line,
#annual-calendar .month-sheet__meta-sep {
    display: inline;
    color: var(--c27-ink);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

#annual-calendar .month-sheet__meta-sep {
    margin: 0 4px;
}

#annual-calendar .month-sheet__meta-line--rest {
    display: block;
    margin-top: 0;
    color: var(--c27-green-dark);
    font-weight: 500;
}

#annual-calendar .month-sheet__hr-block {
    border-top-color: var(--c27-line);
}

#annual-calendar .month-sheet__hr-title {
    color: var(--c27-ink);
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* long HR texts stay in the page font – Montserrat's Bulgarian forms are hard to read in small running text */
#annual-calendar .month-sheet__hr-block {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

#annual-calendar .month-sheet__hr-item {
    align-items: center;
}

/* keep the calendar above the fixed Sb watermark */
#annual-calendar > .mx-auto {
    position: relative;
    z-index: 1;
}

#annual-calendar .month-sheet__hr-empty {
    font-size: 12px;
}

@media (max-width: 767px) {
    .annual-calendar-summary {
        flex-wrap: nowrap;
        gap: 0 22px;
        font-size: 12px;
    }

    .annual-calendar-summary__sep {
        display: none;
    }

    .annual-calendar-summary__item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .annual-calendar-summary__item strong {
        font-size: 20px;
        line-height: 1.2;
    }

    #annual-calendar .annual-calendar-legend {
        gap: 10px 20px;
    }

    #annual-calendar .annual-calendar-legend__item {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    #annual-calendar .month-sheet {
        max-width: 340px;
    }

    #annual-calendar .month-sheet__head {
        height: 96px;
    }

    #annual-calendar .month-sheet__number {
        font-size: 96px;
    }

    #annual-calendar .month-sheet__title {
        font-size: 28px;
    }

    #annual-calendar .month-sheet__days {
        grid-template-rows: repeat(6, 30px);
        min-height: 200px;
    }

    #annual-calendar .month-sheet__day {
        width: 33px;
        height: 29px;
        border-radius: 5px;
    }

    #annual-calendar .month-sheet__weekdays,
    #annual-calendar .month-sheet__meta-line,
    #annual-calendar .month-sheet__meta-sep {
        font-size: 14px;
    }
}

/* =========================================
   ANNUAL CALENDAR 2027 – "2027" hexagon title (trial, from calendar-2027)
========================================= */

.annual-calendar-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.annual-calendar-hero {
    margin: 18px auto 6px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.annual-calendar-hero svg {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    overflow: visible;
}

.annual-calendar-hero .cal-hex {
    transition: transform 0.24s ease;
}

.annual-calendar-hero .cal-hex:hover {
    transform: translateY(-6px);
}

/* visible "Calendar for 2027" title under the hexagon graphic (in place of "Official Days Off" in calendar-2027) */
.annual-calendar-title {
    margin: 4px 0 18px;
    color: #4ec5a5;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

/* kicker above the 2027 graphic – heavier and a bit larger so it reads as a heading */
#annual-calendar .annual-calendar-kicker {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #4ec5a5;
}

@media (max-width: 520px) {
    #annual-calendar .annual-calendar-kicker {
        font-size: 13px;
        letter-spacing: 0.12em;
    }
}