/*
Theme Name: WAM Listings Child
Template: twentytwentyfour
Version: 0.1
*/

/* GLOBAL */
/* Apply to all links */
a {
  color: inherit;
  text-decoration: none;
}
/* Specific states */
a:visited { text-decoration: none; }
a:hover { color: #FF6E00; text-decoration: none; }
a:active { text-decoration: none; }

h1,
h2,
h3,
h4 {
  font-family: "Rokkitt", serif;
  color: #393939;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.875rem, 5vw + 1rem, 4rem);
}
h2 {
  font-size: clamp(2.25rem, 3vw + 1rem, 2.7rem);
}
h3 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
}
h5 {
  font-family: "Bitter", serif;
  color: #393939;
  font-weight: 600;
  font-size: clamp(1.1rem, 1vw + 0.5rem, 1.25rem);
  line-height: 1.5;
}

html, body {
  color: #393939;
  background: #FFFCFA;
  font-family: "Bitter", serif;
  line-height: 1.5;
}

p {
	font-family: 'Bitter', serif;
	font-size: 1rem;
	line-height: 1.6rem;
}

blockquote,
label,
select,
option {
  font-family: "Bitter", serif;
  color: #393939;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
 
.wam-button {
  display: inline-block;
  padding: 10px 28px;
  background: #393939;
  color: #ffffff;
  font-family: "Rokkitt", serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.15s ease;
  border: 2px solid #393939;
}
 
.wam-button:hover {
  background: #FF6E00;
  border: 2px solid #FF6E00;
  color: #ffffff;
}
 
.wam-button--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  background: transparent;
  color: #393939;
  border: 1px solid #393939;
  transition: background 0.15s ease;
}
 
.wam-button--outline:hover {
  background: transparent;
  color: #FF6E00;
  border: 1px solid #FF6E00;
}

.wam-center-align {
	text-align: center;
	align-items: center;
	justify-content: center;
}


/* GLOBAL LAYOUT - HERO IMG */
.wam-hero-section {
	margin: 0;
}
.wam-hero-cover {
	border-radius: 0;
	overflow: hidden;
}
.wam-hero-title {
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: 1.1;
	font-weight: 400;
	color: #ffffff;
}
/* GLOBAL LAYOUT - 2 COL */
.wam-two-col-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.wam-two-col__title {
	margin-bottom: 0.5rem;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.1;
}
.wam-two-col__eyebrow {
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.9rem;
}
.wam-two-col__text {
	line-height: 1.7;
}
.wam-two-col__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* GLOBAL LAYOUT - GRID */
.wam-card-grid-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.wam-card-grid__heading {
	margin-bottom: 2rem;
}
.wam-card {
	height: 100%;
}
.wam-card__image img {
	display: block;
	width: 100%;
	height: auto;
}
.wam-card__title {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	line-height: 1.2;
}
.wam-card__text {
	margin-top: 0;
	line-height: 1.6;
}

/* HOMEPAGE */
.wam-listings-hero__heading {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 4rem);
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 400;
	color: #333;
}
.wam-listings-hero__subheading {
	margin-top: 0.75rem;
	font-size: clamp(1.5rem, 2.2vw, 2.5rem);
	line-height: 1.2;
	color: #333;
}
/* all building cards*/
.wam-building-card--hero .home-building-card {
	padding-top: 40px;
	padding-bottom: 60px;
	background: #efefef;
}
.wam-building-card {
	gap: 2rem;
}

/* Homepage Building cards */
.wam-building-card--hero .home-building-card {
	position: relative;
	display: block;
	min-height: 340px;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: #ffffff;
	background-size: cover;
	background-position: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.wam-building-card--hero .home-building-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.28) 0%,
		rgba(0,0,0,0.18) 50%,
		rgba(0,0,0,0.48) 100%
	);
}
.wam-building-card--hero .home-building-card__overlay {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 25vh;
	padding: 2rem 2rem 1.5rem;
}

.wam-building-card__overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
}

.wam-building-card--hero .home-building-card__text h2 {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: clamp(1.4rem, 1.8vw, 2rem);
	line-height: 1.05;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-shadow: #121212 1px 0 10px;
}
.wam-building-card--hero .home-building-card__text p {
	margin: 0;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1.35;
	max-width: 18rem;
	text-shadow: #121212 1px 0 10px;
}
.wam-building-card--hero .home-building-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-shadow: #121212 1px 0 10px;
}

.wam-building-card--hero .home-building-card__cta {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-shadow: #121212 1px 0 10px;
}
.wam-building-card--hero .home-building-card__arrow {
	font-size: 2rem;
	line-height: 1;
	font-weight: 400;
	text-shadow: #121212 1px 0 10px;
}
.wam-building-card--hero .home-card-meurice {
	background-image: url('/wp-content/uploads/2026/03/theeurice-banner2-1.png');
}
.wam-building-card--hero .home-card-wyoming {
	background-image: url('/wp-content/uploads/2026/03/thewyoming-buildingbanner-1.png');
}
.wam-building-card--hero .home-card-vandorn {
	background-image: url('/wp-content/uploads/2026/03/main-buildingimg-vandorn-1.png');
}
.wam-building-card--hero .home-card-westend {
	background-image: url('/wp-content/uploads/2026/03/575westend-buildingbanner-1.png');
}

/* HOMEPAGE FOLD - ANCHOR SCROLL DOWN */
.wam-above-fold {
  text-align: center;
}
span.wam-above-fold__chevron, a.wam-above-fold__chevron {
	font-size: 2rem;
	line-height: 1;
	font-weight: 600;
  color:#FD780F;
  text-decoration: none !important;
}
span.wam-above-fold__chevron:hover {
	font-size: 2.2rem;
	line-height: 1;
	font-weight: 600;
  color:#FD780F;
  text-decoration: none;
}

/* last image before footer */
@media (min-width: 782px) {
	.no-padding-btm {
	padding-bottom: 2rem;
  }
}
@media (max-width: 781px) {
	.no-padding-btm {
	padding-bottom: 0;
  }
}

/*************************  
*
* Agents on Contact & Listings Pages
*
****************************/
/* ── AGENT LIST (wrapper on listing pages) ───────────────────────────────── */
.wam-agent-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wam-agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 20vw));
    gap: 24px;
    justify-content: center;
}

.wam-agent-card {
  display: grid;
  gap: 16px;
  border-radius: 4px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.wam-agent-card__image,
.wam-agent-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: auto;
  object-position: bottom center;
  display: block;
  background: #f2f2f2;
}

/* ── MEDIA AREA (photo container) ───────────────────────────────────────── */
.wam-agent-card__media {
  border-bottom: 1px solid #ebebeb;
  overflow: hidden;
}

.wam-agent-card__name {
  margin: 0 0 6px;
}

.wam-agent-card__title,
.wam-agent-card__email,
.wam-agent-card__office,
.wam-agent-card__cell {
  margin: 0 0 8px;
}

/*
 * LISTING CONTEXT: circular, compact 120px photo
 * The --listing modifier is set when context='listing' is passed to the template part.
 */
.wam-agent-card--listing .wam-agent-card__media {
  border-bottom: none;
  padding: 20px 20px 0;
}
 
.wam-agent-card--listing .wam-agent-card__image,
.wam-agent-card--listing .wam-agent-card__placeholder {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
 
/*
 * GRID/CONTACT CONTEXT: full-width portrait photo
 */
.wam-agent-card--grid .wam-agent-card__image,
.wam-agent-card--contact .wam-agent-card__image,
.wam-agent-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}
 
.wam-agent-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f2f2f2;
  display: block;
}
 
.wam-agent-card--listing .wam-agent-card__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  aspect-ratio: unset;
}
 
 
/* ── CONTENT AREA (text) ─────────────────────────────────────────────────── */
.wam-agent-card__content {
  padding: 20px;
  display: grid;
  gap: 6px;
}
 
 
/* ── TEXT ELEMENTS ───────────────────────────────────────────────────────── */
.wam-agent-card__name {
  font-family: 'Rokkitt', serif;
  font-size: 18px;
  font-weight: 600;
  color: #1B1C39;
  margin: 0;
}
 
.wam-agent-card__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7A7A7A;
  margin: 0;
}
 
.wam-agent-card__email,
.wam-agent-card__office,
.wam-agent-card__cell {
  font-size: 13px;
  color: #393939;
  margin: 0;
}
 
.wam-agent-card__email a,
.wam-agent-card__office a,
.wam-agent-card__cell a {
  color: #1B1C39;
  text-decoration: none;
}
 
.wam-agent-card__email a:hover,
.wam-agent-card__office a:hover,
.wam-agent-card__cell a:hover {
  color: #FF6E00;
}
 
 
/* ── LISTING CONTEXT: override for inline use ───────────────────────────── */
/* On single-listing pages the agent card sits beside the contact form.
   Remove the card border and use a lighter weight layout. */
.wam-listing-contact .wam-agent-card {
  border: none;
  background: transparent;
}
 
.wam-listing-contact .wam-agent-card__content {
  padding: 16px 0 0;
}


/* Civic Links page */
ul.wp-block-list.civic-list {
	list-style: none;
  	padding-left: 0;
	gap: 1.2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.wp-block-list.civic-list li{
	flex: 1;
	position: relative;
	padding-bottom: 1rem;
	border-bottom: 1px solid #d9d9d9;
}
/* civic cover image heights */
/* img.wp-block-cover.civic-img {
	max-height: xx;
} */
.civic-img h2 {
	text-shadow: #121212 1px 0 10px;
}

/* RESOURCES PAGE */
/* ── DETAIL LIST ─────────────────────────────────────────────────────────── */
.wam-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #f0f0f0;
}
 
.wam-detail-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
 
.wam-detail-item dt {
  font-weight: 600;
  color: #7A7A7A;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
 
.wam-detail-item dd {
  margin: 0;
  color: #393939;
}

/* ==========================================================================
   WAM Listings Archive + Card Styles
   File: assets/css/listings.css
   ========================================================================== */
 
/* ── ARCHIVE PAGE ───────────────────────────────────────────────────────── */
.wam-archive-listings,
.wam-archive-buildings {
  padding: 40px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.wam-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.wam-archive-header {
  margin-bottom: 32px;
}
.wam-archive-header h1 {
  margin-bottom: 8px;
}
.wam-archive-intro {
  font-size: 16px;
  color: #7A7A7A;
  max-width: 640px;
  margin: 0;
}
.wam-results-count {
  font-size: 13px;
  color: #7A7A7A;
  margin-bottom: 20px;
}
.wam-copyright p,
.wam-copyright-container {
  text-align: center;
}

/* Building archive override */
.wam-building-card .wam-building-card__body,
.wam-building-card .wam-building-card__desc {
  font-size: 14px;
  color: #393939 !important;
  line-height: 1.65;
  margin: 0;
}
 
/* MOBILE */
@media (max-width: 781px) {
	.wam-building-card {
		min-height: 420px;
	}
	.wam-building-card__overlay {
		padding: 1.5rem 1.5rem 1.25rem;
	}
}
/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px) {
  .wam-listing-hero,
  .wam-listing-building-section__grid,
  .wam-listing-neighborhood,
  .wam-listing-amenities-top {
    grid-template-columns: 1fr;
  }

  .wam-listing-grid,
  .wam-building-grid,
  .wam-agent-grid,
  .wam-building-gallery-grid,
  .wam-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wam-single-listing {
    padding: 24px 16px 56px;
  }

  .wam-listing-grid,
  .wam-building-grid,
  .wam-agent-grid,
  .wam-building-gallery-grid,
  .wam-gallery-grid,
  .wam-listing-gallery__thumbs {
    grid-template-columns: 1fr;
  }

  .wam-listing-title {
    font-size: 2.25rem;
  }

  .wam-listing-card__image img,
  .wam-building-card__image img,
  .wam-building-gallery-grid__item img,
  .wam-gallery-grid__item img {
    height: auto;
  }
}