/* Shared Hawaii identity, reading pages, and site-wide controls. */
.hawaii-site {
  --color-primary: #007c71;
  --color-primary-dark: #07524d;
  --color-primary-light: #299d90;
  --color-secondary: #082e34;
  --color-accent: #007c71;
  --color-accent-hover: #005f57;
  --color-bg: #fffcf7;
  --color-bg-alt: #f6f4ed;
  --color-surface: #fffdf9;
  --color-text: #263f46;
  --color-text-dark: #082e34;
  --color-text-secondary: #465367;
  --color-text-muted: #658079;
  --color-border: #d6dad6;
  --color-border-light: #e5e6df;
  --font-heading: "Hawaii Nunito", Arial, sans-serif;
  --font-body: "Hawaii Roboto", Arial, sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
}
.hawaii-page { min-height: 100vh; display: flex; flex-direction: column; }
.hawaii-page > .hi-page-main, .hawaii-page > .hi-article-page { flex: 1; }
.hawaii-site .hi-footer { flex-shrink: 0; }
.hi-footer a:hover, .hi-footer button:hover { color: var(--hi-teal); text-decoration: underline; text-underline-offset: 3px; }
.hi-page-hero { background: #fff3e5; background-image: linear-gradient(90deg, #fff4e7f5 0%, #fff4e7e6 52%, #fff4e780 82%, #fff4e700 100%), url("/img/hawaii/coast-hero.webp"); background-position: center bottom; background-size: cover; background-repeat: no-repeat; border-bottom: 1px solid #e9e1d5; overflow: hidden; }
.hi-page-hero > .hi-container { position: relative; padding: 22px 74px 43px; }
.hi-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 13px; line-height: 1.5; color: #557269; margin-bottom: 22px; position: relative; z-index: 1; }
.hi-breadcrumb a { color: #007c71; text-decoration: underline; text-underline-offset: 3px; }
.hi-breadcrumb > span:last-child { overflow-wrap: anywhere; }
.hi-page-hero-copy { position: relative; z-index: 1; max-width: 920px; padding-right: 80px; }
.hi-page-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: #007c71; font-weight: 650; font-size: 13px; }
.hi-page-eyebrow .hi-icon { width: 23px; height: 23px; }
.hawaii-page .hi-page-hero h1 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 950; letter-spacing: -1.35px; line-height: 1.08; text-wrap: balance; }
.hi-page-intro { max-width: 690px; color: #465367; font-size: 18px; line-height: 1.55; margin-top: 16px; }
.hi-page-botanical { position: absolute; right: -14px; bottom: -12px; width: 195px; height: auto; pointer-events: none; }
.hi-page-main { padding-block: 34px 44px; }
.hawaii-page .hi-reading-card { width: min(100% - 72px, 920px); max-width: 920px; margin: 0 auto; padding: 34px 42px 38px; background: #fffdf9; border: 1px solid #d6dad6; border-radius: 20px; box-shadow: 0 3px 12px #153c3410; color: #263f46; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.hawaii-page .hi-reading-card p { margin-bottom: 20px; }
.hawaii-page .hi-reading-card > :last-child { margin-bottom: 0; }
.hawaii-page .hi-reading-card h2 { font-size: 25px; line-height: 1.25; font-weight: 850; letter-spacing: -.45px; margin: 30px 0 13px; }
.hawaii-page .hi-reading-card h2:first-child { margin-top: 0; }
.hawaii-page .hi-reading-card h3 { font-size: 20px; line-height: 1.3; font-weight: 850; margin: 24px 0 10px; }
.hawaii-page .hi-reading-card a { color: #007e74; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #83bcb0; font-weight: 550; }
.hawaii-page .hi-reading-card a:hover { color: #005f57; text-decoration-color: currentColor; }
.hawaii-page .hi-reading-card ul, .hawaii-page .hi-reading-card ol { margin: 0 0 22px; padding-left: 23px; }
.hawaii-page .hi-reading-card li { margin-bottom: 7px; }
.hawaii-page .hi-reading-card li::marker { color: #007c71; font-weight: 700; }
.hi-contact-email { border: 1px solid #c9e5d9; background: #e9f5ee; border-radius: 15px; padding: 20px 24px; margin-bottom: 28px; }
.hawaii-page .hi-contact-email h3 { margin-top: 0; }
.hawaii-page .hi-contact-email p { margin: 0; }
.hi-resource-section { margin-bottom: 32px; }
.hi-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hi-page-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.hi-page-section-heading > .hi-icon { width: 33px; height: 33px; color: #007c71; }
.hi-page-section-heading h2 { font-size: 28px; font-weight: 950; letter-spacing: -.7px; }
.hi-page-section-intro { color: #465367; margin: -7px 0 19px 46px; font-size: 15px; line-height: 1.5; }
.hi-library-card { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 28px; border: 1px solid #d6dad6; border-radius: 20px; background: #fffdf9; box-shadow: 0 3px 10px #153c3410; }
.hi-library-art { display: grid; place-items: center; align-content: center; gap: 19px; align-self: stretch; min-height: 160px; border-radius: 16px; background: linear-gradient(135deg, #e1f4ed, #f4f7e9); }
.hi-library-art > .hi-icon { width: 62px; height: 62px; color: #007c71; }
.hi-library-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding-inline: 8px; }
.hi-library-labels span { border-radius: 20px; padding: 4px 8px; background: #ccebdc; color: #07564d; font-size: 10px; font-weight: 700; }
.hi-library-labels span:nth-child(2) { background: #ffe0be; color: #80501e; }
.hi-library-labels span:nth-child(3) { background: #e6e9df; color: #4d6258; }
.hi-library-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; color: #658079; font-size: 13px; margin-bottom: 10px; }
.hi-library-meta > span { color: #007c71; font-weight: 650; }
.hi-library-copy h3 { font-size: 27px; font-weight: 900; line-height: 1.2; letter-spacing: -.55px; margin-bottom: 10px; max-width: 580px; }
.hi-library-copy p { font-size: 15px; color: #465367; line-height: 1.6; max-width: 660px; }
.hi-library-card + .hi-library-card { margin-top: 16px; }
.hi-library-card .hi-button { white-space: nowrap; padding-inline: 20px; font-size: 15px; }
.hi-help-banner { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding: 25px 30px; border: 1px solid #d3e8dd; border-radius: 18px; background: #e6f5ed; }
.hi-help-banner > .hi-icon { color: #007c71; width: 37px; height: 37px; }
.hi-help-banner h2 { font-size: 23px; font-weight: 900; margin-bottom: 6px; }
.hi-help-banner p { color: #465367; font-size: 14px; line-height: 1.5; }
.hi-help-banner .hi-button { margin-left: auto; white-space: nowrap; font-size: 15px; }
.hawaii-page .hi-article-page { margin-top: 0; padding: 0 0 42px; background: transparent; }
.hawaii-page .hi-article-page > article { margin: 0; }
.hawaii-page .hi-article-page .hi-reading-card { margin-top: 30px; }
.hi-article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: #557269; font-size: 13px; line-height: 1.5; }
.hi-article-meta strong { color: #25534c; font-weight: 650; }
.hawaii-page .article-content blockquote { border-left: 3px solid #64b9a4; background: #eaf5ee; border-radius: 0 12px 12px 0; margin: 24px 0; padding: 16px 21px; }
.hawaii-page .article-content table { border-color: #d6dad6; }
.hawaii-page .article-content th { background: #e4f3e9; color: #143d38; }
.hawaii-page .article-related { width: min(100% - 72px, 920px); margin: 30px auto 0; padding: 0; }
.hawaii-page .guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hawaii-page .guide-card { background: #fffdf9; border: 1px solid #d6dad6; border-radius: 16px; box-shadow: 0 3px 10px #153c3410; }
.hawaii-page .guide-card strong { color: #082e34; }
.hi-not-found .hi-reading-card { text-align: center; padding-block: 48px; }
.hi-error-number { display: block; color: #cbe8dc; font: 950 100px/1 var(--font-heading); letter-spacing: -4px; margin-bottom: 10px; }
.hi-error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.hawaii-page .hi-error-actions a { color: white; text-decoration: none; }
.hawaii-page .hi-error-actions .hi-button-outline { color: #15343c; }
.hawaii-site .feedback-dialog { border: 1px solid #c9ded2; border-radius: 23px; background: #fffdf7; box-shadow: 0 16px 80px #063b3860; }
.hawaii-site .feedback-dialog::backdrop { background: #08363365; backdrop-filter: blur(3px); }
.hawaii-site .feedback-dialog-panel { padding: 28px; background: #fffdf7; }
.hawaii-site .feedback-dialog-header h2 { font-size: 28px; font-weight: 900; line-height: 1.15; }
.hawaii-site .feedback-eyebrow { color: #007c71; margin-bottom: 8px; }
.hawaii-site .feedback-close { background: #e3f3ec; color: #007c71; }
.hawaii-site .feedback-field { font-size: 15px; }
.hawaii-site .feedback-field small { color: #557269; }
.hawaii-site .feedback-field textarea, .hawaii-site .feedback-field input { border: 1px solid #b7cfc4; border-radius: 12px; background: #fffefb; color: #173b39; }
.hawaii-site .feedback-button { border-radius: 12px; }
.hawaii-site .feedback-button-primary { background: linear-gradient(115deg, #00877c, #006b62); }
.hawaii-site .feedback-button-secondary { border-color: #b7cfc4; background: #fffdf9; color: #25534c; }
@media (max-width: 1190px) {
  .hi-page-hero > .hi-container { padding-inline: 48px; }
  .hi-resource-grid { gap: 16px; }
  .hi-library-card { grid-template-columns: 145px minmax(0, 1fr); gap: 23px; }
  .hi-library-card > .hi-button { grid-column: 2; justify-self: start; margin-top: -5px; }
  .hi-library-art { grid-row: span 2; }
}
@media (max-width: 760px) {
  .hi-page-hero { background-image: linear-gradient(#fff3e5e8, #fff3e5a8), url("/img/hawaii/coast-hero.webp"); }
  .hi-page-hero > .hi-container { padding: 17px 0 29px; }
  .hi-breadcrumb { font-size: 12px; margin-bottom: 19px; gap: 7px; }
  .hi-page-hero-copy { padding-right: 12px; }
  .hi-page-eyebrow { font-size: 12px; margin-bottom: 11px; }
  .hawaii-page .hi-page-hero h1 { font-size: 34px; letter-spacing: -.85px; line-height: 1.1; }
  .hi-page-intro { font-size: 15px; margin-top: 13px; line-height: 1.6; }
  .hi-page-botanical { width: 110px; right: -28px; bottom: -20px; opacity: .5; }
  .hi-page-main { padding-block: 23px 28px; }
  .hawaii-page .hi-reading-card { width: calc(100% - 32px); padding: 23px 21px 27px; border-radius: 17px; font-size: 16px; line-height: 1.75; }
  .hawaii-page .hi-reading-card h2 { font-size: 23px; margin-top: 27px; }
  .hawaii-page .hi-reading-card h3 { font-size: 19px; }
  .hi-resource-grid { grid-template-columns: 1fr; gap: 12px; }
  .hi-resource-grid .hi-guide { min-height: 123px; }
  .hi-page-section-heading { gap: 10px; margin-bottom: 16px; }
  .hi-page-section-heading h2 { font-size: 25px; letter-spacing: -.6px; }
  .hi-page-section-heading > .hi-icon { width: 29px; height: 29px; }
  .hi-page-section-intro { margin-left: 39px; font-size: 13px; }
  .hi-resource-section { margin-bottom: 27px; }
  .hi-library-card { grid-template-columns: 1fr; gap: 19px; padding: 20px; border-radius: 17px; }
  .hi-library-art { grid-row: auto; min-height: 120px; grid-template-columns: 62px 1fr; gap: 22px; padding: 20px; }
  .hi-library-labels { max-width: 170px; padding: 0; justify-content: flex-start; }
  .hi-library-labels span { font-size: 11px; }
  .hi-library-copy h3 { font-size: 25px; }
  .hi-library-copy p { font-size: 14px; }
  .hi-library-card > .hi-button { grid-column: auto; margin-top: 0; }
  .hi-help-banner { align-items: flex-start; flex-wrap: wrap; gap: 13px; padding: 21px; margin-top: 23px; }
  .hi-help-banner > .hi-icon { width: 29px; height: 29px; }
  .hi-help-banner > div { flex: 1; min-width: 0; }
  .hi-help-banner h2 { font-size: 21px; }
  .hi-help-banner .hi-button { margin-left: 42px; }
  .hawaii-page .hi-article-page { padding-bottom: 28px; }
  .hawaii-page .hi-article-page .hi-reading-card { margin-top: 23px; }
  .hi-article-meta { gap: 5px 13px; font-size: 12px; margin-top: 16px; }
  .hi-article-hero .hi-breadcrumb > span:last-child, .hi-article-hero .hi-breadcrumb > span:nth-last-child(2) { display: none; }
  .hawaii-page .article-related { width: calc(100% - 32px); }
  .hawaii-page .guide-card-grid { grid-template-columns: 1fr; }
  .hi-contact-email { padding: 17px; }
  .hawaii-site .feedback-dialog-panel { padding: 21px; }
  .hawaii-site .feedback-dialog-header h2 { font-size: 25px; }
}
@media (max-width: 380px) {
  .hawaii-page .hi-page-hero h1 { font-size: 31px; }
  .hawaii-page .hi-reading-card { width: calc(100% - 24px); padding-inline: 18px; }
}
