/* Ensure padding is kept to a minimum on all footer areas otherwise it looks ridiculous */

.panel-row-style,
.footer-widgets-grid {
  padding: 0px 0px !important;
}

/* Hide all page headings - use Site Origin editor heading section if you want a page heading! */
.page .entry-header
{
		display: none;
} 

/* Modify search results to show page header */
.search-results .entry-header
{
		display: inline;
}

/* Configure job listings to hide location, company, logo and date posted because we don't care about any of that */

.job_listings .location,
.job_listings .company,
.job_listings .company_logo,
.job_listings .date,
.single_job_listing .location,
.single_job_listing .date-posted {
  display: none !important;
}

.search_jobs .search_keywords
{
		width: 100% !important;
}

.search_jobs .search_location
{
		display: none;
}

.single_job_listing .company
{
		display: none;
}

.post-navigation
{
		display: none;
}

.job_listing
{
		border: none !important;
		padding: 5px 0 !important;
}

.job_listings
{
		border-top: none !important;
}

.job_listings .position > h3
{
		font-size: 16px !important;
		font-weight: normal !important;
		margin-bottom: 0px !important;	
		color: #737C8C !important;
}

.job_listings .meta
{
		font-size: 14px !important;
}

/* Remove blank space created by hiding stuff above */

.widget_recent_jobs
{
		margin-bottom: 30px !important;
}

.job_listings .position {
  padding-left: 0 !important;
}

.job_listing .meta {
  padding-left: 0 !important;
}

.job_listing a {
		padding: 5px 0 !important;
}

/* Hide past events on the calendar */

.tribe-events-calendar-latest-past {
  display: none;
} 

/* Hide times on the month view of the calendar */

 .tribe-events-calendar-month__calendar-event-datetime {
  display: none;
}

/* Hide filter on the month view of the calendar */

 .tribe-events-category-week-1-or-2 tribe_events_cat-week-1-or-2 {
  display: none;
}

/* Hide the cost of joining the alumni - it's free for now! */

.rcp_registration_total {
  display: none;
}

/* Change the colour buttons on forms to match the rest of the site */

.wpforms-form button[type=submit],
.wpforms-page-button {
  background-color: #1c3a56 !important;
  border-color: #1c3a56 !important;
  color: #fff !important;
  padding-top: 8px !important;
}

/* Menu width correction */

@media only screen and (min-width: 1025px) {
  #mainnav ul li ul.sub-menu {
    width: 240px;
  }

  #mainnav ul li ul.sub-menu li,
  #mainnav ul li ul.sub-menu li a {
    width: 100%;
  }
}

/* Menu height correction */
#mainnav .sub-menu li a {
        line-height: 15px;
}

.bottom-header-row #mainnav ul ul li {
        padding-top: 2px;
        padding-bottom: 2px;
}

/* Sidebar calendar forthcoming events */

.summary 
{
		font-size: 16px !important;
		font-weight: normal !important;
		margin-bottom: 0px !important;
}

.duration 
{
		font-size: 14px !important;
}

.tribe-events-widget-events-list__event-datetime
{
		display: none !important;
}

.tribe-events-widget-events-list__event-details
{
		margin-top: 10px !important;
}

/* calendar month view multiday banner fix */
.tribe-events .col-lg-6, .tribe-events .col-md-6
{
		width: 100%;
}

/* To create fancy box with less fancy title */

.boxnotitle > .su-box-title
{
		display: none;
}

/* Fix admissions button height - if needed, set the widget's class to "admissionsbutton" */
.admissionsbutton .ow-button-base a
{
		height: 200px !important;

}

/* remove bullets from safeguarding related pages lists */
.sgpages li
{
		list-style-type: none !important;
		margin-left: -40px !important;
}

.sgpages 
{
		margin-top: 0px !important;
}

/* align text on the school policies button on Key Information page so it matches the accordion above */
#policiesbutton a
{
		text-align: left !important;
}

/* styling for Alumni pages */
.alumni-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.alumni-tile {
  background: #c7cfd9;
  border-radius: 15px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.alumni-tile-staff {
		background: #6da0e8;
}

.alumni-tile a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.alumni-tile__image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}

.alumni-tile__title {
  font-size: 1.5rem;
  margin: 0;
	margin-top: 0 !important;
}

.alumni-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pod-tile__image {
  position: relative;
  width: 100%;
  padding-top: 100%;  /* height = width → square */
  overflow: hidden;
}

.pod-tile__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hide related posts on single alumni entries */
body.single-alum .sydney-related-posts,
body.single-alum .entry-related-posts,
body.single-alum .entry-header {
  display: none;
}

/* Remove table borders on alum single pages */
body.single-alum .entry-content table,
body.single-alum .entry-content th,
body.single-alum .entry-content td {
    border: 0 !important;
}