/**
 * Global styles
 */
body {
	font-size: 16px;
	line-height: 1.5;
}

main a {
	text-decoration: underline;
}

main a:focus,
main a:hover {
	text-decoration: none;
}

.menu-primary a,
.menu-primary .toggle-header-search {
	font-size: 14px;
	text-transform: uppercase;
}

.entry-footer:empty {
    margin-top: 0;
}

.ab-block-post-grid {
	margin-bottom: 0;
}

/* add space between subscribe bar and content */
.site-inner {
	margin-top: 0 !important;
}

@media screen and (min-width: 1206px) {
	.site-inner {
		margin-top: 30px !important;
	}
}

.site-header {
	min-height: 70px;
	padding-bottom: 5px;
	padding-top: 5px;
}

.wp-custom-logo .title-area {
	height: 40px;
	margin-top: 10px;
}

.site-header .custom-logo-link .custom-logo {
	height: 40px;
}


/* add space between blog content and blocks */
.single-post .entry-content .ab-block-container {
	margin-top: 45px;
}

.single-post .entry-content .ab-block-container + .ab-block-container {
	margin-top: 0;
}

/**
 * Removed Open Sans Condensed font and use default.
 * Does not change font on back-end or woocommerce. Could be a todo later.
 */
body button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .button,
body .more-link,
body .site-container div.wpforms-container-full .wpforms-form input[type="submit"],
body .site-container div.wpforms-container-full .wpforms-form button[type="submit"],
body .nav-secondary .menu-primary a,
body .archive-pagination a,
body .site-container .ab-button,
body .site-container .wp-block-button .wp-block-button__link {
	font-family: inherit;
}

body .site-container .bold-heading-text,
body .site-container .bold-text,
h1 {
	font-size: 30px;
}

/**
 * Begin: Centered nav with button
 * Set up theme to have a centered menu with a CTA button on the right
 */
/* Only do this stuff for desktop orientation */
 @media only screen and (min-width: 1024px) {
	/* needed for center nav */
	.wp-custom-logo .title-area {
		position: relative;
		z-index: 1;
	}
	
	/* needed for center nav */
	.nav-primary {
		float: none;
		left: 40px;
		position: absolute;
		right: 40px;
		text-align: center;
	}
	
	.menu-primary > li:last-child {
		position: absolute;				/* push last menu item to the right */
		right: 0;						/* push last menu item to the right */
		top: 50%; 						/* vertically center since it'll be a button */
		transform: translateY(-50%);	/* vertically center since it'll be a button */
	}
	
	.menu-primary > li:last-child:focus,
	.menu-primary > li:last-child:hover,
	.menu-primary > li:last-child.sfHover {
		position: absolute; /* overwrite default behavior that makes menu "static" when focused and/or hovered */
	}
}

/* Since the last menu item will be a button, we need to make it an inline block so it doesn't take full width in hamburger menu */
@media only screen and (max-width: 1023px) {
	.genesis-responsive-menu .menu-primary .menu-item:last-child {
		display: inline-block;
	}
}
/**
 * End: Centered nav with button
 */


/* text align right on mobile */
@media only screen and (max-width: 1023px) {
	.genesis-responsive-menu .menu-primary .menu-item {
		text-align: right;
	}
}



/**
 * Buttons
 */
body .site-container .wp-block-button .wp-block-button__link {
	border-radius: 50px;
	font-size: 14px;
	padding: 10px 16px;
}

.archive-pagination a {
	padding: 8px 12px;
}


.c-excerpt-link {
	font-family: sans-serif;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
}

.c-excerpt-link:focus,
.c-excerpt-link:hover {
	text-decoration: underline;
}


.site-header .custom-logo-link .custom-logo {
	max-width: none;
}






.site-container .c-invert-colors p.has-text-color a:hover {
    color: #b50070;
}


.blog .alignfull.wp-block-atomic-blocks-ab-container {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;	
}


.entry-background {
	display: none;
}

/**
 * Make instagram grid not expand past edges
 */
.display-grid.kona-grid {
	margin-left: auto !important;
	margin-right: auto !important;
}

/**
 * sticky sidebar
 */
@media screen and (min-width: 1024px) {
	aside.sidebar-primary {
		/* estimate position to match original static x-axis position */
		left: calc(50vw + 173px);
		position: fixed;
	}
}

@media screen and (min-width: 1281px) {
	aside.sidebar-primary {
		/* estimate position to match original static x-axis position */
		left: calc(50vw + 232px);
	}
}
/* end sticky sidebar */

/**
 * expand featured image on single pages
 */
/*
@media screen and (min-width: 850px) {
	.c-featured-img {
		height: auto;
		margin-left: -25px;
		margin-right: -25px;
		max-width: none;
		width: calc(100% + 50px);
	}
}

@media screen and (min-width: 1340px) {
	.c-featured-img {
		margin-left: -50px;
		margin-right: -50px;
		width: calc(100% + 100px);
	}
}
*/
/* end expand featured image on single pages */

/**
 * Try to equalize margins of the different headings
 */

h1.ab-block-post-grid-title, /* page title */
.archive-description .entry-title, /* archive title */
.archive-title, /* archive title */
.c-archive-title__wrapped-projects /* block */ {
	margin-bottom: 25px !important;
}

.c-archive-title {
	font-size: 30px;
	text-transform: none;
}

.c-archive-title__wrapped-projects {
	margin-top: 0 !important;
}


.c-archive-description {
	margin-bottom: 0;
}


/* add padding */
.full-width-content .site-inner {
	padding: 40px;
	padding-bottom: 0;
}
@media screen and (max-width: 600px) {
	.full-width-content .site-inner {
		padding: 15px;
		padding-bottom: 0;
	}	
}

.full-width-content.home .site-inner {
	padding: 0;
}

/* fix full width template width to actually be wide'ish */
.full-width-content .site-inner,
.full-width-content .content {
	max-width: 1200px;
}
@media screen and (min-width: 1024px) {
	.full-width-content .site-inner,
	.full-width-content .content {
		width: auto;
	}
}


/**
 * invert the show credits page
 */
/*
.full-width-content.page-id-20 .site-inner h1.ab-block-post-grid-title {
	background-color: black;
	color: white;
	margin: -40px -40px 0 -40px;
	padding: 40px 40px 10px 40px;
}

.full-width-content.page-id-20 .wp-block-gallery {
	background-color: black;
	margin: 0 -40px 0 -40px;
	padding: 0 40px 0 40px;
}

@media screen and (max-width: 600px) {
	.full-width-content.page-id-20 .site-inner h1.ab-block-post-grid-title {
		margin: -15px -15px 0 -15px;
		padding: 15px 15px 10px 15px;
	}

	.full-width-content.page-id-20 .wp-block-gallery {
		margin: 0 -15px 0 -15px;
		padding: 0 15px 0 15px;
	}
}
*/

/**
 * Navs
 */
.c-primary-sidebar .widget ul > li a,
.wp-block-latest-posts__list li a {
	text-decoration: none;
}
.c-primary-sidebar .widget ul > li a:focus,
.c-primary-sidebar .widget ul > li a:hover,
.wp-block-latest-posts__list li a:focus,
.wp-block-latest-posts__list li a:hover {
	text-decoration: underline;
}

.c-primary-sidebar .widget ul > li,
.wp-block-latest-posts__list li {
	line-height: 1.5;
	margin-bottom: 10px;
	padding-bottom: 0;
}

.c-primary-sidebar .widget ul > li + li:before,
.wp-block-latest-posts__list li + li:before {
	background-color: #b50070;
	content: '';
	display: block;
	height: 1px;
	margin-bottom: 10px;
	max-width: 3.5%;
}

/**
 * Landing carousel
 */
.home-carousel .wp-block-getwid-post-carousel__post-content-wrapper {
	display: none;
}

.home-carousel .wp-block-getwid-post-carousel .wp-block-getwid-post-carousel__post .wp-block-getwid-post-carousel__post-thumbnail {
	margin-bottom: 0;
}

.wp-block-getwid-post-carousel .wp-block-getwid-post-carousel__post .wp-block-getwid-post-carousel__post-thumbnail {
	padding-top: 50%;
}

.wp-block-getwid-post-carousel .wp-block-getwid-post-carousel__post .wp-block-getwid-post-carousel__post-thumbnail a > img {
	object-fit: fill;	
}

/**
 * Instagram feed
 */
.wp-block-cgb-kona-instagram-for-gutenberg.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	max-width: none !important;
}

.wp-block-getwid-social-links .wp-block-getwid-social-links__list {
	margin-bottom: 0;
}

.wp-block-getwid-social-links .wp-block-getwid-social-links__item {
	list-style: none;
}



/**
 * Post carousel/grid
 */

@media screen and (min-width: 601px) {
	.ab-post-grid-items.is-grid .archive-pagination {
		grid-column: 1 / span 2; /* make pagination take two columns when grid layout is present */
	}

	.ab-post-grid-items.is-grid .archive-pagination ul {
		padding-left: 0;
		text-align: center;
	}
}

/* force image aspect ratio */
.ab-block-post-grid .ab-block-post-grid-image {
	padding-bottom: 50%; /* 2:1 */;
	position: relative;
}

.ab-block-post-grid .ab-block-post-grid-image a.entry-image-link {
	bottom: 0;
	left: 0;
	object-fit: cover;
	position: absolute;
	right: 0;
	top: 0;
}

.ab-block-post-grid .ab-block-post-grid-image img {
	display: block;
	height: 100%;
	width: 100%;
}
/* // force image aspect ratio */

.c-cards-carousel .wp-block-getwid-post-carousel__post {
	background-color: #fff;
}

.c-cards-carousel .wp-block-getwid-post-carousel__post-title a {
	color: black;
	text-decoration: none;
}

.c-cards-carousel .wp-block-getwid-post-carousel__post-title a:focus,
.c-cards-carousel .wp-block-getwid-post-carousel__post-title a:hover {
	color: #b50070;
	text-decoration: underline;
}

.c-cards-carousel .wp-block-getwid-post-carousel__post-content-wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.c-cards-carousel .wp-block-getwid-post-carousel__post-excerpt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
}

.ab-post-grid-items .ab-post-grid-item {
	display: flex;
	flex-direction: column;
}

.ab-post-grid-items .ab-post-grid-item .entry-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.ab-post-grid-items .ab-post-grid-item .entry-content .c-excerpt-link {
	display: flex;
	flex: 1;
	align-items: flex-end;
}

.ab-block-post-grid .ab-block-post-grid-image > a.entry-image-link {
	object-fit: unset;
}

.ab-block-post-grid .ab-block-post-grid-image a.entry-image-link > img {
	object-fit: fill;
}

/* make room for the read more button */
.wp-block-getwid-post-carousel .wp-block-getwid-post-carousel__post .wp-block-getwid-post-carousel__post-excerpt p,
.ab-post-grid-item.type-post .entry-content p {
	margin-bottom: 10px;
}

/* add additional space between archive grid items */
.blog .ab-block-post-grid .is-grid {
	grid-gap: 20px 4%;
}



/**
 * Profile sidebyside images
 */
.wp-block-image.u-profile-sidebyside {
	float: left;
	width: 50%;
}



.c-casting-calls {
	background-color: #000000;
	font-size: 14px;
	padding-bottom: .5em;
	padding-left: 8%;
	padding-right: 8%;
	padding-top: .5em;
}

.c-casting-calls .wp-block-columns,
.c-casting-calls .c-casting-calls__text {
	margin-bottom: 0 !important;
}

.c-casting-calls__text {
	color: #fcdeef;
	text-align: center;
	text-transform: uppercase;
}

.c-casting-calls__text a {
	color: #fcdeef;
	text-decoration: underline;
}

.c-casting-calls__text a:focus,
.c-casting-calls__text a:hover {
	color: #b50070
}




.ab-block-container h3, .ab-block-container h2 {
	margin-top: 40px;
}

.blocks-gallery-grid {
	margin-bottom: 30px;
}

.c-learn-more {
	display: none;
}


@media screen and (max-width: 500px) {
	.c-learn-more {
		display: block;	
		margin-bottom: 1em;
	}

	#learn-more-goloka {
		display: none;
	}

	#learn-more-ethan {
		display: none;
	}
}

.c-mobile-hidden {
	display: block;
}

.c-desktop-hidden {
	display: none;
}

.c-top-spacing {
	margin-top: 35px;
}

.c-negative-bottom-margin {
	margin-bottom: -30px;
}



.ab-post-grid-item .c-now-casting {
	padding-left: 40px;
	padding-right: 40px;
	margin-top: 40px;
}

.c-now-casting .wp-block-getwid-post-carousel .wp-block-getwid-post-carousel__post-title {
	line-height: 1.5;
}


/**
 * Utility classes
 */
@media screen and (max-width: 781px) {
	.u-flex-columns-reverse.wp-block-columns {
		flex-direction: column-reverse;
	}	

	.c-mobile-hidden {
		display: none;
	}

	.c-desktop-hidden {
		display: block;
	}
}

@media screen and (max-width: 1024px) {
	.c-top-bar {
		padding-left: 3%;
		padding-right: 3%;
	}
}

@media screen and (max-width: 1294px) {
	.c-top-bar .c-top-bar__btn.alignright {
		margin-left: 0;
	}
}

.u-columns-no-margin {
	margin: 0 !important;
}



/**
 * apply this to a full-width container to make
 * the content width match site default
 */
.u-match-site-width .ab-container-content {
	padding-left: 20px;
	padding-right: 20px;
}

@media screen and (min-width: 601px) {
	.u-match-site-width .ab-container-content {
		padding-left: 45px;
		padding-right: 45px;
	}
}

@media screen and (min-width: 1210px) {
	.u-match-site-width .ab-container-content {
		padding-left: 40px;
		padding-right: 40px;
	}
}



.c-page__wrapped-projects {
	border-top: 1px solid black;
	margin-bottom: 2.5em;
	margin-top: 1em;
	padding-top: 2.5em;
}

.page-id-20 .c-page__wrapped-projects {
	border-top: 0;
	margin-top: 0;
}

/* Block quote */

.site-container .wp-block-pullquote blockquote::after,
.site-container .wp-block-quote::after {
    color: white;
    content: "\201D";
    display: block;
    font-family: sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 600;
    height: 0;
    right: -35px;
    position: absolute;
    text-align: right;
    top: -20px;
}

body .site-container .wp-block-pullquote blockquote::before,
body .site-container .wp-block-quote::before {
	color: white;
	font-family: sans-serif;
	font-size: 64px;
	left: -35px;
	position: absolute;
    top: -20px;
}

body .site-container .wp-block-pullquote,
body .site-container .wp-block-quote {
	margin-bottom: 24px;
	position: relative;
}

body .site-container .wp-block-pullquote p,
body .site-container .wp-block-quote p {
	font-size: 18px;
	margin-bottom: 0;
	text-align: center;
}

.site-container .wp-block-pullquote p + p,
.site-container .wp-block-quote p + p {
	margin-top: 42px;
}

.site-container .wp-block-pullquote.u-block-quote-inverse p,
.site-container .wp-block-quote.u-block-quote-inverse p {
	color: white;
}


/* theme padding overwrites the padding of this block. this fixes it */
.wp-block-getwid-social-links .wp-block-getwid-social-links__list {
	padding-left: 0;
}

.c-fullwidth-image-slider {
	left: 50%;
	position: relative;
	transform: translateX(-50%);
	width: 100vw;
}


@media screen and (max-width: 599px) {
	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-image,
	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-item,
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-image,
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-item {
		width: calc(25% - 16px);
	}

	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),
	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-item:nth-of-type(2n) {
		margin-right: 16px;
	}

	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-image:nth-of-type(4n),
	.c-gallery-logo-soup .blocks-gallery-grid .blocks-gallery-item:nth-of-type(4n),
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-image:nth-of-type(4n),
	.c-gallery-logo-soup.wp-block-gallery .blocks-gallery-item:nth-of-type(4n) {
		margin-right: 0;
	}
}




.c-gradient-bg {
	background-image: linear-gradient( 270deg, #e80075, #ae006f );
}


.c-about .wp-block-column:last-child {
	display: flex;
    flex-direction: column;
	justify-content: center;
}

.c-about .wp-block-image {
	margin-bottom: 0;
}

.c-about .wp-block-button {
	margin-bottom: 40px;
}



/**
 * News page
 */
.wp-block-getwid-custom-post-type h3 {
	font-size: 18px;
}

.wp-block-getwid-custom-post-type h3 a {
	color: black;
	text-decoration: none;
}

.wp-block-getwid-custom-post-type h3 a:focus,
.wp-block-getwid-custom-post-type h3 a:hover {
	color: #b50070;
	text-decoration: underline;
}

.wp-block-getwid-custom-post-type__post-excerpt p {
	margin-bottom: .5em;
}

/**
 * Make Custom Post Type block's pagination match archive pagination.
 * Hooks used to apply markup except in this case.
 * @see hook getwid/blocks/custom_post_type/pagination_args
 */
.wp-block-getwid-custom-post-type .navigation.pagination .page-numbers.current {
	background-color: #b50070;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
    padding: 8px 12px;
    text-transform: uppercase;
}
