/* Church calendar (plugin hram-calendar), colours after the parish wall calendar */
.hram-cal { --hc-sand: #f4e9d2; --hc-sand-out: #f8f2e6; --hc-fast: #d9cdec; --hc-fast-out: #ebe4f5;
    --hc-head: #7d6aa9; --hc-sun: #b0405a; --hc-red: #9b1c31; --hc-ink: #2a2622; --hc-gold: #d6b25c;
    margin: 0 0 20px; color: var(--hc-ink); font-family: Arial, Helvetica, sans-serif; }

.hram-cal .hc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: linear-gradient(#4a3423, #2e2016); border-radius: 4px 4px 0 0; padding: 10px 16px; }
.hram-cal .hc-head h2 { margin: 0; font: bold 30px/1.1 Georgia, "Times New Roman", serif; letter-spacing: .08em;
    text-transform: uppercase; color: var(--hc-gold); text-shadow: 0 1px 0 #000; }
.hram-cal .hc-head h2 span { font-size: 22px; letter-spacing: .04em; }
.hram-cal .hc-head a, .hram-cal .hc-head a:visited { color: #ead7a4; text-decoration: none; font-size: 14px; white-space: nowrap; }
.hram-cal .hc-head a:hover { color: #fff; text-decoration: underline; }
.hram-cal .hc-back { margin: 6px 0; text-align: right; font-size: 12px; }

.hram-cal .hc-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; margin: 0; background: #fff; }
.hram-cal .hc-grid th { background: var(--hc-head); color: #fff; font: bold 13px/1 Arial, sans-serif; padding: 7px 6px; text-align: left; }
.hram-cal .hc-grid th.hc-sun { background: var(--hc-sun); }

.hram-cal .hc-day { position: relative; vertical-align: top; height: 118px; padding: 5px 5px 32px; background: var(--hc-sand);
    font-size: 10.5px; line-height: 1.28; border: 0; }
.hram-cal .hc-day.hc-fast { background: var(--hc-fast); }
.hram-cal .hc-day.hc-out { background: var(--hc-sand-out); }
.hram-cal .hc-day.hc-out.hc-fast { background: var(--hc-fast-out); }
.hram-cal .hc-day.hc-out .hc-n { color: #b8b0a4; }
.hram-cal .hc-day.hc-today { box-shadow: inset 0 0 0 3px var(--hc-gold); }

.hram-cal .hc-n { float: left; margin: -2px 5px 0 0; font: bold 28px/1 Georgia, "Times New Roman", serif; color: #1d1a17; }
.hram-cal .hc-red .hc-n { color: var(--hc-red); }
.hram-cal .hc-t { display: block; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.hram-cal .hc-red .hc-t { color: var(--hc-red); }
.hram-cal .hc-g { display: block; margin-bottom: 2px; font-size: 11.5px; line-height: 1.15; text-transform: uppercase; color: var(--hc-red); }
.hram-cal .hc-day .hc-icons { position: absolute; right: 5px; bottom: 4px; display: flex; align-items: flex-end; gap: 6px; line-height: 0; }

.hram-cal .hc-day .hc-more, .hram-cal .hc-day .hc-more:visited { position: absolute; left: 6px; bottom: 6px; font-size: 10px;
    color: #7a6a4c; text-decoration: none; }
.hram-cal .hc-day .hc-more:hover { color: var(--hc-red); text-decoration: underline; }

.hram-cal .hc-periods { margin: 8px 4px; padding: 0; list-style: none; font-size: 13px; }
.hram-cal .hc-periods li { display: inline-block; margin-right: 18px; padding-left: 14px; position: relative; }
.hram-cal .hc-periods li::before { content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; background: var(--hc-head); }

.hram-cal .hc-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; margin: 10px 4px 4px; font-size: 12px; }
.hram-cal .hc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hram-cal .hc-legend .hc-food { position: static; line-height: 0; }
.hram-cal .hc-legend .hc-food svg { height: 20px; width: auto; }
.hram-cal .hc-sw { display: inline-block; width: 16px; height: 16px; background: var(--hc-sand); border: 1px solid #d8c9a6; }
.hram-cal .hc-sw-fast { background: var(--hc-fast); border-color: #b7a6d6; }
.hram-cal .hc-red-t { color: var(--hc-red); }
.hram-cal .hc-note { margin: 8px 4px 0; font-size: 11px; color: #6b6255; }
/* Whole day cell opens the day on blagovist.info */
.hram-cal td.hc-link { cursor: pointer; transition: box-shadow .15s; }
.hram-cal td.hc-link:hover { box-shadow: inset 0 0 0 2px #b0405a; }
.hram-cal td.hc-link.hc-today:hover { box-shadow: inset 0 0 0 3px #b0405a; }
.hram-cal td.hc-link:hover .hc-more { color: var(--hc-red); text-decoration: underline; }
