/*
Theme Name: Get Love Registry
Description: Responsive .LOVE registry theme with Advanced Custom Fields Free.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: get-love
*/

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

:root {
	--ink: #281722;
	--muted: #65525d;
	--wine: #671441;
	--dark-wine: #41102e;
	--berry: #861a54;
	--paper: #fdf8f7;
	--line: #e8d9e0;
	--white: #fff;
	--width: 72rem;
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .18em; }
a:hover { color: var(--berry); }
:focus-visible { outline: .18rem solid currentColor; outline-offset: .25rem; }
h1, h2, h3 { margin: 0 0 .75em; line-height: 1.12; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.7rem, 6.7vw, 6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--width), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: .5rem; left: .75rem; padding: .65rem 1rem; transform: translateY(-160%); background: white; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2.25rem; padding-block: 1.05rem; }
.wordmark { display: inline-block; color: var(--wine); font-size: 2.3rem; line-height: 1; font-weight: 850; letter-spacing: -.09em; text-decoration: none; }
.wordmark span { color: #ce859d; }
.custom-logo { width: auto; max-width: 11rem; max-height: 3rem; object-fit: contain; }
.site-nav ul, .site-footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .4rem 0; font-size: .95rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav [aria-current="page"] { text-decoration: underline; }
.site-nav .sub-menu { flex-basis: 100%; padding-left: .75rem; font-size: .9rem; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--dark-wine); color: var(--white); }
.hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	background:
		radial-gradient(ellipse at 12% 100%, #9d2b596b, transparent 61%),
		radial-gradient(ellipse at 91% 29%, #ac4a7266, transparent 51%);
}
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.75rem, 9vw, 7.5rem); }
.hero h1 { max-width: 9ch; margin-bottom: .27em; }
.hero p, .page-hero p { max-width: 34rem; font-size: clamp(1.05rem, 2.1vw, 1.27rem); line-height: 1.5; }
.hero p { color: #f6e0ec; margin-bottom: 1.5rem; }
.hero-search, .lookup-panel { min-width: 0; border-radius: 1rem; border: 1px solid var(--line); padding: clamp(1.3rem, 3.5vw, 2rem); background: var(--white); color: var(--ink); }
.hero-search { box-shadow: 0 1.2rem 3rem #23071f3d; }
.hero-search h2 { margin-bottom: .65em; }
.domain-form label { display: block; font-size: .91rem; font-weight: 650; margin-bottom: .5rem; }
.domain-input { display: flex; flex-wrap: wrap; gap: .6rem; }
.domain-input input { min-width: 0; flex: 1 1 11rem; }
input, button, textarea, select { font: inherit; }
input:not([type="hidden"], [type="radio"], [type="checkbox"], [type="submit"]), textarea, select {
	padding: .65rem .8rem;
	border: 1px solid #bca6b0;
	border-radius: .42rem;
	background: #fff;
	color: var(--ink);
}
button, .button, input[type="submit"] {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: .68rem 1.05rem;
	border: 1px solid transparent;
	border-radius: .42rem;
	background: var(--wine);
	color: var(--white);
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}
button:hover, .button:hover, input[type="submit"]:hover { background: var(--berry); color: var(--white); }
.button-light { background: #fbe9ef; color: var(--dark-wine); }
.button-light:hover { background: var(--white); color: var(--dark-wine); }
.button-outline { background: transparent; border-color: var(--wine); color: var(--wine); }
.page-hero { background: #f6e8ee; padding-block: clamp(2.75rem, 6vw, 5rem); }
.page-hero h1 { max-width: 20ch; margin-bottom: .22em; font-size: clamp(2.35rem, 6vw, 4.5rem); overflow-wrap: anywhere; }
.page-hero p { color: var(--muted); margin-bottom: 0; }
.section, .content-area { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.split { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(1.4rem, 5vw, 4rem); align-items: start; }
.page-copy { max-width: 49rem; }
.prose, .news-card, .lookup-panel { overflow-wrap: anywhere; }
.prose > :last-child, .lookup-panel > :last-child { margin-bottom: 0; }
.prose li + li { margin-top: .4rem; }
.prose h2:not(:first-child) { margin-top: 1.5em; }
.document-panel { padding: clamp(1.25rem, 4vw, 2rem); background: #f5e8ee; border-radius: .75rem; }
.document-panel h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); }
.document-panel ul { margin: 0; padding-left: 1.3rem; }
.panel-stack { margin-top: 2rem; }
.registrar-details { border: 1px solid var(--line); border-radius: .75rem; background: var(--white); }
.registrar-details summary { padding: .9rem 1.2rem; color: var(--wine); font-weight: 700; cursor: pointer; }
.registrar-details > div { padding: 0 1rem 1rem; }
.table-title { margin-top: 2rem; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 33rem; font-size: .93rem; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: .65rem .8rem; text-align: left; }
.table-scroll th { background: #f5e8ee; }
.table-scroll tbody tr:nth-child(odd) { background: var(--white); }
.page-copy + .registrar-details { margin-top: 2rem; }
.lookup-panel { max-width: 46rem; }
.lookup-panel .domain-form + p { margin-top: 1rem; }
.lookup-result { border-left: .25rem solid var(--wine); background: #f5e8ee; padding: .7rem .85rem; }
.registrars, .news-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.registrars { padding: 0; margin: 0; list-style: none; }
.registrars li, .news-card { background: var(--white); border: 1px solid var(--line); border-radius: .75rem; padding: 1.35rem; }
.registrars li { text-align: center; }
.registrars li img { width: 100%; height: 4rem; object-fit: contain; margin-bottom: .6rem; }
.news-section { background: #faeff2; }
.news-card time { display: block; margin-bottom: .65rem; color: var(--muted); font-size: .88rem; }
.news-card h2 { font-size: 1.55rem; }
.news-card p:last-child { margin-bottom: 0; }
.contact-panel { max-width: 44rem; margin-top: 2.5rem; }
.contact-panel input:not([type="submit"]), .contact-panel textarea { max-width: 100%; }
.site-footer { background: #f5e8ee; border-top: 1px solid var(--line); }
.footer-inner { padding-block: 2rem; }
.site-footer nav a { font-size: .9rem; }
@media (max-width: 47rem) {
	.hero-grid, .split { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.header-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
	.site-nav ul, .site-footer nav { gap: .25rem 1rem; }
}
@media (max-width: 25rem) {
	.wrap { width: calc(100% - 2rem); }
	.domain-input button { width: 100%; }
}
