/* The Hive (hive.html, js/hive.js), on style.css and pages.css. Classes hv-. */
.hive { --honey: #e9a514; --honey-deep: #b87708; --honey-soft: #fdf3dc; --comb: #f1ede4; }
.hive section { padding: 3.5rem 2rem; }
.hv-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; padding-top: 4rem; }
.hv-hero .lead { max-width: 600px; }
.hv-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #ffffff1f; border-radius: 10px; overflow: hidden; color: #fff;
  background-image: linear-gradient(135deg, #132b37, #0d3f3a); }
.hv-totals > div { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; min-width: 0; box-shadow: inset 0 0 0 .5px #ffffff22; }
.hv-totals strong { font: 500 1.7rem/1.1 Georgia, serif; font-variant-numeric: tabular-nums; color: #fff; }
.hv-totals span { font-size: .82rem; color: #c4d5de; }
.hv-totals .hv-big { grid-column: span 3; flex-direction: row; align-items: baseline; gap: .8rem; }
.hv-totals .hv-big strong { font-size: 2.6rem; color: #ffd166; }
.hv-totals .hv-big + .hv-big { padding-top: 0; }
.hv-tools { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin: 1rem 0 .4rem; }
.hv-search { font: inherit; padding: .5rem .75rem; border: 1px solid #a0b4bd; border-radius: 6px; background: #fff; color: var(--ink); max-width: 100%; }
#hvQ { flex: 1 1 16rem; }
.hv-check { font-size: .9rem; white-space: nowrap; } .hv-check input { margin-right: .4rem; }
.hv-table td { padding: .65rem 1rem; vertical-align: middle; } .hv-table th { padding: .7rem 1rem; }
.hv-table tr:not(.has) td { color: var(--muted); } .hv-table tr:not(.has) td:first-child a { color: var(--ink); font-weight: 500; }
.hv-table tr.has td:first-child a { font-weight: 700; }
.hv-st { min-width: 11rem; } .hv-st .hv-need { display: inline-block; width: 4.5rem; vertical-align: middle; margin-right: .5rem; }
.hv-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.hv-gives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; margin-top: 1rem; }
.hv-gives > div { border-top: 3px solid var(--honey); padding-top: .8rem; }
.hv-gives p { font-size: .93rem; color: var(--muted); margin: .3rem 0 0; }
.hv-mine { background: var(--honey-soft); border-radius: 10px; padding: 1.6rem; }
.hv-mine h2 { font-size: 1.7rem; }
.hv-mine-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0; }
.hv-mine-n strong { display: block; font: 500 1.8rem/1.1 Georgia, serif; } .hv-mine-n span { font-size: .8rem; color: var(--muted); }
.hv-how { padding-left: 1.2rem; margin: .6rem 0 1.2rem; } .hv-how li { margin: .25rem 0; }
.hv-need { display: block; height: .5rem; border-radius: 99px; background: var(--comb); overflow: hidden; } .hv-need i { display: block; height: 100%; background: var(--honey); }
.hv-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0; }
.hv-src { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.hv-src.grow { border-style: dashed; border-color: var(--honey-deep); }
.hv-src dl { margin-top: .4rem; } .hv-src dl div { padding: .35rem 0; font-size: .88rem; }
.hv-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: #e3f4ee; padding: .15rem .5rem; border-radius: 4px; }
.hv-tag.g { color: #7a4b00; background: var(--honey-soft); }
.hv-table th.r, .hv-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.hv-table td:first-child { font-weight: 650; }
.hv-ok { color: var(--green); font-weight: 700; }
.hv-trust { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.hv-org { background: #f1f6f8; border-left: 3px solid var(--green); padding: 1.3rem 1.4rem; }
.hv-org p { font-size: .93rem; }

@media (max-width: 900px) { .hv-hero, .hv-two, .hv-trust { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 600px) { .hive section { padding: 2.5rem 1rem; } .hv-gives { grid-template-columns: 1fr; } .hv-totals { grid-template-columns: 1fr 1fr; } .hv-totals .hv-big { grid-column: span 2; }
  .hv-totals .hv-big strong { font-size: 2rem; } .hv-table { min-width: 680px; } }
html[dir="rtl"] .hv-check input, html[dir="rtl"] .hv-st .hv-need { margin-right: 0; margin-left: .4rem; }
html[dir="rtl"] .hv-org { border-left: 0; border-right: 3px solid var(--green); }
html[dir="rtl"] .hv-table th.r, html[dir="rtl"] .hv-table td.r { text-align: left; }
