.updates-banner{padding:64px 0;background:#f0f4fa;border-bottom:1px solid #dae1ec}.updates-banner h1{font-size:clamp(2rem,6vw,3.6rem);color:#26286a;margin:12px 0 20px}.updates-banner p{max-width:650px;font-size:1.15rem;line-height:1.7}.updates-banner>a{color:#26286a}.updates-container{padding-top:36px;padding-bottom:60px}.updates-filters,.updates-pagination{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px}.updates-filters a,.updates-pagination a{padding:10px 16px;border:1px solid #b5bfd2;border-radius:7px;color:#26286a;font-weight:600}.updates-filters a[aria-current=page],.updates-pagination a[aria-current=page]{background:#26286a;color:#fff}.updates-pagination{justify-content:center;margin:36px 0}.school-updates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.school-update-card{border:1px solid #dce2ec;border-radius:14px;overflow:hidden;background:#fff;min-width:0;box-shadow:0 8px 28px #16234009}.update-card-image{display:block;position:relative;height:220px;background:#edf1f7;color:#26286a}.update-card-image img{width:100%;height:100%;object-fit:cover}.update-image-fallback{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.7rem;font-weight:700;background:linear-gradient(135deg,#e8eff8,#f8fafc)}.update-label{display:inline-block;padding:5px 10px;font-size:.8rem;font-weight:700;background:#fff;color:#26286a;border-radius:5px}.update-card-image>.update-label{position:absolute;left:16px;bottom:16px}.update-card-body{padding:24px}.update-card-body h3{font-size:1.2rem;line-height:1.4;margin:10px 0 14px}.update-card-body h3 a{color:#202b47}.update-card-body p{line-height:1.7}.update-date{font-size:.85rem;color:#5b6475}.update-card-body>.btn-text{display:inline-block;margin-top:12px}.school-social{margin-top:68px;padding-top:40px;border-top:1px solid #dce2ec}.school-social .section-title{max-width:780px;margin:0 auto 32px}.social-feed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.social-feed-panel{background:#f7f9fc;border:1px solid #dce2ec;padding:24px;border-radius:14px;min-width:0}.social-feed-panel h3{font-size:1.35rem;color:#26286a;margin:0 0 12px}.social-feed-panel p{line-height:1.7}.social-placeholder{padding:24px;background:#f2f5fa;border:1px solid #dae2ef;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}.social-placeholder[hidden]{display:none}.social-placeholder button{border:0;cursor:pointer;line-height:1.5;font:inherit;padding:12px 18px}.social-placeholder a,.social-fallback a,.school-social-links a{color:#26286a;text-decoration:underline}.social-fallback{font-size:.875rem;line-height:1.7;color:#515e73;margin:16px 0}.social-frame-host iframe{display:block;width:100%;height:620px;border:0;border-radius:8px;background:#fff}.social-landscape .social-frame-host iframe{height:auto;aspect-ratio:16/9}.social-frame-host:empty{display:none}.social-frame-host .tiktok-embed{max-width:100%!important;min-width:0!important;margin:0}.school-social-links{display:flex;gap:24px;flex-wrap:wrap;margin:28px 0 0}.post-gallery figure{margin:28px 0}.post-gallery img{display:block;width:100%;height:auto;max-height:850px;object-fit:contain;border-radius:10px;background:#f4f6f9}.post-gallery figcaption{padding:12px 0;color:#526075;line-height:1.7}.post-gallery.is-multi{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.post-gallery.is-multi figure{margin:0}.post-gallery.is-multi img{height:320px;object-fit:cover}.post-social{margin:24px 0 36px}.post-content{overflow-wrap:anywhere}.update-preview{padding:16px;background:#fff2d9;border:1px solid #d9a540;margin:20px 0}.empty-updates{padding:32px 0}.updates-admin{font-family:Arial,sans-serif;color:#20243a;background:#f4f6fa;margin:0;line-height:1.6}.update-editor{max-width:960px;margin:32px auto;padding:32px;background:#fff;border:1px solid #dce2ec;border-radius:16px}.update-editor h1{color:#26286a;line-height:1.2}.update-editor a{color:#26286a}.update-editor label{display:block;font-weight:700;margin:24px 0 8px}.update-editor label span{font-weight:400;color:#5b6475}.update-editor input:not([type=hidden]),.update-editor select,.update-editor textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #8f9cb3;border-radius:7px;font:inherit;background:#fff;color:#20243a}.update-editor small{display:block;margin-top:8px;color:#526075;font-size:.9rem}.editor-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}.editor-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.editor-photo-slot{padding:18px;border:1px solid #dae2ef;border-radius:10px;background:#f8fafc}.editor-photo-slot[hidden]{display:none}.editor-photo-slot img{width:100%;height:180px;object-fit:contain;margin-top:12px}.editor-photo-slot img[hidden]{display:none}.photo-slot-label{font-weight:700;color:#26286a}.editor-photo-slot label{font-size:.9rem;margin-top:16px}.editor-seo{margin:28px 0;padding:18px;border:1px solid #dae2ef}.editor-seo summary{cursor:pointer;font-weight:700}.editor-help{font-size:.9rem;color:#526075}.editor-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.editor-actions button{padding:13px 18px;border:1px solid #26286a;border-radius:7px;background:#fff;color:#26286a;font:inherit;cursor:pointer}.editor-actions .editor-publish{background:#26286a;color:#fff}.admin-update-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.update-status{display:inline-block;font-weight:700;color:#5b4d0a}.social-settings{margin-top:24px}.social-settings label{display:block;margin-top:14px}.social-settings input[type=url]{width:100%;padding:12px}.social-settings .social-checkbox{display:flex;gap:12px;align-items:center}.social-settings button{margin-top:20px;padding:12px}.social-management-note{padding:16px;background:#f2f5fa;line-height:1.7}
@media(max-width:950px){.school-updates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.update-editor{margin:20px;padding:24px}}
@media(max-width:640px){.school-updates-grid,.social-feed-grid,.editor-photo-grid,.editor-row,.post-gallery.is-multi{grid-template-columns:1fr}.updates-banner{padding:40px 0}.update-card-image{height:230px}.social-feed-panel{padding:16px}.social-placeholder{padding:18px}.update-editor{margin:10px;padding:20px 16px}.editor-actions{align-items:stretch;flex-direction:column}.post-gallery.is-multi img{height:auto}.social-frame-host iframe{height:620px}}

.social-frame-host iframe{max-width:100%!important;min-width:0!important}

.editor-error{padding:18px;border:1px solid #b24729;background:#fff3ed;color:#792b18;margin:20px 0;line-height:1.7}
