/* Summertown Corner theme: the few styles theme.json cannot express. */

/* Card: white panel with a soft border. */
.is-style-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	overflow: hidden;
}
.is-style-card.has-purple-background-color { border-color: var(--wp--preset--color--purple); }

/* Photo slot: a tinted panel until a real photo replaces it. */
.is-style-photo {
	background: var(--wp--preset--color--purple-soft);
	border-radius: 12px;
	color: #5b4a7a;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.is-style-photo.has-purple-background-color,
.is-style-photo.has-purple-dark-background-color { color: #d9cdea; }
.is-style-card > .is-style-photo { border-radius: 0; }

/* Real photos from the media library. */
.wp-block-image.stc-photo { margin: 0; width: 100%; }
.wp-block-image.stc-photo img { display: block; width: 100%; border-radius: 12px; }
.is-style-card > .wp-block-image.stc-photo img { border-radius: 0; }

/* Small uppercase label above a heading. */
p.is-style-kicker {
	color: var(--wp--preset--color--gold-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}
.has-purple-background-color p.is-style-kicker,
.has-purple-dark-background-color p.is-style-kicker { color: var(--wp--preset--color--gold); }

/* Links in lists without bullets (footer, cross-links). */
ul.is-style-plain { list-style: none; padding-left: 0; }
ul.is-style-plain li { margin: 0.2rem 0; }
.has-purple-dark-background-color a, .has-purple-background-color a:not(.wp-element-button) { color: var(--wp--preset--color--white); }

/* Buttons: comfortable touch size; outline on dark backgrounds. */
.wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }
.wp-block-button.is-style-outline > .wp-block-button__link { border-width: 2px; padding-top: calc(0.75rem - 2px); padding-bottom: calc(0.75rem - 2px); }
.has-purple-background-color .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); }

/* Header */
.stc-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.stc-header .wp-block-site-logo img { display: block; }
.stc-header .wp-block-navigation a { text-decoration: none; }
.stc-header .wp-block-navigation .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--wp--preset--color--gold); }

/* Hero overlap: the search bar sits over the hero's bottom edge. */
.stc-overlap { margin-top: -2.5rem !important; position: relative; z-index: 2; }
.stc-shadow { box-shadow: 0 6px 24px rgba(42, 15, 85, 0.12); }

/* Status chips on suite cards */
.stc-chip { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; background: #e5f2e7; color: #1f5a2c; }

/* Forms rendered by the theme's shortcodes */
.stc-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.stc-form .stc-field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 160px; }
.stc-form .stc-field.stc-wide { flex-basis: 100%; }
.stc-form label { font-size: 0.875rem; font-weight: 700; color: var(--wp--preset--color--purple); }
.stc-form input, .stc-form select, .stc-form textarea {
	font: inherit; padding: 0.6rem 0.75rem; min-height: 44px; box-sizing: border-box;
	border: 1px solid #cfc6b5; border-radius: 6px; background: #fff; color: var(--wp--preset--color--ink); width: 100%;
}
.stc-form textarea { min-height: 120px; }
.stc-form input:focus, .stc-form select:focus, .stc-form textarea:focus { outline: 3px solid var(--wp--preset--color--gold); outline-offset: 1px; }
.stc-form button {
	font: inherit; font-weight: 700; background: var(--wp--preset--color--purple); color: #fff; border: 0; border-radius: 6px;
	padding: 0.75rem 1.4rem; min-height: 44px; cursor: pointer;
}
.stc-form button:hover { background: #3d1a73; }
.stc-form .stc-note { flex-basis: 100%; margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }
.stc-hp { position: absolute !important; left: -9999px !important; }
.stc-msg { padding: 0.9rem 1.1rem; border-radius: 8px; background: #e5f2e7; color: #1f5a2c; font-weight: 600; }
.stc-msg.stc-err { background: #f6e9e6; color: #8a2e1c; }

/* Hall spaces (from the booking plugin's areas) */
.stc-spaces { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.stc-space { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.stc-space img, .stc-space .stc-space-photo { width: 100%; height: 170px; object-fit: cover; display: block; background: var(--wp--preset--color--purple-soft); }
.stc-space .stc-space-photo { display: flex; align-items: center; justify-content: center; color: #5b4a7a; font-size: 0.9375rem; }
.stc-space-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.stc-space h3 { margin: 0; }
.stc-space-meta { color: var(--wp--preset--color--muted); font-size: 0.9375rem; margin: 0; }
.stc-space-price { margin: 0; font-weight: 700; }
.stc-space.stc-space-whole { grid-column: 1 / -1; background: var(--wp--preset--color--purple); border-color: var(--wp--preset--color--purple); color: #fff; }
.stc-space.stc-space-whole h3 { color: #fff; }
.stc-space.stc-space-whole .stc-space-meta { color: var(--wp--preset--color--lilac-text); }

p.has-large-font-size { line-height: 1.5; }
.stc-hero-photo { border: 1px solid rgba(255,255,255,0.16); }

/* Header: compact buttons */
.stc-header .wp-block-button__link { padding: 0.55rem 1rem; font-size: 0.9375rem; }

@media (max-width: 781px) {
	.stc-overlap { margin-top: -1.5rem !important; }
	.stc-hero-photo-col:has(.is-style-photo) { display: none; }
	.stc-hero-photo-col .stc-photo img { height: 220px !important; }
	.stc-header .wp-block-button + .wp-block-button { display: none; }
}

/* Page sections run edge to edge: no gap between the content and the footer. */
.wp-site-blocks > main,
.wp-site-blocks > footer { margin-block-start: 0; }
.stc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stc-chips .stc-chip { background: var(--wp--preset--color--purple-soft); color: var(--wp--preset--color--purple); font-size: 0.9375rem; padding: 0.35rem 0.9rem; }

/* Alivia's content from the Ops Hub */
.stc-hours { list-style: none; margin: 0; padding: 0; }
.stc-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.stc-hours li:last-child { border-bottom: 0; }
.stc-alivias-text h3 { font-size: var(--wp--preset--font-size--large); margin: 1rem 0 0.4rem; }
.stc-alivias-text p, .stc-alivias-text ul { margin: 0 0 0.75rem; }
.stc-alivias-empty { color: var(--wp--preset--color--muted); }
.stc-alivias-menu-img { max-width: 100%; height: auto; border-radius: var(--wp--custom--radius); }
