.tag-alt { background: var(--brand); }
.byline { color: #555; margin: 0.25rem 0 1rem; }
.article-img { display: block; width: 100%; height: auto; margin: 0 0 1.25rem; border-radius: 4px; }
.meta { font-size: 0.8rem; color: #666; }
.ph { background: linear-gradient(135deg, #064E27, #064E27 60%, #0A7A3A); width: 100%; height: 100%; min-height: 70px; }

/* hero: lead story + 4 smaller */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.lead { position: relative; display: block; min-height: 440px; background: linear-gradient(135deg, #064E27, #064E27 65%, #0A7A3A); color: #fff; overflow: hidden; border-radius: 4px; }
.lead:hover { color: #fff; }
.lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.5rem 1.4rem; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.lead h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.15; margin: 0.5rem 0; }
.lead-excerpt { margin: 0 0 0.5rem; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead .meta { color: #ddd; }

.top-list { display: flex; flex-direction: column; gap: 0.75rem; }
.top-item { display: grid; grid-template-columns: 110px 1fr; gap: 0.8rem; flex: 1; background: #fff; padding: 0.6rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-radius: 4px; align-items: center; }
.top-item img { width: 110px; height: 80px; object-fit: cover; border-radius: 3px; }
.top-item .ph { height: 80px; border-radius: 3px; }
.top-item h3 { margin: 0 0 0.3rem; font-size: 1rem; line-height: 1.25; }

/* main + sidebar */
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.section-title { margin: 0 0 1rem; padding-bottom: 0.4rem; border-bottom: 3px solid var(--brand); font-size: 1.3rem; }

.post { display: grid; grid-template-columns: 260px 1fr; gap: 1rem; background: #fff; padding: 0.7rem; margin-bottom: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-radius: 4px; }
.post-thumb { display: block; height: 100%; min-height: 150px; border-radius: 3px; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body h3 { margin: 0.25rem 0; font-size: 1.2rem; line-height: 1.25; }
.post-body p { margin: 0.3rem 0 0.6rem; color: #555; font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { background: #E6EEE9; font-size: 0.78rem; padding: 2px 10px; border-radius: 4px; }

.pager { display: flex; justify-content: space-between; align-items: center; margin: 1.5rem 0; }
.pager a { background: var(--brand-dark); color: #fff; padding: 0.5rem 1rem; border-radius: 4px; font-weight: 600; }
.pager a:hover { background: var(--brand); color: #fff; }

/* sidebar */
.widget { background: #fff; padding: 1rem; margin-bottom: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-radius: 4px; }
.widget h3 { margin: 0 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 3px solid var(--brand); font-size: 1.05rem; }
.muted { color: #666; font-size: 0.88rem; margin: 0; }
.more { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--brand-dark); }

.most-read { margin: 0; padding: 0; list-style: none; counter-reset: mr; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 2rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid #eee; font-weight: 600; font-size: 0.93rem; line-height: 1.3; }
.most-read li:last-child { border-bottom: 0; }
.most-read li::before { content: counter(mr); font-size: 1.3rem; font-weight: 800; color: var(--brand); line-height: 1; }

.mini-matches { list-style: none; margin: 0; padding: 0; }
.mini-matches li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.mini-matches li:last-child { border-bottom: 0; }
.mm-meta { font-size: 0.74rem; color: #666; margin-bottom: 0.2rem; }
.mm-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: center; font-size: 0.88rem; font-weight: 600; }
.mm-row span:first-child { text-align: right; }
.mm-row b { background: var(--bg); padding: 0.15rem 0.5rem; border-radius: 3px; min-width: 3.4rem; text-align: center; }
.res-W { background: #157a30 !important; color: #fff; }
.res-D { background: #888 !important; color: #fff; }
.res-L { background: var(--brand) !important; color: #fff; }

.mini-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.mini-table th { background: var(--brand-dark); color: #fff; padding: 0.3rem 0.25rem; font-size: 0.72rem; }
.mini-table td { padding: 0.28rem 0.25rem; text-align: center; border-bottom: 1px solid #eee; }
.mini-table .tl { text-align: left; white-space: nowrap; }
.mini-table img { vertical-align: middle; }
.mini-table tr.me { background: #E8F5EC; font-weight: 700; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .lead { min-height: 340px; }
  .home-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .post { grid-template-columns: 1fr; }
  .post-thumb { height: 180px; }
}
/* homepage uses 94% of the page width (home.css only loads on the homepage) */
main.container { max-width: none; width: 94%; }
.home-layout { grid-template-columns: minmax(0, 1fr) 360px; }

/* Most read: deep red background */
.sidebar .widget:first-child { background: #064E27; color: #fff; }
.sidebar .widget:first-child h3 { color: #fff; border-bottom-color: #E8F5EC; }
.sidebar .widget:first-child a { color: #fff; }
.sidebar .widget:first-child a:hover { color: #E8F5EC; text-decoration: underline; }
.sidebar .widget:first-child .most-read li { border-bottom-color: rgba(255,255,255,.25); }
.sidebar .widget:first-child .most-read li::before { color: #E8F5EC; }
.sidebar .widget:first-child .muted { color: #f3d9d9; }

/* page width 90% */
main.container { width: 90%; }

/* news ticker */
.ticker { display: flex; align-items: stretch; background: #064E27; border-radius: 4px; overflow: hidden; margin-bottom: 1.25rem; }
.ticker-label { flex: 0 0 auto; background: var(--brand); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.6rem 1.2rem; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 1.8rem; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker-move { display: inline-flex; white-space: nowrap; animation: ticker-scroll 60s linear infinite; }
.ticker-move a { color: #E8F5EC; font-weight: 600; font-size: 0.92rem; padding: 0 2rem 0 0; }
.ticker-move a::before { content: '\25CF'; color: var(--brand); margin-right: 0.6rem; font-size: 0.7rem; }
.ticker-move a:hover { color: #fff; text-decoration: underline; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }

/* sticky sidebar */
.sidebar { position: sticky; top: 1rem; align-self: start; max-height: calc(100vh - 2rem); overflow-y: auto; scrollbar-width: thin; }
.widget { padding: 0.85rem; margin-bottom: 1rem; }
@media (max-width: 1000px) { .sidebar { position: static; max-height: none; overflow: visible; } }

/* ticker: edge-to-edge, new colour */
body { overflow-x: hidden; }
.ticker { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; background: #f3e3a0; }
.ticker-label { background: #064E27; color: #fff; padding-left: 5vw; }
.ticker-move a { color: #1a1a1a; font-weight: 700; }
.ticker-move a::before { color: #0A7A3A; }
.ticker-move a:hover { color: #0A7A3A; text-decoration: underline; }

/* big first box: no excerpt, darker lower area so the title is readable */
.lead-excerpt { display: none; }
.lead-text { padding: 6rem 1.5rem 1.4rem; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.92) 100%); }
.lead h2 { text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.lead .meta { color: #e6e6e6; }

/* category and tag labels: red background */
.lead .tag { background: #0A7A3A; color: #fff; font-weight: 700; padding: 3px 10px; }
.chip { background: #0A7A3A; color: #fff; font-weight: 600; }

/* date sits on the same line as the category / tags */
.tag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.tag-row .when { color: #e6e6e6; font-size: 0.85rem; font-weight: 500; }
.chips { align-items: center; }
.chips .when { color: #666; font-size: 0.8rem; margin-left: 0.2rem; }
.chips .when::before { content: '\2022'; margin-right: 0.5rem; color: #0A7A3A; }
.tag-row .when::before { content: '\2022'; margin-right: 0.6rem; color: #0A7A3A; }

/* hero: category, tag, author and date on one line */
.tag-row .by { color: #fff; font-size: 0.85rem; font-weight: 600; }
.tag-row .by::before { content: '\2022'; margin-right: 0.6rem; color: #0A7A3A; }
.tag-row.small { gap: 0.4rem; margin-top: 0.35rem; }
.tag-row.small .tag { font-size: 0.66rem; padding: 2px 7px; }
.tag-row.small .by, .tag-row.small .when { color: #666; font-size: 0.74rem; }
.tag-row.small .by::before, .tag-row.small .when::before { margin-right: 0.35rem; }

/* clickable category and tag chips */
a.chip { text-decoration: none; }
a.chip:hover { background: #086A32; color: #fff; }

/* section blocks on the homepage */
.hs { margin: 1.5rem 0; }
.hs-block { margin: 0 0 1.6rem; padding-top: 0.8rem; border-top: 3px solid var(--brand); }
.hs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; }
.hs-head h2 { margin: 0; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hs-head h2 a { color: var(--brand-dark); text-decoration: none; }
.hs-more { color: #07622F; font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hs-more:hover, .hs-head h2 a:hover { text-decoration: underline; }
.hs-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
.hs-lead { display: block; color: inherit; text-decoration: none; }
.hs-pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 3px; }
.hs-lead h3 { margin: 0.6rem 0 0.3rem; font-size: 1.15rem; line-height: 1.3; }
.hs-lead:hover h3 { color: #07622F; }
.hs-lead p { margin: 0 0 0.3rem; color: #444; font-size: 0.95rem; }
.hs-when { color: #666; font-size: 0.78rem; display: block; }
.hs-list { list-style: none; margin: 0; padding: 0; }
.hs-list li { padding: 0.65rem 0; border-bottom: 1px solid #dde6e0; }
.hs-list li:first-child { padding-top: 0; }
.hs-list a { color: var(--text); font-weight: 600; line-height: 1.35; text-decoration: none; display: block; }
.hs-list a:hover { color: #07622F; }
@media (max-width: 800px) { .hs-grid { grid-template-columns: 1fr; } .hs-head h2 { font-size: 1.1rem; } }

/* FN-HOME-START hero headline, hover and section blocks */
html body .lead:hover h2 { color: #fff !important; text-decoration: underline; text-decoration-color: #8FE3AF; text-decoration-thickness: 3px; text-underline-offset: 6px; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.lead h2 { text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.lead-text { background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 30%, rgba(0,0,0,.94) 100%); }
.hs-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
.hs-lead p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-list { display: flex; flex-direction: column; }
.hs-list li { flex: 1; display: flex; align-items: center; padding: 0.55rem 0; }
.hs-list li:first-child { padding-top: 0.1rem; }
.hs-list li:last-child { border-bottom: 0; }
.hs-list a.hs-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0.85rem; align-items: center; width: 100%; }
.hs-list a.hs-item.hs-noimg { grid-template-columns: minmax(0, 1fr); }
.hs-thumb { display: block; }
.hs-thumb img { width: 112px; height: 76px; object-fit: cover; border-radius: 3px; display: block; }
.hs-txt { display: block; min-width: 0; }
.hs-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
@media (max-width: 800px) {
  .hs-grid { grid-template-columns: 1fr; }
  .hs-list li { flex: none; padding: 0.7rem 0; }
  .hs-list li:first-child { padding-top: 0.2rem; }
  .hs-list a.hs-item { grid-template-columns: 104px minmax(0, 1fr); gap: 0.75rem; }
  .hs-list a.hs-item.hs-noimg { grid-template-columns: minmax(0, 1fr); }
  .hs-thumb img { width: 104px; height: 70px; }
  .hs-t { font-size: 0.98rem; }
}
/* FN-HOME-END */
