
/* ========================================
   HOME STYLES PAGE
   Heading → Images → Description
======================================== */

.home-styles-page {
  background: #fff;
  color: #1b2a3a;
}

.home-styles-page *,
.home-styles-page *::before,
.home-styles-page *::after {
  box-sizing: border-box;
}

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

.home-styles-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 76px 24px 48px;
  text-align: center;
}

.home-styles-intro h1 {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  color: #202124;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
}

.home-styles-intro p {
  width: 100%;
  margin: 0;
  color: #707078;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

/* ========================================
   CONTENT WIDTH
======================================== */

.home-styles-list {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 48px;
}

/* ========================================
   PROPERTY STYLE CARD
======================================== */

.home-style-section {
  display: flex;
  flex-direction: column;
  margin: 0 0 42px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(27, 42, 58, 0.055);
  transition:
    box-shadow .25s ease,
    transform .25s ease;
}

.home-style-section:hover {
  box-shadow: 0 10px 30px rgba(27, 42, 58, 0.09);
}

/* ========================================
   PROPERTY TITLE
   Always above the images
======================================== */

.home-style-title {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}

.home-style-title h2 {
  margin: 0;
  color: #1b2a3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-align: left;
}

/* ========================================
   PAIRED PROPERTY PHOTOS
======================================== */

.home-style-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0 0 20px;
}

.home-style-images img {
  display: block;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #f0eee8;
  transition: transform .35s ease;
}

.home-style-images img:hover {
  transform: scale(1.015);
}

/* ========================================
   DESCRIPTION
======================================== */

.home-style-copy {
  width: 100%;
  padding: 0 1px 2px;
}

.home-style-copy p {
  margin: 0 0 12px;
  color: #555b65;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.home-style-copy p:last-child {
  margin-bottom: 0;
}

.home-style-copy .home-style-extra {
  margin-top: 8px;
  color: #15577a;
  font-weight: 600;
}

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

@media (max-width: 800px) {

  .home-styles-intro {
    padding: 58px 22px 36px;
  }

  .home-styles-list {
    width: min(100% - 36px, 720px);
  }

  .home-style-section {
    padding: 22px;
    margin-bottom: 30px;
  }

  .home-style-title h2 {
    font-size: clamp(1.9rem, 4vw, 2.35rem);
  }

  .home-style-images {
    gap: 11px;
  }

}

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

@media (max-width: 560px) {

  .home-styles-intro {
    padding: 42px 18px 30px;
  }

  .home-styles-intro h1 {
    font-size: 2.15rem;
    margin-bottom: 12px;
  }

  .home-styles-intro p {
    font-size: .95rem;
  }

  .home-styles-list {
    width: calc(100% - 28px);
    padding-bottom: 28px;
  }

  .home-style-section {
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .home-style-title {
    margin-bottom: 13px;
  }

  .home-style-title h2 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .home-style-images {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-bottom: 16px;
  }

  .home-style-images img {
    aspect-ratio: 1.45 / 1;
    border-radius: 9px;
  }

  .home-style-copy p {
    font-size: .95rem;
    line-height: 1.7;
  }

}

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

@media (max-width: 360px) {

  .home-styles-list {
    width: calc(100% - 20px);
  }

  .home-style-section {
    padding: 13px;
  }

  .home-style-title h2 {
    font-size: 1.65rem;
  }

  .home-style-images img {
    aspect-ratio: 1.35 / 1;
  }

}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

  .home-style-section,
  .home-style-images img {
    transition: none;
  }

}



 /* Center all home-style titles */
.home-style-title {
  width: 100%;
  text-align: center;
}

.home-style-title h2 {
  text-align: center;
  width: 100%;
}