/*
 * The Rustler desktop and tablet edition, September 2026.
 *
 * This layer begins above the approved phone breakpoint. Nothing in this file
 * applies at 680px or below; the established phone opening and mobile chrome
 * therefore remain owned by the existing stylesheets.
 */

@media (min-width: 681px) {
  :root {
    --rustler-ink: #081b2d;
    --rustler-ink-2: #102b40;
    --rustler-paper: #f7f4ec;
    --rustler-panel: #fffdf8;
    --rustler-line: #c9d0cc;
    --rustler-muted: #576675;
    --rustler-rust: #db5a39;
    --rustler-sun: #f1b94f;
    --rustler-moss: #325b50;
    --rustler-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rustler-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --rustler-canvas: min(1344px, calc(100% - 48px));
    --rustler-column-gap: clamp(18px, 2vw, 28px);
    --rustler-section-space: clamp(44px, 5vw, 72px);
    --rustler-h1: clamp(3rem, 5.2vw, 4.65rem);
    --rustler-h2-major: clamp(2rem, 3vw, 3rem);
    --rustler-h2-standard: clamp(1.45rem, 2.1vw, 2rem);
    --rustler-h3-compact: clamp(1.08rem, 1.45vw, 1.32rem);
  }

  html {
    scroll-padding-top: 5.5rem;
  }

  body {
    background: var(--rustler-paper);
    color: var(--rustler-ink);
    font-family: var(--rustler-serif);
  }

  .wrap,
  body.frontpage-opening main.frontpage,
  .community-ticker-inner {
    width: var(--rustler-canvas);
    max-width: 1344px;
  }

  /* Header: a newspaper nameplate with a quiet utility tier. */
  .rustler-install-top-wrap {
    display: flex;
    justify-content: flex-end;
    min-height: 52px;
    padding: 7px 0;
  }

  .rustler-install-top.rustler-install-compact {
    display: flex;
    width: auto;
    min-width: 270px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .rustler-install-top.rustler-install-compact .rustler-install-button {
    min-height: 38px;
    padding: 0 18px;
    border-color: var(--rustler-ink);
    background: transparent;
    color: var(--rustler-ink);
    font-size: .64rem;
  }

  .rustler-install-top.rustler-install-compact .rustler-install-button:hover,
  .rustler-install-top.rustler-install-compact .rustler-install-button:focus-visible {
    border-color: var(--rustler-rust);
    background: var(--rustler-rust);
    color: #fff;
  }

  .reader-actions:not(.reader-actions-advertise) {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    background: var(--rustler-ink);
    color: #eef4f3;
  }

  .reader-actions:not(.reader-actions-advertise) .wrap {
    justify-content: flex-end;
    gap: 0;
    padding: 0;
  }

  .reader-actions:not(.reader-actions-advertise) .reader-action {
    min-height: 44px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #eef4f3 !important;
  }

  .reader-actions:not(.reader-actions-advertise) .reader-action:hover,
  .reader-actions:not(.reader-actions-advertise) .reader-action:focus-visible {
    background: rgba(255, 255, 255, .1);
  }

  .masthead {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-top: 0;
    border-bottom: 1px solid var(--rustler-line);
    background: var(--rustler-paper);
    color: var(--rustler-ink);
  }

  .masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(219, 90, 57, .12), transparent 38%), repeating-linear-gradient(90deg, transparent 0 19px, rgba(8, 27, 45, .04) 19px 20px);
    mask-image: linear-gradient(90deg, #000, transparent 72%);
  }

  .masthead > a:first-child {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .55rem;
    width: var(--rustler-canvas);
    min-height: 0;
    margin: auto;
    padding: 22px 20px 10px;
    text-decoration: none;
  }

  .masthead img {
    display: none !important;
  }

  .masthead > a:first-child::before {
    content: "THE";
    color: var(--rustler-rust);
    font-family: var(--rustler-sans);
    font-size: clamp(.62rem, 1.2vw, .82rem);
    font-weight: 900;
    letter-spacing: .23em;
    transform: translateY(-1.55em);
  }

  .masthead > a:first-child::after {
    content: "RUSTLER";
    font-family: var(--rustler-serif);
    font-size: clamp(5rem, 8.2vw, 7.65rem);
    font-weight: 900;
    letter-spacing: -.075em;
    line-height: .82;
  }

  .masthead::after {
    content: "RUSSELL TOWNSHIP  /  ONTARIO";
    display: block;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding-bottom: 18px;
    color: var(--rustler-muted);
    font-family: var(--rustler-sans);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-align: center;
    white-space: nowrap;
  }

  .local-line {
    padding: 10px 0 11px;
    border: 0;
    border-bottom: 1px solid var(--rustler-line);
    background: var(--rustler-panel);
    color: var(--rustler-moss);
    font-family: var(--rustler-sans);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .top-headlines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: var(--rustler-canvas);
    max-width: 1344px;
    border-right: 1px solid var(--rustler-line);
    border-left: 1px solid var(--rustler-line);
  }

  .top-headline {
    min-height: 94px;
    padding: 17px clamp(15px, 1.8vw, 24px);
    font-size: clamp(1rem, 1.35vw, 1.27rem);
  }

  .community-ticker-item {
    min-height: 40px;
  }

  .nav .wrap {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 48px;
    padding-inline: clamp(12px, 1.45vw, 20px);
  }

  /* Shared large-screen editorial rhythm. */
  html body.frontpage-opening {
    background: var(--rustler-paper);
  }

  body.frontpage-opening main.frontpage {
    padding: clamp(28px, 3.4vw, 46px) 0 72px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.frontpage-opening main.frontpage .hero-photo-layout {
    margin: 0;
    padding: 0;
    gap: 0;
    border: 1px solid var(--rustler-ink);
    border-top: 5px solid var(--rustler-rust);
    background: var(--rustler-ink);
    box-shadow: none;
  }

  body.frontpage-opening main.frontpage .hero-photo,
  body.frontpage-opening main.frontpage .hero-photo.hero-map {
    min-width: 0;
    margin: 0;
    background: #e6ece8;
  }

  body.frontpage-opening main.frontpage .hero-photo.hero-map img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  body.frontpage-opening main.frontpage .hero-photo.hero-map .photo-credit {
    padding: 9px 14px;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(30px, 4vw, 58px);
  }

  body.frontpage-opening main.frontpage .hero-copy::before {
    top: 25px;
    right: 25px;
    width: 34px;
    height: 34px;
  }

  body.frontpage-opening main.frontpage .hero-copy h1 {
    margin: .12em 0 .22em;
    font-size: var(--rustler-h1);
    line-height: .94;
    text-wrap: balance;
  }

  body.frontpage-opening main.frontpage .hero-copy .deck {
    max-width: 34rem;
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    line-height: 1.42;
  }

  .reader-actions-advertise {
    margin-top: 16px;
    border: 0;
    border-top: 1px solid var(--rustler-line);
    border-bottom: 1px solid var(--rustler-line);
    background: transparent;
    box-shadow: none !important;
  }

  .reader-actions-advertise .advertise-action {
    min-height: 39px;
    border: 0;
    color: var(--rustler-ink) !important;
  }

  .reader-actions-advertise .advertise-action:hover,
  .reader-actions-advertise .advertise-action:focus-visible {
    background: #edf1ec !important;
  }

  body.frontpage-opening main > section:not(.hero-photo-layout):not(.rustler-now) {
    margin-top: var(--rustler-section-space);
  }

  body.frontpage-opening main.frontpage #council-news,
  body.frontpage-opening main.frontpage #township,
  body.frontpage-opening main.frontpage #in-the-twp,
  body.frontpage-opening main.frontpage #twp-archive {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.frontpage-opening main.frontpage .section-title,
  body.frontpage-opening main.frontpage #council-news .section-title,
  body.frontpage-opening main.frontpage #township .section-title,
  body.frontpage-opening main.frontpage #in-the-twp .section-title,
  body.frontpage-opening main.frontpage #twp-archive .section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 22px;
    padding: 10px 0 11px;
    border-top: 3px solid var(--rustler-ink);
    border-bottom: 1px solid var(--rustler-line);
    color: var(--rustler-ink);
    font-size: .78rem;
    letter-spacing: .15em;
  }

  body.frontpage-opening main.frontpage .section-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--rustler-line);
  }

  body.frontpage-opening main.frontpage .photo-grid,
  body.frontpage-opening main.frontpage .council-lead-grid,
  body.frontpage-opening main.frontpage #township .photo-grid,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid {
    display: grid;
    gap: 30px var(--rustler-column-gap);
    align-items: start;
  }

  body.frontpage-opening main.frontpage .photo-card,
  body.frontpage-opening main.frontpage .photo-grid .feature-card,
  body.frontpage-opening main.frontpage .council-lead-grid .feature-card,
  body.frontpage-opening main.frontpage #township .photo-grid .feature-card,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid .feature-card {
    min-width: 0;
    height: auto;
    padding: 0 0 24px;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--rustler-line);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  body.frontpage-opening main.frontpage .photo-card:hover,
  body.frontpage-opening main.frontpage .photo-card:focus-within {
    box-shadow: none;
    transform: none;
  }

  body.frontpage-opening main.frontpage .photo-card figure {
    margin: 0 0 13px;
    overflow: hidden;
    border: 0;
    background: #e7ece8;
  }

  body.frontpage-opening main.frontpage .photo-card img,
  body.frontpage-opening main.frontpage .photo-card.feature-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    background: #e7ece8;
    transition: none;
  }

  body.frontpage-opening main.frontpage .photo-card img[src$="ucpr.jpg"],
  body.frontpage-opening main.frontpage .photo-card img[src$="eohu.jpg"],
  body.frontpage-opening main.frontpage .photo-card img[src$="township-logo-v2.png"] {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    padding: clamp(18px, 2.5vw, 34px);
  }

  body.frontpage-opening main.frontpage .photo-card .photo-credit {
    min-height: 0;
    padding: 8px 0 0;
  }

  body.frontpage-opening main.frontpage .photo-card .kicker {
    margin: 0 0 8px;
  }

  body.frontpage-opening main.frontpage .photo-card h2,
  body.frontpage-opening main.frontpage .photo-card.feature-card h2,
  .council-access-card .council-access-headline h2 {
    margin: 0 0 9px;
    font-size: var(--rustler-h2-standard);
    line-height: 1.04;
    letter-spacing: -.025em;
    text-wrap: pretty;
  }

  body.frontpage-opening main.frontpage .photo-card p {
    max-width: 44rem;
    font-size: .96rem;
    line-height: 1.5;
  }

  body.frontpage-opening main.frontpage .read {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 5px;
    font-size: .67rem;
  }

  .council-access-card .council-access-top {
    min-height: 0;
    border-bottom: 0;
  }

  .council-access-card .council-access-photo {
    border: 0;
    background: #e7ece8;
  }

  .council-access-card .council-access-photo .photo-credit {
    padding: 8px 0 0;
  }

  .council-access-card .council-access-headline {
    padding: clamp(22px, 3vw, 38px);
    background: var(--rustler-ink);
  }

  .council-access-card .council-access-headline h2,
  .council-access-card .council-access-headline h2 a {
    color: #fff;
  }

  .council-access-card .council-access-body {
    padding-top: 15px;
  }

  .council-event-panel {
    min-height: 250px;
  }

  body.frontpage-opening main.frontpage .rustler-now {
    margin: var(--rustler-section-space) 0 0;
    border: 1px solid var(--rustler-ink);
    box-shadow: none;
  }

  body.frontpage-opening main.frontpage .now-card,
  body.frontpage-opening main.frontpage .rustler-now-heading {
    min-height: 174px;
  }

  body.frontpage-opening main.frontpage .now-card {
    padding: 20px;
  }

  body.frontpage-opening main.frontpage #in-the-twp .briefs-strip {
    border: 0;
  }

  body.frontpage-opening main.frontpage #in-the-twp .brief-tile {
    border: 0;
    border-top: 3px solid var(--rustler-moss);
    background: #edf1ec;
  }

  .village-filter,
  .rustler-nav-toggle,
  .form-submit,
  .story-tool-button {
    min-height: 44px;
  }

  /* Article pages: a broad visual stage and a disciplined reading measure. */
  .article-wrap {
    width: min(940px, calc(100% - 48px));
  }

  .article-head {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(42px, 5vw, 68px) 0 29px;
  }

  .article-head h1 {
    font-size: clamp(3.25rem, 6.1vw, 5.25rem);
    line-height: .94;
    text-wrap: balance;
  }

  .article-head .deck {
    max-width: 46rem;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.45;
  }

  .article-visual {
    margin: 30px 0 12px;
  }

  .article-visual img {
    box-shadow: none;
  }

  .article-body > p,
  .article-body > h2,
  .article-body > h3,
  .article-body > blockquote,
  .article-body > .notice,
  .article-body > .sources,
  .article-body > ul,
  .article-body > ol {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .article-body > p {
    font-size: 1.105rem;
    line-height: 1.72;
  }

  .article-body > .article-visual {
    width: min(940px, calc(100vw - 48px));
    max-width: none;
    margin-right: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .sources {
    padding-top: 20px;
  }

  .institutional-footer .wrap {
    width: var(--rustler-canvas);
    padding-left: 0;
  }
}

/* Tablet portrait: full-width lead, paired secondary reporting. */
@media (min-width: 681px) and (max-width: 899px) {
  :root {
    --rustler-canvas: min(100% - 32px, 850px);
    --rustler-column-gap: 22px;
    --rustler-section-space: 46px;
  }

  .rustler-install-top-wrap {
    min-height: 48px;
  }

  .rustler-install-top.rustler-install-compact .rustler-install-button,
  .reader-actions-advertise .advertise-action {
    min-height: 44px;
  }

  .masthead > a:first-child::after {
    font-size: clamp(4.7rem, 13vw, 6.4rem);
  }

  .top-headline {
    min-height: 90px;
    padding: 15px 13px;
    font-size: .98rem;
  }

  .nav .wrap {
    width: 100%;
    padding-left: 16px;
  }

  body.frontpage-opening main.frontpage .hero-photo-layout {
    grid-template-columns: 1fr;
  }

  body.frontpage-opening main.frontpage .hero-photo.hero-map img {
    aspect-ratio: 1200 / 760 !important;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    padding: 34px 32px 38px;
  }

  body.frontpage-opening main.frontpage .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(3.15rem, 8.2vw, 4.25rem);
  }

  body.frontpage-opening main.frontpage .photo-grid,
  body.frontpage-opening main.frontpage .council-lead-grid,
  body.frontpage-opening main.frontpage #township .photo-grid,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.frontpage-opening main.frontpage .photo-grid .feature-card,
  body.frontpage-opening main.frontpage .council-lead-grid .feature-card,
  body.frontpage-opening main.frontpage #township .photo-grid .feature-card,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid .feature-card {
    grid-column: span 1;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child {
    grid-column: 1 / -1;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child .council-access-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body.frontpage-opening main.frontpage #township .photo-card:first-child,
  body.frontpage-opening main.frontpage #township .photo-card:nth-child(6) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    column-gap: 22px;
  }

  body.frontpage-opening main.frontpage #township .photo-card:first-child figure,
  body.frontpage-opening main.frontpage #township .photo-card:nth-child(6) figure {
    grid-row: 1 / 6;
    margin-bottom: 0;
  }

  body.frontpage-opening main.frontpage .rustler-now {
    grid-template-columns: 1fr 1fr;
  }

  body.frontpage-opening main.frontpage .rustler-now-heading {
    grid-column: 1 / -1;
    min-height: 128px;
  }

  body.frontpage-opening main.frontpage .now-card {
    min-height: 148px;
  }

  body.frontpage-opening main.frontpage .now-card:nth-of-type(3) {
    border-left: 0;
  }

  .article-wrap {
    width: min(880px, calc(100% - 40px));
  }

  .article-head {
    max-width: 750px;
  }

  .article-head h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
  }
}

/* Tablet landscape and compact laptops: a restrained two-column newspaper. */
@media (min-width: 900px) and (max-width: 1199px) {
  :root {
    --rustler-canvas: min(100% - 40px, 1120px);
  }

  .rustler-install-top.rustler-install-compact .rustler-install-button,
  .reader-actions-advertise .advertise-action {
    min-height: 44px;
  }

  body.frontpage-opening main.frontpage .hero-photo-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  body.frontpage-opening main.frontpage .hero-photo {
    grid-column: 1;
    grid-row: 1;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    grid-column: 2;
    grid-row: 1;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    padding: 32px 30px;
  }

  body.frontpage-opening main.frontpage .hero-copy h1 {
    font-size: clamp(2.9rem, 4.9vw, 3.75rem);
  }

  body.frontpage-opening main.frontpage .photo-grid,
  body.frontpage-opening main.frontpage .council-lead-grid,
  body.frontpage-opening main.frontpage #township .photo-grid,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.frontpage-opening main.frontpage .photo-grid .feature-card,
  body.frontpage-opening main.frontpage .council-lead-grid .feature-card,
  body.frontpage-opening main.frontpage #township .photo-grid .feature-card,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid .feature-card {
    grid-column: span 1;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child {
    grid-column: 1 / -1;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child .council-access-top {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  body.frontpage-opening main.frontpage .rustler-now {
    grid-template-columns: minmax(190px, .8fr) repeat(2, minmax(0, 1fr));
  }

  body.frontpage-opening main.frontpage .now-card:last-child {
    grid-column: 2 / 4;
    min-height: 132px;
  }
}

/* Desktop: asymmetrical 12-column story modules and controlled density. */
@media (min-width: 1200px) {
  body.frontpage-opening main.frontpage .hero-photo-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
  }

  body.frontpage-opening main.frontpage .hero-photo {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  body.frontpage-opening main.frontpage .hero-copy h1 {
    font-size: clamp(3.35rem, 4.75vw, 4.4rem);
  }

  body.frontpage-opening main.frontpage .photo-grid,
  body.frontpage-opening main.frontpage .council-lead-grid,
  body.frontpage-opening main.frontpage #township .photo-grid,
  body.frontpage-opening main.frontpage #twp-archive .photo-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  body.frontpage-opening main.frontpage #latest .photo-card:first-child {
    grid-column: span 7;
  }

  body.frontpage-opening main.frontpage #latest .photo-card:nth-child(2) {
    grid-column: span 5;
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #latest .photo-card:first-child h2 {
    font-size: var(--rustler-h2-major);
  }

  body.frontpage-opening main.frontpage #latest .photo-card:first-child img {
    aspect-ratio: 16 / 10;
  }

  body.frontpage-opening main.frontpage #latest .photo-card:nth-child(2) img {
    aspect-ratio: 4 / 3;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child {
    grid-column: span 7;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(2) {
    grid-column: span 5;
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(3),
  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(4) {
    grid-column: span 6;
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(4) {
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:first-child h2 {
    font-size: var(--rustler-h2-major);
  }

  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(3) img,
  body.frontpage-opening main.frontpage #council-news .photo-card:nth-child(4) img {
    aspect-ratio: 16 / 9;
  }

  body.frontpage-opening main.frontpage #township .photo-card {
    grid-column: span 4;
  }

  body.frontpage-opening main.frontpage #township .photo-card:first-child {
    grid-column: span 7;
  }

  body.frontpage-opening main.frontpage #township .photo-card:nth-child(2) {
    grid-column: span 5;
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #township .photo-card:first-child h2 {
    font-size: var(--rustler-h2-major);
  }

  body.frontpage-opening main.frontpage #township .photo-card:first-child img {
    aspect-ratio: 16 / 9;
  }

  body.frontpage-opening main.frontpage #township .photo-card:nth-child(4),
  body.frontpage-opening main.frontpage #township .photo-card:nth-child(7),
  body.frontpage-opening main.frontpage #township .photo-card:nth-child(10) {
    padding-inline: var(--rustler-column-gap);
    border-right: 1px solid var(--rustler-line);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #township .photo-card:nth-child(5),
  body.frontpage-opening main.frontpage #township .photo-card:nth-child(8) {
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage #township .photo-card:nth-child(n + 3) h2 {
    font-size: var(--rustler-h3-compact);
    line-height: 1.08;
  }

  body.frontpage-opening main.frontpage #township .photo-card:nth-child(n + 3) p {
    font-size: .9rem;
  }

  body.frontpage-opening main.frontpage #twp-archive .photo-card {
    grid-column: span 6;
  }

  body.frontpage-opening main.frontpage #twp-archive .photo-card:nth-child(2) {
    padding-left: var(--rustler-column-gap);
    border-left: 1px solid var(--rustler-line);
  }

  body.frontpage-opening main.frontpage .rustler-now {
    grid-template-columns: minmax(210px, .9fr) repeat(4, minmax(0, 1fr));
  }

  body.frontpage-opening main.frontpage #in-the-twp .brief-tile {
    grid-template-columns: 185px minmax(0, 1fr) auto;
  }
}

@media (min-width: 681px) and (prefers-reduced-motion: reduce) {
  body.frontpage-opening main.frontpage .photo-card,
  body.frontpage-opening main.frontpage .photo-card img {
    transition: none !important;
  }
}

/* Tablet navigation: a deliberate touch menu instead of a clipped rail. */
@media (min-width: 681px) and (max-width: 1199px) {
  .nav .rustler-nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: var(--rustler-canvas);
    min-height: 48px;
    margin: 0 auto;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #f7f4ec;
    font: 900 .72rem/1.2 var(--rustler-sans, Arial, sans-serif);
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
  }

  .nav .rustler-nav-toggle::after {
    content: "☰";
    font-size: 1.15rem;
  }

  .nav.is-open .rustler-nav-toggle::after {
    content: "×";
    font-size: 1.5rem;
    font-weight: 400;
  }

  .nav .wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: var(--rustler-canvas);
    margin: 0 auto;
    overflow: visible;
  }

  body[data-rustler-ui="ready"] .nav .rustler-nav-toggle {
    display: flex;
  }

  body[data-rustler-ui="ready"] .nav .wrap {
    display: none;
  }

  body[data-rustler-ui="ready"] .nav.is-open .wrap {
    display: grid;
  }

  .nav .wrap a {
    justify-content: center;
    min-height: 48px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 0 8px;
    text-align: center;
  }
}

/* Portrait tablet: let readers meet the story before its explanatory map. */
@media (min-width: 681px) and (max-width: 899px) {
  .rustler-install-top-wrap {
    min-height: 42px;
  }

  .rustler-install-top.rustler-install-compact .rustler-install-button {
    min-height: 44px;
  }

  .masthead > a:first-child {
    padding-top: 13px;
    padding-bottom: 7px;
  }

  .masthead::after {
    padding-bottom: 12px;
  }

  body.frontpage-opening main.frontpage .hero-photo-layout {
    display: flex;
    flex-direction: column;
  }

  body.frontpage-opening main.frontpage .hero-copy {
    padding: 26px 28px 24px;
  }

  body.frontpage-opening main.frontpage .hero-copy h1 {
    max-width: 19ch;
    font-size: clamp(2.8rem, 6.8vw, 3.65rem);
    line-height: .96;
  }

  body.frontpage-opening main.frontpage .hero-copy .deck {
    max-width: 42rem;
  }

  body.frontpage-opening main.frontpage .hero-photo.hero-map img {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Restore useful fluid type where pre-iOS 13 Safari cannot parse clamp(). */
@supports not (font-size: clamp(1rem, 2vw, 3rem)) {
  @media (min-width: 681px) and (max-width: 1199px) {
    :root {
      --rustler-canvas: calc(100% - 40px);
      --rustler-column-gap: 20px;
      --rustler-section-space: 46px;
      --rustler-h1: 48px;
      --rustler-h2-major: 34px;
      --rustler-h2-standard: 25px;
      --rustler-h3-compact: 18px;
    }

    .masthead > a:first-child::before {
      font-size: 10px;
    }

    .masthead > a:first-child::after {
      font-size: 72px;
      line-height: .82;
    }

    .masthead::after {
      font-size: 9px;
    }

    .top-headline {
      font-size: 16px;
    }

    body.frontpage-opening main.frontpage .hero-copy h1 {
      font-size: 46px;
    }

    body.frontpage-opening main.frontpage .hero-copy .deck {
      font-size: 17px;
    }

    .article-head h1 {
      font-size: 48px;
    }

    .article-head .deck {
      font-size: 18px;
    }
  }
}


/* Ensure the tablet and desktop lead remains readable across Safari versions. */
@media (min-width: 681px) {
  body.frontpage-opening main.frontpage .hero-copy h1,
  body.frontpage-opening main.frontpage .hero-copy h1 a,
  body.frontpage-opening main.frontpage .hero-copy .deck,
  body.frontpage-opening main.frontpage .hero-copy .read,
  body.frontpage-opening main.frontpage .hero-copy > p:not(.kicker) {
    color: #fff !important;
  }

  body.frontpage-opening main.frontpage .hero-copy .kicker {
    color: #f1b94f !important;
  }
}


/* Keep the portrait-photo council lead legible when the later inline component
   stylesheets override the standard tablet card background. */
@media (min-width: 681px) {
  body.frontpage-opening main.frontpage #council-news .council-access-card .council-access-headline {
    background: #081b2d !important;
  }

  body.frontpage-opening main.frontpage #council-news .council-access-card .council-access-headline h2,
  body.frontpage-opening main.frontpage #council-news .council-access-card .council-access-headline h2 a {
    color: #fff !important;
  }
}
