/* Neighbourhood guides (owner, 1 Nov 2026, harmony-ops#697). Phone first, 8px grid, the brand teal only on links and actions,
   no gradients, glows or decoration (owner's design rule, 31 Oct). Greys pass AA on white. */

.gd { padding: 16px 0 40px; color: #12303a; }
.gd h1 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; text-transform: none; letter-spacing: normal; color: #12303a; }
.gd h2 { font-size: 20px; line-height: 1.3; margin: 0 0 16px; text-transform: none; letter-spacing: normal; color: #12303a; }
.gd h3 { font-size: 16px; margin: 16px 0 8px; text-transform: none; color: #12303a; }
.gd section { padding: 0; }
.gd section.gd-card { padding: 16px; }   /* the old theme's section rule must not remove the card's padding */
.gd a { color: #146c75; }
.gd-crumb { font-size: 14px; color: #4b6670; margin: 0 0 16px; }
.gd-crumb a { display: inline-block; padding: 12px 4px; margin: -12px -4px; min-width: 44px; text-align: center; }
.gd-preview { background: #fff4dc; color: #7a4f00; border-radius: 8px; padding: 8px 16px; margin: 0 0 16px; font-size: 15px; }
.gd-preview a { color: #7a4f00; font-weight: 700; }
.gd-head { margin: 0 0 24px; }
.gd-kind { font-size: 14px; font-weight: 700; color: #4b6670; margin: 0 0 8px; }
.gd-sub { font-size: 15px; color: #4b6670; margin: 0 0 8px; }
.gd-how { font-size: 15px; margin: 0; color: #26414b; }

.gd-photo { margin: 0 0 24px; }
.gd-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 8px; display: block; background: #eef2f4; }
.gd-photo figcaption { font-size: 13px; color: #4b6670; margin-top: 8px; }

.gd-gallery-wrap { margin: 0 0 24px; }
.gd-gallery-count { font-size: 13px; font-weight: 700; color: #4b6670; margin: 0 0 8px; }
.gd-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding-bottom: 8px; }
.gd-gallery-item { flex: 0 0 85%; max-width: 480px; scroll-snap-align: start; margin: 0; }
@media (min-width: 900px) {
	.gd-gallery-swipe { display: none; }
	.gd-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; scroll-snap-type: none; gap: 16px; padding-bottom: 0; }
	.gd-gallery-item { flex: auto; max-width: none; }
}
@media (min-width: 1200px) {
	.gd-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gd-gallery-item img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; display: block; background: #eef2f4; }
.gd-gallery-item figcaption { font-size: 12px; color: #4b6670; margin-top: 6px; overflow-wrap: anywhere; }

.gd-history { margin: 0 0 24px; }
.gd-history p { font-size: 16px; line-height: 1.6; margin: 0 0 12px; color: #26414b; }
.gd-history p:last-of-type { margin-bottom: 0; }
.gd-fn a { font-weight: 700; color: #146c75; text-decoration: none; padding: 0 2px; }
.gd-footnotes { list-style: decimal; padding-left: 20px; margin: 16px 0 0; border-top: 1px solid #e6edf0; padding-top: 12px; font-size: 13px; color: #4b6670; }
.gd-footnotes li { padding: 2px 0; }
.gd-footnotes a { color: #146c75; }

.gd-card { border: 1px solid #dfe7ea; border-radius: 8px; padding: 16px; margin: 0 0 16px; background: #fff; }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 900px) { .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gd-wide { grid-column: 1 / -1; } }

.gd-overall { margin: 0 0 16px; display: flex; align-items: baseline; gap: 8px; }
.gd-overall strong { font-size: 40px; line-height: 1; }
.gd-overall span { font-size: 15px; color: #4b6670; }
.gd-score-list { list-style: none; padding: 0; margin: 0; }
.gd-score-list li { padding: 8px 0; border-top: 1px solid #e6edf0; }
.gd-score-list li:first-child { border-top: 0; }
.gd-score-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gd-score-k { font-weight: 700; color: #12303a; flex: 1 1 auto; }
.gd-score-v { font-weight: 700; color: #12303a; white-space: nowrap; flex: 0 0 auto; text-align: right; }
.gd-score-list small { display: block; color: #4b6670; font-size: 14px; margin-top: 2px; }
.gd-note { font-size: 14px; color: #4b6670; margin: 16px 0 0; }

.gd-dl { margin: 0; }
.gd-row { padding: 8px 0; border-top: 1px solid #e6edf0; }
.gd-row:first-child { border-top: 0; padding-top: 0; }
.gd-row dt { font-size: 14px; font-weight: 700; color: #26414b; margin: 0 0 4px; }
.gd-row dd { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.gd-src { display: block; font-size: 13px; color: #4b6670; margin-top: 4px; }
.gd-none { color: #4b6670; font-style: italic; }
.gd-np { color: #26414b; }
.gd-scope { display: inline-block; font-size: 13px; font-weight: 700; color: #26414b; background: #eef2f4; border-radius: 4px; padding: 0 8px; margin-left: 4px; }
.gd-news, .gd-good, .gd-plain { list-style: none; padding: 0; margin: 0; }
.gd-news li, .gd-good li { padding: 4px 0; }
.gd-news time { font-weight: 700; margin-right: 4px; }
.gd-news small { color: #4b6670; }
.gd-plain li { padding: 4px 0 4px 16px; position: relative; }
.gd-plain li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #4b6670; }

.gd-am { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .gd-am { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gd-am h3 { margin: 0 0 8px; display: flex; justify-content: space-between; }
.gd-am h3 span { color: #4b6670; }
.gd-am ul { list-style: none; padding: 0; margin: 0; }
.gd-am li { padding: 4px 0; font-size: 15px; }
.gd-am li a { display: inline-block; padding: 12px 0; margin: -12px 0; min-height: 44px; }
.gd-am li small { color: #4b6670; }

.gd-landmarks-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .gd-landmarks-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gd-lm-item { border: 1px solid #e6edf0; border-radius: 8px; padding: 12px; background: #fafbfc; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.gd-lm-main { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gd-lm-name { font-size: 15px; color: #12303a; font-weight: 700; }
.gd-lm-kind { font-size: 12px; font-weight: 700; color: #146c75; background: #d7edf4; padding: 2px 8px; border-radius: 12px; white-space: nowrap; }
.gd-lm-source { font-size: 13px; color: #4b6670; }

.gd-listings, .gd-places, .gd-faq { margin: 24px 0 0; }
.gd-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .gd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .gd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gd-cards a { display: block; border: 1px solid #dfe7ea; border-radius: 8px; overflow: hidden; color: #12303a; text-decoration: none; }
.gd-cards img { width: 100%; height: 160px; object-fit: cover; display: block; background: #eef2f4; }
.gd-cards a > span { display: block; padding: 8px 16px 16px; }
.gd-cards strong { display: block; margin-bottom: 4px; }
.gd-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid #cbd8de; border-radius: 24px; text-decoration: none; }
.gd-faq details { border-top: 1px solid #e6edf0; }
.gd-faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; padding: 8px 0; }
.gd-faq details p { margin: 0 0 16px; }
/* inline text links get a 44px hit area without moving the text (the tap-target rule, owner 30 Oct) */
.gd p a:not(.lp-btn), .gd dd a, .gd-plain a, .gd-preview a, .gd-photo figcaption a { padding: 14px 0; background-clip: content-box; }
.gd a:focus-visible, .gd summary:focus-visible { outline: 3px solid #146c75; outline-offset: 2px; }

/* the editor */
.gda-top { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.gda-tree, .gda-tree ul { list-style: none; padding: 0; margin: 0; }
.gda-tree ul { padding-left: 16px; border-left: 2px solid #e6edf0; margin-left: 8px; }
.gda-tree li { padding: 4px 0; }
.gda-tree a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #12303a; }
.gda-tree small { color: #4b6670; }
.gda-st { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 12px; background: #eef2f4; color: #26414b; }
.gda-st.is-published { background: #e3f4ea; color: #1e6b37; }
.gda-st.is-ready { background: #d7edf4; color: #146c75; font-weight: 700; }
.gda-st.is-ready-facts { background: #fff4dc; color: #7a4f00; }
.gda-tree-item { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.gda-inline-publish { display: inline-block; margin: 0; }
.gda-inline-publish .epa-btn { min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 700; }
.gda-fact { border: 1px solid #e6edf0; border-radius: 8px; padding: 8px 16px; margin: 0 0 16px; min-width: 0; }
.gda-fact.is-bad { border-color: #c0392b; }
.gda-fact legend { font-size: 16px; font-weight: 700; color: #12303a; padding: 0 8px; width: auto; margin: 0; border: 0; }
.gda-err { color: #8a1c12; font-size: 14px; margin: 0 0 8px; }
.gda-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 900px) { .gda-row { grid-template-columns: 200px minmax(0, 2fr) minmax(0, 2fr) 170px; } .gda-row .gda-val { grid-column: span 1; } }
#gd-photos input[type=file] { min-height: 48px; padding: 8px 0; font-size: 16px; }
.gda-photos { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
.gda-photos li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.gda-photos li.is-draft { border: 1.5px dashed #d97706; background: #fffdf5; border-radius: 8px; padding: 12px; }
.gda-draft-badge { font-size: 12px; font-weight: 700; color: #b45309; background: #fef3c7; padding: 2px 8px; border-radius: 12px; }
.gda-staff-box { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e6edf0; }
.gda-staff-box h3 { font-size: 16px; margin: 0 0 8px; color: #12303a; }
.gda-photos img { width: 160px; height: 107px; object-fit: cover; border-radius: 8px; }
.gda-log { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.gda-log li { padding: 8px 0; border-top: 1px solid #e6edf0; }
.gda-log small { display: block; color: #4b6670; overflow-wrap: anywhere; }

/* Rate your area (owner, 1 Nov 2026) */
.gd-block { font-size: 14px; font-weight: 700; color: #4b6670; margin: 0 0 8px; }
.rr-narrow { max-width: 720px; }
.rr-alert { border-radius: 8px; padding: 8px 16px; margin: 0 0 16px; }
.rr-alert.is-ok { background: #e3f4ea; color: #1e6b37; }
.rr-alert.is-bad { background: #fdecea; color: #8a1c12; }
.rr-form { display: grid; gap: 8px; margin: 0 0 16px; }
.rr-form label { font-weight: 700; font-size: 15px; color: #26414b; }
.rr-form input:not([type=radio]):not([type=checkbox]), .rr-form textarea { width: 100%; min-height: 48px; padding: 8px 12px; font-size: 16px; border: 1.5px solid #cbd8de; border-radius: 8px; box-sizing: border-box; color: #12303a; background: #fff; }
.rr-form input[type=file] { padding: 8px 0; border: 0; min-height: 48px; }
.rr-form .lp-btn { justify-self: start; }
.rr-stars-set, .rr-inline { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.rr-stars-set legend, .rr-inline legend { font-weight: 700; font-size: 16px; color: #12303a; margin-bottom: 8px; }
.rr-stars-set legend span { font-weight: 400; font-size: 14px; color: #4b6670; }
.rr-star-row { padding: 8px 0; border-top: 1px solid #e6edf0; }
.rr-star-l { display: block; font-weight: 700; color: #26414b; }
.rr-star-l small { display: block; font-weight: 400; color: #4b6670; }
.rr-star-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rr-star-opts label { margin: 0; }
.rr-star-opts input { position: absolute; opacity: 0; }
.rr-star-opts span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 8px; border: 1.5px solid #cbd8de; border-radius: 8px; font-weight: 700; color: #26414b; cursor: pointer; }
.rr-star-opts input:checked + span { background: #146c75; border-color: #146c75; color: #fff; }
.rr-star-opts input:focus-visible + span { outline: 3px solid #146c75; outline-offset: 2px; }
.rr-inline label { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.rr-inline .rr-years input { width: 80px; }
.rr-consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; padding: 8px 0; }
.rr-consent input { width: 24px; height: 24px; flex: 0 0 auto; }
.rr-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-sort a { display: inline-block; padding: 12px 0; }
.rr-bars { list-style: none; padding: 0; margin: 0 0 16px; }
.rr-bars li { display: grid; grid-template-columns: 1fr 96px 32px 24px; gap: 8px; align-items: center; padding: 4px 0; font-size: 15px; }
.rr-bar { height: 8px; background: #e6edf0; border-radius: 4px; overflow: hidden; }
.rr-bar i { display: block; height: 100%; background: #146c75; }
.rr-bars small { color: #4b6670; }
.rr-reviews { list-style: none; padding: 0; margin: 16px 0 0; }
.rr-review { border-top: 1px solid #e6edf0; padding: 16px 0; }
.rr-who { font-size: 14px; color: #4b6670; margin: 0 0 8px; }
.rr-badge { display: inline-block; font-size: 13px; font-weight: 700; background: #eef2f4; color: #26414b; border-radius: 4px; padding: 0 8px; }
.rr-chips span { display: inline-block; font-size: 13px; background: #f4f7f9; color: #26414b; border-radius: 4px; padding: 2px 8px; margin: 0 4px 4px 0; }
.rr-photos { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rr-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.rr-reply { border-left: 3px solid #146c75; padding: 0 0 0 16px; margin: 8px 0; }
.rr-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.rr-acts form { margin: 0; }
.rr-acts .lp-btn-sm { min-height: 44px; }
.rr-replyform { display: grid; gap: 8px; width: 100%; }
.rr-replyform textarea { width: 100%; min-height: 48px; font-size: 16px; border: 1.5px solid #cbd8de; border-radius: 8px; padding: 8px; }
.rra-list { list-style: none; padding: 0; margin: 0; }
.rra-item { border-top: 1px solid #e6edf0; padding: 16px 0; }
.rra-meta, .rra-stars { font-size: 14px; color: #26414b; }
.rra-why { color: #7a4f00; background: #fff4dc; border-radius: 4px; padding: 4px 8px; font-size: 14px; }
.rra-text { white-space: normal; overflow-wrap: anywhere; }
.rra-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; }
.rra-act .epa-input { max-width: 320px; min-height: 44px; }
.rra-photos { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 16px; }
.rra-photo { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.rra-photo img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; }
.rra-flag { font-size: 14px; color: #26414b; }
.rra-flag.is-warn { color: #8a1c12; font-weight: 700; }
.rr-inline input[type=radio], .rr-consent input[type=checkbox] { appearance: auto; -webkit-appearance: auto; opacity: 1; position: static; display: inline-block; width: 24px; height: 24px; margin: 0; flex: 0 0 auto; }
.rr-form .rr-years { display: flex; align-items: center; gap: 8px; }
.rr-form .rr-years input:not([type=radio]):not([type=checkbox]) { width: 96px; flex: 0 0 auto; }
.rr-form .rr-years { font-weight: 400; }
.rr-inline input[type=radio], .rr-consent input[type=checkbox] { accent-color: #146c75; }
.rra-item p, .rra-text { color: #26414b; }
.rr-h2 { font-size: 18px; margin: 16px 0 8px; }

/* guides v2 (owner, 21 Nov 2026): at a glance, history notes, estates, everyday living, pros and cons. Taps 44px, inputs 16px */
.gd-summary { font-size: 17px; line-height: 1.6; margin: 0 0 16px; color: #26414b; }
.gd-local { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #e6edf0; }
.gd-local h3 { margin-top: 0; }
.gd-tip { margin: 16px 0 0; }
.gd-tip summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.gd-tip summary::-webkit-details-marker { display: none; }
.gd-tip-form { display: grid; gap: 8px; margin-top: 16px; max-width: 640px; }
.gd-tip-form label { font-size: 15px; font-weight: 700; color: #26414b; margin-top: 8px; }
.gd-tip-form textarea, .gd-tip-form input { font-size: 16px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #b9c8ce; border-radius: 8px; }
.gd-tip-form button { min-height: 44px; justify-self: start; }
.gd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gd-estates, .gd-lv-list, .gd-pros, .gd-cons { list-style: none; padding: 0; margin: 0; }
.gd-estates li { padding: 8px 0; border-top: 1px solid #e6edf0; font-size: 15px; color: #4b6670; }
.gd-estates li:first-child { border-top: 0; }
.gd-estates li > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; margin-right: 8px; }
.gd-living { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
@media (min-width: 900px) { .gd-living { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gd-lv-h { grid-column: 1 / -1; } }
.gd-lv-title { font-size: 16px; margin: 16px 0 4px; }
.gd-lv-title span { font-weight: 400; color: #4b6670; font-size: 14px; }
.gd-living h4 { color: #12303a; text-transform: none; letter-spacing: normal; }
.gd-lv-list li { padding: 0 0 8px; border-top: 1px solid #e6edf0; display: flex; flex-direction: column; align-items: flex-start; }
.gd-lv-list li:first-child { border-top: 0; }
.gd-lv-name { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.gd-lv-meta { font-size: 14px; color: #4b6670; }
.gd-gmaps { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.gd-pc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
@media (min-width: 900px) { .gd-pc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gd-pros li, .gd-cons li { padding: 4px 0 4px 24px; position: relative; font-size: 16px; line-height: 1.5; }
.gd-pros li::before { content: "+"; position: absolute; left: 4px; font-weight: 700; color: #146c75; }
.gd-cons li::before { content: "\2212"; position: absolute; left: 4px; font-weight: 700; color: #8a3b12; }
.gd-pc-src { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.gd-utilities { margin: 24px 0 0; }
.gd-utilities .gd-card h3 { margin-top: 0; font-size: 18px; }
.gd-listings .gd-cards { margin-top: 8px; }

/* Lagos-Calabar Coastal Highway (owner, 22 Nov 2026; views/coastal.php, classes/coastal.php) */
.ch-quote { margin: 0 0 16px; padding: 8px 0 8px 16px; border-left: 3px solid #146c75; }
.ch-quote p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; color: #1A1F24; }
.ch-quote .ch-cite { font-size: 14px; line-height: 1.5; color: #4A5560; font-style: normal; margin: 0; }
.ch-quote .ch-cite a { overflow-wrap: anywhere; }
.ch-quote .ch-cite .gd-src { display: inline; margin: 0 0 0 4px; }
.ch-list, .ch-areas { margin: 0 0 8px; padding-left: 20px; }
.ch-list li, .ch-areas li { margin: 0 0 8px; line-height: 1.5; }
.ch-table-wrap { overflow-x: auto; margin: 0 0 8px; }
.ch-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ch-table th, .ch-table td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-top: 1px solid #e6edf0; }
.ch-table thead th { font-size: 14px; color: #4A5560; font-weight: 600; border-top: 0; }
.ch-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.ch-links .lp-btn { min-height: 44px; display: inline-flex; align-items: center; }
.ch h3 { font-size: 17px; margin: 16px 0 8px; }
