/* Sector layout only. All fonts, colours and controls inherit the existing ITPC system. */
.option-two.sector-layout .shell {
  position: relative;
}
.option-two.sector-layout #main {
  padding: 0;
  max-width: none;
}
.option-two.sector-layout:not(.figma-final) .shell > header {
  position: absolute;
  inset: 0 0 auto;
  height: 92px;
  z-index: 10;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.sector-layout header .headtitle {
  color: #fff;
}
.sector-layout .actions {
  margin-left: auto;
}
.option-two.sector-layout:not(.figma-final) #download,
.option-two.sector-layout:not(.figma-final) .flag-language > summary {
  color: #fff;
  border-color: #fff7;
  background: transparent;
}
.option-two.sector-layout:not(.figma-final) #download:hover {
  color: var(--navy);
  background: #fff;
}
.option-two.sector-layout:not(.figma-final) #mobile {
  color: #fff;
}
.sector-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  background: var(--navy);
  color: #fff;
  padding: 122px 48px 76px;
}
.sector-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sector-image) center right/cover no-repeat;
}
.sector-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(21, 15, 61, 0.98),
      rgba(21, 15, 61, 0.86) 38%,
      rgba(21, 15, 61, 0.25) 78%
    ),
    linear-gradient(0deg, rgba(21, 15, 61, 0.75), transparent 55%);
}
.sector-hero-copy {
  max-width: 660px;
}
.sector-breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 46px;
  font-size: 0.75rem;
  color: #fffb;
}
.sector-breadcrumb a:hover {
  color: var(--orange);
}
.sector-hero .kicker {
  color: #fff;
  font-size: 0.6875rem;
}
.sector-hero .kicker:before {
  color: var(--orange);
  background: var(--orange);
}
.option-two .sector-hero h1 {
  font-size: clamp(2.875rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 20px 0 26px;
  max-width: 630px;
  color: #fff;
}
.sector-hero h1 em,
.sector-direction h2 em,
.sector-directory-heading h2 em {
  font-style: normal;
  color: var(--orange);
}
.option-two .sector-hero h1.long-sector-title {
  font-size: clamp(2.5rem, 4vw, 3.625rem);
}
.sector-intro {
  font-size: 1.125rem;
  line-height: 1.85;
  max-width: 590px;
  color: #fffe;
  margin: 0 0 28px;
}
.sector-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sector-hero-actions :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 0.9375rem;
}
.sector-copy-link {
  border: 1px solid #fff7;
  color: #fff;
  background: transparent;
}
.sector-copy-link:hover {
  background: #fff;
  color: var(--navy);
}
.sector-direction {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 85px 48px;
  border-bottom: 1px solid var(--line);
}
.option-two .sector-direction h2,
.option-two .sector-directory-heading h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.125rem);
  line-height: 1.15;
  margin: 12px 0 24px;
}
.sector-direction-copy > p:not(.kicker) {
  font-size: 1.125rem;
  line-height: 1.9;
  margin: 0 0 28px;
}
.sector-direction-copy .outline-button {
  border-radius: 6px;
  font-size: 0.9375rem;
}
.sector-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.sector-highlight {
  background: rgba(21, 15, 61, 0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.sector-highlight > .ui-icon,
.sector-project-total > .ui-icon {
  width: 23px;
  height: 23px;
  color: var(--orange);
  margin-bottom: 8px;
}
.sector-highlight b {
  font-size: clamp(1.4375rem, 2.4vw, 2.125rem);
  line-height: 1.25;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.sector-highlight > span {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(21, 15, 61, 0.76);
}
.sector-feature-photo {
  position: relative;
  min-height: 280px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
}
.sector-feature-photo > img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.sector-project-total {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 49%;
  background: #fff;
  border-radius: 0 10px 0 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
}
.sector-project-total b {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
}
.sector-project-total > span {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.sector-data-source {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(21, 15, 61, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sector-project-directory {
  padding: 70px 48px 85px;
}
.sector-directory-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}
.sector-directory-heading > p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin: 0;
  max-width: 470px;
}
.sector-project-search {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: 460px;
  padding: 10px 16px;
}
.sector-project-search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  min-height: 30px;
  font:
    1rem 'Be Vietnam Pro',
    sans-serif;
  color: var(--navy);
}
.sector-result-count {
  font-size: 0.8125rem;
  color: rgba(21, 15, 61, 0.7);
  margin: 16px 0;
}
.sector-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sector-project-grid .investment-row {
  min-width: 0;
}
.sector-project-grid .portfolio-empty {
  grid-column: 1/-1;
}
@media (min-width: 1600px) {
  .sector-hero {
    padding-left: 70px;
    padding-right: 70px;
    min-height: 680px;
  }
  .sector-direction,
  .sector-project-directory {
    padding-left: 70px;
    padding-right: 70px;
  }
}
@media (max-width: 1250px) {
  .sector-direction {
    gap: 30px;
  }
  .sector-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sector-hero-copy {
    max-width: 600px;
  }
}
@media (max-width: 1000px) {
  .sector-direction {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sector-visual {
    max-width: 650px;
  }
  .sector-directory-heading {
    gap: 24px;
  }
  .sector-hero:after {
    background: linear-gradient(
      90deg,
      rgba(21, 15, 61, 0.97),
      rgba(21, 15, 61, 0.8) 55%,
      rgba(21, 15, 61, 0.35)
    );
  }
}
@media (max-width: 760px) {
  .option-two.sector-layout:not(.figma-final) .shell > header {
    height: 82px;
    padding: 14px 20px;
  }
  .sector-layout header .headtitle {
    display: none;
  }
  .sector-hero {
    padding: 104px 24px 55px;
    min-height: 610px;
  }
  .sector-breadcrumb {
    margin-bottom: 32px;
  }
  .option-two .sector-hero h1,
  .option-two .sector-hero h1.long-sector-title {
    font-size: 2.875rem;
  }
  .sector-intro {
    font-size: 1.0625rem;
    line-height: 1.85;
  }
  .sector-hero-actions {
    gap: 10px;
  }
  .sector-hero-actions :is(a, button) {
    font-size: 0.875rem;
    padding: 0 15px;
  }
  .sector-direction,
  .sector-project-directory {
    padding: 48px 24px;
  }
  .sector-direction-copy > p:not(.kicker) {
    font-size: 1.0625rem;
  }
  .sector-highlight {
    padding: 16px;
    gap: 10px;
  }
  .sector-highlight b {
    font-size: 1.5625rem;
  }
  .sector-feature-photo > img {
    height: 275px;
  }
  .sector-project-total {
    padding: 16px;
  }
  .sector-directory-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sector-directory-heading > p {
    font-size: 1.0625rem;
    margin-bottom: 24px;
  }
  .sector-project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

body.luxury-site.option-two.sector-layout:not(.figma-final) .actions #download {
  --button-ink: #fff;
  color: #fff;
  border-color: #fff7;
  background-color: transparent;
  background-image: linear-gradient(#fff, #fff);
  background-size: 0% 100%;
}
body.luxury-site.option-two.sector-layout:not(.figma-final)
  .actions
  #download:hover:not(:disabled) {
  color: var(--navy);
  border-color: #fff;
  background-size: 100% 100%;
}

@media (max-width: 760px) {
  .option-two.sector-layout:not(.figma-final) .shell > header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
  }
  .option-two.sector-layout:not(.figma-final) .shell > header .actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    flex: 1;
    gap: 6px;
    margin: 0;
  }
  .option-two.sector-layout:not(.figma-final) .actions .darkbtn,
  .option-two.sector-layout:not(.figma-final) .actions #download {
    font-size: 0.75rem;
    padding: 0 9px;
    min-height: 48px;
    height: 48px;
    gap: 6px;
    white-space: nowrap;
  }
  .option-two.sector-layout:not(.figma-final) .actions .ui-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .option-two.sector-layout:not(.figma-final) #mobile {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    padding: 0;
  }
}
@media (max-width: 360px) {
  .option-two.sector-layout:not(.figma-final) .actions #download > span:not(.ui-icon) {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
  .option-two.sector-layout:not(.figma-final) .actions #download {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }
  .option-two.sector-layout:not(.figma-final) .shell > header .actions {
    gap: 5px;
  }
}

/* Sector overview links fill their content column on mobile only. */
@media (max-width: 760px) {
  body.figma-final.category-page .category-hero-actions > .darkbtn,
  body.figma-final.category-page .category-outlook-copy > .outline-button {
    display: flex;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  body.figma-final.category-page .category-hero-actions {
    width: 100%;
    min-width: 0;
  }
  body.figma-final.category-page .category-hero-actions > .darkbtn {
    justify-self: stretch;
  }
}
