/* Calendar component only: school feed and three-date calendar. */
.nour-calendar{ border:1px solid #d4ccb9 }
.nour-week{ display:grid;grid-template-columns:repeat(7,minmax(0,1fr)) }
.nour-week:first-child{ background:#1b3f6b;color:white;text-align:center }
.nour-week:first-child>div{ padding:10px 2px;font-size:13px }
.nour-day{ min-height:100px;padding:9px;border:1px solid #e3ddcf;overflow-wrap:anywhere;background:#fffdf8 }
.nour-day small,.nour-day strong{ display:block;font-size:11px;line-height:1.6;margin-top:8px;color:#286a64 }
.nour-day.muted{ opacity:.4 }
.nour-day.today{ background:#e1ece4;box-shadow:inset 0 0 0 2px #3b7771 }
@media(max-width:767px){.nour-day{ padding:4px;min-height:80px }
.nour-day small{ font-size:9px }}
.nour-calendar{ padding:9px;background:#1b3f6b url("https://nour-chicago.stg.wbcdns.com/wp-content/uploads/2026/10/nour-girih-border.svg") center/828px 23px;border:1px solid #bf9b55;border-radius:12px;box-shadow:0 8px 24px #1b3f6b12 }
.nour-week:first-child{ background:#1b3f6b url("https://nour-chicago.stg.wbcdns.com/wp-content/uploads/2026/10/nour-persian-lattice.svg") center/160px;color:#fff }
.nour-day{ border-color:#d8c9ad }
.nour-day.today{ background:#edf0e7;box-shadow:inset 0 0 0 2px #bf9b55 }
.nour-week:first-child{ background-image:none }
.nour-calendar{ background-image:none }
.nour-cal-toolbar{ display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px }
.nour-cal-toolbar h2{ font-size:26px!important;margin:0;padding:0 }
.nour-cal-controls,.nour-cal-views{ display:flex;gap:6px }
.nour-cal-toolbar a{ display:inline-block;border:1px solid #c7d0db;border-radius:6px;background:#fffdf8;padding:8px 15px;color:#1b3f6b!important;font-size:14px;line-height:1.6;text-decoration:none }
.nour-cal-toolbar a:hover{ background:#eaf0f6!important;color:#142f51!important;border-color:#1b3f6b }
.nour-cal-views a[aria-current]{ background:#1b3f6b!important;color:#fff!important;border-color:#1b3f6b!important }
.nour-cal-views a[aria-current]:hover{ background:#294f7e!important;color:#fff!important }
.nour-cal-toolbar a:focus-visible{ outline:3px solid #bf9b55;outline-offset:3px }
.nour-live-calendar .nour-calendar{ padding:0;background:#fff;border:1px solid #d2d9e1;border-radius:10px;overflow:visible;box-shadow:none }
.nour-live-calendar .nour-week:first-child{ background:#f0f3f7;color:#47576c;border-radius:10px 10px 0 0 }
.nour-live-calendar .nour-day{ min-height:155px;padding:6px;background:#fffdf9;border:0;border-top:1px solid #dce1e7;border-inline-end:1px solid #dce1e7;opacity:1;transition:background .15s }
.nour-live-calendar .nour-day:last-child{ border-inline-end:0 }
.nour-live-calendar .nour-day:hover{ background:#f3f6fa }
.nour-live-calendar .nour-day.muted{ background:#f5f5f3;color:#88919c }
.nour-live-calendar .nour-day.today{ box-shadow:inset 0 0 0 2px #bf9b55;background:#fffaf0 }
.nour-date-number{ display:grid;place-items:center;width:29px;height:29px;margin:0 auto 6px;font-size:13px;line-height:1 }
.nour-day.today .nour-date-number{ background:#1b3f6b;color:white;border-radius:50% }
.nour-calendar-event{ margin:4px 0;color:#1b3f6b;background:#e8eef6;border-radius:4px;font-size:11px;line-height:1.7 }
.nour-calendar-event summary{ padding:4px 6px;cursor:pointer;list-style:none;border-inline-start:3px solid #4473a6;border-radius:4px }
.nour-calendar-event summary:hover{ background:#d2e1f1;color:#142f51 }
.nour-calendar-event[open] summary{ background:#1b3f6b;color:#fff }
.nour-calendar-event>div{ padding:10px;border:1px solid #ccd9e8;background:white;color:#1b3f6b }
.nour-calendar-event time{ white-space:nowrap;font-weight:bold }
.nour-cal-source{ font-size:12px;color:#667386;margin-top:20px }
.nour-cal-source a{ color:#1b3f6b!important;text-decoration:underline }
.nour-cal-agenda section{ padding:20px;border-bottom:1px solid #d5dce5 }
.nour-cal-agenda h3{ font-size:19px }
.nour-cal-agenda time{ display:inline-block;min-width:120px;color:#526983 }
@media(max-width:767px){.nour-live-calendar{ overflow-x:auto;padding:4px }
.nour-live-calendar .nour-calendar{ min-width:760px }
.nour-cal-toolbar{ gap:14px }
.nour-cal-toolbar h2{ font-size:22px!important;order:-1;width:100% }
.nour-cal-toolbar a{ padding:8px 11px }
.nour-cal-source{ max-width:90vw }
.nour-cal-views{ margin-inline-start:auto }}
.nour-mobile-date{ display:none }
.nour-calendar-empty{ padding:20px;color:#65758a }
@media(max-width:767px){.nour-live-calendar{ overflow:visible;padding:0;width:100%;min-width:0 }
.nour-live-calendar .nour-calendar{ min-width:0!important;width:100%;border:0;background:transparent }
.nour-live-calendar .nour-week{ display:contents }
.nour-live-calendar .nour-week:first-child{ display:none }
.nour-live-calendar .nour-day{ display:none!important }
.nour-live-calendar .nour-day[data-has-events=true]{ display:block!important;width:100%;min-height:0;padding:15px;margin-bottom:16px;border:1px solid #c5d2e1;border-radius:10px;box-sizing:border-box }
.nour-live-calendar .nour-date-number{ display:none }
.nour-live-calendar .nour-mobile-date{ display:block;font-size:17px;font-weight:600;color:#1b3f6b;border-bottom:1px solid #d7e0eb;padding-bottom:10px;margin-bottom:12px }
.nour-calendar-event{ font-size:13px;margin:7px 0 }
.nour-calendar-event summary{ padding:8px 10px }
.nour-cal-toolbar{ align-items:flex-start }
.nour-cal-controls{ flex-wrap:wrap }
.nour-cal-views{ margin-inline-start:0 }
.nour-cal-agenda section{ padding:16px 4px }
.nour-cal-agenda p{ display:flex;flex-direction:column;gap:3px }
.nour-cal-source{ max-width:100%;overflow-wrap:anywhere }}
.nour-live-calendar time{ direction:ltr;unicode-bidi:isolate;display:inline-block }
.nour-google-calendar-frame{ display:block;border:1px solid #d1d9e1;border-radius:10px;width:100%;height:740px;background:#fff }
@media(max-width:600px){.nour-google-calendar-frame{ height:600px }}
.nour-iranian-today.nour-triple-calendar{ display:block!important;background:#f0f5f1;padding:28px;border:1px solid #bdd0c5;border-top:4px solid #24756a;border-radius:18px;margin:40px 0 24px;color:#224c45 }
.nour-three-head{ display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px }
.nour-triple-calendar .nour-three-kicker{ color:#37796c;font-size:11px;font-weight:700;letter-spacing:.03em;margin:0 0 5px;padding:0 }
.nour-triple-calendar h2{ font-family:inherit!important;font-size:27px!important;font-weight:650!important;line-height:1.6!important;margin:0!important;padding:0!important;color:#184e46!important }
.nour-three-zone{ font-size:12px;background:#e3ede6;border:1px solid #cddcd1;border-radius:30px;padding:5px 12px;white-space:nowrap }
.nour-three-body{ display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.85fr);gap:22px;align-items:stretch }
.nour-three-month{ background:#fffdf8;border:1px solid #d7ded3;border-radius:13px;padding:22px;min-width:0 }
.nour-three-toolbar{ display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px }
.nour-triple-calendar .nour-three-month-title{ font-family:inherit;font-size:22px;line-height:1.6;font-weight:650;color:#1d564b;padding:0;margin:0 }
.nour-three-controls{ display:flex;gap:5px;align-items:center }
.nour-triple-calendar button,.nour-triple-calendar select{ font-family:inherit;cursor:pointer;box-sizing:border-box }
.nour-three-controls button{ min-width:32px;min-height:34px;border:1px solid #d5ded4;background:#fffdf8;color:#235f53;border-radius:7px;padding:3px 10px;font-size:14px;line-height:1.4 }
.nour-three-controls button:first-child,.nour-three-controls button:last-child{ font-family:Arial,sans-serif;font-size:24px;padding:0 8px }
.nour-three-controls button:hover{ background:#e8f0e8 }
.nour-three-tools{ display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e6e9df;padding-bottom:14px;margin-bottom:8px }
.nour-three-tools select{ border:1px solid #d5ded4;color:#3b645a;background:#f7f8f2;border-radius:7px;padding:5px 8px;font-size:12px;min-width:92px }
.nour-three-legend{ display:flex;gap:14px;font-size:11px }
.nour-triple-calendar .nour-three-persian{ color:#1a5d51 }
.nour-triple-calendar .nour-three-islamic-civil{ color:#96702e }
.nour-triple-calendar .nour-three-gregory{ color:#4f7498 }
.nour-three-legend span:before{ content:'';display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-inline-end:4px;vertical-align:middle }
.nour-three-grid{ table-layout:fixed;width:100%;border:0!important;border-collapse:separate;border-spacing:3px;margin:0!important;color:#37594e }
.nour-three-grid th,.nour-three-grid td{ border:0!important;padding:0!important;text-align:center!important;vertical-align:middle }
.nour-three-grid th{ height:32px;font-size:12px;font-weight:500;color:#748278 }
.nour-three-day{ display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:3px;width:100%;height:70px;padding:5px 2px 9px!important;background:#f8f9f3;border:1px solid transparent;border-radius:8px;line-height:1.4;transition:background .15s,border-color .15s }
.nour-three-day:hover{ border-color:#88b1a0;background:#eaf2e9 }
.nour-three-day .nour-three-day-main{ font-size:22px;font-weight:650 }
.nour-three-day-secondary{ display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;line-height:1.4;direction:ltr }
.nour-three-day.is-muted{ opacity:.38;background:transparent }
.nour-three-day.is-today{ border-color:#659985;background:#e6efe3 }
.nour-three-day.is-selected{ background:#205d50;border-color:#205d50;box-shadow:0 2px 6px #173f3b12 }
.nour-three-day.is-selected span{ color:#fff!important }
.nour-three-event-dot{ position:absolute;bottom:4px;left:50%;margin-left:-2px;width:4px;height:4px;background:#ba9147;border-radius:50% }
.nour-three-day.is-selected .nour-three-event-dot{ background:#f1dcae }
.nour-triple-calendar .nour-three-hint{ font-size:11px;text-align:center;color:#7a877c;padding:0;margin:12px 0 0 }
.nour-three-detail{ border:1px solid #d5c39b;border-radius:13px;background:#fffdf6;padding:26px;display:flex;flex-direction:column;justify-content:center;min-width:0 }
.nour-triple-calendar .nour-three-weekday{ font-family:inherit;font-size:23px;line-height:1.6;padding:0;margin:0 0 20px;color:#235b4e }
.nour-three-dates{ margin:0;padding:0;display:grid;gap:17px }
.nour-three-date{ border-bottom:1px solid #eee8d9;padding-bottom:16px }
.nour-three-date:last-child{ border-bottom:0;padding-bottom:0 }
.nour-three-date dt{ font-size:12px;line-height:1.6;margin-bottom:4px;opacity:.9 }
.nour-three-date dd{ font-size:19px;line-height:1.7;font-weight:600;margin:0 }
.nour-triple-calendar .nour-three-ramadan{ background:#e9f0df;color:#49623b;border-radius:7px;padding:7px 10px;margin-top:18px;font-size:13px }
.nour-three-selected-events p{ font-size:14px;font-weight:600;color:#83652c;margin-top:12px }
.nour-three-upcoming{ margin-top:20px;padding-top:18px;border-top:1px solid #cedcd1 }
.nour-triple-calendar .nour-three-upcoming h3{ font-family:inherit;font-size:16px;font-weight:600;line-height:1.7;margin:0 0 12px;padding:0;color:#245c4e }
.nour-three-event-list{ display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px }
.nour-three-event{ display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d2ded3;background:#fffdf8;color:#315d4f;border-radius:9px;text-align:start;font-size:13px;line-height:1.8 }
.nour-three-event:hover{ border-color:#659985;background:#e6efe3 }
.nour-three-event-day{ display:flex;align-items:center;justify-content:center;min-width:30px;height:33px;background:#e9f0e6;border-radius:6px;font-size:18px;font-weight:650 }
.nour-three-event small{ font-size:10px!important;text-align:start!important;color:#8c703a!important;margin-inline-start:auto;white-space:nowrap }
.nour-triple-calendar .nour-three-empty{ font-size:13px;color:#6a7b6e;padding:0 }
.nour-triple-calendar .nour-three-note{ font-size:11px;line-height:1.9;color:#68796d;margin:20px 0 0;padding:0;text-align:start }
.nour-triple-calendar button:focus-visible,.nour-triple-calendar select:focus-visible{ outline:3px solid #bd9653;outline-offset:3px }
@media(max-width:900px){.nour-three-body{ grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr) }
.nour-three-month{ padding:15px }
.nour-three-detail{ padding:20px }
.nour-three-date dd{ font-size:17px }
.nour-three-legend{ gap:8px }
.nour-three-event-list{ grid-template-columns:repeat(2,minmax(0,1fr)) }}
@media(max-width:700px){.nour-iranian-today.nour-triple-calendar{ padding:18px 12px;margin-top:30px;border-radius:13px }
.nour-three-head{ margin-bottom:18px;gap:10px }
.nour-triple-calendar h2{ font-size:22px!important }
.nour-three-zone{ font-size:10px;padding:4px 8px }
.nour-three-body{ grid-template-columns:minmax(0,1fr);gap:14px }
.nour-three-month{ padding:12px 8px }
.nour-three-toolbar{ gap:7px;margin-bottom:12px }
.nour-triple-calendar .nour-three-month-title{ font-size:19px }
.nour-three-controls button{ min-width:29px;min-height:32px;padding:3px 8px;font-size:12px }
.nour-three-grid{ border-spacing:2px }
.nour-three-day{ height:57px;gap:1px;border-radius:6px }
.nour-three-day .nour-three-day-main{ font-size:19px }
.nour-three-day-secondary{ font-size:10px;gap:5px }
.nour-three-tools{ padding-bottom:10px;gap:6px }
.nour-three-tools select{ min-width:75px;font-size:11px;padding:4px }
.nour-three-legend{ gap:8px;font-size:10px }
.nour-three-detail{ padding:18px }
.nour-triple-calendar .nour-three-weekday{ font-size:20px;margin-bottom:12px }
.nour-three-dates{ grid-template-columns:repeat(3,minmax(0,1fr));gap:10px }
.nour-three-date{ border:0;border-inline-end:1px solid #e6dfcf;padding:0;padding-inline-end:8px }
.nour-three-date:last-child{ border:0 }
.nour-three-date dt{ font-size:11px }
.nour-three-date dd{ font-size:13px;line-height:1.9 }
.nour-three-event-list{ grid-template-columns:1fr }
.nour-three-upcoming{ margin-top:16px }
.nour-triple-calendar .nour-three-note{ font-size:10px }}
html.nour-calendar-frame-document,html.nour-calendar-frame-document body{ margin:0;padding:0;background:#fffdf8 }
html.nour-calendar-frame-document body{ padding:12px;box-sizing:border-box }
html.nour-calendar-frame-document .nour-iranian-today{ display:none!important }
html.nour-calendar-frame-document .nour-live-calendar{ overflow:visible!important }
html.nour-calendar-frame-document .nour-cal-source{ font-size:11px }
html.nour-calendar-frame-document a{ color:#1b3f6b;text-decoration:none }
html.nour-calendar-frame-document .nour-calendar-event summary{ cursor:pointer }
html.nour-calendar-frame-document h2,html.nour-calendar-frame-document h3,html.nour-calendar-frame-document p{ margin-top:0 }
.nour-three-body{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:18px;align-items:start}
.nour-iranian-today.nour-triple-calendar{padding:22px}
.nour-three-day{height:48px;gap:1px}
.nour-three-day .nour-three-day-main{font-size:18px}
.nour-three-month{padding:16px}
.nour-three-sidebar{display:grid;gap:14px;min-width:0}
.nour-three-detail{padding:18px;justify-content:flex-start}
.nour-three-dates{gap:10px}
.nour-three-date{padding-bottom:10px}
.nour-three-date dd{font-size:16px}
.nour-triple-calendar .nour-three-weekday{font-size:20px;margin-bottom:12px}
.nour-three-controls{unicode-bidi:isolate}
.nour-three-selected-events{background:#f4ecda;border-inline-start:3px solid #bb914d;padding:12px;margin-top:14px;border-radius:6px}
.nour-three-selected-events h4{font-family:inherit;font-size:12px;color:#83652c;margin:0 0 6px;padding:0}
.nour-three-selected-events p{margin:0!important}
.nour-three-upcoming{margin:0;padding:16px;background:#fffdf8;border:1px solid #d7ded3;border-radius:12px}
.nour-three-event-list{grid-template-columns:1fr;max-height:240px;overflow:auto}
.nour-google-calendar-frame{height:600px}
.nour-school-month-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
.nour-live-calendar .nour-day{min-height:74px;padding:5px}
.nour-school-day-link{display:block;text-align:center;background:#e8eef6;border-radius:5px;padding:5px 3px;font-size:12px;color:#1b3f6b}
.nour-school-day-link:hover{background:#d5e2f2}
.nour-school-month-events{background:#f2f5fa;border:1px solid #d1dbe7;border-radius:9px;padding:12px;max-height:430px;overflow:auto;scroll-behavior:smooth}
.nour-school-month-events h3{font-size:16px;line-height:1.7;margin:0 0 12px}
.nour-school-month-events section{padding:10px;background:#fffdf8;border-radius:6px;margin-bottom:10px;scroll-margin-top:10px}
.nour-school-month-events h4{font-size:13px;line-height:1.8;margin:0 0 7px;color:#1b3f6b}
.nour-school-month-events p{font-size:12px;line-height:1.7;padding:4px 0;margin:0;border-bottom:1px solid #e5e9ef}
.nour-school-month-events time{font-weight:700;direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:767px){.nour-school-month-layout{grid-template-columns:1fr}
.nour-live-calendar .nour-calendar{display:block!important}
.nour-live-calendar .nour-week{display:grid!important}
.nour-live-calendar .nour-week:first-child{display:grid!important}
.nour-live-calendar .nour-day{display:block!important;min-height:55px!important;margin:0!important;border:1px solid #dce1e7!important;border-radius:0!important;padding:3px!important}
.nour-live-calendar .nour-date-number{display:block!important;font-size:11px;width:auto;height:auto;margin:2px}
.nour-live-calendar .nour-mobile-date{display:none!important}
.nour-school-day-link{font-size:9px;padding:3px 0}
.nour-school-month-events{max-height:270px}
.nour-google-calendar-frame{height:730px}}
@media(max-width:700px){.nour-three-body{grid-template-columns:1fr}
.nour-three-sidebar{grid-template-columns:1fr}
.nour-three-dates{grid-template-columns:1fr}
.nour-three-date{border:0;border-bottom:1px solid #eee8d9;padding:0 0 8px}
.nour-three-day{height:48px}
.nour-three-date dd{font-size:15px}}
.nour-three-detail{padding:14px}
.nour-three-dates{gap:8px}
.nour-three-date{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:baseline;column-gap:8px;padding-bottom:7px}
.nour-three-date dt{margin:0;font-size:11px}
.nour-three-date dd{font-size:14px;line-height:1.8}
.nour-triple-calendar .nour-three-weekday{font-size:18px;margin-bottom:8px}
.nour-triple-calendar h2{font-size:23px!important}
.nour-three-upcoming{padding:12px}
.nour-three-selected-events{margin-top:10px;padding:9px}
.nour-google-calendar-frame{height:550px}
@media(max-width:767px){.nour-google-calendar-frame{height:730px}}@font-face{font-family:Vazirmatn;src:url('/wp-content/themes/nour-divi-child/assets/Vazirmatn-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:NourNunito;src:url('/wp-content/uploads/et-fonts/Nunito.woff2') format('woff2');font-display:swap}
html[lang^=fa] .nour-live-calendar,html[lang^=fa] .nour-triple-calendar{font-family:Vazirmatn,Tahoma,sans-serif}
html[lang^=en] .nour-live-calendar,html[lang^=en] .nour-triple-calendar{font-family:NourNunito,Arial,sans-serif}
.nour-live-calendar h2,.nour-live-calendar h3,.nour-live-calendar h4{font-family:inherit;color:#1b3f6b}
