/* WordPress-only additions on top of home.css / project.css. */

/* Logged-in editors: the fixed header sits below the admin bar. */
body.admin-bar nav#nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar nav#nav { top: 46px; } }

/* The card button is no longer a <button> (the whole card is clickable). */
.pch-btn { text-align: center; }
.proj-card:focus-visible, .bento-img:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* Form honeypot and messages. */
.ch-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ch-form-msg { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.5; color: #fca5a5; }
form[data-ch-form] button[disabled] { opacity: 0.6; cursor: progress; }

/* Lazy hero slides keep the same fade. */
.hero-slide[data-bg] { background-color: var(--navy-2); }

/* Plain text pages (privacy policy, 404). */
.ch-plain { padding: 11rem 5rem 6rem; background: var(--off-white, #F5F6F8); min-height: 70vh; }
.ch-plain__inner { max-width: 820px; margin: 0 auto; }
.ch-plain .sec-p { margin-top: 1rem; }
.ch-prose { margin-top: 2rem; font-size: 1rem; line-height: 1.85; color: var(--text-soft, #5A6480); }
.ch-prose h2, .ch-prose h3 { color: var(--navy, #0A1628); margin: 2.2rem 0 0.8rem; line-height: 1.3; }
.ch-prose p, .ch-prose ul, .ch-prose ol { margin: 0 0 1rem; }
.ch-prose ul, .ch-prose ol { padding-left: 1.4rem; }
.ch-prose a { color: var(--navy-light, #243E75); }
.ch-btn-dark { display: inline-block; padding: 0.9rem 2rem; background: var(--navy, #0A1628); color: #fff; text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; }
@media (max-width: 960px) { .ch-plain { padding: 8rem 1.8rem 4rem; } }

/* Project pages: layouts that adapt to the number of cards (the static pages set these by hand). */
.info-cards--compact .ic { padding: 2rem 1.5rem; }
.info-cards--compact .ic-val { font-size: 1rem; line-height: 1.2; }
.why-grid--compact .why-title { font-size: 0.92rem; line-height: 1.3; }
.why-title:last-child, .apt-rooms:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
	.why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.why-grid { grid-template-columns: 1fr; }
}

/* Form checkboxes keep their native look (a merged select rule sets appearance:none on all inputs). */
.cf input[type="checkbox"], .cform-check input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; padding: 0; }

/* Gallery with three equal columns (the Pumpurų g. page). */
.bento-grid--3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
@media (max-width: 960px) { .bento-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento-grid--3 { grid-template-columns: 1fr; } }
