/* Pera 1.5: real photographs, balanced calendar and shared interaction system. */
:root{--pera-ink:#0c2e50;--pera-blue:#096fae;--pera-teal:#008f9e;--pera-gold:#ffc85b;--pera-edge:#d9e8f0}
.calendar-section{margin:clamp(30px,4vw,56px) auto;scroll-margin-top:110px}.calendar-heading{align-items:flex-end;gap:20px;margin-bottom:22px}.calendar-heading h2{display:flex;align-items:center;gap:12px;font-size:clamp(28px,3vw,40px);margin:6px 0}.calendar-heading h2 svg{width:32px;height:32px;color:#df960e;flex:none}.calendar-heading p{font-size:15px;color:#465e70;margin:4px 0 0}.calendar-heading .btn{flex-shrink:0}.calendar-panel{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);overflow:hidden;border:1px solid #c9e4ed;border-radius:25px;background:#fff;box-shadow:0 12px 36px #143d5b14}.calendar-main{padding:clamp(20px,3.2vw,40px);min-width:0}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.calendar-kicker{display:block;color:#177d95;font-size:11px;font-weight:800;letter-spacing:.14em}.calendar-toolbar h3{font:700 clamp(22px,2.3vw,32px)/1.2 Lora,Georgia,serif;color:var(--pera-ink);margin:5px 0 0}.calendar-controls{display:flex;gap:7px;align-items:center}.calendar-controls button,.photo-controls button{background:white;border:1px solid #cde2eb;color:#0d5d87;min-width:42px;height:42px;border-radius:12px;font:700 22px/1 Inter,sans-serif;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s,box-shadow .2s}.calendar-controls button[data-cal-today]{padding:0 12px;font-size:13px}.calendar-controls button:hover,.photo-controls button:hover{background:#e7f7fb;box-shadow:0 3px 10px #083a5d18;transform:translateY(-1px)}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-week{margin-bottom:8px}.calendar-week span{font-size:12px;font-weight:700;color:#5a7182;text-align:center;padding-block:5px}.calendar-day,.calendar-blank{min-width:0;min-height:42px;aspect-ratio:1.4}.calendar-day{font:650 15px/1 Inter,sans-serif;position:relative;border-radius:11px;background:#f4f8fb;border:1px solid transparent;color:#153e5b;cursor:pointer;transition:background .18s,border .18s}.calendar-day:hover{background:#e2f4fa;border-color:#9dcfdf}.calendar-day.is-today{border-color:#0b92ad;background:#e0f6fb;color:#075779}.calendar-day.has-event{background:#fff2d5;color:#754c08;border-color:#f4ce7e}.calendar-day.has-event i{position:absolute;bottom:5px;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#dc9008}.calendar-day.is-selected{background:#086a9c;color:#fff;border-color:#086a9c}.calendar-day:focus-visible,.calendar-controls button:focus-visible,.photo-controls button:focus-visible,.photo-tile:focus-visible{outline:3px solid #f2ae25;outline-offset:2px}.calendar-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px;color:#536b7b;font-size:12px}.calendar-legend span{display:flex;align-items:center;gap:7px}.calendar-legend i{width:10px;height:10px;border-radius:50%}.today-dot{background:#fff;border:2px solid #0b92ad}.event-dot{background:#e9a11d}.calendar-agenda{min-width:0;display:flex;flex-direction:column;position:relative;background:radial-gradient(ellipse at top right,#19a5b640,transparent 60%),linear-gradient(150deg,#092f53,#075675 78%,#07899a);color:#fff;padding:clamp(24px,3.2vw,40px);overflow:hidden}.agenda-heading .eyebrow{color:#a9e8ef}.agenda-heading h3{color:#fff;font-size:clamp(22px,2.4vw,31px);margin:8px 0 22px}.agenda-empty{max-width:390px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px 0}.agenda-icon{display:grid;place-items:center;width:66px;height:66px;border:1px solid #ffffff50;border-radius:19px;background:#ffffff18;color:#ffdc86;font-size:36px}.agenda-icon svg{width:34px;height:34px}.agenda-empty h4{font-size:20px;color:#fff;margin:0}.agenda-empty p{color:#e1f5fa;font-size:15px;line-height:1.7;margin:0}.agenda-contact{margin-top:auto;padding-top:20px}.agenda-contact .btn{white-space:normal;justify-content:center;width:100%;max-width:390px}.agenda-event{display:grid;grid-template-columns:58px minmax(0,1fr) 22px;gap:13px;align-items:center;padding:12px;margin-bottom:10px;border:1px solid #ffffff30;background:#ffffff12;color:#fff;border-radius:15px}.agenda-event:hover{background:#ffffff25}.agenda-date{display:grid;place-items:center;gap:4px;background:#fff2d3;color:#65440b;border-radius:10px;font-size:23px;font-weight:800;min-height:63px;padding:6px}.agenda-date small{font-size:10px;font-weight:700}.agenda-event b{font-size:15px;display:block;line-height:1.4}.agenda-event div small{display:block;color:#dbf3f9;font-size:12px;margin-top:4px}.agenda-event svg{width:19px}.agenda-arrow{font-size:20px}.page-body>.calendar-section{width:100%;margin:24px 0 36px}.page-body>.calendar-section .calendar-heading>a{display:none}
.photo-showcase{padding:clamp(34px,5vw,65px) 0;margin-top:32px;background:radial-gradient(ellipse at 90% 0,#19b9c83b,transparent 55%),linear-gradient(135deg,#073457,#075877 66%,#007e94);color:#fff;position:relative;overflow:hidden}.photo-shell{position:relative;min-width:0}.showcase-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px}.showcase-heading .eyebrow{color:#abe7ee}.showcase-heading h2{font-size:clamp(29px,3.2vw,43px);color:#fff;margin:7px 0}.showcase-heading p{color:#d9f3fa;font-size:15px;margin:0}.photo-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.photo-controls button{border-color:#ffffff4d;background:#ffffff18;color:white;width:46px;height:46px}.photo-controls button:hover{background:#fff;color:#0c6584}.photo-controls button[data-photo-pause]{font-size:17px}.photo-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#9cdeea55 transparent;padding:4px 0 15px;overscroll-behavior-inline:contain;position:relative}.photo-tile{display:block;position:relative;overflow:hidden;min-width:0;width:100%;aspect-ratio:4/3;border:0;border-radius:15px;padding:0;background:#dcecf0;cursor:zoom-in;scroll-snap-align:start;box-shadow:0 4px 15px #092c4a35}.photo-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.photo-tile:hover img{transform:scale(1.045)}.photo-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;color:#0a597a;background:#fffffff0;border-radius:11px;box-shadow:0 4px 12px #092c4a35}.photo-expand svg{width:18px;height:18px}.showcase-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:13px}.photo-position{display:flex;align-items:center;gap:13px;color:#e2f6fb;font-size:13px;font-variant-numeric:tabular-nums}.photo-progress{width:clamp(65px,15vw,180px);height:3px;background:#ffffff38;border-radius:6px;overflow:hidden}.photo-progress i{display:block;background:#ffd36d;width:0;height:100%;transition:width .25s}.showcase-bottom .btn{flex-shrink:0}.new-photo-library{margin:25px 0 38px;scroll-margin-top:110px}.new-photo-library .section-heading{align-items:flex-end}.new-photo-library h2{margin-top:6px}.library-count{white-space:nowrap;font-weight:700;color:#08778d;font-size:14px}.photo-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.library-item[hidden]{display:none!important}.library-item .photo-tile{border:1px solid var(--pera-edge);box-shadow:0 6px 17px #153f5c12}.library-more{display:flex;justify-content:center;margin-top:22px}.library-more button[hidden]{display:none}.library-more button{cursor:pointer}.archive-events .event-photo .pera-art{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:0;box-shadow:none}.archive-events .date-tag{z-index:1}.about-mosaic>div:empty{display:none}.top-inner .btn{white-space:nowrap}.hero-photo img{image-rendering:auto}.article-card>div{min-width:0}.article-card h3{overflow-wrap:anywhere}.article-card p{line-height:1.55}
@media(max-width:1024px){.photo-track{grid-auto-columns:calc((100% - 32px)/3)}.photo-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-panel{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}
@media(max-width:760px){.calendar-panel{grid-template-columns:1fr;border-radius:19px}.calendar-heading{align-items:flex-start;flex-direction:column;gap:10px}.calendar-heading .btn{min-height:40px}.calendar-main,.calendar-agenda{padding:20px}.calendar-day{min-height:38px}.calendar-week,.calendar-days{gap:5px}.photo-track{grid-auto-columns:calc((100% - 16px)/2)}.photo-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.showcase-heading{align-items:flex-start;flex-direction:column}.photo-controls button{width:42px;height:42px}.showcase-bottom{flex-wrap:wrap}.photo-showcase{margin-top:20px}.new-photo-library .section-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:420px){.calendar-main,.calendar-agenda{padding:15px}.calendar-toolbar{gap:6px}.calendar-controls{gap:4px}.calendar-controls button{min-width:34px;height:36px;border-radius:9px}.calendar-controls button[data-cal-today]{font-size:11px;padding:0 7px}.calendar-toolbar h3{font-size:21px}.calendar-day{min-height:34px;font-size:13px;border-radius:8px}.calendar-week span{font-size:10px}.calendar-legend{font-size:11px;gap:12px}.calendar-heading h2 svg{width:26px}.photo-track{grid-auto-columns:76%;gap:12px}.photo-tile{border-radius:12px}.photo-expand{right:7px;bottom:7px;width:30px;height:30px}.photo-expand svg{width:15px}.showcase-bottom .btn{font-size:12px}.photo-library-grid{gap:8px}}
@media(prefers-reduced-motion:reduce){.photo-tile img,.photo-progress i,.calendar-day,.photo-controls button{transition:none}.photo-tile:hover img{transform:none}}
@media print{.photo-showcase,.calendar-section{display:none!important}}
.event-detail-meta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.event-detail-meta:empty{display:none}.event-detail-meta span{display:flex;align-items:center;gap:9px;padding:10px 14px;background:#edf8fb;border:1px solid #d1e6ed;border-radius:12px;color:#125c7b;font-weight:700;font-size:14px}.event-detail-meta svg{width:19px;height:19px;flex:none}.event-detail-page .reading-aside .btn{margin-top:12px;width:100%;justify-content:center}.about-mosaic .photo-tile{height:100%;aspect-ratio:auto;min-height:145px}.about-mosaic .photo-tile img{object-fit:cover}
