/*
Theme Name: Trilogy Committee
Description: Private residents' portal for the Trilogy Limassol Seafront Management Committee. All-in-one: includes the portal features (private site, access requests, owners-only areas, forms) and adds the site's pages and content automatically. The separate Trilogy Portal plugin is no longer needed.
Version: 4.9.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trilogy-committee
License: GPL-2.0-or-later
*/

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --ink: #111111;
  --muted: #4D4A45;
  --greige: #DFDBD3;
  --greige-light: #EFECE6;
  --tab: #E3DFD7;
  --line: #D6D1C7;
  --field: #C8C2B6;
  --blue: #3047D6;
  --blue-dark: #1F2F9C;
  --sky: #3AC5EF;
  --white: #FFFFFF;
  --wide: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--greige-light);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

h1, h2, h3, .wide { font-stretch: var(--wide); font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: 0.005em; }
h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
h2 { font-size: 20px; margin: 0 0 16px; }
h3 { font-size: 17px; margin: 0 0 10px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-word { font-size: 24px; font-weight: 800; font-stretch: var(--wide); line-height: 1; }
.brand-place { font-size: 9px; font-weight: 600; letter-spacing: 0.32em; color: var(--blue); }
.brand-body { font-size: 10px; font-weight: 700; font-stretch: var(--wide); letter-spacing: 0.02em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.main-nav a:hover { background: var(--greige-light); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--tab); font-weight: 600; }
.main-nav .sign-out a { color: var(--muted); }

/* Banner with the logo's corner shapes */
.banner { position: relative; overflow: hidden; background: var(--greige); }
.banner::before, .banner::after { content: ""; position: absolute; top: 0; right: 0; }
.banner::before { width: 360px; height: 110px; background: var(--sky); clip-path: polygon(0 0, 100% 0, 100% 40%, 76% 100%, 74% 100%); }
.banner::after { width: 240px; height: 180px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.banner .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; }
.banner .meta { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--blue); }
.banner p { margin: 0; max-width: 560px; color: var(--muted); }
@media (max-width: 700px) {
  .banner::before { width: 180px; height: 56px; }
  .banner::after { width: 110px; height: 84px; }
  .banner .wrap { padding-top: 72px; padding-bottom: 40px; }
}

/* Layout */
.site-main { padding: 40px 0 64px; }
.columns { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.columns .primary { flex: 999 1 560px; min-width: 0; }
.columns .secondary { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 40px; }

/* Notices list */
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { border-top: 1px solid var(--line); }
.notice-list a { display: flex; gap: 20px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.notice-list .date { flex: 0 0 84px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.notice-list .cat { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--blue); }
.notice-list .title { display: block; font-size: 16px; font-weight: 600; }
.notice-list .excerpt { display: block; font-size: 14px; color: var(--muted); }
.notice-list a:hover .title { color: var(--blue); }
.empty { color: var(--muted); margin: 0; }

/* Meeting card */
.meeting { background: var(--blue); color: var(--white); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.meeting .label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; }
.meeting .when { font-size: 24px; font-weight: 800; font-stretch: var(--wide); line-height: 1.15; }
.meeting .btn { margin-top: 8px; background: var(--white); color: var(--blue-dark); }
.meeting .btn:hover { background: var(--greige-light); color: var(--blue-dark); }
.contacts p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.contacts a { color: var(--ink); }
.contacts .general { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.contacts .general a { color: var(--blue); font-weight: 600; }

/* Quick links */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.quick a { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.quick a:hover { border-color: var(--blue); }
.quick strong { font-size: 16px; font-weight: 600; }
.quick span { font-size: 14px; color: var(--muted); }

/* Buttons and forms */
.btn, button, input[type="submit"], .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 8px; background: var(--blue); color: var(--white); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover, button:hover, input[type="submit"]:hover { background: var(--blue-dark); color: var(--white); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 8px; font: inherit; background: var(--white); color: var(--ink);
}

/* Content pages */
.entry { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4vw, 48px); }
.entry-content { max-width: 72ch; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-meta { color: var(--muted); font-size: 14px; margin: -6px 0 24px; }
.restricted { background: var(--greige); border-radius: 12px; padding: 32px; }
.pagination { margin-top: 24px; display: flex; gap: 12px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Contact form */
.tlp-contact p { margin: 0 0 18px; }
.tlp-contact label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.tlp-contact .tlp-opt { font-weight: 400; color: var(--muted); }
.tlp-contact input[readonly] { background: var(--greige-light); border-color: var(--line); color: var(--muted); }
.tlp-contact textarea { resize: vertical; line-height: 1.5; }
.tlp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 12px; }
.tlp-note, .tlp-hint { font-size: 13px; color: var(--muted); }
.tlp-hint { display: block; margin-top: 6px; }
.tlp-check label { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.tlp-check input { width: 18px; height: 18px; }
.tlp-hp { position: absolute; left: -9999px; }
.tlp-contact button { min-width: 200px; }
.tlp-contact-error { margin: 0 0 20px; padding: 14px 16px; border-radius: 8px; background: #FBE9E7; font-size: 14px; }
.tlp-contact-done { padding: 12px 0; }
.tlp-contact-done .tlp-bar { display: block; width: 56px; height: 4px; margin-bottom: 14px; background: var(--blue); }
.btn-outline { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--greige-light); color: var(--blue-dark); }
.meeting a { color: var(--white); }

.contacts .note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }
.meeting .note { font-size: 13px; line-height: 1.5; opacity: 0.9; margin-top: 4px; }

/* Collapsible sections (Details block), used on House Rules */
.entry-content .wp-block-details { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; background: var(--white); }
.entry-content .wp-block-details summary {
	list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative;
	font-weight: 700; font-stretch: var(--wide); font-size: 15px; text-transform: uppercase; line-height: 1.3;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	font-size: 22px; font-weight: 400; color: var(--blue);
}
.entry-content .wp-block-details[open] summary::after { content: "–"; }
.entry-content .wp-block-details[open] summary { border-bottom: 1px solid var(--line); }
.entry-content .wp-block-details > *:not(summary) { margin-left: 18px; margin-right: 18px; }
.entry-content .wp-block-details > *:last-child { margin-bottom: 18px; }
.entry-content .wp-block-details h4 { font-size: 14px; font-stretch: var(--wide); text-transform: uppercase; margin: 20px 18px 8px; }
.entry-content ol[type="a"] { list-style-type: lower-alpha; }
.entry-content li { margin-bottom: 6px; }
.entry-content .wp-block-table { margin: 12px 18px 16px; overflow-x: auto; }
.entry-content .wp-block-table table { display: table; min-width: 480px; font-size: 14px; }
.entry-content .wp-block-table th { background: var(--greige-light); font-weight: 600; }

/* Protocols page */
.protocol-group h2 { margin-bottom: 8px; }
.protocol-group-desc { margin: 0 0 14px; color: var(--muted); }
.protocols { max-width: none; }
.protocols .protocol-summary { font-weight: 600; margin-top: 16px; }
.protocols .protocol-meta { font-size: 13px; color: var(--muted); }
.protocol-help { margin: 0; color: var(--muted); font-size: 15px; }

/* Committee page */
.entry-content .committee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 24px 0 32px; }
.entry-content .committee-grid .member { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--greige-light); }
.entry-content .committee-grid .member::before { content: ""; position: absolute; top: 0; left: 20px; width: 40px; height: 4px; background: var(--blue); }
.entry-content .member-role { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.entry-content .member-name { margin: 0; font-size: 18px; line-height: 1.2; }
.entry-content:has(.committee-grid) { max-width: none; }
/* Protocols: one text size throughout, like the original letters */
.protocols .wp-block-details > p, .protocols .wp-block-details li { font-size: 15px; line-height: 1.6; }
.protocols .wp-block-details h2, .protocols .wp-block-details h3, .protocols .wp-block-details h4 { font-size: 15px; font-stretch: 100%; text-transform: none; font-weight: 700; margin: 18px 18px 6px; }

/* ---------------------------------------------------------------
 * Letters: Owners Updates, Protocols and the Facilities letter all
 * share one layout and one text size.
 * ------------------------------------------------------------- */
.panels { max-width: none; }
.panels .wp-block-details summary { padding-top: 14px; padding-bottom: 14px; }
.panel-meta { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 600; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.panel-title { display: block; }
.panels .letter { margin: 0 18px; padding: 4px 0 18px; }
.letter { max-width: 72ch; }
.letter p, .letter li, .letter td, .letter th { font-size: 15px; line-height: 1.6; }
.letter p { margin: 12px 0 0; }
.letter ul, .letter ol { margin: 10px 0 0; padding-left: 22px; }
.letter h2, .letter h3, .letter h4 { font-size: 15px; font-stretch: 100%; font-weight: 700; text-transform: none; margin: 18px 0 0; }
.letter .wp-block-table { margin: 14px 0 0; overflow-x: auto; }
.letter .wp-block-table table { min-width: 520px; }
.letter .panel-link { margin-top: 18px; font-size: 13px; }
.letter-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 8px; }
.entry .panel-meta { margin-bottom: 8px; }
.entry .letter { max-width: 72ch; }
.wp-block-button__link { color: var(--white); }
.wp-block-buttons { margin: 16px 0; }

/* Owners' WhatsApp group card */
.whatsapp h3 { margin-bottom: 8px; }
.whatsapp p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.whatsapp-qr { width: 180px; max-width: 100%; margin: 4px 0 16px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.whatsapp-qr svg { display: block; width: 100%; height: auto; }
.whatsapp .btn { width: 100%; }
.whatsapp .note { margin: 12px 0 0; font-size: 13px; }

.meeting .btn + .btn { margin-top: 0; }

/* Proxy form page */
.letter-panel .letter h2 { font-size: 17px; font-stretch: var(--wide); text-transform: uppercase; margin: 28px 0 10px; }
.letter-panel .letter h2:first-child { margin-top: 0; }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 0 0 12px 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.banner .meta { margin-bottom: 8px; }

/* Home: latest updates use the same panels */
.primary.panel .panels { margin-top: 16px; }
/* AGM minutes */
.minutes { max-width: none; }
.minutes p, .minutes li, .minutes td, .minutes th { font-size: 15px; line-height: 1.6; }
.minutes details.nested { margin: 14px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--greige-light); }
.minutes details.nested summary { padding: 12px 40px 12px 14px; font-size: 14px; font-weight: 600; font-stretch: 100%; text-transform: none; }
.minutes details.nested[open] summary { border-bottom: 1px solid var(--line); }
.minutes details.nested .wp-block-table { margin: 0; max-height: 420px; overflow: auto; background: #fff; }
.minutes details.nested table { min-width: 0; width: 100%; }

[hidden] { display: none !important; }
/* Online proxy form */
.tlp-proxy h3 { margin: 32px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.tlp-proxy h3:first-of-type { margin-top: 20px; }
.tlp-proxy .tlp-wide { grid-column: 1 / -1; }
.tlp-choice, .tlp-checks { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tlp-choice legend, .tlp-checks legend { width: 100%; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.tlp-choice label, .tlp-checks label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px; background: #fff; font-size: 15px; font-weight: 400; cursor: pointer; margin: 0; }
.tlp-choice label:has(input:checked), .tlp-checks label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.tlp-scope { margin: 0 0 8px; padding-left: 20px; font-size: 14px; color: var(--muted); }
.tlp-scope li { margin-bottom: 8px; }
.tlp-proxy .tlp-check label { align-items: flex-start; font-size: 15px; }
.tlp-proxy .tlp-check input { margin-top: 3px; flex: 0 0 auto; }
.tlp-proxy button[type="submit"] { width: 100%; max-width: 420px; }
.proxy-paper { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
/* Proxy scope choice */
.tlp-scope-choice { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 8px; }
.tlp-scope-choice label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--field); border-radius: 8px; background: #fff; font-weight: 400; cursor: pointer; margin: 0; }
.tlp-scope-choice label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.tlp-scope-choice input { margin-top: 4px; flex: 0 0 auto; }
.tlp-scope-choice strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tlp-scope-text { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 4px; }

.contacts .big-number a { color: var(--blue); font-size: 20px; font-weight: 700; text-decoration: none; }

/* Financial tables (Budget page) */
.fin table { width: 100%; min-width: 640px; border-collapse: collapse; }
.fin th, .fin td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.45; }
.fin th { background: var(--greige-light); font-weight: 600; position: sticky; top: 0; }
.fin .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin tr.group td { background: var(--greige-light); font-weight: 700; font-stretch: var(--wide); text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.fin tr.total td { font-weight: 700; border-top: 2px solid var(--ink); }
.minutes .fin { max-height: none; margin: 14px 0 0; overflow-x: auto; }

.btn-whatsapp { width: 100%; margin-top: 4px; }

/* CCTV preference page */
.key-points { padding-left: 20px; }
.key-points li { margin-bottom: 8px; }
.tlp-prev { margin: 0 0 18px; padding: 14px 16px; border-radius: 8px; background: var(--greige-light); border-left: 4px solid var(--blue); font-size: 15px; }
.meeting .when + span { margin-bottom: 8px; }

/* My Profile and Notifications */
.panel.narrow { max-width: 820px; }
.tlp-profile form + form { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.tlp-profile .tlp-unit-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr auto; gap: 8px; align-items: end; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--greige-light); }
.tlp-profile .tlp-unit-row p { margin: 0; }
.tlp-profile .tlp-remove-unit, .tlp-profile .tlp-add-unit { min-height: 44px; padding: 0 12px; border-radius: 8px; background: transparent; color: var(--blue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tlp-profile .tlp-remove-unit { border: 0; }
.tlp-profile .tlp-add-unit { border: 1px dashed var(--blue); margin: 4px 0 16px; }
.tlp-units { border: 0; padding: 0; margin: 0; }
@media (max-width: 560px) { .tlp-profile .tlp-unit-row { grid-template-columns: 1fr 1fr; } }
.tlp-toggle { display: flex; gap: 14px; align-items: flex-start; padding: 16px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.tlp-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tlp-switch { flex: 0 0 46px; height: 26px; border-radius: 13px; background: var(--field); position: relative; transition: background .15s; margin-top: 2px; }
.tlp-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.tlp-toggle input:checked + .tlp-switch { background: var(--blue); }
.tlp-toggle input:checked + .tlp-switch::after { left: 23px; }
.tlp-toggle input:focus-visible + .tlp-switch { outline: 2px solid var(--blue); outline-offset: 2px; }
.tlp-toggle strong { display: block; font-size: 15px; }

/* Running announcement banner */
.announcement { display: block; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap; }
a.announcement:hover { color: #fff; }
.ann-track { display: inline-flex; animation: ann-scroll 40s linear infinite; }
.announcement:hover .ann-track, .announcement:focus .ann-track { animation-play-state: paused; }
.ann-item { padding: 10px 28px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.ann-item::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 14px; border-radius: 50%; background: var(--sky); vertical-align: middle; }
@keyframes ann-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ann-track { animation: none; }
	.announcement { white-space: normal; text-align: center; }
	.ann-item:not(:first-child) { display: none; }
}

/* Profile: stored information and multiple contacts */
.tlp-info { margin: 0 0 32px; padding: 20px 22px; border-radius: 10px; background: var(--greige-light); }
.tlp-info h3 { margin: 0 0 6px; font-size: 15px; }
.tlp-info dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 8px 16px; margin: 14px 0 0; font-size: 15px; }
.tlp-info dt { font-weight: 600; color: var(--muted); }
.tlp-info dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .tlp-info dl { grid-template-columns: 1fr; gap: 2px; } .tlp-info dd { margin-bottom: 10px; } }
.tlp-multi { border: 0; padding: 0; margin: 0 0 18px; }
.tlp-multi legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.tlp-multi-row { display: flex; gap: 8px; margin-bottom: 8px; }
.tlp-multi-row select { flex: 0 0 120px; }
.tlp-multi-row input { flex: 1; min-width: 0; }
.tlp-multi-remove { flex: 0 0 auto; border: 0; background: none; color: var(--blue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0 8px; }
.tlp-multi-add { min-height: 44px; padding: 0 12px; border: 1px dashed var(--blue); border-radius: 8px; background: transparent; color: var(--blue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Fix: notification switches (the form's general label style was overriding them) */
.tlp-contact label.tlp-toggle { display: flex; position: relative; gap: 14px; align-items: flex-start; margin: 0 0 10px; font-size: 15px; font-weight: 400; }
.tlp-contact label.tlp-toggle .tlp-switch { display: block; flex: 0 0 46px; width: 46px; height: 26px; }
.tlp-contact label.tlp-toggle > span:last-child { display: block; flex: 1; min-width: 0; }
.tlp-contact label.tlp-toggle strong { margin-bottom: 2px; }
.tlp-contact label.tlp-toggle .tlp-scope-text { font-weight: 400; }

/* Book a Room */
.tlp-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tlp-rooms a { padding: 10px 18px; border: 1px solid var(--field); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.tlp-rooms a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tlp-week-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: 15px; }
.tlp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.tlp-day { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; min-height: 120px; display: flex; flex-direction: column; gap: 6px; }
.tlp-day-head { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 13px; }
.tlp-day-head span { display: block; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--muted); }
.tlp-free { font-size: 13px; color: var(--muted); }
.tlp-slot { border-radius: 6px; padding: 6px 8px; font-size: 13px; line-height: 1.3; }
.tlp-slot span { display: block; font-weight: 700; }
.tlp-slot em { font-style: normal; }
.tlp-slot.taken { background: var(--greige); color: var(--ink); }
.tlp-slot.mine { background: var(--blue); color: #fff; }
.tlp-book form.tlp-contact { margin-top: 24px; }
.tlp-mine { margin-top: 28px; }
.tlp-mine h3 { font-size: 15px; }
.tlp-mine-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tlp-mine-row button { min-height: 40px; min-width: 0; padding: 0 14px; }
@media (max-width: 700px) { .tlp-day { min-height: 0; } }

.tlp-rules { margin: 24px 0 0; padding: 18px 20px; border-radius: 10px; background: var(--greige-light); border-left: 4px solid var(--blue); }
.tlp-rules h3 { margin: 0 0 8px; font-size: 15px; }
.tlp-rules ul { margin: 0; padding-left: 20px; font-size: 15px; }
.tlp-rules li { margin-bottom: 6px; }
.tlp-rules p { margin: 8px 0 0; font-size: 14px; }

/* Reception: cancel a booking */
.tlp-cancel summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: 13px; list-style: none; }
.tlp-cancel summary::-webkit-details-marker { display: none; }
.tlp-cancel form { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; min-width: 200px; }
.tlp-cancel input { min-height: 38px; font-size: 13px; }
.tlp-cancel button { min-height: 38px; font-size: 13px; padding: 0 10px; background: #b3261e; }
.tlp-cancel button:hover { background: #8c1d17; }

/* Room closures */
.tlp-slot.closed { background: repeating-linear-gradient(135deg, #111111 0 8px, #2a2a2a 8px 16px); color: #fff; }
.tlp-closures { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.tlp-closures h3 { font-size: 15px; }
.tlp-dt { display: flex; gap: 8px; }
.tlp-dt input[type="date"] { flex: 1.4; } .tlp-dt input[type="time"] { flex: 1; }
.fin tr.closed-row td { background: #111111; color: #fff; }

.tlp-slot, .tlp-day { overflow-wrap: anywhere; min-width: 0; }
.tlp-book { min-width: 0; max-width: 100%; }

/* Committee: member card with a biography */
.entry-content .committee-grid .member.has-bio { grid-column: 1 / -1; }
.entry-content .member-bio { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink); max-width: 75ch; }

/* President card with photo */
.entry-content .committee-grid .member.has-bio { display: grid; grid-template-columns: 180px 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; padding: 24px; }
.entry-content .member.has-bio .member-photo { grid-row: 1 / span 3; margin: 0; }
.entry-content .member.has-bio .member-photo img { display: block; width: 180px; height: 225px; object-fit: cover; border-radius: 10px; }
.entry-content .member.has-bio .member-role { margin-top: 4px; }
@media (max-width: 640px) {
	.entry-content .committee-grid .member.has-bio { grid-template-columns: 1fr; }
	.entry-content .member.has-bio .member-photo { grid-row: auto; margin-bottom: 16px; }
	.entry-content .member.has-bio .member-photo img { width: 140px; height: 175px; }
}

/* Fix: WordPress wraps Group blocks in an inner container on classic themes,
   which stopped the Committee grid and the President card layout working. */
.entry-content .committee-grid .wp-block-group__inner-container { display: contents; }
.entry-content .committee-grid .member > * { margin-top: 0; }
.entry-content .member.has-bio .member-role,
.entry-content .member.has-bio .member-name,
.entry-content .member.has-bio .member-bio { grid-column: 2; }
.entry-content .member.has-bio .member-photo { grid-column: 1; grid-row: 1 / span 3; }
@media (max-width: 640px) {
	.entry-content .member.has-bio .member-role,
	.entry-content .member.has-bio .member-name,
	.entry-content .member.has-bio .member-bio,
	.entry-content .member.has-bio .member-photo { grid-column: 1; grid-row: auto; }
}
.entry-content .member.has-bio .member-bio { max-width: none; }
.entry-content:has(.committee-grid) { max-width: none; }

/* Home: CCTV preference call to action (owners) */
.cta-cctv { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 14px; background: #FFB21E; color: #111; text-decoration: none; box-shadow: 0 6px 18px rgba(255,160,0,.28); border: 2px solid #111; }
.cta-cctv:hover { color: #111; background: #FFC247; }
.cta-cctv .cta-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #111; color: #FFB21E; display: flex; align-items: center; justify-content: center; }
.cta-cctv .cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cta-cctv strong { font-size: 19px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; line-height: 1.15; }
.cta-cctv .cta-text span { font-size: 15px; line-height: 1.45; }
.cta-cctv .cta-btn { flex: 0 0 auto; padding: 12px 20px; border-radius: 8px; background: #111; color: #fff; font-weight: 700; white-space: nowrap; }
.cta-cctv.done { background: #FFF4DC; box-shadow: none; border-color: #E8C77A; }
.cta-cctv.done .cta-icon { background: #E8C77A; color: #111; }
@media (max-width: 640px) {
	.cta-cctv { flex-wrap: wrap; padding: 18px; }
	.cta-cctv .cta-icon { width: 46px; height: 46px; }
	.cta-cctv .cta-text { flex: 1 1 200px; }
	.cta-cctv .cta-btn { width: 100%; text-align: center; }
}

/* Phone numbers never split across lines */
a[href^="tel:"] { white-space: nowrap; }
.contacts p a[href^="tel:"], .meeting a[href^="tel:"] { display: inline-block; font-weight: 600; }

/* Member card with a biography but no photo */
.entry-content .committee-grid .member.has-bio.no-photo { display: block; }
.entry-content .member.has-bio.no-photo .member-role,
.entry-content .member.has-bio.no-photo .member-name,
.entry-content .member.has-bio.no-photo .member-bio { grid-column: auto; }

/* All biography cards aligned the same way; initials stand in until a photo is added */
.entry-content .member.has-bio .member-initials { width: 180px; height: 225px; border-radius: 10px; background: var(--greige); display: flex; align-items: center; justify-content: center; }
.entry-content .member.has-bio .member-initials span { font-size: 44px; font-weight: 800; font-stretch: var(--wide); color: var(--blue); letter-spacing: .04em; }
@media (max-width: 640px) { .entry-content .member.has-bio .member-initials { width: 140px; height: 175px; } }

/* Form grids: fields line up even when one label is longer */
.tlp-grid { align-items: start; }
.tlp-grid > p { display: flex; flex-direction: column; margin: 0; }
.tlp-grid > p > label { min-height: 1.5em; }
.tlp-grid .tlp-hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.tlp-multi-row input, .tlp-multi-row select { max-width: none; }
.tlp-multi-row { max-width: 640px; }
.tlp-contact .tlp-multi-remove, .tlp-contact .tlp-remove-unit { min-width: 0; width: auto; flex: 0 0 auto; padding: 0 8px; }

/* Apartments/offices rows: all fields the same height and lined up */
.tlp-profile .tlp-unit-row > p { display: flex; flex-direction: column; justify-content: flex-end; margin: 0; }
.tlp-profile .tlp-unit-row label { margin-bottom: 6px; }
.tlp-contact select, .tlp-contact input[type="text"], .tlp-contact input[type="email"], .tlp-contact input[type="tel"], .tlp-contact input[type="password"], .tlp-contact input[type="date"], .tlp-contact input[type="time"] { box-sizing: border-box; height: 48px; min-height: 48px; padding-top: 0; padding-bottom: 0; line-height: 46px; }
.tlp-profile .tlp-unit-row .tlp-remove-unit { height: 48px; align-self: end; }
@media (max-width: 480px) { .tlp-multi-row select { flex: 0 0 100px; } .tlp-multi-row .tlp-multi-remove { padding: 0 4px; } }

/* Biographies with several paragraphs */
.entry-content .member.has-bio { grid-template-rows: auto; grid-auto-rows: auto; }
.entry-content .member.has-bio .member-photo { grid-row: 1 / span 20; align-self: start; }
.entry-content .member.has-bio .member-bio + .member-bio { margin-top: 10px; }
@media (max-width: 640px) { .entry-content .member.has-bio .member-photo { grid-row: auto; } }

/* Get the App */
.app-install { display: flex; flex-direction: column; gap: 20px; }
.app-hero { display: flex; align-items: center; gap: 16px; }
.app-hero img { border-radius: 20px; box-shadow: 0 4px 14px rgba(48,71,214,.25); }
.app-hero strong { display: block; font-size: 24px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; }
.app-hero span { color: var(--muted); font-size: 15px; }
.app-install-btn { min-height: 52px; padding: 0 28px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.app-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.app-step-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--greige-light); }
.app-step-card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; }
.app-step-card ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; }
.app-step-card li { margin-bottom: 6px; }
.app-glyph { display: inline-block; min-width: 1.4em; text-align: center; font-weight: 700; color: var(--blue); }
.app-installed p { margin: 0; padding: 12px 16px; border-radius: 8px; background: #E3F1E6; color: #1E5B2E; font-weight: 600; }
/* Installed app: respect the phone's notch / home bar */
@media (display-mode: standalone) { body { padding-bottom: env(safe-area-inset-bottom); } .site-header { padding-top: env(safe-area-inset-top); } }

/* Home: "Get the Trilogy app" bar (phones, not yet installed) */
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.app-bar[hidden] { display: none; }
.app-bar img { border-radius: 10px; flex: 0 0 auto; }
.app-bar span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.app-bar strong { display: block; font-size: 15px; color: var(--ink); }
.app-bar a { flex: 0 0 auto; padding: 8px 16px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.app-bar button { flex: 0 0 auto; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; min-width: 0; }
/* Notifications page: phone notifications */
.push-box { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--line); }
.push-box h3 { font-size: 15px; }
.push-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.push-actions button { min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.push-actions .btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.push-status:empty { display: none; }
.push-status { padding: 10px 14px; border-radius: 8px; background: var(--greige-light); font-size: 14px; }

/* Highlight "Get the App" in the menu and on the home page */
.main-nav a[href*="/install-app"] { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff !important; border-radius: 999px; padding: 8px 16px !important; font-weight: 700; }
.main-nav a[href*="/install-app"]::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat; }
.main-nav a[href*="/install-app"]:hover { background: #1F2F9C; }
.quick a[href*="/install-app"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(48,71,214,.28); position: relative; padding-right: 64px; }
.quick a[href*="/install-app"] strong, .quick a[href*="/install-app"] span { color: #fff; }
.quick a[href*="/install-app"]::after { content: ""; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 9px; background: #fff url("assets/app/icon-192.png") center / cover no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.quick a[href*="/install-app"]:hover { background: #1F2F9C; }

/* Home: "Get the Trilogy app" bar, shown at the top for everyone until installed or closed */
.app-bar { background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 18px rgba(48,71,214,.28); padding: 14px 16px; }
.app-bar img { width: 52px; height: 52px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.app-bar span { color: rgba(255,255,255,.88); font-size: 14px; }
.app-bar strong { color: #fff; font-size: 18px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; }
.app-bar a { background: #fff; color: var(--blue); padding: 10px 18px; white-space: nowrap; }
.app-bar button { color: #fff; opacity: .8; }
@media (max-width: 560px) { .app-bar { flex-wrap: wrap; } .app-bar span { flex: 1 1 160px; } .app-bar a { order: 3; width: 100%; text-align: center; } .app-bar button { position: absolute; right: 8px; top: 6px; } .app-bar { position: relative; } }

/* ---------------------------------------------------------------
   Menu button (all screen sizes) and slide-in menu
   --------------------------------------------------------------- */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; width: 48px; height: 48px; padding: 0 9px; margin: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; flex: 0 0 auto; min-width: 0; }
.menu-toggle span { display: block; height: 3px; width: 30px; border-radius: 2px; background: var(--ink); transition: width .2s; }
.menu-toggle span:nth-child(2) { width: 20px; }
.menu-toggle:hover { background: var(--greige-light); }
.menu-toggle:hover span:nth-child(2) { width: 30px; }
.menu-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(360px, 88vw); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
body.menu-open .main-nav { transform: none; }
body.menu-open { overflow: hidden; }
.menu-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(17,17,17,.45); }
.menu-overlay[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.menu-head span { font-size: 18px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; }
.menu-head .menu-close { border: 0; background: none; font-size: 32px; line-height: 1; color: var(--ink); cursor: pointer; padding: 0 4px; min-width: 0; width: auto; }
.main-nav ul { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 10px 12px 20px; }
.main-nav li { width: 100%; }
.main-nav a { display: block; padding: 13px 14px; font-size: 16px; border-radius: 8px; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--tab); font-weight: 700; box-shadow: inset 3px 0 0 var(--blue); }
.main-nav a[href*="/install-app"] { display: inline-flex; margin: 6px 0; }
.main-nav .sign-out { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .main-nav { transition: none; } }
.main-nav { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
body.menu-open .main-nav { visibility: visible; transition: transform .25s ease, visibility 0s; }

/* ---------------------------------------------------------------
   Menu redesign: Trilogy colours and type
   --------------------------------------------------------------- */
.menu-toggle span:nth-child(2) { background: var(--blue); }
.menu-overlay { background: rgba(17,17,17,.5); backdrop-filter: blur(2px); }
.main-nav { background: var(--greige-light); box-shadow: -14px 0 40px rgba(17,17,17,.22); }
.main-nav::before { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 70px; background: linear-gradient(200deg, var(--blue) 0 30%, transparent 30%), linear-gradient(195deg, var(--sky) 0 46%, transparent 46%); pointer-events: none; }
.menu-head { position: relative; background: var(--greige); border-bottom: 0; padding: 26px 22px 22px; align-items: flex-start; }
.menu-brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.menu-brand .brand-word { font-size: 24px; font-weight: 800; font-stretch: var(--wide); letter-spacing: .01em; color: var(--ink); }
.menu-brand .brand-place { font-size: 8px; font-weight: 700; letter-spacing: .34em; color: var(--blue); }
.menu-brand .brand-body { font-size: 9px; font-weight: 700; font-stretch: var(--wide); color: var(--ink); }
.menu-head .menu-close { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.menu-label { display: block; padding: 18px 26px 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.menu-label::after { content: ""; display: block; width: 32px; height: 3px; background: var(--blue); margin-top: 8px; }
.main-nav ul { gap: 0; padding: 6px 14px 24px; }
.main-nav li { border-bottom: 1px solid var(--line); }
.main-nav li.sign-out { border-bottom: 0; }
.main-nav a { padding: 14px 12px; border-radius: 0; font-size: 14px; font-weight: 700; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); transition: color .15s, padding-left .15s; }
.main-nav a:hover { background: transparent; color: var(--blue); padding-left: 18px; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: transparent; color: var(--blue); box-shadow: inset 4px 0 0 var(--blue); padding-left: 18px; }
.main-nav li:has(> a[href*="/install-app"]) { border-bottom: 0; padding: 12px 0 4px; }
.main-nav a[href*="/install-app"] { text-transform: none; font-stretch: 100%; font-size: 15px; letter-spacing: 0; padding: 10px 18px !important; }
.main-nav a[href*="/install-app"]:hover { padding-left: 18px; color: #fff; }
.main-nav .sign-out { margin-top: 10px; border-top: 0; }
.main-nav .sign-out a { font-size: 13px; color: var(--muted); }
.main-nav::before { z-index: 1; width: 200px; height: 64px; background: linear-gradient(202deg, var(--blue) 0 28%, transparent 28.5%), linear-gradient(196deg, var(--sky) 0 44%, transparent 44.5%); }
.menu-head .menu-close { z-index: 2; }

.main-nav a[href*="/install-app"] { white-space: normal; text-align: left; line-height: 1.25; }

/* Home: owners updates and BeCyprus updates stacked in the main column */
.primary-stack { display: flex; flex-direction: column; gap: 24px; }
.updates-panel .panels { margin-top: 16px; }
.bc-panel { border-top: 4px solid var(--sky); }
.bc-panel .panel-meta { color: #0E7FA6; }

/* Long links and words (e.g. WhatsApp or website addresses) wrap inside updates and pages */
.entry-content, .letter, .panels, details .letter, .wp-block-details { overflow-wrap: anywhere; word-break: normal; min-width: 0; }
.entry-content a, .letter a { overflow-wrap: anywhere; word-break: break-word; }
.entry-content p, .letter p, .entry-content li, .letter li { overflow-wrap: anywhere; }
