/* Homepage hero refinements */

.home-hero h1 {
	line-height: 1.1;
}

	.home-hero.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		padding:0;
	}

@media screen and (max-width: 600px) {
	.home-hero {
		margin-top:0!important;
	}
	.home-hero .wp-block-jetpack-layout-grid > .wp-block-jetpack-layout-grid-column:nth-child(1) {
		grid-row-start: 2;
	}
	.home-hero .wp-block-jetpack-layout-grid > .wp-block-jetpack-layout-grid-column:nth-child(2) {
		grid-row-start: 1;
	}
}

@media screen and (max-width: 1060px) {
	.home-hero h1 {
		font-size: 4rem !important;
	}
	.home-hero .wp-block-image.alignright {
		margin-inline-start: 0;
	}
}
@media screen and (max-width: 420px) {
	.home-hero h1 {
		font-size: 3.1rem !important;
	}
}
@media screen and (min-width: 1160px) {
	.home-hero .wp-block-column:first-child {
		padding-left: 7rem;
	}
}

@media screen and (max-width: 1060px) {
	.home-hero {
		grid-template-columns: 100%!important;
	}
	.home-hero .wp-block-group-is-layout-constrained {
		align-self:flex-start;
	}
	.home-hero.wp-block-media-text.is-image-fill .wp-block-media-text__media {
		grid-column: 1;
    grid-row: 1;
	}
	.home-hero.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-row: 2;
		padding:0;
	}
	
}

/* Homepage Cover - Bottom Exhibtion */

@media screen and (max-width: 700px) {
	.home-cover-bottom-exhibiton {
		  flex-direction: column;
			margin-top:5rem !important;
	}
	.home-cover-bottom-exhibiton .wp-block-cover__background {
		display:none;
	}
	.home-cover-bottom-exhibiton .wp-block-cover__image-background {
		position:relative;
	}
	.home-cover-bottom-exhibiton .wp-block-cover__inner-container {
		color:var(--wp--preset--color--black);
		padding-top:2rem;
	}
}

/* CV page left align on mobile */
@media screen and (max-width: 781px) {
	.page-id-8921 h2.has-text-align-right, .page-id-8921 h3.has-text-align-right {
		text-align: left;
	}
}
/* News archive separators */
.page-template-news .wp-block-query li.wp-block-post hr {
	margin: 3rem 0;
}

.wp-block-post-comments-form input[type=submit] {
    background: #c0c0c0;
}

.wp-block-post-comments-form input[type=submit]:hover {
    color: var(--wp--preset--color--foreground);
} 

/* Contact form a11y improvements */
.contact-form label span {
	  opacity: 0.7;
}

.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background), .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  background-color: #FFFFFF;
	color: var(--wp--preset--color--foreground);
}

.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type {
	text-decoration: none;
}

.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child  {
	text-decoration: none;
}




/*************************** 
 * @nyiriland — Sept 13, 2023 
 ***************************/


/* fixing homepage top margin wtf */

.home .wp-block-post-content,
.home footer {
margin-top: 0 !important;
}


/* fixing homepage padding */

.home .has-global-padding :where(.has-global-padding) {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
}


/* aligning the footer credits */

@media (max-width: 781px) {

	footer .wp-block-columns .wp-block-column p {
	max-width: unset !important;
	width: 100%;
	}
	
	footer .wp-block-columns .wp-block-column p {
text-align: center;
}

}

@media (min-width: 782px) {

footer .wp-block-columns .wp-block-column:last-child p{
text-align: right;

}

}


/* adding more space between archive page thumbnail rows */

.category ul.is-layout-grid.wp-block-post-template-is-layout-grid {
row-gap: 100px;
}


/* overriding the mobile menu breakpoint */

.wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: none;
}


@media (min-width: 1024px) {

.wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: block;
}

}


/* menu overlay */

.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog li {
	font-size: 2rem !important;
   margin: 0.5em 0;
}

/* Insta Story Profile */

@keyframes animate
{
    0%
    {
        background-position: 0%;
    }
    100%
    {
        background-position: 400%;
    }
}

.site-title--container #sb_instagram .sb_instagram_header .sbi_header_img, .site-title--container #sb_instagram .sb_instagram_header .sbi_header_img img {
	height: 44px;
	width: 44px;
}


.site-title--container #sb_instagram .sb_instagram_header .sbi_header_img .sbi_fade_in {
	opacity:0;
}

.sb_instagram_header.sbi_story .sbi_header_link .sbi_header_img,
.sb_instagram_header.sbi_story .sbi_header_link:hover .sbi_header_img 
{
    
    box-sizing: border-box;
    background: linear-gradient(90deg,#C329C0,#EB4150,#E2942F,#C329C0);
    background-size: 400%;
    cursor: pointer;
      animation: animate 10s linear infinite;
	position: relative;
	padding: 0;
	margin-left: 5px;
	overflow: unset;
}

.sb_instagram_header.sbi_story .sbi_header_img::before 
{
	
  	content:"";  
    box-sizing: border-box;
    background: linear-gradient(90deg,#C329C0,#EB4150,#E2942F,#C329C0);
    background-size: 400%;
    cursor: pointer;
      animation: animate 10s linear infinite;
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 50%;
	transform: rotate(270deg);
}

.sb_instagram_header.sbi_story .sbi_header_img::after 
{
	content:"";  
    box-sizing: border-box;
    background: white;
    background-size: 400%;
  
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 50%;
}

.sb_instagram_header.sbi_story .sbi_header_img img {
	border: 0 !important;
}


.sbi_story.sbi_medium .sbi_header_link:hover .sbi_header_img {
	padding: 0;
}

.sb_instagram_header .sbi_fade_in.sbi_header_img_hover {
	opacity:0;
}

/* Header insta profile */

.site-title--container #sb_instagram > *:is(#sbi_images, #sbi_load, p),
.site-title--container #sb_instagram .sbi_feedtheme_header_text,
.site-title--container #sb_instagram .sbi_header_img_hover .sbi_new_logo
{
	/* Hide from frontend	 */
	position: absolute;
	left: -10000px;
	height:1px;
	width:1px;
}

.site-title--container #sb_instagram {
	padding: 0 !important;
	width: auto;
}
.site-title--container #sb_instagram .sb_instagram_header {
	padding:5px;
}

.site-title--container #sb_instagram .sbi_header_text {
	gap:0;
}

.site-title--container #sb_instagram .sb_instagram_header.sbi_story .sbi_header_img,
.site-title--container #sb_instagram .sb_instagram_header.sbi_story .sbi_header_img img {
	width: 44px;
	height: 44px;
	object-fit: cover;
}

/* Instagram Page Title */

body.page-template-wp-custom-template-instagram-page .wp-block-post-title .icon.exclamation-icon {
	line-height: 0;
	position: relative;
	overflow: hidden;
  height: 0.8em;
  display: inline-block;
}

body.page-template-wp-custom-template-instagram-page .wp-block-post-title .icon.exclamation-icon::before {
	position: absolute;
	inset: 0;
	content:"";  
    box-sizing: border-box;
    background: linear-gradient(90deg,#C329C0,#EB4150,#E2942F,#C329C0);
    background-size: 400%;
    cursor: pointer;
    animation: animate 10s linear infinite;
		transform: rotate(270deg);
	z-index: -1;
	width: 1em;
	height: 1em;
	margin-top: 0.05em;
}


body.page-template-wp-custom-template-instagram-page .wp-block-post-title .icon.exclamation-icon img {
	height: 0.82em;
  margin-top: 0.03em;
}


/* Moved this from the custom css in the Editor */

/* Adjust mobile header height */
header .wp-block-group {
}

/*** Homepage ***/

/* Adjust global padding */
.home .has-global-padding > .alignfull {
padding-left: 0;
padding-right: 0;
}

/* Home image captions */
.home figcaption.wp-element-caption {
background: rgba(0, 0, 0, 0.6);
color: #fff;
display: inline;
padding: 4px 8px;
position: relative;
bottom: 27px;
}

.home .wp-block-image {text-align: right !important;}

/* Home cover block captions */
.home .wp-block-cover.home-cover-caption p {
background: rgba(0, 0, 0, 0.6);
color: #fff;
display: inline;
font-size: 13px !important;
padding: 4px 8px;
position: absolute;
bottom: 0;
right: 0;
}

/* 2025-03-24 - TR - GH#2 */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	pointer-events: none;
}
}