/*
Theme Name: The Slaughterhouse
Author: Degu Web Dev
Author URI: https://deguweb.dev
Version: 1.0
*/


html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	color: #FFF;
	background: #111;
}
body.noscroll {
    overflow: hidden;
}

.sr {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto!important;
}

a {
	color: #FF3838;
	transition: all 0.3s ease;
}
a:hover {
	color: #FFF;
}
a svg, button svg {
	transition: all 0.3s ease;
}

.button, .btn, .wp-element-button, #menu-home-nav a {
	display: inline-block;
	color: #000;
	background: #FF3838;
	text-transform: uppercase;
	font-weight: 900;
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	font-size: 18px;
	line-height: 1;
	box-shadow: 0 0.25rem 0.5rem #AD0000;
	border-radius: 0.25rem;
	transition: all 0.3s ease;
	min-width: 120px;
	text-align: center;
}
.button svg, .btn svg {
    display: inline-block;
    fill: #000;
    height: 1rem;
    width: 1rem;
}
.button:hover, .btn:hover, .wp-element-button:hover, #menu-home-nav a:hover {
	color: #FFF;
	background: #AD0000;
	box-shadow: 0 0 0.5rem #AD0000;
}
.button:hover svg, .btn:hover svg {
    fill: #FFF
}
.button-line, #menu-home-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
#menu-home-nav {
    list-style: none;
    margin: 4rem 0 0;
    padding: 0;
}

p.external {
    display: inline-block;
    border-bottom: 1px solid #FF3838;
    margin: 0;
    transition: all 0.3s ease;
}
p.external:hover {
    border-color: #FFF;
}
p.external a {
    font-weight: bold;
    text-decoration: none;
}
p.external a svg {
    display: inline-block;
    fill: #FF3838;
    width: 1rem;
    height: 1rem;
}
p.external a:hover svg {
    fill: #FFF;
}
p.urlprev {
    margin-top: 0;
}
p.urlprev a {
    color: #FFF;
    font-size: 0.9rem;
    text-decoration: none;
    word-break: break-all;
    overflow-wrap: anywhere;
    opacity: 0.5;
}

.socials ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex; 
	align-items: center;
}
.socials ul a {
	display: block;
}
.socials ul a svg {
	fill: #FFF;
	width: 3rem;
	height: 3rem;
}
.socials ul a:hover svg {
	fill: #FF3838;
}

hr {
    border: none;
    background: #FFF;
    height: 2px;
    margin: 3rem 3rem;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1rem;
}
header .logo {
	order: 2;
	text-align: center;
	width: 100%;
}
header .logo a {
	display: block;
	color: #000;
	background: #FF3838;
	text-transform: uppercase;
	font-weight: 900;
	text-decoration: none;
	padding: 0.25rem 0.5rem;
	font-size: 4rem;
	line-height: 1;
	box-shadow: 0 0.25rem 0.5rem #AD0000;
	border-radius: 0.25rem;
}
header .logo a:hover {
	color: #FFF;
	background: #AD0000;
	box-shadow: 0 0 0.5rem #AD0000;
}

header .socials {
	order: 1;
	width: 50px;
}

header .menu {
	order: 3;
	width: 50px;
	text-align: right;
}
header .menu button,
header #nav button {
	display: inline-block;
	padding: 0.25rem;
	border: none;
	background: none;
	cursor: pointer;
}
header .menu button svg,
header #nav button svg {
	fill: #FFF;
	width: 2.5rem;
	height: 2.5rem;
}
header .menu button:hover svg,
header #nav button:hover svg {
	fill: #FF3838;
}
header #nav button {
    min-height: 72px;
}

#nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 300px;
	padding: 1rem;
	background: #000;
	text-align: right;
	z-index: 99;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}
#nav.open {
    transform: translateX(0);
	box-shadow: 0 0 0.5rem #AD0000;
}
#nav ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}
#nav ul li a {
    font-size: 1.5rem;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.25rem;
    color: #FFF;
}
#nav ul li a:hover {
    color: #FF3838;
}
#nav ul li.current-menu-item a {
    color: #AD0000;
}


main {
	padding: 1.5rem 1.5rem 2rem;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1rem auto;
	line-height: 1;
}

h1 {
	font-size: 2.5rem;
	text-align: center;
	font-weight: 900;
	text-transform: uppercase;
	margin-bottom: 3rem;
}

h1.large {
	font-size: 2.5rem;
	text-transform: uppercase;
	position: relative;
	line-height: 1;
	max-width: 600px;
	margin-bottom: 4rem;
}
h1.large strong {
	font-weight: 900;
	display: block;
	padding-right: 300px;
	position: relative;
	z-index: 5;
}
h1.large em {
	font-style: normal;
	display: block;
	padding-left: 300px;
	position: relative;
	z-index: 5;
}
h1.large span {
	position: absolute;
	top: -0.25rem;
	left: 47%;
	font-size: 5rem;
	font-weight: 500;
	color: #FF3838;
	z-index: 1;
}


.wp-block-buttons {
    margin: 3rem 0 0;
}

.cols {
	display: flex;
	gap: 3rem 1.5rem;
}
.cols .col {
	width: 50%;
}

.listgrid {
	justify-content: center;
    flex-wrap: wrap;
	line-height: 1;
}
.listgrid .col {
    width: 30%;
	width: Calc(33.33% - 1rem);
}
.listgrid a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-decoration: none;
	gap: 0.25rem 1rem;
}
.listgrid a em {
	font-style: normal;
	text-align: right;
	font-size: 0.9em;
}
.relatedgrid .col,
.profilegrid .col {
    width: 20%;
	width: Calc(25% - 1.25rem);
}
.onexhibit em {
    display: none;
}


.excerptcrop {
    display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid #FFF;
	overflow: hidden;
	background: #000;
	color: #FFF;
}
.excerptcrop p {
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    transition: all 0.3s ease;
}
a:hover .excerptcrop p {
    transform: scale(1.05);
}
/*.excerptcrop p span {
    display: block;
    color: #FF3838;
    transition: all 0.3s ease;
}
.excerptcrop p span:hover {
    color: #FFF;
}*/


.imagecrop {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid #FFF;
	overflow: hidden;
	background: #000;
	transition: all 0.3s ease;
}
.imagecrop img {
	display: block;
	width: 100%;
  	height: 100%!important;
  	object-fit: cover;
	transition: all 0.5s ease;
	transform: scale(1.01);
}
a:hover .imagecrop {
	border-color: #FFF;
}
a:hover .imagecrop img {
	transform: scale(1.05);
}


.blueskyfeed {
	border: 1px solid #FFF;
	aspect-ratio: 1 / 1;
	position: relative;
}
.blueskyfeed a {
	position: absolute;
	bottom: -1.5rem;
	right: 0;
	font-size: 0.9em;
}
.blueskyfeed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}


.artimg {
    display: block;
    margin: 1rem auto;
    width: 100%;
}

.colsprofile .col {
    width: auto;
    flex-grow: 1;
}
.colsprofile .col:first-of-type {
    width: 200px;
    flex-grow: 0;
}
.profileimg {
    display: block;
    margin: 1rem auto;
    width: 300px;
    border-radius: 0.5rem;
}



.socialprofile {
    list-style: none;
    margin: 1rem auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}
.socialprofile li a {
    display: block;
    padding: 0.25rem;
}
.socialprofile li a svg {
    fill: #FF3838;
    width: 2rem;
    height: 2rem;
}
.socialprofile li a:hover svg {
    fill: #FFF;
}



.sharebtns {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 0.5rem;
    max-width: 310px;
    margin: 1rem auto;
}
.sharebtns ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}
.sharebtns ul li a {
    display: block;
    background: #FFF;
    padding: 0.25rem;
    border-radius: 0.25rem;
}
.sharebtns ul li a svg {
    display: block;
    fill: #000;
    width: 25px;
    height: 25px;
}
.sharebtns ul li a:hover {
    background: #FF3838;
}


.devmode {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    z-index: 99999999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.devmode h1 {
    font-size: 1.25rem;
    padding: 1rem;
    margin: 0;
}
.devmode h1 strong {
    display: block;
    font-size: 2rem;
    padding-bottom: 0.25rem;
}
.devmode p {
    padding: 1rem;
    margin: 0;
}
.devmode-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99999999999;
    background: #AD0000;
    color: #FFF;
    padding: 0.5rem;
    font-weight: bold;
    max-width: 150px;
}



@media (max-width: 1000px) {
	header .logo a {
		font-size: 3rem;
	}
	header #nav button {
        min-height: 56px;
    }
	.cols .col {
		width: 40%;
		width: Calc(50% - 0.75rem);
	}
	.profilegrid .col {
        width: 30%;
		width: Calc(33% - 1rem);
    }
}

@media (max-width: 786px) {
	header .logo a {
		font-size: 2.5rem;
	}
	header #nav button {
        min-height: 53px;
    }
	header .socials,
	header .menu {
		width: 60px;
	}

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
	h1.large {
		font-size: 2rem;
		margin-bottom: 3rem;
		max-width: 500px;
	}
	h1.large strong {
		padding-right: 250px;
	}
	h1.large em {
		padding-left: 250px;
	}
	h1.large span {
		font-size: 4rem;
	}
	
	hr {
	    margin: 2rem 3rem;
	}

	.cols {
		gap: 2rem 1.5rem;
		margin-bottom: 2rem;
		flex-wrap: wrap;
	}
	.cols .col {
		width: 100%;
	}
	.relatedgrid .col,
	.profilegrid .col {
        width: 40%;
		width: Calc(50% - 0.75rem);
    }
    .relatedgrid em {
        display: none;
    }
}

@media (max-width: 686px) {
	header .logo a {
		font-size: 2rem;
	}
	header #nav button {
        min-height: 53px;
    }
	.excerptcrop p {
		font-size: 1.1rem;
		padding: 0.5rem 1rem;
	}
}

@media (max-width: 586px) {
	header .logo a {
		font-size: 2.5rem;
	}
	header .logo a span {
		display: block;
	}

	h1 {
		margin-top: 0;
		font-size: 2rem;
	}
	h1.large {
		text-align: center;
		font-size: 2rem;
	}
	h1.large strong {
		display: inline-block;
		padding-right: 0;
	}
	h1.large em {
		padding-left: 0;
		padding-right: 0.5rem;
		text-align: center;
	}
	h1.large span {
		display: inline-block;
		position: relative;
		top: auto;
		left: auto;
		font-size: 2rem;
		font-weight: 900;
	}
}

@media (max-width: 500px) {
	header .logo a {
		font-size: 2.2rem;
	}
}

@media (max-width: 468px) {
	main {
		font-size: 16px;
	}
	header .logo a {
		font-size: 1.9rem;
	}
	h1, h1.large, h1.large span {
		font-size: 1.8rem;
	}
	
	.devmode h1 strong {
	    font-size: 1.8rem;
	}
	.devmode h1 strong span {
	    display: block;
	}
}