@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	box-sizing: border-box;
	font-family: lato;
	color: #F8F8F8;
	line-height: 1.2;
}
html {
  scroll-behavior: smooth;
}
@media (min-width: 1440px) {
  ::-webkit-scrollbar {
    width: 0.5vw;
  }
  ::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #EEEEEE;
  }
  ::-webkit-scrollbar-thumb {
    background: #941E1B;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #b42325;
  }
  html {
    scrollbar-width: thin; /* Firefox support */
    scrollbar-color: #941E1B #EEEEEE;
  }
}

/* Slideshow */
.hero-section {
	padding: 75px 232px 0 233px;
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.hero-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	background: rgba(248, 248, 248, 0.5);
	width: 100%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-text h1 {
	color: #20120D;
	font-family: Oswald, sans-serif;
	font-size: 64px;
	font-weight: 500;
	margin: 0;
	text-align: center;
}

/* Main Content */
.padding {
  padding: 75px 132px 75px 133px;
}
.row {
	display: grid;
  	grid-template-columns: repeat(2, 1fr);
  	gap: 75px 25px;
	align-items: stretch;
}
.article {
  display: flex;
  flex-direction: column;
	height: 100%;
  border: 1px solid #20120D;
  border-radius: 8px;
  background: #EEEEEE;
  transition: max-height 0.5s ease;
}
.article:not(.expanded) {
  max-height: 650px; /* Height when collapsed */
}
.article img {
  height: 300px;
	width: auto;
  object-fit: cover;
	display: block;
  border-radius: 8px 8px 0 0;
}
.content {
  padding: 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto; /* Remove fixed height */
}
.description {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
  max-height: 7.5em;
}

.article.expanded .description {
  max-height: 2000px; /* High enough to fit your longest content */
}
.description .text.full {
  display: none;
}
.article.expanded .description .text.short {
  display: none;
}
.article.expanded .description .text.full {
  display: block;
}
.description::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(to bottom, rgba(238,238,238,0) 0%, rgba(238,238,238,1) 100%);
  transition: opacity 0.3s ease;
}
.article.expanded .description::after {
  opacity: 0;
}

h3 {
  color: #20120D;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 38px;
}
.toggle-icon-container {
  text-align: right;
  margin-top: 38px;
}
.toggle-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 28px;
  cursor: pointer;
  color: #20120D;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  padding: 0;
}
.toggle-icon:hover {
  color: #941B1E;
}
.article.expanded .toggle-icon {
  transform: rotate(45deg);
  color: #941B1E;
}
.article.expanded .toggle-icon:hover {
  color: #20120D;
}

@media (max-width: 768px){
	.hero-text h1{
		font-size: 3rem;
	}
	h2{
		font-size: 1.7rem;
	}
	h3, .toggle-icon{
		font-size: 1.2rem;
	}
	.text.short, .text.full{
		font-size: 0.9rem;
	}
	.hero-section, .padding, .content{
		padding: 4vw;
	}
	.content h3{
		margin-bottom: 4vw;
	}
	.toggle-icon-container{
		margin-top: 4vw;
	}
	.row{
		gap: 4vw;
		grid-template-columns: 1fr;
	}
}
@media (max-width: 426px){
	.hero-text h1{
		font-size: 2rem;
	}
	h2{
		font-size: 1.3rem;
	}
	h3, .toggle-icon{
		font-size: 1rem;
	}
	.text.short, .text.full{
		font-size: 0.8rem;
	}
	.hero-section, .padding{
		padding: 10vw 4vw;
	}
	.contact{
		padding: 4vw;
	}
	.article img{
		height: 40vw;
		width: 100%;
	}
}
@media (max-width: 376px){
	.hero-text h1{
		font-size: 1.8rem;
	}
	h2{
		font-size: 1.2rem;
	}
	h3, .toggle-icon{
		font-size: 0.9rem;
	}
	.text.short, .text.full{
		font-size: 0.7rem;
	}
}
@media (max-width: 320px){
	.hero-text h1{
		font-size: 1.6rem;
	}
	h2{
		font-size: 1rem;
	}
	h3, .toggle-icon{
		font-size: 0.8rem;
	}
}