/**
 * Caucasus Travel — Armenian folk ornament effects + responsive layout.
 *
 * Motifs: Arevakhach (eternity sign), carpet diamond borders ("rug teeth"),
 * eight-pointed stars. Colours follow traditional Armenian rugs:
 * pomegranate red, apricot, indigo and cream.
 */

:root {
	--ct-pomegranate: #a8323e;
	--ct-apricot: #f48e06;
	--ct-indigo: #233a5e;
	--ct-cream: #f6e7c8;
	--ct-ink: #353739;
	--ct-ease: cubic-bezier(.22, .61, .36, 1);

	/* Arevakhach — eight swirling arms. Used as a mask so any colour can fill it. */
	--ct-arevakhach: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath transform='rotate(0)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(45)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(90)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(135)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(180)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(225)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(270)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Cpath transform='rotate(315)' d='M0 0C4-10 14-20 26-20C36-20 42-12 40-4C38 4 30 6 25 2C21-1 23-7 28-7'/%3E%3Ccircle r='5' fill='%23000'/%3E%3C/svg%3E");

	/* Diamond chain — small rug border. */
	--ct-chain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6L6 0L12 6L6 12Z' fill='%23a8323e'/%3E%3Cpath d='M12.8 6L18 .8L23.2 6L18 11.2Z' fill='none' stroke='%23f48e06' stroke-width='1.6'/%3E%3Ccircle cx='18' cy='6' r='1.6' fill='%23f48e06'/%3E%3C/svg%3E");

	/* Carpet band — wide rug border. */
	--ct-carpet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Crect width='40' height='20' fill='%23a8323e'/%3E%3Cpath d='M0 0h40v2.2H0zM0 17.8h40V20H0z' fill='%23233a5e'/%3E%3Cpath d='M20 3l7 7-7 7-7-7z' fill='%23f6e7c8'/%3E%3Cpath d='M20 6l4 4-4 4-4-4z' fill='%23233a5e'/%3E%3Ccircle cx='20' cy='10' r='1.3' fill='%23f48e06'/%3E%3Cpath d='M0 6l4 4-4 4zM40 6l-4 4 4 4z' fill='%23f48e06'/%3E%3C/svg%3E");

	/* Lattice of diamonds with eight-pointed stars — page background. */
	--ct-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 0L72 36L36 72L0 36Z' fill='none' stroke='%23a8323e' stroke-width='1'/%3E%3Cpath d='M31.5 31.5h9v9h-9z' fill='%23f48e06'/%3E%3Cpath d='M36 29.6l6.4 6.4-6.4 6.4-6.4-6.4z' fill='%23f48e06'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23233a5e'/%3E%3Ccircle cx='72' cy='0' r='2' fill='%23233a5e'/%3E%3Ccircle cx='0' cy='72' r='2' fill='%23233a5e'/%3E%3Ccircle cx='72' cy='72' r='2' fill='%23233a5e'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Background ornament                                                 */
/* ------------------------------------------------------------------ */

body {
	position: relative;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: var(--ct-lattice);
	background-size: 7.2rem 7.2rem;
	opacity: 0.045;
	animation: ct-drift 90s linear infinite;
}

@keyframes ct-drift {
	to { background-position: 7.2rem 7.2rem; }
}

@keyframes ct-spin {
	to { rotate: 360deg; }
}

@keyframes ct-weave {
	to { background-position: 4.8rem center; }
}

/* ------------------------------------------------------------------ */
/* Header & menu                                                       */
/* ------------------------------------------------------------------ */

header.ct-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.6rem;
	height: 0.6rem;
	background: var(--ct-chain) repeat-x left center / auto 100%;
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
}

.ct-main-menu > ul > li > a {
	transition: color 0.3s;
}

.ct-main-menu > ul > li > a:hover {
	color: var(--ct-pomegranate);
}

.ct-main-menu > ul > li > a:after {
	height: 0.6rem;
	bottom: -1rem;
	background: var(--ct-chain) repeat-x center / auto 100%;
}

.ct-main-menu > ul > li:not(.menu-item-has-children) > a:hover:after {
	animation: ct-weave 1.2s linear infinite;
}

.ct-main-menu .sub-menu {
	border-color: rgba(168, 50, 62, 0.35);
	box-shadow: 0 1rem 2.4rem rgba(53, 55, 57, 0.12);
	z-index: 2; /* above the decorative chain line under the header */
}

.ct-main-menu .sub-menu li {
	position: relative;
	transition: transform 0.25s var(--ct-ease);
}

.ct-main-menu .sub-menu li::before {
	content: "";
	position: absolute;
	left: -0.2rem;
	top: 50%;
	width: 0.6rem;
	height: 0.6rem;
	background: var(--ct-pomegranate);
	transform: translateY(-50%) rotate(45deg) scale(0);
	transition: transform 0.25s var(--ct-ease);
}

.ct-main-menu .sub-menu li:hover {
	text-decoration: none;
	transform: translateX(1.2rem);
}

.ct-main-menu .sub-menu li:hover::before {
	transform: translate(-1.2rem, -50%) rotate(45deg) scale(1);
}

.ct-main-menu .sub-menu li:hover a {
	color: var(--ct-pomegranate);
}

.ct-navigation-block .custom-logo {
	transition: transform 0.6s var(--ct-ease);
}

.ct-navigation-block .custom-logo-link:hover .custom-logo {
	transform: scale(1.06) rotate(-3deg);
}

/* Burger (mobile only) */
.ct-burger {
	display: none;
	position: relative;
	width: 4.4rem;
	height: 4.4rem;
	padding: 0;
	border: 0.15rem solid rgba(168, 50, 62, 0.35);
	border-radius: 0.8rem;
	background: #fff;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.ct-burger span {
	display: block;
	width: 2.2rem;
	height: 0.25rem;
	border-radius: 0.2rem;
	background: var(--ct-ink);
	transition: transform 0.3s var(--ct-ease), opacity 0.2s;
}

.ct-burger span:nth-child(2) {
	width: 1.4rem;
	background: var(--ct-pomegranate);
}

.ct-header.ct-open .ct-burger span:nth-child(1) {
	transform: translateY(0.75rem) rotate(45deg);
}

.ct-header.ct-open .ct-burger span:nth-child(2) {
	opacity: 0;
}

.ct-header.ct-open .ct-burger span:nth-child(3) {
	transform: translateY(-0.75rem) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.ct-hero-block::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: min(80vmin, 76rem);
	aspect-ratio: 1;
	translate: -50% -50%;
	z-index: 2;
	pointer-events: none;
	background-color: #fff;
	-webkit-mask: var(--ct-arevakhach) center / contain no-repeat;
	mask: var(--ct-arevakhach) center / contain no-repeat;
	opacity: 0.18;
	animation: ct-spin 140s linear infinite;
}

.ct-hero-title {
	text-shadow: 0 0.3rem 2.4rem rgba(53, 55, 57, 0.35);
}

.ct-hero-link,
.book-button button {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s var(--ct-ease), box-shadow 0.3s, background-color 0.3s;
}

.ct-hero-link::after,
.book-button button::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s var(--ct-ease);
	pointer-events: none;
}

.ct-hero-link:hover,
.book-button button:hover {
	transform: translateY(-0.3rem);
	box-shadow: 0 0.8rem 2rem rgba(168, 50, 62, 0.35);
	background-color: var(--ct-pomegranate);
}

.ct-hero-link:hover::after,
.book-button button:hover::after {
	left: 130%;
}

/* ------------------------------------------------------------------ */
/* Section titles                                                      */
/* ------------------------------------------------------------------ */

.ct-section-title-line {
	height: 0.8rem;
	background: var(--ct-chain) repeat-x left center / auto 100%;
	opacity: 0.5;
}

.ct-section-title {
	padding-left: 5.5rem;
	padding-right: 5.5rem;
}

.ct-section-title::before,
.ct-section-title::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 3rem;
	height: 3rem;
	margin-top: -1.5rem;
	background-color: var(--ct-pomegranate);
	-webkit-mask: var(--ct-arevakhach) center / contain no-repeat;
	mask: var(--ct-arevakhach) center / contain no-repeat;
	transition: rotate 1.2s var(--ct-ease), background-color 0.4s;
}

.ct-section-title::before {
	left: 1.5rem;
}

.ct-section-title::after {
	right: 1.5rem;
	background-color: var(--ct-apricot);
}

.ct-section-title-wrapper:hover .ct-section-title::before {
	rotate: 180deg;
}

.ct-section-title-wrapper:hover .ct-section-title::after {
	rotate: -180deg;
}

/* ------------------------------------------------------------------ */
/* Cards: shared embroidered frame (span injected by js/folk.js)       */
/* ------------------------------------------------------------------ */

.ct-folk-frame {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	border: 0.15rem solid var(--ct-frame, #fff);
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.45s, transform 0.6s var(--ct-ease);
}

.ct-folk-frame::before,
.ct-folk-frame::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 1.2rem;
	height: 1.2rem;
	margin-left: -0.6rem;
	background: var(--ct-frame, #fff);
	box-shadow: 0 0 0 0.35rem var(--ct-frame-bg, rgba(168, 50, 62, 0.85));
	transform: rotate(45deg);
}

.ct-folk-frame::before {
	top: -0.75rem;
}

.ct-folk-frame::after {
	bottom: -0.75rem;
}

.ct-folk-frame i {
	position: absolute;
	top: 50%;
	width: 2.8rem;
	height: 2.8rem;
	margin-top: -1.4rem;
	background-color: var(--ct-frame, #fff);
	-webkit-mask: var(--ct-arevakhach) center / contain no-repeat;
	mask: var(--ct-arevakhach) center / contain no-repeat;
	transition: rotate 1.4s var(--ct-ease);
}

.ct-folk-frame i:first-child {
	left: -1.4rem;
}

.ct-folk-frame i:last-child {
	right: -1.4rem;
}

/* Discover Armenia cards */
.ct-explore-armenia-section-list-el img {
	transition: transform 0.9s var(--ct-ease), filter 0.9s;
}

.ct-explore-armenia-section-list-el .ct-folk-frame {
	top: 1.4rem;
	left: 1.4rem;
	right: 1.4rem;
	bottom: 9.6rem;
}

.ct-explore-armenia-section-list-el-title {
	transition: color 0.35s, letter-spacing 0.5s var(--ct-ease);
}

.ct-explore-armenia-section-list-el:hover img,
.ct-explore-armenia-section-list-el:focus-visible img {
	transform: scale(1.07);
	filter: saturate(1.2) contrast(1.05);
}

.ct-explore-armenia-section-list-el:hover .ct-folk-frame,
.ct-explore-armenia-section-list-el:focus-visible .ct-folk-frame,
.ct-catalogue-el a:hover .ct-folk-frame,
.ct-catalogue-el a:focus-visible .ct-folk-frame,
.ct-category-post-list-el:hover .ct-folk-frame {
	opacity: 1;
	transform: scale(1);
}

.ct-explore-armenia-section-list-el:hover .ct-folk-frame i,
.ct-catalogue-el a:hover .ct-folk-frame i,
.ct-category-post-list-el:hover .ct-folk-frame i {
	rotate: 360deg;
}

.ct-explore-armenia-section-list-el:hover .ct-explore-armenia-section-list-el-title {
	color: var(--ct-pomegranate);
	letter-spacing: 0.03em;
}

/* Tours catalogue — photos hanging on a rope: swing on hover */
.ct-catalogue-el {
	transform-origin: 50% -11rem;
	transition: box-shadow 0.4s;
}

.ct-catalogue-el:hover {
	animation: ct-swing 1.8s var(--ct-ease);
	box-shadow: 1.4rem 1.8rem 3rem rgba(168, 50, 62, 0.28);
}

@keyframes ct-swing {
	0% { rotate: 0deg; }
	20% { rotate: 3deg; }
	45% { rotate: -2.2deg; }
	70% { rotate: 1.1deg; }
	100% { rotate: 0deg; }
}

.ct-catalogue-el a {
	position: relative;
	overflow: hidden;
}

.ct-catalogue-el a .ct-folk-frame {
	inset: 1.4rem;
	--ct-frame: var(--ct-pomegranate);
	--ct-frame-bg: #fff;
}

.ct-catalogue-el img {
	transition: filter 0.6s, transform 0.9s var(--ct-ease);
}

.ct-catalogue-el a:hover img {
	filter: saturate(1.2) sepia(0.12);
}

.ct-catalogue-el-title {
	transition: color 0.3s;
}

.ct-catalogue-el a:hover .ct-catalogue-el-title {
	color: var(--ct-pomegranate);
}

/* Category post cards */
.ct-category-post-list-el {
	transition: transform 0.4s var(--ct-ease);
}

.ct-category-post-list-el:hover {
	transform: translateY(-0.6rem);
}

.ct-category-post-list-el .ct-folk-frame {
	inset: 1.2rem;
}

.ct-category-post-thumbnail {
	transition: filter 0.6s;
}

.ct-category-post-list-el:hover .ct-category-post-thumbnail {
	filter: saturate(1.2) contrast(1.05);
}

/* ------------------------------------------------------------------ */
/* Single tour                                                         */
/* ------------------------------------------------------------------ */

.ct-single-wrapper::before {
	content: "";
	position: absolute;
	left: 2rem;
	right: 2rem;
	top: -0.4rem;
	height: 0.8rem;
	border-radius: 0.4rem;
	background: var(--ct-carpet) repeat-x left center / auto 100%;
}

.ct-single-tab-list-el {
	transition: transform 0.3s var(--ct-ease), box-shadow 0.3s, background-color 0.3s;
}

.ct-single-tab-list-el:not(.active):hover {
	transform: translateY(-0.3rem);
	box-shadow: 0 0.6rem 1.4rem rgba(35, 58, 94, 0.18);
}

.c-accordion__title {
	transition: background-color 0.3s, box-shadow 0.3s, padding-left 0.3s var(--ct-ease);
}

.c-accordion__title:hover {
	background-color: rgba(244, 142, 6, 0.06);
	box-shadow: inset 0.4rem 0 0 var(--ct-pomegranate);
}

.ct-single-what-included li:before,
.ct-single-what-extra li:before {
	transition: transform 0.3s var(--ct-ease);
}

.ct-single-what-included li:hover:before,
.ct-single-what-extra li:hover:before {
	transform: rotate(45deg) scale(1.4);
}

.ct-single-map-block > p {
	transition: transform 0.4s var(--ct-ease), box-shadow 0.4s;
}

.ct-single-map-block > p:hover {
	transform: translateY(-0.4rem);
	box-shadow: 0 0.8rem 2rem rgba(168, 50, 62, 0.25);
}

/* Content images on Discover pages */
.wp-block-image img,
.ct-places-to-see-el > p img {
	transition: transform 0.9s var(--ct-ease), filter 0.9s;
}

.wp-block-image,
.ct-places-to-see-el > p {
	overflow: hidden;
}

.wp-block-image:hover img,
.ct-places-to-see-el > p:hover img {
	transform: scale(1.04);
	filter: saturate(1.15);
}

/* ------------------------------------------------------------------ */
/* Forms & buttons                                                     */
/* ------------------------------------------------------------------ */

.wpcf7-submit,
.ct-contacts-block input[type="submit"] {
	transition: background-color 0.3s, transform 0.3s var(--ct-ease), box-shadow 0.3s;
	background-image: var(--ct-chain);
	background-repeat: repeat-x;
	background-size: auto 0.5rem;
	background-position: left calc(100% + 0.6rem);
}

.wpcf7-submit:hover,
.ct-contacts-block input[type="submit"]:hover {
	background-color: var(--ct-pomegranate) !important;
	background-position: left 100%;
	box-shadow: 0 0.8rem 2rem rgba(168, 50, 62, 0.3);
}

.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.ct-search-block form input[type="search"]:focus {
	outline: none;
	border-color: var(--ct-apricot) !important;
	box-shadow: 0 0 0 0.3rem rgba(244, 142, 6, 0.18);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.ct-footer {
	position: relative;
	background-image: linear-gradient(rgba(250, 235, 215, 0.93), rgba(250, 235, 215, 0.93)), var(--ct-lattice);
	background-size: auto, 7.2rem 7.2rem;
}

.ct-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2rem;
	background: var(--ct-carpet) repeat-x left center / auto 100%;
	animation: ct-weave 6s linear infinite paused;
}

.ct-footer:hover::before {
	animation-play-state: running;
}

.ct-footer::after {
	content: "";
	position: absolute;
	right: 4%;
	bottom: 2rem;
	width: 22rem;
	height: 22rem;
	background-color: var(--ct-pomegranate);
	-webkit-mask: var(--ct-arevakhach) center / contain no-repeat;
	mask: var(--ct-arevakhach) center / contain no-repeat;
	opacity: 0.08;
	animation: ct-spin 80s linear infinite;
	pointer-events: none;
}

.ct-footer-col-cont-data {
	width: fit-content;
	background: var(--ct-chain) no-repeat left bottom / 0 0.5rem;
	padding-bottom: 0.4rem;
	transition: background-size 0.5s var(--ct-ease), color 0.3s;
}

.ct-footer-col-cont-data:hover {
	color: var(--ct-pomegranate);
	background-size: 100% 0.5rem;
}

.ct-footer-social-icon {
	position: relative;
	transition: transform 0.35s var(--ct-ease), background-color 0.35s, box-shadow 0.35s;
}

.ct-footer-social-link::before {
	content: "";
	position: absolute;
	inset: -0.6rem;
	background-color: var(--ct-pomegranate);
	-webkit-mask: var(--ct-arevakhach) center / contain no-repeat;
	mask: var(--ct-arevakhach) center / contain no-repeat;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.35s, transform 0.8s var(--ct-ease);
	z-index: -1;
}

.ct-footer-social-icon:hover {
	transform: translateY(-0.4rem);
	background-color: var(--ct-pomegranate);
	box-shadow: 0 0.6rem 1.4rem rgba(168, 50, 62, 0.35);
}

.ct-footer-social-link:hover::before {
	opacity: 0.35;
	transform: scale(1) rotate(180deg);
}

.ct-footer-social-link {
	position: relative;
	z-index: 0;
}

/* ------------------------------------------------------------------ */
/* Scroll reveal (only when JS is running)                             */
/* ------------------------------------------------------------------ */

.ct-js .ct-reveal {
	opacity: 0;
	translate: 0 3rem;
	transition: opacity 0.8s var(--ct-ease), translate 0.8s var(--ct-ease);
	transition-delay: var(--ct-d, 0s);
}

.ct-js .ct-reveal.ct-in {
	opacity: 1;
	translate: 0 0;
}

/* ================================================================== */
/* Responsive                                                          */
/* ================================================================== */

img,
video,
iframe {
	max-width: 100%;
}

@media screen and (max-width: 1024px) {
	.ct-catalogue-wrapper {
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 6rem;
	}

	.ct-catalogue-el,
	.ct-catalogue-el:nth-child(n) {
		transform: none !important;
	}

	.ct-catalogue-el:nth-child(4n + 1):before {
		display: none;
	}

	.ct-catalogue-el:nth-child(2n + 1):before {
		content: "";
		display: block;
		width: calc(100vw + 2rem);
		height: 20rem;
		background-image: url(../assets/images/rope.png);
		background-repeat: repeat-x;
		background-size: auto 1.8rem;
		background-position: center;
		top: -20rem;
		left: -4rem;
		position: absolute;
		transform: rotate(-2deg);
	}

	.ct-catalogue-el:nth-child(4n + 3):before {
		transform: rotate(2deg);
	}

	.ct-single-el-thumbnail {
		width: 100%;
	}

	.ct-single-page-wrapper {
		flex-direction: column;
	}

	.ct-single-content-wrapper {
		width: 100%;
		padding-left: 0;
	}

	.ct-places-to-see-el,
	.ct-places-to-see-el:nth-child(2n) {
		flex-direction: column;
	}

	.ct-places-to-see-el > p {
		width: 100%;
		height: 36rem;
	}

	.ct-places-to-see-el-data {
		width: 100%;
	}
}

@media screen and (max-width: 900px) {
	html {
		font-size: 9px;
	}

	/* Header becomes: logo + burger, menu panel below */
	header.ct-header {
		flex-wrap: wrap;
		height: auto;
		min-height: 7rem;
		padding: 0.8rem 2rem;
		align-items: center;
	}

	.ct-navigation-block {
		display: contents;
	}

	.ct-navigation-block .custom-logo-link {
		order: 1;
		display: flex;
		align-items: center;
	}

	.ct-navigation-block .custom-logo {
		height: 5.4rem;
	}

	.ct-burger {
		display: flex;
		order: 2;
		margin-left: auto;
	}

	.ct-navigation-block > .ct-main-menu,
	.ct-action-block {
		order: 3;
		width: 100%;
		margin-left: 0;
		display: none;
	}

	.ct-action-block {
		order: 4;
	}

	.ct-header.ct-open {
		max-height: 100vh;
		max-height: 100dvh;
		overflow-y: auto;
	}

	.ct-header.ct-open .ct-navigation-block > .ct-main-menu,
	.ct-header.ct-open .ct-action-block {
		display: block;
		animation: ct-panel-in 0.35s var(--ct-ease);
	}

	@keyframes ct-panel-in {
		from { opacity: 0; transform: translateY(-1rem); }
	}

	.ct-navigation-block > .ct-main-menu {
		padding-top: 1.5rem;
	}

	.ct-main-menu > ul {
		flex-direction: column;
		width: 100%;
	}

	.ct-main-menu > ul > li {
		height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding: 1.4rem 0;
		border-bottom: 0.1rem solid rgba(168, 50, 62, 0.12);
	}

	.ct-main-menu > ul > li:not(:last-child) {
		margin-right: 0;
	}

	.ct-main-menu > ul > li > a {
		font-size: 1.8rem;
	}

	.ct-main-menu > ul > li > a:after {
		display: none;
	}

	.ct-main-menu .sub-menu,
	.ct-main-menu > ul > li.menu-item-has-children:hover .sub-menu {
		display: block;
		position: static;
		border: none;
		box-shadow: none;
		padding: 1rem 0 0 2rem;
		background: transparent;
	}

	.ct-main-menu .sub-menu li a {
		font-size: 1.7rem;
		white-space: normal;
	}

	.ct-company-info-row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding: 0.5rem 0 2rem;
	}

	.ct-action-block .ct-main-menu {
		margin-left: 0;
	}

	.ct-action-block .ct-main-menu > ul > li {
		border-bottom: none;
	}

	.ct-action-block .ct-main-menu .sub-menu,
	.ct-action-block .ct-main-menu > ul > li.menu-item-has-children:hover .sub-menu {
		display: flex;
		flex-wrap: wrap;
		gap: 1.2rem 2.4rem;
		padding-left: 0;
	}

	.ct-action-block .ct-main-menu .sub-menu li:not(:last-child) {
		margin-bottom: 0;
	}

	.ct-search-block {
		margin-left: 0;
		width: 100%;
	}

	.ct-search-block form,
	.ct-search-block form label {
		width: 100%;
		flex: 1;
	}

	.ct-search-block form input[type="search"] {
		width: 100%;
		height: 4.4rem;
		font-size: 16px; /* avoids iOS zoom on focus */
	}

	/* Hero */
	.ct-hero-block {
		height: calc(100svh - 7rem);
		min-height: 48rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.ct-hero-title {
		font-size: 4.6rem;
		padding-top: 3rem;
		padding-bottom: 3.5rem;
	}

	.ct-animated-ararat {
		width: 14rem;
	}

	/* Section titles */
	.ct-section-title {
		margin-left: 2rem;
		font-size: 2.6rem;
	}

	.ct-explore-armenia-section-list {
		grid-template-columns: 1fr 1fr;
		grid-gap: 1.5rem;
	}

	.ct-explore-armenia-section-list-el-title {
		font-size: 1.7rem;
	}

	/* Big page headings */
	.ct-catalogue-page-title {
		font-size: 5.4rem;
	}

	.category-page-thumbnail h2,
	.ct-discover-subcategory-wrapper h2,
	.ct-sightseeing-wrapper > h2:nth-child(2),
	.ct-reasons-wrapper > h2:nth-child(2),
	.ct-suggestion-hero h2,
	.ct-about-us-wrapper h2,
	.discover-armenia .entry-title {
		font-size: 4.4rem;
	}

	.ct-single-title,
	.post-1370 .entry-title,
	.post-1372 .entry-title,
	.post-1374 .entry-title {
		font-size: 3.6rem;
	}

	.ct-category-post-list {
		grid-template-columns: 1fr 1fr;
	}

	/* Single tour */
	.ct-single-thumbnail-wrapper {
		height: 38rem;
	}

	.ct-single-tour-name {
		font-size: 3rem;
	}

	.ct-single-map-block {
		grid-template-columns: 1fr;
		height: auto;
	}

	.ct-single-inclusion {
		flex-direction: column;
		padding: 2rem 0;
	}

	.ct-single-what-included,
	.ct-single-what-extra {
		width: 100%;
	}

	/* Contacts page form: stack fields */
	.ct-contacts-block {
		margin-top: 4rem;
	}

	.ct-contacts-block .ct-wrapper {
		flex-direction: column;
		gap: 3rem;
	}

	.ct-contacts-data-block {
		width: 100%;
		padding-bottom: 4rem;
	}

	.ct-contacts-block .wpcf7 {
		padding-right: 0;
	}

	.ct-contacts-block .wpcf7 form {
		display: block;
		padding-bottom: 6rem;
	}

	.ct-contacts-block .wpcf7 p:nth-of-type(1),
	.ct-contacts-block .wpcf7 p:nth-of-type(2),
	.ct-contacts-block .wpcf7 p:nth-of-type(3) {
		width: 100%;
		margin-bottom: 1.8rem;
	}

	.ct-contacts-block .wpcf7 p:nth-of-type(4),
	.ct-contacts-block .wpcf7 p:nth-of-type(5) {
		position: static;
		height: auto;
		border-bottom: none;
		margin-bottom: 1.8rem;
	}

	.ct-contacts-block .wpcf7 p:nth-of-type(4) label,
	.ct-contacts-block .wpcf7 p:nth-of-type(4) span,
	.ct-contacts-block .wpcf7 p:nth-of-type(4) textarea {
		position: static;
		display: block;
		height: auto;
	}

	.ct-contacts-block .wpcf7 p:nth-of-type(4) textarea {
		height: 18rem;
	}

	.ct-contacts-block input[type="submit"] {
		transform: none;
		width: 100%;
		height: 5rem;
	}

	.ct-contacts-block .wpcf7-response-output {
		position: static;
		font-size: 1.8rem;
	}

	/* Send request modal */
	.ct-single-send-request-modal {
		padding: 2rem;
	}

	.ct-send-request-form-inputs {
		grid-template-columns: 1fr;
		grid-row-gap: 1.5rem;
	}

	.ct-send-request-form-message label,
	.ct-send-request-form-message span,
	.ct-send-request-form-message input {
		width: 100%;
	}

	/* Search results */
	.ct-search-res-title {
		padding-left: 3rem;
		padding-right: 3rem;
		position: relative;
		z-index: 1;
	}

	.ct-search-res:after {
		width: 30rem;
		height: 30rem;
		bottom: -10rem;
	}

	.ct-footer::after {
		width: 14rem;
		height: 14rem;
	}

	/* Inputs at 16px on touch devices so iOS doesn't zoom */
	.wpcf7 input:not([type="submit"]),
	.wpcf7 textarea,
	.wpcf7 select {
		font-size: 16px;
	}

	.ct-contacts-block .ct-wrapper > * {
		width: 100%;
	}

	.ct-main-menu .sub-menu li:hover {
		transform: none;
	}

	/* Long day titles in the itinerary must not run under the arrow */
	.c-accordion__title {
		padding: 1rem 4.5rem 1rem 1.2rem;
		line-height: 1.35;
	}

	.c-accordion__title:after {
		top: calc(50% - 0.7rem);
	}
}

@media screen and (max-width: 600px) {
	.ct-single-tab-list-el {
		height: auto;
		min-height: 5rem;
		padding: 0.6rem 0.8rem;
		font-size: 1.45rem;
		line-height: 1.2;
		text-align: center;
	}

	.ct-single-tab-list-el.active span:before,
	.ct-single-tab-list-el.active span:after {
		display: none;
	}

	.ct-catalogue-wrapper {
		grid-template-columns: 1fr;
		padding-left: 4rem;
		padding-right: 4rem;
		margin-top: 4rem;
	}

	.ct-catalogue-el {
		margin-top: 18rem;
	}

	.ct-catalogue-el:nth-child(n):before {
		content: "";
		display: block;
		width: calc(100vw + 2rem);
		height: 20rem;
		background-image: url(../assets/images/rope.png);
		background-repeat: repeat-x;
		background-size: auto 1.8rem;
		background-position: center;
		top: -20rem;
		left: -6rem;
		position: absolute;
		transform: rotate(-3deg);
	}

	.ct-catalogue-el:nth-child(2n):before {
		transform: rotate(3deg);
	}

	.ct-catalogue-el img {
		height: 24rem;
	}

	.ct-catalogue-page-title {
		font-size: 4.4rem;
	}
}

@media screen and (max-width: 480px) {
	.ct-hero-title {
		font-size: 4rem;
	}

	.ct-section-title-wrapper {
		justify-content: center;
	}

	.ct-section-title {
		margin-left: 0;
		font-size: 2.4rem;
		padding-left: 4.5rem;
		padding-right: 4.5rem;
	}

	.ct-section-title::before {
		left: 0.6rem;
	}

	.ct-section-title::after {
		right: 0.6rem;
	}

	.ct-explore-armenia-section-list,
	.ct-category-post-list {
		grid-template-columns: 1fr;
	}

	.ct-explore-armenia-section-list-el-title {
		font-size: 2rem;
	}

	.ct-single-thumbnail-wrapper {
		height: 30rem;
	}

	.ct-places-to-see-el > p {
		height: 26rem;
	}
}

/* ------------------------------------------------------------------ */
/* Accessibility: calm everything down for people who ask for it       */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.ct-js .ct-reveal {
		opacity: 1;
		translate: none;
	}
}
