/* Valley Hopper Journal 1.2.0 — contained responsive layout */
.vhj-wrap{--vhj-ink:#203c3b;--vhj-green:#235c54;--vhj-cream:#f7f5ef;--vhj-border:#e3e8e2;box-sizing:border-box;position:relative;width:100%;max-width:100%;min-width:0;margin:0 auto;transform:none;overflow:visible;color:var(--vhj-ink);font-family:inherit;line-height:1.5;font-size:16px}
.vhj-wrap *{box-sizing:border-box}
.vhj-wrap a{text-decoration:none}
.vhj-wrap .vhj-hero{background:linear-gradient(115deg,#20463e,#477569);border-radius:20px;padding:clamp(38px,5vw,72px) clamp(28px,5vw,72px);color:#fff;margin:0 0 38px;min-height:300px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.vhj-wrap .vhj-kicker,.vhj-wrap .vhj-eyebrow{font-size:12px;font-weight:750;letter-spacing:.13em;text-transform:uppercase;line-height:1.4}
.vhj-wrap .vhj-kicker{color:#deebcc}
.vhj-wrap .vhj-hero h1{font-size:clamp(32px,4vw,48px)!important;font-weight:650;line-height:1.09!important;letter-spacing:-.035em;margin:17px 0 20px;color:#fff;max-width:850px}
.vhj-wrap .vhj-hero h1 em{font-style:normal;color:#deebcc}
.vhj-wrap .vhj-hero p{max-width:660px;font-size:clamp(16px,1.6vw,19px);line-height:1.55;color:#edf5ec;margin:0}
.vhj-wrap .vhj-hero-link{display:inline-flex;align-items:center;margin-top:26px;color:#133e38!important;background:#e9f2df;border-radius:50px;padding:12px 22px;font-size:15px;font-weight:700;gap:19px}
.vhj-wrap .vhj-main{width:100%;margin:0 auto 65px;padding:0;scroll-margin-top:80px}
.vhj-wrap .vhj-heading{display:flex;gap:26px;justify-content:space-between;align-items:end;margin:0 0 25px}
.vhj-wrap .vhj-eyebrow{color:var(--vhj-green)}
.vhj-wrap .vhj-heading h2,.vhj-wrap .vhj-bottom h2{font-size:clamp(27px,2.7vw,36px)!important;line-height:1.2!important;letter-spacing:-.025em;margin:9px 0;color:var(--vhj-ink)}
.vhj-wrap .vhj-heading>p{max-width:350px;color:#687571;font-size:15px;margin:0}
.vhj-wrap .vhj-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;background:var(--vhj-cream);padding:18px;border:1px solid var(--vhj-border);border-radius:16px}
.vhj-wrap .vhj-filter label{display:flex;flex-direction:column;gap:6px;color:var(--vhj-ink);font-weight:650;font-size:12px}
.vhj-wrap .vhj-filter select,.vhj-wrap .vhj-filter input{display:block;width:100%;height:44px;padding:0 13px;border:1px solid #d7dfd9;border-radius:9px;background:#fff;color:#243d3b;font:inherit;font-size:14px}
.vhj-wrap .vhj-filter button{height:44px;border:0;border-radius:9px;background:var(--vhj-green);color:#fff;padding:0 20px;white-space:nowrap;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.vhj-wrap .vhj-filter button:hover,.vhj-wrap .vhj-townlinks a:hover{background:#173f39;color:#fff}
.vhj-wrap .vhj-count{font-size:13px;color:#73817c;margin:24px 0 17px}
.vhj-wrap .vhj-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.vhj-wrap .vhj-card{min-width:0;background:#fff;border:1px solid var(--vhj-border);border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(16,55,43,.05);transition:transform .2s,box-shadow .2s}
.vhj-wrap .vhj-card:hover{transform:translateY(-3px);box-shadow:0 12px 29px rgba(16,55,43,.1)}
.vhj-wrap .vhj-photo{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:#e9eadd}
.vhj-wrap .vhj-photo img{width:100%;height:100%;object-fit:cover;display:block}
.vhj-wrap .vhj-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;text-align:center;color:#fff;background:linear-gradient(135deg,#426f5a,#173c3a);font-size:13px;letter-spacing:.19em;line-height:2}
.vhj-wrap .vhj-placeholder strong{font-size:21px}
.vhj-wrap .vhj-content{padding:21px 22px 24px;display:flex;flex-direction:column;align-items:flex-start}
.vhj-wrap .vhj-meta{font-size:11px;line-height:1.5;letter-spacing:.045em;font-weight:800;text-transform:uppercase;color:var(--vhj-green)}
.vhj-wrap .vhj-meta span{padding:0 5px;color:#91a29b}
.vhj-wrap .vhj-card h3{font-size:clamp(19px,1.9vw,24px)!important;font-weight:600;line-height:1.27!important;margin:12px 0 15px;color:var(--vhj-ink);letter-spacing:-.015em;overflow-wrap:break-word}
.vhj-wrap .vhj-card h3 a{color:inherit}
.vhj-wrap .vhj-card p{font-size:14px;line-height:1.65;color:#5e6f69;margin:0 0 19px}
.vhj-wrap .vhj-read{font-size:14px;color:var(--vhj-green);font-weight:800;margin-top:auto}
.vhj-wrap .vhj-read span{padding-left:5px}
.vhj-wrap .vhj-featured{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.vhj-wrap .vhj-featured .vhj-photo{height:100%;aspect-ratio:auto;min-height:280px}
.vhj-wrap .vhj-featured .vhj-content{justify-content:center;padding:clamp(22px,2.8vw,38px)}
.vhj-wrap .vhj-featured h3{font-size:clamp(23px,2.5vw,32px)!important;line-height:1.2!important}
.vhj-wrap .vhj-featured-flag{position:absolute;top:15px;left:15px;background:#fff;color:#235c54;padding:8px 12px;border-radius:40px;font-size:11px;font-weight:800}
.vhj-wrap .vhj-pagination{display:flex;gap:8px;justify-content:center;margin:35px 0}
.vhj-wrap .vhj-pagination a{display:grid;place-items:center;border:1px solid var(--vhj-border);border-radius:8px;width:41px;height:41px;color:var(--vhj-green)}
.vhj-wrap .vhj-pagination a[aria-current]{background:var(--vhj-green);color:#fff}
.vhj-wrap .vhj-empty{text-align:center;padding:55px 15px}
.vhj-wrap .vhj-empty a{color:var(--vhj-green);font-weight:700}
.vhj-wrap .vhj-bottom{margin:0 auto 50px;padding:clamp(30px,4vw,55px);border-radius:18px;background:var(--vhj-cream);text-align:center}
.vhj-wrap .vhj-bottom p{color:#65736e;margin:0 auto;max-width:670px}
.vhj-wrap .vhj-townlinks{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:25px}
.vhj-wrap .vhj-townlinks a{color:var(--vhj-green);font-weight:750;font-size:13px;padding:10px 17px;border:1px solid #bbd2c3;border-radius:40px;background:#fff;transition:background .2s}
@media(max-width:900px){.vhj-wrap .vhj-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.vhj-wrap .vhj-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vhj-wrap .vhj-featured{grid-column:span 2}}
@media(max-width:650px){.vhj-wrap{width:100%;max-width:100%}.vhj-wrap .vhj-hero{margin:0 0 38px;min-height:0;padding:38px 25px;border-radius:14px}.vhj-wrap .vhj-hero h1{font-size:clamp(35px,9vw,45px)!important}.vhj-wrap .vhj-heading{display:block}.vhj-wrap .vhj-heading>p{max-width:none;margin-top:8px}.vhj-wrap .vhj-filter{grid-template-columns:1fr}.vhj-wrap .vhj-grid{grid-template-columns:1fr;gap:18px}.vhj-wrap .vhj-featured{grid-column:auto;display:block}.vhj-wrap .vhj-featured .vhj-photo{min-height:0;aspect-ratio:16/10}.vhj-wrap .vhj-card .vhj-content{padding:21px}.vhj-wrap .vhj-bottom{border-radius:12px}}

/* Layout safety: never escape the theme's content box. */
.vhj-wrap,.vhj-wrap .vhj-main,.vhj-wrap .vhj-hero,.vhj-wrap .vhj-grid,.vhj-wrap .vhj-filter{max-width:100%;min-width:0}
.vhj-wrap .vhj-hero,.vhj-wrap .vhj-card,.vhj-wrap .vhj-content{overflow-wrap:anywhere}
.vhj-wrap .vhj-hero h1,.vhj-wrap .vhj-hero p{word-break:normal}
.vhj-wrap .vhj-card h3,.vhj-wrap .vhj-featured h3{hyphens:auto}
@media(max-width:760px){.vhj-wrap .vhj-featured{grid-column:span 2;display:block}.vhj-wrap .vhj-featured .vhj-photo{height:auto;min-height:0;aspect-ratio:16/10}}
@media(max-width:650px){.vhj-wrap .vhj-featured{grid-column:auto}.vhj-wrap .vhj-grid{grid-template-columns:minmax(0,1fr)}}

/* v1.3.0: image containment and readability refinements */
.vhj-wrap .vhj-count{font-size:17px!important;line-height:1.5;color:#405e56;font-weight:600;margin:25px 0 18px}
.vhj-wrap .vhj-photo{aspect-ratio:16 / 10;background:#f0f1eb;display:flex;align-items:center;justify-content:center}
.vhj-wrap .vhj-photo img{width:100%;height:100%;max-width:100%;object-fit:contain!important;object-position:center;display:block}
.vhj-wrap .vhj-featured .vhj-photo{height:360px;min-height:0;aspect-ratio:auto}
.vhj-wrap .vhj-card:not(.vhj-featured) .vhj-photo{height:280px;aspect-ratio:auto}
.vhj-wrap .vhj-meta{font-size:13px!important;line-height:1.5}
.vhj-wrap .vhj-featured-flag{font-size:13px}
@media(max-width:760px){.vhj-wrap .vhj-featured .vhj-photo{height:300px;aspect-ratio:auto}}
@media(max-width:650px){.vhj-wrap .vhj-card:not(.vhj-featured) .vhj-photo,.vhj-wrap .vhj-featured .vhj-photo{height:auto;aspect-ratio:16/10}}


/* v1.4.0: readable secondary text on the Journal landing page */
.vhj-wrap .vhj-kicker,.vhj-wrap .vhj-eyebrow{font-size:clamp(15px,1.1vw,17px)!important;line-height:1.55!important;letter-spacing:.07em}
.vhj-wrap .vhj-hero p{font-size:clamp(20px,1.65vw,23px)!important;line-height:1.58!important;max-width:850px}
.vhj-wrap .vhj-heading>p{font-size:clamp(19px,1.4vw,21px)!important;line-height:1.52!important;max-width:440px;color:#38544d}
.vhj-wrap .vhj-filter label{font-size:16px!important;line-height:1.45!important}
.vhj-wrap .vhj-filter select,.vhj-wrap .vhj-filter input,.vhj-wrap .vhj-filter button{font-size:17px!important;min-height:50px}
.vhj-wrap .vhj-card p,.vhj-wrap .vhj-bottom p{font-size:17px!important;line-height:1.6!important}
.vhj-wrap .vhj-read,.vhj-wrap .vhj-townlinks a{font-size:16px!important}
.vhj-wrap .vhj-meta{font-size:15px!important}
@media(max-width:650px){.vhj-wrap .vhj-hero p{font-size:19px!important}.vhj-wrap .vhj-heading>p{font-size:18px!important}}

/* v1.4.0: single-article navigation and share tools, separate from archive styling */
.vhj-article-actions{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;width:100%;margin:22px 0 28px;padding:15px 0;border-top:1px solid #d9e5db;border-bottom:1px solid #d9e5db;color:#214a43;font-family:inherit;font-size:16px;line-height:1.5}
.vhj-article-actions *{box-sizing:border-box}
.vhj-article-actions a{text-decoration:none!important}
.vhj-article-actions .vhj-back{display:inline-flex;align-items:center;gap:8px;font-size:17px!important;line-height:1.5;font-weight:750;color:#205d52!important;white-space:nowrap}
.vhj-article-actions .vhj-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.vhj-article-actions .vhj-share-label{font-size:16px!important;font-weight:700;margin-right:5px;color:#355a50}
.vhj-article-actions .vhj-share a,.vhj-article-actions .vhj-copy-link{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:7px 13px;border:1px solid #bed4c7;border-radius:100px;background:#f6f9f5;color:#205b50!important;font-family:inherit;font-size:15px!important;font-weight:650;line-height:1.3;white-space:nowrap;cursor:pointer}
.vhj-article-actions .vhj-share a:hover,.vhj-article-actions .vhj-copy-link:hover{background:#205b50;color:#fff!important}
.vhj-article-actions a:focus-visible,.vhj-article-actions button:focus-visible{outline:3px solid #bf9e43;outline-offset:3px}
.vhj-article-actions-bottom{margin-top:35px}
@media(max-width:720px){.vhj-article-actions{align-items:flex-start;flex-direction:column}.vhj-article-actions .vhj-share{gap:7px}.vhj-article-actions .vhj-share-label{flex-basis:100%}}

/* v1.5.0 — Mobile-only article width repair. Archive remains unchanged.
   WordPress themes may constrain the main entry to a narrow contentSize;
   this releases that constraint without using viewport-width offsets. */
@media (max-width: 767px) {
  body.vhj-single-article .wp-site-blocks,
  body.vhj-single-article main,
  body.vhj-single-article .site-main,
  body.vhj-single-article .site-content,
  body.vhj-single-article .content-area,
  body.vhj-single-article .wp-block-post,
  body.vhj-single-article .wp-block-post-content,
  body.vhj-single-article .entry-content,
  body.vhj-single-article .inside-article,
  body.vhj-single-article .entry-header,
  body.vhj-single-article .post-content {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  body.vhj-single-article .entry-content,
  body.vhj-single-article .wp-block-post-content,
  body.vhj-single-article .inside-article,
  body.vhj-single-article .post-content {
    width: 100%;
  }
  /* Gutenberg layout-constrained direct content is often fixed at 650px or less. */
  body.vhj-single-article .entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
  body.vhj-single-article .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
  body.vhj-single-article .entry-content > .wp-block-group,
  body.vhj-single-article .wp-block-post-content > .wp-block-group {
    max-width: 100%;
  }
  body.vhj-single-article .entry-content img,
  body.vhj-single-article .wp-block-post-content img {
    max-width: 100%;
    height: auto;
  }
  body.vhj-single-article .vhj-article-actions {
    max-width: 100%;
  }
}

/* v1.6.0 — bespoke article content blocks, phone widths only.
   The article's own inline desktop columns are the source of the narrow cards.
   Override those columns only on Journal single-article pages. */
@media screen and (max-width: 767px) {
  body.vhj-single-article .entry-content [style*="grid-template-columns"],
  body.vhj-single-article .wp-block-post-content [style*="grid-template-columns"],
  body.vhj-single-article .entry-content .wp-block-columns,
  body.vhj-single-article .wp-block-post-content .wp-block-columns {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.vhj-single-article .entry-content .wp-block-columns,
  body.vhj-single-article .wp-block-post-content .wp-block-columns {
    flex-wrap: wrap !important;
  }
  body.vhj-single-article .entry-content .wp-block-column,
  body.vhj-single-article .wp-block-post-content .wp-block-column {
    flex-basis:100% !important;
    min-width:0 !important;
  }
  /* Remove per-card max-width limits within grid columns, not on the article itself. */
  body.vhj-single-article .entry-content [style*="grid-template-columns"] > *,
  body.vhj-single-article .wp-block-post-content [style*="grid-template-columns"] > * {
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box;
  }
  body.vhj-single-article .entry-content [style*="grid-template-columns"] img,
  body.vhj-single-article .wp-block-post-content [style*="grid-template-columns"] img {
    max-width:100% !important;
    height:auto;
  }
}
