/*!
Theme Name: ITSARTLAW
Theme URI: https://itsartlaw.org/
Author: ITSARTLAW
Author URI: https://itsartlaw.org/
Description: Center of art law
Version: 3.2.98
Tested up to: 5.4
Requires PHP: 5.6 or higher
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: example-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

figure {
  max-width: 100%;
}
.single-post-date{
  text-align: center;
  font-size: calc(14px + 2 * ((100vw - 414px) / 1506));
  line-height: calc(16.8px + 5.63 * ((100vw - 414px) / 1506));
  color: #000;
  font-style: italic;
}
.single-page-container .single-post-block .related-link{
  color: #fff;
  text-decoration: none;
}
.related-section{
  display: flex;
  flex-direction: column;
}
.related-section .event-img{
  width: 100%;
}
.related-section .events-main .event-img img{
  object-fit: cover;
}
.related-section .container-boxed{
  width: 1464px;
  margin-top: 47px;
}
.related-section .events-main{
  margin: 0px 0px 0px 0px;
  grid-column-gap: 30px;
  padding: 5px 0 7px;
}
.related-section .events-main .event{
  width: calc(100% / 3);
  margin-left: 0px;
  margin-right: 0px;
}
.title-search-result{
  font-size: 20px;
  line-height: 25px;
}

.jp-relatedposts-post-date, .jp-relatedposts-post-context {
	display: none!important;
}

.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
	display: none!important;
}


.side-by-side .buttons {
	gap: 15px;
}

/* Events change styles */

.events-archive-all {
	grid-template-columns: repeat(3, 1fr);
}

.events-archive-img {
	height: calc(110px + 103 * ((100vw - 414px) / 1506));
}

.events-archive-img img{
	object-fit: cover;
}

.events-archive-item {
	min-height: unset;
	height: unset;
}

/* Annual report fix img */

.reports .report-img img {
	object-fit: cover;
}



@media screen and (max-width: 1500px){
  .related-section .container-boxed{
    max-width: 100%;
  }
}

@media screen and (max-width: 768px){
	.events-archive-img {
		height: calc(170px + 637 * ((100vw - 414px) / 1506));
	}
	
  .related-section .events-main{
    flex-direction: column;
    grid-row-gap: 30px;
  }
  .related-section .events-main .event{
    width: 100%;
  }
}


/* Home article section change view */

.articles-main {
	grid-template-columns: repeat(3, 1fr);
}

.articles-main .post-img {
	height: calc(110px + 197 * ((100vw - 414px) / 1506));
}

@media screen and (max-width: 768px){
	.articles-main .post-img {
		height: calc(210px + 197 * ((100vw - 414px) / 1506));
	}
}

/* Become memeber section list fix */

.become-member ul {
	list-style: square;
    padding-inline-start: 25px;
}

/* Side by side  fix */
section.side-by-side .height-large.style-grey .image-side {
	height: 100%;
}


/* Red side fix  */

.read-side .read-link {
	display: inline-block;
	width: unset;
	height: unset;
	padding: 7px 30px;
}


/* Single post navigation  */

.posts-nav-next {
	margin-right: 15px;
}

.posts-nav-prev {
	margin-left: 15px;
}

.posts-nav-next svg {
	margin-left: 10px;
	transform: rotate(180deg);
}

.posts-nav-prev svg {
	margin-right: 10px;
}

