/**
Theme Name: Pagcor
Author: Lucky Planet
Author URI: https://pagcor.bmp-test.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pagcor
Template: astra
*/

html {
	font-display: swap;
}

#menu-footer-sub-navigation {
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;	
	margin-bottom: 40px;
}

#menu-footer-sub-navigation a {
	display: block;
	text-align: center;
	color: #000;
	font-size: 16px;
	padding-top: 15px;
}

#menu-footer-sub-navigation li {
	width: 100%;
}

@media screen and (min-width: 1024px) {
	#menu-footer-sub-navigation li {
		width: auto;
	}
	
	#menu-footer-sub-navigation a {
		width: 280px;
		padding-top: 0;
	}
}

@media screen and (min-width: 768px) {
	.sub-menu {
		display: flex;
		flex-wrap: wrap;
		width: 600px !important;
	}
	
	.sub-menu li {
		width: 50%;
	}
	
	#menu-footer-sub-navigation {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 20px;
		margin-block: 30px;
	}
}

p > a {
	color: #1D4DEC !important;
	text-decoration: underline !important;
}

.balloon {
	position: relative;
}

.balloon::before {
	content: '';
	position: absolute;
	top: 15px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	pointer-events: none;
}

.graphic-item:has(figure + .balloon) .balloon::before {
	right: 100%;
	border-right: 8px solid rgb(251, 229, 147);
}

.graphic-item:has(.balloon + figure) .balloon::before {
	left: 100%;
	border-left: 8px solid rgb(251, 229, 147);
}

.graphic-item figure {
	flex-shrink: 0;
}

.is-style-table1 {
	tr td:first-of-type {
		background-color: rgb(29, 77, 236);
		color: white;
	}
}

.is-style-table2 {
	tr:first-of-type td {
				background-color: rgb(29, 77, 236);
		color: white;
	}
	tr td:first-of-type {
		background-color: rgb(29, 77, 236);
		color: white;
	}
}

.is-style-table3 {
	tr:first-of-type td {
		background-color: rgb(29, 77, 236);
		color: white;
	}
}

.blog-item {
	box-shadow: 0px 6px 15px -2px rgba(16,24,40,0.05)
}

.ast-row article a,
.title-clamp .uagb-post__title>a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.title-clamp .uagb-post__text.uagb-post__cta.wp-block-button {
	margin-top: auto;
}

.title-clamp .slick-slide {
	min-height: 390px !important;
}

.title-clamp .uagb-post__inner-wrap {
	display: inline-flex !important;
	flex-direction: column;
	height: max-content !important;
	min-height: 370px !important;
}

.title-clamp .uagb-post__inner-wrap .uagb-post__image a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.title-clamp .slick-list {
	height: auto !important;
}

.title-clamp .uagb-post__inner-wrap,
.title-clamp .uagb-post__inner-wrap img {
	transition: 0.4s ease;
}

@media screen and (max-width: 767px) {
	.title-clamp .slick-slide img {
		width: 352px;
		height: 215px;
		object-fit: contain;
		object-position: top;
	}
}

.title-clamp .uagb-post__inner-wrap:hover img {
	transform: scale(1.1);
}

.title-clamp .uagb-post__inner-wrap:hover {
	opacity: 0.7;
}

@media (max-width: 921px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

@media screen and (max-width: 767px) {
	figure.wp-block-table {
		position: relative;
	}
	
	figure.wp-block-table::before {
		content: 'Scroll >>>';
		display: block;
		text-align: end;
		font-size: inherit;
		color: blue;
		margin-bottom: 10px;
	}
	
	figure.wp-block-table > table:has(td:nth-child(3)) {
		min-width: 980px;
	}
}

.height-auto {
  height: auto !important;
}

.height-auto img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.submit-button input {
  position: relative;
  display: block;
  background-color: transparent !important;
  background-color: #7a7a7a !important;
  border: 2px solid #7a7a7a !important;
  border-radius: 5px;
}

.ast-article-post.ast-grid-common-col,
.cy-image {
  cursor: pointer;
	transition: 0.4s ease;
}

.ast-article-post.ast-grid-common-col:hover,
.yarpp-thumbnail:hover,
.cy-image:hover {
	opacity: 0.7;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
	width: calc((100% - 35px) / 4) !important;
}

.yarpp-thumbnail img {
	width: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.cy-list {
	display: flex;
	list-style: none;
	list-style-type: none;
	gap: 10px;
	flex-wrap: wrap;
	padding-left: 0 !important;
}

.cy-list li {
	width: calc((100% - 30px) / 4);
	min-width: 200px;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
	.cy-list li {
		width: 100%;
	}
}

.cy-image-wrapper {
	min-height: 135px;
}

.cy-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	margin: auto;
}

.ast-breadcrumbs {
	overflow-x: scroll;
}

.ast-breadcrumbs::-webkit-scrollbar {
	height: 4px !important;
}

.ast-breadcrumbs::-webkit-scrollbar-track {
	background-color: transparent !important;
}

.ast-breadcrumbs::-webkit-scrollbar-thumb {
	background-color: #888 !important;
}

ul.trail-items {
	white-space: nowrap !important;
}

.ast-archive-description {
	border-bottom: none !important;
}

.has-text-align-center {
	text-align: center;
}

.bonus-table {
	width: 100%;
}

.bonus-table table {
	td,
	th {
		width: calc(100% / 4);
	}
}

@media screen and (max-width: 767px) {
	.bonus-table {
		overflow-x: scroll;
	}

	.bonus-table table {
		min-width: 980px;
	}
}

.wp-block-buttons.is-content-justification-center {
	display: flex;
	justify-content: center;
}

.tertiary-button a {
	padding: 15px 40px !important;
}

.main-header-menu .menu-link,.main-header-menu>a {
    transition: none !important;
}

.custom-toc {
	position: relative;

	.lwptoc_toggle {
		display: none;
	}

	.lwptoc_items {
		display: block !important;
		max-height: 80px;
		overflow: hidden;
	}

	&::after {
		content: '';
		position: absolute;
		inset: auto 0 0;
		display: block;
		height: 40%;
		background-image: linear-gradient(to bottom, transparent, white);
	}

	.toc-see-more {
		position: absolute;
		inset: auto 0 -14px;
		margin: auto;
		text-align: center;
		background-color: transparent;
		color: #3175e4;
		border: transparent;
		font-size: 14px;
		font-weight: regular;
		z-index: 1;
		padding: 10px;
	}
}

.custom-toc.expanded {
	.lwptoc_items {
		max-height: initial;
	}

	&::after {
		pointer-events: none;
		opacity: 0;
	}
}

article a:not(:has( img))[target="_blank"]::after {
	content: '';
	position: relative;
	top: 1px;
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 5px;
	background-image: url('./img/external-link.svg');
	background-size: contain;
}

.article-ranking__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
	.article-ranking__grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
}

.article-ranking__item {
	position: relative;
	transition: 0.4s ease;
}

.article-ranking__item:hover {
	opacity: 0.5;
}

.article-ranking__item--featured {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.article-ranking__crown {
	top: -15px !important;
}

@media screen and (max-width: 767px) {
	.article-ranking__item--featured {
		grid-column: auto;
		grid-auto: auto;
	}
}

.article-ranking__thumbnail {
	margin-bottom: 15px;
}

.article-ranking__item h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#casino-ranking {
	margin-top: 40px;
	padding-block: 50px;
}

.casino-ranking {
	margin-block: 20px 40px;
}

.casino-ranking__row {
	display: flex;
	align-items: center;
	gap: 15px;
	height: 163px;
}

.casino-ranking__slide {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-inline: 10px;
}

.casino-ranking__crown {
	position: absolute;
	top: 0;
	left: 0;
	width: 34px;
	z-index: 1;
}

.casino-ranking__crown::before {
	content: attr(data-rank);
	position: absolute;
	inset: 32px 0 0;
	font-weight: 700;
	display: flex;
	align-items: end;
	justify-content: center;
	color: white;
	z-index: 1;
	font-size: 13px;
}

.casino-ranking__thumbnail-wrapper {
	text-align: center;
}

.casino-ranking__thumbnail {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 10px;

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.casino-ranking__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 10px;
}

.casino-ranking__pros {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: auto;
}

.casino-ranking__pro-item {
	width: calc(50% - 5px);
	padding: 10px;
	border: 1px solid #1D4DEC;
	color: #1D4DEC;
	text-align: center;
	border-radius: 10px;
	font-size: 13px;
}

#casino-ranking .slick-track {
	display: flex !important;
}

#casino-ranking .slick-slide {
	height: inherit !important;
}

#casino-ranking .slick-prev::before {
	color: black;
}

#casino-ranking .slick-next::before {
	color: black;
}

.casino-ranking__links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	margin-top: 20px;
}

@media screen and (max-width: 980px) {
	.casino-ranking__links {
		flex-wrap: wrap;
	}
}

.casino-ranking__button {
	width: calc(50% - 5px);
	background-color: red;
	padding: 13px;
	text-align: center;
	color: white;
	font-weight: bold;
}

@media screen and (max-width: 980px) {
	.casino-ranking__button {
		width: 100%;
	}
}

.casino-ranking__button--orange {
	background-color: orange;
	color: black;
}

.casino-ranking__button:hover {
	opacity: 0.5;
	color: white !important;
}

.casino-ranking__button--orange:hover {
	color: black !important;
}

.casino-ranking__button::after {
	display: none !important;
}

.container {
	max-width: calc(1170px + 8%);
	padding-inline: 4%;
	margin: auto;
}

.wp-block-embed .wp-embed-footer {
	display: none !important;
}

@media screen and (min-width: 768px) {
	footer .ast-builder-grid-row-2-rheavy .ast-builder-grid-row {
		grid-template-columns: auto 2fr;
	}
}

.main-navigation .menu-item .ast-icon {
	display: none;
}

.ast-menu-toggle .ast-icon,
.dropdown-menu-toggle .ast-icon {
	display: block !important;
}

.latest-article {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;

	.slick-prev:before, 
	.slick-next:before {
		color: black;
		font-size: 30px;
	}
}

.latest-article__slide {
	padding-inline: 10px;
}

#latest-posts {
	margin-bottom: 70px;
}

#latest-posts .slick-next {
	right: 0;
	z-index: 2;
	width: 40px;
	height: 40px;
}

#latest-posts .slick-prev {
	left: 0;
	z-index: 2;
	width: 40px;
	height: 40px;
}