/* ============================================================
   Harvest Calendar — Public Styles (v2)
   Brand: Harvest Blue #0f98d6 / Academy Blue #002c65 / White
   Fonts: Freight Sans (H1), Freight Text (H2), Arial (body)
          with safe system fallbacks.
   ============================================================ */

.hc-calendar {
    /* Brand */
    --hc-blue: #0f98d6;
    --hc-blue-dark: #002c65;
    --hc-blue-deep: #001d44;
    --hc-blue-light: #e8f5fc;
    --hc-blue-soft: #f4faff;
    --hc-blue-hover: #0a7fb5;
    --hc-white: #ffffff;
    --hc-text: #1a2332;
    --hc-text-muted: #5b6a7d;
    --hc-text-light: #94a1b2;
    --hc-border: #e3e8ef;
    --hc-border-light: #eef2f7;
    --hc-bg: #fafbfc;
    --hc-today: #fff8e7;
    --hc-today-border: #fbbf24;
    --hc-canceled: #9ca3af;
    --hc-rescheduled: #b45309;
    --hc-danger-bg: #fef2f2;

    --hc-radius: 14px;
    --hc-radius-sm: 8px;
    --hc-radius-xs: 6px;

    --hc-shadow-sm: 0 1px 3px rgba(0, 44, 101, 0.06);
    --hc-shadow: 0 4px 16px rgba(0, 44, 101, 0.08);
    --hc-shadow-lg: 0 12px 40px rgba(0, 44, 101, 0.18);

    /* Fonts: Freight Sans / Freight Text first, fall back to safe system fonts. */
    --hc-font-display: "Freight Sans Pro", "FreightSans Pro", "Freight Sans", "freight-sans-pro",
                       -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --hc-font-serif: "Freight Text Pro", "FreightText Pro", "Freight Text", "freight-text-pro",
                     Georgia, "Times New Roman", Times, serif;
    --hc-font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--hc-font-body);
    color: var(--hc-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hc-calendar *, .hc-calendar *::before, .hc-calendar *::after {
    box-sizing: border-box;
}

.hc-calendar button {
    font-family: inherit;
    cursor: pointer;
}

/* The HTML `hidden` attribute must always win, even if a theme sets display. */
.hc-calendar [hidden] { display: none !important; }
.hc-day-modal[hidden], .hc-modal[hidden] { display: none !important; }

.hc-noscript {
    padding: 16px;
    background: var(--hc-blue-light);
    border-radius: var(--hc-radius-sm);
    color: var(--hc-blue-dark);
    margin-bottom: 16px;
    font-size: 14px;
}

/* ============================================================
   HEADER
   ============================================================ */

.hc-header {
    position: relative;
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--hc-blue-dark) 0%, var(--hc-blue) 100%);
    border-radius: var(--hc-radius) var(--hc-radius) 0 0;
    color: var(--hc-white);
    overflow: hidden;
}

.hc-header::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hc-header-main { position: relative; margin-bottom: 20px; }

.hc-month-label {
    margin: 0;
    font-family: var(--hc-font-display);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: var(--hc-white);
}

.hc-month-sub {
    margin: 4px 0 0 0;
    font-family: var(--hc-font-serif);
    font-style: italic;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.hc-header-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-view-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.12);
    padding: 4px;
    border-radius: 999px;
}

.hc-view-btn {
    padding: 7px 18px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
    border-radius: 999px;
    font-family: var(--hc-font-body);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.hc-view-btn:hover { color: var(--hc-white); }
.hc-view-btn.is-active {
    background: var(--hc-white);
    color: var(--hc-blue-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hc-print-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.12);
    color: var(--hc-white);
    border-radius: 999px;
    font-family: var(--hc-font-body);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hc-print-link:hover { background: rgba(255,255,255,0.22); color: var(--hc-white); }
.hc-print-icon { font-size: 15px; }

/* ============================================================
   FILTERS
   ============================================================ */

.hc-filters {
    padding: 16px 20px;
    background: var(--hc-white);
    border-left: 1px solid var(--hc-border);
    border-right: 1px solid var(--hc-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-filters-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.hc-filter-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}

.hc-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--hc-bg);
    border: 1px solid var(--hc-border);
    color: var(--hc-text-muted);
    border-radius: 999px;
    font-family: var(--hc-font-body);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.15s ease;
}
.hc-filter-btn:hover {
    border-color: var(--hc-blue);
    color: var(--hc-blue-dark);
}
.hc-filter-btn.is-active {
    background: var(--hc-blue);
    border-color: var(--hc-blue);
    color: var(--hc-white);
    box-shadow: 0 2px 6px rgba(15,152,214,0.25);
}
.hc-filter-btn.is-active .hc-filter-dot {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}
.hc-filter-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   VIEWS WRAPPER
   ============================================================ */

.hc-view {
    background: var(--hc-white);
    border: 1px solid var(--hc-border);
    border-top: none;
    border-radius: 0 0 var(--hc-radius) var(--hc-radius);
    overflow: hidden;
}

/* ============================================================
   LIST VIEW
   ============================================================ */

.hc-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: var(--hc-bg);
    border-bottom: 1px solid var(--hc-border);
}

.hc-week-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--hc-white);
    border: 1px solid var(--hc-border);
    color: var(--hc-text);
    border-radius: var(--hc-radius-sm);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.15s ease;
}
.hc-week-btn:hover:not(:disabled) {
    border-color: var(--hc-blue);
    color: var(--hc-blue);
    background: var(--hc-blue-soft);
}
.hc-week-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hc-week-label {
    font-family: var(--hc-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    text-align: center;
    flex: 1;
}

.hc-week-list { padding: 8px 0; }

.hc-day-block {
    padding: 14px 20px;
    border-bottom: 1px solid var(--hc-border-light);
    transition: opacity 0.3s ease;
}
.hc-day-block:last-child { border-bottom: none; }
.hc-day-block.is-past { opacity: 0.55; }

.hc-day-block.is-today {
    background: var(--hc-today);
    border-left: 4px solid var(--hc-today-border);
    padding-left: 16px;
}

.hc-day-block.is-preview {
    background: repeating-linear-gradient(
        135deg,
        var(--hc-blue-soft) 0,
        var(--hc-blue-soft) 12px,
        rgba(15,152,214,0.04) 12px,
        rgba(15,152,214,0.04) 24px
    );
    border-left: 4px solid var(--hc-blue);
    padding-left: 16px;
}

.hc-day-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.hc-day-weekday {
    font-size: 11px;
    font-weight: 700;
    color: var(--hc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hc-day-date {
    font-family: var(--hc-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    letter-spacing: -0.01em;
}

.hc-day-block.is-today .hc-day-date { color: #92400e; }
.hc-day-block.is-preview .hc-day-date { color: var(--hc-blue); }

.hc-today-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--hc-today-border);
    color: #78350f;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.hc-preview-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--hc-blue);
    color: var(--hc-white);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hc-day-empty {
    font-size: 13px;
    color: var(--hc-text-light);
    font-style: italic;
    padding: 4px 0;
}

.hc-day-events {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Individual event */
.hc-event {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 10px 12px 10px 14px;
    background: var(--hc-white);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-sm);
    text-align: left;
    width: 100%;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}
.hc-event:hover:not(.is-canceled):not(.is-rescheduled) {
    border-color: var(--hc-demo-color, var(--hc-blue));
    background: var(--hc-blue-soft);
    transform: translateX(2px);
}

.hc-event-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--hc-blue);
}

.hc-event.is-main {
    background: linear-gradient(90deg, rgba(15,152,214,0.06) 0%, transparent 60%);
}
.hc-event.is-main .hc-event-color-bar { width: 5px; }

/* Holiday: gold base with faint diagonal stripes. Overrides demographic color
   to make holidays instantly recognizable on the calendar at a glance. */
.hc-event.is-holiday {
    background:
        repeating-linear-gradient(
            135deg,
            #fef3c7 0,
            #fef3c7 8px,
            #fde8b8 8px,
            #fde8b8 16px
        );
    border-color: #d4ad6a;
}
.hc-event.is-holiday .hc-event-color-bar {
    background: #d97706 !important;
    width: 4px;
}
.hc-event.is-holiday .hc-event-title,
.hc-event.is-holiday .hc-event-time {
    color: #78350f;
}
.hc-event.is-holiday .hc-event-demo {
    color: #92400e;
}
.hc-event.is-holiday:hover:not(.is-canceled):not(.is-rescheduled) {
    border-color: #d97706;
    transform: translateX(2px);
}

.hc-event.is-canceled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
    background: var(--hc-bg);
}
.hc-event.is-canceled .hc-event-title,
.hc-event.is-canceled .hc-event-time {
    text-decoration: line-through;
    color: var(--hc-canceled);
}

.hc-event.is-rescheduled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
    background: #fff8ef;
}
.hc-event.is-rescheduled .hc-event-title {
    text-decoration: line-through wavy var(--hc-rescheduled);
    text-decoration-skip-ink: none;
    color: var(--hc-rescheduled);
}
.hc-event.is-rescheduled .hc-event-time {
    color: var(--hc-rescheduled);
}

.hc-event-time {
    font-family: var(--hc-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    min-width: 76px;
    flex-shrink: 0;
    padding-top: 1px;
}
.hc-event-time-empty {
    color: var(--hc-text-light);
    font-weight: 500;
    font-size: 12px;
    font-style: italic;
}

.hc-event-body { flex: 1; min-width: 0; }

.hc-event-title-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hc-event-title {
    font-family: var(--hc-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--hc-text);
    line-height: 1.3;
}

.hc-event-star {
    color: #f59e0b;
    font-size: 13px;
    flex-shrink: 0;
}

.hc-event-tag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.hc-event-tag-canceled { background: var(--hc-danger-bg); color: #b91c1c; }
.hc-event-tag-rescheduled { background: #fef3c7; color: var(--hc-rescheduled); }

.hc-event-subline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--hc-text-muted);
    flex-wrap: wrap;
}

.hc-event-demo {
    display: inline-block;
    font-weight: 700;
}

.hc-event-dot { color: var(--hc-text-light); }
.hc-event-location { color: var(--hc-text-muted); }

/* Empty state */
.hc-empty-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--hc-text-muted);
}
.hc-empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ============================================================
   GRID VIEW
   ============================================================ */

.hc-grid { padding: 0; }

.hc-grid-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--hc-bg);
    border-bottom: 1px solid var(--hc-border);
}
.hc-grid-weekdays span {
    padding: 10px 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--hc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hc-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.hc-grid-cell {
    min-height: 108px;
    padding: 8px 6px;
    border-right: 1px solid var(--hc-border-light);
    border-bottom: 1px solid var(--hc-border-light);
    background: var(--hc-white);
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
    position: relative;
}
/* Right border on Saturday column only — uses grid placement, not DOM order,
   so it works correctly across multiple month sections within one grid. */
.hc-grid-cell:nth-child(7n) { border-right: none; }

/* Subtle italic month name above the date number on the first day of the
   next-month preview. Replaces the old hard separator bar so the preview
   flows seamlessly from the current month. */
.hc-grid-month-label {
    font-family: var(--hc-font-serif);
    font-style: italic;
    font-size: 11px;
    font-weight: 500;
    color: var(--hc-blue);
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
}

.hc-grid-cell.is-empty { background: var(--hc-bg); opacity: 0.4; }
.hc-grid-cell.is-past { opacity: 0.5; }
.hc-grid-cell.is-today {
    background: var(--hc-today);
    box-shadow: inset 0 0 0 2px var(--hc-today-border);
    z-index: 1;
}
.hc-grid-cell.is-preview {
    background: var(--hc-blue-soft);
}

.hc-grid-daynum {
    font-family: var(--hc-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    margin-bottom: 2px;
    line-height: 1;
}
.hc-grid-cell.is-today .hc-grid-daynum { color: #92400e; }
.hc-grid-cell.is-preview .hc-grid-daynum { color: var(--hc-blue); }

.hc-grid-event {
    display: block;
    padding: 3px 6px;
    background: var(--hc-blue);
    color: var(--hc-white);
    border-radius: 3px;
    font-family: var(--hc-font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    border: none;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.hc-grid-event:hover:not(.is-canceled):not(.is-rescheduled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.hc-grid-event.is-main {
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}

/* Holiday in grid view: gold-striped pill, overriding the demographic color. */
.hc-grid-event.is-holiday {
    background:
        repeating-linear-gradient(
            135deg,
            #fde8b8 0,
            #fde8b8 5px,
            #fbd693 5px,
            #fbd693 10px
        ) !important;
    color: #78350f !important;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #d4ad6a;
}
.hc-grid-event.is-holiday:hover:not(.is-canceled):not(.is-rescheduled) {
    box-shadow: inset 0 0 0 1.5px #d97706;
}
.hc-grid-event.is-holiday.is-main {
    box-shadow: inset 0 0 0 1.5px #b45309;
}
.hc-grid-event.is-canceled {
    background: var(--hc-bg) !important;
    color: var(--hc-canceled) !important;
    text-decoration: line-through;
    pointer-events: none;
    border: 1px dashed var(--hc-text-light);
}
.hc-grid-event.is-rescheduled {
    background: #fef3c7 !important;
    color: var(--hc-rescheduled) !important;
    text-decoration: line-through wavy var(--hc-rescheduled);
    text-decoration-skip-ink: none;
    pointer-events: none;
    border: 1px dashed var(--hc-rescheduled);
}

.hc-grid-more {
    display: inline-block;
    padding: 2px 6px;
    font-family: var(--hc-font-body);
    font-size: 10px;
    font-weight: 700;
    color: var(--hc-text-muted);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}
.hc-grid-more:hover { color: var(--hc-blue); }

/* ============================================================
   MODALS
   ============================================================ */

.hc-modal,
.hc-day-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 640px) {
    .hc-modal,
    .hc-day-modal {
        align-items: center;
    }
}

.hc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 68, 0.55);
    animation: hc-fade-in 0.2s ease;
}

.hc-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    background: var(--hc-white);
    border-radius: var(--hc-radius) var(--hc-radius) 0 0;
    box-shadow: var(--hc-shadow-lg);
    overflow-y: auto;
    animation: hc-slide-up 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@media (min-width: 640px) {
    .hc-modal-panel {
        border-radius: var(--hc-radius);
        animation: hc-pop-in 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
    }
}

.hc-day-modal-panel {
    max-width: 580px;
}

.hc-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--hc-bg);
    border: none;
    border-radius: 50%;
    color: var(--hc-text-muted);
    font-size: 20px;
    line-height: 1;
    transition: all 0.15s ease;
    z-index: 1;
}
.hc-modal-close:hover { background: var(--hc-blue-light); color: var(--hc-blue-dark); }

.hc-modal-body { padding: 28px 24px 24px 24px; }
.hc-day-modal-body { padding: 28px 24px 24px 24px; }

.hc-modal-date-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: var(--hc-blue-light);
    color: var(--hc-blue-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hc-modal-title {
    margin: 0 0 16px 0;
    font-family: var(--hc-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    letter-spacing: -0.015em;
    line-height: 1.2;
    padding-right: 32px;
}
.hc-modal-title-star { color: #f59e0b; margin-right: 4px; }

.hc-day-modal-title {
    margin: 0 0 18px 0;
    font-family: var(--hc-font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--hc-blue-dark);
    letter-spacing: -0.01em;
    padding-right: 32px;
}

.hc-day-modal-empty {
    font-size: 14px;
    color: var(--hc-text-muted);
    font-style: italic;
}

.hc-day-modal-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: var(--hc-bg);
    border-radius: var(--hc-radius-sm);
    margin-bottom: 16px;
}

.hc-modal-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--hc-text);
}
.hc-modal-meta-row a {
    color: var(--hc-blue);
    text-decoration: none;
}
.hc-modal-meta-row a:hover {
    text-decoration: underline;
}

.hc-modal-meta-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.hc-modal-description {
    font-family: var(--hc-font-body);
    font-size: 14px;
    color: var(--hc-text);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 16px;
}

.hc-modal-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--hc-blue);
    color: var(--hc-white);
    border-radius: var(--hc-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.15s ease;
}
.hc-modal-link:hover {
    filter: brightness(1.08);
    color: var(--hc-white);
}

@keyframes hc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes hc-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
@keyframes hc-pop-in {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 768px) {
    .hc-header { padding: 32px 36px; }
    .hc-month-label { font-size: 40px; }
    .hc-header-actions {
        position: absolute;
        top: 28px;
        right: 32px;
    }
    .hc-header-main { margin-bottom: 0; }
    .hc-filters { padding: 20px 32px; }
    .hc-week-nav,
    .hc-week-list,
    .hc-day-block {
        padding-left: 32px;
        padding-right: 32px;
    }
    .hc-day-block { padding-top: 18px; padding-bottom: 18px; }
    .hc-day-block.is-today,
    .hc-day-block.is-preview { padding-left: 28px; }
    .hc-grid-cell { min-height: 132px; padding: 10px 8px; }
    .hc-grid-daynum { font-size: 14px; }
    .hc-grid-event { font-size: 12px; padding: 4px 7px; }
    .hc-event-time { min-width: 90px; }
    .hc-event-title { font-size: 15px; }
}

@media (max-width: 480px) {
    .hc-calendar { border-radius: 0; }
    .hc-header { border-radius: 0; padding: 22px 18px; }
    .hc-month-label { font-size: 28px; }
    .hc-header-actions { margin-top: 16px; }
    .hc-filters { padding: 12px 16px; }
    .hc-week-nav,
    .hc-day-block { padding-left: 16px; padding-right: 16px; }
    .hc-day-block.is-today,
    .hc-day-block.is-preview { padding-left: 12px; }
    .hc-grid-cell { min-height: 80px; padding: 6px 4px; }
    .hc-grid-event { font-size: 10px; padding: 2px 4px; }
}
