/* Arco — home page sections. */
.arco-home { padding-top: 30px; }

/* Hero */
.arco-hero { position: relative; }
.arco-hero__slides { position: relative; height: 493px; border-radius: 20px; overflow: hidden; background: #222; }
.arco-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.arco-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.arco-hero__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.arco-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 55%); }
.arco-hero__text { position: absolute; left: 40px; bottom: 36px; z-index: 1; max-width: 60%; color: #fff; }
.arco-hero__title { margin: 0 0 8px; font-size: 36px; font-weight: 600; line-height: 1.15; color: #fff; }
.arco-hero__sub { margin: 0 0 16px; font-size: 16px; color: #fff; }

/* Search card */
.arco-search {
  position: absolute; top: 22px; right: 78px; z-index: 2;
  width: 410px; padding: 22px 24px 24px;
  background: #fff; border-radius: 16px; box-sizing: border-box;
}
.arco-search__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.arco-search__title { margin: 0; font-size: 18px; font-weight: 600; color: #1a1a1a; }
.arco-search__all { font-size: 11px; color: #2a7ab8; text-decoration: underline; }
.arco-search__field { display: block; margin-bottom: 10px; padding: 8px 12px 6px; border-bottom: 1px solid #e6e6e6; }
.arco-search__field span { display: block; font-size: 11px; font-weight: 600; color: #1a1a1a; }
.arco-search__field select { width: 100%; padding: 6px 0; border: 0; background-color: transparent; font: inherit; font-size: 12px; color: #777; }
.arco-search__submit {
  width: 100%; margin-top: 8px; padding: 8px 0;
  border: 2px solid var(--rh-global-color-primary); border-radius: 8px;
  background: #fff; color: var(--rh-global-color-primary);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.arco-search__submit:hover { background: var(--rh-global-color-primary); color: #fff; }

/* Intro */
.arco-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.arco-intro__text { padding: 12px 16px 0; font-size: 14px; line-height: 1.6; color: #1a1a1a; }
.arco-intro__title { margin: 0 0 14px; font-size: 30px; font-weight: 700; line-height: 1.2; color: #000; }
.arco-intro__image { width: 100%; height: auto; border-radius: 16px; display: block; }

/* Properties by status */
.arco-home-properties { padding-bottom: 60px; }
.arco-tabs { text-align: center; margin-bottom: 44px; }
.arco-tabs__label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 700; color: #1a1a1a; }
.arco-tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 12px; background: #f5f5f5; }
.arco-tabs__tab { padding: 9px 14px; border: 1px solid transparent; border-radius: 8px; background: #fff; font: inherit; font-size: 12px; color: #333; cursor: pointer; }
.arco-tabs__tab.is-active { border-color: var(--rh-global-color-primary); color: var(--rh-global-color-primary); }
.arco-tabs__panel { display: none; }
.arco-tabs__panel.is-active { display: grid; }

/* Page content between the properties and the news */
.arco-home__content { padding-top: 10px; padding-bottom: 30px; border-top: 1px solid #eee; }

/* Casco Life */
.arco-news { background: #f5f5f5; padding: 50px 0 60px; margin: 0 40px; }
.arco-news__title { margin: 0 0 6px; text-align: center; font-size: 22px; font-weight: 700; color: #000; }
.arco-news__text { margin: 0 0 30px; text-align: center; font-size: 18px; color: #1a1a1a; }
.arco-news .arco-card-grid { max-width: 1200px; margin: 0 auto; }
.arco-post-card { background: #fff; border-radius: 14px; padding: 20px 20px 24px; }
.arco-post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #eee; }
.arco-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arco-post-card__title { margin: 16px 0 6px; font-size: 14px; font-weight: 500; line-height: 1.35; }
.arco-post-card__title a { color: #1a1a1a; text-decoration: none; }
.arco-post-card__excerpt { margin: 0 0 16px; font-size: 12px; line-height: 1.5; color: #333; }

@media (max-width: 1100px) {
  .arco-search { position: static; width: auto; margin-top: 16px; border: 1px solid #eee; }
  .arco-intro { grid-template-columns: 1fr; padding-bottom: 40px; }
  .arco-news { margin: 0; }
}
@media (max-width: 767px) {
  .arco-hero__slides { height: 360px; }
  .arco-hero__title { font-size: 26px; }
  .arco-hero__text { left: 20px; right: 20px; max-width: none; }
}

/* The intro's "More about us" link is an outline button on production. */
.arco-intro__text a.more-details {
  display: inline-block; padding: 7px 12px;
  border: 1px solid var(--rh-global-color-primary); border-radius: 6px;
  color: var(--rh-global-color-primary); font-size: 12px; font-weight: 600; text-decoration: none;
}
.arco-intro__text a.more-details:hover { background: var(--rh-global-color-primary); color: #fff; }

/* Phones: production shows the search card first and no hero photo. */
@media (max-width: 767px) {
  .arco-home .arco-hero__slides { display: none; }
  .arco-home .arco-search { margin-top: 0; border: 0; padding: 12px 8px 20px; }
  .arco-intro { padding-top: 10px; }
}

/*
 * Spacing matched to production, section by section, from measurements taken
 * on 2026-11-18 at 1440px (tools: a headless-browser measurement of each
 * section's position on both sites).
 */
@media (min-width: 1101px) {
  .arco-search { top: 20px; right: 26px; padding: 20px 24px 24px; min-height: 440px; }
  .arco-intro { column-gap: 31px; padding: 40px 15px 40px; margin-bottom: 80px; }
  .arco-intro__text { padding: 0; }
  .arco-intro__title { margin: 10px 0; font-size: 32px; line-height: 40px; }
  .arco-intro__image { height: 390px; object-fit: cover; }
  .arco-tabs { margin: 30px 0 14px; padding-bottom: 34px; }
  .arco-home-properties { padding-bottom: 72px; }
  .arco-home-properties .arco-section-title { margin: 10px 0; line-height: 40px; }
  .arco-home-properties .arco-section-text { margin: 0 0 30px; line-height: 20px; }
  .arco-home-properties .arco-card-grid { padding: 0 15px; gap: 30px; }
  .arco-home-properties .arco-card__media { aspect-ratio: 1 / 1; }
  .arco-home-properties .arco-card__title { margin: 10px 0 15px; font-size: 18px; font-weight: 400; line-height: 20px; }
  .arco-home-properties .arco-card__excerpt { margin: 0 0 10px; font-size: 13px; line-height: 19.5px; }
  .arco-home-properties .arco-card { min-height: 473px; }
  .arco-news { width: min(1368px, 100% - 40px); margin: 0 auto; padding: 140px 0 30px; }
  .arco-news .arco-card-grid { max-width: 1201px; gap: 31px; }
  .arco-news__title { line-height: 26px; }
  .arco-news__text { margin-bottom: 43px; line-height: 22px; }
  .arco-post-card { min-height: 444px; box-sizing: border-box; padding: 20px; }
}
.arco-prefooter { padding-top: 60px; }
@media (min-width: 1101px) {
  .arco-home-properties { padding-top: 35px; }
  .arco-home-properties .arco-card { min-height: 473px; margin-bottom: 30px; }
  .arco-home__content { padding-top: 0; padding-bottom: 0; border-top: 0; }
  .arco-news { padding-top: 47px; }
}
@media (min-width: 1101px) {
  .arco-home-properties { padding-top: 5px; padding-bottom: 49px; }
  .arco-news { padding-top: 97px; padding-bottom: 64px; }
}
.home .arco-prefooter { margin-top: 60px; padding-bottom: 27px; }
