/* Styles for content-why-us-icons-opoverride.php (Why Us: Icon Repeater). */

.why-us-icon{
  margin-bottom: 15px;
}
.why-us-icon-text p:last-child{
  margin-bottom: 0;
}

/* Icon beside the text */
.why-us-icons-horizontal .why-us-icon-card{
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.why-us-icons-horizontal .why-us-icon{
  flex-shrink: 0;
  margin-bottom: 0;
}


/* =====  Numbered layout: 01, 02 ... with lines between the columns  ======== */

.why-numbered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #c9bfae;
}
.why-numbered-3 {
  grid-template-columns: repeat(3, 1fr);
}
.why-numbered-2 {
  grid-template-columns: repeat(2, 1fr);
}

.why-numbered-item {
  margin-right: 28px;
  padding: 34px 28px 10px 0;
  border-right: 1px solid #c9bfae;
}
.why-numbered-item:last-child {
  margin-right: 0;
  border-right: 0;
}

.why-numbered-number {
  display: block;
  margin-bottom: 18px;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #b45f06;
}
.why-numbered-item h3 {
  margin-bottom: 12px;
  font-size: 28px;
}
.why-numbered-item p {
  margin: 0;
  font-size: 15px;
}


/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .why-numbered,
  .why-numbered-3 {
    grid-template-columns: 1fr 1fr;
  }
  .why-numbered-item:nth-child(2n) {
    margin-right: 0;
    border-right: 0;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .why-numbered,
  .why-numbered-3,
  .why-numbered-2 {
    grid-template-columns: 1fr;
  }
  .why-numbered-item {
    margin-right: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid #c9bfae;
  }
}


/* =====  Timeline layout: under one heavy line, no lines between columns  ======== */

.why-numbered.why-timeline {
  border-top: 2px solid #100f0e;
}
.why-timeline .why-numbered-item {
  margin-right: 0;
  padding: 28px 30px 10px 0;
  border-right: 0;
}
.why-timeline .why-numbered-number {
  margin-bottom: 10px;
  letter-spacing: 0.2em;
}
.why-timeline .why-numbered-item h3 {
  margin-bottom: 10px;
}

.why-numbered-foot {
  margin: 40px 0 0;
  text-align: right;
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .why-timeline .why-numbered-item {
    border-bottom: 0;
  }
}


/* =====  Numbered layout on a dark background  ======== */

.section-text-light .why-numbered {
  border-color: #2e2b27;
}
.section-text-light .why-numbered-item {
  padding: 34px 30px 6px 0;
  margin-right: 30px;
  border-color: #2e2b27;
}
.section-text-light .why-numbered-item:last-child {
  margin-right: 0;
}
.section-text-light .why-numbered-number {
  margin-bottom: 16px;
  text-transform: uppercase;
  color: #e3893a;
}
.section-text-light .why-numbered-item h3 {
  font-size: 30px;
  color: #f2eee6;
}
.section-text-light .why-numbered-item p {
  font-size: 15.5px;
  color: rgba(242, 238, 230, 0.74);
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .section-text-light .why-numbered-3 {
    grid-template-columns: 1fr;
  }
  .section-text-light .why-numbered-item {
    margin-right: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid #2e2b27;
  }
}
