.taha-cal{--tc-border:#e2e8f0;--tc-ink:#15243b;--tc-muted:#66768d;--tc-blue:#225bbb;--tc-soft:#eff5ff;font-family:inherit!important;color:var(--tc-ink);direction:rtl;text-align:right;background:#fff;border:1px solid var(--tc-border);border-radius:18px;padding:clamp(12px,2vw,24px);line-height:1.65;width:100%;max-width:100%;min-width:0}
.taha-cal *{box-sizing:border-box}.taha-cal [hidden]{display:none!important}.taha-cal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.taha-cal-heading h2{font-size:1.45rem;margin:0;color:var(--tc-ink)}.taha-cal-heading p{margin:0;color:var(--tc-muted);font-size:.85rem}.taha-cal-nav{display:flex;gap:6px;flex-wrap:wrap}
.taha-cal button{font:inherit;cursor:pointer}.taha-cal-nav button{background:#f1f5f9;border:1px solid var(--tc-border);border-radius:9px;color:var(--tc-ink);padding:7px 12px}.taha-cal-nav button:hover,.taha-cal-nav button:focus-visible{background:#dbeafe;border-color:var(--tc-blue)}
.taha-cal-tools{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}.taha-cal-tools label{display:flex;align-items:center;gap:7px;font-size:.85rem}.taha-cal input,.taha-cal select{font:inherit;font-size:.9rem;border:1px solid var(--tc-border);border-radius:9px;background:white;padding:8px;color:var(--tc-ink);max-width:220px}
.taha-cal .taha-cal-weekdays,.taha-cal .taha-cal-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important;direction:rtl!important}.taha-cal-weekdays span{display:block;text-align:center;padding:6px 2px;font-weight:700;font-size:.82rem;color:var(--tc-muted)}.taha-cal-weekdays span:last-child{color:#b42318;font-weight:800}
.taha-cal .taha-cal-day,.taha-cal .taha-cal-blank{display:block!important;min-height:140px;border:1px solid var(--tc-border);border-radius:11px;min-width:0;background:#fff;position:relative;overflow:hidden}.taha-cal .taha-cal-blank{background:#f8fafc;border-color:transparent}.taha-cal .taha-cal-day.is-holiday{background:#fff1f2;border-color:#f3b8c0}.taha-cal .taha-cal-day.is-today{background:#eef6ff!important;border:2px solid #2563eb!important;box-shadow:inset 0 0 0 1px #9fc2ff}.taha-cal .taha-cal-day.is-selected{outline:3px solid #163d81;outline-offset:-3px}.taha-cal .taha-cal-day.is-selected.is-today{outline-color:#0c2c63}
.taha-cal button.taha-cal-day-click{width:100%;min-height:138px;display:flex!important;flex-direction:column;justify-content:flex-start!important;align-items:stretch!important;gap:7px;text-align:right;padding:8px;border:0!important;background:transparent!important;color:inherit!important;border-radius:inherit;font-size:inherit!important;white-space:normal;box-shadow:none!important;transform:none!important}.taha-cal button.taha-cal-day-click:hover{background:#f1f6ff!important}.taha-cal .taha-cal-day.is-holiday .taha-cal-day-click:hover{background:#ffe6ea!important}.taha-cal button.taha-cal-day-click:focus-visible{outline:2px solid var(--tc-blue)!important;outline-offset:-3px}
.taha-cal-day-topline{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.taha-cal-day-head{display:flex;align-items:center;gap:5px;min-width:0}.taha-cal-day-number{font-size:1.62rem;font-weight:900;line-height:1.1;color:#19304f}.taha-cal .taha-cal-day.is-holiday .taha-cal-day-number{color:#b42318}.taha-cal-today-tag{display:inline-block;background:#1d4ed8;color:white;font-size:.62rem;font-weight:800;padding:2px 5px;border-radius:4px;line-height:1.2}.taha-cal-day-side-meta{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:1px;min-width:0;max-width:60%;text-align:left}.taha-cal .taha-cal-hijri{display:block;font-weight:850;font-size:.8rem;line-height:1.32;overflow-wrap:anywhere;max-width:100%;color:#214f92}.taha-cal .taha-cal-hijri.is-approx{color:#375070}.taha-cal .taha-cal-hijri.is-verified{color:#1d4ed8}.taha-cal-gregorian{display:block;color:var(--tc-muted);font-size:.62rem;line-height:1.25}
.taha-cal-day-events{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:2px}.taha-cal-day-event-title{display:block;background:#eef4ff;color:#214c9e;border-radius:7px;padding:4px 6px;font-size:.72rem;font-weight:740;line-height:1.45;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.taha-cal-day-event-title.is-holiday{background:#fde2e6;color:#9f1239}.taha-cal-day-empty{display:block;margin-top:auto;padding-top:6px;color:#a0acbd;font-size:.68rem}
.taha-cal-selected-details{margin-top:16px;background:#f8fafc;border:1px solid var(--tc-border);border-radius:13px;padding:clamp(14px,2.5vw,22px);min-height:126px}.taha-cal-selected-heading{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--tc-border);padding-bottom:12px;margin-bottom:13px}.taha-cal-selected-eyebrow{font-size:.78rem;color:var(--tc-muted);font-weight:600}.taha-cal-selected-heading h3{font-size:1.36rem;font-weight:800;line-height:1.5;margin:4px 0!important;color:var(--tc-ink)}.taha-cal-selected-hijri{font-size:.95rem;font-weight:700;color:#214f92;margin:0!important}.taha-cal-selected-miladi{font-size:.75rem;color:var(--tc-muted);white-space:nowrap}.taha-cal-empty{color:var(--tc-muted);margin:0}.taha-cal-event{background:#fff;border-radius:10px;border:1px solid var(--tc-border);margin:10px 0;padding:12px 14px}.taha-cal-event-heading{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.taha-cal-event-heading strong{font-size:1.09rem;line-height:1.6;color:var(--tc-ink)}.taha-cal-holiday-label{background:#fee2e2;color:#a11b22;font-size:.73rem;border-radius:7px;padding:2px 7px}.taha-cal-category-label{background:#eaf1fd;color:#31547b;font-size:.73rem;border-radius:7px;padding:2px 7px}.taha-cal-small{font-size:.78rem;color:var(--tc-muted);overflow-wrap:anywhere;margin-top:6px}.taha-cal-description{font-size:.88rem;margin-top:8px;overflow-wrap:anywhere}.taha-cal-description p{margin:4px 0}.taha-cal-footnote{font-size:.75rem;color:var(--tc-muted);margin:12px 0 0}.taha-cal.is-loading{opacity:.6;pointer-events:none}.taha-cal-error{color:#b91c1c}
.taha-cal-upcoming h2{font-size:1.2rem;margin:0 0 12px}.taha-cal-upcoming ul{list-style:none!important;margin:0!important;padding:0!important}.taha-cal-upcoming li{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--tc-border);padding:11px 0}.taha-cal-upcoming li:last-child{border-bottom:0}.taha-cal-upcoming time{color:var(--tc-blue);font-weight:700;white-space:nowrap}.taha-cal .taha-cal-full-link{display:inline-flex;align-items:center;justify-content:center;margin-top:15px;padding:9px 18px;color:#fff!important;background:#225bbb!important;border:1px solid #225bbb!important;border-radius:9px;text-decoration:none!important;font:inherit;font-weight:750;cursor:pointer}.taha-cal .taha-cal-full-link:hover{background:#17468e!important}.taha-cal-upcoming-expanded{margin-top:20px}.taha-cal-upcoming-expanded>.taha-cal{background:#fff}
@media(max-width:650px){.taha-cal{padding:10px;border-radius:12px}.taha-cal .taha-cal-grid,.taha-cal .taha-cal-weekdays{gap:2px!important}.taha-cal .taha-cal-day,.taha-cal .taha-cal-blank{min-height:112px;border-radius:7px}.taha-cal button.taha-cal-day-click{padding:5px 4px;min-height:110px;gap:4px}.taha-cal-day-number{font-size:1.18rem}.taha-cal-today-tag{font-size:.52rem;padding:1px 3px}.taha-cal-day-side-meta{max-width:56%}.taha-cal .taha-cal-hijri{font-size:.62rem;line-height:1.25}.taha-cal-gregorian{font-size:.5rem}.taha-cal-day-event-title{font-size:.58rem;padding:3px 4px;border-radius:5px;-webkit-line-clamp:2}.taha-cal-day-empty{font-size:.56rem}.taha-cal-weekdays span{font-size:.69rem}.taha-cal-nav button{font-size:.8rem;padding:5px 8px}.taha-cal-tools label{flex:1 1 145px}.taha-cal-tools input,.taha-cal-tools select{width:100%;max-width:100%}.taha-cal-selected-heading h3{font-size:1.17rem}.taha-cal-selected-details{padding:12px}.taha-cal-event-heading strong{font-size:1rem}}
@media(max-width:370px){.taha-cal .taha-cal-hijri{font-size:.56rem}.taha-cal-gregorian{font-size:.46rem}.taha-cal .taha-cal-day-number{font-size:1.04rem}.taha-cal-day-event-title{font-size:.54rem}}
/* 0.3.x: event ranges, editorial guides, and WooCommerce calls to action */
.taha-cal .taha-cal-day.is-period:not(.is-today){border-right:3px solid #6d57a6;background:#faf8ff}
.taha-cal .taha-cal-day.is-period.is-holiday{background:#fff2f7}
.taha-cal-event-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.taha-cal .taha-cal-product-link,.taha-cal .taha-cal-guide-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-size:.84rem;font-weight:750;line-height:1.5;padding:8px 13px;border-radius:9px;max-width:100%}
.taha-cal .taha-cal-product-link{color:#fff!important;background:#225bbb!important;border:1px solid #225bbb}
.taha-cal .taha-cal-product-link:hover{background:#173b79!important}
.taha-cal .taha-cal-guide-link{color:#264b89!important;background:white!important;border:1px solid #b5c8e3}
.taha-cal-period-note{font-size:.82rem;color:#5a437d;font-weight:700;margin:6px 0!important}
.taha-cal-month-index{border-top:1px solid var(--tc-border);margin-top:21px;padding-top:15px}
.taha-cal-month-index h3{font-size:1.12rem;font-weight:800;color:var(--tc-ink);margin:0 0 12px!important}
.taha-cal-month-index ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:7px}
.taha-cal-month-index li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;border:1px solid var(--tc-border);border-radius:9px;padding:10px}
.taha-cal-month-index li strong{font-size:.9rem;color:var(--tc-ink)}
.taha-cal-month-date{font-size:.78rem;font-weight:700;color:#335882;white-space:nowrap}
.taha-cal-upcoming li{flex-wrap:wrap}.taha-cal-upcoming li .taha-cal-event-links{margin-top:0}

/* 0.4.0 — category colors, visible multiple occasions, and continuous period strip */
.taha-cal .taha-cal-day-event-title{background:var(--tc-event-light,#edf3fd)!important;color:var(--tc-event-accent,#224b92)!important;border-right:3px solid var(--tc-event-accent,#224b92);display:block!important;-webkit-line-clamp:unset;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-weight:750}
.taha-cal .taha-cal-day-event-title.is-holiday{background:#ffe0e6!important;color:#a11a32!important;border-color:#b42335!important}
.taha-cal .taha-cal-day.is-holiday:not(.is-today){background:#ffe9ec!important;border-color:#e999a4!important}
.taha-cal .taha-cal-day.is-period.is-holiday:not(.is-today){background:#ffedf0!important;border-color:#df94a0!important}
.taha-cal .taha-cal-day.is-holiday:not(.is-today) .taha-cal-day-number{color:#a2132d!important}
.taha-cal .taha-cal-day.is-period{overflow:visible}
.taha-cal-period-ribbon{position:absolute;display:block;bottom:0;left:0;right:0;height:6px;background:var(--tc-event-accent,#713a91);pointer-events:none;z-index:1;border-radius:0 0 6px 6px}
.taha-cal-period-ribbon.connect-next::after{content:"";position:absolute;width:7px;height:6px;left:-6px;bottom:0;background:inherit;z-index:1}
.taha-cal-day-mobile-count{display:none}
.taha-cal-event{border-right:4px solid var(--tc-event-accent,#315b8a)!important}
.taha-cal-event .taha-cal-occasion-link{color:var(--tc-event-accent,#214c9e)!important;text-decoration:none!important}
.taha-cal-event .taha-cal-occasion-link:hover{text-decoration:underline!important}
.taha-cal-month-index a{color:#195a9d;text-decoration:underline}
.taha-cal-mobile-agenda{display:none}

/* Mobile: readable date picker above a full chronological agenda, not seven cramped paragraphs. */
@media(max-width:780px){
 .taha-cal{padding:12px!important;border-radius:14px;overflow:hidden}
 .taha-cal-heading h2{font-size:1.27rem}
 .taha-cal-heading p{font-size:.74rem}
 .taha-cal-top{gap:10px}
 .taha-cal-nav{width:100%;justify-content:space-between;gap:5px}
 .taha-cal-nav button{flex:1 1 0;min-width:0;padding:7px 2px!important;font-size:.77rem!important}
 .taha-cal-tools{margin:12px 0!important;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
 .taha-cal-tools label{width:100%;display:flex;gap:8px;justify-content:space-between;flex:auto;min-width:0}
 .taha-cal-tools label input,.taha-cal-tools label select{flex:1 1 auto;max-width:calc(100% - 76px);min-width:0!important;font-size:.85rem;padding:6px}
 .taha-cal .taha-cal-weekdays,.taha-cal .taha-cal-grid{gap:3px!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}
 .taha-cal .taha-cal-weekdays span{font-size:0!important;line-height:1.4;padding:5px 0!important}
 .taha-cal .taha-cal-weekdays span::after{font-size:.8rem;font-weight:800}
 .taha-cal .taha-cal-weekdays span:nth-child(1)::after{content:"ش"}
 .taha-cal .taha-cal-weekdays span:nth-child(2)::after{content:"ی"}
 .taha-cal .taha-cal-weekdays span:nth-child(3)::after{content:"د"}
 .taha-cal .taha-cal-weekdays span:nth-child(4)::after{content:"س"}
 .taha-cal .taha-cal-weekdays span:nth-child(5)::after{content:"چ"}
 .taha-cal .taha-cal-weekdays span:nth-child(6)::after{content:"پ"}
 .taha-cal .taha-cal-weekdays span:nth-child(7)::after{content:"ج"}
 .taha-cal .taha-cal-day,.taha-cal .taha-cal-blank{min-height:61px!important;border-radius:8px!important;overflow:hidden!important}
 .taha-cal button.taha-cal-day-click{min-height:59px!important;height:100%;padding:4px 1px!important;gap:1px!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important}
 .taha-cal .taha-cal-day-topline{width:auto!important;justify-content:center!important;gap:0!important}
 .taha-cal .taha-cal-day-head{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important;width:auto!important}
 .taha-cal .taha-cal-day-number{font-size:1.2rem!important;font-weight:900!important;line-height:1.1!important}
 .taha-cal .taha-cal-today-tag{font-size:.49rem!important;padding:0 3px!important;line-height:1.15!important}
 .taha-cal .taha-cal-day-side-meta,.taha-cal .taha-cal-day-events,.taha-cal .taha-cal-day-empty{display:none!important}
 .taha-cal .taha-cal-day-mobile-count{display:flex!important;align-items:center;justify-content:center;font-size:.55rem;font-weight:800;min-width:15px;height:15px;padding:0 3px;border-radius:50px;color:#164e91;background:#dbeafe}
 .taha-cal .taha-cal-day.is-holiday .taha-cal-day-mobile-count{background:#fecdd3;color:#9f1239}
 .taha-cal .taha-cal-day.is-selected{outline:2px solid #194b91!important;outline-offset:-2px}
 .taha-cal .taha-cal-day.is-today{border:2px solid #2563eb!important}
 .taha-cal-period-ribbon,.taha-cal-period-ribbon.connect-next::after{height:4px;bottom:0}
 .taha-cal .taha-cal-day.is-period:not(.is-today){border-right-width:1px}
 .taha-cal-selected-details{margin-top:14px;min-height:0;padding:13px!important}
 .taha-cal-selected-heading{gap:5px}
 .taha-cal-selected-heading h3{font-size:1.15rem!important}
 .taha-cal-selected-hijri{font-size:.88rem!important}
 .taha-cal-selected-miladi{font-size:.68rem}
 .taha-cal-event{padding:10px!important}
 .taha-cal-event-links{gap:7px}
 .taha-cal .taha-cal-product-link,.taha-cal .taha-cal-guide-link{font-size:.76rem;padding:6px 9px}
 .taha-cal-mobile-agenda{display:block;margin-top:18px;border-top:1px solid #dbe3f0;padding-top:14px}
 .taha-cal-mobile-agenda-intro{margin-bottom:12px}
 .taha-cal-mobile-agenda-intro h3{font-size:1.2rem;font-weight:850;color:#15243b;margin:0 0 3px!important}
 .taha-cal-mobile-agenda-intro p{font-size:.81rem;color:#64748b;margin:0!important}
 .taha-cal-mobile-date-card{border:1px solid #dce6f2;background:#fff;border-radius:12px;margin-bottom:11px;overflow:hidden;box-shadow:0 2px 10px rgba(20,44,80,.035)}
 .taha-cal-mobile-date-card.is-holiday{border-color:#efacb7;background:#fff9fa}
 .taha-cal-mobile-date-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #e9edf3}
 .taha-cal-mobile-date-head>span{display:flex;flex-direction:column;gap:2px;min-width:0}
 .taha-cal-mobile-date-head strong{font-size:1.03rem;font-weight:850;color:#20354e}
 .taha-cal-mobile-date-card.is-holiday .taha-cal-mobile-date-head strong{color:#a41d36}
 .taha-cal-mobile-date-head small{font-size:.73rem;font-weight:650;color:#476384}
 .taha-cal .taha-cal-mobile-select{border:1px solid #bacbe1!important;background:#f4f7fc!important;border-radius:8px!important;font-size:.72rem!important;padding:5px 8px!important;white-space:nowrap;color:#254c7f!important;font-weight:750!important}
 .taha-cal-mobile-date-events{display:flex;flex-direction:column;gap:8px;padding:10px}
 .taha-cal-mobile-event{border-right:4px solid var(--tc-event-accent,#305b8c);border-radius:8px;background:var(--tc-event-light,#eff5ff);padding:8px 10px;display:flex;flex-direction:column;gap:4px}
 .taha-cal-mobile-event-title{font-size:.94rem;font-weight:800;line-height:1.6;color:#182f4b;overflow-wrap:anywhere}
 .taha-cal-mobile-event small{font-size:.72rem;color:var(--tc-event-accent,#305b8c);font-weight:750}
 .taha-cal-mobile-event>a{font-size:.76rem!important;color:var(--tc-event-accent,#305b8c)!important;font-weight:750;text-decoration:underline!important}
 .taha-cal-mobile-event .taha-cal-event-links{margin:4px 0 0!important}
 .taha-cal-month-index{display:none!important}
}
@media(max-width:360px){.taha-cal{padding:8px!important}.taha-cal .taha-cal-grid,.taha-cal .taha-cal-weekdays{gap:2px!important}.taha-cal .taha-cal-day,.taha-cal .taha-cal-blank{min-height:54px!important}.taha-cal button.taha-cal-day-click{min-height:52px!important}.taha-cal .taha-cal-day-number{font-size:1.08rem!important}}
/* Width must include padding/border in narrow Elementor containers. */
.taha-cal{box-sizing:border-box!important}

.taha-cal-upcoming .taha-cal-occasion-link{color:#1f598f;text-decoration:underline;font-weight:750}

/* 0.5.0 — Homepage modal and editorially selected upcoming occasions */
.taha-cal-popup-widget{direction:rtl;text-align:right;display:inline-block;max-width:100%}
.taha-cal-popup-widget .taha-cal-popup-trigger,.taha-cal-featured .taha-cal-popup-trigger{font:inherit!important;font-size:.92rem!important;font-weight:800!important;line-height:1.5!important;background:#d7a353!important;color:#182b3c!important;border:1px solid #d7a353!important;border-radius:12px!important;padding:12px 22px!important;min-height:44px!important;text-decoration:none!important;display:inline-flex!important;justify-content:center;align-items:center;cursor:pointer!important;box-shadow:0 5px 13px rgba(43,60,74,.13)!important;transition:background-color .2s ease,transform .2s ease}
.taha-cal-popup-widget .taha-cal-popup-trigger:hover,.taha-cal-featured .taha-cal-popup-trigger:hover{background:#e9b866!important;color:#142c41!important;transform:translateY(-1px)}
.taha-cal-popup-widget .taha-cal-popup-trigger:focus-visible,.taha-cal-featured .taha-cal-popup-trigger:focus-visible{outline:3px solid #245ea8!important;outline-offset:3px!important}
.taha-cal-popup-widget .taha-cal-popup-trigger.is-outline{background:#fff!important;color:#193750!important;border-color:#acbed0!important;box-shadow:none!important}
.taha-cal-dialog{direction:rtl!important;text-align:right!important;box-sizing:border-box!important;margin:auto!important;inset:0!important;display:none;width:min(1100px,96vw)!important;max-width:96vw!important;height:min(850px,94dvh)!important;max-height:94dvh!important;border:0!important;border-radius:20px!important;padding:0!important;box-shadow:0 25px 100px rgba(14,28,45,.36)!important;background:#fff!important;color:#15243b!important;overflow:hidden!important;font-family:inherit!important;position:fixed!important;z-index:2147483600!important}
.taha-cal-dialog[open]{display:block!important}
.taha-cal-dialog::backdrop{background:rgba(11,25,39,.74);backdrop-filter:blur(4px)}
.taha-cal-modal-shell{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff}
.taha-cal-modal-header{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#293f52;color:#fff;padding:14px clamp(16px,3vw,28px);text-align:right;direction:rtl}
.taha-cal-modal-header .taha-cal-modal-kicker{font-size:.75rem;color:#efc88c;margin:0!important;font-weight:750}
.taha-cal-modal-header h2{font-size:1.4rem;color:#fff!important;font-weight:850;line-height:1.4;margin:0!important}
.taha-cal-modal-close{font:inherit!important;color:#273c50!important;background:#f9efe0!important;border:1px solid #eac58a!important;font-size:.84rem!important;font-weight:800!important;border-radius:10px!important;min-width:56px!important;min-height:42px!important;padding:8px 12px!important;cursor:pointer!important}
.taha-cal-modal-close:hover{background:#f1d39e!important}
.taha-cal-modal-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:clamp(10px,2vw,20px)}
.taha-cal-modal-scroll>.taha-cal{box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;background:#fff!important}
.taha-cal-modal-loading,.taha-cal-modal-error{margin:20px 0!important;padding:25px;background:#f3f6fa;color:#23445e;border-radius:10px;text-align:center}
body.taha-cal-modal-active{overflow:hidden!important}
.taha-cal-featured{background:#fff!important;border:1px solid #dce5ee!important;border-radius:20px!important;padding:0!important;box-shadow:0 10px 28px rgba(17,41,65,.07)!important;overflow:hidden!important}
.taha-cal-featured-header{padding:24px 24px 20px;background:linear-gradient(125deg,#243b4e,#385269);color:#fff;text-align:right}
.taha-cal-featured-header .taha-cal-featured-kicker{font-size:.74rem;color:#edc582;font-weight:850;display:block;margin-bottom:4px}
.taha-cal-featured-header h2{font-size:1.42rem!important;font-weight:850!important;margin:0!important;color:#fff!important;line-height:1.45!important}
.taha-cal-featured-header p{font-size:.82rem!important;color:#e0e9f2!important;margin:5px 0 0!important}
.taha-cal-featured .taha-cal-featured-list{list-style:none!important;margin:0!important;padding:17px 18px 7px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.taha-cal-featured .taha-cal-featured-item{border:1px solid #e0e8ef!important;border-right:4px solid var(--tc-event-accent,#305b8c)!important;border-radius:12px!important;padding:11px!important;background:#fff!important;display:flex!important;gap:12px!important;align-items:flex-start!important;min-width:0!important;margin:0!important;flex-wrap:nowrap!important;box-sizing:border-box!important}
.taha-cal-featured .taha-cal-featured-date{flex:0 0 58px!important;min-width:58px;display:flex;flex-direction:column;text-align:center;border-radius:9px;background:var(--tc-event-light,#edf3fd);padding:6px 4px;color:var(--tc-event-accent,#234e87);line-height:1.25}
.taha-cal-featured-date strong{font-size:1.48rem;font-weight:900}
.taha-cal-featured-date span{font-size:.73rem;font-weight:800}
.taha-cal-featured-copy{min-width:0;flex:1}
.taha-cal-featured-title{display:block!important;font-size:.91rem!important;color:#1b334b!important;line-height:1.7;font-weight:850!important;overflow-wrap:anywhere}
.taha-cal-featured-title a{color:#1b4d7e!important;text-decoration:none!important}
.taha-cal-featured-title a:hover{text-decoration:underline!important}
.taha-cal-featured-copy .taha-cal-event-links{margin-top:6px!important;gap:5px!important;display:flex!important}
.taha-cal-featured-copy .taha-cal-event-links a{font-size:.7rem!important;padding:4px 7px!important;border-radius:6px!important}
.taha-cal-featured-empty{padding:20px 24px;color:#64748b;font-size:.88rem}
.taha-cal-featured-bottom{border-top:1px solid #e0e8ef;padding:13px 20px 19px;display:flex;justify-content:flex-start;background:#f7f9fc}
.taha-cal-featured-bottom .taha-cal-popup-widget{display:inline-block!important}
.taha-cal-featured-bottom .taha-cal-popup-trigger{margin:0!important}
@media(max-width:780px){
 .taha-cal-dialog{width:100vw!important;max-width:100vw!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
 .taha-cal-modal-header{padding:12px 14px;min-height:70px}
 .taha-cal-modal-header h2{font-size:1.23rem!important}
 .taha-cal-modal-scroll{padding:12px}
 .taha-cal-featured-header{padding:19px 17px}
 .taha-cal-featured .taha-cal-featured-list{grid-template-columns:minmax(0,1fr)!important;padding:13px!important;gap:9px!important}
 .taha-cal-featured .taha-cal-featured-item{padding:10px!important}
 .taha-cal-featured-bottom{padding:11px 13px 16px}
 .taha-cal-featured-bottom .taha-cal-popup-trigger{width:100%!important}
 .taha-cal-featured-bottom .taha-cal-popup-widget{width:100%}
}
@media(prefers-reduced-motion:reduce){.taha-cal-popup-trigger{transition:none!important}}
.taha-cal-modal-footer{flex:none;border-top:1px solid #dbe4ee;background:#f7f9fc;padding:8px 20px;font-size:.8rem;text-align:center}
.taha-cal-modal-footer a{color:#1b5285!important;text-decoration:underline!important;font-weight:800}

/* 0.5.1 — compact featured widget, neutral dates, side CTA, adjustable header. */
.taha-cal-featured .taha-cal-featured-header{background:var(--taha-featured-bg,#293f52)!important;padding:12px 19px!important;min-height:0!important}
.taha-cal-featured .taha-cal-featured-header h2{font-size:1.13rem!important;line-height:1.45!important;color:var(--taha-featured-text,#fff)!important;margin:0!important;font-weight:850!important}
.taha-cal-featured .taha-cal-featured-layout{display:flex!important;align-items:stretch!important;gap:0!important;min-width:0!important}
.taha-cal-featured .taha-cal-featured-main{flex:1 1 auto!important;min-width:0!important}
.taha-cal-featured .taha-cal-featured-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px!important;gap:9px!important;align-content:start!important}
.taha-cal-featured .taha-cal-featured-item{border-right-color:#9bb4ce!important;background:#fff!important;align-items:center!important}
.taha-cal-featured .taha-cal-featured-date{background:#edf3f9!important;color:#244d76!important}
.taha-cal-featured .taha-cal-featured-item.is-holiday{border-right-color:#b42335!important;background:#fffafb!important}
.taha-cal-featured .taha-cal-featured-item.is-holiday .taha-cal-featured-date{background:#ffe7eb!important;color:#a21932!important}
.taha-cal-featured .taha-cal-featured-side{flex:0 0 154px!important;min-width:0!important;border-right:1px solid #e0e8ef;background:#f7f9fc;padding:12px 10px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.taha-cal-featured .taha-cal-featured-side .taha-cal-popup-widget{width:100%!important;display:block!important;max-width:100%!important}
.taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{width:100%!important;max-width:100%!important;min-height:46px!important;margin:0!important;padding:9px 6px!important;font-size:.82rem!important;line-height:1.5!important;text-align:center!important;white-space:normal!important;box-sizing:border-box!important}
.taha-cal-featured .taha-cal-featured-empty{padding:19px 15px!important;display:flex;align-items:center;min-height:80px}
@media(max-width:900px){.taha-cal-featured .taha-cal-featured-list{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:780px){
 .taha-cal-featured .taha-cal-featured-header{padding:10px 14px!important}
 .taha-cal-featured .taha-cal-featured-header h2{font-size:1.05rem!important}
 .taha-cal-featured .taha-cal-featured-list{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:7px!important}
 .taha-cal-featured .taha-cal-featured-item{padding:8px!important;gap:8px!important}
 .taha-cal-featured .taha-cal-featured-date{flex-basis:48px!important;min-width:48px!important}
 .taha-cal-featured .taha-cal-featured-date strong{font-size:1.25rem!important}
 .taha-cal-featured .taha-cal-featured-title{font-size:.83rem!important}
 .taha-cal-featured .taha-cal-featured-side{flex-basis:114px!important;padding:8px 7px!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{font-size:.75rem!important;padding:8px 5px!important;min-height:44px!important}
}
@media(max-width:360px){
 .taha-cal-featured .taha-cal-featured-list{padding:7px!important}
 .taha-cal-featured .taha-cal-featured-side{flex-basis:98px!important;padding:7px 5px!important}
 .taha-cal-featured .taha-cal-featured-date{flex-basis:42px!important;min-width:42px!important;padding:5px 2px!important}
 .taha-cal-featured .taha-cal-featured-title{font-size:.77rem!important;line-height:1.55!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{font-size:.72rem!important;padding:8px 4px!important}
}

/* 0.5.3 — Secondary calendar dates are neutral; compact, single-line upcoming strip. */
.taha-cal .taha-cal-day .taha-cal-hijri,
.taha-cal .taha-cal-day .taha-cal-hijri.is-verified,
.taha-cal .taha-cal-day .taha-cal-hijri.is-approx{color:#717b88!important;font-weight:680!important}
.taha-cal .taha-cal-day .taha-cal-gregorian{color:#929aa6!important;font-weight:450!important}
.taha-cal .taha-cal-selected-hijri{color:#717b88!important}
.taha-cal .taha-cal-selected-miladi{color:#929aa6!important}
.taha-cal .taha-cal-mobile-date-head small{color:#717b88!important;font-weight:600!important}

/* Only the upcoming widget is compact; the full calendar and modal stay unchanged. */
.taha-cal.taha-cal-featured{border-radius:13px!important}
.taha-cal-featured .taha-cal-featured-layout{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;min-height:62px!important;min-width:0!important;gap:0!important}
.taha-cal-featured .taha-cal-featured-header{flex:0 0 auto!important;display:flex!important;align-items:center!important;align-self:stretch!important;padding:9px 13px!important;border-radius:0!important;max-width:30%!important}
.taha-cal-featured .taha-cal-featured-header h2{font-size:.95rem!important;line-height:1.35!important;white-space:nowrap!important;margin:0!important}
.taha-cal-featured .taha-cal-featured-main{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;-webkit-overflow-scrolling:touch}
.taha-cal-featured .taha-cal-featured-list{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;grid-template-columns:none!important;align-items:center!important;gap:7px!important;padding:6px 8px!important;margin:0!important;width:max-content!important;min-width:100%!important;list-style:none!important}
.taha-cal-featured .taha-cal-featured-item{flex:0 0 auto!important;min-width:188px!important;max-width:340px!important;min-height:43px!important;max-height:48px!important;display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;padding:5px 8px!important;margin:0!important;border-radius:9px!important;overflow:hidden!important}
.taha-cal-featured .taha-cal-featured-date{flex:0 0 auto!important;min-width:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;padding:5px 7px!important;border-radius:6px!important}
.taha-cal-featured .taha-cal-featured-date strong{font-size:1.02rem!important;line-height:1.3!important}
.taha-cal-featured .taha-cal-featured-date span{font-size:.7rem!important;line-height:1.3!important}
.taha-cal-featured .taha-cal-featured-copy{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0!important;max-width:100%!important;gap:5px!important}
.taha-cal-featured .taha-cal-featured-title{display:block!important;min-width:0!important;max-width:175px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:1.4!important;font-size:.81rem!important}
.taha-cal-featured .taha-cal-featured-title a{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.taha-cal-featured .taha-cal-featured-copy .taha-cal-event-links{display:flex!important;flex:0 1 auto!important;flex-wrap:nowrap!important;align-items:center!important;gap:3px!important;margin:0!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important}
.taha-cal-featured .taha-cal-featured-copy .taha-cal-event-links a{max-width:90px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:.65rem!important;padding:3px 6px!important}
.taha-cal-featured .taha-cal-featured-side{flex:0 0 128px!important;align-self:stretch!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-right:1px solid #e0e8ef!important;border-top:0!important;padding:6px 8px!important}
.taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{width:100%!important;min-height:39px!important;padding:6px 6px!important;font-size:.72rem!important;line-height:1.35!important;white-space:normal!important}
.taha-cal-featured .taha-cal-featured-empty{display:flex!important;align-items:center!important;min-height:55px!important;padding:9px 10px!important;white-space:nowrap!important;font-size:.75rem!important}
@media(max-width:780px){
 .taha-cal-featured .taha-cal-featured-layout{min-height:57px!important}
 .taha-cal-featured .taha-cal-featured-header{padding:6px 9px!important;max-width:none!important}
 .taha-cal-featured .taha-cal-featured-header h2{font-size:.78rem!important}
 .taha-cal-featured .taha-cal-featured-list{display:flex!important;grid-template-columns:none!important;gap:6px!important;padding:5px 6px!important}
 .taha-cal-featured .taha-cal-featured-item{min-width:170px!important;max-width:270px!important;min-height:40px!important;max-height:44px!important;padding:4px 6px!important;gap:5px!important}
 .taha-cal-featured .taha-cal-featured-date{flex:0 0 auto!important;min-width:0!important;padding:4px 5px!important}
 .taha-cal-featured .taha-cal-featured-date strong{font-size:.9rem!important}
 .taha-cal-featured .taha-cal-featured-date span{font-size:.62rem!important}
 .taha-cal-featured .taha-cal-featured-title{font-size:.75rem!important;max-width:150px!important}
 .taha-cal-featured .taha-cal-featured-side{flex:0 0 108px!important;padding:5px!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-widget{width:100%!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{width:100%!important;min-height:36px!important;font-size:.66rem!important;padding:5px 3px!important;white-space:normal!important}
}
@media(max-width:360px){
 .taha-cal-featured .taha-cal-featured-header{padding:5px 6px!important}
 .taha-cal-featured .taha-cal-featured-header h2{font-size:.7rem!important}
 .taha-cal-featured .taha-cal-featured-side{flex-basis:92px!important;padding:4px!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger{font-size:.6rem!important;padding:4px 2px!important}
 .taha-cal-featured .taha-cal-featured-list{padding:5px!important}
}

/* 0.6.0: compact month index while preserving all items in accessible HTML */
.taha-cal .taha-cal-month-index-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.taha-cal .taha-cal-month-index-head h3{margin:0!important}
.taha-cal .taha-cal-month-landing-link{font-size:.81rem;font-weight:750;color:#225bbb;text-decoration:none}
.taha-cal .taha-cal-month-landing-link:hover{text-decoration:underline}
.taha-cal .taha-cal-month-index-more{margin-top:12px;border:1px solid #d5e3f5;border-radius:10px;padding:0;background:#f8fbff}
.taha-cal .taha-cal-month-index-more>summary{display:list-item;cursor:pointer;padding:10px 15px;font-weight:750;font-size:.88rem;color:#22528a;list-style-position:inside}
.taha-cal .taha-cal-month-index-more>summary:hover{background:#edf4ff}
.taha-cal .taha-cal-month-index-more[open]>summary{border-bottom:1px solid #dbe5f1}
.taha-cal .taha-cal-month-index-more>ul{padding:10px!important}
.taha-cal .taha-cal-day-event-title{min-width:0}

@media(max-width:760px){
  .taha-cal .taha-cal-mobile-agenda-more{display:block;margin-top:12px}
  .taha-cal .taha-cal-mobile-agenda-more>summary{display:list-item;cursor:pointer;margin:0 0 12px;border-radius:10px;background:#eef4fc;color:#245a90;border:1px solid #cbddec;padding:10px 13px;font-size:.87rem;font-weight:800;list-style-position:inside}
  .taha-cal .taha-cal-mobile-agenda-more>summary:hover{background:#e1edfb}
  .taha-cal .taha-cal-mobile-agenda-intro>.taha-cal-month-landing-link{display:inline-block;margin-top:8px}
}

/* 1.0.0: focused mobile redesign of the UPCOMING strip only.
   Public full calendar, pop-up, category colors and desktop layout are unchanged. */
@media (max-width: 780px) {
 .taha-cal.taha-cal-featured {
   padding:0!important; border-radius:13px!important; overflow:hidden!important;
   box-shadow:0 3px 16px rgba(24,43,62,.08)!important;
 }
 .taha-cal-featured .taha-cal-featured-layout {
   display:flex!important; align-items:stretch!important; gap:0!important;
   width:100%!important; min-height:72px!important; max-height:78px!important;
 }
 /* Keep a compact, color-configurable heading visible on mobile. */
 .taha-cal-featured .taha-cal-featured-header {
   position:relative!important;flex:0 0 69px!important;width:69px!important;max-width:69px!important;
   min-width:69px!important;height:auto!important;padding:6px 5px!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   text-align:center!important;border:0!important;border-radius:0!important;
   overflow:hidden!important;white-space:normal!important;
 }
 .taha-cal-featured .taha-cal-featured-header h2 {
   color:var(--taha-featured-text,#fff)!important;font-size:.68rem!important;
   line-height:1.55!important;white-space:normal!important;overflow-wrap:anywhere!important;
   text-align:center!important;font-weight:800!important;
 }
 .taha-cal-featured .taha-cal-featured-main {
   display:block!important;min-width:0!important;flex:1 1 0!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   scroll-snap-type:x mandatory!important;scrollbar-width:none!important;
   overscroll-behavior-inline:contain!important;
   -webkit-overflow-scrolling:touch!important;background:#fff!important;
 }
 .taha-cal-featured .taha-cal-featured-main::-webkit-scrollbar{display:none!important}
 .taha-cal-featured .taha-cal-featured-list {
   display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;
   width:max-content!important;min-width:100%!important;gap:5px!important;
   padding:9px 8px!important;margin:0!important;align-items:stretch!important;
 }
 .taha-cal-featured .taha-cal-featured-item {
   flex:0 0 clamp(147px,calc(100vw - 172px),245px)!important;min-width:147px!important;max-width:245px!important;
   min-height:54px!important;max-height:54px!important;
   padding:6px 8px!important;gap:7px!important;scroll-snap-align:start!important;
   border-radius:9px!important;box-shadow:none!important;background:#f8fafc!important;
   border:1px solid #e4eaf2!important;
 }
 .taha-cal-featured .taha-cal-featured-date {
   display:flex!important;flex-direction:column!important;align-items:center!important;
   justify-content:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;
   padding:3px!important;gap:0!important;background:#edf2f9!important;
   border-radius:6px!important;color:#3b526f!important;
 }
 .taha-cal-featured .taha-cal-featured-date strong{font-size:1.05rem!important;line-height:1.22!important;color:#273e59!important}
 .taha-cal-featured .taha-cal-featured-date span{font-size:.62rem!important;line-height:1.25!important;color:#51647c!important}
 .taha-cal-featured .taha-cal-featured-item.is-holiday .taha-cal-featured-date{background:#fde9ed!important}
 .taha-cal-featured .taha-cal-featured-item.is-holiday .taha-cal-featured-date strong,
 .taha-cal-featured .taha-cal-featured-item.is-holiday .taha-cal-featured-date span{color:#a32640!important}
 .taha-cal-featured .taha-cal-featured-copy {
   display:flex!important;align-items:center!important;min-width:0!important;max-width:calc(100% - 47px)!important;
   flex:1 1 auto!important;overflow:hidden!important;
 }
 .taha-cal-featured .taha-cal-featured-title {
   display:block!important;min-width:0!important;max-width:100%!important;
   font-size:.75rem!important;font-weight:750!important;line-height:1.45!important;
   overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;
   display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
   color:#273c56!important;
 }
 .taha-cal-featured .taha-cal-featured-title a{white-space:normal!important;display:block!important}
 /* Product links remain accessible in the calendar/day details; hide only inside this narrow carousel. */
 .taha-cal-featured .taha-cal-featured-copy .taha-cal-event-links{display:none!important}
 .taha-cal-featured .taha-cal-featured-side {
   flex:0 0 91px!important;width:91px!important;min-width:91px!important;
   padding:8px 6px!important;border-top:0!important;border-right:1px solid #e6ebf2!important;
   background:#f9fafc!important;display:flex!important;align-items:center!important;
 }
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-widget{width:100%!important}
 .taha-cal-featured .taha-cal-featured-side .taha-cal-popup-trigger {
   width:100%!important;min-height:52px!important;max-height:52px!important;
   font-size:.7rem!important;font-weight:800!important;line-height:1.5!important;
   white-space:normal!important;text-align:center!important;
   border-radius:8px!important;padding:4px 5px!important;
   box-shadow:none!important;
 }
 .taha-cal-featured .taha-cal-featured-empty{min-height:70px!important;padding:15px!important;white-space:normal!important;font-size:.77rem!important}
 .taha-cal-featured .taha-cal-featured-main:focus-visible {outline:2px solid #225bbb!important;outline-offset:-2px!important}
}
@media (max-width: 360px) {
 .taha-cal-featured .taha-cal-featured-side{flex-basis:84px!important;width:84px!important;min-width:84px!important;padding:6px 4px!important}
 .taha-cal-featured .taha-cal-featured-header{flex-basis:61px!important;width:61px!important;max-width:61px!important;min-width:61px!important;padding:4px!important}
 .taha-cal-featured .taha-cal-featured-header h2{font-size:.64rem!important}
 .taha-cal-featured .taha-cal-featured-item{flex-basis:clamp(147px,calc(100vw - 154px),205px)!important;min-width:147px!important;max-width:205px!important}
 .taha-cal-featured .taha-cal-featured-list{padding:8px 6px!important}
}
@media (prefers-reduced-motion: reduce) {
 .taha-cal-featured .taha-cal-featured-main{scroll-behavior:auto!important}
}
