:root {
	--color-box-shadow: rgba(227, 227, 227, 0.6);
	--color-pink: #F26722;
	--color-pink-btn: #dd0f63;
	--color-text: #4b4b4b;

	--meta-data--fs: 0.85rem;
	--detail-margin: 1.8rem;
}

/*************
    Globals
**************/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
}

.container {
	width: 100%;
	margin: 0 auto;
}

.container-m {
	width: 90%;
	margin: 0 auto;
}

img {
	max-width: 100%;
	display: block;
}

.img__container--rotate {
	rotate: 180deg;
	text-align: left;
}

/***************
    Navigation
****************/

.nav {
	display: none;
}

.nav__list {
	list-style-type: none;
}

.nav__link {
	text-decoration: none;
	color: black;
}

.nav-m {
	width: 100%;
	padding: 0.75rem 0;
	position: absolute;
	top: 0;
	left: 0;
}

.flex {
	display: flex;
}

.img-wrapper {
	border-radius: 100%;
	padding: 0.625rem;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.img-wrapper--right {
	margin-left: auto;
	margin-right: 16px;
}

.nav-m img {
	width: 14px;
}

.image__link {
	display: none;
}

.buttons {
	display: none;
}

.meta-data__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	margin: 0 auto;
	margin-bottom: 1.5rem;
}

.meta-data {
	font-size: var(--meta-data--fs);
	font-weight: 600;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
}

.rating {
	display: none;
	align-items: center;
	gap: 8px;
}

.reviews,
.location {
	color: black;
}

.dot {
	font-weight: 700;
}

.rating-img__container {
	width: 20px;
}

.img__collage {
	display: none;
}

.f-reverse {
	display: flex;
	flex-direction: column-reverse;
}

.hero__heading {
	order: 2;
	width: 90%;
	padding: 2rem 0 1rem 0;
	margin: 0 auto;
	font-weight: 600;
}

.hero-images {
	order: 3;
}

.center {
	width: 94%;
	margin: 0 auto;
}

.section {
	padding: 1rem 0;
}

.heading {
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--detail-margin);
}

.heading__title {
	width: 80%;
	line-height: 1.5;
}

.section__img {
	border-radius: 100%;
	width: 55px;
	height: 55px;
	overflow: hidden;
}

.heading-data {
	margin-top: 0.55rem;
}

.small-detail {
	margin: 1.8rem 0;
	display: flex;
	gap: 15px;
	font-size: 0.95rem;
}

.small-detail__paragraph {
	margin-top: 0.55rem;
	color: gray;
}

.section__content-paragraph {
	line-height: 1.5;
}

.section__content-paragraph:last-of-type {
	margin-bottom: 1.5rem;
	/* height: 100px;
    line-clamp: 6;
    white-space: nowrap; */
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}

.small-detail .img__container {
	width: 32px;
}

.section__content-paragraph:first-of-type,
.heading--arrangements,
.heading--amenities {
	margin-top: var(--detail-margin);
}

.show-more {
	display: flex;
	border: none;
	background-color: transparent;
	text-decoration: underline;
	font-size: 1rem;
	align-items: center;
	padding: 1rem 0;
	gap: 5px;
	font-weight: 600;
}

.show-more img {
	width: 12px;
}

.image-group-m .img__container:nth-child(1) {
	grid-area: a;
}

.image-group-m .img__container:nth-child(2) {
	grid-area: b;
}

.image-group-m .img__container:nth-child(2) img {
	height: 100%;
	object-fit: cover;
}

.image-group-m .img__container:nth-child(3) {
	grid-area: c;
}

.image-group-m .img__container:nth-child(4) {
	grid-area: d;
}

.image-group-m .img__container:nth-child(5) {
	grid-area: e;
}

.image-group-m .img__container:nth-child(6) {
	grid-area: f;
}

.image-group-m {
	margin-top: 1rem;
	display: grid;
	gap: 10px;
	grid-template-areas:
		"a a"
		"b c"
		"b d"
		"e f";
	border-radius: 8px;
	overflow: hidden;
}

.img_container--arrangements {
	border-radius: 8px;
	overflow: hidden;
	margin-top: var(--detail-margin);
}

.card {
	border: 1px solid gray;
	padding: 1.5rem;
	border-radius: 8px;
	width: 50%;
	margin: var(--detail-margin) 0;
}

.card-images {
	display: flex;
	gap: 10px;
}

.card-images .img__container {
	width: 24px;
	margin-bottom: var(--detail-margin);
}

.card p {
	margin-top: 0.55rem;
	font-size: 0.85rem;
}

.amenities-list {
	list-style: none;
}

.amenities-list:last-of-type {
	display: none;
}

.amenities-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 1rem 0;
}

.list__image {
	width: 26px;
}

.btn {
	width: 100%;
	margin: var(--detail-margin) 0;
	display: block;
	padding: 1rem 2rem;
	border: 1px solid black;
	border-radius: 8px;
	background-color: transparent;
	font-size: 1rem;
	font-weight: 700;
}

.btn:hover {
	background-color: var(--color-box-shadow);
}

.rating-list {
	display: none;
}

/* Footer */
.footer {
	background-color: var(--color-box-shadow);
	padding: 5rem 0;
	margin-top: 3rem;
}

.city__list {
	column-count: 2;
	list-style: none;
	padding: 2rem 0;
}

.city__item {
	padding: 0.55rem 0;
}

.city__link {
	text-decoration: none;
	color: gray;
}

.city__list--extended {
	margin-top: 1.2rem;
	margin-bottom: 4rem;
	font-size: var(--meta-data--fs);
	display: flex;
	gap: 15px;
}

.city__list--extended a {
	color: gray;
	text-decoration: none;
}

.city__list--extended a:hover {
	text-decoration: underline;
}

.city__list--extended img {
	width: 10px;
}

.footer hr {
	border-color: var(--color-box-shadow);
}

.container--footer-bottom {
	padding: 3rem 0;
}

.list-wrapper {
	display: grid;
	grid-template-columns: 1fr;
}

.support,
.community,
.hosting,
.airbnb {
	list-style-type: none;
	font-size: var(--meta-data--fs);
	color: black;
}

.list__heading {
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.list__item {
	padding: 0.55rem 0;
}

.list__link {
	text-decoration: none;
	color: inherit;
}

.footer {
	padding-bottom: 0;
}

.container--footer-copy {
	font-size: var(--meta-data--fs);
	display: flex;
	flex-direction: column-reverse;
	padding: 1.5rem 0;
}

.privacy {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.privacy span:last-child {
	display: flex;
	align-items: center;
	gap: 8px;
}

.socials {
	display: flex;
	gap: 18px;
}

.socials h4 a {
	display: flex;
	gap: 8px;
}

.socials span,
.socials h4 {
	font-weight: 600;
}

.socials span a,
.socials h4 a {
	color: black;
	text-decoration: none;
}

.socials span a:hover,
.socials h4 a:hover {
	text-decoration: underline;
}

.socials img {
	width: 16px;
	display: none;
}

.social {
	display: block;
}

.sep {
	display: none;
}

.calendar {
	padding-top: 28px;
}

.month {
	width: 100%;
	font-size: 14px;
	font-weight: 500;
}

.month td {
	padding: 0.75rem;
	text-align: center;
	margin: 1rem;
}

.days {
	color: gray;
	font-weight: 700;
}

.months-heading-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.calendar-extra {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.625rem 0;
}

.link {
	color: black;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.625rem 1rem;
	border-radius: 8px;
}

@media (min-width: 1024px) {
	.main {
		padding: 2rem 0;
	}

	.main + .container-m hr {
		display: none;
	}


	.nav-m {
		display: none;
	}

	.nav {
		display: block;
		padding: 1.45rem 0;
		border-bottom: 1px solid #ddd1b3;
	}

	/*******************************
        Navigation without search
    *******************************/

	.logo {
		display: block;
		width: 10%;
	}

	.logo img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.container--nav {
		display: flex;
		justify-content: space-between;
	}

	.nav__list {
		width: 24%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.nav__link {
		font-weight: 700;
		font-size: 0.85rem;
		color: var(--color-text);
		padding: 0.75rem;
		border-radius: 50px;
	}

	.nav__link:hover {
		background-color: var(--color-box-shadow);
	}

	.nav__link--earth {
		display: block;
		width: 85%;
	}

	.nav__link--earth:hover {
		background-color: var(--color-box-shadow);
		border-radius: 100%;
	}

	.nav__link--rounded {
		border-radius: 100px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.25rem 0.55rem;
		border: 1px solid gray;
	}

	.nav__link--rounded:hover {
		background-color: white;
		box-shadow: 0px 2px 1px 2px var(--color-box-shadow);
		cursor: pointer;
	}

	.hamburger {
		width: 35%;
	}

	/*******************************
        Navigation's search bar
    *******************************/

	.search__container {
		width: 20%;
		margin: 0 auto;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		padding: 1.28rem 0;
		background: transparent;
	}

	.search-bar {
		padding: 0.35rem 0.25rem 0.35rem 1.25rem;
		border-radius: 100px;
		display: flex;
		align-items: center;
		font-size: 0.85rem;
		font-weight: 600;
		box-shadow: 0px 1px 1px 2px var(--color-box-shadow);
		transition: all 0.3s ease-in;
		cursor: pointer;
	}

	.search-bar:hover {
		box-shadow: 0px 2px 1px 2px var(--color-box-shadow);
	}

	.search-icon__container {
		background-color: var(--color-pink);
		width: 32px;
		height: 32px;
		border-radius: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		cursor: pointer;
	}

	.search-icon__container img {
		width: 40%;
	}

	/*******************************
        Main Section
    *******************************/

	/* Main Heading */
	.buttons {
		display: flex;
		width: 40%;
		gap: 15px;
		font-size: var(--meta-data--fs);
	}

	.share {
		margin-left: auto;
	}

	.share,
	.save {
		display: flex;
		align-items: center;
		gap: 5px;
		padding: 0.55rem;
		border-radius: 8px;
	}

	.share:hover,
	.save:hover {
		background-color: var(--color-box-shadow);
	}

	.share a,
	.save a {
		color: black;
	}

	.share img,
	.save img {
		width: 16px;
	}

	.f-reverse {
		display: block;
	}

	.hero__heading {
		width: 100%;
		margin: 0;
		padding: 0;
		font-weight: 600;
	}

	.meta-data__container {
		margin: 0;
		margin-top: 0.5rem;
	}

	/* Main images */
	.hero-images {
		margin-top: 1.75rem;
		position: relative;
		border-radius: 16px;
		display: grid;
		grid-template-columns: auto auto;
		overflow: hidden;
		gap: 10px;
	}

	.image__link {
		position: absolute;
		right: 30px;
		bottom: 30px;
		background-color: white;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0.55rem 1rem;
		border-radius: 8px;
		border: 1px solid black;
		text-decoration: none;
	}

	.image__link-text {
		font-size: 0.75rem;
		font-weight: 700;
		color: black;
	}

	.image__link:hover {
		background-color: #f1f1f1;
	}

	.image__link img {
		width: 16px;
	}

	.img__collage {
		display: grid;
		grid-template-columns: auto auto;
		gap: 10px;
	}

	.img__container--hero img {
		width: 100%;
		object-position: center;
		object-fit: cover;
	}

	.img__collage .img__container {
		width: 260px;
	}

	.img__collage .img__container img {
		width: 100%;
		object-position: center;
		object-fit: cover;
	}

	/*******************************
        Details Section
    *******************************/

	/* section content */

	.container--details {
		position: relative;
		display: flex;
		gap: 80px;
	}

	.section__content {
		width: 100%;
	}

	.small-detail .img__container {
		width: 24px;
	}

	.section__content-paragraph:last-of-type {
		height: initial;
	}

	.show-more,
	.image-group-m {
		display: none;
	}

	.btn-m {
		display: none;
	}

	.img_container--arrangements {
		width: 50%;
	}

	.card {
		width: 30%;
	}

	.btn {
		width: initial;
	}

	.list {
		display: flex;
		justify-content: space-between;
	}

	.amenities-list:last-of-type {
		display: block;
	}

	/* CALENDAR STYLES */
	.calendar-heading {
		margin-top: 3rem;
	}

	.selected-date {
		font-weight: 500;
		color: gray;
		display: block;
		font-size: 0.85rem;
		margin: 0.55rem 0 1rem 0;
	}

	.months-heading-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 0;
	}

	.months-heading-container h4 {
		font-weight: 600;
	}

	.months-heading-container .img__container {
		width: 14px;
	}

	.months-wrapper {
		display: flex;
		gap: 20px;
		/* justify-content: space-between; */
	}

	.month {
		width: 50%;
		font-size: 14px;
		font-weight: 500;
		/* border-collapse: collapse; */
	}

	.month td {
		padding: 0.75rem;
		text-align: center;
		margin: 1rem;
	}

	.days {
		color: gray;
		font-weight: 700;
	}

	.month td:hover {
		outline: 1px solid black;
		border-radius: 100%;
		text-align: center;
	}

	.month .days td:hover {
		outline: none;
		border-radius: none;
		cursor: default;
	}

	.active {
		background-color: black;
		color: white;
		border-radius: 100%;
	}

	.calendar-extra {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.625rem 0;
	}

	.calendar-extra .img__container {
		padding: 0.75rem;
		border-radius: 100%;
	}

	.calendar-extra .img__container:hover {
		background-color: var(--color-box-shadow);
	}

	.link {
		color: black;
		font-size: 0.875rem;
		font-weight: 600;
		padding: 0.625rem 1rem;
		border-radius: 8px;
	}

	.link:hover {
		background-color: var(--color-box-shadow);
	}

	/* sticky content */
	.sticky-content--container {
		display: inline-block;
		width: 60%;
		margin-left: auto;
		position: relative;
	}

	.sticky-content {
		position: sticky;
		top: 50px;
		right: 0;
		width: 100%;
	}

	.sticky-card {
		background-color: white;
		box-shadow: 1px 3px 5px 3px #f2f2f2;
		outline: 1px solid #f2f2f2;
		padding: 2rem;
		border-radius: 8px;
		height: max-content;
		font-size: var(--meta-data--fs);
	}

	.price span {
		font-size: 1rem;
		font-weight: 400;
		margin-left: 0.45rem;
	}

	.price-detail {
		display: flex;
		justify-content: space-between;
	}

	.table {
		border: 1px solid black;
		border-radius: 8px;
		overflow: hidden;
		margin-top: 2rem;
	}

	.table table {
		width: 100%;
		border-collapse: collapse;
	}

	.table tr,
	.table td {
		border: 1px solid black;
		padding: 1.25rem;
	}

	.table tr {
		border: 1px solid black;
	}

	.arrow {
		float: right;
		width: 16px;
		cursor: pointer;
	}

	.btn--pink {
		background-color: var(--color-pink-btn);
		width: 100%;
		color: white;
		border: none;
	}

	.btn--pink:hover {
		background-color: var(--color-pink);
	}

	.sticky-card--ext-text {
		display: block;
		text-align: center;
		color: gray;
	}

	.sticky-card__detail {
		display: flex;
		justify-content: space-between;
		margin: var(--detail-margin) 0;
	}

	.sticky-card__detail a {
		color: black;
	}

	.total {
		margin-top: var(--detail-margin);
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.total span {
		display: block;
		font-size: 1rem;
		font-weight: 600;
	}

	.extended-card {
		width: 100%;
		line-height: 1.5;
		margin-top: 2rem;
		border: 1px solid rgb(187, 187, 187);
		padding: 1rem 2rem;
		border-radius: 8px;
		display: flex;
		justify-content: space-between;
	}

	.extended-card p {
		width: 80%;
	}

	.extended-card strong {
		display: inline-block;
		margin-right: 0.55rem;
	}

	.diamond {
		width: 32px;
	}

	.container--details + .container {
		padding: 2rem 0;
	}

	/****************
        Ratings
    ****************/

	.rating--large {
		font-size: 1.25rem;
		font-weight: 600;
	}

	.rating-list {
		display: block;
		column-count: 2;
		column-gap: 100px;
		margin-top: 1rem;
	}

	.rating-bar {
		height: 0;
		width: 120px;
		border: 2px solid black;
		margin-left: auto;
		border-radius: 8px;
	}

	.rating-list__item {
		display: flex;
		align-items: center;
		padding: 0.5rem 0;
		justify-content: space-between;
	}

	.rating-list__rating {
		margin-left: 0.5rem;
	}

	/*******************
        Footer
    *******************/
	.footer {
		background-color: var(--color-box-shadow);
		padding: 5rem 0;
		margin-top: 3rem;
	}

	.city__list {
		column-count: 4;
		list-style: none;
		padding: 2rem 0;
	}

	.city__item {
		padding: 0.55rem 0;
	}

	.city__link {
		text-decoration: none;
		color: gray;
	}

	.city__list--extended {
		margin-top: 1.2rem;
		margin-bottom: 4rem;
		font-size: var(--meta-data--fs);
		display: flex;
		gap: 15px;
	}

	.city__list--extended a {
		color: gray;
		text-decoration: none;
	}

	.city__list--extended a:hover {
		text-decoration: underline;
	}

	.city__list--extended img {
		width: 10px;
	}

	.footer hr {
		border-color: var(--color-box-shadow);
	}

	.container--footer-bottom {
		padding: 3rem 0;
	}

	.list-wrapper {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
	}

	.support,
	.community,
	.hosting,
	.airbnb {
		list-style-type: none;
		font-size: var(--meta-data--fs);
		color: black;
	}

	.list__heading {
		font-weight: 600;
		margin-bottom: 1.5rem;
	}

	.list__item {
		padding: 0.55rem 0;
	}

	.list__link {
		text-decoration: none;
		color: inherit;
	}

	.footer {
		padding-bottom: 0;
	}

	.container--footer-copy {
		font-size: var(--meta-data--fs);
		display: flex;
		justify-content: space-between;
		padding: 1.5rem 0;
	}

	.privacy {
		display: flex;
		gap: 10px;
		align-items: center;
	}

	.privacy span:last-child {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.socials {
		display: flex;
		gap: 18px;
	}

	.socials h4 a {
		display: flex;
		gap: 8px;
	}

	.socials span,
	.socials h4 {
		font-weight: 600;
	}

	.socials span a,
	.socials h4 a {
		color: black;
		text-decoration: none;
	}

	.socials span a:hover,
	.socials h4 a:hover {
		text-decoration: underline;
	}

	.socials img {
		width: 16px;
	}

	.social {
		display: block;
	}

	.sep {
		display: initial;
	}

	.rating {
		display: flex;
	}
}
