{"id":32,"date":"2016-10-04T12:11:48","date_gmt":"2016-10-04T12:11:48","guid":{"rendered":"http:\/\/www.isc.edu.eg\/demoebis\/?page_id=32"},"modified":"2026-09-16T08:52:39","modified_gmt":"2026-09-16T08:52:39","slug":"principal-updates","status":"publish","type":"page","link":"https:\/\/www.isc.edu.eg\/ebis\/the-school\/principal-updates\/","title":{"rendered":"Principal Updates"},"content":{"rendered":"\n<style>\n  @font-face {\n    font-family: Andalus;\n    src: url(\"https:\/\/www.isc.edu.eg\/ebis\/wp-content\/themes\/edubase\/css\/2.woff\") format(\"woff\"),\n         url(\"https:\/\/www.isc.edu.eg\/ebis\/wp-content\/themes\/edubase\/css\/2.ttf\") format(\"truetype\");\n    font-weight: normal;\n    font-style: normal;\n  }\n\n  .pdf-row {\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 30px;\n    max-width: 780px;\n    margin: 0 auto;\n    padding: 0 12px;\n    box-sizing: border-box;\n    font-family: Andalus, \"Times New Roman\", serif;\n    color: #555;\n  }\n\n  .pdf-col {\n    min-width: 0;\n  }\n\n  .pdf-row h4 {\n    margin: 0 0 12px;\n    font-family: Andalus, \"Times New Roman\", serif !important;\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 1.2;\n    color: #a70000 !important;\n  }\n\n  .pdf-preview {\n    position: relative;\n    width: 100%;\n    max-width: 350px;\n    aspect-ratio: 350 \/ 300;\n    border: 1px solid #ddd;\n    overflow: hidden;\n    background: #f5f5f5;\n    cursor: pointer;\n  }\n\n  .pdf-preview iframe {\n    width: 100%;\n    height: 100%;\n    border: 0;\n    pointer-events: none;\n  }\n\n  .pdf-preview-overlay {\n    position: absolute;\n    inset: 0;\n    display: flex;\n    align-items: flex-end;\n    justify-content: center;\n    padding: 12px;\n    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 50%);\n  }\n\n  .pdf-preview-btn {\n    background: #a70000;\n    color: #fff;\n    border: 0;\n    border-radius: 4px;\n    padding: 10px 18px;\n    font-family: Andalus, \"Times New Roman\", serif;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 1;\n    cursor: pointer;\n  }\n\n  .pdf-preview:hover .pdf-preview-btn,\n  .pdf-preview:focus-visible .pdf-preview-btn {\n    background: #7b2ba3;\n  }\n\n  .pdf-modal {\n    display: none;\n    position: fixed;\n    inset: 0;\n    z-index: 99999;\n    align-items: center;\n    justify-content: center;\n    background: rgba(0, 0, 0, 0.7);\n    padding: 16px;\n    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));\n    box-sizing: border-box;\n  }\n\n  .pdf-modal.is-open {\n    display: flex;\n  }\n\n  .pdf-modal-dialog {\n    display: flex;\n    flex-direction: column;\n    position: relative;\n    width: min(960px, 100%);\n    height: min(90dvh, 800px);\n    max-height: 100%;\n    background: #fff;\n    border-radius: 8px;\n    overflow: hidden;\n    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);\n  }\n\n  .pdf-modal-header {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n    flex-shrink: 0;\n    padding: 10px 12px 10px 16px;\n    background: #a70000;\n    color: #fff;\n    font-family: Andalus, \"Times New Roman\", serif;\n  }\n\n  .pdf-modal-header h3 {\n    margin: 0;\n    flex: 1;\n    min-width: 0;\n    font-family: Andalus, \"Times New Roman\", serif !important;\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 1.2;\n    color: #fff !important;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  }\n\n  .pdf-modal-actions {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    flex-shrink: 0;\n  }\n\n  .pdf-modal-newtab,\n  .pdf-modal-close {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    min-width: 44px;\n    min-height: 44px;\n    background: transparent;\n    border: 0;\n    color: #fff;\n    text-decoration: none;\n    cursor: pointer;\n    font-family: Andalus, \"Times New Roman\", serif;\n  }\n\n  .pdf-modal-newtab {\n    font-size: 14px;\n    font-weight: 700;\n    padding: 0 8px;\n    white-space: nowrap;\n  }\n\n  .pdf-modal-close {\n    font-size: 32px;\n    line-height: 1;\n    padding: 0;\n  }\n\n  .pdf-modal-frame-wrap {\n    flex: 1;\n    min-height: 0;\n    background: #eee;\n  }\n\n  .pdf-modal-frame-wrap iframe {\n    width: 100%;\n    height: 100%;\n    border: 0;\n  }\n\n  body.pdf-modal-open {\n    overflow: hidden;\n  }\n\n  @media (max-width: 767px) {\n    .pdf-row {\n      grid-template-columns: 1fr;\n      max-width: 420px;\n      gap: 24px;\n    }\n\n    .pdf-preview {\n      max-width: none;\n    }\n\n    .pdf-modal {\n      padding: 0;\n    }\n\n    .pdf-modal-dialog {\n      width: 100%;\n      height: 100dvh;\n      max-height: 100dvh;\n      border-radius: 0;\n    }\n\n    .pdf-modal-header {\n      padding-top: max(10px, env(safe-area-inset-top));\n    }\n\n    .pdf-modal-header h3 {\n      white-space: normal;\n      font-size: 16px;\n    }\n  }\n\n  @media (max-width: 479px) {\n    .pdf-row h4 {\n      font-size: 16px;\n    }\n  }\n<\/style>\n\n<div class=\"pdf-row\">\n  <div class=\"pdf-col\">\n    <h4>End of Term 2 2025-2026<\/h4>\n    <div class=\"pdf-preview\" data-pdf=\"https:\/\/www.isc.edu.eg\/ebis\/wp-content\/uploads\/2026\/09\/End-of-Term-2-25.26.pdf\" data-title=\"End of Term 2 2025-2026\" role=\"button\" tabindex=\"0\">\n      <iframe src=\"https:\/\/docs.google.com\/gview?embedded=true&#038;url=https:\/\/www.isc.edu.eg\/ebis\/wp-content\/uploads\/2026\/09\/End-of-Term-2-25.26.pdf\" title=\"End of Term 2 2025-2026 preview\"><\/iframe>\n      <div class=\"pdf-preview-overlay\">\n        <button type=\"button\" class=\"pdf-preview-btn\">Open PDF<\/button>\n      <\/div>\n    <\/div>\n  <\/div>\n\n  <div class=\"pdf-col\">\n    <h4>Parent letter &#8211; start of the new academic year<\/h4>\n    <div class=\"pdf-preview\" data-pdf=\"https:\/\/www.isc.edu.eg\/ebis\/wp-content\/uploads\/2026\/09\/Parent-letter-start-of-the-new-academic-year.pdf\" data-title=\"Parent letter - start of the new academic year\" role=\"button\" tabindex=\"0\">\n      <iframe src=\"https:\/\/docs.google.com\/gview?embedded=true&#038;url=https:\/\/www.isc.edu.eg\/ebis\/wp-content\/uploads\/2026\/09\/Parent-letter-start-of-the-new-academic-year.pdf\" title=\"Parent letter preview\"><\/iframe>\n      <div class=\"pdf-preview-overlay\">\n        <button type=\"button\" class=\"pdf-preview-btn\">Open PDF<\/button>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n\n<div class=\"pdf-modal\" id=\"pdfModal\" aria-hidden=\"true\">\n  <div class=\"pdf-modal-dialog\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"pdfModalTitle\">\n    <div class=\"pdf-modal-header\">\n      <h3 id=\"pdfModalTitle\">PDF<\/h3>\n      <div class=\"pdf-modal-actions\">\n        <a class=\"pdf-modal-newtab\" id=\"pdfModalNewTab\" href=\"#\" target=\"_blank\" rel=\"noopener\">Open in new tab<\/a>\n        <button type=\"button\" class=\"pdf-modal-close\" id=\"pdfModalClose\" aria-label=\"Close\">&times;<\/button>\n      <\/div>\n    <\/div>\n    <div class=\"pdf-modal-frame-wrap\">\n      <iframe id=\"pdfModalFrame\" title=\"PDF viewer\"><\/iframe>\n    <\/div>\n  <\/div>\n<\/div>\n\n<script>\n  (function () {\n    var modal = document.getElementById(\"pdfModal\");\n    var frame = document.getElementById(\"pdfModalFrame\");\n    var titleEl = document.getElementById(\"pdfModalTitle\");\n    var closeBtn = document.getElementById(\"pdfModalClose\");\n    var newTab = document.getElementById(\"pdfModalNewTab\");\n    var scrollY = 0;\n\n    function viewerUrl(pdfUrl) {\n      return \"https:\/\/docs.google.com\/gview?embedded=true&url=\" + encodeURIComponent(pdfUrl);\n    }\n\n    function openPdf(url, title) {\n      titleEl.textContent = title || \"PDF\";\n      newTab.href = url;\n      frame.src = viewerUrl(url);\n      modal.classList.add(\"is-open\");\n      modal.setAttribute(\"aria-hidden\", \"false\");\n      scrollY = window.scrollY || 0;\n      document.body.classList.add(\"pdf-modal-open\");\n      document.body.style.position = \"fixed\";\n      document.body.style.top = \"-\" + scrollY + \"px\";\n      document.body.style.left = \"0\";\n      document.body.style.right = \"0\";\n      document.body.style.width = \"100%\";\n    }\n\n    function closePdf() {\n      modal.classList.remove(\"is-open\");\n      modal.setAttribute(\"aria-hidden\", \"true\");\n      document.body.classList.remove(\"pdf-modal-open\");\n      document.body.style.position = \"\";\n      document.body.style.top = \"\";\n      document.body.style.left = \"\";\n      document.body.style.right = \"\";\n      document.body.style.width = \"\";\n      window.scrollTo(0, scrollY);\n      frame.src = \"\";\n    }\n\n    if (modal.parentNode !== document.body) {\n      document.body.appendChild(modal);\n    }\n\n    document.querySelectorAll(\".pdf-preview\").forEach(function (preview) {\n      function handleOpen() {\n        openPdf(preview.getAttribute(\"data-pdf\"), preview.getAttribute(\"data-title\"));\n      }\n\n      preview.addEventListener(\"click\", handleOpen);\n      preview.addEventListener(\"keydown\", function (e) {\n        if (e.key === \"Enter\" || e.key === \" \") {\n          e.preventDefault();\n          handleOpen();\n        }\n      });\n    });\n\n    closeBtn.addEventListener(\"click\", function (e) {\n      e.stopPropagation();\n      closePdf();\n    });\n\n    modal.addEventListener(\"click\", function (e) {\n      if (e.target === modal) closePdf();\n    });\n\n    document.addEventListener(\"keydown\", function (e) {\n      if (e.key === \"Escape\" && modal.classList.contains(\"is-open\")) closePdf();\n    });\n  })();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>End of Term 2 2025-2026 Open PDF Parent letter &#8211; start of the new academic year Open PDF PDF Open in new tab &times;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":27,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_mc_calendar":[],"footnotes":""},"class_list":["post-32","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/pages\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":40,"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/pages\/32\/revisions"}],"predecessor-version":[{"id":3064,"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/pages\/32\/revisions\/3064"}],"up":[{"embeddable":true,"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/pages\/27"}],"wp:attachment":[{"href":"https:\/\/www.isc.edu.eg\/ebis\/wp-json\/wp\/v2\/media?parent=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}