/*
 * Theme Name:  Verta Child
 * Theme URI:   https://codesupply.co/themes/verta/
 * Description: Verta Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    verta
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
--cs-entry-content-width: 900px;
}


/*** Review Box ***/
.saswp-rvw {
	margin-top: 0px!important;
}

.saswp-pc-wrap, .saswp-rvw-hd, .saswp-rvw > * {
    margin: 0px!important;
    background-color: #f5e8f1;
    border: 0px;
    color: #000;
	padding: 24px;
}

/*pro cons*/
.saswp-pc-wrap .saswp-lst p {
    list-style-type: none;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #000;
}

/* summary */
.rvw-dsc > p {
	    margin-top: 6px;
	}

.saswp-pc-wrap .saswp-lst p:before {
    background-color: #000;
}

/* overall stars */
.saswp-rvw-str {
    display: inline-flex;
    text-align: center;
	justify-content: center;
}

.saswp-rvw td, .sgl table td {
    border: none;
}

.saswp-rvw .saswp-rvw-sm {
    padding: 24px;
}

.saswp-rvw td {
    padding: 24px 24px 24px 0px;
}

/* Review Overview (shows nothing) */
.saswp-rvw-hd {
    display: none;
}

/* Mobile Rating Box */
@media screen and (max-width:499px) {
	/* star row */
	.saswp-rvw>tbody>tr {
		display: inline-grid;
	}
	/* star cell */
	td.saswp-rvw-sm {
		order: 2;
	}
	/* both cells */
	.saswp-rvw .saswp-rvw-sm, .saswp-rvw td {
		padding: 14px 14px 0px 14px;
	}
	/* overall stars */
	.saswp-rvw-str {
		justify-content: left;
	}
	
	.saswp-rvw-fs {
		text-align: left;
		font-size: 24px;
	}


}
/* overall stars */
h3.crp-list-title, .crp-list {
	background: #f5e8f1!important;
}

.crp-list-item-title a {
	color: #b4007a!important;
}

.crp-list-title {
	color: #000000!important;
}

.alviator-width-auto {
	width: auto!important;
}

/*** Masonry grid ***/
.home-grid-masonry .cs-posts-area__main {
	display: flex!important;
	flex-wrap: wrap!important;
	gap: 0px!important;
}

.home-grid-masonry .cs-posts-area__main .cs-overlay-content {
	background-color: rgba(0,0,0,0.5);
	max-width: unset!important;
}

.home-grid-masonry .cs-entry__category a {
	background: unset!important;
	padding: 0px;
	border-bottom: 3px solid orange;
}

.home-grid-masonry .cs-entry__post-meta:not(:first-child), .home-grid-masonry .cs-entry__title:not(:first-child) {
	margin-top: 8px!important;
}

.home-grid-masonry article {
	height: 300px;
	width: 100%;
}

@media (min-width: 768px) {
	.home-grid-masonry article {
		width: 50%;
		height: 300px;
	}
}

@media (min-width: 992px) {
    .home-grid-masonry article:first-of-type,.home-grid-masonry article:nth-of-type(2) {
        height:400px
    }

    .home-grid-masonry article {
        width: 25%
    }

    .home-grid-masonry article:nth-of-type(8n-7) {
        width: 66.66666%
    }

    .home-grid-masonry article:nth-of-type(8n-6) {
        width: 33.33333%
    }

    .home-grid-masonry article:nth-of-type(8n-1),.home-grid-masonry article:nth-of-type(8n-3) {
        width: 50%
    }

    .home-grid-masonry article:first-of-type .entry-title {
        font-size: var(--wp--preset--font-size--enormous)
    }

    .home-grid-masonry article:nth-of-type(2) .entry-title {
        font-size: var(--wp--preset--font-size--large)
    }
}

/* fix entry content alignment */

.home-grid-masonry .cs-entry__content {
	margin-left: unset!important;
}

/*** Hero ***/
.home mark {
	all: unset;
}

.overlay-image {
	background-color: #2e2e2e;
	background-blend-mode: multiply;
}

.transparent-color {
	background-color: rgba(0,0,0,0.8);
}

.featured-posts.cnvs-block-posts-layout-horizontal-type-1 .cs-posts-area__image-width-one-fourth .cs-entry__thumbnail {
	max-width: 70px;
}

.hero-featured-categories .cs-tiles-categories__wrap {
	width: 100%;
}

@media (min-width: 768px) {
.hero-featured-categories .cs-tiles-categories__wrap {
	max-width: 700px;
}
}

.hero-featured-categories .cs-tiles-categories {
	display:flex;
	justify-content: center;
}

.cs-tiles-categories__arrow {
	margin: 3px 0 0 2px !important;
}
.hero-featured-categories .cs-tiles-categories__content {
		padding: 12px 16px;
}

.hero-featured-categories .cs-tiles-categories__content:hover {
	background-color: rgba(0,0,0,0.1)!important;
}

@media (max-width: 767px) {
	.hero-featured-categories .cs-tiles-categories__content {
		padding: 10px 12px;
}
}

.hero-featured-categories .cs-tiles-categories__inner {
	background: #B4007A;
	border: none;
}

.hero-featured-categories .cs-tiles-categories__title {
	justify-content: space-between;
}

.hero-featured-categories .cs-tiles-categories__name {
	display: flex;
}

/* Section Headings */
.header-arrow {
	padding-top: 4px;
}

h2#recent-posts:hover + .header-arrow, h2#airline-reviews:hover + .header-arrow {
  opacity: 1!important;
	display: block!important;
  transition: all 0.5s!important;
} 

/*** Theme Fixes ***/
a.wp-block-button__link.wp-element-button {
	border-radius: 0px;
}

.cs-container {
	max-width: 1400px;
}

/*** Post Page ***/
.cs-ratio-wide {
	height: 330px!important;
}

.single .cs-main-content h2 {
	margin: 0px!important;
}

.single .cs-main-content h2 {
	font-size: 1.9rem!important;
}

.single .cs-main-content p > img:not(:last-of-type){
	margin-bottom: 32px;
}

@media (max-width: 767px) {
	.cs-ratio-wide {
		height: 200px!important;
	}
	.single .cs-main-content h2 {
		font-size: 1.7rem!important;
	}
	.single .cs-main-content .entry-content>p:not(:first-child)  {
		margin-top: 24px!important;
		margin-bottom: 24px!important;
	}
	.single .cs-main-content p > img:not(:last-of-type){
	margin-bottom: 24px!important;
}
}

p > em {
	display: block;
	margin-top: 12px;
}

/* Post - Related Posts */
.cs-entry__post-related .cs-entry {
	padding-right: 10px;
	padding-left: 10px;
	flex: 0 0 100%;
	max-width: 100%;
}

@media (min-width: 720px) {
	.cs-entry__post-related .cs-entry {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 1200px) {
	.cs-entry__post-related .cs-entry {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

/* Author Archive */
.cs-page__author-thumbnail {
	justify-self: center!important;
}
.pk-social-links-items {
	row-gap: 10px;
}

/* Archive */
.cs-posts-area__main {
	--cs-posts-area-grid-gap: 20px;
}