/*
 * Style commun aux pages Domaine du registre central Caudalies.
 * Les pages hors registre ne chargent pas cette feuille.
 */

.cc-domain-page {
  --cc-domain-ink: #171715;
  --cc-domain-line: #a9a59f;
  --cc-domain-bronze: #72572f;
  --cc-domain-bronze-ui: #a58a5c;
}

.cc-domain-page .cc-domain-draft {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding: 70px 0 80px;
}

.cc-domain-page .cc-domain-draft__title {
  margin: 0 0 58px;
  font-family: inherit !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.cc-domain-page .cc-domain-draft__grid {
  display: grid;
  width: calc(100% - 16px);
  margin-inline: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cc-domain-page .cc-domain-draft__card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cc-domain-line);
  border-radius: 4px;
  padding: 8px;
  background: #fff;
  box-shadow: none;
  flex-direction: column;
  transition: border-color .3s ease, background-color .3s ease;
}

.cc-domain-page .cc-domain-draft__card:hover,
.cc-domain-page .cc-domain-draft__card:focus-within {
  border-color: var(--cc-domain-bronze-ui);
}

.cc-domain-page .cc-domain-draft__card:hover {
  background-color: rgba(0, 0, 0, .05);
}

.cc-domain-page .cc-domain-draft__image {
  display: block;
  width: 100%;
  overflow: hidden;
  height: 340px;
  aspect-ratio: auto;
  background: #f1ede6;
}

.cc-domain-page .cc-domain-draft__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cc-domain-page .cc-domain-draft__body {
  display: flex;
  min-height: 126px;
  padding: 16px;
  flex: 1;
  flex-direction: column;
}

.cc-domain-page .cc-domain-draft__card-title {
  min-height: 2.9em;
  margin: 0 0 10px;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.cc-domain-page .cc-domain-draft__card-title a {
  color: var(--cc-domain-ink);
  text-decoration: none;
}

.cc-domain-page .cc-domain-draft__card-title a:hover,
.cc-domain-page .cc-domain-draft__card-title a:focus-visible {
  color: var(--cc-domain-bronze-ui);
}

.cc-domain-page .cc-domain-draft__price {
  margin: auto 0 0;
  color: var(--cc-domain-bronze);
  font-family: inherit !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}

.cc-domain-page .cc-domain-draft__contact {
  margin-top: 50px;
  padding-top: 40px;
  font-size: 16px;
}

.cc-domain-page .cc-domain-draft__contact p { margin: 0 0 8px; }

.cc-domain-page .cc-domain-draft__contact a {
  color: var(--cc-domain-ink);
  text-decoration: underline;
  text-decoration-color: rgba(165, 138, 92, .55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cc-domain-page .cc-domain-draft__contact a:hover,
.cc-domain-page .cc-domain-draft__contact a:focus-visible {
  color: var(--cc-domain-bronze-ui);
  text-decoration-color: currentColor;
}

.cc-domain-page .cc-domain-draft__notice {
  padding: 24px 0;
  color: var(--cc-domain-ink);
  font-size: 16px;
}

.cc-domain-page .elementor-element-a7c988a .elementor-heading-title {
  margin: 0;
  font-family: inherit !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.cc-domain-page .elementor-widget-post-widget .elementor-grid {
  align-items: stretch;
}

.cc-domain-page .elementor-widget-post-widget .post-wrapper {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cc-domain-line) !important;
  border-radius: 4px !important;
  background: #fff;
  box-shadow: none !important;
  flex-direction: column;
  transition: border-color .3s ease, background-color .3s ease;
}

.cc-domain-page .elementor-widget-post-widget .post-wrapper:hover,
.cc-domain-page .elementor-widget-post-widget .post-wrapper:focus-within {
  border-color: var(--cc-domain-bronze-ui) !important;
}

.cc-domain-page .elementor-widget-post-widget .post-wrapper:hover {
  background-color: rgba(0, 0, 0, .05);
}

.cc-domain-page .elementor-widget-post-widget .post-image {
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1ede6;
}

.cc-domain-page .elementor-widget-post-widget .post-image img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.cc-domain-page .elementor-widget-post-widget .inner-content {
  display: flex;
  min-height: 126px;
  padding: 16px !important;
  align-items: stretch !important;
  flex: 1;
  flex-direction: column;
}

.cc-domain-page .elementor-widget-post-widget .post-title {
  min-height: 2.9em;
  margin: 0 0 10px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.cc-domain-page .elementor-widget-post-widget .post-title a {
  color: var(--cc-domain-ink);
  text-decoration: none;
}

.cc-domain-page .elementor-widget-post-widget .post-title a:hover,
.cc-domain-page .elementor-widget-post-widget .post-title a:focus-visible {
  color: var(--cc-domain-bronze-ui);
}

.cc-domain-page .elementor-widget-post-widget.elementor-element-5f7a788 .post-custom-field,
.cc-domain-page .elementor-element-5f7a788 .post-custom-field.elementor-repeater-item-db7bc54 {
  width: 100%;
  margin: auto 0 0 !important;
  color: var(--cc-domain-bronze) !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.cc-domain-page .elementor-element-5f7a788 .post-custom-field .pseudo,
.cc-domain-page .elementor-widget-post-widget .post-custom-field::before,
.cc-domain-page .elementor-widget-post-widget .post-custom-field::after {
  color: inherit !important;
  font-size: inherit !important;
}

.cc-domain-page .elementor-widget-post-widget .pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.cc-domain-page .elementor-widget-post-widget .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 9px;
  border: 0 !important;
  border-radius: 50%;
  background: transparent;
  color: var(--cc-domain-ink);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.cc-domain-page .elementor-widget-post-widget .pagination .page-numbers.current {
  background: var(--cc-domain-bronze-ui);
  color: #fff;
}

.cc-domain-page .elementor-widget-post-widget .pagination a.page-numbers:hover,
.cc-domain-page .elementor-widget-post-widget .pagination a.page-numbers:focus-visible {
  color: var(--cc-domain-bronze);
}

.cc-domain-page .elementor-widget-post-widget .pagination a.page-numbers:focus-visible,
.cc-domain-page .elementor-element-8a0ebda a:focus-visible {
  outline: 1px solid var(--cc-domain-bronze-ui);
  outline-offset: 2px;
}

.cc-domain-page .elementor-element-5794214 > .e-con-inner {
  width: min(100% - 40px, 1140px);
  max-width: 1140px;
  margin-inline: auto;
}

.cc-domain-page .elementor-element-8a0ebda a {
  color: var(--cc-domain-ink);
  text-decoration: underline;
  text-decoration-color: rgba(165, 138, 92, .55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cc-domain-page .elementor-element-8a0ebda a:hover,
.cc-domain-page .elementor-element-8a0ebda a:focus-visible {
  color: var(--cc-domain-bronze-ui);
  text-decoration-color: currentColor;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cc-domain-page .elementor-widget-post-widget .elementor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cc-domain-page .cc-domain-draft__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cc-domain-page .elementor-element-a7c988a .elementor-heading-title {
    font-size: 36px !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em;
  }

  .cc-domain-page .elementor-widget-post-widget .elementor-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cc-domain-page .elementor-widget-post-widget .post-image {
    height: auto !important;
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .cc-domain-page .elementor-widget-post-widget .inner-content {
    min-height: 120px;
    padding: 15px !important;
  }

  .cc-domain-page .elementor-widget-post-widget .post-title {
    min-height: 0;
  }

  .cc-domain-page .elementor-element-5794214 > .e-con-inner {
    width: min(100% - 40px, 1140px);
  }

  .cc-domain-page .cc-domain-draft {
    width: calc(100% - 20px);
    padding: 70px 0 60px;
  }

  .cc-domain-page .cc-domain-draft__title {
    margin-bottom: 58px;
    font-size: 36px !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em;
  }

  .cc-domain-page .cc-domain-draft__grid {
    width: calc(100% + 4px);
    margin-inline: -2px;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .cc-domain-page .cc-domain-draft__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cc-domain-page .cc-domain-draft__body {
    min-height: 120px;
    padding: 15px;
  }

  .cc-domain-page .cc-domain-draft__card-title {
    min-height: 0;
  }
}
