/* BlockQuote */

.wp-block-quote p:last-child {
    margin-bottom: 0;
}

.wp-block-quote p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
}
.wp-block-quote {
    border-left: 4px solid #0073e6;
    padding: 20px;
    margin: 20px 0;
    background-color: #f7f7f7;
}

.wp-block-quote p,
.wp-block-quote cite {
	text-align: inherit;
}

.wp-block-quote[style="text-align:center"] {
	border-width: 0;
	padding: 0;
}

.wp-block-quote[style="text-align:right"] {
	border-width: 0 0.2rem 0 0;
	padding: 0 2rem 0 0;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	border: none;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 2.4rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.285;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	font-size: 1.6rem;
	text-align: inherit;
}

@media ( min-width: 700px ) {

	.wp-block-quote,
	.wp-block-quote.is-large,
	.wp-block-quote.is-style-large{
		margin-bottom: 4rem;
		margin-top: 4rem;
	}
	
	.wp-block-quote.is-large p,
	.wp-block-quote.is-style-large p {
		font-size: 2.8rem;
	}

}

/* Responsive Table */

figure.wp-block-table {
	width: 100%;
	margin: 4rem 0;
	overflow-y: hidden;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

.wp-block-table > table > tbody > tr > td, .wp-block-table > table > tbody > tr > th, .wp-block-table > table > tfoot > tr > td, .wp-block-table > table > tfoot > tr > th, .wp-block-table > table > thead > tr > td, .wp-block-table > table > thead > tr > th {
	min-width: 150px;
	font-size: 14px;
}

.wp-block-table table {
	margin: 0;
}

.aligncenter figcaption {
	text-align: center;
}

table td:first-child {
	position: sticky;
	left: 0;
	background: #fff;
}

@media(max-width: 768px){
	figure.wp-block-table:before{
		content: "Scrollable >";
		font-size: 12px;
		margin-left: 1px;
		color: #777;
		font-weight: 500;
		letter-spacing: normal;
	}
}

/* WP Embeds */

.wp-block-embed, .wp-block-image {
	max-width: 640px !important;
	margin: 20px auto;
}

.wp-block-embed-youtube iframe {
	box-shadow: 0 0 30px rgba(0,0,0,0.1);
	border-radius: 3px;
}

.twitter-tweet {
	margin-left: auto;
	margin-right: auto;
}

/* TOC */

.lwptoc {
	margin: 32px 0;
	border-radius: 3px;
}

.lwptoc_i {
	color: #333;
	background: #fff;
	padding: 2rem;
	border: 3px solid var(--main-accent-color);
	border-radius: 5px;
	box-shadow: 8px 8px 0px 0px var(--secondary-gray-color);
}

.lwptoc_title {
	font-size: 1.6rem;
	padding-bottom: 1.5rem;
}

.lwptoc_items {
	padding-left: 15px;
}

.lwptoc_item {
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #e7e9ed;
	padding-bottom: 0.5rem;
}

.lwptoc_item a {
	color: #000;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: normal;
}

.lwptoc_item a:hover {
	text-decoration: underline !important;
}

.lwptoc_header {
	letter-spacing: 0.1px;
	margin-bottom: 6px;
}

.lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item {
	padding-left: 1.5rem;
}

.lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item a {
	font-size: 1.4rem;
}

.lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item:last-child {
	border: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.lwptoc-autoWidth .lwptoc_i {
	display: inline-block;
}

@media(max-width: 768px){
	.lwptoc_item a {
		font-size: 1.3rem;
	}

	.lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item a {
		font-size: 1.2rem;
	}
}

/* Custom Blocks CSS */

/* Read More */

.read-more-wrapper{
	margin-top: 1em;
	margin-bottom: 1em;
}

a.ed-readmore {
	padding: 1rem 0;
	width: 100%;
	display: block;
	font-weight: 600;
	background-color: var(--main-gray-color);
	border-left: 5px solid var(--main-accent-color);
	text-decoration: none;
	border-radius: 5px;
	transition: border-color 0.15s linear;
	color: var(--main-light-color);
}

.span-read-wrapper{
	padding-left:1rem;
	padding-right:1rem;
}

a.ed-readmore .ctaText {
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	font-size: 1.8rem;
}

a.ed-readmore .postTitle {
	color: #fff;
	text-decoration: underline !important;
	font-size: 1.8rem;
}

a.ed-readmore:hover {
	text-decoration: none !important;
	border-color: var(--tertiary-accent-color);
}

a.ed-readmore:hover .postTitle {
	text-decoration: none !important;
}

/* Image */

.wp-block-image img {
	border-radius: 3px;
	margin: 0 auto !important;
	box-shadow: 0 0 30px rgba(0,0,0,0.1);
	background-color: #f9f9f9;
	background-image: url(/wp-content/themes/epicdope/assets/icons/spinner.svg);
	background-size: 5rem;
	background-repeat: no-repeat;
	background-position: 50%;
}

.image-source{
	text-align: center;
}

.image-source a {
	color: var(--main-accent-color);
}

.loading-text{
	display: none;
}

/* Numbered Heading */

span.rank-item-num {
	display: inline-block;
	height: 48px !important;
	width: 48px !important;
	background-color: var(--dm-dark-color);
	line-height: 48px;
	color: #fff;
	border-left: 5px solid var(--main-accent-color);
	border-radius: 2px;
	text-align: center;
	padding-right: 2px;
	margin-right: 5px;
}

/* End Post */
.end-post-wrapper {
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 70px;
	width: 100%;
	margin: auto;
	margin-bottom: 3rem;
	box-shadow: 0 10px 10px rgba(51, 51, 51, .15);
	transition: all .15s ease;
	background: #2e2c2b;
	border-radius: 3px;
	text-decoration: none !important;
	margin-top: 30px !important;
	-webkit-transition: transform 2s cubic-bezier(.17, .67, .24, .94), filter 3s cubic-bezier(.17, .67, .24, .94), -webkit-filter 3s cubic-bezier(.17, .67, .24, .94);
	transition: transform 2s cubic-bezier(.17, .67, .24, .94), -webkit-filter 3s cubic-bezier(.17, .67, .24, .94);
	transition: transform 2s cubic-bezier(.17, .67, .24, .94), filter 3s cubic-bezier(.17, .67, .24, .94);
	transition: transform 2s cubic-bezier(.17, .67, .24, .94), filter 3s cubic-bezier(.17, .67, .24, .94), -webkit-filter 3s cubic-bezier(.17, .67, .24, .94);
}

.end-post-wrapper:hover {
	text-decoration: none !important;
	transform: translatey(-4px);
}

@media(min-width:768px) {
	.end-post-wrapper {
		min-height: 90px;
		margin-bottom: 3.5rem;
	}
}

@media(max-width:768px) {
	.img-article-end {
		width: 70px !important;
		height: 70px !important;
	}
	.end-post-text {
		font-size: 1.4rem !important;
	}
	.right-arrow-end svg {
		width: 16px;
	}
}

.img-article-end {
	width: 100px;
	height: 100px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.end-post-text {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	text-transform: uppercase;
	overflow: hidden;
	width: 100%;
	padding: 0 1rem;
	font-size: 1.8rem;
}

.right-arrow-end svg {
	fill: #fff;
	margin-right: 2rem;
}

/* Lightly Button */

.lightly-button-wrapper {
	justify-content: center;
	margin: 1.25em 0;
	display: flex;
}

.lightly-button {
	background-color: var(--main-gray-color);
	color: #fff;
	border-radius: 3px;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.0333em;
	line-height: 1.25;
	padding: 1.65rem 4rem 1.65rem 2rem;
	text-transform: uppercase;
	position: relative;
}

.lightly-button:after {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAxMCIgd2lkdGg9IjgiIGhlaWdodD0iMTAiIGZpbGw9IiNGRkZGRkYiPgoJPHBhdGggZD0iTTAgMTAgTDggNSBMMCAwIFoiIC8+Cjwvc3ZnPgo=) no-repeat center center;
	border-left: 2px solid var(--main-accent-color);
	content: '';
	display: block;
	height: 100%;
	padding: 0rem 1rem 0rem 1.0625rem;
	position: absolute;
	right: 0;
	top: 0;
}

/* Streaming List */ 

.watch-link-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.watchlink-block {
	margin: 3px !important;
	line-height:0 !important;
}

.watchlink-block a{
	display: flex;
	transition: transform .3s linear, box-shadow .3s linear;
}

.watchlink-block a:hover {
	box-shadow: 0 0.5em 0.5em -0.4em var(--secondary-accent-color);
	transform: translateY(-0.25rem);
}

.watchlink-block img{
	border-radius: 3px;
}

.streaming-list-heading{
	font-size:16px;
	font-weight:600;
}

/* Spoiler Block */

div.spoiler-wrap {
	background-color: #f7f7f7;
	border-radius: 4px;
	border: none;
	padding: 3px;
}

div.spoiler-body {
	background: #f7f7f7;
	padding: 6px;
	font-size: 14px;
}

div.spoiler-head.collapsed {
	background: url("data:image/svg+xml;charset=utf8,%3Csvg height='12pt' viewBox='0 0 512 512' width='12pt' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm112 277.332031h-90.667969v90.667969c0 11.777344-9.554687 21.332031-21.332031 21.332031s-21.332031-9.554687-21.332031-21.332031v-90.667969h-90.667969c-11.777344 0-21.332031-9.554687-21.332031-21.332031s9.554687-21.332031 21.332031-21.332031h90.667969v-90.667969c0-11.777344 9.554687-21.332031 21.332031-21.332031s21.332031 9.554687 21.332031 21.332031v90.667969h90.667969c11.777344 0 21.332031 9.554687 21.332031 21.332031s-9.554687 21.332031-21.332031 21.332031zm0 0'/%3E%3C/svg%3E") no-repeat left center;
	font-size: 18px;
	font-weight: 600;
}

div.spoiler-head {
	padding: 0 6px 0 24px;
}

div.spoiler-head.expanded {
	font-size: 18px;
	font-weight: 600;
	background: url("data:image/svg+xml;charset=utf8,%3Csvg height='12pt' viewBox='0 0 512 512' width='12pt' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm112 277.332031h-224c-11.777344 0-21.332031-9.554687-21.332031-21.332031s9.554687-21.332031 21.332031-21.332031h224c11.777344 0 21.332031 9.554687 21.332031 21.332031s-9.554687 21.332031-21.332031 21.332031zm0 0'/%3E%3C/svg%3E") no-repeat left center;
}

div.spoiler-body {
	margin-top: 5px;
	border-top: 1px solid #eee;
}

/* WP Embeds */

.wp-block-embed iframe {
	margin: 0 auto !important;
}

@media(min-width:768px) {
	.wp-block-embed-youtube iframe {
		width: 640px !important;
		height: 360px !important;
		margin: 0 auto;
	}
}

.wp-block-embed,
.wp-block-image {
	max-width: 640px !important;
	margin: 20px auto;
}

/* Manga Button */

.manga-read-button a:hover:after {
	width: 100%;
	left: 0;
}

.manga-read-button a:after {
	background: none repeat scroll 0 0 transparent;
	bottom: 0;
	content: "";
	display: block;
	height: 2px;
	left: 50%;
	background: #fff;
	transition: width 0.3s ease 0s, left 0.3s ease 0s;
	width: 0;
}

.manga-read-button a:hover {
	text-decoration: none;
}

a.ed-manga-button {
	background-color: #000;
	color: #fff !important;
	border-radius: 3px;
	cursor: pointer;
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.0333em;
	line-height: 1.25;
	margin: 20px 0 10px 0;
	opacity: 1;
	padding: 1.1em 1.44em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.15s linear;
}

@media(min-width:700px) {
	a.ed-manga-button {
		font-size: 1.7rem !important;
	}
}

/* Card Review */

@media(min-width:768px) {
	.card-review {
		width: 60% !important;
	}
}

@media(min-width:1200px) {
	.card-review {
		width: 50% !important;
	}
}

.main-card-review {
	overflow: hidden;
	box-shadow: 0 2px 20px -2px rgba(0, 0, 0, 0.1);
	border-radius: 7px;
	text-align: center;
}

.main-card-review svg {
	width: auto !important;
	display: inline-block;
	margin: 0;
}

/* Manga Info */

@media(min-width:768px) {
	.card-manga {
		width: 60% !important;
	}
}

@media(min-width:1200px) {
	.card-manga {
		width: 50% !important;
	}
}

.card-manga {
	overflow: hidden;
	background: white;
	box-shadow: 0 2px 20px -2px rgba(0, 0, 0, 0.1);
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	margin-bottom: 25px;
	padding: 0px !important;
	max-width: 610px;
	position: relative;
	border-radius: 7px;
	color: white;
}

.card-manga img {
	height: 100%;
	min-width: 40%;
	background-size: cover !important;
	background-position: center;
	-o-object-fit: cover;
	object-fit: cover;
	position: absolute;
}

.card-manga-infos {
	padding: 16px;
	color: #000;
	width: 60%;
	height: 100%;
	display: -webkit-box;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	margin-left: auto;
}

.card-manga-infos h3 {
	margin: 0;
	font-size: 2rem;
	margin-bottom: 5px;
}

.card-manga-infos p {
	margin: 0;
	font-size: 14px;
}

.card-manga-infos span {
	margin: 0;
	font-size: 14px;
}

/* Story Quick read */

.qr-scroll-text {
	display: block;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}

.qr-desc {
	display: block;
	font-size: 16px;
	color: #1f1f1f;
	line-height: 1.3;
	text-align: center;
	width: 26rem;
	margin: 1rem auto 2rem;
}

@media(min-width:550px) {
	.quick-read-wrapper .end-post-text-title {
		font-size: 20px !important;
	}
}

/* Block Sig Move */
.sig-container{
	max-width: 99rem;
	background-color: #f7faff;
	color: #000;
	font-size: 2rem;
	padding: 1rem;
	border-radius: 0.5rem;
	border-left: 0.6rem solid #3572d4;
	margin: 1rem 0;
}
.sig-container p {
	margin-bottom: 0.25rem;
	margin-block-start: .9rem;
}

/* Game Store */

span.store-list-heading {
    font-weight: 500;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.2rem;
}

ul.game-link-list {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

li.gamelink-block:first-child {
    margin-left: 0;
}

li.gamelink-block a.ed-manga-button {
    margin: 0;
    padding: 1rem 2rem;
    font-size: 1.5rem !important;
}