/*
Theme Name: GetMarried Lite
Theme URI: https://getmarried.hk/
Author: PAPEPO
Author URI: https://getmarried.hk/
Description: Minimal safe shell theme for GetMarried.hk. Front-end UI is served by getmarried-revamp and getmarried-invitation plugins. Keep Extra Child installed for one-click rollback.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: getmarried-lite
Tags: custom-logo, custom-menu, blog, one-column

GetMarried Lite — pink/coral brand shell. No tracking, no external downloads, no API keys.
*/

:root {
	--gm-coral: #dd5454;
	--gm-coral-dark: #c44545;
	--gm-ink: #222222;
	--gm-muted: #666666;
	--gm-bg: #faf8f8;
	--gm-card: #ffffff;
	--gm-line: #eeeeee;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.gm-lite {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gm-ink);
	background: var(--gm-bg);
}

a {
	color: var(--gm-coral);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--gm-coral-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.gm-wrap {
	width: min(1080px, calc(100% - 32px));
	margin: 0 auto;
}

.gm-site-header {
	background: var(--gm-card);
	border-bottom: 1px solid var(--gm-line);
	padding: 14px 0;
}

.gm-site-header .gm-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.gm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gm-ink);
	text-decoration: none;
	font-weight: 700;
}

.gm-brand:hover,
.gm-brand:focus {
	text-decoration: none;
	color: var(--gm-ink);
}

.gm-brand img {
	height: 40px;
	width: auto;
}

.gm-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.gm-nav a {
	color: var(--gm-ink);
	font-size: 14px;
	font-weight: 600;
}

.gm-nav a:hover,
.gm-nav a:focus {
	color: var(--gm-coral);
}

.gm-main {
	padding: 28px 0 48px;
	min-height: 50vh;
}

.gm-card {
	background: var(--gm-card);
	border: 1px solid var(--gm-line);
	border-radius: 12px;
	padding: 24px;
}

.gm-entry-title {
	margin: 0 0 16px;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	line-height: 1.25;
	color: var(--gm-ink);
}

.gm-entry-meta {
	margin: 0 0 18px;
	color: var(--gm-muted);
	font-size: 14px;
}

.gm-entry-content > *:first-child {
	margin-top: 0;
}

.gm-entry-content > *:last-child {
	margin-bottom: 0;
}

.gm-entry-content .alignwide,
.gm-entry-content .alignfull {
	max-width: 100%;
}

.gm-list {
	display: grid;
	gap: 16px;
}

.gm-list-item h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.gm-list-item p {
	margin: 0;
	color: var(--gm-muted);
}

.gm-pagination {
	margin-top: 24px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.gm-pagination a,
.gm-pagination span {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid var(--gm-line);
	background: var(--gm-card);
	color: var(--gm-ink);
	font-size: 14px;
}

.gm-pagination .current {
	background: var(--gm-coral);
	border-color: var(--gm-coral);
	color: #fff;
}

.gm-search-form {
	display: flex;
	gap: 8px;
	margin: 0 0 20px;
}

.gm-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--gm-line);
	border-radius: 8px;
	font: inherit;
}

.gm-search-form button,
.gm-btn {
	appearance: none;
	border: 0;
	border-radius: 8px;
	background: var(--gm-coral);
	color: #fff;
	font: inherit;
	font-weight: 700;
	padding: 10px 16px;
	cursor: pointer;
}

.gm-search-form button:hover,
.gm-btn:hover {
	background: var(--gm-coral-dark);
}

.gm-empty {
	text-align: center;
	padding: 40px 16px;
}

.gm-empty h1 {
	margin: 0 0 12px;
	color: var(--gm-coral);
}

.gm-site-footer {
	background: var(--gm-coral);
	color: #fff;
	padding: 28px 0 0;
	margin-top: auto;
}

.gm-site-footer a {
	color: #fff;
	text-decoration: none;
}

.gm-site-footer a:hover,
.gm-site-footer a:focus {
	text-decoration: underline;
}

.gm-footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 24px;
	padding-bottom: 24px;
}

.gm-footer-brand img {
	width: 168px;
	height: auto;
	filter: brightness(0) invert(1);
}

.gm-footer-brand p {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.95;
}

.gm-footer-col h3 {
	margin: 0 0 10px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gm-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gm-footer-col li + li {
	margin-top: 6px;
}

.gm-footer-col a {
	font-size: 14px;
}

.gm-footer-legal {
	background: #000;
	color: #fff;
	text-align: center;
	margin: 0;
	padding: 12px 16px;
	font-size: 13px;
}

@media (max-width: 720px) {
	.gm-footer-grid {
		grid-template-columns: 1fr;
	}

	.gm-brand img {
		height: 34px;
	}

	.gm-card {
		padding: 18px;
	}
}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important;}

.gm-brand--custom .custom-logo-link{display:inline-flex;}
.gm-brand--custom .custom-logo{height:40px;width:auto;}
