/* Rebecca Guy Realtor main site. Copy of the GoDaddy theme: navy #2f4156, panel #f0f4f9,
   Source Sans (body), Contrail One (page titles), Libre Baskerville (serif headings). */
:root {
  --navy: #2f4156;
  --panel: #f0f4f9;
  --ink: #1b1b1b;
  --body: #595959;
  --line: #e2e6ec;
  --wrap: 1112px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--body); font: 400 16px/1.6 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 16px; font-weight: 400; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section.wrap { padding-top: 48px; padding-bottom: 48px; }
.center { text-align: center; }
.small { font-size: 14px; }

/* headings */
.script { font-family: 'Contrail One', serif; font-style: italic; font-size: 32px; letter-spacing: .5px; color: var(--ink); }
.script.navy { color: var(--navy); }
.script.big { font-size: 40px; }
h1.script { margin-bottom: 32px; }
.serif { font-family: 'Libre Baskerville', Georgia, serif; color: var(--navy); }
.white { color: #fff !important; }

/* buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; text-transform: uppercase;
  font: 700 13px/1.3 'Source Sans 3', Arial, sans-serif; letter-spacing: 2px; padding: 16px 32px; border: 0; cursor: pointer; text-align: center; }
.btn:hover { background: #233142; }
.btn.wide { display: block; width: 100%; max-width: 728px; margin: 0 auto 16px; }
.btn-link { background: none; border: 0; color: var(--navy); font: inherit; cursor: pointer; padding: 12px; }

/* header */
.hdr { background: #fff; position: relative; z-index: 20; }
.hdr-top { display: flex; align-items: center; justify-content: center; padding-top: 32px; padding-bottom: 16px; position: relative; }
.logo img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; }
.hdr-icons { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: flex; gap: 14px; }
.ico { background: none; border: 0; padding: 4px; color: var(--navy); cursor: pointer; display: inline-flex; }
.menu-btn { display: none; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 32px; padding: 0 24px 24px; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: 2.4px; font-size: 13px; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a.on, .nav a:hover { border-bottom-color: var(--navy); color: var(--navy); }
.search-bar { display: none; max-width: 560px; margin: 0 auto 16px; padding: 0 24px; }
.search-bar input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); font: inherit; }
body.search-open .search-bar { display: block; }

/* hero */
.hero { display: grid; grid-template-columns: 65fr 35fr; padding-top: 16px !important; }
.hero-img { min-height: 466px; background: center/cover no-repeat; }
.hero-txt { background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 32px; }
.eyebrow { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); font-weight: 400; margin-bottom: 12px; }
.tag { font-size: 14px; color: var(--body); margin-bottom: 28px; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
.about-home .portrait { width: 430px; max-width: 100%; justify-self: center; aspect-ratio: 430 / 524; object-fit: cover; }
.about-home p { font-size: 18px; }
.about-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about p { font-size: 15px; }

/* full-width image bands */
.band { background: center/cover no-repeat; position: relative; text-align: center; padding: 72px 24px; }
.band::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.band > * { position: relative; }
.band h3 { color: #fff; font-size: 20px; letter-spacing: .5px; max-width: 520px; margin: 0 auto 24px; }
.band.tall { padding: 96px 24px; }
.band.tall h3 { font-size: 30px; line-height: 1.3; }

.shop-home h2 { font-size: 40px; }
.shop-home img { margin: 0 auto; }

/* blog band + carousel */
.blogband { background: center/cover no-repeat; position: relative; padding: 48px 0 40px; text-align: center; }
.blogband::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.blogband > * { position: relative; }
.blogband h2 { font-size: 32px; }
.cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 28px; font-size: 14px; }
.cats a { text-decoration: none; color: var(--ink); }
.cats a.on { font-weight: 700; }
.cats.light a { color: #fff; }
.carousel { display: flex; align-items: center; gap: 8px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.track::-webkit-scrollbar { display: none; }
.bcard { background: #fff; text-decoration: none; color: var(--ink); scroll-snap-align: start; display: flex; flex-direction: column; }
.bcard-img { aspect-ratio: 245 / 140; background: center/cover no-repeat; }
.bcard-txt { padding: 16px 12px 18px; }
.bcard .date { font-size: 12px; margin-bottom: 8px; color: var(--body); }
.bcard h4 { font-size: 20px; line-height: 1.25; margin-bottom: 14px; height: 75px; overflow: hidden; }
.bcard .more { font-size: 14px; color: var(--navy); }
.arr { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }

/* testimonial cards */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 16px; }
.gallery + .tgrid { margin-top: 72px; row-gap: 80px; }
.tcard { background: var(--panel); display: flex; flex-direction: column; }
.tcard > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tcard-txt { padding: 24px 20px 32px; text-align: center; }
.tcard h4 { font-size: 20px; line-height: 1.3; }
.tcard p { font-size: 14px; margin: 0; }
.clamp { max-height: 340px; overflow: hidden; }
.tcard.open .clamp { max-height: none; }
.show-more { background: none; border: 0; color: var(--ink); font: 400 14px 'Source Sans 3', Arial, sans-serif; margin-top: 12px; cursor: pointer; }
.tcard.short .show-more { display: none; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.app h3 { font-size: 26px; }
.app img { width: 100%; max-width: 516px; }
.social-row { display: flex; justify-content: center; gap: 28px; padding-top: 16px !important; padding-bottom: 16px !important; }
.social-row svg, .social svg, .share svg { width: 32px; height: 32px; }

/* contact */
.contact-split { margin-bottom: 48px; }
.contact-split h4 { font-size: 20px; letter-spacing: .5px; }
.contact-split img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cform { max-width: 728px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.cform h4 { font-size: 20px; margin-bottom: 8px; }
.cform input:not([type=checkbox]), .cform textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 14px 6px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.cform textarea { border: 1px solid var(--line); min-height: 120px; resize: vertical; }
.cform .chk { font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.cform .btn { align-self: center; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cform .msg { margin: 0; font-size: 15px; color: var(--navy); }
.contact-info { text-align: center; margin-top: 48px; font-size: 14px; }
.contact-info p { margin: 0 0 4px; }
.contact-info a { color: var(--body); text-decoration: none; }

/* consultation */
.consult-img { aspect-ratio: 1112 / 556; background: center/cover no-repeat; }
.consult-strip { background: var(--panel); text-align: center; padding: 24px; font-size: 14px; margin-bottom: 72px; }
.consult-strip p { margin: 0; }

/* market update */
.mu-title { font-size: 18px; color: var(--ink); margin-bottom: 48px; }
.mu img { width: 100%; max-width: 728px; margin: 0 auto; }

/* blog list */
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pcard { border: 1px solid var(--line); display: flex; flex-direction: column; }
.pcard.hide { display: none; }
.pcard-img { display: block; aspect-ratio: 532 / 300; background: center/cover no-repeat; }
.pcard-txt { padding: 24px; }
.meta { font-size: 13px; color: var(--body); margin-bottom: 12px; }
.meta .sep { margin: 0 12px; }
.pcard h3 { font-size: 22px; line-height: 1.3; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard p { font-size: 15px; }
.pcard .more { font-size: 15px; text-decoration: none; }
.search-note { text-align: center; }

/* post */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding: 0 0 0 64px; }
.post .back { font-size: 14px; text-decoration: none; color: var(--ink); display: inline-block; margin-bottom: 24px; }
.post h1 { font-size: 34px; line-height: 1.25; margin-bottom: 8px; }
.post .cover { width: 100%; margin: 20px 0 28px; }
.post-body { font-size: 15px; }
.post-body h1, .post-body h2, .post-body h3 { font-size: 30px; color: var(--ink); line-height: 1.3; margin: 24px 0 12px; }
.post-body h4 { font-size: 20px; }
.post-body img { margin: 20px auto; height: auto; }
.share { display: flex; align-items: center; gap: 14px; font-size: 14px; margin-top: 32px; }
.share svg { width: 22px; height: 22px; }
.side { border-left: 1px solid var(--line); padding-left: 32px; }
.side h3 { font-size: 22px; margin-top: 4px; }
.side-cats { list-style: none; padding: 0; margin: 0 0 40px; font-size: 15px; }
.side-cats li { margin-bottom: 14px; }
.side-cats a { text-decoration: none; color: var(--ink); }
.recent { display: flex; gap: 14px; text-decoration: none; color: var(--ink); margin-bottom: 24px; }
.recent span { flex: 0 0 110px; height: 110px; background: center/cover no-repeat; }
.recent p { font-size: 15px; margin: 0 0 12px; line-height: 1.4; }
.recent small { color: var(--body); }

/* footer */
.ftr { padding: 48px 0 56px; }
.ftr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.copy { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin: 0; color: #5e5e5e; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; max-width: 120px; }
.social svg { width: 22px; height: 22px; }

/* mobile */
@media (max-width: 767px) {
  section.wrap { padding-top: 32px; padding-bottom: 32px; }
  .menu-btn { display: inline-flex; }
  .search-btn { display: none; }
  .logo img { width: 96px; height: 96px; }
  .hdr-top { padding-top: 24px; }
  .nav { display: none; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 20px; }
  body.nav-open .nav { display: flex; }
  .hero, .split, .post-grid { grid-template-columns: 1fr; }
  .hero-img { min-height: 220px; }
  .split { gap: 28px; }
  .about-home .portrait { width: 100%; max-width: 280px; }
  .about-home .btn { display: block; }
  .track { grid-auto-columns: 85%; }
  .tgrid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .plist { grid-template-columns: 1fr; gap: 32px; }
  .post-grid { padding: 0; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .ftr-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .band.tall h3 { font-size: 24px; }
  .post h1 { font-size: 28px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .track { grid-auto-columns: calc((100% - 24px) / 2); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
}
