:root { color-scheme: light; --forest: #315a43; --deep: #203c30; --paper: #fbfaf6; --ink: #26312a; --muted: #68756d; --line: #d8e0d9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 Georgia, "Times New Roman", serif; }
.site-header { position: relative; aspect-ratio: 1536 / 419; overflow: hidden; background: #203c30; }
.header-image { position: absolute; inset: 0; background: url("images/cassiobury-header.png") center / 100% 100% no-repeat; }
.brand { position: relative; max-width: 1080px; margin: 0 auto; padding: 79px 28px 42px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.brand a { display: block; width: fit-content; color: white; font: 700 clamp(2.6rem, 7vw, 5rem)/1.05 Arial, sans-serif; letter-spacing: -.045em; text-decoration: none; }
.brand span { display: block; margin-top: 9px; font: italic 1.35rem/1.4 Georgia, serif; }
.main-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 0 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 3px 12px rgba(30,50,36,.05); }
.main-nav a { padding: 15px 19px; color: var(--deep); font: 700 .88rem/1.3 Arial, sans-serif; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover, .main-nav a.active { color: var(--forest); box-shadow: inset 0 -3px var(--forest); }
.content { max-width: 890px; margin: 0 auto; padding: 50px 26px 76px; }
h1, h2 { color: var(--deep); font-family: Arial, sans-serif; line-height: 1.2; }
h1 { margin: 0 0 25px; font-size: clamp(1.8rem, 4.5vw, 2.7rem); letter-spacing: -.035em; }
h2 { margin: 0 0 12px; font-size: 1.55rem; }
p { margin: 0 0 1.2em; }
a { color: #285c3d; }
.book-details { padding: 18px 22px; border-left: 4px solid #66896b; background: #f0f3ed; }
.book-image { margin: 36px 0 55px; text-align: center; }
.book-image img { display: block; width: min(100%, 620px); height: auto; margin: 0 auto; box-shadow: 0 10px 28px rgba(32,60,48,.14); }
.map-section { padding-top: 30px; border-top: 1px solid var(--line); }
.park-map { display: block; width: 100%; height: auto; margin-top: 22px; border: 1px solid var(--line); }
.subpage { min-height: 390px; padding-top: 68px; }
.notice { max-width: 720px; padding: 23px 26px; border-left: 4px solid #78916f; background: #f0f3ed; font-size: 1.12rem; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px max(26px, calc((100% - 838px)/2)); background: #203c30; color: #eef3ed; font: .9rem/1.4 Arial, sans-serif; }
footer a { color: white; }
@media (max-width: 600px) { .site-header { position: relative; aspect-ratio: 1536 / 419; overflow: hidden; background: #203c30; } .brand { padding: 60px 22px 32px; } .main-nav { justify-content: flex-start; } .main-nav a { padding: 13px 11px; font-size: .75rem; } .content { padding: 38px 20px 58px; } footer { padding: 20px; flex-direction: column; } }


.directions-intro { padding: 18px 22px; border-left: 4px solid #66896b; background: #f0f3ed; }
.directory-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 36px; }
.directory-links a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; font: 700 .82rem/1.3 Arial, sans-serif; text-decoration: none; }
.details-list { margin: 44px 0; }
.details-list > p { margin-bottom: 20px; }
.details-list details { margin: 12px 0; border: 1px solid var(--line); border-radius: 5px; background: white; }
.details-list summary { padding: 16px 19px; color: var(--deep); cursor: pointer; font: 700 1.05rem/1.4 Arial, sans-serif; }
.details-body { padding: 0 20px 20px; }
.details-body h3 { margin: 20px 0 10px; color: var(--forest); font: 700 1rem/1.4 Arial, sans-serif; }
.details-body ul, .route-steps { padding-left: 1.45em; }
.details-body li { margin: 0 0 8px; }
.route-steps li::marker { color: var(--forest); font-weight: 700; }
@media (max-width: 600px) { .details-body { padding: 0 16px 18px; } .details-list summary { padding: 14px 16px; } }
.walk-facts { margin: 24px 0; padding: 18px 22px; border-left: 4px solid #66896b; background: #f0f3ed; }
.walk-facts p { margin: 0 0 8px; }
.walk-facts p:last-child { margin-bottom: 0; }
.walk-section { margin: 42px 0; }
.walk-section h3 { margin: 24px 0 10px; color: var(--forest); font: 700 1.08rem/1.4 Arial, sans-serif; }
.walk-timeline { padding-left: 1.6em; }
.walk-timeline li { margin: 0 0 13px; padding-left: 4px; }
.walk-timeline li::marker { color: var(--forest); font-weight: 700; }
.shortcut { padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: white; }

.home-maps { margin-top: 30px; }
.home-map { display: block; width: 100%; height: auto; margin: 0 auto 42px; }

/* Photo layout comparison links */
.photo-test-links { margin: 0; padding-left: 1.4em; }
.photo-test-links li { margin: 0 0 16px; }
.photo-test-links a { font-family: Arial, sans-serif; font-weight: 700; }

/* Word-layout photo tests: A4 sheets, one-inch margins and Word's default text scale */
.photo-layout-page { max-width: 890px; padding: 34px 26px 56px; }
.word-paper, .locked-word-page { position: relative; box-sizing: border-box; width: min(100%, 794px); aspect-ratio: 210 / 297; margin: 0 auto 20px; background: #fff; }
.word-paper { padding: 96px; }
.word-flow, .word-page-text { color: #000; font: 11pt/1.15 Calibri, Arial, sans-serif; }
.word-flow { width: 100%; }
.word-flow > p, .word-page-text p { margin: 0; font: inherit; }
.word-spacer { height: 2.3em; }
.word-single-spacer { height: 1.15em; }
.source-photo-paragraph { margin: 0; }
.source-photo-paragraph img { display: block; width: 100%; height: auto; }
.source-photo-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.source-photo-table td { padding: .08in; border: 1px solid #777; }
.source-photo-table img { display: block; width: 100%; height: auto; }
.continued-word-paper { padding-top: 96px; }
.locked-word-page { overflow: visible; }
.word-page-text { position: absolute; top: 8.5%; left: 12.1%; right: 12.1%; }
.word-page-text p { margin: 0; }
.locked-photo { position: absolute; width: 75.8%; height: auto; }
.first-locked-photo { top: 14.9%; left: 12.1%; }
.second-locked-photo { top: 12.8%; left: 10.8%; }
.third-locked-photo { top: 53.2%; left: 12.1%; }
.third-word-page { margin-bottom: 78px; }
@media (max-width: 600px) {
  .photo-layout-page { padding: 28px 12px 44px; }
  .word-paper, .locked-word-page { width: 100%; }
  .word-paper { padding: 12.1%; }
  .continued-word-paper { padding-top: 12.1%; }
}


/* Content carried over from the supplied Word documents */
.word-source { width: min(100%, 794px); margin: 0 auto; padding: var(--source-margin) var(--source-margin); background: #fff; color: #111; font-family: Arial, sans-serif; font-size: 11pt; line-height: normal; white-space: pre-wrap; }
.word-source > p { margin: 0 0 8pt; font: inherit; }
.word-source > p:has(br:only-child) { min-height: 1em; margin-bottom: 8pt; }
.word-source h1, .word-source h2, .word-source h3 { color: #111; font-family: Arial, sans-serif; letter-spacing: normal; line-height: normal; }
.word-source h1 { margin: 0 0 12pt; font-size: 20pt; }
.word-source h2 { margin: 12pt 0 6pt; font-size: 16pt; }
.word-source h3 { margin: 10pt 0 5pt; font-size: 14pt; }
@media (max-width: 600px) { .word-source { padding: 8vw; } }
.word-source.fireworks-source, .word-source.fireworks-source > p { font-size: 12pt; }

.word-source { white-space: normal; }
.word-source > p, .word-source > h1, .word-source > h2, .word-source > h3 { white-space: pre-wrap; }


/* Final Word document content */
.word-source { width:min(100%,794px); margin:0 auto; padding:var(--source-margin); background:#fff; color:#111; font:11pt/normal Arial,sans-serif; white-space:normal; }
.word-source > p { margin:0 0 8pt; font:inherit; white-space:pre-wrap; }
.word-source > p.word-no-spacing { margin-bottom:0; }
.word-source h1,.word-source h2,.word-source h3 { color:#111; font-family:Arial,sans-serif; letter-spacing:normal; line-height:normal; white-space:pre-wrap; }
.word-source h1 { margin:0 0 12pt; font-size:20pt; }
.word-source h2 { margin:12pt 0 6pt; font-size:16pt; }
.word-source h3 { margin:10pt 0 5pt; font-size:14pt; }
.word-source .source-list { margin:0 0 8pt; padding-left:24pt; list-style:disc; }
.word-source .source-list li { margin:0 0 8pt; padding-left:0; white-space:pre-wrap; }
.word-source .source-image-paragraph { margin:0 0 8pt; padding:0; }
.word-source .source-image-paragraph img { display:block; width:100%; max-width:602px; height:auto; }
.word-source.fireworks-source,.word-source.fireworks-source > p,.word-source.fireworks-source .source-list li { font-size:12pt; }
@media(max-width:600px) { .word-source { padding:8vw; } }
