/**
 * Travel Type
 *
 * Ainult reisitüübi landingule vajalikud lisastiilid.
 * Üldine kujundus tuleb V360 Core / Travel House
 * globaalsetest komponentidest.
 */

/* =========================================================
   INTRO
   ========================================================= */

.travel-type .section-country-intro .media {
    display: flex;
    align-items: center;
    gap: 25px 10%;
    flex-wrap: wrap;
}

.travel-type .section-country-intro .image {
    display: block;
    width: 40%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--th-radius);
}

.travel-type .section-country-intro .section-content {
	width:45%;
}

.travel-type .section-country-intro .heading {
	margin-bottom: 28px;
}



.travel-type .section-country-intro .text > :first-child {
	margin-top: 0;
}

.travel-type .section-country-intro .text > :last-child {
	margin-bottom: 0;
}
.buttons{
	margin-top:35px;
}
.section.section-country-intro {
    padding-bottom: 50px;
    padding-top: 75px;
}
.travel_type-template-default .grid {
    
    justify-content: center;
}
.section#sisu {
    max-width: 760px;
    margin: 0 auto;
}
#sisu h2.heading.heading-lg {
  	margin-top:25px;
    margin-bottom: 35px;
    text-align: left;
}
section.section#suunamudija-arvamus .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
	gap:15px 0px;
}
section.section#suunamudija-arvamus h2{
	margin-bottom:0px;
}
section.section#suunamudija-arvamus{
	max-width:760px;
		margin:50px auto 100px;
}
section.section#suunamudija-arvamus .text{
	text-align:center;
}
section.section#suunamudija-arvamus .text.text-sm{
	font-weight:700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

	.travel-type .section-country-intro .media {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: 45px;
	}

	.travel-type .section-country-intro .text {
		font-size: 16px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
	.travel-type .section-country-intro .media {
    display: flex;
    align-items: center;
    gap: 50px 5%;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
.travel-type .section-country-intro .section-content {
    width: 100%;
}

	.travel-type .section-country-intro .image {
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	.travel-type .section-country-intro .section-content {
		max-width: none;
	}

	.travel-type .section-country-intro .heading {
		margin-bottom: 20px;
	}
	section.section#suunamudija-arvamus {
    max-width: 760px;
    margin: 0px auto 100px;
}
	#pakkumised.section-offers {
    padding-top: 10px;
    padding-bottom: 10px;
}
}
/* =========================================================
   DESTINATION NAVIGATION
   ========================================================= */

.travel-type-destination-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
    margin-top: 25px;
}

.travel-type-destination-nav .button {
    cursor: pointer;
    color: black;
}

.travel-type-destination-nav .button.is-active {
	background: var(--th-color-accent);
	border-color: var(--th-color-accent);
	color: #fff;
}


/* =========================================================
   DESTINATION RESULTS
   ========================================================= */

.travel-type-destination-results {
	width: 100%;
}

.travel-type-destination-result {
	width: 100%;
}

.travel-type-destination-result[hidden] {
	display: none !important;
}


/* =========================================================
   BLOG FILTERS
   ========================================================= */

.travel-type-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.travel-type-blog-filters .button {
	cursor: pointer;
}

.travel-type-blog-filters .button.is-active {
	background: var(--th-color-accent);
	border-color: var(--th-color-accent);
	color: #fff;
}


/* =========================================================
   BLOG FILTER RESULTS
   ========================================================= */

[data-travel-type-blog-card][hidden] {
	display: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.travel-type-destination-nav, .travel-type-blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-right: -10%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: flex-start;
}

	.travel-type-destination-nav::-webkit-scrollbar,
	.travel-type-blog-filters::-webkit-scrollbar {
		display: none;
	}

	.travel-type-destination-nav .button,
	.travel-type-blog-filters .button {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}