/*
Theme Name: Gallery Robinson
Template: radiate
Version: 1.0.0
Description: A small, site-specific presentation layer for Gallery Robinson.
*/

:root {
	--gr-ink: #17212b;
	--gr-muted: #59636d;
	--gr-blue: #1c667a;
	--gr-blue-dark: #124b5c;
	--gr-surface: #f5f7f7;
	--gr-line: #dce3e5;
}

/* The parent theme uses a 10px rem base; this site uses normal reading scale. */
html { font-size: 100%; }

body {
	background: #fff;
	color: var(--gr-ink);
	font-family: Roboto, Arial, sans-serif;
	line-height: 1.65;
}

a { color: var(--gr-blue-dark); }
a:hover, a:focus { color: #0b3f4d; }

.inner-wrap, .header-wrap {
	max-width: 1120px;
	width: calc(100% - 48px);
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--gr-line);
	box-shadow: none;
	padding: 22px 0;
}

.site-branding { float: left; }
.site-title, .site-title a {
	color: var(--gr-ink);
	font-family: Merriweather, Georgia, serif;
	font-size: 1.45rem;
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0;
}
.site-title a:hover { color: var(--gr-blue-dark); }
.site-description {
	color: var(--gr-muted);
	font-size: .86rem;
	letter-spacing: .02em;
	margin: 5px 0 0;
}

.header-search-icon, .search-form { display: none; }
.main-navigation { float: right; margin-top: 7px; }
.main-navigation ul { margin: 0; }
.main-navigation a {
	color: var(--gr-ink);
	font-size: .95rem;
	padding: 10px 0 10px 28px;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_item a {
	color: var(--gr-blue-dark);
}

.site-content { padding: 0; }
.content-area { float: none; margin: 0; width: 100%; }
.site-main { margin: 0; }
.site-main article { margin-bottom: 0; }
.entry-header { margin: 0; }
.entry-title {
	color: var(--gr-ink);
	font-family: Merriweather, Georgia, serif;
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.18;
}
.entry-content { color: var(--gr-muted); font-size: 1.06rem; }

.gr-hero {
	background: #fff;
	border-bottom: 1px solid var(--gr-line);
	padding: 82px 0 76px;
}
.gr-hero__inner, .gr-section__inner, .gr-page {
	margin: 0 auto;
	max-width: 1120px;
	width: calc(100% - 48px);
}
.gr-hero__inner { align-items: center; display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
.gr-hero__copy { min-width: 0; }
.gr-hero__image { margin: 0; }
.gr-hero__image img { border-radius: 4px; display: block; height: auto; max-width: 100%; }
.gr-eyebrow {
	color: var(--gr-blue-dark);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	margin: 0 0 16px;
	text-transform: uppercase;
}
.gr-hero h1, .gr-section h2 {
	color: var(--gr-ink);
	font-family: Merriweather, Georgia, serif;
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.2;
}
.gr-hero h1 { font-size: clamp(2.15rem, 4vw, 3.6rem); margin: 0; max-width: 720px; }
.gr-lead { color: var(--gr-muted); font-size: 1.08rem; margin: 24px 0 0; max-width: 620px; }
.gr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gr-button {
	background: var(--gr-blue);
	border: 1px solid var(--gr-blue);
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: .96rem;
	font-weight: 700;
	padding: 12px 19px;
	text-decoration: none;
}
.gr-button:hover, .gr-button:focus { background: var(--gr-blue-dark); border-color: var(--gr-blue-dark); color: #fff; }
.gr-button--quiet { background: transparent; color: var(--gr-blue-dark); }
.gr-button--quiet:hover, .gr-button--quiet:focus { background: #e9f1f2; color: var(--gr-blue-dark); }

.gr-section { padding: 66px 0; }
.gr-section--soft { background: #f7f8f8; border-bottom: 1px solid var(--gr-line); border-top: 1px solid var(--gr-line); }
.gr-section h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 16px; }
.gr-section-intro { color: var(--gr-muted); font-size: 1.08rem; margin: 0; max-width: 690px; }
.gr-services { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.gr-service { border-top: 1px solid var(--gr-line); padding-top: 16px; }
.gr-service h3 { color: var(--gr-ink); font-family: Merriweather, Georgia, serif; font-size: 1.05rem; font-weight: 400; margin: 0 0 7px; }
.gr-service p { color: var(--gr-muted); margin: 0; }
.gr-contact-line { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.gr-contact-line h2 { margin-bottom: 8px; }
.gr-contact-line p { color: var(--gr-muted); margin: 0; }

.gr-page { max-width: 860px; padding: 64px 0 76px; }
.gr-page .entry-header { border-bottom: 1px solid var(--gr-line); margin-bottom: 30px; padding-bottom: 20px; }
.gr-page .entry-content { max-width: none; }
.gr-page .entry-content p { margin-bottom: 1.2em; }
.gr-page .entry-content ul { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 30px 0 0; padding: 0; }
.gr-page .entry-content li { background: var(--gr-surface); border: 1px solid var(--gr-line); margin: 0; padding: 20px; }
.gr-page .entry-content li a { font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.gr-page .entry-content li a::after { content: " ↗"; font-weight: 400; }

.site-footer { background: #17212b; border: 0; color: #dce3e5; padding: 28px 0; }
.site-footer .site-info { margin: 0 auto; max-width: 1120px; text-align: left; width: calc(100% - 48px); }
.gr-footer { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; }
.gr-footer p { margin: 0; }
.gr-footer a { color: #fff; }
#scroll-up { background: var(--gr-blue); }

/* Override Radiate's legacy fixed/parallax header behavior. */
#masthead { margin-bottom: 0 !important; }
#content { background: #fff !important; padding-top: 0 !important; }
.header-wrap {
	align-items: center;
	background: #fff;
	display: flex;
	justify-content: space-between;
	left: auto;
	margin: 0 auto;
	opacity: 1;
	position: relative !important;
	right: auto;
	top: auto !important;
	width: calc(100% - 48px) !important;
}
body.admin-bar .header-wrap { top: auto !important; }
.site-title { float: none; padding: 0 !important; }
.main-navigation { float: none; }
.main-navigation li {
	border-left: 0;
	font-size: .95rem;
	line-height: normal;
}
.main-navigation a { padding: 10px 0 10px 25px; }
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
	background: transparent;
	color: var(--gr-blue-dark);
}

@media screen and (max-width: 768px) {
	html, body, #page { min-width: 0 !important; width: 100%; }
	.inner-wrap, .header-wrap, .gr-hero__inner, .gr-section__inner, .gr-page { width: calc(100% - 32px); }
	.site-header { padding: 17px 0; }
	.site-branding { float: none; }
	.header-wrap { align-items: flex-start; flex-direction: column; }
	.main-navigation { float: none; margin-top: 12px; }
	.main-navigation a { padding: 8px 19px 8px 0; }
	.gr-hero { padding: 58px 0; }
	.gr-hero__inner { gap: 30px; grid-template-columns: 1fr; }
	.gr-hero__image { max-width: 620px; }
	.gr-section { padding: 48px 0; }
	.gr-services { grid-template-columns: 1fr; }
	.gr-page { padding: 48px 0 58px; }
	.gr-page .entry-content ul { grid-template-columns: 1fr; }
}

@media screen and (max-width: 420px) {
	body { overflow-x: hidden; }
	.gr-lead, .gr-section-intro, .gr-service p { font-size: 1rem; overflow-wrap: anywhere; }
}
