


/* --- Addons ---- */
.row_head_cloud_white_grey {
background-image: url(/_styles/images/row_head_cloud_white_grey.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.imageBorderOnHover img{
border: solid 6px transparent;
transition: .5s ease !important;
}
.imageBorderOnHover img:hover {
 border: solid 6px white;
}

.imageBorderOnHover .img-responsive{
border: solid 6px transparent;
transition: .5s ease !important;
}
.imageBorderOnHover .img-responsive:hover {
 border: solid 6px white;
}
.imageShrink img {
    padding: 0 120px 0 120px;
}
.imageRotateCW img  {
transform: rotate(5deg);
}


.verticalCentredText2Col .content .colv-50{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.verticalCentredText2Col .content .colv-2{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.verticalCentredText2Col .title {
line-height: 1;
margin-top: 0;
margin-bottom: 0;
padding: 0;
min-height :20px;
}


.verticalCentredText2Col .title h2 {
margin-bottom: 0.5em;
line-height: 1em;
}
.imageRotateAC img  {
transform: rotate(-5deg);
}


.paperCurl2 {
background-image: url("/_styles/images/_backgroundImage/secshaddow.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 100%; 
content: '';
height: 15px;
width: 90%;
max-width: 1300px;
margin-right: auto;
margin-left: auto;
opacity: 0.8;
}
.paperCurl2 .pr-footer {
height: 15px;
}
.customer_grad_1bg {
background-image: linear-gradient(to bottom, #5E0018, #5E0018);
}
.customer_grad_2bg {
background-image: linear-gradient(to bottom, #A20029, #A20029);
}
.imageDarkenOnHover img {
    -webkit-filter: brightness(100%);
}

.imageDarkenOnHover img:hover {
    -webkit-filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.row_head_cloud_grey_white {
background-image: url(/_styles/images/row_head_cloud_grey_white.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.hd2 {
/*border-bottom: none;*/
}
.row_footer_cloud_white_grey {
background-image: url(/_styles/images/row_footer_cloud_white_grey.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_footer_cloud_grey_white {
background-image: url(/_styles/images/row_footer_cloud_grey_white.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_footer_cloud_white_mid {
background-image: url(/_styles/images/row_footer_cloud_white_mid.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_head_cloud_white_mid {
background-image: url(/_styles/images/row_head_cloud_white_mid.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.imageHighlightOnHover img {
    -webkit-filter: brightness(100%);
}

.imageHighlightOnHover img:hover {
    -webkit-filter: brightness(130%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.allWhiteText {
    color:white!important ;
}

.allWhiteText   .title h1  {
    color:white!important;
}

.allWhiteText   .title h2  {
    color:white!important;
}

.allWhiteText   .title h3  {
    color:white!important;
}

.allWhiteText  .title h4  {
    color:white!important;
}

.allWhiteText  .title h5  {
    color:white!important;
}

.allWhiteText  .title h6  {
    color:white!important;
}

.allWhiteText  .title a  {
    color:white!important;
}

.allWhiteText   a  {
    color:white!important;
}

.allWhiteText .docTableWithIcons {
    border-color: white!important;
}

.allWhiteText .docList  {
    color: white!important;
}

.allWhiteText  .docListItem  {
    color: white!important;
}

.allWhiteText .docList a {
    border-color: white!important;
    color: white;
}

.allWhiteText .docList .fileInfo {
    color: #ffffff!important; 
    opacity: 0.8;
} 

.allWhiteText .linksList .notes {
    color: #ffffff!important; 
    opacity: 0.8;
}

.allWhiteText .notes {
    color: #ffffff!important; 
    opacity: 0.8;
} 
.boxShadowRow  {
-webkit-box-shadow: 3px 5px 10px -1px rgba(0,0,0,0.45); 
box-shadow: 3px 5px 10px -1px rgba(0,0,0,0.35);
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.boxShadowRowInset {
-webkit-box-shadow: inset 3px 5px 10px -1px rgba(0,0,0,0.45); 
box-shadow: inset 3px 5px 10px -1px rgba(0,0,0,0.45);
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.secPadding {
	padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px; 
    margin-right: 5px;
    margin-left: 5px;
}
.padding80 {
padding-top:80px!important;
padding-bottom:80px!important;
}
.imageScaleOnHover img{
transition: all .6s ease;
}
.imageScaleOnHover img:hover {
transform: scale(1.1);
}

.imageScaleOnHover .img-responsive{
transition: all .6s ease;
}
.imageScaleOnHover .img-responsive:hover {
transform: scale(1.1);
}
.secContentTWhiteBG  {
    background-color:rgba(255, 255, 255, 0.68);
padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
border-radius:10px;
}
.secContentTBlackBG {
    background-color:rgba(0, 0, 0, 0.38);
	padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
	border-radius:10px;
	color:white;
}

.secContentTBlackBG   .title  {
	color:white;
}

.secContentTBlackBG .docTableWithIcons {
border-color: white;
}

.secContentTBlackBG .docList  {
color: white;
}
.secContentTBlackBG .docList a {
border-color: white;
color: white;
}

.secContentTBlackBG .docList .fileInfo {
color: #fbfbfba6;
} 

.secContentTBlackBG  .notes {
color:#fffdfdbf;
} 

.fixedBackground {
 background-attachment: fixed;
}
.hideDiv {
display: none;
}
.padding0 {
    padding-top: 0;
    padding-bottom: 0;
}
.padding10 {
padding:10px;

}
.padding20 {
padding:20px;
}
.blurFilter  {
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
}
.roundBorderLarge {
	padding-top: 50px;
padding-right: 50px;
padding-bottom: 65px;
padding-left: 50px;
	border-radius:50px;
}
.roundBorderSmall {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
border-radius:10px;
}
.rotateAnticlockwise {
-webkit-transform: rotate(-3deg);
transform: rotate(-3deg);
}
.rotateClockwise {
-webkit-transform: rotate(3deg);
transform: rotate(3deg);
}
.paperCurl {
	position:relative;
	background-color:white;
	padding:20px;
}

.paperCurl:before, .paperCurl:after {            
    bottom:22px;
	content: "";
	position: absolute;
	z-index: -1;
	-ms-transform: rotate(-5deg);
	-webkit-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	box-shadow: 0 15px 5px rgba(0, 0, 0, 0.2);
	height: 50px;
	max-width: 50%;
	width: 50%;
	left:3px;
}

.paperCurl:after {
	-ms-transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	left: auto;
	right: 2px;
}
.insetShaddow1 {
-moz-box-shadow:   inset 0  3px 10px #00000082;
-webkit-box-shadow:  inset 0  3px 10px #00000082;
box-shadow: inset 0  3px 10px #00000082;
}
.shadow_small {
box-shadow: 3px 3px 5px #00000052;
}
.customer_col_1bg {
	background-color: #5E0018;	
}
.customer_col_2bg {
background-color: #5E0018;
}
.customer_col_3bg {
background-color: #A20029;
}
.customer_col_4bg {
background-color: #A20029;
}
.customer_col_5bg {
background-color: #C23B46;
}
.customer_col_6bg {
background-color: #FFF;
}
.customer_col_7bg {
background-color: #faf6f6;
}
.customer_col_8bg {
background-color: #D0B2B3;
}
.foliageTexture3_bg {
background-image: url(/_styles/images/_backgroundImage/foliageAutumSeamlessTexture3.jpg);
background-position: center;
}
.noticeboardBG2 {
background-image: url(/_styles/images/noticeboard-bg2.jpg);
min-height: 400px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.googlemapBG {
background-image: url(/_styles/images/googlemap-bg2.jpg);
min-height: 400px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.paperTexture1_bg  {
background-image: url(/_styles/images/_backgroundTexture/paperSeamlessTexture1.png);
background-position: center;
}
.paperTexture2bg {
background-image: url(/_styles/images/_backgroundTexture/ep_naturalwhite.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.musicPaperTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/musicPaperSeamlessTexture1.jpg);
background-position: center;
}
.graphyPaper{
background-image: url(/_styles/images/_backgroundPattern/graphy_@2X.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.snowTexture1_bg  {
background-image: url(/_styles/images/_backgroundTexture/snowSeamlessTexture1.png);
background-position: center;
}
.skyTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/skySeamlessTexture1.jpg);
background-position: center;
}
.foliageTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/foliageSeamlessTexture1.jpg);
background-position: center;
}
.foliageTexture2_bg {
background-image: url(/_styles/images/_backgroundImage/foliageAutumSeamlessTexture2.jpg);
background-position: center;
}
.corkBoardTexture1 {
background-image: url(/_styles/images/_backgroundTexture/corkboard1.png);
background-position: center;
}
.whiteBrickwall {
background-image: url(/_styles/images/_backgroundPattern/brickwall_@2X.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.bluesnowPattern {
background-image: url(/_styles/images/_backgroundPattern/bluesnowpattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.emailPattern {
background-image: url(/_styles/images/_backgroundPattern/emailPattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.sportsPattern {
background-image: url(/_styles/images/_backgroundPattern/sportsPattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.woodboardPlusItems_bg {
background-image: url(/_styles/images/_backgroundImage/woodboardPlusItems.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.hWoodboardPlusItems_bg {
background-image: url(/_styles/images/_backgroundImage/horWoodPlusItems.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.blackboard_bg {
background-image: url(/_styles/images/_backgroundImage/blackboard.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.redbg{
background: red;
}
.green_bg  {
background-color: green;
}
.red_bg {
background-color: red;
}


/* --- Site Styles ---- */
.dot {
  background-color: v var(--siteCol3)!important;
}
.calbg {
background:  #DBF2FF;
border-radius: 8px;
}

.calendar {
width: 100%;
height: 460px;
}

.calendar .header_copy,
.calendar .days,
.calendar .day_title,
.calendar .event_item > .Title {
font-size: 1.1em;
font-weight: 400;
color:  var(--siteCol3);
}

.calendar .day_title {
margin-top: 9px;
margin-bottom: 0;
}

.calendar .event_item > .Title {
margin-left: 6px;
font-size: 1.1em;
}

.calendar .event_item > .Copy {
font-size: 1.1rem;
font-weight: bold;
margin-left: 11px;
color:  var(--siteCol1);
margin-bottom: 5px;
}

.calendar .event_item {
line-height: 1.5;
}

.calendar .iconButton {
font-size: 14px;
color: v var(--siteCol1) !important;
}

:root {
  /* Shared tokens (same names/values as the page & document list refresh) */
  --so-ink: #2b2627;
  --so-text: #4a4546;
  --so-radius-sm: 14px;

  /* Per-site switch: first column weight (600 = bold labels, 400 = off) */
  --so-tbl-first-col: 600;

  /* Neutral greys (same on every site) */
  --so-tbl-stripe: #f6f6f7;
  --so-tbl-hover: #ececee;
  --so-tbl-block: #f0f0f2;
  --so-tbl-line: #e6e6e9;     /* lines between cells */
  --so-tbl-edge: #d9d9de;     /* outer border */
  --so-tbl-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
}

/* Let the column holding a table shrink (stops wide tables
   pushing the page sideways) */
#article .content > *:has(> table:not([class])) {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Table card ---------- */
#article .content table:not([class]):not(td table) {
  width: 100% !important;
  height: auto !important;
  border: 1px solid var(--so-tbl-edge) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: var(--so-radius-sm);
  background: var(--siteCol6);
  box-shadow: var(--so-tbl-shadow);
  overflow: hidden;
  margin: 0.5rem 0 1.75rem;
  font-family: var(--sitefont);
  font-variant-numeric: tabular-nums;
}

/* Wide tables scroll sideways inside the card instead of being clipped */
#article .content table:not([class]):not(td table):not(:has(> thead)) {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#article .content table:not([class]):not(td table):not(:has(> thead)) > tbody {
  display: table;
  width: 100%;
}

/* ---------- Cells (direct cells only) ---------- */
#article .content table:not([class]):not(td table) > * > tr > :is(td, th) {
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 0.9rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--so-tbl-line) !important;
  border-right: 1px solid var(--so-tbl-line) !important;
  vertical-align: top;
  font-size: 0.92rem !important;
  line-height: 1.45;
  color: var(--so-text);
  background: transparent;
}

#article .content table:not([class]):not(td table) > * > tr > :is(td, th):last-child {
  border-right: 0 !important;
}

#article .content table:not([class]):not(td table) > tbody:last-child > tr:last-child > :is(td, th) {
  border-bottom: 0 !important;
}

/* Paragraphs pasted inside cells (keeps their own alignment) */
#article .pageSec .content table:not([class]):not(td table) > * > tr > :is(td, th) p {
  font-size: inherit !important;
  line-height: inherit;
  color: inherit;
  margin: 0 0 0.35rem !important;
}

#article .pageSec .content table:not([class]):not(td table) > * > tr > :is(td, th) p:last-child {
  margin-bottom: 0 !important;
}

/* Hide truly empty spacer paragraphs */
#article .content table:not([class]):not(td table) > * > tr > :is(td, th) > p:empty,
#article .content table:not([class]):not(td table) > * > tr > :is(td, th) > p:has(> br:only-child) {
  display: none;
}

/* First column = row labels (switch with --so-tbl-first-col) */
#article .content table:not([class]):not(td table) > tbody > tr > :is(td, th):first-child {
  font-weight: var(--so-tbl-first-col);
  color: var(--so-ink);
}

/* ---------- Header row ----------
   <thead> if the table has one, otherwise the first row. */
#article .content table:not([class]):not(td table) > thead > tr > :is(td, th),
#article .content table:not([class]):not(td table):not(:has(> thead)) > tbody > tr:first-child > :is(td, th) {
  background: var(--siteCol1);
  color: var(--siteCol6) !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  vertical-align: bottom;
  border-right-color: color-mix(in srgb, var(--siteCol6) 18%, var(--siteCol1)) !important;
  border-bottom: 3px solid var(--siteCol3) !important;
}

#article .pageSec .content table:not([class]):not(td table) > thead > tr > :is(td, th) *,
#article .pageSec .content table:not([class]):not(td table):not(:has(> thead)) > tbody > tr:first-child > :is(td, th) * {
  color: var(--siteCol6) !important;
}

/* <th> used as row labels inside the body */
#article .content table:not([class]):not(td table):has(> thead) > tbody > tr > th {
  background: var(--so-tbl-block);
  color: var(--so-ink);
}

/* ---------- Stripes + hover ----------
   Skipped on tables with merged rows (e.g. timetables),
   where stripes would land in odd places. */
#article .content table:not([class]):not(td table):not(:has(td[rowspan])) > tbody > tr:nth-child(even) > td {
  background: var(--so-tbl-stripe);
}

#article .content table:not([class]):not(td table):not(:has(td[rowspan])) > tbody > tr:not(:first-child):hover > td,
#article .content table:not([class]):not(td table):not(:has(td[rowspan])):has(> thead) > tbody > tr:first-child:hover > td {
  background: var(--so-tbl-hover);
}

/* ---------- Label tables (no header row) ----------
   Tables whose rows start with a <th> label (e.g. Term Dates:
   "Half-term break: | dates") and have no <thead>: the first row
   is data, not a header, so it gets normal row styling. */
#article .content table:not([class]):not(td table):has(> tbody > tr:nth-child(2) > th:first-child):not(:has(> thead)) > tbody > tr:first-child > :is(td, th) {
  background: transparent;
  color: var(--so-text) !important;
  font-size: 0.92rem !important;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: top;
  border-right-color: var(--so-tbl-line) !important;
  border-bottom: 1px solid var(--so-tbl-line) !important;
}

#article .pageSec .content table:not([class]):not(td table):has(> tbody > tr:nth-child(2) > th:first-child):not(:has(> thead)) > tbody > tr:first-child > :is(td, th) * {
  color: inherit !important;
}

#article .content table:not([class]):not(td table):has(> tbody > tr:nth-child(2) > th:first-child):not(:has(> thead)) > tbody > tr:first-child > th {
  font-weight: var(--so-tbl-first-col);
  color: var(--so-ink) !important;
}

/* Row labels (<th>) share the row's stripe and hover */
#article .content table:not([class]):not(td table):not(:has(td[rowspan])) > tbody > tr:nth-child(even) > th {
  background: var(--so-tbl-stripe);
}

#article .content table:not([class]):not(td table):not(:has(td[rowspan])) > tbody > tr:hover > th,
#article .content table:not([class]):not(td table):not(:has(td[rowspan])):has(> tbody > tr:nth-child(2) > th:first-child):not(:has(> thead)) > tbody > tr:first-child:hover > td {
  background: var(--so-tbl-hover);
}

#article .content table:not([class]):not(td table) > tbody > tr > th {
  text-align: left;
}

/* Merged blocks (cells spanning 3+ rows, e.g. Break / Lunch) */
#article .content table:not([class]):not(td table) > tbody > tr > td[rowspan]:not([rowspan="2"]) {
  background: var(--so-tbl-block);
  vertical-align: middle;
}

/* ---------- Links in tables ---------- */
#article .content table:not([class]):not(td table) td a {
  color: var(--siteCol1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#article .content table:not([class]):not(td table) td a:hover {
  color: var(--siteCol5);
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  /* Tables with a <thead> scroll too on phones */
  #article .content table:not([class]):not(td table):has(> thead) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #article .content table:not([class]):not(td table) {
    border-radius: 12px;
  }

  #article .content table:not([class]):not(td table) > * > tr > :is(td, th) {
    min-width: 6.5rem;
    padding: 0.65rem 0.7rem !important;
    font-size: 0.85rem !important;
  }

  /* Label tables: first row matches the other rows */
  #article .content table:not([class]):not(td table):has(> tbody > tr:nth-child(2) > th:first-child):not(:has(> thead)) > tbody > tr:first-child > :is(td, th) {
    font-size: 0.85rem !important;
  }
}


body {
    overflow-x:hidden;
 }

.schoolPopout3 .fa {
 font-size: 28px;
}

.schoolPopout3__label {
   font-size: 16px;
}

.schoolPopout3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    position: absolute;
    z-index: 2;
    padding-top: 150px;
}

.schoolPopout3--right {
 right: 0;
}

.schoolPopout3__container {
 width: 250px;
 padding: 0;
}

.schoolPopout3--right .schoolPopout3__container {
 transform: translateX(72%);
}

.schoolPopout3__button-container {
 margin: 10px 0;
 width: 100%;
 padding: 10px;
 transition: all .5s ease-out;
}
/*Bar Colour*/
.schoolPopout3--right .schoolPopout3__button-container {
 background-color: var(--siteCol1);
 text-align: left;
 border-radius: 15px 0 0 15px;
 box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.4);
}
/* Circle Colour*/
.schoolPopout3--right .schoolPopout3__circle {
    background-color: var(--siteCol6);
    margin-right: 10px;
}
/* Icon Colour */
.schoolPopout3__button,
.schoolPopout3__circle svg {
 color: var(--siteCol3);
}

.schoolPopout3__button:hover {
 color: var(--siteCol3);
}
.schoolPopout3__button:visited,
.schoolPopout3__button:active,
.schoolPopout3__button:focus {
 color: var(--siteCol3);
}


/* Font */
.schoolPopout3__label {
 font-family: 'Roboto', sans-serif;
 font-weight: 600;
 margin: 0;
color: var(--siteCol6);
}

.schoolPopout3--right .schoolPopout3__button-container:hover {
 transform: translate(-70%, 0);
}

.schoolPopout3__button {
 text-decoration: none;
}

.schoolPopout3__button,
.schoolPopout3__circle {
 display: flex;
 align-items: center;
}

.schoolPopout3--right .schoolPopout3__button {
 justify-content: flex-start;
}

.schoolPopout3__circle {
 justify-content: center;
 padding: 5px;
 border-radius: 15%;
 width: 50px;
 height: 50px;
 font-size: 30px;
 text-align: center;
 transform: rotate(0deg);
}

@media screen and (max-width: 768px) {

.schoolPopout3 {
padding-top: 60px;
}

.schoolPopout3--right {
overflow: hidden;
}

#header-group {
width: 85%;
}

}
/* siteFonts */

:root {
  --sitefont: "Libre Baskerville", serif;
  --sitefont2: "poppins", sans-serif;
  --siteCol1: #5E0018;
  --siteCol2: #5E0018;
  --siteCol3: #A20029; 
  --siteCol4: #A20029; 
  --siteCol5: #C23B46; 
  --siteCol6: #FFF; 
  --siteCol7: #faf6f6; 
  --siteCol8: #D0B2B3; 
}

.scrollingTxt2 span {
    font-weight: 400;
}

.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
padding: 12px 14px;
}

.card-title {
    font-weight: 700!important;
    color: var(--siteCol1)!important;
}

.sm-blue > li {
  border-left: 1px solid var(--siteCol5);
}

.pageSubHeadBg {
background: var(--siteCol7);
}

.scrollingTxt2 {
background: var(--siteCol5);
}

.pageContent {
padding-top: 0px;
padding-bottom: 0px;
}

.btn.btn-primary,
.btn.btn-warning {
  color: #fff;
  background-color: var(--siteCol1)!important;
  border-color: var(--siteCol1)!important;
  box-shadow: none;
}

.btn.btn-primary:hover,
.btn.btn-warning:hover {
  color: #fff;
  background-color: var(--siteCol3)!important;
  border-color: var(--siteCol3)!important;
box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 6px, rgba(0, 0, 0, 0.24) 0px 6px 6px!important;
}

b, strong {
    font-weight: 700;
}

.ui-widget,
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button  {
  font-family: var(--sitefont);
}

h3, .h3 {
    font-size: 2.25rem;
}

#header-schoolName {
  letter-spacing: -1pt;
}

body, p, .p, .btn.btn-primary {
  font-family: var(--sitefont2);
  font-size: 1.2rem;
font-optical-sizing: auto;
}

.docTableWithIcons .fileInfo {
  font-size: .8rem;
}

.bubble,
.speech-bubble2,
.speech-bubble3,
.topnav,
.schoolPopout3__label,
.btn,
.card-text,
.owl-carousel .card-title,
.calendar .event_item > .Copy,
.footer .titlef,
.title {
  font-family: var(--sitefont2);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title > h3, .title > h2,
.scrollingTxt,
.card-title {
  font-family: var(--sitefont);
  font-weight: 700;
  color: var(--siteCol1);
}

.btn {
  font-family: var(--sitefont2);
  font-size: .95rem;
}

.nav-tabs .nav-item,
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active,
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  font-family: var(--sitefont2);
  font-weight: 400;
  font-size: .8em;
}

@media screen and (max-width: 768px) {
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
    background: ${col_6};
}
}

.panel-text {
font-family: var(--sitefont2);
}

.link-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  width: 100%;
  position: relative;
}

/* =========================
   PANEL BASE
   ========================= */
.panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  padding: 80px 20px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;

  transition:
    box-shadow 0.35s ease;
}

.panel:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

/* =========================
   BACKGROUND IMAGE LAYER
   ========================= */
.panel::after {
  content: "";
  position: absolute;
  inset: -10%;
background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;

  transform: scale(1) rotate(0deg);
  transition: transform 0.6s ease;
  z-index: 0;
}

/* per-panel images */
.link1::after {
  background-image: url("/_styles/images/linksbar-1.jpg");
}
.link2::after {
  background-image: url("/_styles/images/linksbar-2.jpg");
}
.link3::after {
  background-image: url("/_styles/images/linksbar-3.jpg");
}
.link4::after {
  background-image: url("/_styles/images/linksbar-4.jpg");
}

/* hover: internal zoom + rotate */
.panel:hover::after {
  transform: scale(1.15) rotate(1.5deg);
}

/* =========================
   COLOUR OVERLAY
   ========================= */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.35s ease;
}

.link1::before { background: rgba(94, 0, 24, 0.8); }
.link2::before { background: rgba(231, 36, 86, 0.8); }
.link3::before { background: rgba(94, 0, 24, 0.8); }
.link4::before { background: rgba(231, 36, 86, 0.8); }

.link1:hover:before { background: rgb(255, 255, 255, 0.0); }
.link2:hover:before { background: rgb(255, 255, 255, 0.0); }
.link3:hover:before { background: rgb(255, 255, 255, 0.0); }
.link4:hover:before { background: rgb(255, 255, 255, 0.0); }


    /* =========================
   CONTENT
   ========================= */
.panel span,
.panel i {
  position: relative;
  z-index: 2;
  color: #fff;
  transition: transform 0.35s ease;
}

.panel i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.panel:hover span,
.panel:hover i {
  transform: scale(1.08);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .link-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .link-panels {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 40px 15px;
    font-size: 1rem;
  }

  .panel i {
    font-size: 1.5rem;
  }
}


.hero-slider {
  all: initial;
  *, *::before, *::after { box-sizing: border-box; }
  display: block;
  font-family: var(--sitefont2);
  --speed-slide: 900ms;
  --speed-tab: 360ms;
  --line: rgba(245, 241, 230, 0.16);
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
  color: var(--siteCol6);
}
.hero-slide-list { list-style: none; margin: 0; padding: 0; }
.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed-slide) ease, visibility 0s var(--speed-slide);
  background-size: cover;
  background-position: center;
  background-color: var(--siteCol1);
}
.hero-slide-item.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--speed-slide) ease, visibility 0s 0s;
  z-index: 1;
}
.hero-slide-item:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,24,27,0.88) 0%, rgba(10,24,27,0.55) 42%, rgba(10,24,27,0.25) 68%, rgba(10,24,27,0.55) 100%);
}
.hero-slide-item.has-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,24,27,0.88) 0%, rgba(10,24,27,0.55) 42%, rgba(10,24,27,0.25) 68%, rgba(10,24,27,0.55) 100%);
}
/* ---- video slide support ---- */
.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 0 7vw;
  padding-right: 120px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--eyebrow-size, 13px);
  letter-spacing: var(--eyebrow-tracking, 0.22em);
  text-transform: var(--eyebrow-case, uppercase);
  color: var(--siteCol3);
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(10px);
}
.hero-eyebrow::before { content: ""; flex: 0 0 auto; width: var(--eyebrow-line-w, 28px); height: var(--eyebrow-line-h, 1px); background: var(--eyebrow-line-col, var(--siteCol3)); }
.hero-eyebrow.no-line::before { display: none; }
.hero-heading {
  font-family: var(--sitefont);
  font-weight: 600;
  font-size: calc(clamp(2.4rem, 5vw, 4.2rem) * var(--heading-scale, 1));
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(14px);
}
.hero-heading-line { display: block; white-space: nowrap; }
.hero-heading-line--one { color: var(--siteCol6); font-family: var(--sitefont2); }
.hero-heading-line--two { color: var(--siteCol3); font-family: var(--sitefont); }
.hero-text {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--siteCol6);
  max-width: 46ch;
  margin: 0 0 34px;
  opacity: 0;
  transform: translateY(14px);
}
.hero-buttons { display: flex; flex-wrap: nowrap; gap: 16px; opacity: 0; transform: translateY(14px); }
.hero-slide-item.is-active .hero-eyebrow { transition: opacity .7s ease .25s, transform .7s ease .25s; opacity: 1; transform: translateY(0); }
.hero-slide-item.is-active .hero-heading { transition: opacity .7s ease .38s, transform .7s ease .38s; opacity: 1; transform: translateY(0); }
.hero-slide-item.is-active .hero-text    { transition: opacity .7s ease .5s,  transform .7s ease .5s;  opacity: 1; transform: translateY(0); }
.hero-slide-item.is-active .hero-buttons { transition: opacity .7s ease .62s, transform .7s ease .62s; opacity: 1; transform: translateY(0); }
.hero-facts {
  list-style: none;
  display: flex;
  max-width: 560px;
  margin: 40px 0 0;
  padding: 18px 6px;
  background: var(--facts-bg, #ffffff);
  border-radius: var(--facts-radius, 28px);
  box-shadow: 0 8px 22px -14px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(14px);
}
.hero-facts li { flex: 1 1 0; min-width: 0; margin: 0; padding: 0 18px; border-left: 1px solid var(--facts-divider, rgba(0,0,0,.1)); display: flex; flex-direction: column; gap: 4px; }
.hero-facts li:first-child { border-left: 0; }
.hero-facts strong { font-family: var(--sitefont)!important; font-size: 1.05rem; font-weight: 700; line-height: 1.15; color: var(--facts-title, var(--siteCol1)); }
.hero-facts span { font-family: var(--sitefont2)!important; font-size: 0.85rem; line-height: 1.3; color: var(--facts-text, var(--siteCol1)); opacity: var(--facts-text-op, .72); }
.hero-facts-link { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--sitefont2)!important; font-size: 0.82rem; font-weight: 700; text-decoration: none; color: var(--facts-link, var(--siteCol3)); transition: color .2s ease, gap .2s ease; }
.hero-facts-link::after { content: "\2192"; transition: transform .2s ease; }
.hero-facts-link:hover { color: var(--facts-link-hover, var(--facts-link, var(--siteCol3))); }
.hero-facts-link:hover::after { transform: translateX(3px); }
.hero-slide-item.is-active .hero-facts { transition: opacity .7s ease .74s, transform .7s ease .74s; opacity: 1; transform: translateY(0); }
.hero-btn {
  font-family: var(--sitefont2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn-primary { background: var(--siteCol3); color: var(--siteCol6); border: 1px solid var(--siteCol3); }
.hero-btn-primary:hover { background: var(--siteCol3) !important; border-color: var(--siteCol6) !important; }
.hero-btn-secondary { background: transparent; color: var(--siteCol6); border: 1px solid var(--line); }
.hero-btn-secondary:hover { color: var(--siteCol3); border-color: var(--siteCol3) !important; }
.hero-btn.has-hover-bg:hover { background: var(--btn-bg-hover) !important; }
.hero-btn.has-hover-border:hover { border-color: var(--btn-border-hover) !important; }
.hero-btn.has-hover-text:hover, .hero-btn.has-hover-text:hover i { color: var(--btn-text-hover) !important; }
.hero-arrow {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.2);
  color: var(--siteCol6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.7); border-color: var(--siteCol6); }
.hero-arrow-prev { left: 7vw; }
.hero-arrow-next { left: calc(7vw + 58px); }
.hero-arrow i { font-size: 16px; }
/* ---- video playback / mute controls ---- */
.hero-media-controls {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  right: 76px;
  display: flex;
  gap: 10px;
}
.hero-media-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.2);
  color: var(--siteCol6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.hero-media-btn:hover { background: rgba(255,255,255,0.7); border-color: var(--siteCol6); }
.hero-media-btn i { font-size: 16px; }
.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: calc(7vw + 130px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dot-col, var(--line));
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.hero-dot:hover { background: var(--dot-hover, var(--dot-col, var(--line))); }
.hero-dot.is-active { background: var(--dot-active, var(--siteCol3)); transform: scale(1.35); }
.hero-tab-list {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 58px;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-tab-item { list-style: none; }
.hero-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 58px;
  min-width: 58px;
  max-width: 58px;
  overflow: hidden;
  background: var(--tab-bg, var(--siteCol1));
  text-decoration: none;
  cursor: pointer;
  transition: max-width var(--speed-tab) cubic-bezier(.4,0,.2,1), background var(--speed-tab) ease;
}
.hero-tab-item:first-child .hero-tab { border-top: none; }
.hero-tab:hover, .hero-tab.is-open { max-width: 300px; background: var(--tab-bg-hover, var(--siteCol3))!important; }
.hero-tab-label {
  font-family: var(--sitefont2)!important;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tab-label, var(--siteCol6))!important;
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 10px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .22s ease .08s, transform .22s ease .08s;
}
.hero-tab:hover .hero-tab-label, .hero-tab.is-open .hero-tab-label { opacity: 1; transform: translateX(0);}
.hero-tab-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tab-icon, var(--siteCol3));
  transition: color var(--speed-tab) ease;
}
.hero-tab-icon i { font-size: 18px; }
.hero-tab:hover .hero-tab-icon, .hero-tab.is-open .hero-tab-icon { color: var(--tab-icon-hover, var(--siteCol1)); }
@media (max-width: 900px) {
  .hero-tab-list { width: 50px; }
  .hero-tab { min-width: 50px; max-width: 50px; height: 50px; }
  .hero-tab:hover, .hero-tab.is-open { max-width: 260px; }
  .hero-tab-icon { width: 50px; height: 50px; }
  .hero-tab-icon i { font-size: 16px; }
  .hero-tab-label { font-size: 0.82rem; }
  .hero-content { padding-right: 100px; }
  .hero-media-controls { right: 66px; }
}
@media (max-width: 560px) {
  .hero-slider { min-height: 640px; }
  .hero-heading { font-size: calc(clamp(2rem, 8vw, 2.6rem) * var(--heading-scale, 1)); }
  .hero-heading-line { white-space: normal; }
  .hero-buttons { gap: 10px; }
  .hero-btn { padding: 12px 18px; font-size: 0.82rem; }
}
@media (max-width: 767px) {
  .hero-facts { flex-direction: column; padding: 6px 18px; margin-top: 28px; }
  .hero-facts li { border-left: 0; border-top: 1px solid var(--facts-divider, rgba(0,0,0,.1)); padding: 12px 0; flex-direction: row; justify-content: space-between; align-items: center; gap: 14px; }
  .hero-facts li:first-child { border-top: 0; }
  .hero-facts span { text-align: right; }
  .hero-facts li { flex-wrap: wrap; }
  .hero-facts-link { flex: 1 1 100%; margin-top: 0; }
}
@media (max-width: 400px) {
  .hero-buttons { flex-direction: column; flex-wrap: wrap; }
  .hero-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide-item, .hero-eyebrow, .hero-heading, .hero-text, .hero-buttons, .hero-facts, .hero-tab, .hero-tab-label { transition: none !important; }
}
:root {
  --cg-ink: #2b2627;
  --cg-text: #4a4546;
  --cg-surface: #faf6f6;
  --cg-muted: #7a7173;
  --cg-notes: #5c5456;
  --cg-border: #eadfe0;
  --cg-icon-bg: #f3e7e9;
  --cg-radius: 20px;
  --cg-radius-sm: 14px;

  /* Document list columns: 1 or 2 (see "Document list columns" below) */
  --cg-doc-cols: 2;
}

/* ---------- Page canvas ---------- */
#article,
#article .pageContent {
  background: var(--cg-surface);
}

#article .pageRow {
  padding: 3rem 1rem 3.5rem;
}

#article .pr-header,
#article .pr-footer {
  height: 0;
  min-height: 0;
}

/* ---------- Section card ---------- */
#article .pageSec {
  background: #fff;
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  box-shadow: 0 18px 40px -24px rgba(94, 0, 24, 0.25);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

#article .pageSec .content {
  gap: clamp(1.5rem, 4vw, 3rem);
}

/* ---------- Section headings ---------- */
#article .pageSec .title h3 {
  font-family: var(--sitefont);
  font-size: clamp(2.1rem, 4vw, 2.9rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--siteCol1);
  margin: 0 0 1.75rem;
  padding: 0 0 1.1rem;
  position: relative;
}

#article .pageSec .title h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--siteCol3);
}

#article .pageSec .content h1,
#article .pageSec .content h2,
#article .pageSec .content h4 {
  font-family: var(--sitefont);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--siteCol1);
}

/* ---------- Body text ---------- */
#article .pageSec .content p,
#article .pageSec .content li {
  font-size: 1.05rem !important;
  font-weight: 400;
  line-height: 1.8;
  color: var(--cg-text);
  text-align: left !important;
}

#article .pageSec .content p {
  margin: 0 0 1.15rem !important;
}

#article .pageSec .content strong {
  font-weight: 600;
  color: var(--cg-ink);
}

#article .pageSec .content a:not(.fresco):not(.btn) {
  color: var(--siteCol3);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#article .pageSec .content a:not(.fresco):not(.btn):hover {
  color: var(--siteCol1);
}

/* Hide empty spacer paragraphs */
#article .pageSec .content p:empty,
#article .pageSec .content p:has(> br:only-child) {
  display: none;
}

/* Bold-only paragraphs become subheadings */
#article .pageSec .content p:has(> strong:only-child) {
  font-family: var(--sitefont);
  font-size: 1.35rem !important;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem !important;
}

#article .pageSec .content p:has(> strong:only-child) strong {
  font-weight: 800;
  color: var(--siteCol1);
}

/* ...except the first one straight after the title: lead heading */
#article .pageSec .content .title + p:has(> strong:only-child) {
  font-size: 1.55rem !important;
  margin-top: 0 !important;
}

/* First text paragraph = intro */
#article .pageSec .content .title + p:has(> strong:only-child) + p {
  font-size: 1.2rem !important;
  line-height: 1.7;
  color: var(--cg-ink);
}

/* ---------- Images ---------- */
#article .pageSec .articalImage {
  padding-left: 0 !important;
}

#article .pageSec .articalImage img {
  border-radius: 16px;
  box-shadow: 0 16px 36px -20px rgba(58, 0, 14, 0.45);
}

/* ---------- Home page: headteacher sign-off ---------- */
#SID_523855 .content p:nth-last-of-type(3) {
  margin-top: 2.25rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cg-border);
}

#SID_523855 .content p:nth-last-of-type(2) {
  font-family: inherit;
  font-size: 1.1rem !important;
  margin: 0 0 0.1rem !important;
}

#SID_523855 .content p:nth-last-of-type(2) strong {
  font-weight: 700;
  color: var(--cg-ink);
}

#SID_523855 .content p:last-of-type {
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--siteCol3);
}

/* ---------- Quick link panels ---------- */
.link-panels .panel {
  position: relative;
  gap: 0.9rem;
  transition: transform 0.25s ease;
}

.link-panels .panel i {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  font-size: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.link-panels .panel span {
  font-family: var(--sitefont);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.link-panels .panel span::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 0.45rem auto 0;
  border-radius: 3px;
  background: #fff;
  transition: width 0.25s ease;
}

.link-panels .panel:hover i,
.link-panels .panel:focus-visible i {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.link-panels .panel:hover span::after,
.link-panels .panel:focus-visible span::after {
  width: 40px;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  #article .pageRow {
    padding: 1.5rem 0.75rem 2rem;
  }

  #article .pageSec {
    border-radius: 14px;
    padding: 1.4rem 1.25rem;
  }

  #article .pageSec .content .title + p:has(> strong:only-child) + p {
    font-size: 1.1rem !important;
  }

  .link-panels .panel i {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-panels .panel,
  .link-panels .panel i,
  .link-panels .panel span::after {
    transition: none;
  }
}

/* ==========================================================
   Document lists (.docTableWithIcons)
   ========================================================== */

/* Turn the table into a card list */
#article .docTableWithIcons {
  display: block;
  width: 100%;
  border: 0 !important;
  margin: 0.5rem 0 1.75rem;
}

#article .docTableWithIcons colgroup {
  display: none;
}

/* ---------- Document list columns (on/off switch) ----------
   Set --cg-doc-cols in :root to 1 or 2.
   Uses CSS columns, so every document (including ones with a
   description, e.g. web links) sits in a column and its
   description stays attached underneath. Items read down the
   first column, then the second. Phones always get one column. */
#article .docTableWithIcons tbody {
  display: block;
  columns: var(--cg-doc-cols);
  column-gap: 0.75rem;
}

#article .docTableWithIcons tr {
  margin: 0 0 0.75rem;
  break-inside: avoid;
}

/* Keep a document and its description in the same column */
#article .docTableWithIcons tr:has(+ tr > td.notes) {
  margin-bottom: 0;
  break-after: avoid;
}

#article .docTableWithIcons tr:has(> td.notes) {
  break-before: avoid;
}

@media (max-width: 600px) {
  #article .docTableWithIcons tbody {
    columns: 1;
  }
}
/* ---------- end Document list columns ---------- */

/* Each document = one card */
#article .docTableWithIcons tr {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon title dl"
    "icon info  dl";
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.1rem;
  background: var(--cg-surface);
  border: 1px solid var(--cg-border) !important;
  border-radius: var(--cg-radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

#article .docTableWithIcons td {
  display: block;
  padding: 0 !important;
  border: 0 !important;
}

/* File-type icon tile */
#article .docTableWithIcons td.docIcon {
  grid-area: icon;
}

#article .docTableWithIcons td.docIcon a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cg-icon-bg);
}

#article .docTableWithIcons td.docIcon img {
  width: 26px !important;
  height: 26px !important;
}

/* Document title */
#article .docTableWithIcons td.titleT {
  grid-area: title;
  align-self: end;
  font-family: var(--sitefont);
  font-size: 1.02rem !important;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cg-ink);
}

/* File type / size, under the title */
#article .docTableWithIcons td.fileInfo {
  grid-area: info;
  align-self: start;
  font-size: 0.75rem !important;
  font-weight: 500;
  color: var(--cg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left !important;
  white-space: nowrap;
}

/* Web links: hide the "Link" label and centre the title */
#article .docTableWithIcons tr:has(td.dlIcon img[src*="link.svg"]) {
  grid-template-areas: "icon title dl";
}

#article .docTableWithIcons tr:has(td.dlIcon img[src*="link.svg"]) td.fileInfo {
  display: none;
}

#article .docTableWithIcons tr:has(td.dlIcon img[src*="link.svg"]) td.titleT {
  align-self: center;
}

/* Download button */
#article .docTableWithIcons td.dlIcon {
  grid-area: dl;
  opacity: 1 !important; /* platform default fades it to 0.3 */
}

#article .docTableWithIcons td.dlIcon a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--siteCol1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#article .docTableWithIcons td.dlIcon img {
  width: 22px !important;
  height: 22px !important;
  filter: brightness(0) invert(1);
}

/* Make the whole card clickable via the download link */
#article .docTableWithIcons td.dlIcon a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--cg-radius-sm);
}

/* Hover / keyboard focus */
#article .docTableWithIcons tr:hover,
#article .docTableWithIcons tr:focus-within {
  background: #fff;
  border-color: var(--siteCol3) !important;
  box-shadow: 0 10px 22px -14px rgba(94, 0, 24, 0.45);
  transform: translateY(-2px);
}

#article .docTableWithIcons tr:hover td.titleT {
  color: var(--siteCol1);
}

#article .docTableWithIcons tr:hover td.dlIcon a {
  background: var(--siteCol3);
  transform: translateY(1px);
}

#article .docTableWithIcons td.dlIcon a:focus-visible {
  outline: none;
}

#article .docTableWithIcons td.dlIcon a:focus-visible::after {
  outline: 3px solid var(--siteCol3);
  outline-offset: 2px;
}

/* ---------- Documents with a description ----------
   The platform puts the description in its own <tr><td class="notes">
   straight after the document row. These rules join the two rows
   back into one card. */
#article .docTableWithIcons tr:has(+ tr > td.notes) {
  border-bottom: 0 !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 0.4rem;
}

#article .docTableWithIcons tr:has(> td.notes) {
  display: block;
  border-top: 0 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 0 1rem 0.95rem calc(1rem + 46px + 0.9rem); /* lines up under the title */
}

#article .docTableWithIcons td.notes {
  font-size: 0.9rem !important;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cg-notes);
  max-width: 62ch;
}

/* Hover either half = highlight the whole card */
#article .docTableWithIcons tr:has(+ tr > td.notes):hover,
#article .docTableWithIcons tr:has(+ tr > td.notes):has(+ tr:hover),
#article .docTableWithIcons tr:has(+ tr > td.notes):hover + tr,
#article .docTableWithIcons tr:has(> td.notes):hover {
  background: #fff;
  border-color: var(--siteCol3) !important;
  transform: translateY(-2px);
}

#article .docTableWithIcons tr:has(+ tr > td.notes):hover,
#article .docTableWithIcons tr:has(+ tr > td.notes):has(+ tr:hover) {
  box-shadow: none;
}

#article .docTableWithIcons tr:has(+ tr > td.notes):hover + tr,
#article .docTableWithIcons tr:has(> td.notes):hover {
  box-shadow: 0 10px 22px -14px rgba(94, 0, 24, 0.45);
}

/* Mobile */
@media (max-width: 600px) {
  #article .docTableWithIcons tr {
    column-gap: 0.75rem;
    padding: 0.75rem 0.8rem;
  }

  #article .docTableWithIcons tr:has(> td.notes) {
    padding: 0 0.8rem 0.85rem calc(0.8rem + 40px + 0.75rem);
  }

  #article .docTableWithIcons td.notes {
    font-size: 0.85rem !important;
  }

  #article .docTableWithIcons td.docIcon a {
    width: 40px;
    height: 40px;
  }

  #article .docTableWithIcons td.titleT {
    font-size: 0.95rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #article .docTableWithIcons tr,
  #article .docTableWithIcons td.dlIcon a {
    transition: none;
  }

  #article .docTableWithIcons tr:hover,
  #article .docTableWithIcons tr:focus-within,
  #article .docTableWithIcons tr:has(+ tr > td.notes):has(+ tr:hover),
  #article .docTableWithIcons tr:has(+ tr > td.notes):hover + tr {
    transform: none !important;
  }
}
body header {
  height: auto;
  min-height: 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background-color: var(--siteCol1);
}

body header #header-group {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.75rem);
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.75rem) 0;
  overflow: visible;
}

/* Logo */
body header #header-logo {
  float: none;
  flex: 0 0 auto;
  width: clamp(64px, 10vw, 60px);
  height: clamp(64px, 10vw, 60px);
  margin: 0;
  background: url("/_styles/images/header_logo.png") center / contain no-repeat;
}

/* Name + motto */
body header #header-namegroup {
  flex: 1 1 auto;
  min-width: 0;
}

body header #header-schoolName {
  font-family: var(--sitefont);
  font-size: clamp(1.45rem, 0.9rem + 3.1vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  padding: 0;
  margin: 0;
  text-wrap: balance;
}

body header #header-schoolMotto {
  font-family: var(--sitefont2);
  font-size: clamp(0.85rem, 0.7rem + 0.75vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--siteCol7);
  padding: 0;
  margin: clamp(0.4rem, 1vw, 0.75rem) 0 0;
}

/* Tablet & phone: clear the old fixed widths/heights */
@media (max-width: 768px) {
  body header {
    height: auto;
  }

  body header #header-group {
    width: 100%;
    margin: 0 auto;
  }
}

/* Very narrow phones: stack and centre */
@media (max-width: 359px) {
  body header #header-group {
    flex-direction: column;
    text-align: center;
  }
}

.owl-carousel .card {
box-shadow: none!important;
background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%)!important;
box-shadow: 0 0 0 rgba(0, 0, 0, 0.6)!important;
border: 1.5px solid #00259D;
border-radius: 15px;
}

.page-header {
height: 650px!important;
background-position: center top;
}

header {
height: 150px;
}

@media screen and (max-width: 768px) {


header {
height: 150px;
}

}