/* ============================================================
   H2V BILLBOARD — BROKER HEADER
============================================================ */

#h2v-billboard-broker-header {
	background: var(--h2c-green);
	padding: 25px 20px;
	border-bottom: 4px solid var(--h2c-gold-bright);
	position: relative;
	font-family: Arial, sans-serif;
}

/* Layout */
#h2v-billboard-broker-header .h2v-billboard-broker-content {
	display: flex;
	align-items: center;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
}

/* Broker Logo (Main - Left Side) */
#h2v-billboard-broker-header .h2v-billboard-broker-logo-main {
	width: 180px;
	height: 180px;
	background: #ffffff no-repeat center center;
	background-size: contain;
	border: 4px solid var(--h2c-gold-bright);
	border-radius: 4px;
	flex-shrink: 0;
	padding: 20px;
}

#h2v-billboard-broker-header .h2v-billboard-broker-info {
	color: #ffffff;
	flex: 1;
}

/* Broker Name */
#h2v-billboard-broker-header .h2v-billboard-broker-name {
	font-size: 42px;
	font-weight: 400;
	margin-bottom: 6px;
	letter-spacing: 1px;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
}

/* Broker Tagline */
#h2v-billboard-broker-header .h2v-billboard-broker-tagline {
	font-size: 12px;
	margin-bottom: 14px;
	color: var(--h2c-gold-bright);
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* Divider */
#h2v-billboard-broker-header .h2v-billboard-divider {
	width: 70px;
	height: 1px;
	background: var(--h2c-gold-bright);
	margin: 16px 0;
}

/* ================= BROKER META ================= */

#h2v-billboard-broker-header .h2v-billboard-broker-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
	font-size: 13px;
	color: rgba(255,255,255,0.85);
}

#h2v-billboard-broker-header .h2v-billboard-broker-meta-item {
	white-space: normal;
}

/* ================= CONTACT ROW ================= */

#h2v-billboard-broker-header .h2v-billboard-broker-contact-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
}

/* Contact Group */
#h2v-billboard-broker-header .h2v-billboard-contact-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Icon */
#h2v-billboard-broker-header .h2v-billboard-contact-icon {
	width: 28px;
	height: 28px;
	background: rgba(212,175,55,0.3);
	border-radius: 50%;
	border: 1px solid var(--h2c-gold-bright);
	flex-shrink: 0;
}

/* Phone */
#h2v-billboard-broker-header .h2v-billboard-contact-phone {
	color: #ffffff;
	font-weight: 600;
	white-space: nowrap;
}

/* Buttons */
#h2v-billboard-broker-header .h2v-billboard-contact-btn {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	border: 1px solid rgba(212,175,55,0.7);
	background: rgba(212,175,55,0.15);
}

#h2v-billboard-broker-header .h2v-billboard-contact-btn:hover {
	background: rgba(212,175,55,0.35);
}

#h2v-billboard-broker-header .h2v-secondary {
	opacity: 0.85;
}

/* Email */
#h2v-billboard-broker-header .h2v-billboard-contact-email {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

#h2v-billboard-broker-header .h2v-billboard-contact-email:hover {
	text-decoration: underline;
}

/* Responsive — center everything on narrow viewports (mirrors billboard-agent.css). */
@media (max-width: 700px) {
	#h2v-billboard-broker-header .h2v-billboard-broker-content {
		flex-direction: column;
		align-items: center;
		gap: 25px;
	}


	#h2v-billboard-broker-header .h2v-billboard-broker-logo-main {
		width: 140px;
		height: 140px;
	}

	#h2v-billboard-broker-header .h2v-billboard-broker-info {
		text-align: center;
		width: 100%;
	}

	#h2v-billboard-broker-header .h2v-billboard-broker-name {
		font-size: 32px;
	}

	#h2v-billboard-broker-header .h2v-billboard-divider {
		margin: 16px auto;
	}

	#h2v-billboard-broker-header .h2v-billboard-broker-contact-row {
		align-items: center;
	}
}

/* Listings Section Styles */
.billboard-listings-section {
    padding: 20px 20px 80px;
    background: #fafaf8;
}

.billboard-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.billboard-section-title {
    font-size: 36px;
    color: var(--h2c-green);
    margin-bottom: 8px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
    font-family: Georgia, 'Times New Roman', serif;
}

.billboard-section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #111827;
    font-family: Arial, sans-serif;
    font-weight: 600;
}

.billboard-section-line {
    width: 100px;
    height: 1.5px;
    background: var(--h2c-gold-bright);
    margin: 12px auto 0;
}

.billboard-listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Single-listing case: span the full width so a lone card doesn't look
   stranded in a half-empty 2-col grid. */
.billboard-listings-grid:has(> .billboard-listing-card:only-child) {
    grid-template-columns: 1fr;
}

/* Phone-sized viewports: always one column. 2-col only on tablet+. */
@media (max-width: 700px) {
    .billboard-listings-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.billboard-listing-card {
    background: white;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.billboard-listing-card:hover {
    border-color: var(--h2c-green);
    box-shadow: 0 5px 20px rgba(74, 124, 126, 0.2);
}

.billboard-listing-image {
    width: 100%;
    height: 330px;
    background: linear-gradient(135deg, var(--h2c-green) 0%, var(--h2c-green-dark) 100%) no-repeat center center;
    background-size: cover;
    border-bottom: 1.5px solid var(--h2c-gold-bright);
}

.billboard-listing-details {
    padding: 20px 25px 25px;
}

.billboard-price-address-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.billboard-listing-price {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--h2c-green);
    margin-bottom: 0;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    text-align: left;
}

.billboard-listing-address {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--h2c-green);
    margin-bottom: 0;
    line-height: 1.3;
    font-family: Arial, sans-serif;
    text-align: right;
}



.billboard-listing-specs {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.billboard-spec-item {
    text-align: center;
    flex: 1;
}

.billboard-spec-label {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--h2c-green);
    margin-bottom: 4px;
    font-family: Arial, sans-serif;
}

.billboard-spec-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-family: Arial, sans-serif;
    font-weight: 600;
}

.billboard-listing-actions {
	/* #O: with nowrap on the buttons, min-content is the whole label -- two of
	   them no longer fit a narrow card side by side. Wrapping makes them stack
	   full-width instead of overflowing the card, which is the same thing the
	   card does with everything else at that width. */
	flex-wrap: wrap;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.billboard-listing-btn {
	/* THE LABEL IS ONE WORD'S WORTH OF FURNITURE, NOT PROSE (#O, 2026-09-25).
	   Reported as "VIEW DETAIL S" / "REQU EST SHOWING" -- a control whose name
	   had come apart. I could not reproduce a split INSIDE a word on the served
	   pages (overflow-wrap computes normal, there is no letter-spacing and no
	   stray soft hyphen), but I can reproduce the two-line wrap at <=320px, and
	   an uppercase centred label on two lines reads as a broken word at a
	   glance. nowrap removes the whole class either way: a button label that
	   cannot wrap cannot break, whatever font or size the reader's browser
	   decides to use. */
	white-space: nowrap;
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--h2c-green);
    background: white;
    color: var(--h2c-green);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    /* #P: sentence case and 11px, the one button shape. Uppercase is what
       turned "View Details" into a two-line label that read as a broken word. */
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 11px;
    text-align: center;
}

.billboard-listing-btn:hover {
    background: var(--h2c-green);
    color: white;
}

.billboard-listing-btn.primary {
    background: var(--h2c-green);
    color: white;
}

.billboard-listing-btn.primary:hover {
    background: var(--h2c-green-dark);
}

/* ============================================================
   NO-LOGO LAYOUT — centered broker header
   Added when there is no account logo to display so the text
   block isn't stranded on the right side of an empty column.
============================================================ */
#h2v-billboard-broker-header.no-logo .h2v-billboard-broker-content {
	justify-content: center;
	text-align: center;
}

#h2v-billboard-broker-header.no-logo .h2v-billboard-broker-info {
	flex: 0 1 auto;
	max-width: 900px;
}

#h2v-billboard-broker-header.no-logo .h2v-billboard-broker-meta,
#h2v-billboard-broker-header.no-logo .h2v-billboard-broker-contact-row,
#h2v-billboard-broker-header.no-logo .h2v-billboard-contact-group {
	align-items: center;
	justify-content: center;
}

#h2v-billboard-broker-header.no-logo .h2v-billboard-broker-meta-item {
	text-align: center;
}




/* =============================================================================
   UNDER REVIEW — submitted, not yet approved by the agent.
   ==========================================================================
   Shown rather than hidden (Chris, 2026-09-03). Hiding it meant an agent who
   had just submitted saw an empty page with no sign their listing existed.

   The diagonal amber hatching and the wording are lifted from
   billboard-listing.css, which already marks this state on the listing page
   itself — the page this card links to. A visitor who clicks through must not
   meet different language.

   THIS BLOCK IS DUPLICATED IN billboard-agent.css AND billboard-account.css.
   The two pages load different stylesheets and there is no shared billboard
   sheet to hold it. Change one, change the other.
============================================================================= */
/* The under-review card treatment moved to application/css/h2v.css (#F6,
   2026-09-24). It was defined identically in BOTH this file and its sibling,
   which is the fork .h2v-bb-brand-block already went through -- see the note in
   h2v.css. Every billboard page loads h2v.css, and loads it FIRST.
   DO NOT re-add .billboard-listing-card.is-under-review here. */



/* =============================================================================
   NO QR ON THE BILLBOARD CARD.

   Removed 2026-09-07 after seeing it on the real screen. It lived inline in
   the price/address row (split the row), then pinned over the hero photo
   (covered the photo). Neither is right, because the CARD is the wrong home
   for a QR at all: a QR bridges physical to digital, and a visitor already
   looking at the billboard can simply tap. On a page whose whole job is
   presentation, the code was buying nothing and costing the photo.

   THE QR ITSELF IS UNTOUCHED. It is still generated at go-live
   (Action_SaveListing -> DAO_Listing.generateQRCode), still stored in
   h2v_qrcodes, still uploaded to Spaces, still downloadable, and /q/{token}
   still records qr_click against the listing. This was a rendering change and
   nothing else. Do not "restore" a .billboard-listing-qr rule here -- the
   markup that used it is gone from billboard-agent.js and
   billboard-account.js too.
============================================================================= */
