/* Editorial homepage, following the supplied warm, photographic reference. */
html { scroll-padding-top: 1.5rem; }
::selection { background: #d9e5d9; color: #10242e; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
a { text-underline-offset: .2em; }
input, textarea { caret-color: var(--color-primary); }
.site-header { position: relative; z-index: 5; background: #fdfcf9; border: 0; }
.site-header__inner { min-height: 4.5rem; }
.site-nav { gap: 1.5rem; }
.site-nav__link { font-size: .875rem; }
.site-nav__dropdown { position: relative; }
.site-nav__dropdown summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; }
.site-nav__dropdown summary::-webkit-details-marker { display: none; }
.site-nav__dropdown summary::after { content: ''; width: .35rem; height: .35rem; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-top: -.2rem; }
.site-nav__dropdown[open] summary::after { transform: rotate(225deg); margin-top: .2rem; }
.site-nav__menu { position: absolute; inset-block-start: 100%; inset-inline-start: -.75rem; min-width: 17rem; padding: .65rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: .4rem; }
.site-nav__menu a { display: block; padding: .55rem .75rem; color: var(--color-text); text-decoration: none; font-size: .875rem; }
.site-nav__menu a:hover { background: var(--color-primary-soft); }
.locale-switcher__select { border: 0; background: transparent; padding-inline: .25rem; }
.home-page .container { max-width: 74rem; padding-inline: 2rem; }
.home-page .section { padding-block: 1.2rem; }
.home-page h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; text-wrap: balance; }
.home-page .eyebrow { font-size: 0.8rem; letter-spacing: .11em; font-weight: 500; margin-bottom: .6rem; }
.home-page .section__head { align-items: center; margin-bottom: 1.5rem; }
.home-page .section__more { font-weight: 400; font-size: .85rem; color: var(--color-primary-dark); }
.home-hero { position: relative; overflow: hidden; padding-block: 3.2rem; background: #f2eee6; }
.home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f3ed 0%, rgba(246,243,237,.97) 26%, rgba(246,243,237,.8) 44%, rgba(246,243,237,0) 65%); }
.home-hero .hero__inner { position: relative; z-index: 1; display: block; }
.home-hero .hero__copy { max-width: min(34rem, 49%); }
.home-hero .hero__title { font-size: clamp(2.9rem, 4.7vw, 4rem); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; margin-bottom: 1rem; }
.home-hero .hero__subtitle { max-width: 30rem; color: var(--color-text); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.home-hero .search-form { max-width: 33rem; gap: .6rem; }
.home-hero .search-form__input { padding: .75rem 1rem; font-size: .9rem; box-shadow: none; }
.home-hero .search-form__button { padding-inline: 1.6rem; }
.home-hero .hero__topics { font-size: .8rem; margin-top: 1rem; }
.home-hero .hero__topics a { color: #47574c; }
.home-stats { padding-block: 1.3rem; }
.home-stats__inner { display: flex; align-items: start; gap: 1rem; background: #f0f2eb; padding: 1.7rem 1.5rem; border-radius: .5rem; }
.home-stat { flex: 1; display: flex; align-items: start; gap: .85rem; min-width: 0; }
.home-stat svg { flex: none; width: 2rem; height: 2rem; color: var(--color-primary); margin-top: .15rem; }
.home-stat__amount { display: block; font-size: 1.6rem; line-height: 1.2; font-variant-numeric: tabular-nums; margin-bottom: .4rem; white-space: nowrap; }
.home-stat p { font-size: 0.8rem; margin: 0 0 .2rem; color: #4d5960; }
.home-stat small { display: block; font-size: 0.8rem; line-height: 1.6; color: #647076; }
.home-stats__source { flex: 0 0 8rem; align-self: center; border-inline-start: 1px solid #d9ded5; padding-inline-start: 1rem; font-size: 0.8rem; line-height: 1.5; }
.home-stats__source p { margin: 0 0 .65rem; }
.home-stats__source a { text-decoration: none; color: var(--color-primary-dark); }
.topic-card__image { width: 100%; aspect-ratio: 119 / 100; object-fit: cover; display: block; margin-bottom: 1rem; }
.home-topics .topic-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.home-topics .topic-card { border: 0; border-radius: .35rem; padding-bottom: 1rem; }
.home-topics .topic-card__name, .home-topics .topic-card__intro, .topic-card__more { padding-inline: .9rem; }
.home-topics .topic-card__name { font-size: 1.1rem; letter-spacing: -.025em; margin-bottom: .4rem; }
.home-topics .topic-card__intro { font-size: .8rem; line-height: 1.5; }
.topic-card__more { font-size: 0.8rem; color: var(--color-primary-dark); display: block; margin-top: auto; }
.topic-card__more span { margin-inline-start: .35rem; }
.home-reading__inner { display: grid; grid-template-columns: 3fr 2fr; gap: 2.6rem; align-items: center; }
.home-feature { position: relative; min-height: 27rem; border-radius: .4rem; overflow: hidden; display: flex; align-items: end; padding: 1.5rem; }
.home-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-feature__copy { position: relative; max-width: 24rem; padding: 1.4rem 1.5rem; background: #fcfbf7; border-radius: .35rem; }
.home-feature__label { display: inline-block; background: var(--color-primary); color: white; border-radius: .2rem; font-size: 0.8rem; padding: .15rem .45rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem; }
.home-feature h2 { font-size: 2rem; line-height: 1.08; margin-bottom: .6rem; text-wrap: initial; }
.home-feature h2 a { color: inherit; text-decoration: none; }
.home-feature p { font-size: .9rem; line-height: 1.5; color: var(--color-text-muted); margin-bottom: .8rem; }
.home-text-link { font-size: .8rem; color: var(--color-primary-dark); text-decoration: none; }
.home-popular { padding: 0; margin: 0; list-style: none; }
.home-popular li { display: flex; align-items: start; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--color-border); }
.home-popular li:last-child { border-bottom: 0; }
.home-popular__number { flex: none; font-size: 1.25rem; color: #657077; min-width: 2.4rem; padding: .35rem; background: #f4f3ef; text-align: center; border-radius: .25rem; }
.home-popular a { color: inherit; text-decoration: none; }
.home-popular strong { display: block; font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; letter-spacing: -.025em; margin-bottom: .3rem; }
.home-popular a > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; line-height: 1.4; color: var(--color-text-muted); }
.home-tools__inner { padding: 1.8rem; background: #edf2e9; border-radius: .45rem; }
.home-tools .section__head { margin-bottom: .35rem; }
.home-tools__intro { max-width: 34rem; color: var(--color-text-muted); font-size: .95rem; line-height: 1.5; margin-bottom: 1.3rem; }
.home-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.home-tool { display: flex; flex-direction: column; padding: 1.3rem; border-radius: .35rem; background: white; color: inherit; text-decoration: none; }
.home-tool h3 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.025em; margin-bottom: .55rem; }
.home-tool p { color: var(--color-text-muted); font-size: .85rem; line-height: 1.5; margin-bottom: .8rem; }
.home-tool__cta { margin-top: auto; font-size: .8rem; display: flex; align-items: center; justify-content: space-between; color: var(--color-primary-dark); }
.home-tool__cta > span { display: grid; place-items: center; background: #e2eadd; border-radius: 50%; width: 1.9rem; height: 1.9rem; font-size: 1rem; }
.home-tool__cta svg { display: block; width: 1rem; height: 1rem; }
[dir=rtl] .home-tool__cta svg { transform: scaleX(-1); }
.home-tool:hover h3, .home-feature a:hover, .home-popular a:hover strong { color: var(--color-primary); }
.home-figures__inner { display: grid; grid-template-columns: 5fr 6fr; gap: 2rem; align-items: center; padding: 1.6rem 1.8rem; background: #f3f1ec; border-radius: .4rem; }
.home-figures__copy h2 { font-size: 2rem; margin-bottom: .7rem; }
.home-figures__copy > p { color: var(--color-text-muted); font-size: .9rem; line-height: 1.5; }
.home-figures__sources { display: inline-flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 0 1.5rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem !important; }
.home-figures__sources a { color: #14394e; text-decoration: none; }
.home-chart { margin: 0; padding: 1.4rem; background: white; border-radius: .45rem; min-width: 0; }
.home-chart h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.home-chart figcaption p { font-size: .8rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.home-chart__bars { display: flex; gap: 1.2rem; align-items: end; }
.home-chart__column { flex: 1; min-width: 0; text-align: center; }
.home-chart__plot { height: 7rem; display: flex; align-items: end; border-bottom: 1px solid var(--color-border); }
.home-chart__bar { width: 100%; height: var(--bar-height); min-height: 2px; position: relative; border-radius: .25rem .25rem 0 0; background: #b8d0b7; }
.home-chart__column:first-child .home-chart__bar { background: var(--color-primary); }
.home-chart__value { position: absolute; bottom: calc(100% + .3rem); inset-inline: 0; font-size: 0.8rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-chart__label { display: block; font-size: 0.8rem; line-height: 1.2; margin-top: .55rem; overflow-wrap: anywhere; }
.home-chart__source { margin: 1rem 0 0; font-size: 0.8rem; color: var(--color-text-muted); }
.home-trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.home-trust__information { padding: 2rem; background: #f1f0eb; border-radius: .35rem; }
.home-trust h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.home-trust p { font-size: .85rem; line-height: 1.5; max-width: 29rem; color: var(--color-text-muted); }
.home-trust__about { position: relative; overflow: hidden; border-radius: .35rem; background: #15372a; color: white; padding: 2rem; }
.home-trust__about > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 85% 35%; }
.home-trust__about::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,36,29,.96), rgba(14,36,29,.8) 50%, rgba(14,36,29,.25)); }
.home-trust__about > div { position: relative; z-index: 1; }
.home-trust__brand { display: block; font-family: var(--font-serif); font-size: 1rem; margin-bottom: .4rem; }
.home-trust__about h2 { max-width: 15rem; }
.home-trust__about p { color: #f0f3ed; max-width: 20rem; }
.home-trust__about .button { background: white; color: var(--color-primary-dark); font-size: 0.8rem; padding: .5rem 1rem; }
.home-page #calculator { margin-top: 1.5rem; padding-block: 2.5rem; scroll-margin-top: 1rem; }
[dir=rtl] .home-hero::after { background: linear-gradient(270deg, #f6f3ed 0%, rgba(246,243,237,.97) 26%, rgba(246,243,237,.8) 44%, rgba(246,243,237,0) 65%); }
@media (min-width: 52rem) {
  .site-header[data-enhanced] .site-nav { display: flex; }
  .site-header[data-enhanced] .nav-toggle { display: none; }
}
@media (min-width: 48rem) and (max-width: 63.999rem) {
  .home-stat { gap: .6rem; }
  .home-stat svg { width: 1.6rem; height: 1.6rem; }
  .home-stat__amount { font-size: 1.35rem; }
  .home-stat p { font-size: 0.8rem; }
  .home-stat small { font-size: 0.8rem; }
}
@media (max-width: 47.999rem) {
  .home-page .container { padding-inline: 1.5rem; }
  .site-nav__menu { position: static; margin-bottom: .5rem; min-width: 0; }
  .home-topics .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stats__inner { flex-wrap: wrap; }
  .home-stat { flex: 1 1 calc(50% - 1.5rem); }
  .home-stats__source { flex: 1 1 100%; border-inline-start: 0; border-top: 1px solid #d9ded5; padding: 1rem 0 0; }
  .home-stats__source p { display: inline; margin-inline-end: 1rem; }
  .home-reading__inner { gap: 1.5rem; }
  .home-feature { min-height: 29rem; padding: 1rem; }
  .home-feature__copy { padding: 1.2rem; }
  .home-feature h2 { font-size: 1.7rem; }
  .home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero .hero__copy { max-width: 34rem; }
  .home-figures__sources { margin-inline-start: 0; display: flex; }
}
@media (max-width: 39.999rem) {
  .home-page .container { padding-inline: 1.1rem; }
  .home-page .section { padding-block: 1rem; }
  .home-page .section__head { align-items: start; flex-direction: column; gap: .6rem; }
  .home-page .section__more { font-size: .8rem; }
  .home-hero { padding-block: 2.25rem 2rem; }
  .home-hero__image { object-position: 70% center; }
  .home-hero::after, [dir=rtl] .home-hero::after { background: rgba(246,243,237,.9); }
  .home-hero .hero__title { font-size: 2.75rem; }
  .home-hero .hero__subtitle { font-size: .95rem; }
  .home-hero .search-form__button { padding-inline: 1rem; }
  .home-hero .search-form__input { padding-inline: .75rem; font-size: .8rem; }
  .home-stats__inner { gap: 1.3rem .8rem; padding: 1.2rem; }
  .home-stat { gap: .6rem; }
  .home-stat svg { width: 1.5rem; height: 1.5rem; }
  .home-stat__amount { font-size: 1.25rem; }
  .home-stat small { font-size: 0.8rem; }
  .home-topics .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .home-topics .topic-card__intro { font-size: .8rem; }
  .home-reading__inner, .home-figures__inner, .home-trust__inner { grid-template-columns: 1fr; }
  .home-feature { min-height: 26rem; }
  .home-feature__copy { max-width: 18rem; }
  .home-feature h2 { font-size: 1.85rem; }
  .home-tools__inner, .home-figures__inner { padding: 1.2rem; }
  .home-tool-grid { grid-template-columns: 1fr; }
  .home-tool { padding: 1.2rem; }
  .home-chart { padding: 1.2rem; }
  .home-chart__bars { gap: .8rem; }
  .home-chart__value { font-size: 0.8rem; }
  .home-figures__copy h2 { font-size: 1.8rem; }
  .home-trust__information, .home-trust__about { padding: 1.5rem; }
  .home-page #calculator h2 { font-size: 1.8rem; }
}
