/* Base Layout Classes */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.block {
  display: block;
}

.z-10 {
  z-index: 10;
}

/* Inset */
.inset-0 {
  inset: 0px;
}

/* Width & Height */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Padding */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.p-9 {
  padding: 2.25rem;
}

/* Content Wrapper */
.content {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Display */
.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* SIMPLE CUSTOM GRID CLASS - 2 COLUMNS SIDE BY SIDE */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Flexbox */
.flex-col {
  flex-direction: column;
}

.justify-end {
  justify-content: flex-end;
}

/* Gap */
.gap-5 {
  gap: 1.25rem;
}

/* Spacing */
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Border Radius */
.rounded-xl {
  border-radius: 0.75rem;
}

/* Object Fit */
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}

/* Background Gradient */
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black {
  --tw-gradient-from: #000 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.from-0\% {
  --tw-gradient-from-position: 0%;
}

.to-\[80\%\] {
  --tw-gradient-to-position: 80%;
}

/* Text Color */
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Custom Transition */
.easy {
  transition-property: all;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Zoom Effect */
.group:hover .hover-zoom {
  transform: scale(1.05);
}

.hover-zoom {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h2 {
  font-family: Bembo MT Pro, serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(15 44 27 / var(--tw-text-opacity, 1));
}

@media (min-width: 1024px) {
  h2 {
    font-size: 45px;
    line-height: 1.25;
  }
}

p {
  font-family: Avenir LT Std, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(15 44 27 / var(--tw-text-opacity, 1));
}

@media (min-width: 1024px) {
  p {
    font-size: 18px;
    line-height: 1.4;
  }
}

/* Override text color for cards */
.text-white h2,
.text-white p {
  color: rgb(255 255 255) !important;
}

/* Custom card - LONG AND WIDE */
.large-card {
  display: block;
  height: 800px;
  width: 100%;
}

/* Even BIGGER on large screens */
@media (min-width: 1280px) {
  .large-card {
    height: 900px;
  }
}
